/* ═══════════════════════════════════════════════════════════
   SORTED MORTGAGE — STYLESHEET v5.0
   Champagne Gold · Deep Navy · Warm Pastels
   Animations: Scroll-reveal · Glow pulses · Float · Shimmer
═══════════════════════════════════════════════════════════ */

/* ════════════════════════════════
   DESIGN TOKENS
════════════════════════════════ */
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,700;0,800;1,700&family=Inter:wght@300;400;500;600;700&display=swap');

:root {
  /* ── Core brand ─────────────────── */
  --navy:           #0c1f3d;
  --navy-mid:       #152e55;
  --navy-light:     #1e3f70;
  --navy-glow:      rgba(12,31,61,0.85);

  /* ── Pale Champagne Gold ─────────── */
  --gold:           #d4b483;   /* soft warm gold — refined, airy             */
  --gold-bright:    #e8ca9a;   /* pale honey — luminous highlight            */
  --gold-vivid:     #f5deb3;   /* wheat champagne — the distinctive light    */
  --gold-ultra:     #faefd4;   /* near-white shimmer for glows              */
  --gold-light:     #fdf3e0;   /* very light tint border                    */
  --gold-pale:      #fef8ee;   /* background wash                           */
  --gold-mist:      #fffdf7;   /* near-white warmth                         */

  /* ── Warm Pastels ───────────────── */
  --cream:          #fef8f0;
  --cream-deep:     #fdf0e0;

  --blush:          #fceee8;
  --blush-mid:      #f8d8cc;
  --blush-deep:     #f0b8a4;
  --blush-text:     #8c4030;

  --sage:           #e4f0e4;
  --sage-mid:       #b8d8b8;
  --sage-dark:      #3d7a50;
  --sage-text:      #2a5e3a;

  --lavender:       #ede8f8;
  --lavender-mid:   #c8b8ec;
  --lavender-dark:  #5a4498;
  --lavender-text:  #3d2e6e;

  --sky:            #e4f2fc;
  --sky-mid:        #a8d4f0;
  --sky-dark:       #2474a8;
  --sky-text:       #1a4e72;

  --amber:          #fef4e0;
  --amber-mid:      #f8d888;
  --amber-dark:     #c87c10;

  /* ── Warm Neutrals ──────────────── */
  --warm-white:     #fffcf8;
  --warm-50:        #fdf9f4;
  --warm-100:       #f8f0e6;
  --warm-200:       #eee0cc;
  --warm-300:       #d8c4a8;
  --warm-400:       #b8a080;

  /* ── Text ───────────────────────── */
  --text-head:      #0c1f3d;
  --text-body:      #3a2e24;
  --text-mid:       #6b5444;
  --text-muted:     #a08870;
  --text-light:     #c4b09a;

  /* ── Borders ────────────────────── */
  --border:         #ece0d0;
  --border-warm:    #d8c4a8;
  --border-gold:    #e4c878;

  /* ── Radius ─────────────────────── */
  --r-xs:   6px;
  --r-sm:   10px;
  --r-md:   16px;
  --r-lg:   24px;
  --r-xl:   34px;
  --r-2xl:  48px;

  /* ── Shadows — warm-tinted ──────── */
  --shadow-xs: 0 1px 4px rgba(12,31,61,0.05);
  --shadow-sm: 0 2px 10px rgba(12,31,61,0.07), 0 1px 4px rgba(12,31,61,0.04);
  --shadow-md: 0 8px 28px rgba(12,31,61,0.10), 0 2px 10px rgba(12,31,61,0.06);
  --shadow-lg: 0 20px 56px rgba(12,31,61,0.14), 0 6px 20px rgba(12,31,61,0.08);
  --shadow-xl: 0 32px 80px rgba(12,31,61,0.18), 0 8px 28px rgba(12,31,61,0.10);
  --shadow-gold: 0 6px 28px rgba(212,180,131,0.38), 0 2px 8px rgba(212,180,131,0.22);
  --shadow-gold-lg: 0 14px 44px rgba(212,180,131,0.48), 0 4px 16px rgba(212,180,131,0.28);
  --glow-gold: 0 0 0 0 rgba(245,222,179,0.65);

  /* ── Glow animation values ───────── */
  --glow-ring-sm:   0 0 0 4px rgba(245,222,179,0.18);
  --glow-ring-md:   0 0 0 8px rgba(245,222,179,0.12);
  --glow-spread:    0 0 28px rgba(245,222,179,0.35);

  /* ── Transitions ────────────────── */
  --ease:         0.24s cubic-bezier(0.4, 0, 0.2, 1);
  --ease-bounce:  0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
  --ease-slow:    0.5s cubic-bezier(0.4, 0, 0.2, 1);

  /* ── Animation durations ────────── */
  --dur-fast:   0.18s;
  --dur-mid:    0.35s;
  --dur-slow:   0.6s;

  /* ── Typography ─────────────────── */
  --font-sans:  'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-serif: 'Playfair Display', 'Georgia', serif;
}

/* ════════════════════════════════
   RESET & BASE
════════════════════════════════ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { font-size: 16px; scroll-behavior: smooth; }
body {
  font-family: var(--font-sans);
  background: var(--warm-white);
  color: var(--text-body);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
a { color: var(--navy); text-decoration: none; }
a:hover { text-decoration: underline; }
button { cursor: pointer; font-family: var(--font-sans); border: none; background: none; }
input, select, textarea { font-family: var(--font-sans); }
img { max-width: 100%; display: block; }

/* ════════════════════════════════
   SHARED SECTION UTILITIES
════════════════════════════════ */
.section-inner {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 32px;
}
@media (max-width: 640px) { .section-inner { padding: 0 20px; } }

.section-eyebrow,
.section-label {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.13em;
  color: var(--gold);
  background: var(--gold-pale);
  border: 1px solid var(--gold-light);
  padding: 6px 16px;
  border-radius: 100px;
  margin-bottom: 20px;
}
.section-eyebrow i, .section-label i { font-size: 0.68rem; }
.section-label.light {
  background: rgba(255,255,255,0.10);
  color: rgba(255,255,255,0.82);
  border-color: rgba(255,255,255,0.18);
}

.section-title {
  font-family: var(--font-serif);
  font-size: clamp(2rem, 4vw, 2.9rem);
  font-weight: 700;
  color: var(--text-head);
  letter-spacing: -0.02em;
  line-height: 1.12;
  margin-bottom: 16px;
}
.section-subtitle {
  font-size: 1.05rem;
  color: var(--text-mid);
  line-height: 1.8;
  max-width: 580px;
  margin-bottom: 56px;
}

/* ════════════════════════════════
   BUTTONS
════════════════════════════════ */
.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: var(--navy);
  color: #fff;
  font-weight: 700;
  font-size: 0.97rem;
  padding: 15px 30px;
  border-radius: var(--r-md);
  border: none;
  cursor: pointer;
  transition: background var(--ease), transform var(--ease), box-shadow var(--ease);
  text-decoration: none;
  letter-spacing: -0.01em;
  box-shadow: 0 4px 18px rgba(12,31,61,0.28);
  position: relative;
  overflow: hidden;
}
/* Shimmer sweep on hover */
.btn-primary::before {
  content: '';
  position: absolute; top: 0; left: -80%;
  width: 55%; height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.14), transparent);
  transform: skewX(-15deg);
  pointer-events: none;
}
.btn-primary:hover::before { animation: shimmer 0.68s ease forwards; }
.btn-primary::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(255,255,255,0.09) 0%, transparent 55%);
  pointer-events: none;
}
.btn-primary:hover {
  background: var(--navy-mid);
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(12,31,61,0.36);
  text-decoration: none; color: #fff;
}
.btn-primary:active { transform: translateY(0); }

/* Gold variant — looping glow */
.btn-gold {
  background: linear-gradient(135deg, var(--gold) 0%, var(--gold-bright) 50%, var(--gold-vivid) 100%);
  color: var(--navy);
  box-shadow: var(--shadow-gold);
  font-weight: 800;
  animation: goldGlowPulse 3s ease-in-out infinite;
}
.btn-gold:hover {
  background: linear-gradient(135deg, var(--gold-bright) 0%, var(--gold-vivid) 100%);
  color: var(--navy);
  box-shadow: var(--shadow-gold-lg);
  animation: none;
  transform: translateY(-2px);
}

.btn-primary.btn-submit { width: 100%; font-size: 1.05rem; padding: 17px; }

.btn-outline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: transparent;
  color: var(--navy);
  border: 2px solid var(--navy);
  font-weight: 600;
  font-size: 0.95rem;
  padding: 12px 24px;
  border-radius: var(--r-md);
  cursor: pointer;
  transition: all var(--ease);
  text-decoration: none;
}
.btn-outline:hover { background: var(--navy); color: #fff; text-decoration: none; }
.btn-outline-gold { color: var(--gold); border-color: var(--border-gold); }
.btn-outline-gold:hover { background: var(--gold-pale); color: var(--gold); }

.btn-back {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--text-muted);
  font-weight: 500;
  font-size: 0.9rem;
  padding: 10px 18px;
  border-radius: var(--r-sm);
  transition: all var(--ease);
  border: 1px solid var(--border);
  background: var(--warm-white);
}
.btn-back:hover { color: var(--text-body); border-color: var(--border-warm); background: var(--warm-100); }

.btn-next {
  display: flex;
  align-items: center;
  gap: 10px;
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-mid) 100%);
  color: #fff;
  font-weight: 700;
  font-size: 0.95rem;
  padding: 13px 28px;
  border-radius: var(--r-md);
  border: none;
  cursor: pointer;
  transition: all var(--ease);
  box-shadow: 0 4px 16px rgba(12,31,61,0.26);
  position: relative; overflow: hidden;
}
.btn-next::before {
  content: '';
  position: absolute; top: 0; left: -80%;
  width: 55%; height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.12), transparent);
  transform: skewX(-15deg);
  pointer-events: none;
}
.btn-next:hover:not(:disabled)::before { animation: shimmer 0.65s ease forwards; }
.btn-next:hover:not(:disabled) {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(12,31,61,0.36);
}
.btn-next:disabled {
  background: var(--warm-300);
  color: var(--text-muted);
  cursor: not-allowed;
  box-shadow: none; transform: none;
}

.btn-text-link {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: var(--text-muted);
  font-size: 0.85rem;
  font-weight: 500;
  padding: 8px 12px;
  border-radius: var(--r-sm);
  transition: color var(--ease);
  background: none; border: none; cursor: pointer;
}
.btn-text-link:hover { color: var(--text-mid); }

/* Loading spinner */
.btn-submit.loading { position: relative; color: transparent; pointer-events: none; }
.btn-submit.loading::after {
  content: '';
  position: absolute; top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 22px; height: 22px;
  border: 3px solid rgba(255,255,255,0.28);
  border-top-color: #fff;
  border-radius: 50%;
  animation: spin 0.7s linear infinite;
}
@keyframes spin { to { transform: translate(-50%, -50%) rotate(360deg); } }

/* ════════════════════════════════
   GLOBAL ANIMATION KEYFRAMES
════════════════════════════════ */

/* Looping gold glow pulse */
@keyframes goldGlowPulse {
  0%, 100% { box-shadow: 0 10px 32px rgba(212,180,131,0.44), 0 3px 10px rgba(212,180,131,0.22), 0 0 0 0 rgba(245,222,179,0); }
  50%       { box-shadow: 0 14px 44px rgba(212,180,131,0.62), 0 4px 14px rgba(212,180,131,0.34), 0 0 26px 8px rgba(245,222,179,0.28); }
}

/* Ripple ring that expands outward */
@keyframes rippleOut {
  0%   { box-shadow: 0 0 0 0 rgba(245,222,179,0.55); }
  70%  { box-shadow: 0 0 0 20px rgba(245,222,179,0); }
  100% { box-shadow: 0 0 0 0 rgba(245,222,179,0); }
}

/* Shimmer sweep across element */
@keyframes shimmer {
  0%   { transform: translateX(-100%) skewX(-15deg); }
  100% { transform: translateX(280%) skewX(-15deg); }
}

/* Soft float up/down */
@keyframes floatY {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(-10px); }
}

/* Orb slow drift */
@keyframes orbDrift {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33%       { transform: translate(28px, -18px) scale(1.04); }
  66%       { transform: translate(-18px, 14px) scale(0.97); }
}

/* Logo icon glow loop */
@keyframes logoGlow {
  0%, 100% { box-shadow: 0 2px 10px rgba(212,180,131,0.40); }
  50%       { box-shadow: 0 2px 24px rgba(212,180,131,0.72), 0 0 16px rgba(245,222,179,0.38); }
}

/* Trust strip icon gentle bounce */
@keyframes iconBounce {
  0%, 100% { transform: translateY(0); }
  40%       { transform: translateY(-4px); }
  60%       { transform: translateY(-2px); }
}

/* Badge soft pulse */
@keyframes badgePulse {
  0%, 100% { opacity: 1; }
  50%       { opacity: 0.75; }
}

/* Animated gold gradient shift for accents */
@keyframes gradientShift {
  0%   { background-position: 0% 0%; }
  100% { background-position: 200% 0%; }
}

/* ════════════════════════════════
   STICKY HEADER
════════════════════════════════ */
.site-header {
  background: var(--navy);
  position: sticky;
  top: 0; z-index: 100;
  box-shadow: 0 2px 20px rgba(12,31,61,0.22);
  transition: box-shadow var(--ease);
  border-bottom: 1px solid rgba(255,255,255,0.04);
}
.site-header.scrolled { box-shadow: 0 4px 32px rgba(12,31,61,0.32); }
.header-inner {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 32px;
  height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.logo {
  display: flex;
  align-items: center;
  gap: 0;
  text-decoration: none;
  flex-shrink: 0;
}
.logo:hover { text-decoration: none; opacity: 0.9; }
.logo-img {
  height: 72px;
  width: auto;
  display: block;
  filter: none;
  transition: opacity var(--ease), transform var(--ease);
}
.logo:hover .logo-img { opacity: 0.88; transform: scale(1.03); }
/* Wordmark hidden — image replaces it */
.logo-wordmark, .logo-accent, .logo-icon { display: none; }
.header-nav {
  display: flex;
  align-items: center;
  gap: 34px;
}
.header-nav a {
  font-size: 0.875rem;
  font-weight: 500;
  color: rgba(255,255,255,0.55);
  text-decoration: none;
  transition: color var(--ease);
  letter-spacing: 0.01em;
}
.header-nav a:hover { color: rgba(255,255,255,0.95); text-decoration: none; }
.btn-header-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: linear-gradient(135deg, var(--gold) 0%, var(--gold-vivid) 100%);
  color: var(--navy);
  font-size: 0.85rem;
  font-weight: 800;
  padding: 10px 22px;
  border-radius: var(--r-md);
  text-decoration: none;
  transition: all var(--ease);
  white-space: nowrap;
  box-shadow: var(--shadow-gold);
  flex-shrink: 0;
  letter-spacing: -0.01em;
}
.btn-header-cta:hover {
  background: linear-gradient(135deg, var(--gold-bright) 0%, var(--gold-vivid) 100%);
  color: var(--navy);
  text-decoration: none;
  transform: translateY(-1px);
  box-shadow: var(--shadow-gold-lg);
  animation: none;
}
@media (max-width: 768px) { .header-nav { display: none; } }
@media (max-width: 500px)  { .btn-header-cta { display: none; } }

/* ════════════════════════════════
   HERO SECTION
════════════════════════════════ */
.hero-section {
  background: var(--navy);
  position: relative;
  overflow: hidden;
}
/* Layered warm orbs — animated drift */
.hero-section::before {
  content: '';
  position: absolute;
  top: -220px; right: -160px;
  width: 800px; height: 800px;
  background: radial-gradient(circle, rgba(212,180,131,0.22) 0%, rgba(212,180,131,0.08) 40%, transparent 70%);
  pointer-events: none;
  animation: orbDrift 18s ease-in-out infinite;
}
.hero-section::after {
  content: '';
  position: absolute;
  bottom: -80px; left: -100px;
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(232,202,154,0.12) 0%, transparent 65%);
  pointer-events: none;
  animation: orbDrift 22s ease-in-out infinite reverse;
}
/* Extra warm accent blob */
.hero-section .hero-blob {
  position: absolute;
  top: 50%; left: 38%;
  transform: translate(-50%, -50%);
  width: 500px; height: 400px;
  background: radial-gradient(ellipse, rgba(212,180,131,0.07) 0%, transparent 70%);
  pointer-events: none;
  animation: floatY 14s ease-in-out infinite;
}

.hero-inner {
  max-width: 1120px;
  margin: 0 auto;
  padding: 108px 32px 0;
  display: grid;
  grid-template-columns: 1fr 430px;
  gap: 80px;
  align-items: center;
  position: relative; z-index: 1;
}
/* Centred hero variant — no preview card */
.hero-inner--centred {
  grid-template-columns: 1fr;
  max-width: 820px;
  padding: 112px 32px 0;
  text-align: center;
}
@media (max-width: 980px) {
  .hero-inner { grid-template-columns: 1fr; gap: 52px; padding-bottom: 0; }
  .hero-card-preview { display: none; }
}
@media (max-width: 640px) {
  .hero-inner { padding: 72px 20px 0; }
  .hero-inner--centred { padding: 80px 20px 0; }
}

/* Hero eyebrow badge */
.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  background: linear-gradient(135deg, rgba(212,180,131,0.20) 0%, rgba(212,180,131,0.10) 100%);
  border: 1px solid rgba(232,202,154,0.42);
  color: var(--gold-vivid);
  font-size: 0.75rem;
  font-weight: 700;
  padding: 8px 18px;
  border-radius: 100px;
  margin-bottom: 28px;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  backdrop-filter: blur(4px);
  animation: badgePulse 4s ease-in-out infinite;
}
.hero-eyebrow i { color: var(--gold-vivid); }

.hero-headline {
  font-family: var(--font-serif);
  font-size: clamp(2.7rem, 6.5vw, 4.4rem);
  font-weight: 700;
  color: #fff;
  line-height: 1.06;
  letter-spacing: -0.03em;
  margin-bottom: 26px;
}
.hero-headline em {
  font-style: italic;
  color: var(--gold-vivid);
  position: relative;
}
.hero-br { display: block; }
.hero-subheadline {
  font-size: 1.1rem;
  color: rgba(255,255,255,0.62);
  line-height: 1.8;
  margin-bottom: 38px;
  max-width: 500px;
  font-weight: 400;
}
.hero-content--centred .hero-subheadline {
  max-width: 640px;
  margin-left: auto;
  margin-right: auto;
  font-size: 1.15rem;
}
.hero-checklist {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 48px;
}
/* Centred checklist — 2-column grid on wider screens */
.hero-checklist--centred {
  display: grid;
  grid-template-columns: repeat(2, auto);
  justify-content: center;
  gap: 12px 40px;
  margin-bottom: 48px;
}
@media (max-width: 520px) {
  .hero-checklist--centred { grid-template-columns: 1fr; justify-items: start; }
}
.hero-checklist li {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.96rem;
  color: rgba(255,255,255,0.78);
  font-weight: 500;
}
.hero-checklist .check-icon {
  width: 22px; height: 22px;
  background: rgba(184,136,46,0.2);
  border: 1px solid rgba(212,165,68,0.4);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.hero-checklist .check-icon i { color: var(--gold-vivid); font-size: 0.68rem; }
.hero-cta-group {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 14px;
}
.hero-cta-group--centred {
  align-items: center;
}
.btn-hero {
  font-size: 1.08rem;
  padding: 18px 36px;
  background: linear-gradient(135deg, var(--gold) 0%, var(--gold-bright) 50%, var(--gold-vivid) 100%);
  color: var(--navy);
  box-shadow: 0 10px 32px rgba(212,180,131,0.50), 0 3px 10px rgba(212,180,131,0.28);
  font-weight: 800;
  letter-spacing: -0.01em;
  animation: goldGlowPulse 2.8s ease-in-out infinite;
  position: relative; overflow: hidden;
}
/* Shimmer on hero CTA */
.btn-hero::before {
  content: '';
  position: absolute; top: 0; left: -80%;
  width: 55%; height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.24), transparent);
  transform: skewX(-15deg);
  pointer-events: none;
}
.btn-hero:hover::before { animation: shimmer 0.65s ease forwards; }
.btn-hero:hover {
  background: linear-gradient(135deg, var(--gold-bright) 0%, var(--gold-vivid) 100%);
  color: var(--navy);
  box-shadow: 0 18px 50px rgba(212,180,131,0.64), 0 5px 18px rgba(212,180,131,0.36);
  animation: none;
  transform: translateY(-2px);
}
.hero-cta-note {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 0.78rem;
  color: rgba(255,255,255,0.32);
}
.hero-cta-note i { font-size: 0.7rem; color: var(--gold); opacity: 0.6; }
.hero-cta-group--centred .hero-cta-note { justify-content: center; }

/* ── Hero preview card ── */
.hero-card-preview {
  position: relative; z-index: 1;
  padding-bottom: 72px;
}
.hcp-outer {
  position: relative;
}
.hcp-outer::before {
  content: '';
  position: absolute;
  top: -14px; left: -14px; right: -14px; bottom: -14px;
  background: linear-gradient(135deg, rgba(184,136,46,0.22), rgba(12,31,61,0.14), rgba(212,165,68,0.10));
  border-radius: 46px;
  z-index: -1;
  filter: blur(2px);
}
.hcp-inner {
  background: var(--warm-white);
  border-radius: var(--r-xl);
  padding: 32px 28px;
  box-shadow: 0 32px 80px rgba(12,31,61,0.42), 0 8px 28px rgba(12,31,61,0.20);
  border: 1px solid rgba(255,255,255,0.14);
  position: relative;
  overflow: hidden;
}
.hcp-inner::before {
  content: '';
  position: absolute; top: 0; left: 0; right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--gold), var(--gold-vivid), var(--gold));
}
.hcp-header { display: flex; align-items: center; gap: 14px; margin-bottom: 24px; }
.hcp-avatar {
  width: 48px; height: 48px;
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-mid) 100%);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: var(--gold-vivid); font-size: 1.15rem;
  box-shadow: 0 3px 10px rgba(12,31,61,0.25);
}
.hcp-name { font-weight: 700; font-size: 0.95rem; color: var(--text-head); }
.hcp-sub { font-size: 0.73rem; color: var(--text-muted); margin-top: 2px; }
.hcp-progress-wrap { margin-bottom: 22px; }
.hcp-progress-label {
  font-size: 0.71rem; font-weight: 700; color: var(--text-muted);
  text-transform: uppercase; letter-spacing: 0.06em; margin-bottom: 9px;
  display: flex; justify-content: space-between;
}
.hcp-progress-label span { color: var(--gold); font-weight: 800; }
.hcp-progress-track {
  height: 9px; background: var(--warm-200); border-radius: 100px; overflow: hidden;
}
.hcp-progress-fill {
  width: 78%; height: 100%;
  background: linear-gradient(90deg, var(--gold) 0%, var(--gold-vivid) 100%);
  border-radius: 100px;
  animation: hcpFill 2s cubic-bezier(0.4,0,0.2,1) 0.5s both;
  position: relative;
}
.hcp-progress-fill::after {
  content: '';
  position: absolute; right: 0; top: 50%;
  transform: translateY(-50%);
  width: 14px; height: 14px;
  background: var(--gold-vivid);
  border-radius: 50%;
  box-shadow: 0 0 0 3px rgba(232,184,74,0.3);
}
@keyframes hcpFill { from { width: 0%; } to { width: 78%; } }
.hcp-tags { display: flex; flex-direction: column; gap: 9px; margin-bottom: 22px; }
.hcp-tag {
  display: inline-flex; align-items: center; gap: 9px;
  font-size: 0.84rem; font-weight: 600;
  padding: 10px 15px; border-radius: var(--r-sm);
}
.hcp-tag--green   { background: var(--sage); color: var(--sage-text); border: 1px solid var(--sage-mid); }
.hcp-tag--teal    { background: var(--sky);  color: var(--sky-text);  border: 1px solid var(--sky-mid); }
.hcp-tag--gold    { background: var(--gold-pale); color: #7a5010; border: 1px solid var(--gold-light); }
.hcp-tag i { font-size: 0.78rem; }
.hcp-cta-preview {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-mid) 100%);
  color: #fff;
  font-size: 0.88rem; font-weight: 700;
  padding: 14px 18px; border-radius: var(--r-md);
  text-align: center; margin-bottom: 12px;
}
.hcp-disclaimer {
  font-size: 0.68rem; color: var(--text-muted);
  text-align: center; letter-spacing: 0.02em;
}

/* ── Hero trust strip ── */
.hero-trust-strip {
  position: relative; z-index: 1;
  border-top: 1px solid rgba(255,255,255,0.06);
  margin-top: 72px;
  padding: 28px 32px;
  background: rgba(255,255,255,0.025);
  backdrop-filter: blur(4px);
}
.hero-trust-inner {
  max-width: 1120px; margin: 0 auto;
  display: flex; align-items: center; justify-content: center;
  flex-wrap: wrap; gap: 0;
}
.hts-item {
  display: flex; align-items: center; gap: 10px;
  font-size: 0.84rem; color: rgba(255,255,255,0.48);
  padding: 5px 30px;
  font-weight: 500;
}
.hts-item i {
  color: var(--gold-bright); font-size: 0.95rem; flex-shrink: 0;
  animation: iconBounce 3.5s ease-in-out infinite;
}
.hts-item:nth-child(3) i { animation-delay: 0.5s; }
.hts-item:nth-child(5) i { animation-delay: 1s; }
.hts-item:nth-child(7) i { animation-delay: 1.5s; }
.hts-item strong { color: rgba(255,255,255,0.82); font-weight: 600; }
.hts-divider { width: 1px; height: 28px; background: rgba(255,255,255,0.08); flex-shrink: 0; }
@media (max-width: 768px) {
  .hts-divider { display: none; }
  .hts-item { padding: 5px 14px; font-size: 0.78rem; }
}

/* ════════════════════════════════
   TESTIMONIALS
════════════════════════════════ */
.testimonials-section {
  padding: 112px 0;
  background: var(--warm-white);
  position: relative;
  overflow: hidden;
}
/* Soft warm wash behind section */
.testimonials-section::before {
  content: '';
  position: absolute; bottom: 0; left: 0; right: 0;
  height: 50%;
  background: linear-gradient(to top, var(--cream), transparent);
  pointer-events: none;
}
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  position: relative; z-index: 1;
}
@media (max-width: 900px) { .testimonials-grid { grid-template-columns: 1fr; max-width: 560px; } }
.testimonial-card {
  background: var(--warm-50);
  border: 1px solid var(--border);
  border-radius: var(--r-xl);
  padding: 36px 30px;
  display: flex; flex-direction: column; gap: 20px;
  transition: transform var(--ease), box-shadow var(--ease);
  position: relative; overflow: hidden;
}
.testimonial-card::before {
  content: '\201C';
  position: absolute; top: 8px; left: 22px;
  font-family: var(--font-serif);
  font-size: 5.5rem; line-height: 1;
  color: var(--warm-200);
  pointer-events: none; z-index: 0;
}
.testimonial-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); border-color: var(--border-gold); }

.testimonial-card--featured {
  background: linear-gradient(160deg, var(--navy) 0%, var(--navy-mid) 100%);
  border-color: transparent;
  box-shadow: var(--shadow-lg);
  animation: goldGlowPulse 4s ease-in-out infinite;
}
.testimonial-card--featured::before { color: rgba(255,255,255,0.04); }
.testimonial-card--featured::after {
  content: '';
  position: absolute; top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--gold), var(--gold-vivid), var(--gold-bright), var(--gold));
  background-size: 200% 100%;
  border-radius: var(--r-xl) var(--r-xl) 0 0;
  animation: gradientShift 4s linear infinite;
}

.tc-featured-badge {
  display: inline-flex; align-items: center; gap: 7px;
  background: rgba(212,180,131,0.18);
  border: 1px solid rgba(232,202,154,0.32);
  border-radius: 100px; padding: 5px 12px;
  font-size: 0.72rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.07em;
  color: var(--gold-bright);
  position: relative; z-index: 1;
}
.tc-stars { display: flex; gap: 3px; position: relative; z-index: 1; }
.tc-stars i { color: var(--gold-bright); font-size: 0.85rem; }
.tc-quote {
  font-size: 0.97rem; line-height: 1.78;
  color: var(--text-mid); flex: 1;
  font-style: italic; position: relative; z-index: 1;
}
.testimonial-card--featured .tc-quote { color: rgba(255,255,255,0.76); }
.tc-author { display: flex; align-items: center; gap: 13px; position: relative; z-index: 1; }
.tc-avatar {
  width: 44px; height: 44px; border-radius: 50%;
  background: linear-gradient(135deg, var(--gold) 0%, var(--gold-vivid) 100%);
  color: var(--navy); font-size: 0.8rem; font-weight: 800;
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
  box-shadow: 0 2px 8px rgba(212,180,131,0.35);
}
.testimonial-card--featured .tc-avatar {
  background: rgba(184,136,46,0.22);
  color: var(--gold-bright);
}
.tc-name { font-size: 0.92rem; font-weight: 700; color: var(--text-head); }
.testimonial-card--featured .tc-name { color: #fff; }
.tc-detail { font-size: 0.76rem; color: var(--text-muted); margin-top: 2px; }
.testimonial-card--featured .tc-detail { color: rgba(255,255,255,0.42); }

/* ════════════════════════════════
   HOW IT WORKS
════════════════════════════════ */
.how-it-works-section {
  padding: 112px 0;
  background: var(--cream);
  position: relative;
  overflow: hidden;
}
/* Subtle dot-grid texture */
.how-it-works-section::before {
  content: '';
  position: absolute; inset: 0;
  background-image: radial-gradient(circle, rgba(184,136,46,0.08) 1px, transparent 1px);
  background-size: 28px 28px;
  pointer-events: none;
}
/* Warm blush wash bottom */
.how-it-works-section::after {
  content: '';
  position: absolute; bottom: 0; left: 0; right: 0;
  height: 180px;
  background: linear-gradient(to top, rgba(252,238,232,0.5), transparent);
  pointer-events: none;
}
.hiw-steps {
  display: flex; align-items: stretch; gap: 0;
  margin-bottom: 64px; position: relative; z-index: 1;
}
@media (max-width: 768px) {
  .hiw-steps { flex-direction: column; }
  .hiw-connector { transform: rotate(90deg); margin: 12px auto; }
}
.hiw-step {
  flex: 1;
  background: var(--warm-white);
  border: 1px solid var(--border);
  border-radius: var(--r-xl);
  padding: 40px 30px;
  display: flex; flex-direction: column; gap: 14px;
  position: relative;
  box-shadow: var(--shadow-sm);
  transition: transform var(--ease), box-shadow var(--ease);
  overflow: hidden;
}
.hiw-step::before {
  content: '';
  position: absolute; top: 0; left: 0; right: 0;
  height: 3px;
  border-radius: var(--r-xl) var(--r-xl) 0 0;
  opacity: 0;
  transition: opacity var(--ease);
}
.hiw-step:nth-child(1)::before { background: linear-gradient(90deg, var(--blush-mid), var(--blush-deep)); }
.hiw-step:nth-child(3)::before { background: linear-gradient(90deg, var(--gold), var(--gold-vivid)); }
.hiw-step:nth-child(5)::before { background: linear-gradient(90deg, var(--sage-mid), var(--sage-dark)); }
.hiw-step:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.hiw-step:hover::before { opacity: 1; }

.hiw-step-number {
  font-family: var(--font-serif);
  font-size: 4rem;
  font-weight: 700;
  color: var(--warm-200);
  line-height: 1;
  position: absolute; top: 18px; right: 24px;
  letter-spacing: -0.05em;
  transition: color var(--ease);
}
.hiw-step:hover .hiw-step-number { color: var(--warm-300); }
.hiw-step-icon {
  width: 56px; height: 56px;
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-mid) 100%);
  border-radius: var(--r-md);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.35rem; color: var(--gold-vivid);
  margin-bottom: 4px;
  box-shadow: 0 5px 16px rgba(12,31,61,0.22);
  transition: transform var(--ease-bounce), box-shadow var(--ease);
}
.hiw-step:hover .hiw-step-icon {
  transform: scale(1.10) rotate(-4deg);
  box-shadow: 0 8px 24px rgba(12,31,61,0.32), 0 0 16px rgba(212,180,131,0.24);
}
.hiw-step h3 {
  font-family: var(--font-serif);
  font-size: 1.2rem; font-weight: 700;
  color: var(--text-head); letter-spacing: -0.01em; line-height: 1.25;
}
.hiw-step p { font-size: 0.9rem; color: var(--text-mid); line-height: 1.75; flex: 1; }
.hiw-step-time {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 0.74rem; font-weight: 700;
  color: var(--gold);
  background: var(--gold-pale);
  border: 1px solid var(--gold-light);
  padding: 5px 12px; border-radius: 100px;
  margin-top: 4px; width: fit-content;
}
.hiw-connector {
  display: flex; align-items: center; justify-content: center;
  width: 48px; flex-shrink: 0;
  margin-top: 52px;
  color: var(--warm-300); font-size: 1rem;
}
.hiw-bottom-cta {
  display: flex; flex-direction: column;
  align-items: center; gap: 12px; text-align: center;
  position: relative; z-index: 1;
}
.hiw-bottom-cta p { font-size: 0.84rem; color: var(--text-muted); }

/* ════════════════════════════════
   WHO IT'S FOR
════════════════════════════════ */
.for-who-section {
  padding: 112px 0;
  background: var(--warm-white);
  position: relative;
}
.for-who-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
@media (max-width: 1024px) { .for-who-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px)  { .for-who-grid { grid-template-columns: 1fr; } }

/* Each card gets a distinct pastel personality */
.fw-card {
  background: var(--warm-50);
  border: 1px solid var(--border);
  border-radius: var(--r-xl);
  padding: 30px 26px;
  display: flex; flex-direction: column; gap: 14px;
  position: relative;
  transition: transform var(--ease), box-shadow var(--ease);
  overflow: hidden;
}
.fw-card::before {
  content: '';
  position: absolute; top: 0; left: 0; right: 0;
  height: 3px;
  border-radius: var(--r-xl) var(--r-xl) 0 0;
}
.fw-card:nth-child(1)::before { background: linear-gradient(90deg, var(--blush-mid), var(--blush-deep)); }
.fw-card:nth-child(2)::before { background: linear-gradient(90deg, var(--gold), var(--gold-vivid)); }
.fw-card:nth-child(3)::before { background: linear-gradient(90deg, var(--lavender-mid), var(--lavender-dark)); }
.fw-card:nth-child(4)::before { background: linear-gradient(90deg, var(--sage-mid), var(--sage-dark)); }

.fw-card:nth-child(1):hover { background: linear-gradient(160deg, var(--blush) 0%, var(--warm-50) 100%); }
.fw-card:nth-child(2):hover { background: linear-gradient(160deg, var(--gold-mist) 0%, var(--warm-50) 100%); }
.fw-card:nth-child(3):hover { background: linear-gradient(160deg, var(--lavender) 0%, var(--warm-50) 100%); }
.fw-card:nth-child(4):hover { background: linear-gradient(160deg, var(--sage) 0%, var(--warm-50) 100%); }
.fw-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); }

.fw-card--featured {
  background: linear-gradient(160deg, var(--gold-pale) 0%, var(--gold-mist) 100%);
  border-color: var(--border-gold);
  box-shadow: 0 0 0 2px rgba(184,136,46,0.12), var(--shadow-sm);
}
.fw-featured-tag {
  position: absolute; top: -12px; left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(135deg, var(--gold) 0%, var(--gold-vivid) 100%);
  color: var(--navy);
  font-size: 0.68rem; font-weight: 800;
  text-transform: uppercase; letter-spacing: 0.07em;
  padding: 4px 14px; border-radius: 100px; white-space: nowrap;
  box-shadow: 0 2px 8px rgba(184,136,46,0.35);
}
.fw-icon {
  width: 52px; height: 52px;
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-mid) 100%);
  border-radius: var(--r-md);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.25rem; color: var(--gold-bright);
  box-shadow: 0 4px 14px rgba(12,31,61,0.22);
  margin-top: 6px;
  transition: transform var(--ease-bounce), box-shadow var(--ease);
}
.fw-card:hover .fw-icon {
  transform: scale(1.12) rotate(4deg);
  box-shadow: 0 6px 20px rgba(12,31,61,0.30), 0 0 14px rgba(212,180,131,0.22);
}
.fw-card h3 {
  font-family: var(--font-serif);
  font-size: 1.1rem; font-weight: 700;
  color: var(--text-head); letter-spacing: -0.01em;
}
.fw-card p { font-size: 0.875rem; color: var(--text-mid); line-height: 1.68; }
.fw-list { list-style: none; display: flex; flex-direction: column; gap: 7px; margin-top: 4px; }
.fw-list li {
  display: flex; align-items: center; gap: 9px;
  font-size: 0.83rem; color: var(--text-mid); font-weight: 500;
}
.fw-list i { color: var(--gold); font-size: 0.72rem; flex-shrink: 0; }

/* ════════════════════════════════
   QUIZ SECTION (inline)
════════════════════════════════ */
.quiz-section {
  padding: 104px 0 88px;
  background: linear-gradient(160deg, var(--navy) 0%, #0e2448 50%, #0d1e3a 100%);
  position: relative;
  overflow: hidden;
}
.quiz-section::before {
  content: '';
  position: absolute;
  top: -140px; right: -140px;
  width: 640px; height: 640px;
  background: radial-gradient(circle, rgba(212,180,131,0.18) 0%, transparent 65%);
  pointer-events: none;
  animation: orbDrift 20s ease-in-out infinite;
}
.quiz-section::after {
  content: '';
  position: absolute;
  bottom: -100px; left: -80px;
  width: 440px; height: 440px;
  background: radial-gradient(circle, rgba(212,165,68,0.10) 0%, transparent 65%);
  pointer-events: none;
}
.quiz-section-inner {
  max-width: 1120px; margin: 0 auto; padding: 0 32px;
  position: relative; z-index: 1;
}
.quiz-section-header { text-align: center; margin-bottom: 56px; }
.quiz-section-title {
  font-family: var(--font-serif);
  font-size: clamp(2rem, 4vw, 2.9rem);
  font-weight: 700; color: #fff;
  letter-spacing: -0.025em; line-height: 1.12; margin-bottom: 16px;
}
.quiz-section-subtitle {
  font-size: 1.05rem; color: rgba(255,255,255,0.58);
  line-height: 1.8; max-width: 520px; margin: 0 auto;
}

/* Quiz app container */
.quiz-app {
  background: var(--warm-50);
  border-radius: var(--r-xl);
  overflow: hidden;
  box-shadow: 0 40px 96px rgba(12,31,61,0.40), 0 10px 32px rgba(12,31,61,0.20);
  border: 1px solid rgba(255,255,255,0.06);
}

/* Quiz start card */
.quiz-start-card {
  display: grid;
  grid-template-columns: 1fr 310px;
}
@media (max-width: 760px) {
  .quiz-start-card { grid-template-columns: 1fr; }
  .qsc-right { display: none; }
}
.qsc-left {
  padding: 56px 52px;
  display: flex; flex-direction: column; gap: 18px;
  background: var(--warm-white);
}
@media (max-width: 560px) { .qsc-left { padding: 32px 22px; } }
.qsc-icon {
  width: 60px; height: 60px;
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-mid) 100%);
  border-radius: var(--r-md);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.55rem; color: var(--gold-bright);
  box-shadow: 0 6px 20px rgba(12,31,61,0.24);
}
.qsc-left h3 {
  font-family: var(--font-serif);
  font-size: 1.8rem; font-weight: 700;
  color: var(--text-head); letter-spacing: -0.02em; line-height: 1.18;
}
.qsc-left p { font-size: 1rem; color: var(--text-mid); line-height: 1.78; }
.qsc-features { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.qsc-features li {
  display: flex; align-items: center; gap: 11px;
  font-size: 0.9rem; color: var(--text-mid); font-weight: 500;
}
.qsc-features i { color: var(--gold); font-size: 0.85rem; }
.btn-quiz-start { font-size: 1rem; padding: 15px 32px; align-self: flex-start; margin-top: 6px; }
.qsc-time {
  display: flex; align-items: center; gap: 7px;
  font-size: 0.78rem; color: var(--text-muted); margin-top: -6px;
}
.qsc-right {
  background: linear-gradient(160deg, var(--navy) 0%, var(--navy-mid) 100%);
  padding: 48px 30px;
  display: flex; flex-direction: column; justify-content: center;
  position: relative; overflow: hidden;
}
.qsc-right::before {
  content: '';
  position: absolute; top: -60px; right: -60px;
  width: 200px; height: 200px;
  background: radial-gradient(circle, rgba(184,136,46,0.12) 0%, transparent 70%);
  pointer-events: none;
}
.qsc-steps-preview { display: flex; flex-direction: column; gap: 4px; position: relative; z-index: 1; }
.qsp-item {
  display: flex; align-items: center; gap: 12px;
  padding: 10px 14px; border-radius: var(--r-sm);
  font-size: 0.84rem; color: rgba(255,255,255,0.38); font-weight: 500;
  transition: all var(--ease);
}
.qsp-item span {
  width: 26px; height: 26px; border-radius: 50%;
  background: rgba(255,255,255,0.07);
  font-size: 0.7rem; font-weight: 800;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0; color: rgba(255,255,255,0.35);
}
.qsp-item--active { background: rgba(184,136,46,0.15); color: var(--gold-bright); }
.qsp-item--active span { background: var(--gold); color: var(--navy); }
.qsp-result {
  display: flex; align-items: center; gap: 10px;
  margin-top: 16px; padding: 14px;
  background: rgba(184,136,46,0.12); border: 1px solid rgba(212,165,68,0.28);
  border-radius: var(--r-sm);
  font-size: 0.84rem; color: var(--gold-bright); font-weight: 700;
  position: relative; z-index: 1;
}

/* ── Quiz wrapper ── */
.quiz-wrapper {
  padding: 34px 32px 48px;
  background: var(--warm-50);
}
@media (max-width: 840px) { .quiz-wrapper { padding: 24px 20px 38px; } }
@media (max-width: 560px) { .quiz-wrapper { padding: 18px 14px 28px; } }

/* ── Quiz layout ── */
.quiz-layout {
  max-width: 1060px; margin: 0 auto;
  display: grid; grid-template-columns: 1fr 320px;
  gap: 26px; align-items: start;
}
@media (max-width: 840px) {
  .quiz-layout { grid-template-columns: 1fr; }
  .quiz-sidebar { display: none; }
}

/* ── Progress bar ── */
.progress-container {
  background: var(--warm-white);
  border-radius: var(--r-md);
  padding: 20px 24px;
  margin-bottom: 20px;
  box-shadow: var(--shadow-xs);
  border: 1px solid var(--border);
}
@media (max-width: 560px) { .progress-container { padding: 14px 16px; } }
.progress-meta {
  display: flex; justify-content: space-between; align-items: center; margin-bottom: 10px;
}
.progress-label {
  font-size: 0.76rem; font-weight: 700; color: var(--text-muted);
  text-transform: uppercase; letter-spacing: 0.07em;
}
.progress-pct { font-size: 0.82rem; font-weight: 800; color: var(--gold); }
.progress-track {
  height: 7px; background: var(--warm-200); border-radius: 100px; overflow: hidden; margin-bottom: 14px;
}
.progress-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--gold) 0%, var(--gold-vivid) 100%);
  border-radius: 100px;
  transition: width 0.48s cubic-bezier(0.4, 0, 0.2, 1);
}
.progress-steps { display: flex; gap: 6px; align-items: center; justify-content: center; }
.progress-dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--warm-200); transition: all 0.3s ease; flex-shrink: 0;
}
.progress-dot.done   { background: var(--gold); }
.progress-dot.active { background: var(--gold-vivid); width: 22px; border-radius: 4px; }

/* ── Step card ── */
.quiz-steps-container { position: relative; }
.quiz-step { animation: stepFadeIn 0.36s cubic-bezier(0.4, 0, 0.2, 1); }
@keyframes stepFadeIn {
  from { opacity: 0; transform: translateX(22px); }
  to   { opacity: 1; transform: translateX(0); }
}
.quiz-step.slide-out { animation: stepFadeOut 0.22s cubic-bezier(0.4,0,0.2,1) forwards; }
@keyframes stepFadeOut {
  from { opacity: 1; transform: translateX(0); }
  to   { opacity: 0; transform: translateX(-16px); }
}
.quiz-step-card {
  background: var(--warm-white);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 32px 30px 28px;
  box-shadow: var(--shadow-sm);
  margin-bottom: 4px;
  position: relative;
  overflow: hidden;
}
.quiz-step-card::before {
  content: '';
  position: absolute; top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--gold) 0%, var(--gold-vivid) 60%, transparent 100%);
  opacity: 0.6;
}
@media (max-width: 560px) { .quiz-step-card { padding: 22px 18px 18px; } }

.step-header { display: flex; align-items: flex-start; gap: 16px; margin-bottom: 26px; }
.step-number {
  flex-shrink: 0; width: 40px; height: 40px;
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-mid) 100%);
  color: #fff; font-weight: 800; font-size: 0.9rem;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  margin-top: 3px;
  box-shadow: 0 3px 10px rgba(12,31,61,0.22);
}
.step-question {
  font-family: var(--font-serif);
  font-size: 1.38rem; font-weight: 700;
  color: var(--text-head); line-height: 1.28;
  letter-spacing: -0.02em; margin-bottom: 5px;
}
@media (max-width: 560px) { .step-question { font-size: 1.18rem; } }
.step-hint { font-size: 0.875rem; color: var(--text-muted); font-weight: 400; }

/* ── Option cards ── */
.options-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.options-grid--list { grid-template-columns: 1fr; }
.options-grid--wide { grid-template-columns: repeat(auto-fill, minmax(175px, 1fr)); }
@media (max-width: 500px) {
  .options-grid { grid-template-columns: 1fr; }
  .options-grid--wide { grid-template-columns: repeat(2, 1fr); }
}
.option-card {
  display: flex; align-items: center; gap: 14px;
  padding: 15px 17px;
  background: var(--warm-white);
  border: 1.5px solid var(--border);
  border-radius: var(--r-md);
  cursor: pointer;
  transition: all var(--ease);
  text-align: left;
  font-size: 0.93rem; font-weight: 500;
  color: var(--text-body);
  box-shadow: var(--shadow-xs);
  width: 100%; position: relative;
}
.option-card:hover {
  border-color: var(--gold);
  background: linear-gradient(135deg, var(--gold-mist) 0%, var(--gold-pale) 100%);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(184,136,46,0.16);
  color: var(--navy);
}
.option-card.selected {
  border-color: var(--gold);
  border-width: 2px;
  background: linear-gradient(135deg, var(--gold-pale) 0%, var(--gold-mist) 100%);
  box-shadow: 0 0 0 3px rgba(184,136,46,0.14), var(--shadow-sm);
  color: var(--navy);
}
.option-card.selected::after {
  content: '\f058';
  font-family: 'Font Awesome 6 Free';
  font-weight: 900;
  position: absolute; top: 12px; right: 14px;
  color: var(--gold); font-size: 0.95rem;
}
.option-card:focus-visible {
  outline: 3px solid var(--gold-bright);
  outline-offset: 2px;
}
.option-icon {
  width: 40px; height: 40px;
  background: var(--warm-100);
  border-radius: var(--r-sm);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.05rem; color: var(--navy);
  flex-shrink: 0; transition: all var(--ease);
}
.option-card:hover .option-icon,
.option-card.selected .option-icon { background: var(--navy); color: var(--gold-bright); }
.option-label { font-weight: 600; line-height: 1.3; }

/* ── Quiz nav ── */
.quiz-nav {
  display: flex; align-items: center; gap: 12px;
  margin-top: 24px; padding: 20px 0 0;
  border-top: 1px solid var(--border);
}
.nav-spacer { flex: 1; }

/* ── Mobile summary drawer ── */
.mobile-summary-toggle {
  display: none;
  align-items: center; gap: 10px;
  margin-top: 20px; padding: 14px 18px;
  background: var(--warm-white); border: 1px solid var(--border);
  border-radius: var(--r-md); cursor: pointer;
  font-size: 0.9rem; font-weight: 600; color: var(--navy);
  transition: all var(--ease); box-shadow: var(--shadow-xs); width: 100%;
}
.mobile-summary-toggle:hover { background: var(--gold-pale); border-color: var(--border-gold); color: var(--gold); }
.mobile-summary-toggle i:last-child { margin-left: auto; transition: transform var(--ease); }
.mobile-summary-toggle.open i:last-child { transform: rotate(180deg); }
@media (min-width: 841px) { .mobile-summary-toggle { display: none !important; } }
.mobile-summary-drawer {
  max-height: 0; overflow: hidden;
  transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}
.mobile-summary-drawer.open { max-height: 600px; }
.summary-drawer-inner {
  background: var(--warm-white); border: 1px solid var(--border);
  border-top: none; border-radius: 0 0 var(--r-md) var(--r-md); padding: 16px;
}

/* ── Sidebar summary panel ── */
.quiz-sidebar { position: sticky; top: 84px; }
.summary-panel {
  background: var(--warm-white); border: 1px solid var(--border);
  border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--shadow-sm);
}
.summary-panel-header {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-mid) 100%);
  color: #fff;
  padding: 16px 20px; display: flex; align-items: center;
  gap: 10px; font-weight: 700; font-size: 0.88rem;
}
.summary-panel-header i { color: var(--gold-bright); }
.summary-items { padding: 16px; min-height: 120px; }
.summary-empty {
  display: flex; flex-direction: column; align-items: center;
  justify-content: center; gap: 10px; padding: 24px 16px;
  text-align: center; color: var(--text-muted); font-size: 0.84rem;
}
.summary-empty i { font-size: 1.8rem; opacity: 0.28; }
.summary-item {
  display: flex; align-items: flex-start; gap: 10px;
  padding: 10px 0; border-bottom: 1px solid var(--warm-100);
  animation: summaryItemIn 0.3s ease;
}
@keyframes summaryItemIn {
  from { opacity: 0; transform: translateX(-8px); }
  to   { opacity: 1; transform: translateX(0); }
}
.summary-item:last-child { border-bottom: none; }
.si-icon {
  width: 30px; height: 30px;
  background: var(--gold-pale); border-radius: 7px;
  display: flex; align-items: center; justify-content: center;
  font-size: 0.75rem; color: var(--gold); flex-shrink: 0; margin-top: 2px;
}
.si-label { font-size: 0.7rem; color: var(--text-muted); font-weight: 700; text-transform: uppercase; letter-spacing: 0.05em; }
.si-value { font-size: 0.87rem; color: var(--text-head); font-weight: 600; margin-top: 1px; }
.live-insight-box {
  margin: 0 16px 16px; padding: 14px 16px;
  background: linear-gradient(135deg, var(--gold-pale) 0%, var(--gold-mist) 100%);
  border: 1px solid var(--gold-light); border-radius: var(--r-md);
  animation: insightIn 0.4s ease;
}
@keyframes insightIn { from { opacity: 0; transform: scale(0.97); } to { opacity: 1; transform: scale(1); } }
.insight-label {
  display: flex; align-items: center; gap: 7px;
  font-size: 0.7rem; font-weight: 800; text-transform: uppercase;
  letter-spacing: 0.07em; color: var(--gold); margin-bottom: 6px;
}
.insight-text { font-size: 0.84rem; color: #6b4c10; font-weight: 500; line-height: 1.55; }
.summary-panel-footer {
  padding: 12px 16px; background: var(--warm-100);
  border-top: 1px solid var(--border);
  display: flex; align-items: center; gap: 8px;
  font-size: 0.7rem; color: var(--text-muted);
}
.summary-panel-footer i { color: var(--gold); opacity: 0.65; }

/* ════════════════════════════════
   LEAD CAPTURE GATE
════════════════════════════════ */
.lead-gate-inline {
  background: linear-gradient(160deg, var(--navy) 0%, var(--navy-mid) 60%, #1a3c66 100%);
  padding: 64px 52px;
  position: relative; overflow: hidden;
}
.lead-gate-inline::before {
  content: '';
  position: absolute; top: -60px; right: -60px;
  width: 360px; height: 360px;
  background: radial-gradient(circle, rgba(184,136,46,0.12) 0%, transparent 70%);
  pointer-events: none;
}
@media (max-width: 560px) { .lead-gate-inline { padding: 36px 20px; } }
.lead-gate-inline .lead-gate-inner {
  max-width: 1020px; margin: 0 auto;
  display: grid; grid-template-columns: 1fr 460px;
  gap: 56px; align-items: start;
  position: relative; z-index: 1;
}
@media (max-width: 960px)  { .lead-gate-inline .lead-gate-inner { grid-template-columns: 1fr 400px; gap: 36px; } }
@media (max-width: 860px)  { .lead-gate-inline .lead-gate-inner { grid-template-columns: 1fr; gap: 32px; } }

.lead-gate-badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(184,136,46,0.15); border: 1px solid rgba(212,165,68,0.35);
  color: var(--gold-bright); font-size: 0.74rem; font-weight: 700;
  padding: 6px 16px; border-radius: 100px; margin-bottom: 20px;
  letter-spacing: 0.07em; text-transform: uppercase;
}
.lead-gate-title {
  font-family: var(--font-serif);
  font-size: clamp(1.7rem, 4vw, 2.4rem);
  font-weight: 700; color: #fff; line-height: 1.18;
  letter-spacing: -0.025em; margin-bottom: 16px;
}
.lead-gate-body {
  font-size: 1rem; color: rgba(255,255,255,0.65);
  line-height: 1.78; margin-bottom: 28px; max-width: 420px;
}
.lead-gate-features { display: flex; flex-direction: column; gap: 10px; margin-bottom: 30px; }
.lgf-item {
  display: flex; align-items: center; gap: 11px;
  font-size: 0.9rem; color: rgba(255,255,255,0.72); font-weight: 500;
}
.lgf-item i { color: var(--gold-bright); }

/* Answer recap */
.answer-recap { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 26px; }
.answer-tag {
  display: inline-flex; align-items: center; gap: 6px;
  background: rgba(184,136,46,0.14); border: 1px solid rgba(212,165,68,0.26);
  color: var(--gold-bright); font-size: 0.76rem; font-weight: 600;
  padding: 5px 13px; border-radius: 100px;
}
.answer-tag i { font-size: 0.68rem; }

/* Score preview teaser */
.score-preview-card {
  background: rgba(255,255,255,0.04); border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--r-md); padding: 20px 22px; backdrop-filter: blur(8px);
}
.spc-label {
  font-size: 0.7rem; font-weight: 700; text-transform: uppercase;
  letter-spacing: 0.08em; color: rgba(255,255,255,0.36); margin-bottom: 14px;
}
.spc-blur-row { display: flex; align-items: center; gap: 12px; margin-bottom: 10px; }
.spc-blur-bar { height: 22px; flex: 1; background: rgba(255,255,255,0.10); border-radius: 6px; filter: blur(6px); }
.spc-blur-badge { width: 90px; height: 28px; background: rgba(184,136,46,0.2); border-radius: 6px; filter: blur(5px); }
.spc-blur-text { height: 14px; width: 70%; background: rgba(255,255,255,0.07); border-radius: 4px; filter: blur(5px); }

/* Lead form */
.lead-gate-right {
  background: var(--warm-white);
  border-radius: var(--r-xl);
  padding: 40px 36px;
  box-shadow: var(--shadow-xl);
  border: 1px solid var(--border);
  position: relative; overflow: hidden;
}
.lead-gate-right::before {
  content: '';
  position: absolute; top: 0; left: 0; right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--gold), var(--gold-vivid), var(--gold));
}
@media (max-width: 500px) { .lead-gate-right { padding: 28px 20px; } }
.lead-form { display: flex; flex-direction: column; gap: 18px; }
.form-row { display: flex; flex-direction: column; gap: 6px; }
.form-row--half { flex-direction: row; gap: 14px; }
.form-row--half .form-group { flex: 1; }
@media (max-width: 460px) { .form-row--half { flex-direction: column; } }
.form-group { display: flex; flex-direction: column; gap: 6px; }
.form-group label { font-size: 0.84rem; font-weight: 600; color: var(--text-head); }
.req { color: #b83030; font-size: 0.78rem; }
.form-group input {
  padding: 12px 15px; border: 1.5px solid var(--border);
  border-radius: var(--r-sm); font-size: 0.94rem;
  color: var(--text-body); background: var(--warm-50);
  transition: all var(--ease); outline: none;
}
.form-group input:focus {
  border-color: var(--gold); background: var(--warm-white);
  box-shadow: 0 0 0 3px rgba(184,136,46,0.13);
}
.form-group input.error { border-color: #b83030; background: #fff5f5; }
.field-error { font-size: 0.76rem; color: #b83030; font-weight: 500; min-height: 16px; display: block; }

/* Radio contact method */
.contact-method-group { display: flex; gap: 10px; flex-wrap: wrap; }
.radio-card { flex: 1; min-width: 80px; cursor: pointer; }
.radio-card input[type="radio"] { display: none; }
.radio-card span {
  display: flex; align-items: center; justify-content: center; gap: 7px;
  padding: 11px 10px; border: 1.5px solid var(--border);
  border-radius: var(--r-sm); font-size: 0.84rem; font-weight: 600;
  color: var(--text-mid); background: var(--warm-50);
  transition: all var(--ease); cursor: pointer; text-align: center;
}
.radio-card input[type="radio"]:checked + span {
  border-color: var(--gold); border-width: 2px;
  background: var(--gold-pale); color: var(--gold);
  box-shadow: 0 0 0 2px rgba(184,136,46,0.12);
}

/* Consent */
.consent-label { display: flex; align-items: flex-start; gap: 12px; cursor: pointer; }
.consent-label input[type="checkbox"] {
  width: 18px; height: 18px; flex-shrink: 0; margin-top: 2px;
  accent-color: var(--gold); cursor: pointer;
}
.consent-text { font-size: 0.81rem; color: var(--text-mid); line-height: 1.55; }
.form-privacy {
  display: flex; align-items: center; justify-content: center; gap: 7px;
  font-size: 0.75rem; color: var(--text-muted); text-align: center;
}
.form-privacy i { color: var(--gold); opacity: 0.65; }

/* ════════════════════════════════
   RESULT SCREEN
════════════════════════════════ */
.result-screen-inline {
  padding: 56px 52px 64px;
  background: linear-gradient(160deg, var(--cream) 0%, var(--warm-50) 100%);
}
@media (max-width: 560px) { .result-screen-inline { padding: 26px 16px 40px; } }
.result-screen-inline .result-inner {
  max-width: 1060px; margin: 0 auto;
  display: grid; grid-template-columns: 1fr 380px;
  gap: 26px; align-items: start;
}
@media (max-width: 860px) { .result-screen-inline .result-inner { grid-template-columns: 1fr; } }

/* Result card */
.result-card {
  background: var(--warm-white);
  border-radius: var(--r-xl);
  padding: 40px 36px;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border);
  margin-bottom: 22px;
  animation: resultCardIn 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative; overflow: hidden;
}
.result-card::before {
  content: '';
  position: absolute; top: 0; left: 0; right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--gold), var(--gold-vivid), var(--gold-bright));
}
@media (max-width: 560px) { .result-card { padding: 26px 20px; } }
@keyframes resultCardIn {
  from { opacity: 0; transform: translateY(22px) scale(0.98); }
  to   { opacity: 1; transform: translateY(0) scale(1); }
}
.result-steps-completed {
  display: inline-flex; align-items: center; gap: 7px;
  font-size: 0.78rem; font-weight: 600; color: var(--text-muted); margin-bottom: 20px;
}
.result-steps-completed i { color: var(--sage-dark); }
.result-badge {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 0.72rem; font-weight: 800;
  text-transform: uppercase; letter-spacing: 0.11em;
  padding: 7px 16px; border-radius: 100px; margin-bottom: 20px;
}
.result-badge.ready  { background: var(--sage); color: var(--sage-text); border: 1px solid var(--sage-mid); }
.result-badge.almost { background: var(--amber); color: var(--amber-dark); border: 1px solid var(--amber-mid); }
.result-badge.early  { background: var(--sky); color: var(--sky-text); border: 1px solid var(--sky-mid); }
.result-title {
  font-family: var(--font-serif);
  font-size: clamp(1.5rem, 3.5vw, 2.1rem);
  font-weight: 700; color: var(--text-head);
  letter-spacing: -0.025em; line-height: 1.18; margin-bottom: 16px;
}
.result-explanation { font-size: 1rem; color: var(--text-mid); line-height: 1.78; margin-bottom: 26px; }

/* Score meter */
.score-meter {
  display: flex; align-items: center; gap: 14px;
  margin-bottom: 26px; padding: 18px 20px;
  background: var(--warm-100); border-radius: var(--r-md); border: 1px solid var(--border);
}
.score-meter-label {
  font-size: 0.75rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.07em;
  color: var(--text-muted); white-space: nowrap;
}
.score-meter-track {
  flex: 1; height: 10px; background: var(--warm-200);
  border-radius: 100px; overflow: hidden;
}
.score-meter-fill {
  height: 100%; border-radius: 100px; width: 0%;
  transition: width 0.85s cubic-bezier(0.4,0,0.2,1) 0.3s;
}
.score-meter-fill.ready  { background: linear-gradient(90deg, var(--sage-dark), var(--sage-mid)); }
.score-meter-fill.almost { background: linear-gradient(90deg, var(--gold), var(--gold-vivid)); }
.score-meter-fill.early  { background: linear-gradient(90deg, var(--sky-dark), var(--sky-mid)); }
.score-meter-value { font-size: 0.82rem; font-weight: 800; color: var(--text-head); white-space: nowrap; }

/* Next step */
.result-next-step {
  background: var(--warm-100); border-left: 4px solid var(--gold);
  border-radius: 0 var(--r-md) var(--r-md) 0;
  padding: 16px 20px; margin-bottom: 26px;
}
.rns-label {
  display: flex; align-items: center; gap: 8px;
  font-size: 0.72rem; font-weight: 800; text-transform: uppercase;
  letter-spacing: 0.08em; color: var(--gold); margin-bottom: 8px;
}
.rns-text { font-size: 0.95rem; font-weight: 600; color: var(--text-head); line-height: 1.55; }

/* Borrower tip */
.result-borrower-tip {
  background: linear-gradient(135deg, var(--gold-pale) 0%, var(--gold-mist) 100%);
  border: 1px solid var(--gold-light); border-radius: var(--r-md);
  padding: 16px 20px; margin-bottom: 28px;
  font-size: 0.875rem; color: var(--text-body); line-height: 1.68; display: none;
}
.result-borrower-tip.show { display: block; animation: resultCardIn 0.4s ease; }
.result-borrower-tip strong { color: var(--gold); }

/* CTA group */
.result-cta-group { display: flex; flex-direction: column; gap: 12px; }
.btn-result-cta { font-size: 1.02rem; padding: 16px 28px; }
.result-reassurance {
  display: flex; align-items: center; gap: 8px;
  font-size: 0.81rem; color: var(--text-muted);
  padding: 0 4px; line-height: 1.55;
}
.result-reassurance i { color: var(--gold); opacity: 0.65; flex-shrink: 0; }

/* Score breakdown */
.score-breakdown {
  background: var(--warm-white); border-radius: var(--r-lg);
  padding: 28px 30px; box-shadow: var(--shadow-sm); border: 1px solid var(--border);
  animation: resultCardIn 0.55s 0.1s cubic-bezier(0.4, 0, 0.2, 1) both;
}
@media (max-width: 560px) { .score-breakdown { padding: 20px 18px; } }
.sbd-header {
  display: flex; align-items: center; gap: 10px;
  font-weight: 700; font-size: 0.9rem; color: var(--text-head);
  margin-bottom: 18px; padding-bottom: 14px; border-bottom: 1px solid var(--border);
}
.sbd-header i { color: var(--gold); }
.sbd-items { display: flex; flex-direction: column; gap: 13px; margin-bottom: 16px; }
.sbd-item { display: flex; align-items: center; gap: 12px; }
.sbd-label { font-size: 0.82rem; color: var(--text-mid); font-weight: 500; flex: 1; min-width: 80px; }
.sbd-value { font-size: 0.76rem; font-weight: 700; color: var(--text-head); text-align: right; min-width: 90px; }
.sbd-bar-wrap { flex: 2; height: 6px; background: var(--warm-200); border-radius: 3px; overflow: hidden; }
.sbd-bar-fill {
  height: 100%; border-radius: 3px;
  background: linear-gradient(90deg, var(--gold) 0%, var(--gold-vivid) 100%);
  transition: width 0.65s ease 0.5s;
}
.sbd-disclaimer { font-size: 0.73rem; color: var(--text-muted); line-height: 1.58; }

/* Booking section */
.booking-section {
  background: var(--warm-white); border-radius: var(--r-xl); overflow: hidden;
  box-shadow: var(--shadow-lg); border: 1px solid var(--border);
  animation: resultCardIn 0.5s 0.15s cubic-bezier(0.4, 0, 0.2, 1) both;
}
.booking-header {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-mid) 100%);
  padding: 28px 30px;
  display: flex; align-items: flex-start; gap: 16px; color: #fff;
  position: relative; overflow: hidden;
}
.booking-header::after {
  content: '';
  position: absolute; top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--gold), var(--gold-vivid));
}
@media (max-width: 560px) { .booking-header { padding: 20px 22px; } }
.booking-header i { font-size: 1.4rem; color: var(--gold-bright); margin-top: 2px; flex-shrink: 0; }
.booking-header h3 { font-size: 1.08rem; font-weight: 700; margin-bottom: 5px; }
.booking-header p { font-size: 0.84rem; color: rgba(255,255,255,0.58); }
.booking-embed-placeholder { padding: 32px 28px; border-bottom: 1px solid var(--border); }
@media (max-width: 560px) { .booking-embed-placeholder { padding: 20px 16px; } }
.bep-inner {
  border: 2px dashed var(--border-warm);
  border-radius: var(--r-md); padding: 34px 24px;
  text-align: center; background: var(--warm-50);
  display: flex; flex-direction: column; align-items: center; gap: 10px;
}
.bep-icon { font-size: 2.5rem; color: var(--gold); opacity: 0.4; }
.bep-label { font-weight: 700; color: var(--text-head); font-size: 1rem; }
.bep-hint { font-size: 0.8rem; color: var(--text-muted); line-height: 1.58; max-width: 300px; }
.bep-inner .btn-primary { margin-top: 6px; }
.contact-us-fallback {
  padding: 20px 28px; display: flex; align-items: center;
  justify-content: space-between; gap: 16px; flex-wrap: wrap;
}
@media (max-width: 560px) { .contact-us-fallback { flex-direction: column; align-items: flex-start; } }
.cuf-label { font-size: 0.87rem; font-weight: 500; color: var(--text-mid); }
.early-stage-prompt { padding: 20px 28px; border-top: 1px solid var(--border); }
.esp-inner {
  display: flex; align-items: flex-start; gap: 14px;
  background: var(--sky); border-radius: var(--r-md); padding: 18px;
  border: 1px solid var(--sky-mid);
}
.esp-inner > i { color: var(--sky-dark); font-size: 1.3rem; margin-top: 2px; flex-shrink: 0; }
.esp-title { font-weight: 700; font-size: 0.9rem; color: var(--text-head); margin-bottom: 4px; }
.esp-body { font-size: 0.83rem; color: var(--text-mid); margin-bottom: 12px; line-height: 1.58; }
.callback-success {
  padding: 36px 28px; text-align: center;
  background: linear-gradient(135deg, var(--sage) 0%, #c8e4c8 100%);
  border: 1px solid var(--sage-mid);
  display: flex; flex-direction: column; align-items: center; gap: 10px;
  border-radius: var(--r-xl); box-shadow: var(--shadow-md);
  animation: resultCardIn 0.4s ease;
}
.callback-success i { font-size: 2.5rem; color: var(--sage-dark); }
.callback-success h4 { font-family: var(--font-serif); font-size: 1.15rem; font-weight: 700; color: var(--text-head); }
.callback-success p { font-size: 0.88rem; color: var(--text-mid); }
.result-reset { display: flex; justify-content: center; margin-top: 34px; }

/* ════════════════════════════════
   WHY SORTED
════════════════════════════════ */
.why-sorted-section {
  padding: 112px 0;
  background: var(--cream);
  position: relative; overflow: hidden;
}
.why-sorted-section::before {
  content: '';
  position: absolute; top: 0; right: 0;
  width: 400px; height: 400px;
  background: radial-gradient(circle, rgba(252,238,232,0.8) 0%, transparent 70%);
  pointer-events: none;
}
.why-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px;
}
@media (max-width: 900px) { .why-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 540px) { .why-grid { grid-template-columns: 1fr; } }

/* Cards get alternating pastel icon backgrounds */
.why-card {
  background: var(--warm-white); border: 1px solid var(--border);
  border-radius: var(--r-xl); padding: 32px 28px;
  display: flex; flex-direction: column; gap: 14px;
  transition: transform var(--ease), box-shadow var(--ease);
  position: relative; overflow: hidden;
}
.why-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); }
.why-card:nth-child(1) .why-icon { background: var(--blush); color: var(--blush-text); border-color: var(--blush-mid); }
.why-card:nth-child(2) .why-icon { background: var(--gold-pale); color: var(--gold); border-color: var(--gold-light); }
.why-card:nth-child(3) .why-icon { background: var(--sage); color: var(--sage-text); border-color: var(--sage-mid); }
.why-card:nth-child(4) .why-icon { background: var(--lavender); color: var(--lavender-text); border-color: var(--lavender-mid); }
.why-card:nth-child(5) .why-icon { background: var(--sky); color: var(--sky-text); border-color: var(--sky-mid); }
.why-card:nth-child(6) .why-icon { background: var(--amber); color: var(--amber-dark); border-color: var(--amber-mid); }
.why-icon {
  width: 52px; height: 52px;
  border: 1px solid var(--gold-light);
  border-radius: var(--r-md);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.25rem;
  flex-shrink: 0;
  transition: transform var(--ease-bounce);
}
.why-card:hover .why-icon { transform: scale(1.08) rotate(-3deg); }
.why-card h3 {
  font-family: var(--font-serif);
  font-size: 1.05rem; font-weight: 700;
  color: var(--text-head); letter-spacing: -0.01em;
}
.why-card p { font-size: 0.875rem; color: var(--text-mid); line-height: 1.72; }

/* ════════════════════════════════
   FAQ
════════════════════════════════ */
.faq-section {
  padding: 112px 0;
  background: var(--warm-white);
  position: relative;
}
.faq-section::before {
  content: '';
  position: absolute; bottom: 0; left: 0; right: 0;
  height: 200px;
  background: linear-gradient(to top, var(--cream), transparent);
  pointer-events: none;
}
.faq-inner {
  display: grid; grid-template-columns: 340px 1fr;
  gap: 80px; align-items: start;
  position: relative; z-index: 1;
}
@media (max-width: 860px) { .faq-inner { grid-template-columns: 1fr; gap: 36px; } }
.faq-cta-aside { margin-top: 32px; display: flex; flex-direction: column; gap: 14px; }
.faq-cta-aside p { font-size: 0.87rem; color: var(--text-muted); line-height: 1.65; }
.faq-list { display: flex; flex-direction: column; }
.faq-item { border-bottom: 1px solid var(--border); }
.faq-item:first-child { border-top: 1px solid var(--border); }
.faq-question {
  width: 100%; display: flex; align-items: center;
  justify-content: space-between; gap: 16px;
  padding: 22px 0; font-size: 0.97rem; font-weight: 600;
  color: var(--text-head); text-align: left;
  cursor: pointer; background: none; border: none;
  transition: color var(--ease);
}
.faq-question:hover { color: var(--gold); }
.faq-chevron {
  width: 28px; height: 28px; flex-shrink: 0;
  background: var(--warm-100); border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 0.75rem; color: var(--text-muted);
  transition: all var(--ease);
}
.faq-item.open .faq-chevron { transform: rotate(180deg); background: var(--gold-pale); color: var(--gold); }
.faq-item.open .faq-question { color: var(--gold); }
.faq-answer { max-height: 0; overflow: hidden; transition: max-height 0.38s cubic-bezier(0.4, 0, 0.2, 1); }
.faq-answer p { padding: 0 0 22px; font-size: 0.92rem; color: var(--text-mid); line-height: 1.78; }

/* ════════════════════════════════
   FINAL CTA
════════════════════════════════ */
.final-cta-section {
  padding: 112px 32px;
  background: linear-gradient(160deg, var(--navy) 0%, #0e2448 50%, #0d1e3a 100%);
  text-align: center; position: relative; overflow: hidden;
}
.final-cta-section::before {
  content: '';
  position: absolute; top: -140px; left: 50%;
  transform: translateX(-50%);
  width: 760px; height: 760px;
  background: radial-gradient(circle, rgba(212,180,131,0.20) 0%, transparent 65%);
  pointer-events: none;
  animation: floatY 12s ease-in-out infinite;
}
.final-cta-section::after {
  content: '';
  position: absolute; bottom: -60px; right: -80px;
  width: 400px; height: 400px;
  background: radial-gradient(circle, rgba(232,202,154,0.10) 0%, transparent 65%);
  pointer-events: none;
  animation: floatY 16s ease-in-out infinite reverse;
}
.final-cta-inner {
  max-width: 660px; margin: 0 auto; position: relative; z-index: 1;
}
.fcs-badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(212,180,131,0.16); border: 1px solid rgba(232,202,154,0.32);
  color: var(--gold-bright); font-size: 0.74rem; font-weight: 700;
  padding: 7px 16px; border-radius: 100px; margin-bottom: 28px;
  letter-spacing: 0.07em; text-transform: uppercase;
  animation: badgePulse 4s ease-in-out infinite;
}
.fcs-badge i { color: var(--gold-bright); }
.fcs-title {
  font-family: var(--font-serif);
  font-size: clamp(2.1rem, 4.5vw, 3.3rem);
  font-weight: 700; color: #fff;
  letter-spacing: -0.03em; line-height: 1.1; margin-bottom: 20px;
}
.fcs-subtitle { font-size: 1.06rem; color: rgba(255,255,255,0.58); line-height: 1.78; margin-bottom: 40px; }
.btn-fcs {
  font-size: 1.12rem; padding: 18px 40px;
  margin-bottom: 14px;
  background: linear-gradient(135deg, var(--gold) 0%, var(--gold-bright) 50%, var(--gold-vivid) 100%);
  color: var(--navy);
  box-shadow: 0 12px 36px rgba(212,180,131,0.48), 0 4px 12px rgba(212,180,131,0.26);
  font-weight: 800;
  animation: goldGlowPulse 2.6s ease-in-out infinite;
  position: relative; overflow: hidden;
}
.btn-fcs::before {
  content: '';
  position: absolute; top: 0; left: -80%;
  width: 55%; height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.22), transparent);
  transform: skewX(-15deg);
  pointer-events: none;
}
.btn-fcs:hover::before { animation: shimmer 0.65s ease forwards; }
.btn-fcs:hover {
  background: linear-gradient(135deg, var(--gold-bright) 0%, var(--gold-vivid) 100%);
  color: var(--navy);
  box-shadow: 0 18px 52px rgba(212,180,131,0.60), 0 5px 18px rgba(212,180,131,0.32);
  animation: none;
  transform: translateY(-2px);
}
.fcs-note { font-size: 0.74rem; color: rgba(255,255,255,0.28); margin-bottom: 48px; }
.fcs-trust-row {
  display: flex; align-items: center; justify-content: center;
  flex-wrap: wrap; gap: 8px 30px;
  border-top: 1px solid rgba(255,255,255,0.07); padding-top: 36px;
}
.fcs-trust-item {
  display: flex; align-items: center; gap: 8px;
  font-size: 0.82rem; font-weight: 600; color: rgba(255,255,255,0.45);
}
.fcs-trust-item i { color: var(--gold-bright); opacity: 0.75; }

/* ════════════════════════════════
   FOOTER
════════════════════════════════ */
.site-footer { background: #07101f; padding: 0; }
.footer-inner { max-width: 1120px; margin: 0 auto; padding: 0 32px; }
.footer-top {
  display: grid; grid-template-columns: 300px 1fr;
  gap: 72px; padding: 76px 0 56px;
  border-bottom: 1px solid rgba(255,255,255,0.04);
}
@media (max-width: 768px) { .footer-top { grid-template-columns: 1fr; gap: 48px; } }
.footer-logo { display: flex; align-items: center; gap: 0; margin-bottom: 18px; }
.footer-logo-img {
  height: 90px;
  width: auto;
  display: block;
  filter: none;
  opacity: 1;
  transition: opacity var(--ease);
}
.footer-logo-img:hover { opacity: 1; }
/* Legacy icon/text hidden — image replaces */
.footer-logo-icon, .footer-logo-text { display: none; }
.footer-brand-desc { font-size: 0.84rem; color: rgba(255,255,255,0.30); line-height: 1.72; margin-bottom: 20px; }
.footer-website {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 0.82rem; font-weight: 600; color: var(--gold);
  text-decoration: none; opacity: 0.75;
}
.footer-website:hover { opacity: 1; color: var(--gold-bright); text-decoration: none; }
.footer-links { display: grid; grid-template-columns: repeat(3, 1fr); gap: 36px; }
@media (max-width: 540px) { .footer-links { grid-template-columns: repeat(2, 1fr); } }
.footer-col { display: flex; flex-direction: column; gap: 10px; }
.footer-col h4 {
  font-size: 0.7rem; font-weight: 700; text-transform: uppercase;
  letter-spacing: 0.1em; color: rgba(255,255,255,0.24); margin-bottom: 6px;
}
.footer-col a {
  font-size: 0.875rem; color: rgba(255,255,255,0.38); text-decoration: none;
  transition: color var(--ease); font-weight: 500;
}
.footer-col a:hover { color: rgba(255,255,255,0.86); text-decoration: none; }
/* ── Footer social icons ── */
.footer-socials {
  display: flex; align-items: center; gap: 12px;
  margin-bottom: 20px;
}
.footer-social-link {
  width: 36px; height: 36px;
  border-radius: 50%;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.10);
  display: flex; align-items: center; justify-content: center;
  color: rgba(255,255,255,0.45);
  font-size: 0.9rem;
  text-decoration: none;
  transition: all var(--ease);
  flex-shrink: 0;
}
.footer-social-link:hover {
  background: rgba(212,180,131,0.18);
  border-color: rgba(212,180,131,0.35);
  color: var(--gold-vivid);
  transform: translateY(-2px);
  text-decoration: none;
  box-shadow: 0 4px 14px rgba(212,180,131,0.25);
}

.footer-bottom { padding: 32px 0; display: flex; flex-direction: column; gap: 12px; }
.footer-disclaimer { font-size: 0.73rem; color: rgba(255,255,255,0.18); line-height: 1.78; }
.footer-legal-links {
  display: flex; align-items: center; flex-wrap: wrap; gap: 6px 0;
  font-size: 0.76rem;
}
.footer-legal-links a {
  color: rgba(255,255,255,0.35); text-decoration: none; font-weight: 500;
  transition: color var(--ease); padding: 0 2px;
}
.footer-legal-links a:hover { color: var(--gold-bright); text-decoration: none; }
.footer-legal-sep { color: rgba(255,255,255,0.15); padding: 0 10px; }
.footer-copy {
  font-size: 0.7rem; color: rgba(255,255,255,0.12); line-height: 1.75;
}

/* ════════════════════════════════
   UTILITY / ACCESSIBILITY
════════════════════════════════ */
.visually-hidden {
  position: absolute; width: 1px; height: 1px;
  overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap;
}
:focus-visible {
  outline: 3px solid var(--gold-bright);
  outline-offset: 2px; border-radius: 4px;
}

/* ════════════════════════════════
   SCROLL-REVEAL UTILITY
════════════════════════════════ */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.65s cubic-bezier(0.4,0,0.2,1),
              transform 0.65s cubic-bezier(0.4,0,0.2,1);
}
.reveal.is-visible { opacity: 1; transform: translateY(0); }
.reveal-delay-1 { transition-delay: 0.10s; }
.reveal-delay-2 { transition-delay: 0.22s; }
.reveal-delay-3 { transition-delay: 0.34s; }
.reveal-delay-4 { transition-delay: 0.48s; }

/* ════════════════════════════════
   GLOBAL RESPONSIVE
════════════════════════════════ */
@media (max-width: 640px) {
  .section-subtitle { margin-bottom: 36px; }
  .testimonials-section,
  .how-it-works-section,
  .for-who-section,
  .why-sorted-section,
  .faq-section { padding: 72px 0; }
  .quiz-section { padding: 64px 0 56px; }
  .final-cta-section { padding: 72px 20px; }
}
