/* ==========================================================================
   Adstrology — Read Data. Write Growth.
   Mobile-first stylesheet. Breakpoints: 480 / 768 / 1024 / 1280
   ========================================================================== */

/* ---------- 1. Design tokens ---------- */
:root {
  --navy: #0B1E3B;
  --navy-2: #13294F;
  --navy-3: #1C3561;
  --gold: #F4C430;
  --gold-deep: #B8860B;
  --offwhite: #FAFAF8;
  --black: #000000;
  --white: #FFFFFF;
  --whatsapp: #25D366;
  --error: #B42318;

  --text-on-navy: var(--offwhite);
  --muted-on-navy: rgba(250, 250, 248, 0.74);
  --line-on-navy: rgba(250, 250, 248, 0.12);
  --text-on-light: var(--navy);
  --muted-on-light: rgba(11, 30, 59, 0.74);
  --line-on-light: rgba(11, 30, 59, 0.12);

  --font: "Montserrat", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --radius-sm: 10px;
  --radius: 14px;
  --radius-lg: 20px;
  --shadow-sm: 0 2px 8px rgba(11, 30, 59, 0.06);
  --shadow: 0 12px 32px rgba(11, 30, 59, 0.10);
  --shadow-lg: 0 24px 60px rgba(0, 0, 0, 0.28);

  --header-h: 72px;
  --header-h-sm: 60px;
  --section-y: 72px;
  --gutter: 16px;
  --ease: cubic-bezier(.22, .61, .36, 1);
}

/* ---------- 2. Base / reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h-sm) + 12px);
}
body {
  margin: 0;
  font-family: var(--font);
  font-size: 1rem;
  line-height: 1.65;
  font-weight: 400;
  color: var(--text-on-light);
  background: var(--offwhite);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
body.menu-open { overflow: hidden; }
img, svg { display: block; max-width: 100%; }
img { height: auto; }
h1, h2, h3, h4 { margin: 0 0 .5em; font-weight: 700; line-height: 1.2; letter-spacing: -0.01em; }
h1 { font-size: clamp(2rem, 6.6vw, 3.5rem); line-height: 1.12; }
h2 { font-size: clamp(1.6rem, 4.6vw, 2.5rem); }
h3 { font-size: 1.125rem; font-weight: 600; }
p { margin: 0 0 1em; }
ul, ol { margin: 0; padding: 0; list-style: none; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 3px; }
strong { font-weight: 600; }
button, input, select, textarea { font: inherit; color: inherit; }
::selection { background: var(--gold); color: var(--navy); }

:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; border-radius: 4px; }
.section-light :focus-visible { outline-color: var(--navy); }

.skip-link {
  position: absolute; left: 12px; top: -60px; z-index: 1000;
  background: var(--gold); color: var(--navy); font-weight: 700;
  padding: 10px 16px; border-radius: var(--radius-sm); text-decoration: none;
  transition: top .2s;
}
.skip-link:focus { top: 12px; }

.container { width: 100%; max-width: 1200px; margin-inline: auto; padding-inline: var(--gutter); }
.container-narrow { max-width: 860px; }
.center { text-align: center; }

.section-dark { position: relative; background: var(--navy); color: var(--text-on-navy); isolation: isolate; }
.section-light { position: relative; background: var(--offwhite); color: var(--text-on-light); }
section { padding-block: var(--section-y); }

.text-gold { color: var(--gold); }
.text-gold-deep { color: var(--gold-deep); }

/* Inline icon sizing */
.icon { width: 20px; height: 20px; flex: none; }
.icon-star { width: 12px; height: 12px; flex: none; color: var(--gold-deep); }
.eyebrow-gold .icon-star { color: var(--gold); }

/* ---------- 3. Typography helpers ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  margin: 0 0 14px;
  font-size: .75rem; font-weight: 600;
  letter-spacing: .2em; text-transform: uppercase;
  color: var(--navy);
}
.eyebrow-gold { color: var(--gold); }
.section-head { max-width: 760px; margin: 0 auto 40px; }
.section-head h2 { margin-bottom: 14px; }
.section-lead { font-size: 1.0625rem; color: var(--muted-on-light); margin: 0; }
.section-dark .section-lead { color: var(--muted-on-navy); }

/* ---------- 4. Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; padding: 12px 22px;
  border: 2px solid transparent; border-radius: 999px;
  font-weight: 600; font-size: .9375rem; line-height: 1.2; letter-spacing: .01em;
  text-decoration: none; text-align: center; cursor: pointer;
  transition: transform .2s var(--ease), background-color .2s, color .2s, border-color .2s, box-shadow .2s;
  -webkit-tap-highlight-color: transparent;
}
.btn:active { transform: translateY(1px); }
.btn-sm { min-height: 42px; padding: 8px 18px; font-size: .875rem; }
.btn-lg { min-height: 54px; padding: 14px 28px; font-size: 1rem; }
.btn-block { width: 100%; }

.btn-gold { background: var(--gold); color: var(--navy); box-shadow: 0 6px 20px rgba(244, 196, 48, .22); }
.btn-gold:hover { background: #ffd24a; box-shadow: 0 10px 28px rgba(244, 196, 48, .35); transform: translateY(-2px); }

.btn-outline { background: transparent; color: var(--offwhite); border-color: rgba(250, 250, 248, .55); }
.btn-outline:hover { border-color: var(--gold); color: var(--gold); transform: translateY(-2px); }

.btn-navy { background: var(--navy); color: var(--offwhite); }
.btn-navy:hover { background: var(--navy-3); transform: translateY(-2px); }

.btn-whatsapp { background: var(--whatsapp); color: #062e16; }
.btn-whatsapp:hover { background: #2fe375; transform: translateY(-2px); }

/* ---------- 5. Starfield & orbit motifs ---------- */
.starfield, .starfield::after {
  position: absolute; inset: 0; z-index: -1; pointer-events: none;
}
.starfield {
  background-image:
    radial-gradient(1px 1px at 22px 34px, rgba(250,250,248,.9) 50%, transparent 52%),
    radial-gradient(1px 1px at 128px 92px, rgba(250,250,248,.7) 50%, transparent 52%),
    radial-gradient(1.5px 1.5px at 210px 160px, rgba(250,250,248,.8) 50%, transparent 52%),
    radial-gradient(1px 1px at 74px 214px, rgba(250,250,248,.6) 50%, transparent 52%),
    radial-gradient(1px 1px at 262px 58px, rgba(250,250,248,.65) 50%, transparent 52%),
    radial-gradient(1.5px 1.5px at 168px 262px, rgba(244,196,48,.7) 50%, transparent 52%),
    radial-gradient(1px 1px at 300px 222px, rgba(250,250,248,.55) 50%, transparent 52%);
  background-size: 320px 300px;
  opacity: .55;
  animation: twinkle 7s ease-in-out infinite alternate;
}
.starfield::after {
  content: "";
  background-image:
    radial-gradient(1px 1px at 46px 120px, rgba(250,250,248,.85) 50%, transparent 52%),
    radial-gradient(1.5px 1.5px at 190px 40px, rgba(250,250,248,.75) 50%, transparent 52%),
    radial-gradient(1px 1px at 330px 180px, rgba(250,250,248,.6) 50%, transparent 52%),
    radial-gradient(1px 1px at 120px 330px, rgba(250,250,248,.7) 50%, transparent 52%),
    radial-gradient(1.5px 1.5px at 380px 300px, rgba(244,196,48,.6) 50%, transparent 52%),
    radial-gradient(1px 1px at 260px 380px, rgba(250,250,248,.5) 50%, transparent 52%);
  background-size: 420px 420px;
  animation: twinkle 5s ease-in-out infinite alternate-reverse;
}
.starfield-soft { opacity: .3; }
@keyframes twinkle { from { opacity: .25; } to { opacity: .75; } }

/* ---------- 6. Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: var(--navy);           /* must stay solid #0B1E3B: the logo SVG has a navy background */
  color: var(--offwhite);
  transition: box-shadow .3s var(--ease);
}
.header-inner {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  height: var(--header-h-sm);
  transition: height .3s var(--ease);
}
.brand { display: flex; align-items: center; flex: none; border-radius: 6px; }
.brand img { width: 128px; height: auto; transition: width .3s var(--ease); }
.site-header.is-scrolled { box-shadow: 0 8px 24px rgba(0, 0, 0, .35); }

.main-nav { display: none; }
.header-actions { display: flex; align-items: center; gap: 8px; }
.header-cta { display: none; }
.header-cta .cta-long { display: none; }

.nav-toggle {
  display: inline-flex; flex-direction: column; justify-content: center; align-items: center; gap: 5px;
  width: 48px; height: 48px; padding: 0;
  background: transparent; border: 1px solid var(--line-on-navy); border-radius: 12px;
  cursor: pointer;
}
.nav-toggle-bar {
  display: block; width: 22px; height: 2px; border-radius: 2px; background: var(--offwhite);
  transition: transform .3s var(--ease), opacity .2s;
}
.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile full-screen overlay */
.mobile-menu {
  position: fixed; inset: 0; z-index: 90;
  display: flex; flex-direction: column; justify-content: space-between;
  padding: calc(var(--header-h-sm) + 24px) 24px calc(32px + env(safe-area-inset-bottom));
  background: var(--navy); color: var(--offwhite);
  overflow-y: auto; isolation: isolate;
  opacity: 0; visibility: hidden;
  transition: opacity .3s var(--ease), visibility 0s linear .3s;
}
.mobile-menu.is-open { opacity: 1; visibility: visible; transition: opacity .3s var(--ease), visibility 0s; }
.mobile-menu nav li { border-bottom: 1px solid var(--line-on-navy); }
.mobile-menu nav a {
  display: flex; align-items: center; min-height: 60px;
  font-size: 1.375rem; font-weight: 600; text-decoration: none;
  transform: translateY(8px); opacity: 0;
  transition: transform .4s var(--ease), opacity .4s var(--ease), color .2s;
}
.mobile-menu.is-open nav a { transform: none; opacity: 1; }
.mobile-menu nav li:nth-child(2) a { transition-delay: .03s; }
.mobile-menu nav li:nth-child(3) a { transition-delay: .06s; }
.mobile-menu nav li:nth-child(4) a { transition-delay: .09s; }
.mobile-menu nav li:nth-child(5) a { transition-delay: .12s; }
.mobile-menu nav li:nth-child(6) a { transition-delay: .15s; }
.mobile-menu nav a:hover { color: var(--gold); }
.mobile-menu-cta { display: grid; gap: 12px; margin-top: 32px; }

/* ---------- 7. Hero ---------- */
.hero { padding-block: 48px 64px; overflow: hidden; }
.hero::before { /* soft gold glow */
  content: ""; position: absolute; z-index: -1;
  width: 620px; height: 620px; right: -260px; top: -200px; border-radius: 50%;
  background: radial-gradient(closest-side, rgba(244, 196, 48, .13), transparent);
  pointer-events: none;
}
.hero-orbit-bg {
  position: absolute; z-index: -1; pointer-events: none;
  left: 50%; top: 58%; width: 170vw; max-width: 1700px; aspect-ratio: 1;
  transform: translate(-50%, -50%) rotate(-14deg) scaleY(.28);
}
.hero-orbit-ring {
  position: absolute; inset: 0; border-radius: 50%;
  border: 1.5px solid rgba(244, 196, 48, .22);
  animation: spin 60s linear infinite;
}
.hero-orbit-dot {
  position: absolute; top: -6px; left: 50%; width: 12px; height: 12px; margin-left: -6px;
  border-radius: 50%; background: var(--gold); box-shadow: 0 0 16px 4px rgba(244, 196, 48, .45);
}
@keyframes spin { to { transform: rotate(360deg); } }

.hero-grid { display: grid; gap: 40px; align-items: center; }
.hero h1 { margin-bottom: 18px; }
.hero-sub { font-size: 1.0625rem; color: var(--muted-on-navy); max-width: 600px; margin-bottom: 28px; }
.hero-sub strong { color: var(--offwhite); }
.hero-ctas { display: grid; gap: 12px; margin-bottom: 36px; }

.hero-trust { display: grid; gap: 22px; }
.hero-partners { display: flex; flex-wrap: wrap; gap: 10px; }
.hero-partners li {
  display: flex; align-items: center; justify-content: center;
  height: 46px; padding: 6px 14px; background: var(--white); border-radius: 10px;
}
/* Partner badges: Google & Meta files have transparent padding, so we crop to the visible mark */
.p-google { aspect-ratio: 9 / 4; object-fit: cover; }
.p-meta { aspect-ratio: 600 / 130; object-fit: cover; }
.hero-partners img { width: auto; }
.hero-partners li { height: 40px; padding: 6px 10px; }
.hero-partners .p-google { height: 28px; }
.hero-partners .p-meta { height: 18px; }
.hero-partners .p-shopify { height: 16px; }

.hero-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.hero-stats li {
  padding: 12px 10px; border-left: 2px solid var(--gold);
  background: rgba(250, 250, 248, .04); border-radius: 0 10px 10px 0;
}
.hero-stats strong { display: block; color: var(--gold); font-size: .9375rem; font-weight: 700; line-height: 1.25; }
.hero-stats span { display: block; color: var(--muted-on-navy); font-size: .75rem; line-height: 1.35; margin-top: 2px; }

.hero-visual { display: none; }
.orbit-system { position: relative; width: 100%; max-width: 460px; aspect-ratio: 1; margin-inline: auto; }
.orbit { position: absolute; border-radius: 50%; inset: 0; margin: auto; }
.orbit-1 { width: 100%; height: 100%; border: 1px dashed rgba(244, 196, 48, .35); animation: spin 90s linear infinite; }
.orbit-2 { width: 72%; height: 72%; border: 1px solid rgba(250, 250, 248, .14); }
.orbit-3 { width: 44%; height: 44%; border: 1px dashed rgba(244, 196, 48, .45); animation: spin 50s linear infinite reverse; }
.orbit-core { position: absolute; width: 30%; height: auto; left: 35%; top: 50%; transform: translateY(-50%); }
.orbit-chip {
  position: absolute; transform: translate(-50%, -50%);
  padding: 7px 14px; border-radius: 999px; white-space: nowrap;
  font-size: .8125rem; font-weight: 600;
  background: var(--navy-2); border: 1px solid var(--navy-3); color: var(--offwhite);
  box-shadow: 0 8px 20px rgba(0, 0, 0, .25);
  animation: float 6s ease-in-out infinite;
}
.orbit-chip::before { content: ""; display: inline-block; width: 6px; height: 6px; margin-right: 8px; border-radius: 50%; background: var(--gold); vertical-align: middle; }
.chip-a { left: 50%; top: 0%; }
.chip-b { left: 93%; top: 26%; animation-delay: -1s; }
.chip-c { left: 93%; top: 74%; animation-delay: -2s; }
.chip-d { left: 50%; top: 100%; animation-delay: -3s; }
.chip-e { left: 7%; top: 74%; animation-delay: -4s; }
.chip-f { left: 7%; top: 26%; animation-delay: -5s; }
@keyframes float { 0%, 100% { margin-top: 0; } 50% { margin-top: -6px; } }
.orbit-star { position: absolute; color: var(--gold); }
.orbit-star.s1 { width: 18px; height: 18px; left: 80%; top: 8%; }
.orbit-star.s2 { width: 12px; height: 12px; left: 16%; top: 50%; opacity: .7; }
.orbit-star.s3 { width: 14px; height: 14px; left: 74%; top: 88%; opacity: .85; }

/* ---------- 8. Partners ---------- */
.partner-cards { display: grid; grid-template-columns: 1fr; gap: 14px; max-width: 980px; margin-inline: auto; }
.partner-card {
  display: flex; align-items: center; justify-content: center;
  height: 120px; padding: 20px 28px;
  background: var(--white); border: 1px solid var(--line-on-light); border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  transition: transform .25s var(--ease), box-shadow .25s var(--ease);
}
.partner-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.partner-card img { width: auto; max-width: 100%; }
.partner-card { height: 96px; }
.partner-card .p-google { height: 50px; }
.partner-card .p-meta { height: 36px; }
.partner-card .p-shopify { height: 28px; }

/* ---------- 9. Clients marquee ---------- */
.clients { overflow: hidden; }
.clients .section-head { margin-bottom: 36px; }
.marquee {
  display: grid; gap: 14px;
  -webkit-mask-image: linear-gradient(to right, transparent, #000 8%, #000 92%, transparent);
          mask-image: linear-gradient(to right, transparent, #000 8%, #000 92%, transparent);
}
.marquee-row { overflow: hidden; }
.marquee-track {
  display: flex; width: max-content;
  animation: marquee-left 60s linear infinite;
  will-change: transform;
}
.marquee-track.track-right { animation-name: marquee-right; animation-duration: 66s; }
.marquee:hover .marquee-track { animation-play-state: paused; }
@keyframes marquee-left  { from { transform: translate3d(0, 0, 0); }    to { transform: translate3d(-50%, 0, 0); } }
@keyframes marquee-right { from { transform: translate3d(-50%, 0, 0); } to { transform: translate3d(0, 0, 0); } }

.logo-card {
  flex: none;
  display: flex; align-items: center; justify-content: center;
  width: 130px; height: 80px; padding: 8px;
  margin-right: 12px;               /* margin (not gap) keeps both halves identical → seamless loop */
  background: var(--white); border-radius: var(--radius);
  box-shadow: 0 4px 14px rgba(0, 0, 0, .18);
}
.logo-card img { width: 100%; height: 100%; object-fit: contain; border-radius: 6px; }

/* ---------- 10. Services ---------- */
.service-grid { display: grid; grid-template-columns: 1fr; gap: 18px; }
.service-card {
  position: relative; display: flex; flex-direction: column;
  padding: 28px 24px 26px;
  background: var(--navy-2); color: var(--offwhite);
  border-radius: var(--radius-lg); border-top: 3px solid transparent;
  box-shadow: var(--shadow);
  transition: transform .3s var(--ease), border-color .3s var(--ease), box-shadow .3s var(--ease);
}
.service-card:hover { transform: translateY(-4px); border-top-color: var(--gold); box-shadow: 0 24px 48px rgba(11, 30, 59, .22); }
.service-icon {
  display: grid; place-items: center;
  width: 52px; height: 52px; margin-bottom: 18px;
  border-radius: 14px; background: var(--navy-3); color: var(--gold);
  border: 1px solid rgba(244, 196, 48, .25);
}
.service-icon svg { width: 26px; height: 26px; }
.service-card h3 { font-size: 1.0625rem; margin-bottom: 10px; }
.service-card p { font-size: .9375rem; color: var(--muted-on-navy); margin-bottom: 18px; }
.deliverables { display: grid; gap: 8px; margin-top: auto; padding-top: 16px; border-top: 1px solid var(--line-on-navy); }
.deliverables li { position: relative; padding-left: 22px; font-size: .875rem; font-weight: 500; line-height: 1.45; }
.deliverables li::before {
  content: ""; position: absolute; left: 0; top: .28em; width: 11px; height: 11px;
  background: var(--gold);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 0c.9 7.4 4.6 11.1 12 12-7.4.9-11.1 4.6-12 12-.9-7.4-4.6-11.1-12-12C7.4 11.1 11.1 7.4 12 0z'/%3E%3C/svg%3E") center / contain no-repeat;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 0c.9 7.4 4.6 11.1 12 12-7.4.9-11.1 4.6-12 12-.9-7.4-4.6-11.1-12-12C7.4 11.1 11.1 7.4 12 0z'/%3E%3C/svg%3E") center / contain no-repeat;
}
.section-cta { margin-top: 40px; text-align: center; }

/* ---------- 11. Process ---------- */
.process { overflow: hidden; }
.process::after { /* faint orbit ring */
  content: ""; position: absolute; z-index: -1; left: 50%; top: 62%;
  width: 1400px; height: 360px; transform: translate(-50%, -50%) rotate(-6deg);
  border: 1px solid rgba(244, 196, 48, .12); border-radius: 50%;
  pointer-events: none;
}
.process-steps { position: relative; display: grid; gap: 28px; counter-reset: step; }
.process-steps::before { /* vertical orbit line on mobile */
  content: ""; position: absolute; left: 23px; top: 24px; bottom: 24px;
  border-left: 2px dashed rgba(244, 196, 48, .4);
}
.process-step { position: relative; padding-left: 72px; }
.process-marker {
  position: absolute; left: 0; top: 0;
  display: grid; place-items: center; width: 48px; height: 48px;
  border-radius: 50%; background: var(--navy); border: 2px solid var(--gold);
  box-shadow: 0 0 0 6px var(--navy), 0 0 24px rgba(244, 196, 48, .35);
}
.process-marker svg { width: 20px; height: 20px; color: var(--gold); }
.process-num { display: block; font-size: .75rem; font-weight: 700; letter-spacing: .2em; color: var(--gold); margin-bottom: 4px; }
.process-step h3 { font-size: 1.1875rem; margin-bottom: 8px; }
.process-step p { color: var(--muted-on-navy); font-size: .9375rem; margin: 0; }

/* ---------- 12. Why us ---------- */
.why-grid { display: grid; grid-template-columns: 1fr; gap: 16px; }
.why-item {
  display: flex; gap: 16px; align-items: flex-start;
  padding: 22px; background: var(--white); border: 1px solid var(--line-on-light);
  border-radius: var(--radius-lg); box-shadow: var(--shadow-sm);
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), border-color .25s;
}
.why-item:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: rgba(184, 134, 11, .35); }
.why-icon {
  flex: none; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%;
  background: var(--navy); color: var(--gold);
}
.why-icon svg { width: 18px; height: 18px; }
.why-item h3 { font-size: 1.0625rem; margin-bottom: 6px; }
.why-item p { margin: 0; font-size: .9375rem; color: var(--muted-on-light); }

/* ---------- 13. Industries ---------- */
.industries { padding-top: 0; }
.industries-box {
  padding: 32px 20px; text-align: center;
  border-radius: var(--radius-lg); background: var(--white); border: 1px solid var(--line-on-light);
}
.industries-box h2 { font-size: clamp(1.375rem, 3.6vw, 1.875rem); margin-bottom: 22px; }
.chips { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }
.chips li {
  display: inline-flex; align-items: center; gap: 8px;
  min-height: 42px; padding: 8px 16px;
  border: 1px solid rgba(11, 30, 59, .2); border-radius: 999px;
  background: var(--offwhite); font-size: .875rem; font-weight: 500; color: var(--navy);
  transition: background-color .2s, color .2s, border-color .2s;
}
.chips li svg { width: 11px; height: 11px; color: var(--gold-deep); }
.chips li:hover { background: var(--navy); color: var(--offwhite); border-color: var(--navy); }
.chips li:hover svg { color: var(--gold); }

/* ---------- 14. Audit / lead form ---------- */
.audit { overflow: hidden; padding-bottom: calc(var(--section-y) + 40px); }
.audit::before {
  content: ""; position: absolute; z-index: -1; left: -280px; bottom: -280px;
  width: 640px; height: 640px; border-radius: 50%;
  border: 1px solid rgba(244, 196, 48, .14);
  box-shadow: inset 0 0 0 80px rgba(244, 196, 48, .015);
  pointer-events: none;
}
.audit-grid { display: grid; gap: 36px; align-items: start; }
.audit-lead { color: var(--muted-on-navy); font-size: 1.0625rem; }
.checklist { display: grid; gap: 14px; margin: 26px 0 30px; }
.checklist li { display: flex; align-items: center; gap: 12px; font-weight: 500; }
.check {
  flex: none; display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%;
  background: var(--gold); color: var(--navy);
}
.check svg { width: 16px; height: 16px; }
.audit-wa { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 18px; }
.audit-call { margin: 0; color: var(--muted-on-navy); font-size: .9375rem; }
.audit-call a { color: var(--offwhite); font-weight: 600; }

.form-card {
  position: relative;
  padding: 26px 18px 22px;
  background: var(--white); color: var(--navy);
  border-radius: var(--radius-lg); box-shadow: var(--shadow-lg);
  border-top: 4px solid var(--gold);
}
.form-title { font-size: 1.25rem; margin-bottom: 4px; }
.form-sub { font-size: .875rem; color: var(--muted-on-light); margin-bottom: 20px; }
.req { color: var(--error); font-weight: 600; }
.form-grid { display: grid; grid-template-columns: 1fr; gap: 14px 16px; }
.field label { display: block; margin-bottom: 6px; font-size: .875rem; font-weight: 600; }
.field input, .field select, .field textarea {
  display: block; width: 100%; min-height: 52px; padding: 12px 14px;
  font-size: 1rem;                   /* 16px stops iOS zoom on focus */
  color: var(--navy); background: var(--offwhite);
  border: 1.5px solid rgba(11, 30, 59, .18); border-radius: 12px;
  transition: border-color .2s, box-shadow .2s, background-color .2s;
  -webkit-appearance: none; appearance: none;
}
.field textarea { resize: vertical; min-height: 110px; line-height: 1.5; }
.field select {
  padding-right: 42px; cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='none' stroke='%230B1E3B' stroke-width='2' stroke-linecap='round' stroke-linejoin='round' d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 14px center; background-size: 18px;
}
.field input::placeholder, .field textarea::placeholder { color: rgba(11, 30, 59, .45); }
.field input:hover, .field select:hover, .field textarea:hover { border-color: rgba(11, 30, 59, .35); }
.field input:focus, .field select:focus, .field textarea:focus,
.phone-wrap:focus-within {
  outline: none; background: var(--white);
  border-color: var(--gold-deep);
  box-shadow: 0 0 0 4px rgba(244, 196, 48, .35);
}
.phone-wrap {
  display: flex; align-items: stretch;
  background: var(--offwhite); border: 1.5px solid rgba(11, 30, 59, .18); border-radius: 12px;
  transition: border-color .2s, box-shadow .2s, background-color .2s;
}
.phone-wrap:hover { border-color: rgba(11, 30, 59, .35); }
.phone-prefix {
  display: flex; align-items: center; padding: 0 12px 0 14px;
  font-weight: 600; color: var(--navy); border-right: 1.5px solid rgba(11, 30, 59, .14);
}
.phone-wrap input { border: 0; background: transparent; border-radius: 0 12px 12px 0; }
.phone-wrap input:focus { box-shadow: none; background: transparent; }

.field.has-error input, .field.has-error select, .field.has-error textarea,
.field.has-error .phone-wrap { border-color: var(--error); background: #fff7f6; }
.field.has-error .phone-wrap input { background: transparent; }
.field-error { margin: 6px 0 0; font-size: .8125rem; font-weight: 500; color: var(--error); min-height: 0; }
.field-error:empty { display: none; }

.hp-field { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }

.form-alert {
  margin: 18px 0 0; padding: 12px 14px; border-radius: 12px; font-size: .9rem;
  background: #fff1ef; color: var(--error); border: 1px solid rgba(180, 35, 24, .25);
}
.form-alert a { font-weight: 600; }
.btn-submit { margin-top: 20px; position: relative; }
.btn-submit .spinner {
  display: none; width: 20px; height: 20px; border-radius: 50%;
  border: 2.5px solid rgba(11, 30, 59, .3); border-top-color: var(--navy);
  animation: spin .8s linear infinite;
}
.btn-submit.is-loading { pointer-events: none; opacity: .9; }
.btn-submit.is-loading .spinner { display: inline-block; }
.form-note { margin: 12px 0 0; font-size: .8125rem; color: var(--muted-on-light); text-align: center; }

/* ---------- 15. FAQ ---------- */
.faq-list { display: grid; gap: 12px; }
.faq-item {
  background: var(--white); border: 1px solid var(--line-on-light);
  border-radius: var(--radius); transition: border-color .2s, box-shadow .2s;
}
.faq-item[open] { border-color: rgba(184, 134, 11, .45); box-shadow: var(--shadow-sm); }
.faq-item summary {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  min-height: 60px; padding: 16px 18px; cursor: pointer; list-style: none;
  border-radius: var(--radius);
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary h3 { margin: 0; font-size: 1rem; font-weight: 600; line-height: 1.4; }
.faq-icon {
  position: relative; flex: none; width: 30px; height: 30px; border-radius: 50%;
  background: var(--navy); transition: transform .3s var(--ease), background-color .2s;
}
.faq-icon::before, .faq-icon::after {
  content: ""; position: absolute; left: 50%; top: 50%; width: 12px; height: 2px; margin: -1px 0 0 -6px;
  background: var(--gold); border-radius: 2px; transition: transform .3s var(--ease);
}
.faq-icon::after { transform: rotate(90deg); }
.faq-item[open] .faq-icon { transform: rotate(180deg); }
.faq-item[open] .faq-icon::after { transform: rotate(0deg); }
.faq-body { padding: 0 18px 18px; }
.faq-body p { margin: 0; color: var(--muted-on-light); font-size: .9375rem; }

/* ---------- 16. Final CTA ---------- */
.final-cta { overflow: hidden; border-bottom: 1px solid var(--line-on-navy); }
.cta-ring {
  position: absolute; z-index: -1; left: 50%; top: 50%;
  width: 900px; height: 900px; transform: translate(-50%, -50%) rotate(-12deg) scaleY(.3);
  border-radius: 50%; border: 1.5px solid rgba(244, 196, 48, .25);
  pointer-events: none;
}
.final-cta h2 { max-width: 720px; margin-inline: auto; margin-bottom: 14px; }
.final-cta .section-lead { max-width: 600px; margin: 0 auto 30px; }
.cta-buttons { display: grid; gap: 12px; justify-content: center; }

/* ---------- 17. Footer ---------- */
.site-footer { background: var(--navy); color: var(--muted-on-navy); padding-top: 56px; font-size: .9375rem; }
.footer-grid { display: grid; gap: 36px; padding-bottom: 40px; }
.footer-brand img { width: 220px; height: auto; margin: 0 0 14px -8px; }
.footer-brand p { max-width: 360px; }
.footer-title { color: var(--offwhite); font-size: .8125rem; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; margin-bottom: 16px; }
.footer-col ul { display: grid; gap: 4px; }
.footer-col a { display: inline-flex; align-items: center; min-height: 36px; text-decoration: none; transition: color .2s; }
.footer-col a:hover { color: var(--gold); }
.contact-list li { display: flex; align-items: center; gap: 12px; min-height: 40px; }
.contact-list svg { width: 18px; height: 18px; flex: none; color: var(--gold); }
.contact-list a { word-break: break-all; }
.social { display: flex; gap: 10px; margin-top: 18px; }
.social a {
  display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%;
  border: 1px solid var(--line-on-navy); color: var(--offwhite);
  transition: background-color .2s, color .2s, border-color .2s;
}
.social a:hover { background: var(--gold); color: var(--navy); border-color: var(--gold); }
.social svg { width: 18px; height: 18px; }
.footer-bottom {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px;
  padding-top: 20px;
  padding-bottom: calc(96px + env(safe-area-inset-bottom)); /* clears the floating WhatsApp button on mobile */
  border-top: 1px solid var(--line-on-navy); font-size: .8125rem;
}
.footer-bottom p { margin: 0; }
.footer-bottom a { color: var(--offwhite); }
.footer-bottom a:hover { color: var(--gold); }

/* ---------- 18. Floating WhatsApp ---------- */
.wa-float {
  position: fixed; z-index: 80;
  right: calc(16px + env(safe-area-inset-right)); bottom: calc(16px + env(safe-area-inset-bottom));
  display: grid; place-items: center; width: 58px; height: 58px; border-radius: 50%;
  background: var(--whatsapp); color: var(--white);
  box-shadow: 0 10px 26px rgba(0, 0, 0, .3);
  transition: transform .25s var(--ease), box-shadow .25s;
}
.wa-float svg { width: 30px; height: 30px; }
.wa-float::before {
  content: ""; position: absolute; inset: 0; border-radius: 50%;
  border: 2px solid var(--whatsapp);
  animation: wa-pulse 3.2s ease-out infinite;
}
.wa-float:hover { transform: scale(1.06); box-shadow: 0 14px 32px rgba(0, 0, 0, .35); }
.wa-float:focus-visible { outline-color: var(--gold); }
@keyframes wa-pulse {
  0% { transform: scale(1); opacity: .8; }
  55% { transform: scale(1.6); opacity: 0; }
  100% { transform: scale(1.6); opacity: 0; }
}
.wa-tooltip {
  position: absolute; right: calc(100% + 12px); top: 50%;
  padding: 7px 12px; border-radius: 8px; white-space: nowrap;
  background: var(--navy); color: var(--offwhite); font-size: .8125rem; font-weight: 600;
  box-shadow: 0 6px 18px rgba(0, 0, 0, .25);
  opacity: 0; visibility: hidden; transform: translate(6px, -50%);
  transition: opacity .2s, transform .2s, visibility 0s linear .2s;
  pointer-events: none;
}
.wa-tooltip::after {
  content: ""; position: absolute; left: 100%; top: 50%; margin-top: -5px;
  border: 5px solid transparent; border-left-color: var(--navy);
}

/* ---------- 19. Scroll reveal ---------- */
.js .reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.js .reveal.is-visible { opacity: 1; transform: none; }

/* ---------- 20. Thank-you page ---------- */
.thanks { min-height: calc(100vh - var(--header-h-sm)); min-height: calc(100svh - var(--header-h-sm)); display: grid; place-items: center; padding-block: 64px; overflow: hidden; }
.thanks-card { max-width: 640px; margin-inline: auto; text-align: center; }
.thanks-icon {
  position: relative; display: grid; place-items: center;
  width: 112px; height: 112px; margin: 0 auto 30px; border-radius: 50%;
  background: var(--gold); color: var(--navy);
  box-shadow: 0 0 0 12px rgba(244, 196, 48, .12), 0 0 60px rgba(244, 196, 48, .35);
  animation: pop .6s var(--ease) both;
}
.thanks-icon svg { width: 54px; height: 54px; }
.thanks-icon::after {
  content: ""; position: absolute; inset: -34px; border-radius: 50%;
  border: 1px dashed rgba(244, 196, 48, .45); animation: spin 40s linear infinite;
}
@keyframes pop { from { transform: scale(.6); opacity: 0; } to { transform: scale(1); opacity: 1; } }
.thanks h1 { font-size: clamp(1.75rem, 5.4vw, 2.75rem); margin-bottom: 16px; }
.thanks-lead { color: var(--muted-on-navy); font-size: 1.0625rem; margin-bottom: 32px; }
.thanks-actions { display: grid; gap: 12px; justify-content: center; }
.thanks-actions .btn-whatsapp { padding-inline: 24px; }

/* ==========================================================================
   Breakpoints
   ========================================================================== */

/* ≥ 380px — show compact header CTA */
@media (min-width: 380px) {
  .header-cta { display: inline-flex; }
}

/* ≥ 480px */
@media (min-width: 480px) {
  :root { --gutter: 20px; }
  .brand img { width: 140px; }
  .hero-ctas { grid-template-columns: auto auto; justify-content: start; }
  .hero-stats strong { font-size: 1.0625rem; }
  .hero-stats span { font-size: .8125rem; }
  .logo-card { width: 150px; height: 92px; padding: 10px; margin-right: 14px; }
  .form-card { padding: 30px 26px 26px; }
  .cta-buttons { grid-template-columns: auto auto; }
  .thanks-actions { grid-template-columns: auto auto; }
  .hero-partners li { height: 46px; padding: 6px 14px; }
  .hero-partners .p-google { height: 32px; }
  .hero-partners .p-meta { height: 22px; }
  .hero-partners .p-shopify { height: 20px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand, .footer-grid > .footer-col:last-child { grid-column: 1 / -1; }
}

/* ≥ 640px */
@media (min-width: 640px) {
  .partner-cards { grid-template-columns: repeat(3, 1fr); }
  .partner-card { height: 120px; }
  .partner-card .p-google { height: 62px; }
  .partner-card .p-meta { height: 44px; }
  .partner-card .p-shopify { height: 32px; }
  .form-grid { grid-template-columns: 1fr 1fr; }
  .field-full { grid-column: 1 / -1; }
}

/* ≥ 768px — tablet */
@media (min-width: 768px) {
  :root { --gutter: 24px; --section-y: 96px; }
  .service-grid { grid-template-columns: repeat(2, 1fr); gap: 22px; }
  .why-grid { grid-template-columns: repeat(2, 1fr); gap: 18px; }
  .process-steps { grid-template-columns: repeat(2, 1fr); gap: 40px 32px; }
  .process-steps::before { display: none; }
  .industries-box { padding: 44px 40px; }
  .logo-card { width: 180px; height: 110px; padding: 14px; margin-right: 18px; }
  .marquee { gap: 18px; }
}
@media (min-width: 768px) and (prefers-reduced-motion: reduce) {
  .logo-card { width: 150px; height: 92px; }
  .footer-grid { grid-template-columns: 1.3fr 1fr 1.2fr; }
  .footer-brand { grid-column: 1 / -1; }
  .footer-grid > .footer-col:last-child { grid-column: auto; }
  .footer-bottom { padding-bottom: 28px; }
  .wa-float { right: 24px; bottom: 24px; width: 62px; height: 62px; }
  .wa-float svg { width: 32px; height: 32px; }
  .wa-float:hover .wa-tooltip, .wa-float:focus-visible .wa-tooltip {
    opacity: 1; visibility: visible; transform: translate(0, -50%);
    transition: opacity .2s, transform .2s, visibility 0s;
  }
  .audit { padding-bottom: var(--section-y); }
}

/* ≥ 1024px — desktop */
@media (min-width: 1024px) {
  html { scroll-padding-top: calc(var(--header-h-sm) + 16px); }
  .header-inner { height: var(--header-h); }
  .site-header.is-scrolled .header-inner { height: var(--header-h-sm); }
  .brand img { width: 160px; }
  .site-header.is-scrolled .brand img { width: 140px; }
  .nav-toggle { display: none; }
  .mobile-menu { display: none; }
  .header-cta .cta-long { display: inline; }
  .header-cta .cta-short { display: none; }
  .main-nav { display: block; }
  .main-nav ul { display: flex; gap: 4px; }
  .main-nav a {
    position: relative; display: inline-flex; align-items: center; min-height: 44px; padding: 0 12px;
    font-size: .875rem; font-weight: 500; text-decoration: none; color: var(--muted-on-navy);
    transition: color .2s;
  }
  .main-nav a::after {
    content: ""; position: absolute; left: 12px; right: 12px; bottom: 6px; height: 2px;
    background: var(--gold); border-radius: 2px; transform: scaleX(0); transform-origin: left;
    transition: transform .25s var(--ease);
  }
  .main-nav a:hover, .main-nav a.is-active { color: var(--offwhite); }
  .main-nav a:hover::after, .main-nav a.is-active::after { transform: scaleX(1); }

  .hero { padding-block: 80px 96px; }
  .hero-grid { grid-template-columns: 1.15fr .85fr; gap: 56px; }
  .hero-visual { display: block; }
  .hero-orbit-bg { width: 130vw; top: 70%; }

  .service-grid { grid-template-columns: repeat(4, 1fr); gap: 20px; }
  .service-card { padding: 28px 22px 24px; }

  .process-steps { grid-template-columns: repeat(4, 1fr); gap: 28px; }
  .process-steps::before {
    display: block; left: 24px; right: calc(25% - 45px); top: 23px; bottom: auto;
    border-left: 0; border-top: 2px dashed rgba(244, 196, 48, .4);
  }
  .process-step { padding-left: 0; padding-top: 72px; }

  .why-grid { grid-template-columns: repeat(3, 1fr); gap: 20px; }

  .audit-grid { grid-template-columns: .9fr 1.1fr; gap: 64px; align-items: center; }
  .form-card { padding: 36px 36px 30px; }

  .footer-grid { grid-template-columns: 1.5fr 1fr 1.2fr 1.2fr; gap: 40px; }
  .footer-brand { grid-column: auto; }
}

/* ≥ 1280px — large desktop */
@media (min-width: 1280px) {
  .main-nav a { padding: 0 14px; font-size: .9rem; }
  .main-nav a::after { left: 14px; right: 14px; }
  .service-card { padding: 30px 24px 26px; }
}

/* ==========================================================================
   Reduced motion
   ========================================================================== */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .01ms !important; animation-iteration-count: 1 !important;
    transition-duration: .01ms !important; scroll-behavior: auto !important;
  }
  .js .reveal { opacity: 1; transform: none; }
  .starfield, .starfield::after { animation: none; opacity: .45; }
  .wa-float::before { display: none; }

  /* Marquee becomes a tidy wrapped grid of all 14 logos */
  .marquee {
    display: flex; flex-wrap: wrap; justify-content: center; gap: 14px;
    max-width: 1200px; margin-inline: auto; padding-inline: var(--gutter);
    -webkit-mask-image: none; mask-image: none;
  }
  .marquee-row, .marquee-track { display: contents; }
  .marquee-track { animation: none !important; }
  .logo-card { margin-right: 0; }
  .logo-card.is-clone { display: none; }
}

/* Print basics */
@media print {
  .site-header, .mobile-menu, .wa-float, .starfield, .hero-visual { display: none !important; }
  .section-dark { background: #fff; color: #000; }
}

/* ==========================================================================
   21. Results — total ad spend vs revenue (client names & logos kept private)
   ========================================================================== */
.results-grid { display: grid; grid-template-columns: 1fr; gap: 20px; align-items: stretch; }

.results-card {
  overflow: hidden; display: flex; flex-direction: column; gap: 22px;
  padding: 30px 22px 26px;
  border-radius: var(--radius-lg); border-top: 4px solid var(--gold);
  box-shadow: var(--shadow-lg);
}
.results-card::before { /* soft gold glow */
  content: ""; position: absolute; z-index: -1; right: -200px; bottom: -220px;
  width: 520px; height: 520px; border-radius: 50%;
  background: radial-gradient(closest-side, rgba(244, 196, 48, .16), transparent);
  pointer-events: none;
}
.results-ring {
  position: absolute; z-index: -1; left: 50%; top: 55%;
  width: 760px; height: 760px; transform: translate(-50%, -50%) rotate(-14deg) scaleY(.3);
  border-radius: 50%; border: 1.5px solid rgba(244, 196, 48, .2);
  pointer-events: none;
}
.rc-stat { padding-left: 18px; border-left: 2px solid rgba(250, 250, 248, .35); }
.rc-stat-gold { border-left-color: var(--gold); }
.rc-label { margin: 0 0 6px; font-size: .75rem; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; color: var(--muted-on-navy); }
.rc-value {
  margin: 0; font-size: clamp(2.5rem, 11vw, 4rem); font-weight: 700; line-height: 1.05; letter-spacing: -0.03em;
  color: var(--offwhite); font-variant-numeric: tabular-nums; white-space: nowrap;
}
.rc-value small { font-size: .42em; font-weight: 600; letter-spacing: 0; color: var(--muted-on-navy); }
.rc-cur { font-size: .7em; margin-right: 2px; vertical-align: .08em; }
.rc-stat-gold .rc-value { color: var(--gold); text-shadow: 0 0 30px rgba(244, 196, 48, .25); }
.rc-stat-gold .rc-value small { color: var(--gold); opacity: .85; }
.rc-sub { margin: 6px 0 0; font-size: .875rem; color: var(--muted-on-navy); }

.rc-divider { display: flex; align-items: center; gap: 12px; }
.rc-line { flex: 1; border-top: 1px dashed rgba(244, 196, 48, .45); }
.rc-pill {
  display: inline-flex; align-items: center; gap: 8px; padding: 7px 14px; border-radius: 999px;
  background: var(--navy-2); border: 1px solid rgba(244, 196, 48, .45); color: var(--gold);
  font-size: .8125rem; font-weight: 700; white-space: nowrap;
  box-shadow: 0 0 20px rgba(244, 196, 48, .18);
}
.rc-pill svg { width: 16px; height: 16px; transform: rotate(90deg); }

.rc-foot {
  display: flex; align-items: center; gap: 10px; margin: auto 0 0; padding: 14px 16px;
  border-radius: var(--radius); background: rgba(250, 250, 248, .05); border: 1px solid var(--line-on-navy);
  font-size: .9375rem; color: var(--muted-on-navy);
}
.rc-foot svg { width: 14px; height: 14px; flex: none; color: var(--gold); }
.rc-foot strong { color: var(--gold); font-weight: 700; }

.results-panel {
  display: flex; flex-direction: column;
  padding: 26px 20px 22px;
  background: var(--white); border: 1px solid var(--line-on-light);
  border-radius: var(--radius-lg); box-shadow: var(--shadow-sm);
}
.rp-head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px 16px; margin-bottom: 22px; }
.rp-head h3 { margin: 0; font-size: 1.125rem; }
.rp-legend { display: flex; gap: 14px; font-size: .75rem; font-weight: 600; color: var(--muted-on-light); }
.rp-legend li { display: inline-flex; align-items: center; gap: 6px; }
.lg { width: 14px; height: 8px; border-radius: 4px; }
.lg-spend { background: var(--navy); }
.lg-rev { background: linear-gradient(90deg, var(--gold-deep), var(--gold)); }

.rp-list { display: grid; gap: 20px; }
.rp-row { display: flex; justify-content: space-between; align-items: baseline; gap: 8px 14px; flex-wrap: wrap; margin-bottom: 8px; }
.rp-name { font-size: .9375rem; font-weight: 600; }
.rp-nums { display: inline-flex; align-items: center; gap: 6px; font-size: .875rem; color: var(--muted-on-light); white-space: nowrap; }
.rp-nums svg { width: 14px; height: 14px; color: var(--gold-deep); }
.rp-nums strong { color: var(--navy); font-weight: 700; font-size: 1rem; }
.rp-track { display: block; position: relative; height: 12px; border-radius: 999px; background: rgba(11, 30, 59, .07); overflow: hidden; }
.rp-rev {
  position: absolute; left: 0; top: 0; bottom: 0; width: var(--w); min-width: 14px; border-radius: 999px; overflow: hidden;
  background: linear-gradient(90deg, var(--gold-deep), var(--gold));
  transform-origin: left; transform: scaleX(0); transition: transform 1.2s var(--ease) .3s;
}
.rp-spend { position: absolute; left: 0; top: 0; bottom: 0; width: var(--s); min-width: 4px; background: var(--navy); }
.rp-list li:nth-child(2) .rp-rev { transition-delay: .4s; }
.rp-list li:nth-child(3) .rp-rev { transition-delay: .5s; }
.rp-list li:nth-child(4) .rp-rev { transition-delay: .6s; }
.rp-list li:nth-child(5) .rp-rev { transition-delay: .7s; }
.results-panel.is-visible .rp-rev, html:not(.js) .rp-rev { transform: scaleX(1); }
.rp-note { margin: auto 0 0; padding-top: 22px; font-size: .8125rem; color: var(--muted-on-light); }

@media (min-width: 480px) {
  .results-card { padding: 34px 30px 28px; }
  .results-panel { padding: 30px 28px 24px; }
}
@media (min-width: 1024px) {
  .results-grid { grid-template-columns: .95fr 1.05fr; gap: 24px; }
  .results-card { padding: 40px 38px 32px; }
  .results-panel { padding: 36px 34px 28px; }
}
@media (prefers-reduced-motion: reduce) {
  .rp-rev { transform: scaleX(1); }
}

/* Results panel — spend vs revenue columns + goal split */
.rp-chart {
  display: grid; grid-template-columns: 1fr auto 1fr; align-items: end; gap: 12px;
  height: 230px; padding: 0 6px 0; margin-bottom: 24px;
  border-bottom: 2px solid var(--line-on-light);
}
.rp-col { display: flex; flex-direction: column; align-items: center; justify-content: flex-end; height: 100%; }
.rp-col-val { margin-bottom: 8px; font-size: 1.125rem; font-weight: 700; color: var(--navy); white-space: nowrap; }
.rp-col-val-gold { color: var(--gold-deep); }
.rp-col-bar {
  display: block; width: min(110px, 80%); height: calc(var(--h) * .72); min-height: 5px;
  border-radius: 10px 10px 0 0;
  transform-origin: bottom; transform: scaleY(0); transition: transform 1.3s var(--ease) .3s;
}
.rp-col-spend { background: var(--navy); }
.rp-col-rev { background: linear-gradient(0deg, var(--gold-deep), var(--gold)); box-shadow: 0 -6px 24px rgba(244, 196, 48, .35); }
.rp-col-label { order: 3; padding: 8px 0 10px; font-size: .75rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--muted-on-light); }
.rp-col-gap { align-self: center; }
.results-panel.is-visible .rp-col-bar, html:not(.js) .rp-col-bar { transform: scaleY(1); }

.breakdown-label { margin: 0 0 12px; font-size: .75rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--gold-deep); }
.rp-goals { display: grid; gap: 10px; }
.rp-goals li {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 6px 14px;
  padding: 12px 14px; border-radius: var(--radius-sm);
  background: var(--offwhite); border: 1px solid var(--line-on-light);
}
.rp-goal-name { font-size: .9375rem; font-weight: 600; line-height: 1.3; }
.rp-goal-name small { display: block; font-size: .75rem; font-weight: 500; color: var(--muted-on-light); }
@media (prefers-reduced-motion: reduce) { .rp-col-bar { transform: scaleY(1); } }
.rp-col-gap .rc-pill svg { transform: none; }
