/* Evermont Capital v2 */
/* ============================================================
   EVERMONT CAPITAL v2 — Full Design System
   ============================================================ */

/* 1. CUSTOM PROPERTIES */
:root {
  --bg-deep:    #050d1a;
  --bg-dark:    #080f1e;
  --navy:       #0e1f3c;
  --navy-mid:   #152643;
  --gold:       #b8963e;
  --gold-light: #d4a843;
  --gold-dim:   rgba(184,150,62,.12);
  --gold-border:rgba(184,150,62,.30);
  --white:      #ffffff;
  --cream:      #fdfaf5;
  --off-white:  #f8f6f2;
  --gray-50:    #f4f2ef;
  --gray-100:   #e8e4de;
  --gray-200:   #d4cfc8;
  --gray-300:   #c5bfb6;
  --gray-400:   #9e9790;
  --gray-500:   #736d66;
  --gray-900:   #1a1612;

  --font-display: 'Playfair Display', Georgia, serif;
  --font-sans:    'Inter', system-ui, -apple-system, sans-serif;

  --radius-xs:   6px;
  --radius-sm:   10px;
  --radius-md:   16px;
  --radius-lg:   24px;
  --radius-xl:   32px;
  --radius-full: 100px;

  --shadow-sm: 0 1px 3px rgba(0,0,0,.06), 0 1px 2px rgba(0,0,0,.04);
  --shadow-md: 0 4px 16px rgba(0,0,0,.08), 0 2px 6px rgba(0,0,0,.04);
  --shadow-lg: 0 12px 40px rgba(0,0,0,.12), 0 4px 16px rgba(0,0,0,.06);
  --shadow-xl: 0 24px 64px rgba(0,0,0,.18), 0 8px 24px rgba(0,0,0,.08);
  --shadow-gold: 0 8px 32px rgba(184,150,62,.28);

  --ease: cubic-bezier(0.4, 0, 0.2, 1);
  --transition:      200ms cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: 400ms cubic-bezier(0.4, 0, 0.2, 1);
}

/* 2. RESET */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font-sans);
  background: var(--white);
  color: var(--gray-900);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; color: inherit; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }

/* 3. LAYOUT */
.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.section     { padding: 96px 0; }
.section--lg { padding: 120px 0; }
.section--sm { padding: 64px 0; }

/* 4. TYPOGRAPHY PRIMITIVES */
.section-tag {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: .72rem; font-weight: 700; letter-spacing: .14em;
  text-transform: uppercase; color: var(--gold);
  margin-bottom: 16px;
}
.section-tag::before {
  content: ''; width: 20px; height: 2px;
  background: var(--gold); border-radius: 2px; flex-shrink: 0;
}
.section-title {
  font-family: var(--font-display);
  font-size: clamp(1.9rem, 3.5vw, 2.8rem);
  font-weight: 700; line-height: 1.15;
  color: var(--gray-900); margin-bottom: 16px;
}
.section-sub {
  font-size: 1.05rem; color: var(--gray-500);
  line-height: 1.75; max-width: 580px;
}
.section-header         { margin-bottom: 56px; }
.section-header--center { text-align: center; }
.section-header--center .section-tag { justify-content: center; }
.section-header--center .section-sub { margin: 0 auto; }

/* 5. BUTTONS */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font-family: var(--font-sans); font-size: .92rem; font-weight: 600;
  padding: 14px 28px; border-radius: var(--radius-full);
  border: 1.5px solid transparent;
  transition: transform var(--transition), box-shadow var(--transition),
              background var(--transition), border-color var(--transition),
              color var(--transition);
  cursor: pointer; position: relative; overflow: hidden; white-space: nowrap;
  text-decoration: none;
}
.btn--primary {
  background: linear-gradient(135deg, #b8963e 0%, #d4a843 50%, #b8963e 100%);
  background-size: 200% 100%;
  color: var(--white);
  box-shadow: 0 4px 20px rgba(184,150,62,.32);
  animation: btnShimmer 4s ease infinite;
}
.btn--primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 36px rgba(184,150,62,.5);
}
.btn--primary:active { transform: translateY(0); }

@keyframes btnShimmer {
  0%,100% { background-position: 0% 50%; }
  50%      { background-position: 100% 50%; }
}

.btn--secondary {
  background: var(--white); color: var(--navy);
  border-color: var(--gray-200); box-shadow: var(--shadow-sm);
}
.btn--secondary:hover { border-color: var(--gold); color: var(--gold); transform: translateY(-1px); }

.btn--ghost {
  background: transparent; color: var(--white);
  border-color: rgba(255,255,255,.32);
}
.btn--ghost:hover { background: rgba(255,255,255,.1); border-color: rgba(255,255,255,.7); }

.btn--ghost-dark {
  background: transparent; color: var(--navy);
  border-color: var(--gray-200);
}
.btn--ghost-dark:hover { border-color: var(--navy); background: var(--navy); color: var(--white); }

.btn--lg { padding: 17px 36px; font-size: 1rem; }
.btn--sm { padding: 10px 20px; font-size: .83rem; }

/* 6. NAVIGATION */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  transition: background var(--transition-slow), box-shadow var(--transition-slow);
  background: transparent;
}
.nav.scrolled {
  background: rgba(255,255,255,.96);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: 0 1px 0 var(--gray-100);
}
/* light-hero pages: nav links dark even before scroll */
body[data-hero="light"] .nav:not(.scrolled) .nav__link     { color: var(--gray-500); }
body[data-hero="light"] .nav:not(.scrolled) .nav__logo-wordmark { color: var(--navy); }
body[data-hero="light"] .nav:not(.scrolled) .nav__hamburger span { background: var(--navy); }
body[data-hero="light"] .nav:not(.scrolled) .btn--nav-cta  { box-shadow: 0 2px 12px rgba(184,150,62,.2); }

.nav__inner {
  display: flex; align-items: center; justify-content: space-between; height: 72px;
}
.nav__logo {
  display: flex; align-items: center; gap: 10px;
}
.nav__logo-icon { width: 36px; height: 36px; object-fit: contain; }
.nav__logo-wordmark {
  font-size: .65rem; font-weight: 800; letter-spacing: .18em;
  line-height: 1.4; color: var(--white);
  transition: color var(--transition-slow);
}
.nav__logo-wordmark span { color: var(--gold); }
.nav.scrolled .nav__logo-wordmark { color: var(--navy); }

.nav__center { display: flex; align-items: center; gap: 4px; }
.nav__link {
  padding: 8px 14px; border-radius: 8px;
  font-size: .875rem; font-weight: 500; color: rgba(255,255,255,.82);
  transition: var(--transition); display: flex; align-items: center; gap: 6px;
  background: none; border: none; cursor: pointer; font-family: inherit;
}
.nav__link:hover, .nav__link.active { color: var(--white); background: rgba(255,255,255,.1); }
.nav.scrolled .nav__link           { color: var(--gray-500); }
.nav.scrolled .nav__link:hover,
.nav.scrolled .nav__link.active    { color: var(--navy); background: var(--gray-50); }

/* Dropdown */
.nav__dropdown { position: relative; }
.nav__dropdown-menu {
  position: absolute; top: calc(100% + 8px); left: 50%;
  transform: translateX(-50%) translateY(-6px);
  background: var(--white); border-radius: var(--radius-md);
  box-shadow: var(--shadow-xl); border: 1px solid var(--gray-100);
  padding: 8px; min-width: 180px;
  opacity: 0; pointer-events: none;
  transition: opacity var(--transition), transform var(--transition);
}
.nav__dropdown.open .nav__dropdown-menu {
  opacity: 1; pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}
.nav__dropdown-item {
  display: block; padding: 10px 14px; font-size: .875rem;
  color: var(--gray-500); border-radius: 8px;
  transition: var(--transition); font-weight: 500;
}
.nav__dropdown-item:hover  { background: var(--gray-50); color: var(--navy); }
.nav__dropdown-item.active { color: var(--gold); font-weight: 600; }

.btn--nav-cta {
  font-size: .83rem; font-weight: 700; padding: 9px 20px;
  background: linear-gradient(135deg, var(--gold), var(--gold-light));
  color: var(--white); border-radius: var(--radius-full);
  box-shadow: 0 2px 14px rgba(184,150,62,.35);
  transition: var(--transition); white-space: nowrap;
}
.btn--nav-cta:hover { transform: translateY(-1px); box-shadow: 0 4px 24px rgba(184,150,62,.55); }

.nav__hamburger {
  display: none; flex-direction: column; gap: 5px;
  padding: 8px; border-radius: 8px; cursor: pointer;
}
.nav__hamburger span {
  display: block; width: 22px; height: 2px;
  background: var(--white); border-radius: 2px;
  transition: var(--transition);
}
.nav.scrolled .nav__hamburger span { background: var(--navy); }
.nav__hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav__hamburger.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.nav__hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.nav__mobile {
  display: none; flex-direction: column;
  background: var(--white); padding: 16px 24px 24px;
  border-top: 1px solid var(--gray-100);
  box-shadow: 0 8px 24px rgba(0,0,0,.08);
}
.nav__mobile.open { display: flex; }
.nav__mobile-link {
  padding: 13px 0; font-size: .95rem; font-weight: 500;
  color: var(--gray-500); border-bottom: 1px solid var(--gray-100);
  transition: color var(--transition);
}
.nav__mobile-link:last-child { border-bottom: none; }
.nav__mobile-link:hover { color: var(--navy); }

/* 7. HOMEPAGE HERO */
.hero {
  min-height: 100vh; display: flex; align-items: center;
  background: linear-gradient(150deg, #050d1a 0%, #0a1528 45%, #0e1f3c 100%);
  position: relative; overflow: hidden; padding: 120px 0 90px;
}
/* Grid texture */
.hero::before {
  content: ''; position: absolute; inset: 0; pointer-events: none;
  background-image:
    linear-gradient(rgba(255,255,255,.018) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.018) 1px, transparent 1px);
  background-size: 64px 64px;
}
/* Animated orbs */
.hero__orb {
  position: absolute; border-radius: 50%; pointer-events: none; filter: blur(72px);
}
.hero__orb--1 {
  width: 650px; height: 650px; top: -250px; right: -80px;
  background: radial-gradient(ellipse, rgba(184,150,62,.16) 0%, transparent 70%);
  animation: orbFloat 9s ease-in-out infinite;
}
.hero__orb--2 {
  width: 420px; height: 420px; bottom: -120px; left: -80px;
  background: radial-gradient(ellipse, rgba(30,58,130,.5) 0%, transparent 70%);
  animation: orbFloat 11s ease-in-out infinite reverse;
}
.hero__orb--3 {
  width: 280px; height: 280px; top: 55%; left: 38%;
  background: radial-gradient(ellipse, rgba(184,150,62,.09) 0%, transparent 70%);
  animation: orbFloat 13s ease-in-out infinite 3s;
}
@keyframes orbFloat {
  0%,100% { transform: translate(0,0) scale(1); }
  33%      { transform: translate(28px,-38px) scale(1.04); }
  66%      { transform: translate(-18px,22px) scale(0.97); }
}

.hero__inner {
  position: relative; z-index: 1;
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 72px; align-items: center; width: 100%;
}

/* Left copy */
.hero__eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  background: rgba(184,150,62,.13); border: 1px solid rgba(184,150,62,.28);
  color: #d4a843; font-size: .78rem; font-weight: 600;
  letter-spacing: .06em; padding: 7px 16px; border-radius: var(--radius-full);
  margin-bottom: 28px; animation: fadeUp .55s var(--ease) both;
}
.hero__stars { color: var(--gold); letter-spacing: 2px; font-size: .85rem; }

.hero__headline {
  font-family: var(--font-display);
  font-size: clamp(2.8rem, 5.8vw, 4.6rem);
  font-weight: 700; line-height: 1.06; color: var(--white);
  margin-bottom: 24px; animation: fadeUp .55s var(--ease) .1s both;
}
.hero__headline em {
  font-style: normal;
  background: linear-gradient(135deg, #b8963e 0%, #e0bc5a 50%, #b8963e 100%);
  background-size: 200% auto;
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: textShimmer 4s linear infinite;
}
@keyframes textShimmer {
  0%   { background-position: 0% center; }
  100% { background-position: 200% center; }
}

.hero__sub {
  font-size: 1.1rem; color: rgba(255,255,255,.60);
  line-height: 1.78; margin-bottom: 36px; max-width: 440px;
  animation: fadeUp .55s var(--ease) .2s both;
}
.hero__actions {
  display: flex; align-items: center; gap: 16px; flex-wrap: wrap;
  margin-bottom: 52px; animation: fadeUp .55s var(--ease) .3s both;
}
.hero__link {
  font-size: .9rem; font-weight: 500; color: rgba(255,255,255,.6);
  display: flex; align-items: center; gap: 6px;
  transition: color var(--transition), gap var(--transition);
}
.hero__link:hover { color: var(--white); gap: 10px; }

.hero__trust {
  display: flex; align-items: center;
  animation: fadeUp .55s var(--ease) .4s both;
}
.hero__trust-item {
  display: flex; flex-direction: column; gap: 3px; padding: 0 28px;
}
.hero__trust-item:first-child { padding-left: 0; }
.hero__trust-num {
  font-family: var(--font-display); font-size: 1.55rem;
  font-weight: 700; color: var(--white); line-height: 1;
}
.hero__trust-label { font-size: .73rem; color: rgba(255,255,255,.42); font-weight: 500; }
.hero__trust-divider {
  width: 1px; height: 42px; background: rgba(255,255,255,.12); flex-shrink: 0;
}

/* Right: glass offer card */
.hero__visual { animation: fadeUp .65s var(--ease) .22s both; }
.offer-card {
  background: rgba(255,255,255,.055);
  backdrop-filter: blur(28px); -webkit-backdrop-filter: blur(28px);
  border: 1px solid rgba(255,255,255,.11);
  border-radius: var(--radius-xl); overflow: hidden;
  box-shadow: 0 32px 80px rgba(0,0,0,.45), 0 0 0 1px rgba(255,255,255,.04) inset;
}
.offer-card__header {
  background: rgba(184,150,62,.11); border-bottom: 1px solid rgba(184,150,62,.2);
  padding: 20px 28px;
}
.offer-card__title {
  font-family: var(--font-display); font-size: 1.05rem;
  font-weight: 700; color: var(--white); margin-bottom: 3px;
}
.offer-card__subtitle { font-size: .78rem; color: rgba(255,255,255,.48); }
.offer-card__body { padding: 4px 0; }

.offer-step {
  display: flex; gap: 18px; align-items: flex-start;
  padding: 18px 28px;
}
.offer-step:not(:last-child) { border-bottom: 1px solid rgba(255,255,255,.055); }
.offer-step__num {
  width: 32px; height: 32px; border-radius: 50%; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display); font-size: .9rem; font-weight: 700;
  background: rgba(184,150,62,.15); border: 1px solid rgba(184,150,62,.32);
  color: var(--gold);
}
.offer-step__title {
  font-size: .9rem; font-weight: 600; color: var(--white); margin-bottom: 3px;
}
.offer-step__desc  { font-size: .78rem; color: rgba(255,255,255,.43); line-height: 1.55; margin-bottom: 8px; }
.offer-step__tag   { display: inline-block; font-size: .7rem; font-weight: 600; padding: 3px 10px; border-radius: 4px; }
.tag--green { background: rgba(34,197,94,.15); color: #4ade80; }
.tag--blue  { background: rgba(59,130,246,.15); color: #60a5fa; }
.tag--gold  { background: rgba(184,150,62,.18); color: #d4a843; }

/* 8. PROOF BAR */
.proof-bar {
  background: var(--white); border-bottom: 1px solid var(--gray-100); padding: 36px 0;
}
.proof-bar__inner {
  display: flex; align-items: center; justify-content: center;
  gap: 0; max-width: 860px; margin: 0 auto;
}
.proof-bar__item { text-align: center; padding: 0 48px; flex: 1; }
.proof-bar__num {
  font-family: var(--font-display); font-size: 2rem;
  font-weight: 700; color: var(--navy); display: block;
  line-height: 1; margin-bottom: 5px;
}
.proof-bar__label { font-size: .75rem; color: var(--gray-400); font-weight: 500; }
.proof-bar__divider { width: 1px; height: 52px; background: var(--gray-100); flex-shrink: 0; }

/* 9. MARQUEE STRIP */
.marquee-strip {
  background: var(--navy); padding: 16px 0; overflow: hidden;
  border-top: 1px solid rgba(255,255,255,.06);
  border-bottom: 1px solid rgba(255,255,255,.06);
}
.marquee__track {
  display: flex; width: max-content;
  animation: marqueeScroll 32s linear infinite;
}
.marquee__track:hover { animation-play-state: paused; }
.marquee__item {
  display: flex; align-items: center; gap: 14px;
  padding: 0 40px; white-space: nowrap;
  font-size: .8rem; font-weight: 600; letter-spacing: .05em;
  color: rgba(255,255,255,.45);
}
.marquee__dot { width: 5px; height: 5px; border-radius: 50%; background: var(--gold); flex-shrink: 0; }
.marquee__num { color: #d4a843; font-family: var(--font-display); font-size: 1rem; font-weight: 700; }
@keyframes marqueeScroll {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* 10. HOW IT WORKS STRIP (homepage) */
.how-strip { background: var(--cream); }
.how-strip__steps {
  display: grid; grid-template-columns: repeat(3,1fr);
  gap: 2px; background: var(--gray-100);
  border-radius: var(--radius-lg); overflow: hidden;
  box-shadow: var(--shadow-md);
}
.how-strip__step {
  background: var(--white); padding: 44px 38px;
  position: relative; transition: background var(--transition-slow);
  overflow: hidden;
}
.how-strip__step:hover { background: var(--cream); }
.how-strip__step-ghost {
  position: absolute; top: 16px; right: 20px;
  font-family: var(--font-display); font-size: 5.5rem;
  font-weight: 700; color: var(--gray-100);
  line-height: 1; pointer-events: none; user-select: none;
  transition: color var(--transition-slow);
}
.how-strip__step:hover .how-strip__step-ghost { color: rgba(184,150,62,.1); }
.how-strip__icon {
  width: 52px; height: 52px; border-radius: var(--radius-sm);
  background: var(--gold-dim); display: flex; align-items: center;
  justify-content: center; margin-bottom: 22px; position: relative;
  transition: background var(--transition-slow);
}
.how-strip__step:hover .how-strip__icon { background: rgba(184,150,62,.2); }
.how-strip__icon svg { width: 24px; height: 24px; stroke: var(--gold); }
.how-strip__num { display: none; }
.how-strip__title {
  font-family: var(--font-display); font-size: 1.2rem;
  font-weight: 700; color: var(--gray-900); margin-bottom: 10px;
  position: relative;
}
.how-strip__body { font-size: .9rem; color: var(--gray-500); line-height: 1.72; position: relative; }

/* 11. WHY EVERMONT */
.why { background: var(--white); }
.why__grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 24px; }
.why-card {
  padding: 38px 34px; border: 1px solid var(--gray-100);
  border-radius: var(--radius-lg); transition: var(--transition-slow);
  position: relative; overflow: hidden;
}
.why-card::before {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(135deg, var(--gold-dim) 0%, transparent 65%);
  opacity: 0; transition: opacity var(--transition-slow);
}
.why-card:hover {
  border-color: var(--gold-border); transform: translateY(-6px);
  box-shadow: var(--shadow-lg), 0 0 0 1px var(--gold-border);
}
.why-card:hover::before { opacity: 1; }
.why-card__icon {
  width: 50px; height: 50px; border-radius: var(--radius-sm);
  background: var(--gold-dim); display: flex; align-items: center;
  justify-content: center; margin-bottom: 22px; position: relative;
  transition: background var(--transition-slow);
}
.why-card:hover .why-card__icon { background: rgba(184,150,62,.22); }
.why-card__icon svg { width: 22px; height: 22px; stroke: var(--gold); }
.why-card__title {
  font-family: var(--font-display); font-size: 1.12rem;
  font-weight: 700; color: var(--gray-900); margin-bottom: 10px; position: relative;
}
.why-card__body { font-size: .9rem; color: var(--gray-500); line-height: 1.72; position: relative; }

/* 12. TESTIMONIALS */
.testimonials { background: var(--off-white); }
.testimonials__grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 24px; }
.testimonial {
  background: var(--white); padding: 34px 30px;
  border-radius: var(--radius-lg); border: 1px solid var(--gray-100);
  box-shadow: var(--shadow-sm); transition: var(--transition-slow);
  display: flex; flex-direction: column;
}
.testimonial:hover { box-shadow: var(--shadow-lg); transform: translateY(-5px); border-color: var(--gray-200); }
.testimonial__stars { color: var(--gold); letter-spacing: 3px; font-size: .9rem; margin-bottom: 16px; }
.testimonial__quote {
  font-size: .92rem; color: var(--gray-500); line-height: 1.78;
  margin-bottom: 24px; flex: 1;
  position: relative; padding-left: 28px;
}
.testimonial__quote::before {
  content: '\201C';
  font-family: var(--font-display); font-size: 3.5rem; color: var(--gold);
  position: absolute; left: -4px; top: -16px; line-height: 1;
  opacity: .6;
}
.testimonial__author { display: flex; align-items: center; gap: 12px; margin-top: auto; }
.testimonial__avatar {
  width: 42px; height: 42px; border-radius: 50%; flex-shrink: 0;
  background: linear-gradient(135deg, var(--navy), var(--navy-mid));
  color: var(--gold); font-size: .78rem; font-weight: 700;
  display: flex; align-items: center; justify-content: center;
}
.testimonial__name     { display: block; font-size: .88rem; font-weight: 600; color: var(--gray-900); }
.testimonial__location { display: block; font-size: .78rem; color: var(--gray-400); margin-top: 1px; }

/* Rating summary */
.rating-summary {
  display: flex; align-items: center; gap: 16px;
  margin: 12px auto 52px; justify-content: center;
}
.rating-summary__score {
  font-family: var(--font-display); font-size: 3.2rem;
  font-weight: 700; color: var(--navy); line-height: 1;
}
.rating-summary__stars  { color: var(--gold); font-size: 1rem; letter-spacing: 3px; display: block; margin-bottom: 3px; }
.rating-summary__count  { font-size: .8rem; color: var(--gray-400); }

/* 13. CTA BAND */
.cta-band {
  background: var(--navy); padding: 100px 0;
  position: relative; overflow: hidden; text-align: center;
}
.cta-band::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(ellipse 65% 85% at 50% -10%, rgba(184,150,62,.13) 0%, transparent 60%);
}
.cta-band__title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3rem); font-weight: 700; color: var(--white);
  margin-bottom: 16px; position: relative;
}
.cta-band__sub { font-size: 1rem; color: rgba(255,255,255,.52); margin-bottom: 36px; position: relative; }
.cta-band__actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; position: relative; }

/* 14. FOOTER */
.footer { background: var(--bg-dark); padding: 72px 0 0; }
.footer__grid {
  display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 48px;
  padding-bottom: 64px; border-bottom: 1px solid rgba(255,255,255,.06);
}
.footer__logo-link { display: flex; align-items: center; gap: 10px; margin-bottom: 16px; }
.footer__logo-img  { width: 32px; height: 32px; object-fit: contain; }
.footer__tagline   { font-size: .88rem; color: rgba(255,255,255,.38); line-height: 1.65; max-width: 220px; margin-bottom: 24px; }
.footer__social { display: flex; gap: 10px; }
.footer__social-link {
  width: 36px; height: 36px; border-radius: 8px;
  background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.08);
  display: flex; align-items: center; justify-content: center;
  color: rgba(255,255,255,.38); transition: var(--transition);
}
.footer__social-link:hover { background: rgba(184,150,62,.15); border-color: rgba(184,150,62,.3); color: var(--gold); }
.footer__social-link svg { width: 15px; height: 15px; }
.footer__col h4 {
  font-size: .72rem; font-weight: 700; letter-spacing: .13em;
  text-transform: uppercase; color: rgba(255,255,255,.32); margin-bottom: 20px;
}
.footer__col a, .footer__col span {
  display: block; font-size: .875rem; color: rgba(255,255,255,.48);
  margin-bottom: 10px; transition: color var(--transition);
}
.footer__col a:hover { color: var(--white); }
.footer__bottom { padding: 20px 0; }
.footer__bottom-inner {
  display: flex; align-items: center; justify-content: space-between;
}
.footer__bottom p { font-size: .8rem; color: rgba(255,255,255,.28); }
.footer__legal { display: flex; gap: 20px; }
.footer__legal a { font-size: .8rem; color: rgba(255,255,255,.28); transition: color var(--transition); }
.footer__legal a:hover { color: rgba(255,255,255,.7); }

/* 15. SUBPAGE HEROES */

/* HOW IT WORKS HERO */
.hiw-hero {
  background: linear-gradient(135deg, #fdf8f0 0%, #f5ede0 55%, #efe3d0 100%);
  padding: 128px 0 72px; position: relative; overflow: hidden;
  border-bottom: 1px solid rgba(184,150,62,.18);
}
.hiw-hero__bg {
  position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(ellipse 50% 60% at 95% 10%, rgba(184,150,62,.12) 0%, transparent 55%),
    radial-gradient(ellipse 35% 45% at 5% 90%,  rgba(184,150,62,.07) 0%, transparent 50%);
}
.hiw-hero__inner {
  position: relative; z-index: 1;
  display: grid; grid-template-columns: 55fr 45fr;
  gap: 64px; align-items: center;
}
.hiw-hero__tag {
  display: inline-block; font-size: .72rem; font-weight: 600;
  letter-spacing: .1em; text-transform: uppercase;
  color: var(--gold); background: rgba(184,150,62,.12);
  border: 1px solid rgba(184,150,62,.28);
  padding: 5px 14px; border-radius: var(--radius-full); margin-bottom: 20px;
}
.hiw-hero__title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4.2vw, 3.2rem);
  font-weight: 700; line-height: 1.1; color: #1c1917; margin-bottom: 18px;
}
.hiw-hero__sub { font-size: 1rem; color: #57534e; line-height: 1.75; margin-bottom: 28px; max-width: 460px; }
.hiw-hero__card {
  background: var(--navy); border-radius: var(--radius-xl);
  overflow: hidden; box-shadow: var(--shadow-xl);
}
.hiw-hero__card-header {
  background: rgba(184,150,62,.12); border-bottom: 1px solid rgba(184,150,62,.2);
  padding: 16px 24px;
}
.hiw-hero__card-label {
  font-size: .72rem; font-weight: 700; letter-spacing: .08em;
  text-transform: uppercase; color: var(--gold);
}
.hiw-hero__card-steps { padding: 8px 0; }
.hiw-hero__card-step {
  display: flex; align-items: center; gap: 16px;
  padding: 18px 24px; position: relative;
}
.hiw-hero__card-step:not(:last-child)::after {
  content: ''; position: absolute; left: 36px; bottom: 0;
  width: 2px; height: 18px;
  background: linear-gradient(to bottom, rgba(184,150,62,.3), transparent);
  transform: translateX(-50%);
}
.hiw-hero__step-num {
  width: 36px; height: 36px; border-radius: 50%; flex-shrink: 0;
  background: rgba(184,150,62,.15); border: 1px solid rgba(184,150,62,.35);
  color: var(--gold); font-family: var(--font-display);
  font-size: .95rem; font-weight: 700;
  display: flex; align-items: center; justify-content: center;
}
.hiw-hero__step-title { font-size: .92rem; font-weight: 600; color: var(--white); margin-bottom: 2px; }
.hiw-hero__step-desc  { font-size: .78rem; color: rgba(255,255,255,.5); line-height: 1.5; }

/* AGENTS HERO */
.agents-hero {
  background: var(--white);
  padding: 128px 0 64px; position: relative; overflow: hidden;
  border-bottom: 3px solid var(--navy);
}
.agents-hero__inner { position: relative; z-index: 1; }
.agents-hero__kicker {
  display: flex; align-items: center; gap: 10px;
  font-size: .72rem; font-weight: 700; letter-spacing: .12em;
  text-transform: uppercase; color: var(--gray-400); margin-bottom: 20px;
}
.agents-hero__kicker-line { width: 32px; height: 2px; background: var(--gold); }
.agents-hero__title {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 5vw, 4rem);
  font-weight: 700; line-height: 1.08; color: var(--navy);
  margin-bottom: 16px; border-left: 4px solid var(--gold); padding-left: 24px;
}
.agents-hero__sub {
  font-size: 1.05rem; color: var(--gray-500);
  line-height: 1.75; max-width: 580px;
  margin-bottom: 32px; padding-left: 28px;
}
.agents-hero__actions { padding-left: 28px; margin-bottom: 56px; display: flex; gap: 14px; align-items: center; }
.agents-hero__stats {
  display: grid; grid-template-columns: repeat(3,1fr);
  border-top: 1px solid var(--gray-100);
  padding-top: 36px; margin-top: 8px;
}
.agents-hero__stat { padding: 0 32px; border-right: 1px solid var(--gray-100); }
.agents-hero__stat:first-child { padding-left: 0; }
.agents-hero__stat:last-child  { border-right: none; }
.agents-hero__stat-num {
  font-family: var(--font-display); font-size: 2.2rem;
  font-weight: 700; color: var(--navy); line-height: 1; margin-bottom: 5px;
}
.agents-hero__stat-label { font-size: .8rem; color: var(--gray-400); font-weight: 500; }

/* ABOUT HERO */
.about-hero {
  background: var(--navy); padding: 140px 0 100px;
  position: relative; overflow: hidden; text-align: center;
}
.about-hero__bg {
  position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(ellipse 80% 60% at 50% 0%,   rgba(184,150,62,.10) 0%, transparent 60%),
    radial-gradient(ellipse 50% 40% at 10% 100%,  rgba(184,150,62,.06) 0%, transparent 50%);
}
.about-hero__inner { position: relative; z-index: 1; max-width: 840px; margin: 0 auto; }
.about-hero__label {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: .72rem; font-weight: 700; letter-spacing: .14em;
  text-transform: uppercase; color: rgba(255,255,255,.4); margin-bottom: 32px;
}
.about-hero__label::before, .about-hero__label::after {
  content: ''; display: block; width: 40px; height: 1px; background: rgba(255,255,255,.18);
}
.about-hero__mission {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3.8vw, 3rem);
  font-weight: 600; line-height: 1.3; color: var(--white); margin-bottom: 32px;
}
.about-hero__mission em { color: var(--gold); font-style: normal; }
.about-hero__rule {
  width: 64px; height: 3px;
  background: linear-gradient(to right, var(--gold), var(--gold-light));
  border-radius: 2px; margin: 0 auto 32px;
}
.about-hero__sub {
  font-size: 1rem; color: rgba(255,255,255,.55);
  line-height: 1.75; max-width: 560px; margin: 0 auto;
}

/* CAREERS HERO */
.careers-hero {
  background: #18181b; padding: 128px 0 80px;
  position: relative; overflow: hidden;
}
.careers-hero__bg {
  position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(ellipse 60% 70% at 80% 30%, rgba(184,150,62,.10) 0%, transparent 55%),
    radial-gradient(ellipse 40% 50% at 15% 80%, rgba(184,150,62,.06) 0%, transparent 50%);
}
.careers-hero__bg::after {
  content: ''; position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.025) 1px, transparent 1px);
  background-size: 48px 48px;
}
.careers-hero__inner { position: relative; z-index: 1; }
.careers-hero__badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(184,150,62,.15); border: 1px solid rgba(184,150,62,.3);
  color: var(--gold); font-size: .75rem; font-weight: 700;
  letter-spacing: .1em; text-transform: uppercase;
  padding: 6px 16px; border-radius: var(--radius-full); margin-bottom: 28px;
}
.careers-hero__badge::before {
  content: ''; width: 7px; height: 7px; border-radius: 50%;
  background: var(--gold); animation: pulse 2s ease-in-out infinite;
}
@keyframes pulse {
  0%,100% { opacity: 1; transform: scale(1); }
  50%      { opacity: .5; transform: scale(.82); }
}
.careers-hero__title {
  font-family: var(--font-display);
  font-size: clamp(2.6rem, 5.5vw, 4.4rem);
  font-weight: 700; line-height: 1.08;
  color: var(--white); margin-bottom: 20px; max-width: 680px;
}
.careers-hero__title em { color: var(--gold); font-style: normal; }
.careers-hero__sub {
  font-size: 1.05rem; color: rgba(255,255,255,.6);
  line-height: 1.75; max-width: 540px; margin-bottom: 36px;
}
.careers-hero__tags { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 40px; }
.careers-hero__tag {
  background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.12);
  color: rgba(255,255,255,.75); font-size: .82rem; font-weight: 500;
  padding: 8px 16px; border-radius: var(--radius-full);
}
.careers-hero__actions { display: flex; gap: 14px; flex-wrap: wrap; }

/* 16. INNER PAGE SECTIONS */

/* HIW page steps */
.hiw-section .section-header { text-align: left; }
.hiw-explainer { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; }
.hiw-explainer--flip { direction: rtl; }
.hiw-explainer--flip > * { direction: ltr; }
.hiw-explainer__visual {
  background: var(--off-white); border-radius: var(--radius-lg);
  aspect-ratio: 4/3; display: flex; align-items: center; justify-content: center;
  border: 1px solid var(--gray-100);
  color: var(--gray-300); font-size: .85rem;
}
.hiw-explainer__step-tag {
  display: inline-block; font-size: .72rem; font-weight: 700;
  letter-spacing: .1em; text-transform: uppercase;
  color: var(--gold); background: var(--gold-dim);
  border: 1px solid var(--gold-border); padding: 4px 12px;
  border-radius: var(--radius-full); margin-bottom: 16px;
}
.hiw-explainer h2 {
  font-family: var(--font-display); font-size: clamp(1.6rem,3vw,2.2rem);
  font-weight: 700; color: var(--gray-900); line-height: 1.2; margin-bottom: 14px;
}
.hiw-explainer p { font-size: .95rem; color: var(--gray-500); line-height: 1.78; margin-bottom: 14px; }

/* Timeline */
.hiw-tl { position: relative; padding-left: 56px; }
.hiw-tl::before {
  content: ''; position: absolute; left: 18px; top: 0; bottom: 0;
  width: 2px; background: linear-gradient(to bottom, var(--gold), rgba(184,150,62,.08));
}
.hiw-tl-item { position: relative; margin-bottom: 40px; }
.hiw-tl-item__dot {
  position: absolute; left: -47px; top: 3px;
  width: 20px; height: 20px; border-radius: 50%;
  background: var(--white); border: 2px solid var(--gold);
  display: flex; align-items: center; justify-content: center;
}
.hiw-tl-item__dot::after {
  content: ''; width: 8px; height: 8px; border-radius: 50%; background: var(--gold);
}
.hiw-tl-item__label { font-size: .72rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--gold); margin-bottom: 6px; }
.hiw-tl-item__title { font-family: var(--font-display); font-size: 1.05rem; font-weight: 700; color: var(--gray-900); margin-bottom: 6px; }
.hiw-tl-item__body  { font-size: .88rem; color: var(--gray-500); line-height: 1.68; }

/* Worked example */
.hiw-example {
  background: var(--navy); border-radius: var(--radius-lg);
  padding: 48px; color: var(--white);
}
.hiw-example__title { font-family: var(--font-display); font-size: 1.4rem; font-weight: 700; color: var(--white); margin-bottom: 8px; }
.hiw-example__sub   { font-size: .88rem; color: rgba(255,255,255,.48); margin-bottom: 32px; }
.hiw-example__row {
  display: flex; justify-content: space-between; align-items: center;
  padding: 14px 0; border-bottom: 1px solid rgba(255,255,255,.06);
}
.hiw-example__row:last-child { border-bottom: none; }
.hiw-example__label  { font-size: .88rem; color: rgba(255,255,255,.55); }
.hiw-example__val    { font-family: var(--font-display); font-size: 1.1rem; font-weight: 700; color: var(--white); }
.hiw-example__val--gold { color: var(--gold-light); }

/* FAQ */
.faq-item { border-bottom: 1px solid var(--gray-100); }
.faq-item__question {
  width: 100%; text-align: left; padding: 20px 0;
  font-size: .95rem; font-weight: 600; color: var(--gray-900);
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
  background: none; border: none; cursor: pointer; font-family: inherit;
  transition: color var(--transition);
}
.faq-item__question:hover                      { color: var(--navy); }
.faq-item__question[aria-expanded="true"]       { color: var(--gold); }
.faq-item__icon { width: 20px; height: 20px; flex-shrink: 0; transition: transform var(--transition); }
.faq-item__question[aria-expanded="true"] .faq-item__icon { transform: rotate(45deg); }
.faq-item__answer {
  font-size: .9rem; color: var(--gray-500); line-height: 1.75;
  max-height: 0; overflow: hidden;
  transition: max-height .35s ease, padding-bottom .35s ease;
}
.faq-item__answer.open { max-height: 400px; padding-bottom: 20px; }

/* Agents page */
.agents-how__grid {
  display: grid; grid-template-columns: repeat(4,1fr);
  gap: 2px; background: var(--gray-100);
  border-radius: var(--radius-lg); overflow: hidden;
}
.agents-how__step { background: var(--white); padding: 32px 28px; }
.agents-how__step-num   { font-family: var(--font-display); font-size: 2.2rem; font-weight: 700; color: var(--gray-100); line-height: 1; margin-bottom: 16px; }
.agents-how__step-title { font-size: .95rem; font-weight: 700; color: var(--gray-900); margin-bottom: 8px; }
.agents-how__step-body  { font-size: .85rem; color: var(--gray-500); line-height: 1.68; }

.agents-why__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.agents-why-card {
  padding: 32px; border: 1px solid var(--gray-100);
  border-radius: var(--radius-lg); transition: var(--transition-slow);
}
.agents-why-card:hover { border-color: var(--gold-border); box-shadow: var(--shadow-md); transform: translateY(-4px); }
.agents-why-card__icon { width: 44px; height: 44px; background: var(--gold-dim); border-radius: var(--radius-sm); display: flex; align-items: center; justify-content: center; margin-bottom: 16px; }
.agents-why-card__icon svg { width: 20px; height: 20px; stroke: var(--gold); }
.agents-why-card__title { font-size: 1rem; font-weight: 700; color: var(--gray-900); margin-bottom: 8px; }
.agents-why-card__body  { font-size: .88rem; color: var(--gray-500); line-height: 1.68; }

/* About page */
.about-story__inner { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: start; }
.about-story__text p { font-size: .95rem; color: var(--gray-500); line-height: 1.82; margin-bottom: 18px; }
.about-story__img {
  background: var(--off-white); border-radius: var(--radius-lg);
  aspect-ratio: 4/3; border: 1px solid var(--gray-100);
  display: flex; align-items: center; justify-content: center;
  color: var(--gray-300); font-size: .85rem;
}
.team-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 24px; }
.team-card  { text-align: center; }
.team-card__photo {
  aspect-ratio: 1; border-radius: var(--radius-lg);
  background: var(--off-white); border: 1px solid var(--gray-100);
  margin-bottom: 16px; display: flex; align-items: center; justify-content: center;
  color: var(--gray-300); font-size: .85rem;
}
.team-card__name { font-weight: 700; color: var(--gray-900); margin-bottom: 4px; }
.team-card__role { font-size: .83rem; color: var(--gray-400); }

.values-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 24px; }
.value-card {
  padding: 32px; background: var(--white);
  border: 1px solid var(--gray-100); border-radius: var(--radius-lg);
  transition: var(--transition-slow);
}
.value-card:hover { border-color: var(--gold-border); box-shadow: var(--shadow-md); }
.value-card__title { font-weight: 700; color: var(--gray-900); margin-bottom: 8px; }
.value-card__body  { font-size: .88rem; color: var(--gray-500); line-height: 1.68; }

/* Careers page */
.careers-why__grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 24px; }
.careers-why-card {
  padding: 32px 28px; background: var(--white);
  border: 1px solid var(--gray-100); border-radius: var(--radius-lg);
  transition: var(--transition-slow);
}
.careers-why-card:hover { box-shadow: var(--shadow-md); border-color: var(--gold-border); transform: translateY(-4px); }
.careers-why-card__icon { width: 44px; height: 44px; background: var(--gold-dim); border-radius: var(--radius-sm); display: flex; align-items: center; justify-content: center; margin-bottom: 16px; }
.careers-why-card__icon svg { width: 20px; height: 20px; stroke: var(--gold); }
.careers-why-card__title { font-size: 1rem; font-weight: 700; color: var(--gray-900); margin-bottom: 8px; }
.careers-why-card__body  { font-size: .88rem; color: var(--gray-500); line-height: 1.68; }

.role-card {
  background: var(--white); border: 1px solid var(--gray-100);
  border-radius: var(--radius-lg); padding: 28px 32px;
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  transition: var(--transition-slow);
}
.role-card:hover { box-shadow: var(--shadow-lg); border-color: var(--navy); transform: translateX(6px); }
.role-card__title { font-weight: 700; color: var(--gray-900); font-size: 1.05rem; margin-bottom: 8px; }
.role-card__meta  { display: flex; gap: 16px; flex-wrap: wrap; }
.role-card__meta-item { display: flex; align-items: center; gap: 5px; font-size: .8rem; color: var(--gray-400); }
.role-card__meta-item svg { width: 14px; height: 14px; }
.role-card__cta   { flex-shrink: 0; }

/* 17. GET OFFER FORM */
.get-offer-wrap { min-height: 100vh; display: grid; grid-template-columns: 1fr 1fr; }
.get-offer__brand {
  background: var(--navy); padding: 80px 60px;
  display: flex; flex-direction: column; justify-content: space-between;
  position: relative; overflow: hidden;
}
.get-offer__brand::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(ellipse 80% 60% at 50% 0%, rgba(184,150,62,.12) 0%, transparent 60%);
}
.get-offer__brand-inner { position: relative; z-index: 1; }
.get-offer__brand-logo  { display: flex; align-items: center; gap: 10px; margin-bottom: 80px; }
.get-offer__brand-headline {
  font-family: var(--font-display);
  font-size: clamp(1.8rem,3vw,2.4rem);
  font-weight: 700; color: var(--white); line-height: 1.2; margin-bottom: 16px;
}
.get-offer__brand-sub { font-size: .95rem; color: rgba(255,255,255,.52); line-height: 1.78; }
.get-offer__trust { margin-top: 48px; display: flex; flex-direction: column; gap: 14px; position: relative; z-index: 1; }
.get-offer__trust-item {
  display: flex; align-items: center; gap: 12px;
  font-size: .88rem; color: rgba(255,255,255,.52);
}
.get-offer__trust-icon {
  width: 32px; height: 32px; border-radius: 8px;
  background: rgba(184,150,62,.15); border: 1px solid rgba(184,150,62,.25);
  display: flex; align-items: center; justify-content: center;
  color: var(--gold); flex-shrink: 0;
}
.get-offer__trust-icon svg { width: 15px; height: 15px; }
.get-offer__form-wrap {
  background: var(--cream); padding: 80px 60px;
  display: flex; flex-direction: column; justify-content: center;
}
.get-offer__form-title { font-family: var(--font-display); font-size: 1.6rem; font-weight: 700; color: var(--gray-900); margin-bottom: 6px; }
.get-offer__form-sub   { font-size: .9rem; color: var(--gray-500); margin-bottom: 36px; }

/* Form fields */
.form-row   { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-bottom: 0; }
.form-group { margin-bottom: 16px; }
.form-group label {
  display: block; font-size: .8rem; font-weight: 600;
  color: var(--gray-500); margin-bottom: 6px; letter-spacing: .03em;
}
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%; padding: 12px 16px;
  background: var(--white); border: 1.5px solid var(--gray-100);
  border-radius: var(--radius-sm); font-family: var(--font-sans);
  font-size: .9rem; color: var(--gray-900); outline: none;
  transition: border-color var(--transition), box-shadow var(--transition);
  appearance: none;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--gold); box-shadow: 0 0 0 3px rgba(184,150,62,.12);
}
.form-group input.error,
.form-group select.error { border-color: #ef4444; box-shadow: 0 0 0 3px rgba(239,68,68,.1); }
.form-group select { cursor: pointer; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%239e9790' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; padding-right: 36px; }

#offerSuccess { display: none; }
#offerError   { display: none; margin-top: 12px; padding: 12px 16px; background: rgba(239,68,68,.08); border: 1px solid rgba(239,68,68,.2); border-radius: var(--radius-sm); font-size: .88rem; color: #dc2626; }
.form-success { text-align: center; padding: 48px 24px; }
.form-success__icon { font-size: 2.8rem; margin-bottom: 16px; }
.form-success h3 { font-family: var(--font-display); font-size: 1.5rem; color: var(--gray-900); margin-bottom: 8px; }
.form-success p  { color: var(--gray-500); font-size: .9rem; }

/* 18. ANIMATION & REVEAL */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(26px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes fadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}

.reveal {
  opacity: 0; transform: translateY(30px);
  transition: opacity .65s var(--ease), transform .65s var(--ease);
}
.reveal.visible { opacity: 1; transform: translateY(0); }

/* stagger helpers */
.stagger-1 { transition-delay: .08s; }
.stagger-2 { transition-delay: .16s; }
.stagger-3 { transition-delay: .24s; }
.stagger-4 { transition-delay: .32s; }

/* 19. RESPONSIVE */
@media (max-width: 1024px) {
  .hero__inner        { gap: 48px; }
  .footer__grid       { grid-template-columns: 1fr 1fr 1fr; }
  .footer__brand      { grid-column: 1 / -1; }
  .hiw-explainer      { gap: 48px; }
  .about-story__inner { gap: 48px; }
}

@media (max-width: 900px) {
  .nav__center    { display: none; }
  .nav__hamburger { display: flex; }
  .btn--nav-cta   { display: none; }
  .hero__inner    { grid-template-columns: 1fr; }
  .hero__visual   { display: none; }
  .hero__headline { font-size: clamp(2.4rem, 7vw, 3.4rem); }
  .how-strip__steps { grid-template-columns: 1fr; border-radius: var(--radius-sm); }
  .why__grid         { grid-template-columns: 1fr 1fr; }
  .testimonials__grid { grid-template-columns: 1fr; }
  .hiw-hero__inner   { grid-template-columns: 1fr; }
  .hiw-hero__card    { display: none; }
  .agents-hero__stats { grid-template-columns: 1fr 1fr; }
  .agents-hero__stats .agents-hero__stat:last-child { grid-column: 1/-1; border-right: none; border-top: 1px solid var(--gray-100); padding-top: 24px; }
  .hiw-explainer  { grid-template-columns: 1fr; }
  .hiw-explainer--flip { direction: ltr; }
  .about-story__inner { grid-template-columns: 1fr; }
  .team-grid          { grid-template-columns: 1fr 1fr; }
  .values-grid        { grid-template-columns: 1fr 1fr; }
  .careers-why__grid  { grid-template-columns: 1fr 1fr; }
  .agents-why__grid   { grid-template-columns: 1fr; }
  .agents-how__grid   { grid-template-columns: 1fr 1fr; }
  .get-offer-wrap     { grid-template-columns: 1fr; }
  .get-offer__brand   { display: none; }
}

@media (max-width: 640px) {
  .section    { padding: 64px 0; }
  .container  { padding: 0 16px; }
  .proof-bar__inner  { flex-wrap: wrap; gap: 20px; padding: 0 16px; }
  .proof-bar__divider { display: none; }
  .proof-bar__item    { min-width: 120px; flex: none; }
  .why__grid          { grid-template-columns: 1fr; }
  .team-grid          { grid-template-columns: 1fr; }
  .values-grid        { grid-template-columns: 1fr; }
  .careers-why__grid  { grid-template-columns: 1fr; }
  .agents-how__grid   { grid-template-columns: 1fr; }
  .form-row           { grid-template-columns: 1fr; }
  .footer__grid       { grid-template-columns: 1fr 1fr; }
  .footer__brand      { grid-column: 1/-1; }
  .agents-hero__stats { grid-template-columns: 1fr; }
  .agents-hero__stat  { border-right: none; border-bottom: 1px solid var(--gray-100); padding-bottom: 20px; margin-bottom: 4px; padding-left: 0; }
  .agents-hero__stat:last-child { border-bottom: none; }
  .agents-hero__title { font-size: 2.2rem; }
  .about-hero__mission { font-size: 1.7rem; }
  .careers-hero__tags  { display: none; }
  .hero__trust         { flex-wrap: wrap; gap: 20px; }
  .hero__trust-divider { display: none; }
  .hero__trust-item    { padding: 0; }
  .cta-band__actions   { flex-direction: column; align-items: center; }
  .get-offer__form-wrap { padding: 48px 24px; }
  .hiw-example        { padding: 32px 24px; }
}

/* === COMPATIBILITY PATCHES === */
/* Missing variables as inline fallbacks */
:root {
  --gray-600:  #736d66;
  --gray-700:  #57534e;
  --warm-gray: #f7f5f2;
  --green:     #22c55e;
}

/* HIW inner section alternating backgrounds */
.hiw-section--alt { background: var(--cream); }

/* HIW worked example rows */
.hiw-example__label {
  font-size: .72rem; font-weight: 700; letter-spacing: .09em;
  text-transform: uppercase; color: var(--gold); margin-bottom: 20px;
}
.hiw-row {
  display: flex; justify-content: space-between; align-items: center;
  padding: 14px 0; border-bottom: 1px solid rgba(255,255,255,.07);
}
.hiw-row:last-child { border-bottom: none; }
.hiw-row--highlight .hiw-row__label { color: var(--white); font-weight: 600; }
.hiw-row--highlight .hiw-row__value { color: var(--gold-light); }
.hiw-row__label { font-size: .88rem; color: rgba(255,255,255,.55); }
.hiw-row__value { font-family: var(--font-display); font-size: 1.08rem; font-weight: 700; color: var(--white); }

/* HIW timeline (inner page step 5) */
.hiw-timeline { position: relative; padding-left: 56px; }
.hiw-timeline::before {
  content: ''; position: absolute; left: 18px; top: 0; bottom: 0;
  width: 2px; background: linear-gradient(to bottom, var(--gold), rgba(184,150,62,.08));
}
.hiw-tl-item { position: relative; margin-bottom: 36px; display: flex; gap: 20px; }
.hiw-tl-dot {
  position: absolute; left: -47px; top: 0;
  width: 26px; height: 26px; border-radius: 50%; flex-shrink: 0;
  background: var(--white); border: 2px solid var(--gold);
  display: flex; align-items: center; justify-content: center;
  font-size: .75rem; font-weight: 700; color: var(--gold); font-family: var(--font-display);
}
.hiw-tl-title { font-family: var(--font-display); font-size: 1rem; font-weight: 700; color: var(--gray-900); margin-bottom: 6px; }
.hiw-tl-body  { font-size: .88rem; color: var(--gray-500); line-height: 1.68; }

/* FAQ layout */
.faq__inner  { display: grid; grid-template-columns: 1fr 2fr; gap: 80px; align-items: start; }
.faq__header { position: sticky; top: 96px; }
.faq__list   { }
.faq-item__chevron { width: 20px; height: 20px; flex-shrink: 0; transition: transform var(--transition); }
.faq-item__question[aria-expanded="true"] .faq-item__chevron { transform: rotate(180deg); }

@media (max-width: 900px) {
  .faq__inner { grid-template-columns: 1fr; gap: 32px; }
  .faq__header { position: static; }
}

/* Agents how-it-works — stacked vertical list */
.agents-how__steps { display: flex; flex-direction: column; gap: 32px; }
.agents-how__step  { display: flex; gap: 20px; align-items: flex-start; }
.agents-how__step-num {
  width: 40px; height: 40px; border-radius: 50%; flex-shrink: 0;
  background: var(--gold-dim); border: 1px solid var(--gold-border);
  color: var(--gold); font-family: var(--font-display);
  font-size: 1.1rem; font-weight: 700;
  display: flex; align-items: center; justify-content: center;
}

/* Image placeholders */
.img-placeholder {
  background: var(--off-white); border: 1.5px dashed var(--gray-200);
  border-radius: var(--radius-md);
  display: flex; align-items: center; justify-content: center;
  color: var(--gray-300); font-size: .82rem; width: 100%;
}

/* Value card number */
.value-card__num {
  font-family: var(--font-display); font-size: 1.5rem;
  font-weight: 700; color: var(--gold-dim);
  -webkit-text-stroke: 1px var(--gold-border);
  color: transparent; line-height: 1; margin-bottom: 12px;
}
