/* ==========================================================================
   solar-battery — Adelaide LP
   Green palette · rounded card sections · Bloom/SolarTech inspired
   Vanilla CSS. No preprocessor.
   ========================================================================== */

/* ---------- Design tokens ---------- */
:root {
  /* Green palette */
  --brand-50:  #f0f9f2;
  --brand-100: #dcf1e0;
  --brand-200: #b8e3c1;
  --brand-300: #8bcf9a;
  --brand-400: #55b56b;
  --brand-500: #22a34a;   /* primary */
  --brand-600: #17843a;
  --brand-700: #12652d;
  --brand-800: #0f4b23;
  --brand-900: #0a2e17;   /* deepest */

  /* Neutrals */
  --ink-900: #0e1a13;
  --ink-800: #1b2b21;
  --ink-700: #364a3d;
  --ink-500: #61735f;
  --ink-400: #8a9b8b;
  --ink-300: #b7c4b4;
  --ink-200: #dbe3d6;
  --ink-100: #eef2ea;
  --ink-50:  #f6f8f3;
  --white:   #ffffff;

  /* Accents */
  --accent-cream: #fff8e1;
  --accent-warm:  #ffd77a;

  /* PMS orange — CTA colour */
  --cta-500: #F79221;
  --cta-600: #E27A0F;
  --cta-700: #C56408;

  /* Layout */
  --container: 1200px;
  --container-narrow: 900px;

  /* Radii */
  --r-xs: 8px;
  --r-sm: 14px;
  --r-md: 20px;
  --r-lg: 28px;
  --r-xl: 36px;
  --r-2xl: 48px;
  --r-round: 999px;

  /* Shadows */
  --sh-1: 0 1px 2px rgba(15,42,26,.06), 0 1px 1px rgba(15,42,26,.04);
  --sh-2: 0 6px 16px -6px rgba(15,42,26,.12), 0 3px 6px -2px rgba(15,42,26,.06);
  --sh-3: 0 20px 40px -12px rgba(15,42,26,.18), 0 10px 20px -8px rgba(15,42,26,.10);
  --sh-4: 0 40px 80px -20px rgba(15,42,26,.24), 0 20px 40px -12px rgba(15,42,26,.12);

  /* Motion */
  --ease-out: cubic-bezier(.16,1,.3,1);
  --ease-spring: cubic-bezier(.34,1.56,.64,1);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
html, body { margin: 0; padding: 0; }
body {
  font-family: 'Manrope', system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  color: var(--ink-900);
  background: var(--ink-50);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  min-height: 100vh;
  overflow-x: hidden;
}
img, svg, video { display: block; max-width: 100%; }
button { font: inherit; color: inherit; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4 { font-family: 'Manrope', sans-serif; margin: 0; line-height: 1.15; letter-spacing: -0.02em; color: var(--ink-900); }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }

/* Utility */
.container { max-width: var(--container); margin: 0 auto; padding: 0 24px; }
em { font-style: italic; font-family: 'Fraunces', serif; font-weight: 500; }

/* Lenis smooth-scroll compat */
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-smooth [data-lenis-prevent] { overscroll-behavior: contain; }

/* ==========================================================================
   BUTTONS
   ========================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 20px;
  border: 0;
  border-radius: var(--r-round);
  font-weight: 600;
  font-size: 15px;
  cursor: pointer;
  text-decoration: none;
  transition: transform .18s var(--ease-out), box-shadow .18s var(--ease-out), background .18s var(--ease-out);
  white-space: nowrap;
}
.btn svg { width: 18px; height: 18px; }
.btn-primary {
  background: var(--cta-500);
  color: var(--white);
  box-shadow: 0 8px 20px -6px rgba(247,146,33,.55), inset 0 -2px 0 rgba(0,0,0,.10);
}
.btn-primary:hover { background: var(--cta-600); transform: translateY(-1px); box-shadow: 0 12px 26px -6px rgba(247,146,33,.6), inset 0 -2px 0 rgba(0,0,0,.10); }
.btn-primary:active { transform: translateY(0); }
.btn-ghost {
  background: transparent;
  color: var(--ink-900);
  border: 1.5px solid var(--ink-200);
}
.btn-ghost:hover { background: var(--white); border-color: var(--ink-300); }
.btn-lg { padding: 14px 24px; font-size: 16px; }
.btn-xl { padding: 18px 32px; font-size: 17px; }
.btn-xl svg { width: 20px; height: 20px; }
.btn-block { width: 100%; }

/* ==========================================================================
   FLOATING PILL NAV
   ========================================================================== */
.pill-nav {
  position: fixed;
  top: 16px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 40;
  width: min(calc(100% - 24px), 1100px);
}
.pill-nav-inner {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 8px 8px 8px 20px;
  background: linear-gradient(180deg, rgba(255,255,255,.55) 0%, rgba(255,255,255,.35) 100%);
  backdrop-filter: saturate(180%) blur(30px);
  -webkit-backdrop-filter: saturate(180%) blur(30px);
  border-radius: var(--r-round);
  border: 1px solid rgba(255,255,255,.5);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.9),
    inset 0 -1px 0 rgba(255,255,255,.25),
    0 1px 2px rgba(15,42,26,.08),
    0 12px 28px -12px rgba(15,42,26,.18);
}
.pill-nav-inner::before {
  content: '';
  position: absolute;
  inset: 1px;
  border-radius: inherit;
  background: linear-gradient(180deg, rgba(255,255,255,.4), transparent 50%);
  pointer-events: none;
  mix-blend-mode: overlay;
}
.pill-nav-brand { display: inline-flex; align-items: center; }
.pill-nav-logo { height: 28px; width: auto; }
.pill-nav-links { display: flex; gap: 28px; }
.pill-nav-links a {
  font-size: 14px;
  font-weight: 500;
  color: var(--ink-700);
  transition: color .18s;
}
.pill-nav-links a:hover { color: var(--brand-600); }
.pill-nav-cta { padding: 10px 18px 10px 20px; font-size: 14px; }

@media (max-width: 860px) {
  .pill-nav-links { display: none; }
  .pill-nav-cta { display: none; }
  .pill-nav { top: 12px; }
  .pill-nav-inner { padding: 10px 20px; justify-content: center; }
  .pill-nav-logo { height: 26px; }
}

/* ==========================================================================
   MAIN wrapper — leaves room for pill nav
   ========================================================================== */
.page-main { padding-top: 84px; }
@media (max-width: 860px) {
  .page-main { padding-top: 72px; }
}

/* ==========================================================================
   HERO
   ========================================================================== */
.hero {
  padding: 0 10px;
  margin-bottom: 60px;
}
.hero-card {
  position: relative;
  margin: 0 auto;
  min-height: 640px;
  border-radius: var(--r-2xl);
  overflow: hidden;
  isolation: isolate;
  background: linear-gradient(180deg, #ffe8a3 0%, #c3e6b8 100%);
}
.hero-media {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero-media-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 65%;
}
.hero-overlay {
  position: absolute; inset: 0; z-index: 1;
  background:
    linear-gradient(180deg, rgba(10,20,15,.55) 0%, rgba(10,20,15,.15) 45%, rgba(10,20,15,.35) 100%),
    radial-gradient(ellipse at 50% 30%, rgba(10,20,15,.45) 0%, transparent 65%);
}
.hero-inner {
  position: relative;
  z-index: 2;
  padding: 88px 32px 220px;
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
}
.hero-inner .hero-sub { margin-left: auto; margin-right: auto; }
.hero-inner .hero-ticks { justify-content: center; }
.hero-inner .hero-actions { justify-content: center; }

/* On mobile, hide the Adelaide eyebrow since header logo already establishes context */
@media (max-width: 860px) {
  .hero-inner .hero-eyebrow { display: none; }
}
.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px 6px 10px;
  background: rgba(255,255,255,.9);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,.5);
  border-radius: var(--r-round);
  font-size: 13px;
  font-weight: 600;
  color: var(--brand-800);
  margin-bottom: 24px;
  text-shadow: 0 1px 2px rgba(0,0,0,.05);
}
.hero-eyebrow-dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--brand-500);
  box-shadow: 0 0 0 4px rgba(34,163,74,.2);
  animation: pulse-dot 2s ease-in-out infinite;
}
@keyframes pulse-dot {
  0%, 100% { box-shadow: 0 0 0 4px rgba(34,163,74,.2); }
  50% { box-shadow: 0 0 0 8px rgba(34,163,74,.05); }
}
.hero-title {
  font-size: clamp(38px, 6vw, 72px);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.02;
  color: var(--white);
  margin-bottom: 20px;
  text-shadow: 0 2px 20px rgba(0,0,0,.35);
}
.hero-title-accent {
  color: var(--cta-500);
  text-shadow: 0 2px 20px rgba(0,0,0,.35);
}
.hero-sub {
  font-size: clamp(16px, 1.2vw, 18px);
  color: rgba(255,255,255,.92);
  max-width: 620px;
  margin-bottom: 28px;
  text-shadow: 0 1px 12px rgba(0,0,0,.4);
}
.hero-ticks {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 24px;
  margin-bottom: 32px;
}
.hero-ticks li {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 500;
  color: var(--white);
  text-shadow: 0 1px 8px rgba(0,0,0,.4);
}
.hero-tick {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px; height: 22px;
  border-radius: 50%;
  background: var(--brand-500);
  color: var(--white);
}
.hero-tick svg { width: 12px; height: 12px; }
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}
.hero-actions .btn-ghost {
  background: rgba(255,255,255,.12);
  backdrop-filter: blur(10px);
  color: var(--white);
  border-color: rgba(255,255,255,.35);
}
.hero-actions .btn-ghost:hover { background: rgba(255,255,255,.22); border-color: rgba(255,255,255,.55); }

.hero-stat-card {
  position: absolute;
  bottom: 32px;
  right: 32px;
  z-index: 3;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 22px 14px 14px;
  background: rgba(255,255,255,.92);
  backdrop-filter: blur(16px);
  border: 1px solid rgba(255,255,255,.8);
  border-radius: var(--r-lg);
  box-shadow: var(--sh-3);
}
.hero-stat-avatars {
  display: inline-flex;
}
.hero-stat-avatar {
  width: 34px; height: 34px; border-radius: 50%;
  border: 2px solid var(--white);
  object-fit: cover;
  display: inline-block;
  box-shadow: 0 1px 3px rgba(0,0,0,.12);
}
.hero-stat-avatar + .hero-stat-avatar { margin-left: -10px; }
.hero-stat-label { font-size: 12px; color: var(--ink-500); font-weight: 500; }
.hero-stat-value { font-size: 20px; font-weight: 700; color: var(--ink-900); letter-spacing: -0.02em; line-height: 1; margin-top: 2px; }

@media (max-width: 780px) {
  .hero { padding: 0 8px; margin-bottom: 32px; }
  .hero-card { min-height: 560px; border-radius: var(--r-xl); }
  .hero-inner { padding: 56px 20px 180px; }
  .hero-title { font-size: clamp(30px, 8vw, 42px); }
  .hero-stat-card {
    bottom: 18px;
    left: 16px;
    right: auto;
    transform: none;
    padding: 8px 18px 8px 10px;
    gap: 10px;
    width: max-content;
  }
  .hero-stat-avatar { width: 28px; height: 28px; }
  .hero-stat-avatar + .hero-stat-avatar { margin-left: -8px; }
  .hero-stat-label { font-size: 11px; white-space: nowrap; }
  .hero-stat-value { font-size: 15px; }
}

/* ==========================================================================
   SECTIONS — shared (all titles centered)
   ========================================================================== */
.section {
  padding: 96px 0;
  position: relative;
  text-align: center;
}
.section-eyebrow {
  display: inline-block;
  padding: 4px 12px;
  background: var(--brand-100);
  color: var(--brand-700);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  border-radius: var(--r-round);
  margin-bottom: 16px;
}
.section-eyebrow-light { background: rgba(255,255,255,.15); color: rgba(255,255,255,.9); }
.section-title {
  font-size: clamp(30px, 4.2vw, 52px);
  font-weight: 700;
  letter-spacing: -0.025em;
  line-height: 1.08;
  max-width: 820px;
  margin: 0 auto 20px;
}
.section-title em { color: var(--cta-500); }
.ef-caption em { color: var(--cta-500); }
.title-hl { color: var(--cta-500); font-style: normal; font-family: inherit; }

/* Compact per-section CTA */
.section-cta {
  margin-top: 40px;
  text-align: center;
}
.section-lede {
  font-size: clamp(16px, 1.2vw, 19px);
  color: var(--ink-700);
  max-width: 720px;
  margin: 0 auto 40px;
}
.section-outro {
  font-size: 16px;
  color: var(--ink-700);
  max-width: 800px;
  margin: 32px auto 0;
}

@media (max-width: 780px) {
  .section { padding: 64px 0; }
}

/* ==========================================================================
   SECTION: BEFORE YOU GO SOLAR
   ========================================================================== */
.section-before {
  background: var(--white);
}
.before-grid {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 56px;
  align-items: center;
  margin-top: 32px;
}
.before-copy { text-align: left; }
.before-copy p { margin-bottom: 16px; color: var(--ink-700); font-size: 16px; }
.before-copy p:last-child { margin-bottom: 0; }

.before-visual {
  position: relative;
  border-radius: var(--r-xl);
  overflow: visible;
  aspect-ratio: 5 / 4;
  isolation: isolate;
  margin-bottom: 40px; /* room for the caption pill overflow */
}
.before-visual-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: var(--r-xl);
  display: block;
}
.before-visual-overlay {
  position: absolute; inset: 0;
  border-radius: var(--r-xl);
  background: linear-gradient(180deg, rgba(10,20,15,.25) 0%, rgba(10,20,15,.05) 40%, rgba(10,20,15,.45) 100%);
  pointer-events: none;
  z-index: 1;
}
.energy-flow {
  position: absolute;
  left: 20px; right: 20px; top: 40px; bottom: 60px;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  grid-template-rows: 1fr 1fr;
  align-items: center;
  gap: 22px 10px;
}
/* Layout: two cards per row */
.ef-tile-sun    { grid-column: 1 / 2; grid-row: 1; }
.ef-arrow-1     { grid-column: 2 / 3; grid-row: 1; }
.ef-tile-panels { grid-column: 3 / 4; grid-row: 1; }
.ef-tile-battery{ grid-column: 1 / 2; grid-row: 2; }
.ef-arrow-3     { grid-column: 2 / 3; grid-row: 2; }
.ef-tile-home   { grid-column: 3 / 4; grid-row: 2; }
.ef-arrow-2     { display: none; }
/* Liquid-glass tile — heavier blur, more see-through */
.ef-tile {
  padding: 18px 14px;
  background: linear-gradient(180deg, rgba(255,255,255,.32) 0%, rgba(255,255,255,.14) 100%);
  backdrop-filter: saturate(200%) blur(36px);
  -webkit-backdrop-filter: saturate(200%) blur(36px);
  border-radius: var(--r-lg);
  border: 1px solid rgba(255,255,255,.4);
  text-align: center;
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.65),
    inset 0 -1px 0 rgba(255,255,255,.15),
    0 1px 2px rgba(10,20,15,.12),
    0 20px 40px -16px rgba(10,20,15,.35);
  position: relative;
}
.ef-tile::before {
  content: '';
  position: absolute;
  inset: 1px;
  border-radius: inherit;
  background: linear-gradient(180deg, rgba(255,255,255,.35), transparent 55%);
  pointer-events: none;
  mix-blend-mode: overlay;
}
.ef-icon {
  width: 48px; height: 48px;
  margin: 0 auto 10px;
  border-radius: 50%;
  background: var(--brand-100);
  color: var(--brand-700);
  display: inline-flex; align-items: center; justify-content: center;
  position: relative;
  z-index: 1;
}
.ef-icon svg { width: 26px; height: 26px; }
.ef-tile-sun .ef-icon { background: #fff3c2; color: #b48800; }
.ef-tile-panels .ef-icon { background: #d9e9ff; color: #1f5aa8; }
.ef-tile-battery .ef-icon { background: var(--brand-100); color: var(--brand-700); }
.ef-tile-home .ef-icon { background: #ffe5d9; color: #b8461f; }
.ef-label {
  font-size: 15px;
  font-weight: 700;
  color: var(--white);
  position: relative;
  z-index: 1;
  text-shadow: 0 1px 8px rgba(10,20,15,.6);
}
.ef-value {
  font-size: 12px;
  color: rgba(255,255,255,.9);
  margin-top: 2px;
  position: relative;
  z-index: 1;
  text-shadow: 0 1px 6px rgba(10,20,15,.5);
}
.ef-arrow {
  width: 32px; height: 22px;
  color: var(--white);
  filter: drop-shadow(0 1px 3px rgba(0,0,0,.4));
  position: relative;
  z-index: 2;
}
/* Floating caption pill — straddles the bottom edge of the image */
.ef-caption {
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translate(-50%, 50%);
  z-index: 3;
  text-align: center;
  font-size: 13px;
  color: var(--ink-900);
  padding: 12px 22px;
  background: var(--white);
  border-radius: var(--r-round);
  box-shadow: 0 8px 24px -6px rgba(10,20,15,.25), 0 1px 2px rgba(10,20,15,.08);
  border: 1px solid var(--brand-100);
  white-space: nowrap;
  max-width: calc(100% - 24px);
  overflow: hidden;
  text-overflow: ellipsis;
}
.ef-caption em { color: var(--cta-500); }

@media (max-width: 900px) {
  .before-grid { grid-template-columns: 1fr; gap: 32px; }
  .before-visual { aspect-ratio: 4 / 5; }
  .energy-flow { left: 14px; right: 14px; top: 14px; gap: 12px 8px; }
  .ef-tile { padding: 14px 10px; }
  .ef-icon { width: 40px; height: 40px; margin-bottom: 8px; }
  .ef-icon svg { width: 22px; height: 22px; }
  .ef-label { font-size: 13px; }
  .ef-value { font-size: 11px; }
  .ef-arrow { width: 22px; height: 18px; }
  .ef-caption { font-size: 12px; padding: 10px 16px; white-space: normal; text-align: center; }
}

/* ==========================================================================
   SECTION: THE SMARTER WAY (compare cards)
   ========================================================================== */
.section-smarter {
  background: var(--white);
  padding-top: 32px;
}
.pkg-compare {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 24px;
  align-items: center;
  margin-top: 40px;
}
.pkg-card {
  padding: 24px;
  background: var(--brand-50);
  border: 1px solid var(--brand-100);
  border-radius: var(--r-xl);
  transition: transform .3s var(--ease-out), box-shadow .3s var(--ease-out);
}
.pkg-card:hover { transform: translateY(-4px); box-shadow: var(--sh-3); }
.pkg-tag {
  display: inline-block;
  padding: 4px 12px;
  background: var(--brand-700);
  color: var(--white);
  border-radius: var(--r-round);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.04em;
  margin-bottom: 16px;
}
.pkg-card-b .pkg-tag { background: var(--brand-500); }
.pkg-hero {
  position: relative;
  border-radius: var(--r-md);
  overflow: hidden;
  margin-bottom: 20px;
  background: var(--white);
  padding: 16px;
}
.pkg-hero-badge {
  position: absolute;
  top: 12px; right: 12px;
  padding: 4px 10px;
  background: rgba(255,255,255,.9);
  color: var(--brand-700);
  font-size: 11px;
  font-weight: 700;
  border-radius: var(--r-round);
  z-index: 2;
}
.pkg-hero-illus svg { width: 100%; height: auto; display: block; }
.pkg-list { display: flex; flex-direction: column; gap: 10px; }
.pkg-list li {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 14px;
  background: var(--white);
  border-radius: var(--r-sm);
  border: 1px solid var(--ink-100);
}
.pkg-list span { font-size: 13px; color: var(--ink-500); }
.pkg-list strong { font-size: 14px; color: var(--ink-900); font-weight: 700; }
.pkg-vs {
  width: 52px; height: 52px;
  border-radius: 50%;
  background: var(--ink-900);
  color: var(--white);
  display: flex; align-items: center; justify-content: center;
  font-family: 'Fraunces', serif;
  font-style: italic;
  font-weight: 600;
  font-size: 20px;
  box-shadow: var(--sh-3);
}

@media (max-width: 900px) {
  .pkg-compare { grid-template-columns: 1fr; }
  .pkg-vs { justify-self: center; }
}

/* ==========================================================================
   SECTION: HOW IT WORKS
   ========================================================================== */
.section-how {
  background: linear-gradient(180deg, var(--white) 0%, var(--brand-50) 100%);
  padding-top: 96px;
}
.how-steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 48px;
}
.how-step {
  position: relative;
  padding: 32px 28px;
  background: var(--white);
  border-radius: var(--r-xl);
  border: 1px solid var(--ink-100);
  transition: transform .3s var(--ease-out), box-shadow .3s var(--ease-out);
}
.how-step:hover { transform: translateY(-4px); box-shadow: var(--sh-3); border-color: var(--brand-200); }
.how-step-num {
  font-family: 'Fraunces', serif;
  font-weight: 500;
  font-size: 56px;
  color: var(--brand-200);
  line-height: 1;
  letter-spacing: -0.02em;
  margin-bottom: 12px;
}
.how-step-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px; height: 48px;
  border-radius: var(--r-md);
  background: var(--brand-100);
  color: var(--brand-700);
  margin-bottom: 16px;
}
.how-step-icon svg { width: 24px; height: 24px; }
.how-step-title {
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 10px;
  letter-spacing: -0.02em;
}
.how-step-body {
  color: var(--ink-700);
  font-size: 15px;
  margin-bottom: 18px;
}
.how-step-note {
  display: inline-block;
  padding: 6px 12px;
  background: var(--brand-50);
  color: var(--brand-700);
  font-size: 12px;
  font-weight: 600;
  border-radius: var(--r-round);
}

@media (max-width: 900px) {
  .how-steps { grid-template-columns: 1fr; }
}

/* ==========================================================================
   SECTION: SAVINGS (Section 06) — dark card w/ chart
   ========================================================================== */
.section-savings {
  background: var(--brand-50);
  padding: 64px 0;
}
.savings-card {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
  padding: 56px;
  background: linear-gradient(135deg, var(--brand-900) 0%, var(--brand-800) 100%);
  border-radius: var(--r-2xl);
  color: var(--white);
  position: relative;
  overflow: hidden;
}
.savings-card::before {
  content: '';
  position: absolute;
  top: -60%; right: -20%;
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(85,181,107,.3), transparent 60%);
  pointer-events: none;
}
.savings-copy { position: relative; z-index: 1; text-align: center; }
.savings-body { margin-left: auto; margin-right: auto; }
.savings-title {
  font-size: clamp(30px, 4vw, 46px);
  font-weight: 700;
  letter-spacing: -0.025em;
  margin-bottom: 20px;
  color: var(--white);
}
.savings-body {
  color: rgba(255,255,255,.8);
  font-size: 15px;
  margin-bottom: 14px;
  max-width: 460px;
}
.savings-copy .btn-primary {
  margin-top: 20px;
  background: var(--cta-500);
  color: var(--white);
  box-shadow: 0 10px 24px -6px rgba(247,146,33,.55);
}
.savings-copy .btn-primary:hover { background: var(--cta-600); }

.savings-visual {
  position: relative;
  z-index: 1;
  padding: 24px;
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: var(--r-xl);
  backdrop-filter: blur(10px);
}
.savings-viz-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
  font-size: 12px;
  color: rgba(255,255,255,.7);
}
.savings-viz-legend { display: inline-flex; gap: 14px; align-items: center; }
.savings-viz-legend .dot { display: inline-block; width: 10px; height: 10px; border-radius: 2px; margin-right: 4px; vertical-align: middle; }
.dot-before { background: rgba(255,255,255,.35); }
.dot-after { background: var(--brand-400); }

.savings-viz-bars {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  height: 220px;
  align-items: end;
  padding: 0 8px;
  border-bottom: 1px solid rgba(255,255,255,.1);
  margin-bottom: 12px;
}
.savings-viz-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px;
  align-items: end;
  height: 100%;
  position: relative;
}
.savings-viz-year {
  position: absolute;
  bottom: -24px;
  left: 0;
  right: 0;
  text-align: center;
  font-size: 11px;
  color: rgba(255,255,255,.6);
  font-weight: 600;
}
.bar {
  height: var(--h, 0%);
  border-radius: 6px 6px 0 0;
  position: relative;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding-top: 4px;
  transition: height 1.2s var(--ease-out);
}
.bar span {
  font-size: 10px;
  font-weight: 700;
  color: var(--white);
  opacity: .9;
}
.bar-before { background: rgba(255,255,255,.2); }
.bar-after { background: linear-gradient(180deg, var(--brand-400), var(--brand-500)); }
.savings-viz-foot { margin-top: 32px; }
.savings-viz-note {
  font-size: 11px;
  color: rgba(255,255,255,.5);
  text-align: center;
}

@media (max-width: 900px) {
  .savings-card { grid-template-columns: 1fr; padding: 36px 28px; gap: 32px; border-radius: var(--r-xl); }
}

/* ==========================================================================
   SECTION: WHY CHOOSE US
   ========================================================================== */
.section-why {
  background: var(--white);
  padding-top: 96px;
}
.why-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-top: 40px;
}
.why-card {
  padding: 28px 24px;
  background: var(--brand-50);
  border: 1px solid var(--brand-100);
  border-radius: var(--r-xl);
  transition: transform .3s var(--ease-out), background .3s;
}
.why-card:hover { transform: translateY(-4px); background: var(--white); border-color: var(--brand-300); box-shadow: var(--sh-3); }
.why-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 52px; height: 52px;
  background: var(--brand-500);
  color: var(--white);
  border-radius: 14px;
  margin-bottom: 18px;
}
.why-icon svg { width: 26px; height: 26px; }
.why-card-title {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 8px;
  letter-spacing: -0.015em;
}
.why-card-body {
  color: var(--ink-700);
  font-size: 14.5px;
}

@media (max-width: 1000px) {
  .why-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px) {
  .why-grid { grid-template-columns: 1fr; }
}

/* ==========================================================================
   SECTION: REVIEWS
   ========================================================================== */
.section-reviews {
  background: var(--ink-50);
  padding-top: 96px;
}
.reviews-head {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  margin-bottom: 40px;
  text-align: center;
}
.reviews-rating { text-align: center; }
.reviews-stars { color: #ffb800; font-size: 20px; letter-spacing: 2px; }
.reviews-rating-meta { font-size: 13px; color: var(--ink-500); margin-top: 4px; }
.reviews-rating-meta strong { color: var(--ink-900); font-size: 16px; font-weight: 700; margin-right: 4px; }

/* Sliding auto-marquee (both desktop + mobile) */
.reviews-marquee {
  overflow: hidden;
  -webkit-mask-image: linear-gradient(to right, transparent 0%, #000 5%, #000 95%, transparent 100%);
          mask-image: linear-gradient(to right, transparent 0%, #000 5%, #000 95%, transparent 100%);
  padding: 8px 0 12px;
}
.reviews-track {
  display: flex;
  gap: 20px;
  width: max-content;
  animation: reviewsScroll 80s linear infinite;
  will-change: transform;
}
.reviews-marquee:hover .reviews-track { animation-play-state: paused; }
@keyframes reviewsScroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}
@media (prefers-reduced-motion: reduce) {
  .reviews-track { animation: none; }
}

.review-card {
  margin: 0;
  padding: 24px;
  background: var(--white);
  border-radius: var(--r-xl);
  border: 1px solid var(--ink-100);
  display: flex;
  flex-direction: column;
  width: 360px;
  flex-shrink: 0;
  transition: transform .3s var(--ease-out), box-shadow .3s;
}
.review-card:hover { transform: translateY(-4px); box-shadow: var(--sh-3); }
@media (max-width: 480px) {
  .review-card { width: 300px; padding: 20px; }
}
.review-stars { color: #ffb800; font-size: 14px; letter-spacing: 2px; margin-bottom: 12px; }
.review-card p {
  color: var(--ink-800);
  font-size: 14.5px;
  line-height: 1.6;
  margin-bottom: 20px;
  flex: 1;
}
.review-card footer {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-top: 16px;
  border-top: 1px solid var(--ink-100);
}
.review-avatar {
  width: 44px; height: 44px;
  border-radius: 50%;
  object-fit: cover;
  display: inline-block;
  border: 2px solid var(--white);
  box-shadow: 0 1px 3px rgba(0,0,0,.08);
}
.review-card footer strong { display: block; font-size: 14px; color: var(--ink-900); text-align: left; }
.review-card footer span { display: block; font-size: 12px; color: var(--ink-500); text-align: left; }


/* ==========================================================================
   SECTION: FAQ
   ========================================================================== */
.section-faq {
  background: var(--white);
  padding-top: 96px;
}
.faq-container { max-width: var(--container-narrow); }
.faq-head { text-align: center; margin-bottom: 32px; }
.faq-head .section-eyebrow { margin-bottom: 12px; }
.faq-head .section-title { margin: 0 auto; }

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.faq-item {
  background: var(--brand-50);
  border: 1px solid var(--brand-100);
  border-radius: var(--r-lg);
  overflow: hidden;
  transition: background .2s;
}
.faq-item[open] { background: var(--white); border-color: var(--brand-200); box-shadow: var(--sh-2); }
.faq-item summary {
  padding: 20px 24px;
  cursor: pointer;
  font-weight: 600;
  font-size: 16px;
  color: var(--ink-900);
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  transition: color .2s;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item[open] summary { color: var(--brand-700); }
.faq-caret {
  display: inline-flex;
  width: 32px; height: 32px;
  border-radius: 50%;
  background: var(--white);
  color: var(--brand-700);
  align-items: center;
  justify-content: center;
  transition: transform .3s var(--ease-out);
  flex-shrink: 0;
}
.faq-caret svg { width: 18px; height: 18px; }
.faq-item[open] .faq-caret { transform: rotate(180deg); background: var(--brand-500); color: var(--white); }
.faq-body {
  padding: 0 24px 20px;
  color: var(--ink-700);
  font-size: 15px;
  line-height: 1.6;
  text-align: left;
}
.faq-item summary { text-align: left; }

/* ==========================================================================
   FINAL CTA
   ========================================================================== */
.section-final-cta {
  background: var(--white);
  padding: 64px 0 96px;
}
.final-cta-card {
  position: relative;
  padding: 72px 48px;
  background:
    linear-gradient(180deg, rgba(10,46,23,.55) 0%, rgba(10,46,23,.15) 45%, rgba(10,46,23,.55) 100%),
    url('final-cta-bg.webp') center/cover no-repeat;
  border-radius: var(--r-2xl);
  color: var(--white);
  text-align: center;
  overflow: hidden;
  isolation: isolate;
}
.final-cta-glow {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(255,180,80,.28), transparent 60%);
  pointer-events: none;
  z-index: -1;
}
.final-cta-title {
  font-size: clamp(32px, 4.5vw, 54px);
  font-weight: 700;
  letter-spacing: -0.025em;
  margin-bottom: 16px;
  color: var(--white);
  text-shadow: 0 2px 20px rgba(0,0,0,.5);
}
.final-cta-body {
  font-size: 17px;
  color: rgba(255,255,255,.92);
  margin-bottom: 32px;
  max-width: 560px;
  margin-left: auto;
  margin-right: auto;
  text-shadow: 0 1px 12px rgba(0,0,0,.5);
}
.final-cta-btn {
  background: var(--cta-500);
  color: var(--white);
  box-shadow: 0 14px 34px -8px rgba(247,146,33,.6);
}
.final-cta-btn:hover { background: var(--cta-600); color: var(--white); }
.final-cta-strip {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px 32px;
  margin-top: 32px;
  padding-top: 28px;
  border-top: 1px solid rgba(255,255,255,.15);
}
.final-cta-strip li {
  font-size: 13px;
  color: rgba(255,255,255,.75);
  font-weight: 500;
  position: relative;
}
.final-cta-strip li::before {
  content: '✓';
  color: var(--brand-300);
  font-weight: 700;
  margin-right: 6px;
}

@media (max-width: 720px) {
  .final-cta-card { padding: 48px 24px; border-radius: var(--r-xl); }
}

/* ==========================================================================
   FOOTER
   ========================================================================== */
.site-footer {
  background: var(--ink-900);
  color: rgba(255,255,255,.7);
  padding: 64px 0 32px;
}
.site-footer-inner {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 48px;
  margin-bottom: 40px;
}
.site-footer-logo { height: 32px; width: auto; margin-bottom: 12px; filter: brightness(0) invert(1); }
.site-footer-brand p { font-size: 14px; max-width: 380px; }
.site-footer-links {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
}
.site-footer-links h4 {
  color: var(--white);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-bottom: 12px;
}
.site-footer-links a {
  display: block;
  font-size: 14px;
  color: rgba(255,255,255,.65);
  padding: 4px 0;
  transition: color .18s;
}
.site-footer-links a:hover { color: var(--white); }
.site-footer-copy {
  padding-top: 24px;
  border-top: 1px solid rgba(255,255,255,.1);
  font-size: 13px;
  color: rgba(255,255,255,.5);
}

@media (max-width: 720px) {
  .site-footer-inner { grid-template-columns: 1fr; gap: 32px; }
}

/* ==========================================================================
   FLOATING MOBILE CTA
   ========================================================================== */
.floating-cta {
  position: fixed;
  bottom: 16px;
  left: 16px;
  right: 16px;
  z-index: 35;
  display: none;
}
.floating-cta .btn {
  width: 100%;
  padding: 16px;
  font-size: 16px;
  box-shadow: 0 12px 30px -6px rgba(0,0,0,.3);
}
@media (max-width: 860px) {
  .floating-cta { display: block; }
  .page-main { padding-bottom: 80px; }
}

/* ==========================================================================
   FORM POPUP — bKash-style bottom sheet on mobile, centred card on desktop
   ========================================================================== */
.popup-overlay {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 100;
  background: rgba(14,26,19,.55);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  align-items: flex-end;
  justify-content: center;
  animation: overlay-fade .28s var(--ease-out);
}
.popup-overlay.active { display: flex; }
@keyframes overlay-fade { from { opacity: 0; } to { opacity: 1; } }

.popup-content {
  width: 100%;
  max-width: 100vw;
  height: 100vh;
  max-height: 100vh;
  background: #fffdf7; /* warm cream */
  border-radius: 0;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  box-shadow: 0 -20px 60px rgba(0,0,0,.25);
  animation: sheet-up .6s cubic-bezier(.22,1,.36,1);
  position: relative;
}
@keyframes sheet-up {
  from { transform: translateY(100%); }
  to { transform: translateY(0); }
}

/* Desktop = full-window overlay */
@media (min-width: 720px) {
  .popup-overlay { align-items: stretch; padding: 0; }
  .popup-content {
    height: 100vh;
    max-height: 100vh;
    border-radius: 0;
    animation: fade-in .42s var(--ease-out);
    box-shadow: none;
  }
  @keyframes fade-in {
    from { opacity: 0; transform: scale(1.015); }
    to { opacity: 1; transform: scale(1); }
  }
  /* Cap inner form width so it doesn't stretch to full window */
  .popup-header,
  .popup-body,
  .popup-footer,
  .form-thankyou {
    max-width: 720px;
    margin-left: auto;
    margin-right: auto;
    width: 100%;
  }
  .popup-header { padding: 24px 40px 20px; }
  .popup-body { padding: 32px 40px 40px; }
  /* Close button pinned to window's top-right corner on desktop */
  .popup-close {
    position: fixed;
    top: 20px;
    right: 24px;
    width: 44px;
    height: 44px;
    background: var(--white);
    box-shadow: var(--sh-2);
  }
}

/* Sheet drag-handle removed — full-viewport sheet has no peek area */

/* Header */
.popup-header {
  position: relative;
  padding: 20px 20px 16px;
  flex-shrink: 0;
}
.popup-close {
  position: absolute;
  top: 20px; right: 16px;
  width: 36px; height: 36px;
  border-radius: 50%;
  background: var(--ink-100);
  color: var(--ink-700);
  border: 0;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background .18s;
  z-index: 3;
}
.popup-close:hover { background: var(--ink-200); }
.popup-close svg { width: 18px; height: 18px; }

.popup-logo {
  display: block;
  height: 26px;
  width: auto;
  margin: 0 auto 14px;
}
.popup-header-center { padding-right: 48px; text-align: center; }
.popup-title {
  font-size: 20px;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin: 0 0 12px;
  color: var(--ink-900);
}

/* Full-width thin progress line beneath the header — no numeric label */
.progress-bar {
  height: 3px;
  background: var(--ink-100);
  overflow: hidden;
  flex-shrink: 0;
}
.progress-bar-fill {
  height: 100%;
  background: linear-gradient(90deg, #ffd08a, var(--cta-500));
  width: calc((var(--step-current, 1) / 6) * 100%);
  transition: width .6s var(--ease-spring);
}

/* Body */
.popup-body {
  flex: 1;
  overflow-y: auto;
  padding: 24px 20px 24px;
  -webkit-overflow-scrolling: touch;
}
.form-step {
  display: none;
  animation: step-in .35s var(--ease-spring);
}
.form-step.active { display: block; }
@keyframes step-in {
  from { opacity: 0; transform: translateX(24px); }
  to { opacity: 1; transform: translateX(0); }
}

/* Step visual (small line-icon in a soft orange halo) */
.step-visual {
  display: flex;
  justify-content: center;
  margin: 0 0 20px;
}
.step-icon-halo {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 56px; height: 56px;
  border-radius: 50%;
  background: radial-gradient(circle at 30% 30%, rgba(247,146,33,.18), rgba(247,146,33,.08));
  color: var(--cta-600);
  box-shadow: inset 0 0 0 1px rgba(247,146,33,.22);
}
.step-icon-halo svg { width: 26px; height: 26px; }

/* Full-color image variant (per-step illustration) */
.step-visual-image .step-image {
  width: 96px;
  height: 96px;
  object-fit: contain;
  margin: 0 auto;
  display: block;
}

.step-headline {
  font-size: 22px;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--ink-900);
  margin: 0 auto 8px;
  text-align: center;
  max-width: 520px;
}
.step-optional {
  font-size: 14px;
  font-weight: 500;
  color: var(--ink-500);
}
.step-sub {
  color: var(--ink-700);
  font-size: 14.5px;
  margin: 0 auto 24px;
  text-align: center;
  max-width: 520px;
}

/* Fields */
.field-group { margin-bottom: 18px; }
.field-label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: var(--ink-700);
  margin-bottom: 8px;
}
.field-input {
  width: 100%;
  padding: 14px 16px;
  border: 1.5px solid var(--ink-200);
  border-radius: var(--r-md);
  background: var(--white);
  font: inherit;
  font-size: 16px;
  color: var(--ink-900);
  transition: border-color .18s, box-shadow .18s;
  -webkit-appearance: none;
  appearance: none;
}
.field-input::placeholder { color: var(--ink-400); }
.field-input:focus {
  outline: none;
  border-color: var(--cta-500);
  box-shadow: 0 0 0 4px rgba(247,146,33,.15);
}
.field-error {
  display: none;
  color: #d93025;
  font-size: 13px;
  margin-top: 6px;
}
.field-group.invalid .field-input {
  border-color: #d93025;
  box-shadow: 0 0 0 4px rgba(217,48,37,.08);
}
.field-group.invalid .field-error { display: block; }

.field-row-two {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
@media (max-width: 480px) {
  .field-row-two { grid-template-columns: 1fr; gap: 0; }
}

/* Radio cards */
.radio-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.radio-card {
  position: relative;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 18px 20px;
  min-height: 60px;
  background: var(--white);
  border: 1.5px solid var(--ink-200);
  border-radius: var(--r-md);
  cursor: pointer;
  font-weight: 600;
  color: var(--ink-800);
  transition: transform .18s var(--ease-out), border-color .18s, background .18s, box-shadow .18s;
}
.radio-card:hover { border-color: #ffcf94; background: #fff8ee; }
.radio-card:active { transform: scale(.985); }
.radio-card input[type="radio"] {
  appearance: none;
  -webkit-appearance: none;
  width: 22px; height: 22px;
  border-radius: 50%;
  border: 2px solid var(--ink-300);
  cursor: pointer;
  position: relative;
  flex-shrink: 0;
  transition: border-color .18s;
  margin: 0;
}
.radio-card input[type="radio"]:checked { border-color: var(--cta-500); }
.radio-card input[type="radio"]:checked::after {
  content: '';
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 12px; height: 12px;
  background: var(--cta-500);
  border-radius: 50%;
}
.radio-card:has(input:checked) {
  border-color: var(--cta-500);
  background: #fff5e3;
  box-shadow: 0 0 0 4px rgba(247,146,33,.14);
}
.radio-card-text { display: flex; flex-direction: column; }
.radio-card-title { font-size: 15px; font-weight: 600; color: var(--ink-900); }
.radio-card-desc { font-size: 12.5px; font-weight: 400; color: var(--ink-500); margin-top: 2px; }

/* File options (step 5) */
.file-options {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-bottom: 12px;
}
.file-option {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 24px 16px;
  background: var(--white);
  border: 1.5px dashed var(--ink-300);
  border-radius: var(--r-md);
  cursor: pointer;
  transition: all .2s;
}
.file-option:hover { border-color: var(--cta-500); background: #fff5e3; }
.file-option input[type="file"] { position: absolute; opacity: 0; pointer-events: none; }
.file-option-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px; height: 44px;
  border-radius: 50%;
  background: #fff2dc;
  color: var(--cta-700);
  margin-bottom: 8px;
}
.file-option-title { font-weight: 700; font-size: 14px; color: var(--ink-900); }
.file-option-desc { font-size: 12px; color: var(--ink-500); margin-top: 2px; }
.file-secure-hint { font-size: 12px; color: var(--ink-500); text-align: center; margin: 0 0 12px; }
.file-preview {
  display: none;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 14px;
  background: #fff5e3;
  border: 1px solid #ffcf94;
  border-radius: var(--r-sm);
  margin-bottom: 16px;
}
.file-preview.has-file { display: flex; }
.file-name { font-size: 13px; color: var(--ink-900); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.file-clear { background: transparent; border: 0; color: var(--cta-700); font-weight: 600; font-size: 13px; cursor: pointer; }

/* Consent */
.consent-row {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 12px 14px;
  background: #fff5e3;
  border-radius: var(--r-sm);
  margin: 18px 0;
}
.consent-row input[type="checkbox"] {
  appearance: none;
  -webkit-appearance: none;
  width: 18px; height: 18px;
  border-radius: 5px;
  border: 1.5px solid var(--ink-300);
  cursor: pointer;
  position: relative;
  flex-shrink: 0;
  margin-top: 2px;
  transition: all .18s;
}
.consent-row input[type="checkbox"]:checked {
  background: var(--cta-500);
  border-color: var(--cta-500);
}
.consent-row input[type="checkbox"]:checked::after {
  content: '';
  position: absolute;
  top: 45%; left: 50%;
  width: 4px; height: 8px;
  border: solid var(--white);
  border-width: 0 2px 2px 0;
  transform: translate(-50%, -55%) rotate(45deg);
}
.consent-row label {
  font-size: 12.5px;
  color: var(--ink-700);
  line-height: 1.45;
}

/* Nav */
.form-nav { margin-top: 24px; padding-top: 8px; }
.form-nav-split {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 10px;
}
/* Text-link "skip" style (under Continue button) */
.skip-link {
  display: block;
  margin: 14px auto 0;
  padding: 8px 12px;
  background: transparent;
  border: 0;
  color: var(--ink-500);
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-color: var(--ink-300);
  transition: color .18s;
}
.skip-link:hover { color: var(--cta-600); text-decoration-color: var(--cta-500); }

/* Popup footer */
.popup-footer {
  padding: 12px 20px calc(20px + env(safe-area-inset-bottom));
  text-align: center;
  font-size: 11.5px;
  color: var(--ink-500);
  flex-shrink: 0;
  border-top: 1px solid rgba(247,146,33,.15);
  background: #fff5e3;
}

/* ==========================================================================
   THANK YOU (inside popup)
   ========================================================================== */
.form-thankyou { display: none; padding: 24px 20px 32px; }
.form-thankyou[data-thank-you="true"].active { display: block; }

/* When the thank-you is showing:
   - Hide the (now empty) form so it doesn't reserve flex:1 space
   - Let the whole popup-content scroll instead of being clipped by
     overflow:hidden. Simpler and more reliable than making the
     thank-you itself the scroll container. */
.popup-content:has(.form-thankyou[data-thank-you="true"].active) {
  overflow-y: auto;
  overscroll-behavior: contain;
  -webkit-overflow-scrolling: touch;
}
.popup-content:has(.form-thankyou[data-thank-you="true"].active) .popup-body {
  display: none;
}

.ty-hero {
  text-align: center;
  padding: 16px 0 24px;
  position: relative;
}
.ty-title {
  font-size: 26px;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--cta-700);
  margin: 0 0 6px;
}
.ty-subtitle { color: var(--ink-700); font-size: 14.5px; }
.ty-confetti { position: absolute; inset: 0; pointer-events: none; }

.ty-block {
  padding: 20px;
  background: #fff5e3;
  border: 1px solid #ffdfae;
  border-radius: var(--r-lg);
  margin-bottom: 14px;
}
.ty-eyebrow {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--cta-700);
  margin-bottom: 8px;
}

.ty-callback-head {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 14px;
  align-items: flex-start;
  margin-bottom: 14px;
}
.ty-callback-icon {
  display: inline-flex;
  width: 44px; height: 44px;
  border-radius: 50%;
  background: var(--cta-500);
  color: var(--white);
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.ty-callback-icon svg { width: 22px; height: 22px; }
.ty-countdown {
  display: inline-flex;
  align-items: baseline;
  gap: 6px;
  margin: 4px 0;
}
.ty-cd-unit { display: inline-flex; flex-direction: column; align-items: center; padding: 4px 8px; background: var(--white); border-radius: 8px; min-width: 42px; }
.ty-cd-unit > span { font-size: 20px; color: var(--ink-900); line-height: 1; font-weight: 700; }
.ty-cd-unit > small { font-size: 9px; color: var(--ink-500); font-weight: 500; letter-spacing: .05em; text-transform: uppercase; margin-top: 2px; }
.ty-cd-sep { color: var(--ink-400); font-weight: 700; }
.ty-callback-meta { font-size: 12px; color: var(--ink-500); margin-top: 6px; }
.ty-callback-meta strong { color: var(--ink-900); font-weight: 700; }

.ty-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 10px 16px;
  border-radius: var(--r-round);
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  border: 0;
  transition: all .18s;
}
.ty-btn svg { width: 16px; height: 16px; }
.ty-btn-ghost { background: var(--white); color: var(--cta-700); border: 1px solid #ffcf94; }
.ty-btn-ghost:hover { background: #fff2dc; }
.ty-btn-primary { background: var(--cta-500); color: var(--white); }
.ty-btn-primary:hover { background: var(--cta-600); }

.ty-steps { display: flex; flex-direction: column; gap: 12px; margin-top: 6px; position: relative; }
.ty-steps::before { content: ''; position: absolute; left: 15px; top: 20px; bottom: 20px; width: 2px; background: #ffcf94; }
.ty-step { display: grid; grid-template-columns: auto 1fr; gap: 12px; align-items: flex-start; position: relative; }
.ty-step-marker {
  width: 32px; height: 32px;
  border-radius: 50%;
  background: var(--white);
  border: 2px solid #ffcf94;
  color: var(--cta-700);
  display: inline-flex; align-items: center; justify-content: center;
  z-index: 1;
  flex-shrink: 0;
}
.ty-step-marker svg { width: 16px; height: 16px; }
.ty-step-body strong { display: block; font-size: 14px; color: var(--ink-900); font-weight: 700; }
.ty-step-body span { font-size: 13px; color: var(--ink-700); }

.summary-card-header { margin-bottom: 12px; }
.summary-card-label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--cta-700);
}
.summary-address, .summary-row {
  display: flex; align-items: center; gap: 10px;
  font-size: 14px; color: var(--ink-900);
  padding: 6px 0;
}
.summary-address svg, .summary-row svg { width: 16px; height: 16px; color: var(--cta-600); flex-shrink: 0; }
.summary-divider { height: 1px; background: #ffdfae; margin: 4px 0 8px; }
.summary-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 12px; }
.summary-tag {
  display: inline-flex; align-items: center; gap: 5px;
  padding: 5px 10px;
  background: var(--white);
  border: 1px solid #ffdfae;
  border-radius: var(--r-round);
  font-size: 12px; color: var(--ink-800);
}
.summary-tag svg { width: 12px; height: 12px; color: var(--cta-600); }

.ty-trust-items { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-top: 6px; }
.ty-trust-item { text-align: center; padding: 12px 8px; background: var(--white); border-radius: var(--r-md); }
.ty-trust-badge { width: 32px; height: 32px; border-radius: 50%; background: var(--cta-500); color: var(--white); display: inline-flex; align-items: center; justify-content: center; margin: 0 auto 6px; }
.ty-trust-badge svg { width: 16px; height: 16px; }
.ty-trust-num { font-size: 20px; font-weight: 700; color: var(--cta-700); font-family: 'Fraunces', serif; }
.ty-trust-rating { color: var(--cta-700); }
.ty-star { color: #ffb800; }
.ty-trust-text strong { display: block; font-size: 12px; color: var(--ink-900); font-weight: 700; }
.ty-trust-text span { display: block; font-size: 11px; color: var(--ink-500); }

.ty-contact-block { text-align: center; }
.ty-contact-phone {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 20px; font-weight: 700;
  color: var(--cta-700);
  padding: 8px 16px;
  border-radius: var(--r-round);
  transition: background .18s;
}
.ty-contact-phone:hover { background: var(--white); }
.ty-contact-phone svg { width: 20px; height: 20px; }
.ty-hint { font-size: 12px; color: var(--ink-500); margin-top: 4px; }

.ty-reassurance {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin-top: 16px;
}
.ty-reassurance-item {
  display: flex; flex-direction: column; align-items: center; gap: 6px;
  padding: 10px 6px;
  text-align: center;
  font-size: 11px;
  color: var(--ink-700);
}
.ty-reassurance-item svg { width: 20px; height: 20px; color: var(--cta-600); }

@media (max-width: 480px) {
  .ty-trust-items { grid-template-columns: 1fr; }
  .ty-reassurance { grid-template-columns: 1fr; }
}

/* ==========================================================================
   REVEAL animations base (GSAP will drive these)
   ========================================================================== */
[data-reveal] {
  opacity: 0;
  transform: translateY(24px);
  will-change: opacity, transform;
}
/* Fallback if GSAP fails to load — show everything after 1.2s */
html.reveal-fallback [data-reveal] {
  opacity: 1;
  transform: none;
  transition: opacity .6s ease-out, transform .6s ease-out;
}
/* Body-lock while popup open (script.js adds .popup-open to body) */
body.popup-open { overflow: hidden; }

/* Prefer reduced motion → skip all reveal + smooth-scroll transforms */
@media (prefers-reduced-motion: reduce) {
  * { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
  [data-reveal] { opacity: 1; transform: none; }
}

/* ==========================================================================
   BRANDS — partner logos strip (below hero)
   ========================================================================== */
.brands {
  padding: 56px 0 40px;
  background: var(--white);
  text-align: center;
  border-radius: var(--r-2xl) var(--r-2xl) 0 0;
  margin-top: -30px;
  position: relative;
  z-index: 1;
}
.brands-headline {
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--ink-500);
  margin-bottom: 32px;
  font-weight: 700;
}
.brands-groups {
  display: grid;
  grid-template-columns: 1.15fr 1fr 1.15fr;
  gap: 20px;
}
.brand-group {
  padding: 22px 20px;
  background: var(--brand-50);
  border: 1px solid var(--brand-100);
  border-radius: var(--r-xl);
  transition: box-shadow .25s, border-color .25s, transform .25s;
}
.brand-group:hover {
  box-shadow: var(--sh-2);
  border-color: var(--brand-200);
  transform: translateY(-2px);
}
.brand-group-label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--brand-700);
  margin-bottom: 16px;
}
.brand-group-logos {
  display: flex;
  align-items: center;
  justify-content: space-around;
  gap: clamp(12px, 1.6vw, 24px);
  min-height: 48px;
}
.brand-logo-img {
  flex: 0 1 auto;
  height: 28px;
  width: auto;
  max-width: 110px;
  object-fit: contain;
  opacity: .8;
  transition: opacity .2s;
}
.brand-logo-img:hover { opacity: 1; }

/* Mobile: hide grouped grid, show a single sliding marquee of all logos */
.brands-marquee-mobile { display: none; }
@media (max-width: 899px) {
  .brands-headline { display: none; }
  .brands-groups { display: none; }
  .brands-marquee-mobile {
    display: block;
    overflow: hidden;
    padding: 8px 0;
    -webkit-mask-image: linear-gradient(to right, transparent 0%, #000 8%, #000 92%, transparent 100%);
            mask-image: linear-gradient(to right, transparent 0%, #000 8%, #000 92%, transparent 100%);
  }
  .brands-track-mobile {
    display: flex;
    align-items: center;
    gap: 42px;
    width: max-content;
    animation: brandsScrollMobile 28s linear infinite;
    will-change: transform;
  }
  .brands-track-mobile img {
    flex: 0 0 auto;
    height: 26px;
    width: auto;
    max-width: 110px;
    object-fit: contain;
    opacity: .8;
  }
  @keyframes brandsScrollMobile {
    from { transform: translateX(0); }
    to   { transform: translateX(-50%); }
  }
}
@media (prefers-reduced-motion: reduce) {
  .brands-track-mobile { animation: none; }
}
