/* ==========================================================================
   Alisha Benge, Senior Loan Officer, Xpert Home Lending
   Brand: navy / teal / gold, Playfair Display + Montserrat
   ========================================================================== */

:root {
  --navy:        #0f2340;
  --navy-2:      #182f52;
  --navy-deep:   #0a1830;
  --teal:        #1a7f86;
  --teal-2:      #23a3ab;
  --teal-light:  #e3f1f1;
  --gold:        #c8a24a;
  --gold-2:      #e2c47a;
  --gold-dark:   #a9852f;
  --gold-light:  #f4ead2;
  --cream:       #f8f5ef;
  --ink:         #1d2633;
  --mid:         #5b6676;
  --line:        #e1ddd4;
  --white:       #ffffff;
  --radius:      18px;
  --shadow:      0 18px 50px rgba(15, 35, 64, .12);
  --shadow-lg:   0 30px 70px rgba(15, 35, 64, .20);
  --ease:        cubic-bezier(.22, 1, .36, 1);
  --serif:       'Playfair Display', Georgia, serif;
  --sans:        'Montserrat', 'Helvetica Neue', Arial, sans-serif;
  --gold-grad:   linear-gradient(135deg, #e2c47a 0%, #c8a24a 45%, #a9852f 100%);
  --wave: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 60' preserveAspectRatio='none'%3E%3Cpath d='M0 60V32C180 6 360 0 560 16s380 40 560 34 260-26 320-38v46z'/%3E%3C/svg%3E");
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 90px; }
body {
  margin: 0;
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.7;
  color: var(--ink);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  overflow-x: clip; /* off-canvas mobile nav and decorative shapes must not widen the page */
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--teal); text-decoration: none; transition: color .2s; }
a:hover { color: var(--navy); }
h1, h2, h3, h4 { font-family: var(--serif); color: var(--navy); line-height: 1.18; margin: 0 0 .6em; font-weight: 600; }
h1 { font-size: clamp(2.3rem, 5vw, 4rem); letter-spacing: -.01em; }
h2 { font-size: clamp(1.9rem, 3.6vw, 2.8rem); letter-spacing: -.005em; }
h3 { font-size: 1.35rem; }
p  { margin: 0 0 1.1em; }
h2 em, h1 em { font-style: italic; color: var(--teal); }
::selection { background: var(--gold); color: var(--navy); }

/* Elements waiting to slide in (.reveal-right) sit 50px off to the side; clip them
   horizontally so they never widen the page. overflow-y stays visible for the waves. */
#main { overflow-x: clip; }  /* .cta-band does the same in its own rule */

.container { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.narrow    { max-width: 820px; }
.sr-only   { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: absolute; left: -999px; top: 0; background: var(--gold); color: var(--navy); padding: .6rem 1rem; z-index: 999; }
.skip-link:focus { left: 1rem; }

/* ── Preloader (first page view per session) ─────────────────────────────── */
.preloader {
  position: fixed; inset: 0; z-index: 2000; background: var(--navy);
  display: grid; place-items: center;
  animation: preloaderOut .7s var(--ease) 1.25s forwards;
}
.no-preload .preloader { display: none; }
.preloader-inner { text-align: center; }
.preloader-mono {
  font-family: var(--serif); font-size: 3.4rem; font-weight: 700; color: var(--white); letter-spacing: .04em;
  opacity: 0; transform: translateY(14px); animation: fadeUp .7s var(--ease) .1s forwards;
}
.preloader-mono span { color: var(--gold); font-style: italic; }
.preloader-line { height: 2px; width: 0; margin: .9rem auto 0; background: var(--gold-grad); animation: growLine .9s var(--ease) .35s forwards; }
.preloader.done { animation: preloaderOut .55s var(--ease) forwards; }
@keyframes preloaderOut { to { transform: translateY(-100%); visibility: hidden; } }
@keyframes fadeUp { to { opacity: 1; transform: none; } }
@keyframes growLine { to { width: 120px; } }

/* ── Scroll progress + back to top ───────────────────────────────────────── */
.scroll-progress {
  position: fixed; top: 0; left: 0; height: 3px; width: 100%; z-index: 300;
  background: var(--gold-grad); transform-origin: 0 50%; transform: scaleX(0);
}
.to-top {
  position: fixed; right: 22px; bottom: 22px; z-index: 250; width: 54px; height: 54px;
  border-radius: 50%; border: 0; background: var(--navy); color: var(--gold); cursor: pointer;
  display: grid; place-items: center; box-shadow: var(--shadow);
  opacity: 0; transform: translateY(20px) scale(.8); pointer-events: none;
  transition: opacity .35s var(--ease), transform .35s var(--ease), background .2s;
}
.to-top.show { opacity: 1; transform: none; pointer-events: auto; }
.to-top:hover { background: var(--teal); }
.to-top svg { position: absolute; inset: 0; transform: rotate(-90deg); }
.to-top circle { fill: none; stroke: var(--gold); stroke-width: 2.5; stroke-dasharray: 157; stroke-dashoffset: 157; }
.to-top i { position: relative; font-size: 1rem; }

/* ── Buttons ─────────────────────────────────────────────────────────────── */
.btn, input[type="submit"].btn {
  position: relative; overflow: hidden; isolation: isolate;
  display: inline-flex; align-items: center; justify-content: center; gap: .55rem;
  font-family: var(--sans); font-size: .8rem; font-weight: 700;
  letter-spacing: .1em; text-transform: uppercase;
  padding: 1.05rem 1.9rem; border-radius: 999px; border: 2px solid transparent;
  cursor: pointer; text-align: center; line-height: 1.2;
  transition: background .3s, color .3s, border-color .3s, transform .3s var(--ease), box-shadow .3s;
}
.btn::after {
  content: ''; position: absolute; top: 0; left: -75%; width: 50%; height: 100%; z-index: -1;
  background: linear-gradient(100deg, transparent, rgba(255,255,255,.45), transparent);
  transform: skewX(-20deg); transition: left .6s var(--ease);
}
.btn:hover::after { left: 130%; }
.btn:hover { transform: translateY(-3px); }
.btn i { transition: transform .3s var(--ease); }
.btn:hover i { transform: scale(1.15) rotate(-6deg); }
.btn-gold        { background: var(--gold-grad); color: var(--navy); box-shadow: 0 10px 26px rgba(200,162,74,.35); }
.btn-gold:hover  { color: var(--navy); box-shadow: 0 16px 34px rgba(200,162,74,.5); }
.btn-navy        { background: var(--navy); color: var(--white); box-shadow: 0 10px 26px rgba(15,35,64,.25); }
.btn-navy:hover  { background: var(--teal); color: var(--white); }
.btn-teal        { background: var(--teal); color: var(--white); }
.btn-teal:hover  { background: var(--navy); color: var(--white); }
.btn-outline     { border-color: var(--navy); color: var(--navy); background: transparent; }
.btn-outline:hover { background: var(--navy); color: var(--white); }
.btn-outline-light { border-color: rgba(255,255,255,.6); color: var(--white); background: rgba(255,255,255,.04); }
.btn-outline-light:hover { background: var(--white); color: var(--navy); border-color: var(--white); }
.btn-sm    { padding: .75rem 1.35rem; font-size: .72rem; }
.btn-block { width: 100%; }
.btn-row   { display: flex; flex-wrap: wrap; gap: .9rem; }

/* ── Top bar + header ────────────────────────────────────────────────────── */
.topbar { background: var(--navy-deep); color: rgba(255,255,255,.8); font-size: .78rem; position: relative; }
.topbar::after { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: linear-gradient(90deg, transparent, var(--gold), transparent); opacity: .6; }
.topbar-inner { display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding-top: .55rem; padding-bottom: .55rem; }
.topbar-links { display: flex; gap: 1.4rem; }
.topbar a { color: var(--white); font-weight: 600; }
.topbar a:hover { color: var(--gold); }
.topbar i { color: var(--gold); margin-right: .4rem; }

.site-header {
  position: sticky; top: 0; z-index: 100;
  background: #fff; /* no backdrop-filter: it would trap the fixed mobile nav inside the header */
  border-bottom: 1px solid var(--line);
  transition: box-shadow .3s;
}
.site-header.scrolled { box-shadow: 0 10px 30px rgba(15,35,64,.10); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; min-height: 82px; transition: min-height .35s var(--ease); }
.site-header.scrolled .header-inner { min-height: 66px; }
.brand { display: flex; align-items: center; gap: .8rem; line-height: 1.15; }
.brand-mark {
  width: 46px; height: 46px; border-radius: 50%; flex-shrink: 0; position: relative;
  display: flex; align-items: center; justify-content: center; background: var(--navy); color: var(--white);
  font-family: var(--serif); font-weight: 700; font-size: 1.05rem; letter-spacing: .02em;
  transition: transform .5s var(--ease);
}
.brand-mark::after { content: ''; position: absolute; inset: -4px; border-radius: 50%; border: 1.5px solid var(--gold); border-right-color: transparent; transition: transform .8s var(--ease); }
.brand-mark span { color: var(--gold); font-style: italic; }
.brand:hover .brand-mark::after { transform: rotate(180deg); }
.brand-text { display: flex; flex-direction: column; }
.brand-name { font-family: var(--serif); font-size: 1.55rem; font-weight: 700; color: var(--navy); }
.brand-sub  { font-size: .62rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--teal); margin-top: .2rem; white-space: nowrap; }

.main-nav { display: flex; align-items: center; gap: 1.6rem; }
.main-nav ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 1.35rem; }
.main-nav ul a {
  position: relative; color: var(--navy); font-size: .8rem; font-weight: 600; letter-spacing: .03em; padding: .4rem 0;
  white-space: nowrap; /* keep each label on one line */
}
.main-nav .nav-cta { white-space: nowrap; flex-shrink: 0; }
.main-nav ul a::after {
  content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: var(--gold-grad);
  transform: scaleX(0); transform-origin: right; transition: transform .4s var(--ease);
}
.main-nav ul a:hover::after, .main-nav ul a.active::after { transform: scaleX(1); transform-origin: left; }
.main-nav ul a:hover, .main-nav ul a.active { color: var(--teal); }

.nav-toggle { display: none; background: none; border: 0; width: 44px; height: 44px; padding: 10px; cursor: pointer; }
.nav-toggle span { display: block; height: 2px; background: var(--navy); margin: 5px 0; transition: transform .3s var(--ease), opacity .25s, width .3s; }
.nav-toggle span:nth-child(2) { width: 70%; margin-left: auto; }
.nav-open .nav-toggle span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-open .nav-toggle span:nth-child(2) { opacity: 0; }
.nav-open .nav-toggle span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ── Sections + wave dividers ────────────────────────────────────────────── */
.section       { padding: 110px 0; position: relative; }
.section-sm    { padding: 72px 0; position: relative; }
.section-cream { background: var(--cream); --wave-color: var(--cream); }
.section-navy  { background: var(--navy); color: rgba(255,255,255,.88); --wave-color: var(--navy); overflow: hidden; }
.section-navy h2, .section-navy h3 { color: var(--white); }
.section-navy h2 em { color: var(--gold-2); }
.section-teal  { background: var(--teal-light); --wave-color: var(--teal-light); }

/* A wave rises out of each colored band, and out of white sections that follow one. */
.section-cream, .section-navy, .section-teal, .stats, .cta-band,
:is(.hero, .page-hero, .section-cream, .section-navy, .section-teal, .stats) + .section:not(.section-cream):not(.section-navy):not(.section-teal),
:is(.hero, .page-hero, .section-cream, .section-navy, .section-teal, .stats) + .section-sm:not(.section-cream):not(.section-navy):not(.section-teal) {
  position: relative; z-index: 1;
}
.section-cream::before, .section-navy::before, .section-teal::before, .stats::before, .cta-band::before,
:is(.hero, .page-hero, .section-cream, .section-navy, .section-teal, .stats) + .section:not(.section-cream):not(.section-navy):not(.section-teal)::before,
:is(.hero, .page-hero, .section-cream, .section-navy, .section-teal, .stats) + .section-sm:not(.section-cream):not(.section-navy):not(.section-teal)::before {
  content: ''; position: absolute; left: 0; right: 0; top: -48px; height: 54px; pointer-events: none; /* 6px overlap hides the anti-aliased seam */
  background: var(--wave-color, #fff);
  -webkit-mask: var(--wave) center / 100% 100% no-repeat; mask: var(--wave) center / 100% 100% no-repeat;
}
.section-navy { overflow: visible; }

.eyebrow {
  display: inline-flex; align-items: center; font-size: .74rem; font-weight: 700; letter-spacing: .2em;
  text-transform: uppercase; color: var(--teal); margin-bottom: 1rem;
}
.eyebrow::before { content: ''; display: inline-block; width: 30px; height: 2px; background: var(--gold-grad); margin-right: .75rem; transition: width .8s var(--ease); }
.reveal.visible .eyebrow::before, .eyebrow.visible::before { width: 44px; }
.section-navy .eyebrow { color: var(--gold); }
.section-head { max-width: 780px; margin: 0 auto 3.4rem; text-align: center; }
.section-head .eyebrow::before { display: none; }
.section-head .eyebrow { padding: .45rem 1rem; border-radius: 999px; background: var(--teal-light); }
.section-cream .section-head .eyebrow { background: var(--white); }
.section-navy .section-head .eyebrow { background: rgba(255,255,255,.08); }
.section-head h2 { position: relative; padding-bottom: 1.1rem; }
.section-head h2::after { content: ''; position: absolute; left: 50%; bottom: 0; width: 70px; height: 3px; border-radius: 3px; background: var(--gold-grad); transform: translateX(-50%); }
.lead { font-size: 1.12rem; color: var(--mid); }
.section-navy .lead { color: rgba(255,255,255,.8); }
.text-center { text-align: center; }

/* ── Decorative blobs + dots ─────────────────────────────────────────────── */
.section-bg { position: absolute; inset: 0; overflow: hidden; pointer-events: none; z-index: 0; }
.blob { position: absolute; border-radius: 50%; filter: blur(60px); opacity: .55; pointer-events: none; z-index: 0; animation: blobFloat 14s ease-in-out infinite alternate; }
.blob-teal { background: rgba(35,163,171,.35); }
.blob-gold { background: rgba(226,196,122,.45); animation-duration: 18s; }
@keyframes blobFloat { 0% { transform: translate(0,0) scale(1); } 50% { transform: translate(30px,-40px) scale(1.08); } 100% { transform: translate(-20px,20px) scale(.95); } }
.dots { position: absolute; width: 180px; height: 180px; pointer-events: none; z-index: 0;
  background-image: radial-gradient(var(--gold) 1.6px, transparent 1.6px); background-size: 18px 18px; opacity: .45; }

/* ── Home hero ───────────────────────────────────────────────────────────── */
.hero {
  position: relative; overflow: hidden; --wave-color: var(--cream);
  background: linear-gradient(135deg, var(--cream) 0%, #fff 55%, var(--teal-light) 100%);
  padding: 90px 0 130px;
}
.hero .blob-teal { width: 460px; height: 460px; right: -120px; top: -140px; }
.hero .blob-gold { width: 380px; height: 380px; left: -140px; bottom: -120px; }
.hero .dots { right: 8%; bottom: 70px; }
.hero-house { position: absolute; left: 40%; bottom: 40px; width: 200px; opacity: .14; z-index: 0; pointer-events: none; }
.hero-house path { fill: none; stroke: var(--navy); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 1200; stroke-dashoffset: 1200; animation: drawLine 3.2s var(--ease) 1.4s forwards; }
@keyframes drawLine { to { stroke-dashoffset: 0; } }
.hero-grid { display: grid; grid-template-columns: 1.12fr .88fr; gap: 4.5rem; align-items: center; position: relative; z-index: 1; }
.hero h1 { min-height: 2.36em; }
.hero h1 .rotator { color: var(--teal); font-style: italic; white-space: nowrap; position: relative; }
.hero h1 .rotator::after { content: ''; display: inline-block; width: 3px; height: .9em; margin-left: 4px; background: var(--gold); vertical-align: -0.08em; animation: caret 1s steps(1) infinite; }
@keyframes caret { 50% { opacity: 0; } }
.hero .lead { max-width: 570px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .9rem; margin: 2.1rem 0 1.6rem; }
.hero-phone { font-size: .92rem; color: var(--mid); display: flex; align-items: center; gap: .7rem; }
.hero-phone a { font-weight: 700; color: var(--navy); }
.hero-fine { font-size: .74rem; color: var(--mid); margin: -.4rem 0 0; }
.pulse-dot { width: 10px; height: 10px; border-radius: 50%; background: #2fb36b; position: relative; flex-shrink: 0; }
.pulse-dot::after { content: ''; position: absolute; inset: 0; border-radius: 50%; background: #2fb36b; animation: pulse 1.8s ease-out infinite; }
@keyframes pulse { to { transform: scale(3); opacity: 0; } }

.hero-photo { position: relative; justify-self: center; max-width: 440px; width: 100%; }
.hero-photo-img { position: relative; border-radius: 230px 230px var(--radius) var(--radius); overflow: hidden; box-shadow: var(--shadow-lg); }
.hero-photo-img img { width: 100%; aspect-ratio: 534 / 602; object-fit: cover; transition: transform 1.2s var(--ease); }
.hero-photo:hover .hero-photo-img img { transform: scale(1.04); }
.hero-photo::before {
  content: ''; position: absolute; inset: 20px -20px -20px 20px; z-index: -1;
  border: 2px solid var(--gold); border-radius: 230px 230px var(--radius) var(--radius);
}
.hero-ring { position: absolute; width: 130%; aspect-ratio: 1; left: -15%; top: -12%; z-index: -2; border-radius: 50%; border: 1.5px dashed rgba(26,127,134,.35); animation: spin 60s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.hero-badge {
  position: absolute; left: -34px; bottom: 40px; z-index: 2;
  background: var(--navy); color: var(--white); border-radius: var(--radius);
  padding: 1.05rem 1.35rem; box-shadow: var(--shadow-lg); text-align: center;
  border: 1px solid rgba(200,162,74,.4);
}
.hero-badge small { display: block; font-size: .62rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: rgba(255,255,255,.75); margin-bottom: .25rem; }
.hero-badge strong { display: block; font-family: var(--serif); font-size: 2.3rem; color: var(--gold); line-height: 1; }
.hero-badge span { font-size: .66rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; }
.chip {
  position: absolute; z-index: 2; display: flex; align-items: center; gap: .6rem;
  background: var(--white); border-radius: 999px; padding: .6rem 1.05rem .6rem .6rem;
  box-shadow: var(--shadow); font-size: .78rem; font-weight: 700; color: var(--navy); white-space: nowrap;
  animation: bob 5s ease-in-out infinite;
}
.chip i { width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; font-size: .8rem; background: var(--teal-light); color: var(--teal); }
.chip-1 { right: -36px; top: 46%; } /* sits over hair/shoulder, clear of her face */
.chip-2 { right: -10px; bottom: 14%; animation-delay: -2.5s; }
.chip-2 i { background: var(--gold-light); color: var(--gold-dark); }
@keyframes bob { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-12px); } }
.scroll-cue { position: absolute; left: 50%; bottom: 64px; transform: translateX(-50%); z-index: 2; width: 26px; height: 42px; border: 2px solid rgba(15,35,64,.35); border-radius: 14px; }
.scroll-cue::after { content: ''; position: absolute; left: 50%; top: 8px; width: 4px; height: 8px; margin-left: -2px; border-radius: 2px; background: var(--gold); animation: cue 1.8s ease-in-out infinite; }
@keyframes cue { 0% { opacity: 0; transform: translateY(0); } 40% { opacity: 1; } 100% { opacity: 0; transform: translateY(14px); } }

/* Word-by-word headline entrance */
.split-words .w { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .08em; margin-bottom: -.08em; }
.split-words .w > span { display: inline-block; transform: translateY(105%); transition: transform .9s var(--ease); }
.split-words.in .w > span { transform: none; }

/* ── Inner page hero ─────────────────────────────────────────────────────── */
.page-hero {
  background: radial-gradient(1200px 500px at 85% -10%, rgba(35,163,171,.35), transparent 60%),
              radial-gradient(700px 400px at -10% 120%, rgba(200,162,74,.22), transparent 60%),
              var(--navy);
  color: rgba(255,255,255,.85); padding: 96px 0 120px; position: relative; overflow: hidden; --wave-color: var(--navy);
}
.page-hero::before {
  content: ''; position: absolute; inset: 0; pointer-events: none; opacity: .5;
  background-image: linear-gradient(rgba(255,255,255,.05) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.05) 1px, transparent 1px);
  background-size: 56px 56px;
  -webkit-mask: radial-gradient(ellipse at 70% 30%, #000 10%, transparent 70%); mask: radial-gradient(ellipse at 70% 30%, #000 10%, transparent 70%);
}
.page-hero::after {
  content: ''; position: absolute; right: -140px; top: 50%; width: 520px; height: 520px; margin-top: -260px;
  border-radius: 50%; border: 1.5px dashed rgba(200,162,74,.45); pointer-events: none; animation: spin 80s linear infinite;
}
.page-hero .container { position: relative; z-index: 2; }

/* Photo header: image slowly zooms behind a navy fade (solid on the text side) */
.page-hero.has-photo::before, .page-hero.has-photo::after { z-index: 1; }
.page-hero-photo {
  position: absolute; inset: 0; z-index: 0; background-size: cover; background-position: center;
  animation: heroZoom 24s ease-in-out infinite alternate;
}
.page-hero-photo::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(100deg, rgba(10,24,48,.95) 0%, rgba(15,35,64,.88) 38%, rgba(15,35,64,.55) 70%, rgba(26,127,134,.35) 100%);
}
@keyframes heroZoom { from { transform: scale(1); } to { transform: scale(1.12); } }
.page-hero.has-photo .container::after { display: none; } /* teal glow reads as a smudge on a photo */
.page-hero .container::after {
  content: ''; position: absolute; right: 60px; top: 50%; width: 260px; height: 260px; margin-top: -130px; border-radius: 50%;
  background: radial-gradient(circle at 30% 30%, rgba(35,163,171,.55), rgba(15,35,64,0) 70%);
  filter: blur(4px); animation: blobFloat 12s ease-in-out infinite alternate; pointer-events: none; z-index: -1;
}
.page-hero h1 { color: var(--white); max-width: 860px; }
.page-hero h1 em { color: var(--gold-2); }
.page-hero .eyebrow { color: var(--gold); }
.page-hero .lead { color: rgba(255,255,255,.82); max-width: 700px; }
.page-hero .btn-row { margin-top: 2rem; }

/* ── Stats strip ─────────────────────────────────────────────────────────── */
.stats { background: var(--navy); --wave-color: var(--navy); position: relative; padding-bottom: 36px; }
.stats-grid { display: grid; grid-template-columns: repeat(3, 1fr); }
.stat { text-align: center; padding: 2.6rem 1rem; position: relative; }
.stat + .stat::before { content: ''; position: absolute; left: 0; top: 25%; bottom: 25%; width: 1px; background: linear-gradient(transparent, rgba(200,162,74,.6), transparent); }
.stat-num { font-family: var(--serif); font-size: clamp(2.2rem, 3.6vw, 3rem); line-height: 1.1; background: var(--gold-grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.stat-num .stat-pre { display: block; font-size: .42em; font-style: italic; letter-spacing: .02em; margin-bottom: .15em; }
.stat-note { font-size: .8rem; color: rgba(255,255,255,.75); margin-top: .5rem; }
.stat-label { font-size: .74rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: rgba(255,255,255,.82); margin-top: .5rem; }

/* ── Marquee ─────────────────────────────────────────────────────────────── */
.marquee-wrap { position: relative; z-index: 2; overflow: hidden; padding: 24px 0 30px; margin: -42px 0 -56px; pointer-events: none; }
.marquee { background: var(--gold-grad); color: var(--navy); overflow: hidden; padding: 1rem 0; transform: rotate(-1.2deg); margin: 0 -30px; box-shadow: 0 10px 30px rgba(200,162,74,.25); pointer-events: auto; }
.marquee-track { display: flex; width: max-content; animation: marquee 38s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-item { font-family: var(--serif); font-size: 1.35rem; font-weight: 600; font-style: italic; padding: 0 1.4rem; white-space: nowrap; display: flex; align-items: center; gap: 2.8rem; }
.marquee-item::after { content: '\2726'; font-style: normal; font-size: .9rem; color: var(--navy); opacity: .6; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ── Cards ───────────────────────────────────────────────────────────────── */
.card-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.6rem; }
.card-grid-3 { grid-template-columns: repeat(3, 1fr); }
.card-grid-2 { grid-template-columns: repeat(2, 1fr); }
.card {
  --mx: 50%; --my: 50%;
  position: relative; overflow: hidden; isolation: isolate;
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 2.2rem 1.8rem 2rem; display: flex; flex-direction: column;
  transition: transform .5s var(--ease), box-shadow .5s var(--ease), border-color .4s;
  transform-style: preserve-3d;
}
.card::before {
  content: ''; position: absolute; inset: 0; z-index: -1; opacity: 0; transition: opacity .4s;
  background: radial-gradient(360px circle at var(--mx) var(--my), rgba(35,163,171,.12), transparent 60%);
}
.card::after { content: ''; position: absolute; left: 0; bottom: 0; height: 4px; width: 100%; background: var(--gold-grad); transform: scaleX(0); transform-origin: left; transition: transform .6s var(--ease); }
.card:hover::before { opacity: 1; }
.card:hover::after { transform: scaleX(1); }
.card:hover { box-shadow: var(--shadow-lg); border-color: transparent; }
a.card { color: var(--ink); }
/* Cards with a photo across the top; the icon overlaps the photo's bottom edge */
.card.has-media { padding-top: 0; }
.card-media { margin: 0 -1.8rem 0; height: 170px; overflow: hidden; position: relative; }
.card-media::after { content: ''; position: absolute; inset: 0; background: linear-gradient(to top, rgba(15,35,64,.35), transparent 60%); }
.card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.card:hover .card-media img { transform: scale(1.1); }
.card.has-media .card-icon { margin-top: -30px; border: 4px solid var(--white); box-sizing: content-box; z-index: 1; }
.card.has-media .card-num { z-index: 2; -webkit-text-stroke-color: rgba(255,255,255,.75); top: .5rem; }
.card.has-media:hover .card-num { -webkit-text-stroke-color: var(--gold-2); }
.card-num { position: absolute; right: 1.2rem; top: .6rem; font-family: var(--serif); font-size: 3.6rem; font-weight: 700; font-style: italic; color: transparent; -webkit-text-stroke: 1px rgba(15,35,64,.12); line-height: 1; transition: -webkit-text-stroke-color .4s, transform .6s var(--ease); }
.card:hover .card-num { -webkit-text-stroke-color: rgba(200,162,74,.6); transform: translateY(-4px); }
.card-icon {
  position: relative; width: 60px; height: 60px; border-radius: 50%; display: grid; place-items: center;
  background: var(--teal-light); color: var(--teal); font-size: 1.35rem; margin-bottom: 1.3rem;
  transition: background .4s, color .4s, transform .6s var(--ease);
}
.card-icon::after { content: ''; position: absolute; inset: -6px; border-radius: 50%; border: 1.5px dashed var(--gold); opacity: 0; transition: opacity .4s; animation: spin 10s linear infinite; }
.card:hover .card-icon { background: var(--navy); color: var(--gold); transform: rotate(-8deg) scale(1.06); }
.card:hover .card-icon::after { opacity: 1; }
.card h3 { margin-bottom: .5rem; }
.card p { color: var(--mid); font-size: .95rem; flex: 1; }
.card-link { font-size: .74rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--teal); display: inline-flex; align-items: center; gap: .45rem; }
.card-link i { transition: transform .4s var(--ease); }
a.card:hover .card-link i { transform: translateX(6px); }

/* ── Split layout ────────────────────────────────────────────────────────── */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 4.5rem; align-items: center; }
.split-top { align-items: start; }

/* ── Check list ──────────────────────────────────────────────────────────── */
.check-list { list-style: none; padding: 0; margin: 0 0 1.5rem; }
.check-list li { position: relative; padding-left: 2.3rem; margin-bottom: .85rem; }
.check-list li::before {
  content: '\f00c'; font-family: 'Font Awesome 6 Free'; font-weight: 900; font-size: .7rem;
  position: absolute; left: 0; top: .2rem; width: 1.5rem; height: 1.5rem; border-radius: 50%;
  display: grid; place-items: center; background: var(--teal-light); color: var(--teal);
}
.section-navy .check-list li::before { background: rgba(200,162,74,.18); color: var(--gold); }

/* ── Highlight list (about preview on home) ──────────────────────────────── */
.highlight-list { list-style: none; padding: 0; margin: 0; display: grid; gap: .9rem; }
.highlight-list li {
  display: flex; align-items: center; gap: 1rem; padding: 1.05rem 1.3rem; border-radius: 14px;
  background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.08); color: rgba(255,255,255,.92);
  transition: transform .4s var(--ease), background .3s, border-color .3s;
}
.highlight-list li:hover { transform: translateX(8px); background: rgba(255,255,255,.09); border-color: rgba(200,162,74,.5); }
.highlight-list i { width: 40px; height: 40px; flex-shrink: 0; border-radius: 50%; display: grid; place-items: center; background: var(--gold-grad); color: var(--navy); }
.section-navy .blob-teal { width: 420px; height: 420px; right: -160px; top: -120px; opacity: .35; }
.section-navy .blob-gold { width: 300px; height: 300px; left: -120px; bottom: -120px; opacity: .25; }
.section-navy .container { position: relative; z-index: 1; }
.big-quote { font-family: var(--serif); font-size: 7rem; line-height: .6; color: var(--gold); opacity: .5; display: block; margin-bottom: .4rem; }

/* ── Team ────────────────────────────────────────────────────────────────── */
.team-grid { display: grid; grid-template-columns: 1fr; gap: 2rem; max-width: 980px; margin: 0 auto; } /* stacked */
.team-card {
  --mx: 50%; --my: 50%;
  background: var(--white); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow);
  display: grid; grid-template-columns: 1fr 2fr; position: relative; /* 1/3 photo, 2/3 content */
  transition: transform .5s var(--ease), box-shadow .5s var(--ease);
}
.team-card:hover { box-shadow: var(--shadow-lg); }
.team-photo { position: relative; overflow: hidden; min-height: 360px; }
/* Absolutely positioned so the photo fills the card instead of setting its height (keeps both cards equal) */
.team-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 20%; transition: transform 1s var(--ease); }
.team-photo::after { content: ''; position: absolute; inset: 0; background: linear-gradient(to top, rgba(15,35,64,.45), transparent 50%); opacity: 0; transition: opacity .5s; }
.team-card:hover .team-photo img { transform: scale(1.07); }
.team-card:hover .team-photo::after { opacity: 1; }
.team-card::after { content: ''; position: absolute; right: 0; top: 0; width: 70px; height: 70px; background: linear-gradient(225deg, var(--gold) 0 50%, transparent 50%); opacity: .9; transition: width .5s var(--ease), height .5s var(--ease); }
.team-card:hover::after { width: 90px; height: 90px; }
.team-body { padding: 2.4rem 2.6rem; align-self: center; }
.team-body h3 { margin-bottom: .1rem; font-size: 1.5rem; }
.team-role { font-size: .72rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--teal); margin-bottom: .9rem; }
.team-body p { font-size: .92rem; color: var(--mid); }
.team-contact { font-size: .85rem; display: flex; flex-direction: column; gap: .3rem; }
.team-contact a { color: var(--navy); font-weight: 600; word-break: break-word; }
.team-contact a:hover { color: var(--teal); }
.team-contact i { color: var(--gold); width: 1.2rem; }

/* ── About photo ─────────────────────────────────────────────────────────── */
.photo-frame { position: relative; max-width: 440px; }
.photo-frame img { border-radius: var(--radius); box-shadow: var(--shadow-lg); width: 100%; position: relative; z-index: 1; }
.photo-frame::before { content: ''; position: absolute; inset: -18px 18px 18px -18px; background: var(--gold-light); border-radius: var(--radius); }
.photo-frame::after { content: ''; position: absolute; right: -14px; bottom: -26px; width: 140px; height: 140px; background-image: radial-gradient(var(--teal) 1.6px, transparent 1.6px); background-size: 16px 16px; opacity: .5; }
.signature { font-family: var(--serif); font-style: italic; font-size: 2rem; color: var(--teal); margin-top: .4rem; line-height: 1.2; }
.signature-close { display: block; font-family: var(--sans); font-style: normal; font-size: .95rem; color: var(--mid); margin-bottom: .2rem; }

/* ── Steps timeline ──────────────────────────────────────────────────────── */
.steps { counter-reset: step; display: grid; grid-template-columns: repeat(5, 1fr); gap: 2.6rem 1.3rem; list-style: none; padding: 0; margin: 0; position: relative; }
.steps li {
  counter-increment: step; background: var(--white); border-radius: var(--radius); padding: 2.4rem 1.25rem 1.5rem;
  position: relative; box-shadow: 0 8px 24px rgba(15,35,64,.06); transition: transform .5s var(--ease), box-shadow .5s;
}
.steps li:hover { transform: translateY(-8px); box-shadow: var(--shadow); }
.steps li::before {
  content: counter(step, decimal-leading-zero); position: absolute; top: -22px; left: 1.25rem;
  width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center;
  background: var(--navy); color: var(--gold); font-family: var(--serif); font-size: 1rem; font-weight: 700;
  box-shadow: 0 0 0 5px var(--cream); transition: background .4s, color .4s, transform .5s var(--ease);
}
.steps li:hover::before { background: var(--gold); color: var(--navy); transform: scale(1.1) rotate(-8deg); }
.steps strong { display: block; color: var(--navy); margin-bottom: .3rem; font-family: var(--serif); font-size: 1.08rem; }
.steps span { font-size: .87rem; color: var(--mid); }

/* ── FAQ ─────────────────────────────────────────────────────────────────── */
.faq { max-width: 900px; margin: 0 auto; }
.faq details { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); margin-bottom: 1rem; overflow: hidden; transition: box-shadow .4s, border-color .4s; }
.faq details[open], .faq details.is-open { box-shadow: var(--shadow); border-color: transparent; }
.faq summary {
  list-style: none; cursor: pointer; padding: 1.35rem 4rem 1.35rem 1.6rem; position: relative;
  font-family: var(--serif); font-size: 1.15rem; font-weight: 600; color: var(--navy); transition: color .3s;
}
.faq summary:hover { color: var(--teal); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: '+'; position: absolute; right: 1.3rem; top: 50%; width: 34px; height: 34px; margin-top: -17px; border-radius: 50%;
  display: grid; place-items: center; font-family: var(--sans); font-size: 1.3rem; line-height: 1;
  background: var(--teal-light); color: var(--teal); transition: transform .45s var(--ease), background .3s, color .3s;
}
.faq details[open] summary::after { transform: rotate(135deg); background: var(--gold); color: var(--navy); }
.faq-body { padding: 0 1.6rem 1.6rem; color: var(--mid); overflow: hidden; }
.faq-body p:last-child { margin-bottom: 0; }
.faq-video { margin-bottom: 1.1rem; border-radius: 12px; overflow: hidden; background: var(--navy); max-width: 360px; }
.faq-video video { width: 100%; display: block; aspect-ratio: 9 / 16; object-fit: cover; }

/* ── Two-column compare (myths, pre-qual vs pre-approval) ────────────────── */
.compare { display: grid; grid-template-columns: 1fr 1fr; gap: 1.6rem; }
.compare-col { background: var(--white); border-radius: var(--radius); padding: 2.2rem; border: 1px solid var(--line); position: relative; overflow: hidden; transition: transform .5s var(--ease), box-shadow .5s; }
.compare-col:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.compare-col::before { content: ''; position: absolute; left: 0; top: 0; bottom: 0; width: 4px; background: var(--gold-grad); }
.myth { margin-bottom: 1.2rem; padding: 1.3rem 1.4rem; border-radius: 14px; background: rgba(255,255,255,.05); border-left: 3px solid var(--gold); transition: background .3s, transform .4s var(--ease); }
.myth:hover { background: rgba(255,255,255,.09); transform: translateX(6px); }
.myth:last-child { margin-bottom: 0; }
.myth-q { font-family: var(--serif); font-style: italic; font-size: 1.15rem; color: var(--navy); margin-bottom: .3rem; }
.myth-q::before { content: 'Myth: '; font-family: var(--sans); font-style: normal; font-size: .68rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; opacity: .75; }
.myth-a { color: var(--mid); margin: 0; }

/* ── Callout ─────────────────────────────────────────────────────────────── */
.callout { background: var(--gold-light); border-left: 4px solid var(--gold); border-radius: 0 var(--radius) var(--radius) 0; padding: 1.3rem 1.5rem; margin: 1.5rem 0; }
.callout p:last-child { margin-bottom: 0; }
.fine-print { font-size: .78rem; color: var(--mid); }
.page-hero .fine-print, .section-navy .fine-print { color: rgba(255,255,255,.7); }
.page-hero .hero-note { margin-top: -.4rem; }
.card .fine-print { flex: 0 0 auto; font-size: .74rem; margin-top: -.4rem; }
.compare-note { margin: 1.4rem 0 0; }
.faq-body .fine-print { margin-top: .9rem; font-style: italic; }
.page-disclaimer { padding: 40px 0 56px; }

/* ── Forms ───────────────────────────────────────────────────────────────── */
.form-card { position: relative; background: var(--white); border-radius: var(--radius); box-shadow: var(--shadow-lg); padding: 2.6rem; overflow: hidden; }
.form-card::before { content: ''; position: absolute; left: 0; right: 0; top: 0; height: 5px; background: linear-gradient(90deg, var(--teal), var(--gold), var(--teal)); background-size: 200% 100%; animation: shimmer 6s linear infinite; }
@keyframes shimmer { to { background-position: -200% 0; } }
.form-card h2, .form-card h3 { margin-bottom: .3rem; }
.form-card > p { color: var(--mid); }
.lead-form { margin-top: 1.4rem; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.form-row-3 { grid-template-columns: repeat(3, 1fr); }
.form-field { margin-bottom: 1.05rem; display: flex; flex-direction: column; position: relative; }
.form-field label { font-size: .72rem; font-weight: 700; letter-spacing: .09em; text-transform: uppercase; color: var(--navy); margin-bottom: .45rem; transition: color .25s; }
.form-field:focus-within label { color: var(--teal); }
.form-field .req { color: var(--gold-dark); }
.form-field input, .form-field select, .form-field textarea {
  font-family: var(--sans); font-size: .98rem; color: var(--ink);
  padding: .9rem 1rem; border: 1.5px solid var(--line); border-radius: 12px; background: var(--cream);
  transition: border-color .25s, background .25s, box-shadow .25s, transform .25s var(--ease); width: 100%;
}
.form-field textarea { resize: vertical; min-height: 110px; }
.form-field input:hover, .form-field select:hover, .form-field textarea:hover { border-color: #cfc8b9; }
.form-field input:focus, .form-field select:focus, .form-field textarea:focus {
  outline: none; border-color: var(--teal); background: var(--white); box-shadow: 0 0 0 4px rgba(26,127,134,.14); transform: translateY(-1px);
}
.form-consent { font-size: .76rem; color: var(--mid); margin: .2rem 0 1rem; }
/* SMS consent: optional, unchecked by default, separate from the submit button */
.consent-check { display: flex; align-items: flex-start; gap: .75rem; margin: .3rem 0 1.2rem; font-size: .74rem; line-height: 1.55; color: var(--mid); cursor: pointer; text-align: left; }
.consent-check input { flex-shrink: 0; width: 18px; height: 18px; margin-top: .15rem; accent-color: var(--teal); cursor: pointer; }
.consent-check a { color: var(--teal); text-decoration: underline; }
.consent-check:focus-within span { color: var(--ink); }
.form-split { display: grid; grid-template-columns: .9fr 1.1fr; gap: 4rem; align-items: start; }
.form-side h2 { margin-bottom: 1rem; }
.contact-lines { list-style: none; padding: 0; margin: 1.8rem 0 0; }
.contact-lines li { display: flex; gap: 1rem; align-items: center; margin-bottom: .8rem; padding: .7rem; border-radius: 14px; transition: background .3s, transform .4s var(--ease); }
.contact-lines li:hover { background: rgba(255,255,255,.7); transform: translateX(6px); }
.contact-lines i { width: 46px; height: 46px; border-radius: 50%; background: var(--white); color: var(--teal); display: grid; place-items: center; flex-shrink: 0; box-shadow: 0 6px 16px rgba(15,35,64,.08); transition: background .3s, color .3s; }
.contact-lines li:hover i { background: var(--navy); color: var(--gold); }
.contact-lines a { color: var(--navy); font-weight: 600; }

/* ── Homebot ─────────────────────────────────────────────────────────────── */
.homebot-wrap { position: relative; background: var(--white); border-radius: var(--radius); box-shadow: var(--shadow-lg); padding: 1.6rem; min-height: 220px; }
.homebot-wrap::before { content: ''; position: absolute; inset: -14px 14px 14px -14px; border: 2px solid var(--gold); border-radius: var(--radius); z-index: -1; }

/* ── Guide box ───────────────────────────────────────────────────────────── */
.guide-box {
  position: relative; overflow: hidden; display: grid; grid-template-columns: .8fr 1.2fr; gap: 3.2rem; align-items: center;
  background: radial-gradient(600px 300px at 0% 0%, rgba(35,163,171,.4), transparent 60%), var(--navy);
  color: rgba(255,255,255,.86); border-radius: 26px; padding: 3.4rem; box-shadow: var(--shadow-lg);
}
.guide-box::after { content: ''; position: absolute; right: -80px; bottom: -80px; width: 260px; height: 260px; border-radius: 50%; border: 40px solid rgba(200,162,74,.12); pointer-events: none; }
.guide-box h2 { color: var(--white); }
.guide-box .eyebrow { color: var(--gold); }
.guide-cover {
  position: relative; aspect-ratio: 8.5 / 11; background: linear-gradient(160deg, var(--navy-2), var(--teal));
  border-radius: 6px 14px 14px 6px; box-shadow: -14px 24px 50px rgba(0,0,0,.45), inset 6px 0 0 rgba(0,0,0,.18);
  padding: 2.2rem 1.7rem; display: flex; flex-direction: column; justify-content: space-between; color: var(--white);
  max-width: 300px; justify-self: center; width: 100%; border: 1px solid rgba(200,162,74,.5);
  transform: perspective(900px) rotateY(16deg) rotateX(4deg); transition: transform .8s var(--ease);
  animation: bob 6s ease-in-out infinite;
}
.guide-box:hover .guide-cover { transform: perspective(900px) rotateY(0) rotateX(0); }
.guide-cover small { font-size: .62rem; letter-spacing: .2em; text-transform: uppercase; color: var(--gold); font-weight: 700; }
.guide-cover strong { font-family: var(--serif); font-size: 2.2rem; line-height: 1.1; display: block; margin: .6rem 0; }
.guide-cover span { font-size: .78rem; opacity: .85; }
.guide-box .form-card { box-shadow: none; }
.guide-box .form-card .form-field label { color: var(--navy); }

/* ── Reviews ─────────────────────────────────────────────────────────────── */
.reviews-box { position: relative; background: var(--white); border-radius: 26px; box-shadow: var(--shadow-lg); padding: 3.2rem 2.6rem; text-align: center; max-width: 780px; margin: 0 auto; overflow: hidden; }
.reviews-box::before { content: '\201C'; position: absolute; left: 24px; top: -30px; font-family: var(--serif); font-size: 12rem; color: var(--gold-light); line-height: 1; pointer-events: none; }
.reviews-box > * { position: relative; }
.reviews-actions { justify-content: center; margin-top: .4rem; }
.btn-google i { color: #4285f4; transition: color .3s, transform .3s var(--ease); }
.btn-google:hover i { color: var(--white); }
.stars { color: var(--gold); font-size: 1.35rem; letter-spacing: .25rem; margin-bottom: 1rem; }
.stars i { display: inline-block; opacity: 0; transform: scale(.3) rotate(-30deg); transition: opacity .4s, transform .6s var(--ease); }
.visible .stars i, .stars.visible i { opacity: 1; transform: none; }
.stars i:nth-child(2) { transition-delay: .1s; } .stars i:nth-child(3) { transition-delay: .2s; }
.stars i:nth-child(4) { transition-delay: .3s; } .stars i:nth-child(5) { transition-delay: .4s; }

/* ── Social ──────────────────────────────────────────────────────────────── */
.social-grid { display: grid; grid-template-columns: 1.4fr 1fr; gap: 2.5rem; align-items: stretch; }
.social-grid > .reveal { display: flex; flex-direction: column; }
.social-grid .ig-follow-card { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; }
/* No Instagram grid yet: the panel stands alone, centered */
.social-grid-single { grid-template-columns: 1fr; max-width: 980px; margin: 0 auto; }

/* One blue panel holding every platform */
.social-panel {
  position: relative; overflow: hidden; border-radius: 26px; padding: 2.6rem;
  background: linear-gradient(150deg, var(--navy) 0%, var(--navy-2) 45%, var(--teal) 100%);
  color: rgba(255,255,255,.88); box-shadow: var(--shadow-lg);
}
.social-panel::before { content: ''; position: absolute; width: 300px; height: 300px; border-radius: 50%; right: -110px; top: -120px; border: 44px solid rgba(200,162,74,.16); pointer-events: none; }
.social-panel > * { position: relative; }
.social-panel-head { display: flex; align-items: center; gap: 1.2rem; margin-bottom: 1.8rem; }
.social-panel-icon { font-size: 2.6rem; color: var(--gold); animation: bob 4s ease-in-out infinite; }
.social-panel-title { font-family: var(--serif); font-size: 1.6rem; color: var(--white); line-height: 1.2; }
.social-panel-head p { margin: .2rem 0 0; color: rgba(255,255,255,.8); }
.social-grid-single .social-links { display: grid; grid-template-columns: 1fr 1fr; }
.social-panel .social-links a { background: rgba(255,255,255,.07); border-color: rgba(255,255,255,.14); box-shadow: none; color: var(--white); }
.social-panel .social-links a:hover { background: rgba(255,255,255,.14); border-color: rgba(200,162,74,.6); color: var(--white); box-shadow: 0 10px 26px rgba(0,0,0,.2); transform: translateY(-3px); }
.social-panel .social-text small { color: var(--gold-2); }
.social-panel .social-text strong { color: var(--white); }
.ig-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: .7rem; }
.ig-item { position: relative; aspect-ratio: 1; overflow: hidden; border-radius: 14px; cursor: pointer; background: var(--line); }
.ig-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.ig-item::after { content: '\f16d'; font-family: 'Font Awesome 6 Brands'; position: absolute; inset: 0; display: grid; place-items: center; font-size: 1.8rem; color: var(--white); background: linear-gradient(135deg, rgba(15,35,64,.7), rgba(26,127,134,.6)); opacity: 0; transition: opacity .4s; }
.ig-item:hover img { transform: scale(1.1) rotate(1deg); }
.ig-item:hover::after { opacity: 1; }
.ig-item .ig-icon { position: absolute; top: .55rem; right: .6rem; color: var(--white); text-shadow: 0 1px 6px rgba(0,0,0,.5); z-index: 1; }
.ig-follow-card { position: relative; overflow: hidden; background: linear-gradient(150deg, var(--navy), var(--teal)); color: rgba(255,255,255,.88); border-radius: 22px; padding: 3rem 2.2rem; text-align: center; }
.ig-follow-card::before { content: ''; position: absolute; width: 260px; height: 260px; border-radius: 50%; right: -90px; top: -90px; border: 40px solid rgba(200,162,74,.18); }
.ig-follow-card > * { position: relative; }
.ig-follow-card i.fa-instagram { font-size: 3rem; color: var(--gold); margin-bottom: .9rem; display: inline-block; animation: bob 4s ease-in-out infinite; }
.social-handle { font-family: var(--serif); font-size: 1.55rem; color: var(--white); margin-bottom: .8rem; }
.ig-follow-card .btn { background: var(--gold-grad); color: var(--navy); }
/* Social link rows beside the Instagram card (fill its height) */
.social-links { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 1rem; }
.social-links li { flex: 1; display: flex; }
.social-links a {
  flex: 1; display: flex; align-items: center; gap: 1.1rem; padding: 1.1rem 1.4rem;
  background: var(--white); border: 1px solid var(--line); border-radius: 18px; box-shadow: 0 8px 24px rgba(15,35,64,.06);
  color: var(--navy); transition: transform .45s var(--ease), box-shadow .45s var(--ease), border-color .3s;
}
.social-links a:hover { transform: translateX(8px); box-shadow: var(--shadow); border-color: transparent; color: var(--navy); }
.social-icon {
  width: 52px; height: 52px; border-radius: 50%; flex-shrink: 0; display: grid; place-items: center;
  font-size: 1.25rem; color: var(--white); transition: transform .5s var(--ease);
}
.social-links a:hover .social-icon { transform: rotate(-10deg) scale(1.08); }
.si-instagram { background: linear-gradient(45deg, #f09433, #dc2743 50%, #bc1888); }
.si-tiktok    { background: #111; box-shadow: inset -3px 0 0 #25f4ee, inset 3px 0 0 #fe2c55; }
.si-facebook  { background: #1877f2; }
.si-linkedin  { background: #0a66c2; }
.social-text { display: flex; flex-direction: column; line-height: 1.3; min-width: 0; }
.social-text small { font-size: .68rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--teal); }
.social-text strong { font-family: var(--serif); font-size: 1.15rem; font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.social-arrow { margin-left: auto; color: var(--gold); transition: transform .4s var(--ease); }
.social-links a:hover .social-arrow { transform: translateX(5px); }

/* Lightbox */
.lightbox { position: fixed; inset: 0; background: rgba(10,24,48,.94); z-index: 500; display: none; align-items: center; justify-content: center; flex-direction: column; padding: 2rem; }
.lightbox.open { display: flex; animation: fadeIn .35s ease; }
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
.lightbox.open .lightbox-media { animation: zoomIn .45s var(--ease); }
@keyframes zoomIn { from { transform: scale(.9); opacity: 0; } to { transform: none; opacity: 1; } }
.lightbox-media { max-width: min(92vw, 720px); max-height: 76vh; border-radius: 10px; }
.lightbox-caption { color: var(--white); margin: 1rem 0 .4rem; text-align: center; max-width: 640px; }
.lightbox-link { color: var(--gold); font-weight: 600; }
.lightbox-close { position: absolute; top: 1rem; right: 1.4rem; background: none; border: 0; color: var(--white); font-size: 2.6rem; cursor: pointer; line-height: 1; transition: transform .3s var(--ease), color .3s; }
.lightbox-close:hover { transform: rotate(90deg); color: var(--gold); }

/* ── CTA band ────────────────────────────────────────────────────────────── */
.cta-band { background: linear-gradient(120deg, var(--teal), var(--navy) 70%); color: rgba(255,255,255,.88); padding: 80px 0 76px; position: relative; overflow-x: clip; overflow-y: visible; --wave-color: var(--teal); }
.cta-band-bg {
  position: absolute; inset: 0; overflow: hidden; pointer-events: none;
  background: linear-gradient(120deg, rgba(26,127,134,.9), rgba(15,35,64,.95) 70%), url('images/bright-boho-living-room.jpg') center 60% / cover;
}
.cta-band-bg::before { content: ''; position: absolute; width: 380px; height: 380px; border-radius: 50%; right: 8%; top: -190px; border: 2px dashed rgba(200,162,74,.4); animation: spin 50s linear infinite; }
.cta-band-bg::after { content: ''; position: absolute; width: 220px; height: 220px; border-radius: 50%; left: -60px; bottom: -110px; background: rgba(200,162,74,.16); }
.cta-band-inner { display: flex; justify-content: space-between; align-items: center; gap: 2rem; position: relative; z-index: 1; }
.cta-band h2 { color: var(--white); font-size: clamp(1.6rem, 2.8vw, 2.3rem); margin-bottom: .4rem; }
.cta-band h2 em { color: var(--gold-2); }
.cta-band p { margin: 0; }
.cta-band-actions { display: flex; flex-wrap: wrap; gap: .9rem; flex-shrink: 0; }

/* ── Footer ──────────────────────────────────────────────────────────────── */
.site-footer { position: relative; background: var(--navy-deep); color: rgba(255,255,255,.7); font-size: .9rem; padding-top: 72px; overflow: hidden; }
.site-footer::before { content: ''; position: absolute; inset: 0; pointer-events: none; background-image: radial-gradient(rgba(255,255,255,.05) 1px, transparent 1px); background-size: 22px 22px; }
.site-footer > .container { position: relative; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.3fr; gap: 2.5rem; padding-bottom: 48px; }
.footer-brand .brand-name { color: var(--white); display: block; }
.footer-brand .brand-sub { color: var(--gold); display: block; margin-bottom: 1rem; }
.footer-social { display: flex; gap: .6rem; margin-top: 1.2rem; }
.footer-social a { width: 42px; height: 42px; border-radius: 50%; border: 1px solid rgba(255,255,255,.25); display: grid; place-items: center; color: var(--white); transition: background .3s, border-color .3s, color .3s, transform .4s var(--ease); }
.footer-social a:hover { background: var(--gold); border-color: var(--gold); color: var(--navy); transform: translateY(-4px) rotate(-8deg); }
.footer-col h3 { font-family: var(--sans); font-size: .76rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--gold); margin-bottom: 1.1rem; }
.footer-col ul { list-style: none; padding: 0; margin: 0; }
.footer-col li { margin-bottom: .6rem; }
.footer-col a { color: rgba(255,255,255,.78); display: inline-block; transition: color .3s, transform .3s var(--ease); }
.footer-col a:hover { color: var(--gold); transform: translateX(4px); }
.footer-contact i { color: var(--gold); width: 1.4rem; }
.footer-contact span { display: flex; }
.footer-compliance { display: flex; gap: 1.6rem; align-items: flex-start; border-top: 1px solid rgba(255,255,255,.12); padding-top: 28px; padding-bottom: 36px; font-size: .78rem; line-height: 1.6; }
.footer-compliance p { margin-bottom: .6rem; }
.footer-compliance strong { color: var(--white); }
.footer-compliance a { color: var(--gold); }
.eho-logo { flex-shrink: 0; width: 70px; height: auto; opacity: .92; } /* SVG is drawn white for the dark footer */

/* ── Legal page ──────────────────────────────────────────────────────────── */
.legal h2 { font-size: 1.5rem; margin-top: 2.2rem; }
.legal ul { padding-left: 1.3rem; }
.legal li { margin-bottom: .4rem; }

/* ── Scroll reveal (JS adds .visible; staggered by sibling order) ────────── */
.js .reveal { opacity: 0; transform: translateY(36px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.js .reveal-left  { transform: translateX(-50px); }
.js .reveal-right { transform: translateX(50px); }
.js .reveal-zoom  { transform: scale(.9); }
.js .reveal.visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
  .js .reveal { opacity: 1; transform: none; }
  .split-words .w > span { transform: none; }
  .preloader { display: none; }
  html { scroll-behavior: auto; }
}

/* ── Responsive ──────────────────────────────────────────────────────────── */
@media (max-width: 1100px) {
  .main-nav ul { gap: 1rem; }
  .main-nav ul a { font-size: .74rem; }
  .card-grid { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(3, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .chip-1 { right: -10px; }
}
@media (max-width: 960px) {
  .nav-toggle { display: block; position: relative; z-index: 95; }
  .main-nav {
    position: fixed; top: 0; right: 0; height: 100vh; width: min(340px, 86vw);
    background: var(--white); flex-direction: column; align-items: stretch; gap: 1.5rem;
    padding: 96px 1.8rem 2rem; box-shadow: -10px 0 40px rgba(15,35,64,.18);
    transform: translateX(100%); transition: transform .45s var(--ease), visibility 0s linear .45s; z-index: 90; overflow-y: auto;
    visibility: hidden;
  }
  .nav-open .main-nav { transform: none; visibility: visible; transition: transform .45s var(--ease); }
  .main-nav ul { flex-direction: column; gap: 0; }
  .main-nav ul li { opacity: 0; transform: translateX(30px); transition: opacity .4s, transform .5s var(--ease); }
  .nav-open .main-nav ul li { opacity: 1; transform: none; }
  .nav-open .main-nav ul li:nth-child(2) { transition-delay: .05s; } .nav-open .main-nav ul li:nth-child(3) { transition-delay: .1s; }
  .nav-open .main-nav ul li:nth-child(4) { transition-delay: .15s; } .nav-open .main-nav ul li:nth-child(5) { transition-delay: .2s; }
  .nav-open .main-nav ul li:nth-child(6) { transition-delay: .25s; }
  .main-nav ul a { display: block; font-size: 1rem; padding: .9rem 0; border-bottom: 1px solid var(--line); }
  .main-nav ul a::after { bottom: -1px; }
  .nav-backdrop { position: fixed; inset: 0; background: rgba(10,24,48,.45); z-index: 80; opacity: 0; visibility: hidden; transition: opacity .4s, visibility 0s linear .4s; }
  .nav-open .nav-backdrop { opacity: 1; visibility: visible; transition: opacity .4s; }
  .hero-grid, .split, .form-split, .social-grid, .guide-box, .compare { grid-template-columns: 1fr; gap: 2.8rem; }
  .hero { padding: 60px 0 110px; }
  .hero h1 { min-height: 3.6em; }
  .hero h1 .rotator { white-space: normal; }
  .hero .dots { display: none; }
  .hero-photo { max-width: 340px; order: -1; margin-top: 10px; }
  .hero-badge { left: -14px; bottom: -22px; } /* hangs below the photo so it clears the chip */
  /* Keep both chips off her face: VA chip above her head, pre-approval chip below her chin */
  .chip-1 { right: -18px; top: 60%; }
  .chip-2 { right: auto; left: -18px; bottom: auto; top: -3%; }
  .scroll-cue, .hero-house { display: none; }
  .team-grid { grid-template-columns: 1fr; }
  .card-grid-3 { grid-template-columns: 1fr 1fr; }
  .cta-band-inner { flex-direction: column; align-items: flex-start; }
  .section { padding: 84px 0; }
  .guide-cover { transform: none; max-width: 240px; }
  .page-hero .container::after { display: none; }
}
@media (max-width: 640px) {
  .topbar-nmls { display: none; }
  .topbar-inner { justify-content: center; }
  .topbar-links { gap: 1rem; font-size: .72rem; }
  .brand-mark { width: 40px; height: 40px; font-size: .92rem; }
  .brand-name { font-size: 1.25rem; }
  .brand-sub { font-size: .5rem; letter-spacing: .08em; }
  .stats { padding-bottom: 56px; }
  .card-grid, .card-grid-2, .card-grid-3 { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: 1fr; }
  .stat { padding: 1.8rem 1rem; }
  .stat + .stat::before { left: 25%; right: 25%; top: 0; bottom: auto; width: auto; height: 1px; background: linear-gradient(90deg, transparent, rgba(200,162,74,.6), transparent); }
  .steps { grid-template-columns: 1fr 1fr; }
  .form-row, .form-row-3 { grid-template-columns: 1fr; gap: 0; }
  .form-card, .guide-box { padding: 1.7rem; }
  .team-card { grid-template-columns: 1fr; }
  .team-photo { min-height: 0; }
  .team-photo img { position: static; aspect-ratio: 4 / 5; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-compliance { flex-direction: column; }
  .hero-actions .btn, .btn-row .btn { width: 100%; }
  .marquee-item { font-size: 1.1rem; }
  .to-top { right: 14px; bottom: 14px; width: 48px; height: 48px; }
  .chip { font-size: .7rem; }
  .social-panel { padding: 1.7rem; }
  .reviews-box { padding: 2.6rem 1.3rem; }
  .reviews-actions .btn { padding-left: 1rem; padding-right: 1rem; letter-spacing: .06em; }
  .social-grid-single .social-links { grid-template-columns: 1fr; }
  .social-panel-head { align-items: flex-start; }
}
@media (max-width: 400px) {
  /* Smallest phones: let the tagline wrap so it can't push the menu button off-screen */
  .brand-sub { white-space: normal; line-height: 1.35; }
}
