/* ==========================================================================
   Wayne County HVAC LLC — Warm White & Soft Beige Editorial Design System
   Clean • Realistic • Strict Mobile Frame • Zero Clutter
   ========================================================================== */

:root {
  --bg-white: #FFFFFF;
  --bg-cream: #FAF7F2;
  --bg-beige: #F3ECE1;
  --bg-sand: #E9DFCF;

  --ink: #142638;
  --ink-body: #465564;
  --ink-muted: #6E7B88;

  --navy: #0C3D63;
  --ember: #DE6F24;
  --ember-dark: #C25A14;
  --blue: #1D8AC8;

  --border: rgba(20, 38, 56, 0.11);
  --border-warm: rgba(139, 108, 72, 0.18);
  --shadow-sm: 0 4px 16px rgba(20, 38, 56, 0.06);
  --shadow-md: 0 14px 36px rgba(20, 38, 56, 0.09);

  --radius-sm: 12px;
  --radius-md: 18px;
  --radius-lg: 24px;

  --font-serif: "Fraunces", Georgia, serif;
  --font-sans: "DM Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, monospace;
}

*, *::before, *::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 80px;
  overflow-x: clip;
  max-width: 100%;
}

body {
  margin: 0;
  font-family: var(--font-sans);
  color: var(--ink);
  background: var(--bg-cream);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
  max-width: 100%;
  width: 100%;
}

body.intro-active {
  overflow: hidden;
}

main, section, header, footer {
  max-width: 100%;
}

.hero-grid > *,
.photo-trio > *,
.services-grid > *,
.reviews-grid > *,
.satellite-shell > * {
  min-width: 0;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  font-family: inherit;
}

.container {
  width: min(1160px, 100% - 2.25rem);
  margin-inline: auto;
}

/* ==========================================================================
   Warm Ivory & Beige Spinning-Fan Official Logo Intro Curtain
   ========================================================================== */

.brand-intro {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: grid;
  place-items: center;
  padding: 1.5rem;
  background:
    radial-gradient(circle at 20% 20%, rgba(237, 125, 43, 0.14), transparent 48%),
    radial-gradient(circle at 82% 80%, rgba(29, 138, 200, 0.14), transparent 48%),
    linear-gradient(160deg, #FAF7F2 0%, #EFE7DA 100%);
  transition: opacity 0.6s ease, transform 0.65s cubic-bezier(0.22, 1, 0.36, 1);
}

.brand-intro.is-exiting {
  opacity: 0;
  transform: scale(1.04);
  pointer-events: none;
}

.brand-intro.is-done {
  display: none;
}

.intro-stage {
  width: min(390px, 100%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.2rem;
}

.intro-badge-card {
  width: 100%;
  background: #FFFFFF;
  border: 1px solid var(--border-warm);
  border-radius: 28px;
  padding: clamp(1.1rem, 3vw, 1.7rem);
  box-shadow: 0 24px 60px rgba(20, 38, 56, 0.12);
  animation: introEnter 0.55s cubic-bezier(0.22, 1, 0.36, 1) both;
}

@keyframes introEnter {
  from { opacity: 0; transform: translateY(16px) scale(0.95); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

.intro-logo-svg {
  width: 100%;
  height: auto;
  display: block;
}

.intro-flame {
  transform-box: fill-box;
  transform-origin: bottom center;
  animation: flameFlicker 1.2s ease-in-out infinite alternate;
}

@keyframes flameFlicker {
  from { transform: scaleY(0.97); }
  to { transform: scaleY(1.03); }
}

.intro-flake.flake-top {
  transform-box: fill-box;
  transform-origin: center;
  animation: spinCW 8s linear infinite;
}

.intro-flake.flake-bot {
  transform-box: fill-box;
  transform-origin: center;
  animation: spinCCW 7s linear infinite;
}

@keyframes spinCW { to { transform: rotate(360deg); } }
@keyframes spinCCW { to { transform: rotate(-360deg); } }

.wind-wave {
  stroke-dasharray: 120;
  stroke-dashoffset: 120;
  animation: windSweep 1.2s ease forwards;
}
.wind-wave.w2 { animation-delay: 0.15s; }
.wind-wave.w3 { animation-delay: 0.28s; }
@keyframes windSweep { to { stroke-dashoffset: 0; } }

.intro-progress-track {
  width: 100%;
  height: 4px;
  border-radius: 999px;
  background: rgba(12, 61, 99, 0.12);
  overflow: hidden;
}

.intro-progress-fill {
  height: 100%;
  width: 0%;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--ember), var(--navy), var(--blue));
  transition: width 0.08s linear;
}

.intro-skip-btn {
  background: #FFFFFF;
  border: 1px solid var(--border-warm);
  color: var(--navy);
  font-size: 0.8rem;
  font-weight: 700;
  padding: 0.45rem 1.05rem;
  border-radius: 999px;
  cursor: pointer;
  transition: all 0.2s;
}

.intro-skip-btn:hover {
  background: var(--navy);
  color: #FFFFFF;
}

/* ==========================================================================
   Top Utility Bar & Clean Warm-White Sticky Header
   ========================================================================== */

.utility-bar {
  background: var(--bg-beige);
  color: var(--ink);
  font-size: 0.8rem;
  border-bottom: 1px solid var(--border-warm);
}

.utility-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.85rem;
  padding: 0.48rem 0;
  flex-wrap: wrap;
}

.utility-status {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 500;
}

.pulse-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #16A34A;
  flex-shrink: 0;
}

.utility-actions {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
}

.utility-link {
  font-weight: 700;
  color: #9A5800;
}

.utility-sep {
  color: rgba(20, 38, 56, 0.25);
}

.utility-replay-btn {
  background: transparent;
  border: 1px solid var(--border-warm);
  color: var(--ink-body);
  font-size: 0.74rem;
  font-weight: 600;
  padding: 0.18rem 0.62rem;
  border-radius: 999px;
  cursor: pointer;
}

.utility-replay-btn:hover {
  background: #FFFFFF;
  color: var(--navy);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 90;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  transition: box-shadow 0.25s ease;
}

.site-header.is-scrolled {
  box-shadow: 0 8px 24px rgba(20, 38, 56, 0.06);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  height: 72px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  min-width: 0;
}

.brand-mark-live {
  flex-shrink: 0;
  display: inline-flex;
}

.nav-fan-rotor {
  animation: spinCW 6.5s linear infinite;
}

.brand:hover .nav-fan-rotor {
  animation-duration: 0.9s;
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
  min-width: 0;
}

.brand-name {
  font-family: "Oswald", var(--font-sans);
  font-weight: 700;
  font-size: 1.05rem;
  letter-spacing: 0.03em;
  color: var(--navy);
}

.brand-sub {
  font-size: 0.72rem;
  color: var(--ink-muted);
  font-weight: 500;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 1.8rem;
}

.main-nav a {
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--ink-body);
  transition: color 0.2s;
}

.main-nav a:hover {
  color: var(--ember);
}

.header-cta-group {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  flex-shrink: 0;
}

.mobile-menu-btn {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  padding: 0 9px;
  border-radius: 10px;
  border: 1px solid var(--border);
  background: var(--bg-cream);
  cursor: pointer;
}

.mobile-menu-btn span {
  display: block;
  height: 2px;
  background: var(--navy);
  border-radius: 2px;
}

.mobile-nav {
  background: #FFFFFF;
  border-top: 1px solid var(--border);
  padding: 0.9rem 0 1.35rem;
  box-shadow: var(--shadow-md);
}

.mobile-nav-inner {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}

.mobile-nav-link {
  padding: 0.72rem 0.25rem;
  font-weight: 600;
  color: var(--ink);
  border-bottom: 1px solid rgba(20, 38, 56, 0.06);
}

.mobile-replay-link {
  text-align: left;
  background: none;
  border: none;
  border-bottom: 1px solid rgba(20, 38, 56, 0.06);
  color: var(--blue);
  cursor: pointer;
}

.mobile-nav-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.65rem;
  margin-top: 0.95rem;
}

/* ==========================================================================
   Buttons
   ========================================================================== */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  font-weight: 700;
  border-radius: 999px;
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: transform 0.16s ease, box-shadow 0.2s ease, background 0.2s ease, border-color 0.2s ease;
  max-width: 100%;
}

.btn-sm {
  font-size: 0.84rem;
  padding: 0.54rem 1.05rem;
}

.btn-lg {
  font-size: 0.96rem;
  padding: 0.88rem 1.6rem;
}

.btn-block {
  width: 100%;
}

.btn-primary {
  background: var(--navy);
  color: #FFFFFF;
  box-shadow: 0 8px 20px rgba(12, 61, 99, 0.2);
}

.btn-primary:hover {
  background: var(--ember);
  transform: translateY(-1px);
  box-shadow: 0 10px 24px rgba(222, 111, 36, 0.28);
}

.btn-outline {
  background: #FFFFFF;
  color: var(--ink);
  border-color: var(--border);
}

.btn-outline:hover {
  border-color: var(--navy);
  color: var(--navy);
}

.btn-warm-outline {
  background: rgba(255, 255, 255, 0.85);
  color: var(--ink);
  border-color: rgba(20, 38, 56, 0.22);
  backdrop-filter: blur(6px);
}

.btn-warm-outline:hover {
  background: #FFFFFF;
  border-color: var(--navy);
}

/* ==========================================================================
   Hero — Realistic Furnace Background + Warm White / Beige Editorial Overlay
   ========================================================================== */

.hero {
  position: relative;
  overflow: clip;
  padding: clamp(3.2rem, 6.5vw, 5.4rem) 0;
  background: var(--bg-beige);
  border-bottom: 1px solid var(--border-warm);
}

.hero-bg-photo {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-bg-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  opacity: 0.34;
  filter: saturate(0.92);
}

.hero-beige-veil {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(
    100deg,
    rgba(250, 247, 242, 0.96) 0%,
    rgba(246, 240, 230, 0.88) 54%,
    rgba(243, 236, 225, 0.62) 100%
  );
}

.hero-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1.08fr 0.92fr;
  align-items: center;
  gap: clamp(2rem, 4.5vw, 4rem);
}

.hero-rating-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.82rem;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid var(--border-warm);
  padding: 0.42rem 0.95rem;
  border-radius: 999px;
  box-shadow: var(--shadow-sm);
}

.stars {
  color: #E09100;
  letter-spacing: 0.08em;
}

.hero-title {
  font-family: var(--font-serif);
  font-size: clamp(2.25rem, 4.4vw, 3.6rem);
  line-height: 1.09;
  letter-spacing: -0.02em;
  color: var(--ink);
  margin: 1.15rem 0 1.05rem;
}

.hero-title span {
  color: var(--ember);
}

.hero-lead {
  font-size: 1.06rem;
  color: var(--ink-body);
  max-width: 50ch;
  margin: 0 0 1.75rem;
}

.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-bottom: 2rem;
}

.hero-facts {
  display: grid;
  grid-template-columns: repeat(3, auto);
  justify-content: start;
  gap: 1.5rem 2.2rem;
  padding-top: 1.35rem;
  border-top: 1px solid var(--border-warm);
}

.hero-facts strong {
  display: block;
  font-family: var(--font-serif);
  font-size: 1.2rem;
  color: var(--navy);
  line-height: 1.2;
}

.hero-facts span {
  font-size: 0.78rem;
  color: var(--ink-muted);
}

.hero-photo-frame {
  margin: 0;
  background: #FFFFFF;
  border: 1px solid var(--border-warm);
  border-radius: var(--radius-lg);
  padding: 0.7rem;
  box-shadow: 0 24px 54px rgba(20, 38, 56, 0.14);
}

.hero-photo-frame img {
  width: 100%;
  aspect-ratio: 16 / 11;
  object-fit: cover;
  border-radius: 16px;
}

.hero-photo-frame figcaption {
  padding: 0.9rem 0.55rem 0.35rem;
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}

.hero-photo-frame figcaption strong {
  font-size: 0.95rem;
  color: var(--ink);
}

.hero-photo-frame figcaption span {
  font-size: 0.8rem;
  color: var(--ink-muted);
}

/* ==========================================================================
   Brands Strip
   ========================================================================== */

.brands-strip {
  background: var(--bg-white);
  border-bottom: 1px solid var(--border);
  padding: 1.15rem 0;
}

.brands-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem 1.5rem;
  flex-wrap: wrap;
}

.brands-label {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: var(--ink-muted);
}

.brands-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.25rem;
}

.brand-chip {
  font-weight: 700;
  font-size: 0.88rem;
  color: var(--ink-body);
}

/* ==========================================================================
   Shared Sections
   ========================================================================== */

.section {
  padding: clamp(3.6rem, 6.5vw, 5.2rem) 0;
}

.section-white {
  background: var(--bg-white);
}

.section-beige {
  background: var(--bg-beige);
  border-top: 1px solid var(--border-warm);
  border-bottom: 1px solid var(--border-warm);
}

.section-header {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 2.3rem;
}

.section-header-split {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1.25rem;
  flex-wrap: wrap;
  margin-bottom: 2rem;
}

.section-kicker {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 0.74rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  color: var(--ember);
  margin-bottom: 0.45rem;
}

.section-title {
  font-family: var(--font-serif);
  font-size: clamp(1.85rem, 3.4vw, 2.55rem);
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: var(--ink);
  margin: 0;
}

/* ==========================================================================
   Section 1: Photo Gallery + Clean 4-Card Services
   ========================================================================== */

.segment-switch {
  display: inline-flex;
  padding: 0.28rem;
  background: var(--bg-beige);
  border: 1px solid var(--border-warm);
  border-radius: 999px;
}

.segment-btn {
  border: none;
  background: transparent;
  padding: 0.55rem 1.2rem;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.86rem;
  color: var(--ink-body);
  cursor: pointer;
  transition: all 0.2s;
}

.segment-btn.is-active {
  background: var(--navy);
  color: #FFFFFF;
}

.photo-trio {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.15rem;
  margin-bottom: 1.75rem;
}

.gallery-photo {
  margin: 0;
  background: var(--bg-cream);
  border: 1px solid var(--border-warm);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

.gallery-photo img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.gallery-photo:hover img {
  transform: scale(1.03);
}

.gallery-photo figcaption {
  padding: 0.8rem 1rem;
  font-size: 0.86rem;
  font-weight: 700;
  color: var(--ink);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.05rem;
}

.service-card {
  background: var(--bg-cream);
  border: 1px solid var(--border-warm);
  border-radius: var(--radius-md);
  padding: 1.35rem;
}

.service-tag {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 0.68rem;
  font-weight: 600;
  color: var(--ember);
  background: #FFFFFF;
  border: 1px solid var(--border-warm);
  padding: 0.22rem 0.6rem;
  border-radius: 999px;
  margin-bottom: 0.7rem;
}

.service-card h3 {
  font-family: var(--font-serif);
  font-size: 1.15rem;
  margin: 0 0 0.45rem;
  color: var(--ink);
}

.service-card p {
  font-size: 0.88rem;
  color: var(--ink-body);
  margin: 0;
}

/* ==========================================================================
   Section 2: Verified 5.0 Google Reviews (Warm White Cards on Soft Beige)
   ========================================================================== */

.reviews-header-bar {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1.25rem;
  flex-wrap: wrap;
  margin-bottom: 2rem;
}

.google-score-card {
  display: inline-flex;
  align-items: center;
  gap: 0.85rem;
  flex-wrap: wrap;
  background: #FFFFFF;
  border: 1px solid var(--border-warm);
  border-radius: 16px;
  padding: 0.78rem 1.05rem;
  box-shadow: var(--shadow-sm);
}

.g-score-top {
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.g-score-top strong {
  font-family: var(--font-serif);
  font-size: 1.25rem;
}

.g-score-sub {
  display: block;
  font-size: 0.75rem;
  color: var(--ink-muted);
}

.reviews-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.15rem;
}

.review-card {
  background: #FFFFFF;
  border: 1px solid var(--border-warm);
  border-radius: var(--radius-md);
  padding: 1.35rem;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.review-card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.65rem;
}

.reviewer-id {
  display: flex;
  align-items: center;
  gap: 0.65rem;
}

.reviewer-avatar {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--bg-beige);
  border: 1px solid var(--border-warm);
  color: var(--navy);
  font-weight: 700;
  font-size: 0.82rem;
  display: grid;
  place-items: center;
  flex-shrink: 0;
}

.reviewer-name {
  font-weight: 700;
  font-size: 0.92rem;
  color: var(--ink);
  line-height: 1.2;
}

.reviewer-meta {
  font-size: 0.73rem;
  color: var(--ink-muted);
}

.review-stars-row {
  color: #E09100;
  font-size: 0.9rem;
  letter-spacing: 0.06em;
}

.review-quote {
  margin: 0;
  font-size: 0.9rem;
  line-height: 1.6;
  color: var(--ink-body);
}

.review-verified-foot {
  margin-top: auto;
  padding-top: 0.6rem;
  border-top: 1px solid rgba(20, 38, 56, 0.06);
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.73rem;
  font-weight: 600;
  color: var(--ink-muted);
}

.reviews-footer-actions {
  display: flex;
  justify-content: center;
  gap: 0.75rem;
  flex-wrap: wrap;
  margin-top: 1.85rem;
}

/* ==========================================================================
   Section 3: Detroit Store Live Satellite View (Warm White & Beige)
   ========================================================================== */

.satellite-shell {
  display: grid;
  grid-template-columns: 1.32fr 0.78fr;
  gap: 1.5rem;
  align-items: stretch;
}

.sat-viewport-card,
.store-card {
  background: var(--bg-cream);
  border: 1px solid var(--border-warm);
  border-radius: var(--radius-lg);
  padding: 1.15rem;
  box-shadow: var(--shadow-sm);
}

.sat-hud-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  flex-wrap: wrap;
  margin-bottom: 0.85rem;
}

.sat-camera-tabs {
  display: inline-flex;
  gap: 0.35rem;
}

.sat-tab {
  border: 1px solid var(--border-warm);
  background: #FFFFFF;
  color: var(--ink-body);
  font-size: 0.8rem;
  font-weight: 700;
  padding: 0.45rem 0.9rem;
  border-radius: 999px;
  cursor: pointer;
  transition: all 0.2s;
}

.sat-tab.is-active {
  background: var(--navy);
  border-color: var(--navy);
  color: #FFFFFF;
}

.sat-coords {
  font-family: var(--font-mono);
  font-size: 0.74rem;
  color: var(--ink-muted);
}

.sat-frame-stage {
  width: 100%;
  height: 410px;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid var(--border-warm);
  background: var(--bg-sand);
}

.sat-frame-stage iframe {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}

.store-card {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.official-logo-frame {
  background: #FFFFFF;
  border: 1px solid var(--border-warm);
  border-radius: 16px;
  padding: 0.85rem 1rem;
  display: flex;
  justify-content: center;
}

.official-logo-frame img {
  max-height: 132px;
  width: auto;
  object-fit: contain;
}

.store-address {
  font-family: var(--font-serif);
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--ink);
  line-height: 1.3;
  margin-bottom: 0.3rem;
}

.store-hours {
  font-size: 0.85rem;
  color: var(--ink-body);
}

.store-action-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.55rem;
}

.store-contact-rows {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-top: auto;
}

.contact-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  padding: 0.68rem 0.9rem;
  border-radius: 12px;
  background: #FFFFFF;
  border: 1px solid var(--border-warm);
  font-size: 0.84rem;
  color: var(--ink-body);
}

.contact-row strong {
  color: var(--navy);
  overflow: hidden;
  text-overflow: ellipsis;
}

.contact-row:hover {
  border-color: var(--ember);
}

/* ==========================================================================
   CTA Band & Minimal Footer
   ========================================================================== */

.cta-band {
  background: var(--bg-beige);
  border-top: 1px solid var(--border-warm);
  padding: 3rem 0;
}

.cta-band-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.cta-band h2 {
  font-family: var(--font-serif);
  font-size: clamp(1.6rem, 3vw, 2.15rem);
  margin: 0 0 0.35rem;
  color: var(--ink);
}

.cta-band p {
  margin: 0;
  color: var(--ink-body);
}

.cta-band-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.site-footer {
  background: var(--bg-white);
  border-top: 1px solid var(--border);
  padding: 1.8rem 0;
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.footer-logo-thumb {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  border: 1px solid var(--border-warm);
  padding: 3px;
  background: #FFFFFF;
  object-fit: contain;
}

.footer-brand strong {
  display: block;
  font-size: 0.92rem;
  color: var(--navy);
}

.footer-brand span,
.footer-copy {
  font-size: 0.8rem;
  color: var(--ink-muted);
}

/* Sticky Mobile Bottom Bar */
.mobile-sticky-bar {
  display: none;
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100%;
  z-index: 85;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(10px);
  border-top: 1px solid var(--border-warm);
  padding: 0.5rem 0.65rem calc(0.5rem + env(safe-area-inset-bottom));
  grid-template-columns: 1.35fr 0.9fr 0.9fr;
  gap: 0.45rem;
}

.msb-btn {
  text-align: center;
  font-size: 0.77rem;
  font-weight: 700;
  padding: 0.66rem 0.35rem;
  border-radius: 10px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.msb-call-primary {
  background: var(--navy);
  color: #FFFFFF;
}

.msb-text {
  background: var(--bg-beige);
  color: var(--ink);
  border: 1px solid var(--border-warm);
}

.msb-map {
  background: var(--bg-cream);
  color: var(--ink);
  border: 1px solid var(--border-warm);
}

/* Smooth Scroll Reveal */
.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s cubic-bezier(0.22, 1, 0.36, 1);
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  .brand-intro { display: none !important; }
  body.intro-active { overflow: auto !important; }
  .reveal { opacity: 1; transform: none; }
}

/* ==========================================================================
   Responsive Breakpoints — Strict Zero-Overflow Mobile Layout
   ========================================================================== */

@media (max-width: 1024px) {
  .main-nav, .hide-md {
    display: none;
  }
  .mobile-menu-btn {
    display: inline-flex;
  }
  .hero-grid,
  .satellite-shell {
    grid-template-columns: 1fr;
  }
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .photo-trio,
  .reviews-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 720px) {
  body {
    padding-bottom: 66px;
  }

  .container {
    width: calc(100% - 1.75rem);
  }

  .hide-sm, .hide-xs {
    display: none;
  }

  .mobile-sticky-bar {
    display: grid;
  }

  .utility-inner {
    flex-direction: column;
    text-align: center;
    gap: 0.18rem;
    padding: 0.42rem 0;
    font-size: 0.72rem;
  }

  .header-inner {
    height: 62px;
    gap: 0.55rem;
  }

  .brand {
    flex: 1 1 auto;
    min-width: 0;
    gap: 0.52rem;
  }

  .brand-mark-live svg {
    width: 36px;
    height: 36px;
  }

  .brand-name {
    font-size: 0.88rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .brand-sub {
    font-size: 0.65rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .header-call-btn {
    padding: 0.44rem 0.85rem;
    font-size: 0.78rem;
  }

  .hero {
    padding: 2.2rem 0 2.6rem;
  }

  .hero-ctas {
    flex-direction: column;
  }

  .hero-ctas .btn {
    width: 100%;
  }

  .hero-facts {
    grid-template-columns: repeat(3, 1fr);
    gap: 0.75rem;
  }

  .hero-facts strong {
    font-size: 1rem;
  }

  .photo-trio,
  .services-grid,
  .reviews-grid {
    grid-template-columns: 1fr;
  }

  .sat-frame-stage {
    height: 320px;
  }

  .sat-camera-tabs {
    width: 100%;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
  }

  .sat-tab {
    padding: 0.44rem 0.35rem;
    font-size: 0.74rem;
    text-align: center;
  }

  .google-score-card {
    width: 100%;
    justify-content: space-between;
  }

  .cta-band-actions {
    width: 100%;
    flex-direction: column;
  }

  .cta-band-actions .btn {
    width: 100%;
  }
}


/* ==========================================================================
   ENGLISH / ARABIC LANGUAGE SWITCHER & RTL SUPPORT
   ========================================================================== */

.lang-toggle-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  background: var(--bg-cream);
  border: 1.5px solid var(--border-warm);
  border-radius: 999px;
  padding: 0.42rem 0.72rem;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--ink-muted);
  cursor: pointer;
  transition: all 0.2s;
  flex-shrink: 0;
}

.lang-toggle-btn:hover {
  border-color: var(--navy);
  background: #FFFFFF;
}

.lang-pill-en.is-active,
.lang-pill-ar.is-active {
  color: var(--navy);
  font-weight: 800;
}

.lang-pill-ar {
  font-family: "Cairo", var(--font-sans);
}

.lang-pill-sep {
  opacity: 0.35;
}

/* Authentic Arabic RTL Typography & Direction Overrides */
html[lang="ar"] body {
  font-family: "Cairo", "DM Sans", sans-serif;
}

html[lang="ar"] .hero-title,
html[lang="ar"] .section-title,
html[lang="ar"] .service-card h3,
html[lang="ar"] .cta-band h2,
html[lang="ar"] .hero-facts strong {
  font-family: "Cairo", sans-serif;
  letter-spacing: 0;
}

html[lang="ar"] .hero-beige-veil {
  background: linear-gradient(
    260deg,
    rgba(250, 247, 242, 0.96) 0%,
    rgba(246, 240, 230, 0.88) 54%,
    rgba(243, 236, 225, 0.62) 100%
  );
}

html[lang="ar"] .mobile-replay-link {
  text-align: right;
}

@media (max-width: 720px) {
  .lang-toggle-btn {
    padding: 0.36rem 0.56rem;
    font-size: 0.72rem;
  }

  .header-cta-group {
    gap: 0.38rem;
  }

  .header-call-btn {
    padding: 0.42rem 0.72rem;
    font-size: 0.75rem;
  }

  .mobile-menu-btn {
    width: 36px;
    height: 36px;
    padding: 0 8px;
  }
}
