/* ============================================================================
   Major Design and Automation — styles.css
   Single-page scroll-driven home page + standalone service pages.

   QUICK-TUNE MAP (values you're most likely to ask me to nudge):
   • Laptop screen alignment ........ :root  --screen-*            (section A)
   • Phone screen-cutout alignment .. :root  --phone-screen-*      (section A)
   • Dolly / zoom feel .............. js/main.js  (computed "fill" + ZOOM_OVERSCAN)
   • Logo swipe-off distance ........ js/main.js  LOGO_SWIPE
   • Phone size on desktop .......... .phone { height: ... }       (section F)
   • Status-bar clearance in phone .. :root  --phone-statusbar     (section A)
   • Metallic gold sheen ............ :root  --grad-gold           (section A)
   ============================================================================ */

/* ============================================================================
   A) THEME TOKENS + ALIGNMENT COORDINATES  (edit these first)
   ============================================================================ */
:root {
  /* ---- Color scheme (forest green + metallic gold + cream) ---- */
  --green-bg:     #1B3A2B;   /* primary forest green background */
  --green-dark:   #0F2419;   /* darkest green — depth / edges / stage bg */
  --gold:         #D4AF37;   /* solid gold — small text, icons, borders */
  --gold-bright:  #E8C766;   /* highlight gold — hover / glows */
  --cream:        #F5F1E6;   /* off-white — body text on dark */
  --cream-dim:    rgba(245, 241, 230, 0.66);
  --ink:          #14271C;   /* dark text for the white phone-section */
  --ink-dim:      #5A6B60;   /* muted dark text on white */
  --green-line:   rgba(245, 241, 230, 0.12);

  /* ---- Metallic gold: a banded gradient with highlights + shadow stops
          so gold text/buttons read as brushed metal rather than flat yellow.
          --grad-gold      : bright, for use on DARK / green backgrounds.
          --grad-gold-deep : darker bronze-gold, legible on the WHITE hero. */
  --grad-gold: linear-gradient(135deg,
      #FBF1C4 0%, #E7C766 20%, #C9A23B 42%,
      #F6E08C 58%, #B07E26 80%, #E7C766 100%);
  --grad-gold-deep: linear-gradient(135deg,
      #9C7C24 0%, #C9A23B 26%, #7E5F18 50%, #D4AF37 74%, #8A6A1C 100%);
  /* --grad-gold-soft : flat, clean gold for BUTTONS (the banded metallic look
     is kept only for headings, not buttons). */
  --grad-gold-soft: linear-gradient(180deg, #DCB948 0%, #CDA537 100%);
  /* --grad-gold-vivid : richer/more saturated than --grad-gold (which has pale
     cream highlights that read as washed-out on busy/textured backgrounds,
     e.g. the map hero) — same sheen effect, no near-white stops. */
  --grad-gold-vivid: linear-gradient(135deg,
      #F0C550 0%, #D4AF37 28%, #B8860B 52%, #E8C766 76%, #D4AF37 100%);

  /* ---- Type: Sora (modern, sleek display) + Inter (clean body) ---- */
  --font-head: 'Sora', system-ui, sans-serif;
  --font-body: 'Inter', system-ui, sans-serif;

  /* ---- LOGO / DIVE-IN REGION (centered on the map background) --------------
     % of the .desk-scene box; positions the logo (and the white panel that
     fades in during the dive). Centered so we zoom into the middle of the map.
     Dolly transform-origin = 50% / 50% (map centre). */
  --screen-left:   30%;
  --screen-top:    30%;
  --screen-width:  40%;
  --screen-height: 40%;

  /* ---- PHONE SCREEN CUTOUT (images/phone-frame.png, cropped 705 x 1414) ---- */
  --phone-screen-left:   5.11%;
  --phone-screen-top:    2.62%;
  --phone-screen-width:  89.22%;
  --phone-screen-height: 94.27%;

  /* Top padding inside each phone page so content clears the baked-in "9:41". */
  --phone-statusbar: 12%;

  /* Native pixel aspect ratios of the two assets */
  --desk-aspect:  1536 / 1024;   /* map-bg.jpg */
  --phone-aspect: 705 / 1414;
}

/* ============================================================================
   B) RESET + BASE
   ============================================================================ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  font-weight: 400;
  color: var(--cream);
  background: var(--green-dark);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4 {
  font-family: var(--font-head);
  font-weight: 600;
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: var(--gold);
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }

.container { width: 100%; max-width: 1120px; margin: 0 auto; padding: 0 24px; }

/* ---- Metallic-gold text treatment (apply to prominent headings) ---- */
.metallic {
  background: var(--grad-gold);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
}
/* Deeper metallic gold — use on the WHITE hero so the headline stays legible. */
.metallic-deep {
  background: var(--grad-gold-deep);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
}
/* Vivid metallic gold — for text on busy/textured backgrounds (e.g. the map
   hero), where --grad-gold's pale highlights would look washed out. */
.metallic-vivid {
  background: var(--grad-gold-vivid);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
}

/* ---- Buttons ---- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  gap: 8px; font-family: var(--font-head); font-weight: 600; font-size: 1rem;
  padding: 15px 28px; border-radius: 999px; cursor: pointer; border: none;
  transition: transform .2s ease, box-shadow .2s ease, filter .2s ease;
}
/* Metallic gold button with dark green text */
.btn-gold {
  background: var(--grad-gold-soft);   /* flat gold, not metallic */
  color: var(--green-dark);
  box-shadow: 0 6px 18px rgba(201, 162, 59, 0.22);
}
.btn-gold:hover, .btn-gold:focus-visible {
  transform: translateY(-2px);
  filter: brightness(1.05);
  box-shadow: 0 12px 30px rgba(201, 162, 59, 0.32);
}
.btn-outline {
  background: transparent; color: var(--gold);
  border: 1px solid rgba(212, 175, 55, 0.5);
}
.btn-outline:hover, .btn-outline:focus-visible {
  border-color: var(--gold-bright); color: var(--gold-bright); transform: translateY(-2px);
}
a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible {
  outline: 2px solid var(--gold-bright); outline-offset: 3px;
}

/* CTA supporting line (small print beneath buttons) */
.cta-note { margin-top: 14px; font-size: 0.85rem; color: var(--cream-dim); }

/* ============================================================================
   C) HERO WRAPPER + PINNED STAGE
   ============================================================================ */
.hero-wrapper { position: relative; height: 460vh; }   /* scroll runway */

.stage {
  position: relative;            /* GSAP sets fixed while pinned */
  height: 100vh; width: 100%;
  overflow: hidden;
  background: var(--green-dark);
}

/* ---- Desk scene: photo sized to COVER the viewport, scaled as one unit for
        the "camera flies into the screen" dolly (origin = screen center).
        Centering is done with GSAP xPercent/yPercent so x/y/scale compose. ---- */
.desk-scene {
  position: absolute; top: 50%; left: 50%;
  transform: translate(-50%, -50%);   /* fallback; GSAP overrides with xPercent */
  aspect-ratio: var(--desk-aspect);
  width:  max(100vw, calc(100vh * 1536 / 1024));
  height: max(100vh, calc(100vw * 1024 / 1536));
  will-change: transform;
}
.desk-photo { width: 100%; height: 100%; object-fit: cover; }
/* Slight faded-black wash over the whole map so the gold logo + text pop.
   Sits above the map, below the logo/white panel. Tune the last value (0–1). */
.map-tint { position: absolute; inset: 0; background: rgba(0, 0, 0, 0.55); pointer-events: none; }

/* Screen-rect container holding the white panel that becomes the fullscreen
   background; glued to the map and scaled along with the desk during the dolly.
   (The logo used to live here too — it's now a fixed, independent element;
   see .logo below — so this only positions the panel.) */
.screen-overlay {
  position: absolute;
  left:   var(--screen-left);
  top:    var(--screen-top);
  width:  var(--screen-width);
  height: var(--screen-height);
  overflow: visible;
}
/* WHITE panel behind the logo. Starts INVISIBLE so the map shows at the start;
   GSAP fades it in during the dive so it becomes the clean white background the
   headline + phone sit on (exactly as before, just revealed mid-zoom). */
.fullscreen-panel {
  position: absolute; inset: 0; opacity: 0;
  background:
    radial-gradient(120% 130% at 50% 40%, #ffffff 0%, #fbf9f3 70%, #f3efe4 100%);
}

/* ---- The logo — a single image (the original file, no seams). Positioned
   independently of .desk-scene (NOT nested inside it), so it does NOT scale
   with the map's dive/zoom — it's full size immediately and stays that size
   until it swipes off to the left. Centred via GSAP xPercent/yPercent
   (see main.js) rather than a CSS transform, so the two never double up. */
.logo {
  /* Anchored a bit below true centre (58%, not 50%) — at 2x size a centred
     square logo leaves no room above it for the two-line heading before it
     collides with the header. Shifting down opens up that space. (Mobile
     restores 50% — its heading gap is computed separately, see below.) */
  position: absolute; top: 58%; left: 50%; z-index: 5;
  /* min(...vw, ...vh) — logo is square, so on any standard landscape monitor
     (height < width) a pure vw size would grow taller than the viewport and
     clip top/bottom. Capping by vh too guarantees it always fits vertically. */
  width: min(60vw, 62vh); max-width: 920px; height: auto;   /* logo.png is square (2x) */
  filter: drop-shadow(0 4px 16px rgba(0, 0, 0, 0.35));
  will-change: transform, opacity;
}

/* White layer that fades in BEHIND the phone (green hero -> white phone bg). */
.white-bg {
  position: absolute; inset: 0; z-index: 4;
  background: #ffffff; opacity: 0; pointer-events: none;
}

/* ---- Hero headline layer (separate, readable, centered — never scaled) ---- */
.hero-text {
  position: absolute; inset: 0; z-index: 5;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  text-align: center; padding: 0 24px;
  opacity: 0; pointer-events: none;
}
.hero-text.is-live { pointer-events: auto; }
.hero-title { font-size: clamp(2.1rem, 5.4vw, 4.2rem); max-width: 16ch; }
/* Hero sits on the WHITE screen background, so its supporting copy is dark. */
.hero-text .hero-sub {
  margin: 20px 0 30px; max-width: 46ch;
  font-size: clamp(1rem, 2vw, 1.25rem); color: var(--ink); font-weight: 400;
}
.hero-text .cta-note { color: var(--ink-dim); }

/* ============================================================================
   F) THE PHONE  (rises in, then cycles 5 pages) — sits on the white bg
   ============================================================================ */
.phone {
  /* centred by GSAP (xPercent/yPercent -50) — no CSS transform, or it doubles up */
  position: absolute; top: 50%; left: 50%;
  height: 80vh;                          /* <-- tune phone size on desktop */
  aspect-ratio: var(--phone-aspect);
  z-index: 6; opacity: 0;
  will-change: transform, opacity;
}
.phone-screen {
  position: absolute; z-index: 1;
  left:   var(--phone-screen-left);
  top:    var(--phone-screen-top);
  width:  var(--phone-screen-width);
  height: var(--phone-screen-height);
  overflow: hidden;
  border-radius: 8% / 4%;
  background: var(--green-bg);           /* phone screen STAYS green */
}
.phone-frame {
  position: absolute; inset: 0; z-index: 2;
  width: 100%; height: 100%; pointer-events: none;
}
.phone-page {
  position: absolute; inset: 0; z-index: 1;
  display: flex; flex-direction: column;
  padding: calc(var(--phone-statusbar) + 6%) 9% 7%;
  background:
    radial-gradient(130% 90% at 50% 0%, #214733 0%, var(--green-bg) 60%, var(--green-dark) 100%);
  color: var(--cream); opacity: 0;
}
.phone-page.is-active { opacity: 1; }
.phone-page .pp-inner { display: flex; flex-direction: column; gap: 12px; height: 100%; }
.pp-eyebrow {
  font-family: var(--font-head); font-weight: 600; font-size: 0.72rem;
  letter-spacing: 0.02em; color: var(--gold-bright);
}
.pp-title { font-size: clamp(1.15rem, 4.4vw, 1.55rem); line-height: 1.14; }
.pp-sub { font-size: 0.85rem; color: var(--cream-dim); margin-bottom: 2px; }
.pp-features { list-style: none; display: flex; flex-direction: column; gap: 10px; margin-top: 4px; }
.pp-features li {
  display: flex; align-items: center; gap: 10px;
  font-size: 0.84rem; color: var(--cream);
  padding: 9px 11px; border: 1px solid var(--green-line); border-radius: 12px;
  background: rgba(245, 241, 230, 0.03);
}
.pp-ico {
  display: inline-flex; align-items: center; justify-content: center;
  width: 28px; height: 28px; flex: 0 0 28px; border-radius: 8px;
  background: rgba(212, 175, 55, 0.14); color: var(--gold-bright);
}
.pp-ico svg { width: 16px; height: 16px; }
.pp-cta {
  margin-top: auto; text-align: center;
  font-family: var(--font-head); font-weight: 600; font-size: 0.9rem;
  background: var(--grad-gold-soft); color: var(--green-dark);
  padding: 12px 16px; border-radius: 999px;
}

/* ---- Service "snapshot" screens (phone pages 2–5): a BIG centered service
   name (largest text on the screen) + a headline metric for that service. ---- */
.pp-inner.pp-centered { text-align: center; align-items: center; justify-content: center; gap: 11px; }
.pp-service {
  font-family: var(--font-head); font-weight: 700;
  font-size: clamp(2rem, 8.5vw, 2.7rem); line-height: 1.04;  /* <-- biggest text on the screen */
}
.pp-tag { color: var(--cream-dim); font-size: 0.88rem; max-width: 26ch; }
.pp-metrics { display: flex; gap: 22px; justify-content: center; flex-wrap: wrap; margin-top: 4px; }
.pp-metric { display: flex; flex-direction: column; gap: 3px; }
.pp-num { font-family: var(--font-head); font-weight: 700; font-size: clamp(1.6rem, 6.5vw, 2.1rem); line-height: 1; }
.pp-mlabel { font-size: 0.7rem; letter-spacing: 0.05em; text-transform: uppercase; color: var(--cream-dim); }
/* feature rows centered + full width on the centered screens */
.pp-inner.pp-centered .pp-features { width: 100%; margin-top: 2px; }
.pp-inner.pp-centered .pp-features li { justify-content: center; }
/* Overview "service menu": left-aligned rows, each with a description line */
.pp-inner.pp-centered .pp-features.pp-menu li { justify-content: flex-start; text-align: left; gap: 11px; }
.pp-li-text { display: flex; flex-direction: column; gap: 1px; }
.pp-li-title { font-family: var(--font-head); font-weight: 600; font-size: 0.86rem; color: var(--cream); line-height: 1.1; }
.pp-li-sub { font-size: 0.7rem; color: var(--cream-dim); line-height: 1.25; }
.pp-inner.pp-centered .pp-cta { margin-top: 20px; align-self: stretch; }

/* Page dots beside the phone (dark, since they sit on the white bg) */
.phone-dots {
  position: absolute; z-index: 7;
  right: -30px; top: 50%; transform: translateY(-50%);
  display: flex; flex-direction: column; gap: 10px;
}
.phone-dots .dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: rgba(20, 39, 28, 0.25); transition: all .25s ease;
}
.phone-dots .dot.is-active { background: var(--gold); transform: scale(1.35); }

/* ============================================================================
   G) STANDARD SCROLL SECTIONS (services / testimonials / contact / footer)
   These stay forest green (white is only behind the phone).
   ============================================================================ */
.section { padding: 110px 0; background: var(--green-dark); }
.section-alt { background: var(--green-bg); }
.section-head { max-width: 680px; margin: 0 auto 56px; text-align: center; }
.section-head h2 { font-size: clamp(1.9rem, 4vw, 3rem); }
.eyebrow {
  font-family: var(--font-head); font-weight: 600; font-size: 0.8rem;
  letter-spacing: 0.06em; color: var(--gold-bright); margin-bottom: 10px;
}
.lede { color: var(--cream-dim); margin-top: 12px; font-size: 1.05rem; }

/* Services (4 cards, each links to its own page) */
.services-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; }
.service-card {
  background: var(--green-bg); border: 1px solid var(--green-line);
  border-radius: 18px; padding: 32px; display: flex; flex-direction: column;
  transition: transform .25s ease, border-color .25s ease, box-shadow .25s ease;
}
.service-card:hover, .service-card:focus-within {
  transform: translateY(-5px); border-color: rgba(212, 175, 55, 0.5);
  box-shadow: 0 20px 50px rgba(0,0,0,0.35);
}
.service-ico {
  width: 50px; height: 50px; border-radius: 12px; margin-bottom: 18px;
  display: flex; align-items: center; justify-content: center;
  background: rgba(212, 175, 55, 0.12); color: var(--gold-bright);
}
.service-ico svg { width: 26px; height: 26px; }
.service-card h3 { font-size: 1.3rem; margin-bottom: 10px; }
.service-card .body { color: var(--cream-dim); font-size: 0.95rem; margin-bottom: 14px; }
.service-card .proof {
  font-size: 0.85rem; color: var(--gold-bright); font-style: italic;
  padding-left: 12px; border-left: 2px solid rgba(212,175,55,0.4); margin-bottom: 22px;
}
.learn-more {
  margin-top: auto; align-self: flex-start;
  font-family: var(--font-head); font-weight: 600; font-size: 0.95rem; color: var(--gold);
  display: inline-flex; align-items: center; gap: 6px; transition: gap .2s ease, color .2s ease;
}
.learn-more:hover { gap: 12px; color: var(--gold-bright); }

/* Testimonials */
/* Dark scrim over the top of the desk scene — keeps the gold heading legible
   even where it overlaps the bright laptop screen. */
.hero-scrim {
  position: absolute; top: 0; left: 0; right: 0; height: 50%; z-index: 4;
  pointer-events: none;
  /* stops are % of this element's height (50vh): keep it dark down to ~31% of
     the viewport so BOTH heading lines stay legible over the bright screen. */
  background: linear-gradient(to bottom,
    rgba(8, 18, 12, 0.95) 0%, rgba(8, 18, 12, 0.90) 62%, rgba(8, 18, 12, 0.48) 82%, transparent 100%);
}

/* First-screen heading, overlaid on the desk scene (GSAP fades it during the dive-in).
   drop-shadow (not text-shadow) so it works on the metallic gradient text. */
.hero-intro {
  /* Centred in the gap between the header (64px) and the logo's top edge.
     Logo is anchored at 58vh and square, sized min(60vw,62vh), so its top
     edge = 58vh − half that size. */
  position: absolute; top: 64px; left: 0; right: 0;
  height: calc(58vh - (min(60vw, 62vh) / 2) - 64px);
  display: flex; flex-direction: column; justify-content: center;
  z-index: 5; text-align: center; padding: 0 24px; pointer-events: none;
}
.hero-intro-title {
  /* Single line on wide screens (tablet/desktop) — plenty of room there. */
  font-size: clamp(1.9rem, 3.6vw, 3.6rem);
  line-height: 1.08; white-space: nowrap; margin: 0 auto;
  filter: drop-shadow(0 2px 14px rgba(0, 0, 0, 0.6));
}
.hero-intro-sub {
  margin-top: 8px; font-family: var(--font-head); font-weight: 500;
  font-size: clamp(0.92rem, 2vw, 1.25rem); color: var(--gold-bright); letter-spacing: 0.01em;
  filter: drop-shadow(0 2px 12px rgba(0, 0, 0, 0.65));
}
/* Reduced-motion = the static stacked layout. Hero pieces become normal headings
   (no overlay/scrim), on the dark page bg, so light them up. */
@media (prefers-reduced-motion: reduce) {
  .hero-scrim { display: none; }
  .hero-intro { position: static; opacity: 1; padding: 12px 24px 0; }
  .hero-intro-title, .hero-intro-sub { filter: none; }
  .hero-intro-title { font-size: 1.05rem; letter-spacing: 0.04em; }
  .hero-intro-sub { font-size: 0.8rem; }
  /* Logo is normally absolutely centred (top:50%/left:50%), which needs an
     explicit-height ancestor — the static stacked layout doesn't have one, so
     place it in-flow instead: a normal centred image between the map and the
     headline. */
  .logo { position: static; display: block; width: 280px; max-width: 70vw; margin: -20px auto 20px; }
  .hero-text .hero-title { background-image: var(--grad-gold); }
  .hero-text .hero-sub { color: var(--cream); }
  .hero-text .cta-note { color: var(--cream-dim); }
  .phone { display: none; }
}

/* Masonry-style reviews wall (handles many quotes of varying length) */
.quote-grid { columns: 3 280px; column-gap: 22px; max-width: 1080px; margin: 0 auto; }
.quote-card {
  background: var(--green-dark); border: 1px solid var(--green-line);
  border-radius: 18px; padding: 26px;
  break-inside: avoid; margin: 0 0 22px;
}
.quote-card figcaption { padding-top: 8px; }
.stars { display: flex; gap: 3px; margin-bottom: 14px; color: var(--gold); }
.stars svg { width: 16px; height: 16px; fill: var(--gold); }
.quote-card blockquote { font-size: 0.98rem; color: var(--cream); margin-bottom: 16px; }
.q-name { display: block; font-family: var(--font-head); font-weight: 600; color: var(--gold); }
.q-role { display: block; font-size: 0.85rem; color: var(--cream-dim); }

/* Closing CTA + contact */
.closing { text-align: center; }
.closing .section-head { margin-bottom: 36px; }
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: start; margin-top: 30px; text-align: left; }
.contact-list { list-style: none; margin-top: 22px; display: flex; flex-direction: column; gap: 12px; }
.contact-list li { display: flex; align-items: center; gap: 10px; color: var(--cream); }
.contact-list svg { width: 18px; height: 18px; color: var(--gold-bright); }
.contact-form { display: flex; flex-direction: column; gap: 16px; }
.field { display: flex; flex-direction: column; gap: 6px; }
.field label { font-size: 0.85rem; color: var(--cream-dim); font-family: var(--font-head); }
.field input, .field textarea {
  font-family: var(--font-body); font-size: 1rem; color: var(--cream);
  background: var(--green-bg); border: 1px solid var(--green-line);
  border-radius: 12px; padding: 12px 14px; resize: vertical;
}
.contact-form .btn { align-self: flex-start; margin-top: 4px; }
.ghl-embed { margin-top: 0; }
.ghl-placeholder {
  border: 1px dashed rgba(212, 175, 55, 0.4); border-radius: 12px;
  padding: 22px; text-align: center; color: var(--cream-dim); font-size: 0.9rem;
}
/* Live GHL booking calendar */
.booking-wrap { max-width: 820px; margin: 12px auto 16px; }
#ghl-embed iframe {
  width: 100%; min-height: 720px; border: none; border-radius: 16px;
  background: #fff; display: block; box-shadow: 0 22px 55px rgba(0, 0, 0, 0.30);
}
/* Email · phone · location shown inline under the calendar */
.contact-list.contact-inline {
  flex-direction: row; flex-wrap: wrap; justify-content: center;
  gap: 14px 28px; margin-top: 26px;
}

.site-footer { padding: 34px 0; background: var(--green-dark); border-top: 1px solid var(--green-line); }
.site-footer p { color: var(--cream-dim); font-size: 0.9rem; text-align: center; }

/* ============================================================================
   H) STANDALONE SERVICE PAGES (ai-automations.html, seo.html, ...)
   ============================================================================ */
/* ---- GLOBAL SITE HEADER (fixed) with the pages menu — on every page ---- */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 200;
  background: rgba(15, 36, 25, 0.82);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--green-line);
}
.site-header .container { display: flex; align-items: center; justify-content: space-between; gap: 16px; height: 64px; }
.brand { display: flex; align-items: center; gap: 10px; font-family: var(--font-head); font-weight: 600; color: var(--cream); }
.brand img { width: 32px; height: 32px; object-fit: contain; }
.brand span { font-size: 0.98rem; white-space: nowrap; }
.main-nav { display: flex; align-items: center; gap: 4px; }
.main-nav a {
  padding: 8px 12px; border-radius: 8px; font-size: 0.92rem;
  color: var(--cream-dim); font-weight: 500; transition: color .2s, background .2s;
}
.main-nav a:hover, .main-nav a[aria-current="page"] { color: var(--gold-bright); }
.main-nav .nav-cta {
  background: var(--grad-gold-soft); color: var(--green-dark);
  font-family: var(--font-head); font-weight: 600;
  padding: 9px 18px; border-radius: 999px; margin-left: 8px;
}
.main-nav .nav-cta:hover { color: var(--green-dark); filter: brightness(1.07); }
/* Hamburger toggle (mobile only) */
.nav-toggle {
  display: none; width: 42px; height: 42px; border-radius: 10px; padding: 0;
  background: transparent; border: 1px solid var(--green-line);
  flex-direction: column; align-items: center; justify-content: center; gap: 4px; cursor: pointer;
}
.nav-toggle span { width: 18px; height: 2px; background: var(--cream); border-radius: 2px; }

/* Anchor jumps shouldn't hide under the fixed header */
[id] { scroll-margin-top: 84px; }

@media (max-width: 920px) {
  .nav-toggle { display: flex; }
  .main-nav {
    position: absolute; top: 64px; left: 0; right: 0; display: none;
    flex-direction: column; align-items: stretch; gap: 2px;
    background: var(--green-dark); border-bottom: 1px solid var(--green-line);
    padding: 10px 22px 18px;
  }
  .main-nav.open { display: flex; }
  .main-nav a { padding: 13px 10px; width: 100%; font-size: 1rem; }
  .main-nav .nav-cta { margin: 10px 0 0; text-align: center; }
  .brand span { font-size: 0.9rem; }
}

.svc-hero { padding: 130px 0 70px; position: relative; overflow: hidden; } /* top clears fixed header */
.svc-hero::before {            /* soft gold glow */
  content: ''; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(60% 50% at 30% 0%, rgba(212,175,55,0.10) 0%, transparent 70%);
}
.svc-hero .container { position: relative; max-width: 820px; }
.svc-eyebrow {
  font-family: var(--font-head); font-weight: 600; letter-spacing: 0.08em;
  color: var(--gold-bright); font-size: 0.85rem; margin-bottom: 16px;
}
.svc-hero h1 { font-size: clamp(2.2rem, 5.5vw, 4rem); margin-bottom: 20px; }
.svc-hero .svc-body { font-size: clamp(1.05rem, 2vw, 1.3rem); color: var(--cream); max-width: 60ch; margin-bottom: 18px; }
.svc-proof {
  display: inline-block; font-style: italic; color: var(--gold-bright);
  padding: 10px 16px; border: 1px solid rgba(212,175,55,0.3);
  border-radius: 999px; background: rgba(212,175,55,0.06); margin-bottom: 30px;
}
.svc-features { padding: 30px 0 70px; }
.svc-features .grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.feature-box { background: var(--green-bg); border: 1px solid var(--green-line); border-radius: 16px; padding: 26px; }
.feature-box .service-ico { margin-bottom: 14px; }
.feature-box h3 { font-size: 1.1rem; margin-bottom: 8px; }
.feature-box p { color: var(--cream-dim); font-size: 0.92rem; }

/* ---- Results band (per-service metric stats) ---- */
.svc-results {
  padding: 76px 0; text-align: center; background: var(--green-bg);
  border-top: 1px solid var(--green-line); border-bottom: 1px solid var(--green-line);
}
.svc-results h2 { font-size: clamp(1.6rem, 3.5vw, 2.3rem); }
.results-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-top: 44px; }
.result-stat {
  display: flex; flex-direction: column; gap: 8px; padding: 28px 18px;
  background: var(--green-dark); border: 1px solid var(--green-line); border-radius: 16px;
}
.result-stat .num { font-family: var(--font-head); font-weight: 700; font-size: clamp(2.3rem, 5vw, 3.3rem); line-height: 1; }
.result-stat .label { color: var(--cream-dim); font-size: 0.92rem; }

/* Featured results visual (sits between the heading and the stat cards) */
.results-media { max-width: 660px; margin: 34px auto 0; }
.results-media img {
  width: 100%; height: auto; display: block; border-radius: 20px;
  border: 1px solid rgba(212, 175, 55, 0.25);
  box-shadow: 0 22px 55px rgba(0, 0, 0, 0.33);
}

/* Single featured testimonial on a service page */
.svc-quote { padding: 70px 0 20px; background: var(--green-dark); }
.svc-quote .quote-card { max-width: 760px; margin: 0 auto; text-align: center; background: var(--green-bg); }
.svc-quote .stars { justify-content: center; }
.svc-quote blockquote { font-size: 1.12rem; line-height: 1.5; }
.svc-quote figcaption { margin-top: 6px; }

.svc-cta { text-align: center; padding: 70px 0 100px; }
.svc-cta h2 { font-size: clamp(1.8rem, 4vw, 2.6rem); margin-bottom: 18px; }

/* ============================================================================
   I) REVEAL-ON-SCROLL
   ============================================================================ */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .7s ease, transform .7s ease; }
.reveal.is-visible { opacity: 1; transform: none; }

/* ============================================================================
   J) RESPONSIVE — animation runs at all widths; this just adjusts the layout below.
   ============================================================================ */
@media (max-width: 768px) {
  /* The scroll animation runs on mobile too, so the hero keeps its animated
     (absolute/pinned) layout. Only the below-the-fold grids + a few sizes change. */
  .services-grid, .contact-grid, .svc-features .grid, .results-grid { grid-template-columns: 1fr; }
  .section { padding: 60px 0; }
  /* Mobile sizes for the animated hero */
  .phone { height: 72vh; }
  .phone-dots { right: auto; left: 50%; top: auto; bottom: -24px; transform: translateX(-50%); flex-direction: row; }
  /* "Helping Businesses Scale with AI" can't be both one-line AND large on a
     phone-width screen — let it wrap to 2 lines here so it stays big and
     readable instead of being shrunk to fit one line. */
  .hero-intro-title { font-size: 2.2rem; line-height: 1.15; white-space: normal; max-width: 19ch; }
  .hero-intro-sub { font-size: 1.05rem; }

  /* Logo is fixed-size and no longer tied to the map's zoom geometry (see
     .logo above), so it just needs a mobile-appropriate size here. */
  /* A literal 2x (104vw) would run off both edges of the screen, so this is
     as close to double as possible while staying fully on-screen. */
  .logo { width: 96vw; max-width: 620px; top: 50%; } /* restore true-centre (desktop shifts to 58%) */

  /* Heading centred in the gap between the fixed header (64px) and the logo's
     top edge. Logo is vertically centred in the viewport (top:50%) and square,
     so its top edge = 50vh − half its own width (96vw ⇒ half = 48vw). */
  .hero-intro {
    top: 64px; height: calc(50vh - 48vw - 64px);
    display: flex; flex-direction: column; justify-content: center;
  }
}

@media (min-width: 769px) and (max-width: 1024px) {
  .quote-grid, .svc-features .grid { grid-template-columns: repeat(2, 1fr); }
}

/* ============================================================================
   K) REDUCED MOTION — skip the animation; clean static stack.
   ============================================================================ */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .hero-wrapper { height: auto; }
  .stage { position: static; height: auto; overflow: visible; padding: 80px 0 10px; }
  .desk-scene {
    position: relative; top: auto; left: auto; transform: none;
    width: 100%; max-width: 900px; height: auto; margin: 0 auto 32px; border-radius: 14px; overflow: hidden;
  }
  .screen-overlay { transform: none !important; }
  .white-bg { display: none; }
  .hero-text { position: static; inset: auto; opacity: 1; pointer-events: auto; padding: 6px 24px 46px; }
  .phone {
    position: static; top: auto; left: auto; transform: none;
    width: 100%; max-width: 420px; height: auto; aspect-ratio: auto; opacity: 1; margin: 0 auto;
  }
  .phone-frame, .phone-dots { display: none; }
  .phone-screen {
    position: static; left: auto; top: auto; width: 100%; height: auto;
    overflow: visible; background: transparent; display: flex; flex-direction: column; gap: 18px;
  }
  .phone-page { position: static; inset: auto; opacity: 1; border: 1px solid var(--green-line); border-radius: 18px; padding: 26px 22px; min-height: 340px; }
  .reveal, .reveal.is-visible { opacity: 1; transform: none; transition: none; }
  *, *::before, *::after { animation-duration: 0.001ms !important; transition-duration: 0.001ms !important; }
}
