/* ==========================================================
   Ashley Guerrero · Keller Williams SELA
   Brand (Nov 2026): navy #0B1F44 · cream #F8F6F1 · emerald #008F62
          aquamarine #00E5FF (buttons + pops) · silver #C0C0C0 (details)
          black #000000 functional only. Text is navy.
   Readability: emerald = big headlines, icons, accents only (3.8:1).
   Aqua = backgrounds with navy text only, never text on cream.
   Type:  Archivo (headlines) · Inter (body)
   ========================================================== */

:root {
  --navy: #0B1F44;
  --navy-deep: #07152F;
  --navy-ink: #061226;
  --black: #0B1F44;          /* main text + headlines: brand navy (true black is functional only) */
  --cream: #F8F6F1;
  --cream-deep: #EFEBE1;
  --silver: #C0C0C0;
  --emerald: #008F62;
  --aqua: #00E5FF;
  --aqua-deep: #00C8E0;
  --white: #FFFFFF;
  --muted: #4A4F57;          /* secondary text, passes AA on cream + white */

  --font-head: "Archivo", system-ui, sans-serif;
  --font-body: "Inter", system-ui, sans-serif;

  --radius: 14px;
  --radius-sm: 10px;
  --shadow: 0 1px 2px rgba(11,31,68,.06), 0 8px 24px rgba(11,31,68,.06);
  --shadow-lg: 0 2px 4px rgba(11,31,68,.06), 0 24px 48px rgba(6,18,38,.14);
  --wrap: 1180px;
  --ease: cubic-bezier(.2,.7,.2,1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.6;
  color: var(--black);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: var(--navy); }
a:hover { color: var(--navy-deep); }
:focus-visible { outline: 3px solid var(--navy); outline-offset: 3px; border-radius: 4px; }

h1, h2, h3, h4 {
  font-family: var(--font-head);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin: 0 0 .5em;
  color: var(--black);
  text-wrap: balance;
}
h1 { font-size: clamp(2.4rem, 5.2vw, 4.1rem); letter-spacing: -0.03em; }
h2 { font-size: clamp(1.9rem, 3.6vw, 2.8rem); }
h3 { font-size: 1.3rem; letter-spacing: -0.01em; }
p { margin: 0 0 1em; text-wrap: pretty; }
.lead { font-size: 1.18rem; color: var(--muted); max-width: 60ch; }
.accent { color: var(--navy); }

.wrap { width: min(var(--wrap), 100% - 40px); margin-inline: auto; }
.section { padding: clamp(64px, 9vw, 112px) 0; }
.section--white { background: var(--white); }
.section--navy { background: var(--navy); color: var(--cream); }
.section--navy h2, .section--navy h3 { color: var(--white); }
.section--navy .lead { color: rgba(248,246,241,.82); }
.section--ink { background: var(--navy-ink); color: var(--cream); }
.section--ink h2, .section--ink h3 { color: var(--white); }
.section--ink .lead { color: rgba(248,246,241,.8); }

.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-head);
  font-size: .8rem; font-weight: 600;
  letter-spacing: .14em; text-transform: uppercase;
  color: var(--navy);
  margin-bottom: 18px;
}
.eyebrow::before { content: ""; width: 28px; height: 2px; background: currentColor; }
.section--navy .eyebrow, .section--ink .eyebrow { color: var(--silver); }

.section-head { max-width: 720px; margin-bottom: 48px; }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head.center .eyebrow::after { content: ""; width: 28px; height: 2px; background: currentColor; }
.section-head.center .lead { margin-inline: auto; }

/* ---------- Buttons ---------- */
.btn {
  --bg: var(--aqua); --fg: var(--navy);
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 15px 26px;
  border-radius: 999px;
  border: 2px solid var(--bg);
  background: var(--bg); color: var(--fg);
  font-family: var(--font-head); font-weight: 600; font-size: 1rem;
  text-decoration: none; cursor: pointer;
  transition: transform .2s var(--ease), background .2s, box-shadow .2s;
  white-space: nowrap;
}
.btn:hover { color: var(--fg); background: var(--aqua-deep); border-color: var(--aqua-deep); transform: translateY(-1px); box-shadow: 0 8px 20px rgba(0,143,98,.22); }
.btn svg { width: 18px; height: 18px; transition: transform .2s var(--ease); }
.btn:hover svg { transform: translateX(3px); }
.btn--ghost { --bg: transparent; --fg: var(--black); border-color: var(--black); }
.btn--ghost:hover { --fg: var(--white); background: var(--black); border-color: var(--black); box-shadow: none; }
.btn--light { --bg: var(--cream); --fg: var(--navy-ink); }
.btn--light:hover { --fg: var(--navy-ink); background: var(--white); border-color: var(--white); }
.btn--outline-light { --bg: transparent; --fg: var(--cream); border-color: rgba(248,246,241,.5); }
.btn--outline-light:hover { --fg: var(--navy-ink); background: var(--cream); border-color: var(--cream); }
.btn--lg { padding: 18px 32px; font-size: 1.06rem; }
.btn--block { width: 100%; }

/* ---------- Top bar + header ---------- */
.topbar {
  background: var(--navy-ink); color: var(--cream);
  font-size: .82rem;
}
.topbar .wrap { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 9px 0; }
.topbar a { color: var(--cream); text-decoration: none; }
.topbar a:hover { color: var(--white); text-decoration: underline; }
.topbar__left, .topbar__right { display: flex; gap: 22px; align-items: center; }
.topbar .pill { background: rgba(248,246,241,.12); padding: 3px 10px; border-radius: 999px; font-weight: 600; }

.header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(248,246,241,.92);
  backdrop-filter: saturate(1.4) blur(12px);
  -webkit-backdrop-filter: saturate(1.4) blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color .2s, box-shadow .2s;
}
.header.is-scrolled { border-bottom-color: rgba(192,192,192,.6); box-shadow: 0 6px 20px rgba(11,31,68,.05); }
.header .wrap { display: flex; align-items: center; justify-content: space-between; height: 78px; gap: 24px; }

.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--black); }
.brand__mark {
  width: 42px; height: 42px; border-radius: 10px;
  background: var(--navy); color: var(--white);
  display: grid; place-items: center;
  font-family: var(--font-head); font-weight: 700; font-size: 1.05rem; letter-spacing: -0.02em;
}
.brand__name { font-family: var(--font-head); font-weight: 700; font-size: 1.18rem; line-height: 1; letter-spacing: -0.02em; }
.brand__sub { display: block; font-size: .68rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin-top: 5px; }

.nav { display: flex; align-items: center; gap: 4px; }
.nav__link, .nav__toggle {
  font-family: var(--font-head); font-weight: 600; font-size: .95rem;
  color: var(--black); text-decoration: none;
  padding: 10px 14px; border-radius: 999px;
  background: none; border: 0; cursor: pointer;
  display: inline-flex; align-items: center; gap: 6px;
  transition: background .15s;
}
.nav__link:hover, .nav__toggle:hover { background: rgba(11,31,68,.07); color: var(--black); }
.nav__link[aria-current="page"], .nav__item.is-current > .nav__toggle { color: var(--navy); box-shadow: inset 0 -2px 0 var(--navy); border-radius: 0; }
.nav__toggle svg { width: 14px; height: 14px; transition: transform .2s; }
.nav__item { position: relative; }
.nav__item.is-open .nav__toggle svg { transform: rotate(180deg); }
.dropdown {
  position: absolute; top: calc(100% + 10px); left: 50%;
  translate: -50% 0;
  width: 320px;
  background: var(--white);
  border: 1px solid rgba(192,192,192,.7);
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  padding: 10px;
  opacity: 0; visibility: hidden; transform: translateY(-6px);
  transition: opacity .18s, transform .18s var(--ease), visibility .18s;
}
.nav__item.is-open .dropdown,
.nav__item:focus-within .dropdown { opacity: 1; visibility: visible; transform: none; }
@media (hover: hover) and (min-width: 1281px) {
  .nav__item:hover .dropdown { opacity: 1; visibility: visible; transform: none; }
  .nav__item::after { content: ""; position: absolute; left: 0; right: 0; top: 100%; height: 14px; }
}
.dropdown a {
  display: grid; grid-template-columns: 44px 1fr; gap: 12px; align-items: center;
  padding: 10px; border-radius: var(--radius-sm);
  text-decoration: none; color: var(--black);
}
.dropdown a:hover { background: var(--cream); color: var(--black); }
.dropdown__tag {
  width: 44px; height: 44px; border-radius: 10px;
  background: var(--cream-deep); color: var(--navy);
  display: grid; place-items: center;
  font-family: var(--font-head); font-weight: 700; font-size: .78rem; letter-spacing: .02em;
}
.dropdown strong { font-family: var(--font-head); display: block; font-size: .98rem; }
.dropdown small { color: var(--muted); font-size: .82rem; line-height: 1.35; display: block; }
.dropdown__all { border-top: 1px solid var(--cream-deep); margin-top: 6px; padding-top: 6px; }
.dropdown__all a { display: block; font-family: var(--font-head); font-weight: 600; font-size: .9rem; color: var(--navy); }

.header__cta { display: flex; align-items: center; gap: 10px; }
.header__cta .btn { padding: 12px 20px; font-size: .95rem; }
.menu-btn { display: none; width: 46px; height: 46px; border-radius: 12px; border: 1px solid var(--silver); background: var(--white); cursor: pointer; place-items: center; }
.menu-btn span { display: block; width: 20px; height: 2px; background: var(--black); position: relative; transition: background .2s; }
.menu-btn span::before, .menu-btn span::after { content: ""; position: absolute; left: 0; width: 20px; height: 2px; background: var(--black); transition: transform .25s var(--ease); }
.menu-btn span::before { top: -6px; } .menu-btn span::after { top: 6px; }
.nav-open .menu-btn span { background: transparent; }
.nav-open .menu-btn span::before { transform: translateY(6px) rotate(45deg); }
.nav-open .menu-btn span::after { transform: translateY(-6px) rotate(-45deg); }

@media (max-width: 1280px) {
  .menu-btn { display: grid; }
  .header__cta .btn { display: none; }
  .nav {
    position: fixed; inset: var(--nav-top, 78px) 0 0 0;
    background: var(--cream);
    flex-direction: column; align-items: stretch; gap: 0;
    padding: 12px 20px 120px;
    overflow-y: auto;
    transform: translateX(100%);
    transition: transform .3s var(--ease);
  }
  .nav-open .nav { transform: none; }
  .nav-open { overflow: hidden; }
  .nav-open .header { backdrop-filter: none; -webkit-backdrop-filter: none; background: var(--cream); }
  .nav__link, .nav__toggle { font-size: 1.2rem; padding: 18px 4px; border-radius: 0; border-bottom: 1px solid rgba(192,192,192,.5); width: 100%; justify-content: space-between; }
  .nav__link[aria-current="page"], .nav__item.is-current > .nav__toggle { box-shadow: none; }
  .dropdown { position: static; translate: none; width: auto; box-shadow: none; border: 0; background: transparent; padding: 0 0 8px; display: none; opacity: 1; visibility: visible; transform: none; }
  .nav__item.is-open .dropdown { display: block; }
  .nav .nav__mobile-cta { display: block; margin-top: 24px; }
}
.nav__mobile-cta { display: none; }
@media (max-width: 720px) { .topbar__left .hide-sm, .topbar__right .hide-sm { display: none; } }
@media (max-width: 520px) { .topbar__right { display: none; } .topbar .wrap { justify-content: center; } }

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; padding: clamp(40px, 6vw, 80px) 0 clamp(64px, 8vw, 104px); }
.hero::before {
  content: ""; position: absolute; right: -12%; top: -30%;
  width: 70vw; height: 70vw; max-width: 900px; max-height: 900px;
  background: radial-gradient(circle, rgba(11,31,68,.08), transparent 62%);
  pointer-events: none;
}
.hero__grid { display: grid; grid-template-columns: 1.08fr .92fr; gap: clamp(32px, 5vw, 72px); align-items: center; position: relative; }
.hero h1 .accent { display: block; }
.hero .lead { margin-bottom: 30px; }

.address-form {
  display: flex; gap: 8px;
  background: var(--white);
  padding: 8px;
  border-radius: 999px;
  box-shadow: var(--shadow-lg);
  border: 1px solid rgba(192,192,192,.6);
  max-width: 580px;
}
.address-form .field-icon { display: grid; place-items: center; padding-left: 14px; color: var(--navy); }
.address-form .field-icon svg { width: 22px; height: 22px; }
.address-form input {
  flex: 1; min-width: 0;
  border: 0; outline: 0; background: transparent;
  font: inherit; font-size: 1.05rem; color: var(--black);
  padding: 12px 6px;
}
.address-form input::placeholder { color: #7A7F87; }
.address-form:focus-within { border-color: var(--navy); box-shadow: 0 0 0 4px rgba(11,31,68,.12), var(--shadow-lg); }
.form-note { font-size: .88rem; color: var(--muted); margin-top: 14px; display: flex; flex-wrap: wrap; gap: 6px 18px; }
.form-note span { display: inline-flex; align-items: center; gap: 6px; }
.form-note svg { width: 16px; height: 16px; color: var(--navy); }

.hero__visual { position: relative; }
.portrait {
  position: relative;
  aspect-ratio: 4 / 5;
  border-radius: 24px;
  overflow: hidden;
  background: linear-gradient(160deg, #2a2a2a, #111);
  box-shadow: var(--shadow-lg);
}
.portrait img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; }
.portrait__badge {
  position: absolute; left: -22px; bottom: 32px;
  background: var(--white); border-radius: var(--radius);
  padding: 14px 18px; box-shadow: var(--shadow-lg);
  display: flex; align-items: center; gap: 12px;
  max-width: 260px;
}
.portrait__badge .num { font-family: var(--font-head); font-weight: 700; font-size: 1.6rem; color: var(--navy); line-height: 1; }
.portrait__badge small { display: block; font-size: .8rem; color: var(--muted); line-height: 1.3; }
.portrait__chip {
  position: absolute; right: 18px; top: 18px;
  background: rgba(248,246,241,.95); color: var(--black);
  font-family: var(--font-head); font-weight: 600; font-size: .82rem;
  padding: 8px 14px; border-radius: 999px;
}

@media (max-width: 900px) {
  .hero__grid { grid-template-columns: 1fr; }
  .hero__visual { max-width: 440px; margin-inline: auto; width: 100%; }
  .portrait { aspect-ratio: 5 / 5; }
  .portrait__badge { left: 12px; }
}
@media (max-width: 560px) {
  .address-form { flex-direction: column; border-radius: 22px; padding: 10px; }
  .address-form .field-icon { display: none; }
  .address-form input { padding: 12px 10px; }
  .address-form .btn { width: 100%; }
}

/* ---------- Trust strip ---------- */
.trust { border-block: 1px solid rgba(192,192,192,.6); background: var(--white); }
.trust .wrap { display: grid; grid-template-columns: repeat(4, 1fr); }
.trust__item { padding: 26px 20px; display: flex; gap: 14px; align-items: center; }
.trust__item + .trust__item { border-left: 1px solid rgba(192,192,192,.6); }
.trust__icon { flex: none; width: 44px; height: 44px; border-radius: 12px; background: var(--cream); color: var(--navy); display: grid; place-items: center; }
.trust__icon svg { width: 22px; height: 22px; }
.trust strong { font-family: var(--font-head); display: block; font-size: 1rem; line-height: 1.2; }
.trust small { color: var(--muted); font-size: .84rem; line-height: 1.3; display: block; }
@media (max-width: 900px) {
  .trust .wrap { grid-template-columns: 1fr 1fr; }
  .trust__item:nth-child(3) { border-left: 0; }
  .trust__item:nth-child(n+3) { border-top: 1px solid rgba(192,192,192,.6); }
}
@media (max-width: 520px) { .trust__item { padding: 18px 10px; } .trust__icon { display: none; } }

/* ---------- Cards / grids ---------- */
.grid { display: grid; gap: 22px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 960px) { .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; } }

.card {
  background: var(--white);
  border: 1px solid rgba(192,192,192,.6);
  border-radius: var(--radius);
  padding: 30px;
  transition: transform .25s var(--ease), box-shadow .25s, border-color .25s;
}
.section--white .card { background: var(--cream); border-color: transparent; }
a.card { display: block; text-decoration: none; color: var(--black); }
a.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: transparent; color: var(--black); }
.card__icon { width: 52px; height: 52px; border-radius: 14px; background: var(--navy); color: var(--white); display: grid; place-items: center; margin-bottom: 22px; }
.card__icon svg { width: 26px; height: 26px; }
.card p { color: var(--muted); margin-bottom: 0; }
.card .more { display: inline-flex; align-items: center; gap: 6px; margin-top: 18px; font-family: var(--font-head); font-weight: 600; color: var(--navy); font-size: .95rem; }
.card .more svg { width: 16px; height: 16px; transition: transform .2s var(--ease); }
a.card:hover .more svg { transform: translateX(4px); }

/* ---------- Split feature ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 88px); align-items: center; }
.split--rev .split__media { order: 2; }
@media (max-width: 900px) { .split { grid-template-columns: 1fr; } .split--rev .split__media { order: 0; } }
.photo {
  border-radius: 22px; overflow: hidden; position: relative;
  aspect-ratio: 4 / 3.4;
  background-color: var(--navy);
  background-size: cover; background-position: center;
  box-shadow: var(--shadow-lg);
}
.photo--tall { aspect-ratio: 4 / 4.6; }
.photo__label {
  position: absolute; left: 20px; bottom: 20px; right: 20px;
  color: var(--white);
  font-family: var(--font-head); font-weight: 600;
}
.photo__label small { display: block; font-family: var(--font-body); font-weight: 400; opacity: .85; font-size: .88rem; }

.checklist { list-style: none; padding: 0; margin: 0 0 30px; display: grid; gap: 14px; }
.checklist li { display: grid; grid-template-columns: 26px 1fr; gap: 12px; align-items: start; }
.checklist li::before {
  content: ""; width: 26px; height: 26px; border-radius: 50%;
  background: var(--navy) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center/14px no-repeat;
  margin-top: 1px;
}
.section--navy .checklist li::before, .section--ink .checklist li::before { background-color: var(--cream); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230B1F44' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E"); }
.checklist strong { font-family: var(--font-head); }

/* ---------- Steps ---------- */
.steps { counter-reset: step; display: grid; gap: 0; }
.steps--grid { grid-template-columns: repeat(3, 1fr); gap: 22px; }
@media (max-width: 900px) { .steps--grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .steps--grid { grid-template-columns: 1fr; } }
.step { counter-increment: step; position: relative; }
.step__num::before { content: counter(step, decimal-leading-zero); }
.step__num { font-family: var(--font-head); font-weight: 700; font-size: .9rem; color: var(--navy); letter-spacing: .06em; display: block; margin-bottom: 14px; }
.steps--grid .step { background: var(--white); border-radius: var(--radius); padding: 28px; border: 1px solid rgba(192,192,192,.6); }
.steps--grid .step p { color: var(--muted); margin: 0; font-size: .98rem; }

/* Timeline (NOD) */
.timeline { position: relative; display: grid; gap: 0; max-width: 820px; }
.timeline::before { content: ""; position: absolute; left: 19px; top: 20px; bottom: 20px; width: 2px; background: rgba(248,246,241,.25); }
.tl { position: relative; display: grid; grid-template-columns: 40px 1fr; gap: 22px; padding-bottom: 34px; }
.tl:last-child { padding-bottom: 0; }
.tl__dot { width: 40px; height: 40px; border-radius: 50%; background: var(--cream); color: var(--navy); display: grid; place-items: center; font-family: var(--font-head); font-weight: 700; position: relative; z-index: 1; }
.tl__when { font-family: var(--font-head); font-weight: 600; font-size: .8rem; letter-spacing: .12em; text-transform: uppercase; color: var(--silver); display: block; margin-bottom: 4px; }
.tl h3 { margin-bottom: 6px; }
.tl p { color: rgba(248,246,241,.82); margin: 0; }

/* ---------- Stats ---------- */
.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; border-top: 1px solid rgba(248,246,241,.2); }
.stat { padding: 30px 24px 0 0; }
.stat + .stat { padding-left: 24px; border-left: 1px solid rgba(248,246,241,.2); }
.stat .num { font-family: var(--font-head); font-weight: 700; font-size: clamp(2rem, 4vw, 3rem); line-height: 1; color: var(--white); display: block; margin-bottom: 8px; }
.stat small { color: rgba(248,246,241,.75); font-size: .92rem; }
@media (max-width: 640px) { .stats { grid-template-columns: 1fr; } .stat + .stat { border-left: 0; padding-left: 0; border-top: 1px solid rgba(248,246,241,.2); padding-top: 24px; } .stat { padding-bottom: 24px; } }

/* ---------- Region / neighborhood tiles ---------- */
.region-tile {
  position: relative; display: flex; flex-direction: column; justify-content: flex-end;
  min-height: 360px; padding: 28px;
  border-radius: 20px; overflow: hidden;
  text-decoration: none; color: var(--white);
  background-color: var(--navy);
  background-size: cover; background-position: center;
  isolation: isolate;
  transition: transform .3s var(--ease), box-shadow .3s;
}
.region-tile::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(6,18,38,.15) 0%, rgba(6,18,38,.55) 40%, rgba(6,18,38,.94) 100%); }
.region-tile:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); color: var(--white); }
.region-tile__code { position: absolute; top: 22px; left: 24px; font-family: var(--font-head); font-weight: 700; font-size: .78rem; letter-spacing: .16em; background: rgba(248,246,241,.16); backdrop-filter: blur(6px); padding: 6px 12px; border-radius: 999px; }
.region-tile h3 { color: var(--white); font-size: 1.7rem; margin-bottom: 6px; }
.region-tile p { color: rgba(255,255,255,.85); margin: 0 0 14px; font-size: .96rem; }
.region-tile .more { font-family: var(--font-head); font-weight: 600; display: inline-flex; gap: 8px; align-items: center; }
.region-tile .more svg { width: 18px; height: 18px; transition: transform .2s var(--ease); }
.region-tile:hover .more svg { transform: translateX(4px); }

/* Fallback art for photos not uploaded yet. Real photos layer on top via inline style. */
.art-nela   { background-image: linear-gradient(135deg, #0B1F44 0%, #061226 100%); }
.art-ela    { background-image: linear-gradient(135deg, #24497F 0%, #07152F 100%); }
.art-sela   { background-image: linear-gradient(135deg, #0B1F44 0%, #0B1F44 100%); }
.art-beyond { background-image: linear-gradient(135deg, #2D5591 0%, #061226 100%); }

/* Corridor map */
.corridor { background: var(--white); border-radius: 24px; padding: clamp(20px, 4vw, 44px); border: 1px solid rgba(192,192,192,.6); }
.corridor svg { width: 100%; height: auto; display: block; }
.corridor .node { cursor: pointer; }
.corridor .node circle.halo { transition: r .25s var(--ease), opacity .25s; opacity: 0; }
.corridor .node:hover circle.halo, .corridor .node:focus circle.halo { opacity: 1; }
.corridor .node:focus { outline: none; }

/* Community cards on region pages */
.community {
  background: var(--white); border-radius: var(--radius);
  border: 1px solid rgba(192,192,192,.6);
  overflow: hidden; display: flex; flex-direction: column;
}
.community__img { aspect-ratio: 16 / 10; background-color: var(--navy); background-size: cover; background-position: center; position: relative; }
.community__img span { position: absolute; left: 16px; bottom: 14px; font-family: var(--font-head); font-weight: 700; color: var(--white); font-size: 1.45rem; letter-spacing: -0.02em; text-shadow: 0 2px 12px rgba(0,0,0,.25); }
.community__body { padding: 24px; display: flex; flex-direction: column; flex: 1; }
.community__body p { color: var(--muted); font-size: .98rem; }
.tags { display: flex; flex-wrap: wrap; gap: 6px; margin: 0 0 18px; padding: 0; list-style: none; }
.tags li { font-size: .78rem; font-weight: 600; padding: 5px 10px; border-radius: 999px; background: var(--cream); color: var(--navy-ink); }
.snapshot { margin-top: auto; padding-top: 16px; border-top: 1px solid var(--cream-deep); display: flex; justify-content: space-between; align-items: flex-end; gap: 10px; }
.snapshot .num { font-family: var(--font-head); font-weight: 700; font-size: 1.4rem; color: var(--navy); line-height: 1; }
.snapshot small { display: block; color: var(--muted); font-size: .76rem; margin-top: 4px; }
.snapshot a { font-family: var(--font-head); font-weight: 600; font-size: .9rem; text-decoration: none; white-space: nowrap; }

/* Sub-nav for neighborhoods */
.subnav { display: flex; gap: 8px; flex-wrap: wrap; }
.subnav a { font-family: var(--font-head); font-weight: 600; font-size: .92rem; text-decoration: none; color: var(--black); padding: 10px 18px; border-radius: 999px; border: 1px solid var(--silver); background: var(--white); }
.subnav a:hover { border-color: var(--navy); color: var(--navy); }
.subnav a[aria-current="page"] { background: var(--navy); color: var(--white); border-color: var(--navy); }

/* Page hero (interior) */
.page-hero { padding: clamp(48px, 7vw, 96px) 0 clamp(48px, 6vw, 80px); position: relative; overflow: hidden; }
.page-hero--photo { color: var(--white); background-color: var(--navy-ink); background-size: cover; background-position: center; isolation: isolate; }
.page-hero--photo::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(6,18,38,.94) 0%, rgba(6,18,38,.78) 50%, rgba(6,18,38,.35) 100%); }
.page-hero--photo h1 { color: var(--white); }
.page-hero--photo .lead { color: rgba(248,246,241,.88); }
.page-hero--photo .eyebrow { color: var(--silver); }
.crumbs { font-size: .85rem; margin-bottom: 18px; color: var(--muted); }
.crumbs a { color: inherit; }
.page-hero--photo .crumbs { color: rgba(248,246,241,.75); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 8px; }

/* ---------- Forms ---------- */
.form-card {
  background: var(--white);
  border-radius: 22px;
  padding: clamp(24px, 4vw, 40px);
  box-shadow: var(--shadow-lg);
  color: var(--black);
}
.form-card h3 { margin-bottom: 6px; }
.form-card > p { color: var(--muted); }
.fields { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.fields .full { grid-column: 1 / -1; }
@media (max-width: 560px) { .fields { grid-template-columns: 1fr; } }
.field label, .field .label { display: block; font-size: .86rem; font-weight: 600; margin-bottom: 6px; color: var(--black); }
.field .opt { font-weight: 400; color: var(--muted); }
.field input, .field select, .field textarea {
  width: 100%;
  font: inherit; font-size: 1rem; color: var(--black);
  padding: 13px 14px;
  border: 1.5px solid var(--silver);
  border-radius: var(--radius-sm);
  background: var(--white);
  transition: border-color .15s, box-shadow .15s;
}
.field textarea { min-height: 110px; resize: vertical; }
.field select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231A1A1A' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 12px center; background-size: 18px; padding-right: 40px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: 0; border-color: var(--navy); box-shadow: 0 0 0 4px rgba(11,31,68,.12); }
.field input.is-invalid, .field select.is-invalid { border-color: #B3261E; box-shadow: 0 0 0 4px rgba(179,38,30,.1); }
.consent { display: grid; grid-template-columns: 20px 1fr; gap: 10px; font-size: .78rem; line-height: 1.45; color: var(--muted); margin: 16px 0 18px; }
.consent input { width: 18px; height: 18px; margin: 2px 0 0; accent-color: var(--navy); }
.privacy-line { font-size: .8rem; color: var(--muted); text-align: center; margin: 12px 0 0; display: flex; align-items: center; justify-content: center; gap: 6px; }
.privacy-line svg { width: 14px; height: 14px; }
.hidden-field { position: absolute !important; left: -9999px !important; }

/* Lang toggle chips */
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip input { position: absolute; opacity: 0; pointer-events: none; }
.chip span { display: inline-block; padding: 10px 16px; border-radius: 999px; border: 1.5px solid var(--silver); font-weight: 600; font-size: .92rem; cursor: pointer; transition: all .15s; }
.chip input:checked + span { background: var(--navy); color: var(--white); border-color: var(--navy); }
.chip input:focus-visible + span { outline: 3px solid var(--navy); outline-offset: 2px; }

/* ---------- Valuation wizard ---------- */
.wizard-shell { min-height: calc(100vh - 120px); padding: clamp(32px, 5vw, 64px) 0 96px; }
.wizard-grid { display: grid; grid-template-columns: 1fr 360px; gap: 40px; align-items: start; }
@media (max-width: 980px) { .wizard-grid { grid-template-columns: 1fr; } .wizard-aside { order: 2; } }
.wizard { background: var(--white); border-radius: 24px; box-shadow: var(--shadow-lg); overflow: hidden; }
.wizard__top { padding: 22px clamp(22px, 4vw, 40px); border-bottom: 1px solid var(--cream-deep); display: flex; justify-content: space-between; align-items: center; gap: 16px; }
.wizard__count { font-family: var(--font-head); font-weight: 600; font-size: .9rem; color: var(--muted); }
.progress { height: 4px; background: var(--cream-deep); }
.progress__bar { height: 100%; width: 0; background: var(--navy); transition: width .4s var(--ease); }
.wizard form { padding: clamp(26px, 4vw, 48px) clamp(22px, 4vw, 48px) clamp(26px, 4vw, 40px); }
.wstep { display: none; border: 0; margin: 0; padding: 0; min-width: 0; }
.wstep.is-active { display: block; animation: stepIn .4s var(--ease); }
@keyframes stepIn { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
.wstep legend { font-family: var(--font-head); font-weight: 700; font-size: clamp(1.5rem, 3vw, 2rem); letter-spacing: -0.02em; line-height: 1.15; padding: 0; margin-bottom: 8px; color: var(--black); }
.wstep .hint { color: var(--muted); margin-bottom: 26px; }
.tiles { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.tiles--3 { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 560px) { .tiles, .tiles--3 { grid-template-columns: 1fr; } }
.tile { position: relative; }
.tile input { position: absolute; opacity: 0; pointer-events: none; }
.tile > span {
  display: flex; align-items: center; gap: 14px;
  padding: 18px; min-height: 68px;
  border: 1.5px solid var(--silver); border-radius: var(--radius);
  font-weight: 600; cursor: pointer;
  transition: border-color .15s, background .15s, transform .15s;
}
.tile > span:hover { border-color: var(--navy); background: #FBF9F4; }
.tile svg { width: 26px; height: 26px; color: var(--navy); flex: none; }
.tile small { display: block; font-weight: 400; font-size: .84rem; color: var(--muted); margin-top: 2px; }
.tile input:checked + span { border-color: var(--navy); background: rgba(11,31,68,.06); box-shadow: inset 0 0 0 1px var(--navy); }
.tile input:focus-visible + span { outline: 3px solid var(--navy); outline-offset: 2px; }
.wizard__nav { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-top: 32px; }
.link-btn { background: none; border: 0; font: inherit; font-family: var(--font-head); font-weight: 600; color: var(--muted); cursor: pointer; padding: 10px 4px; display: inline-flex; align-items: center; gap: 6px; }
.link-btn:hover { color: var(--black); }
.link-btn svg { width: 16px; height: 16px; }
.link-btn[hidden] { display: none; }
.callout { border-radius: var(--radius); padding: 16px 18px; background: var(--cream); border-left: 3px solid var(--navy); font-size: .95rem; margin-top: 18px; }
.callout[hidden] { display: none; }
.callout strong { font-family: var(--font-head); }

.wizard-aside .card { padding: 26px; }
.agent-mini { display: flex; gap: 14px; align-items: center; margin-bottom: 18px; }
.agent-mini img { width: 64px; height: 64px; border-radius: 50%; object-fit: cover; object-position: 50% 25%; background: #222; }
.agent-mini strong { font-family: var(--font-head); display: block; }
.agent-mini small { color: var(--muted); }

/* ---------- Quiz ---------- */
.quiz { background: var(--white); border-radius: 22px; padding: clamp(24px, 4vw, 40px); box-shadow: var(--shadow-lg); }
.quiz__q { padding: 16px 0; border-bottom: 1px solid var(--cream-deep); display: flex; justify-content: space-between; align-items: center; gap: 16px; }
.quiz__q p { margin: 0; font-weight: 500; }
.yn { display: flex; gap: 6px; flex: none; }
.yn label input { position: absolute; opacity: 0; pointer-events: none; }
.yn label span { display: inline-block; min-width: 56px; text-align: center; padding: 8px 12px; border-radius: 999px; border: 1.5px solid var(--silver); font-weight: 600; font-size: .88rem; cursor: pointer; }
.yn label input:checked + span { background: var(--navy); border-color: var(--navy); color: var(--white); }
.yn label input:focus-visible + span { outline: 3px solid var(--navy); outline-offset: 2px; }
.quiz__result { margin-top: 24px; padding: 22px; border-radius: var(--radius); background: var(--cream); display: none; }
.quiz__result.is-shown { display: block; animation: stepIn .4s var(--ease); }
.quiz__result h3 { margin-bottom: 6px; }
.meter { height: 8px; border-radius: 99px; background: var(--cream-deep); overflow: hidden; margin: 12px 0 16px; }
.section--white .quiz__result { background: var(--cream); }
.meter__bar { height: 100%; background: var(--navy); width: 0; transition: width .6s var(--ease); }

/* ---------- FAQ ---------- */
.faq { max-width: 820px; margin-inline: auto; }
.faq details { border-bottom: 1px solid rgba(192,192,192,.8); }
.faq summary {
  list-style: none; cursor: pointer;
  display: flex; justify-content: space-between; align-items: center; gap: 18px;
  padding: 24px 0;
  font-family: var(--font-head); font-weight: 600; font-size: 1.12rem;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; flex: none; width: 32px; height: 32px; border-radius: 50%; background: var(--white) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230B1F44' stroke-width='2.4' stroke-linecap='round'%3E%3Cpath d='M12 6v12M6 12h12'/%3E%3C/svg%3E") center/16px no-repeat; border: 1px solid var(--silver); transition: transform .25s var(--ease); }
.section--white .faq summary::after { background-color: var(--cream); }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { color: var(--muted); padding-bottom: 22px; margin: 0; max-width: 68ch; }

/* ---------- Quote / proof ---------- */
.proof { display: grid; grid-template-columns: auto 1fr; gap: 28px; align-items: center; background: var(--white); border-radius: 22px; padding: clamp(24px, 4vw, 40px); border: 1px solid rgba(192,192,192,.6); }
.proof__tag { width: 92px; height: 92px; border-radius: 20px; background: var(--navy); color: var(--white); display: grid; place-items: center; text-align: center; font-family: var(--font-head); font-weight: 700; font-size: .78rem; letter-spacing: .1em; line-height: 1.3; }
.proof h3 { margin-bottom: 4px; }
.proof p { margin: 0; color: var(--muted); }
@media (max-width: 560px) { .proof { grid-template-columns: 1fr; } }

/* ---------- CTA band ---------- */
.cta-band { background: var(--navy); color: var(--cream); border-radius: 28px; padding: clamp(36px, 6vw, 72px); display: grid; grid-template-columns: 1.2fr 1fr; gap: 40px; align-items: center; position: relative; overflow: hidden; }
.cta-band::after { content: ""; position: absolute; right: -120px; top: -120px; width: 360px; height: 360px; border-radius: 50%; border: 48px solid rgba(248,246,241,.06); }
.cta-band h2 { color: var(--white); margin-bottom: 12px; }
.cta-band p { color: rgba(248,246,241,.85); margin: 0; }
.cta-band .address-form { box-shadow: none; border-color: transparent; position: relative; z-index: 1; }
@media (max-width: 900px) { .cta-band { grid-template-columns: 1fr; } }

/* ---------- Bilingual band ---------- */
.es-band { background: var(--black); color: var(--cream); padding: 22px 0; }
.es-band .wrap { display: flex; align-items: center; justify-content: center; gap: 14px 28px; flex-wrap: wrap; text-align: center; }
.es-band strong { font-family: var(--font-head); font-size: 1.1rem; color: var(--white); }
.es-band a { color: var(--cream); font-weight: 600; }

/* ---------- Footer ---------- */
.footer { background: var(--navy-ink); color: rgba(248,246,241,.78); padding: 72px 0 28px; font-size: .94rem; }
.footer a { color: rgba(248,246,241,.85); text-decoration: none; }
.footer a:hover { color: var(--white); text-decoration: underline; }
.footer__grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.2fr; gap: 40px; }
@media (max-width: 900px) { .footer__grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer__grid { grid-template-columns: 1fr; } }
.footer h4 { color: var(--white); font-size: .82rem; letter-spacing: .14em; text-transform: uppercase; margin-bottom: 18px; }
.footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.footer .brand { color: var(--white); margin-bottom: 18px; }
.footer .brand__mark { background: var(--cream); color: var(--navy); }
.footer .brand__sub { color: var(--silver); }
.footer__tagline { font-family: var(--font-head); color: var(--white); font-size: 1.15rem; line-height: 1.3; max-width: 30ch; }
.social { display: flex; gap: 10px; margin-top: 18px; }
.social a { width: 42px; height: 42px; border-radius: 50%; border: 1px solid rgba(248,246,241,.25); display: grid; place-items: center; }
.social a:hover { background: var(--cream); color: var(--navy-ink); text-decoration: none; }
.social svg { width: 18px; height: 18px; }
.footer__legal { margin-top: 56px; padding-top: 24px; border-top: 1px solid rgba(248,246,241,.15); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px; font-size: .8rem; color: rgba(248,246,241,.6); }
.footer__legal p { margin: 0; max-width: 80ch; }
.eho { display: inline-flex; align-items: center; gap: 8px; }
.eho svg { width: 22px; height: 22px; }

/* ---------- Sticky mobile action bar ---------- */
.action-bar { display: none; }
@media (max-width: 820px) {
  .action-bar {
    position: fixed; left: 10px; right: 10px; bottom: 10px; z-index: 60;
    display: grid; grid-template-columns: 1fr 1fr 1.6fr; gap: 6px;
    background: var(--white); padding: 6px; border-radius: 18px;
    box-shadow: 0 10px 40px rgba(6,18,38,.25);
    border: 1px solid rgba(192,192,192,.6);
    transform: translateY(140%); transition: transform .35s var(--ease);
  }
  .action-bar.is-visible { transform: none; }
  .action-bar a { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; padding: 9px 6px; border-radius: 12px; text-decoration: none; font-family: var(--font-head); font-weight: 600; font-size: .78rem; color: var(--black); }
  .action-bar a svg { width: 20px; height: 20px; color: var(--navy); }
  .action-bar a.primary { background: var(--navy); color: var(--white); flex-direction: row; font-size: .92rem; gap: 8px; }
  .action-bar a.primary svg { color: var(--white); }
  body { padding-bottom: 84px; }
  body.no-bar { padding-bottom: 0; }
}

/* ---------- Exit-intent modal ---------- */
.modal { position: fixed; inset: 0; z-index: 100; display: grid; place-items: center; padding: 20px; background: rgba(6,18,38,.55); backdrop-filter: blur(4px); opacity: 0; visibility: hidden; transition: opacity .25s, visibility .25s; }
.modal.is-open { opacity: 1; visibility: visible; }
.modal__box { position: relative; width: min(860px, 100%); max-height: calc(100vh - 40px); overflow: auto; background: var(--cream); border-radius: 24px; display: grid; grid-template-columns: .9fr 1.1fr; transform: translateY(16px) scale(.98); transition: transform .35s var(--ease); }
.modal.is-open .modal__box { transform: none; }
.modal__side { background: var(--navy); color: var(--cream); padding: 36px; display: flex; flex-direction: column; justify-content: flex-end; min-height: 100%; position: relative; overflow: hidden; }
.modal__side::before { content: ""; position: absolute; right: -80px; top: -80px; width: 260px; height: 260px; border-radius: 50%; border: 36px solid rgba(248,246,241,.07); }
.modal__side h3 { color: var(--white); font-size: 1.7rem; }
.modal__side p { color: rgba(248,246,241,.82); margin: 0; font-size: .96rem; }
.modal__main { padding: 36px; }
.modal__close { position: absolute; right: 14px; top: 14px; width: 40px; height: 40px; border-radius: 50%; border: 0; background: var(--white); cursor: pointer; display: grid; place-items: center; z-index: 2; box-shadow: var(--shadow); }
.modal__close svg { width: 18px; height: 18px; }
.modal .fields { grid-template-columns: 1fr; }
@media (max-width: 680px) { .modal__box { grid-template-columns: 1fr; } .modal__side { padding: 28px; min-height: 0; } .modal__main { padding: 26px; } }

/* ---------- Thanks ---------- */
.thanks { min-height: 70vh; display: grid; place-items: center; text-align: center; padding: 80px 0; }
.thanks__icon { width: 84px; height: 84px; border-radius: 50%; background: var(--navy); color: var(--white); display: grid; place-items: center; margin: 0 auto 28px; }
.thanks__icon svg { width: 40px; height: 40px; }

/* ---------- Prose ---------- */
.prose { max-width: 760px; }
.prose h2 { font-size: 1.6rem; margin-top: 1.6em; }
.prose p, .prose li { color: var(--muted); }

/* ---------- Reveal animation ---------- */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}

/* utilities */
.mt-0 { margin-top: 0; } .mb-0 { margin-bottom: 0; }
.center { text-align: center; }
.small { font-size: .88rem; color: var(--muted); }
.disclaimer { font-size: .82rem; color: var(--muted); max-width: 80ch; }
.section--navy .disclaimer, .section--ink .disclaimer { color: rgba(248,246,241,.65); }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); border: 0; }
.skip { position: absolute; left: -9999px; top: 10px; z-index: 200; background: var(--navy); color: var(--white); padding: 10px 16px; border-radius: 8px; }
.skip:focus { left: 10px; }

/* ---------- Small-screen safety ---------- */
.chip, .yn label { position: relative; }
.chip input, .tile input, .yn label input { width: 1px !important; height: 1px !important; padding: 0 !important; border: 0 !important; }
.split > *, .grid > *, .hero__grid > *, .wizard-grid > * { min-width: 0; }
@media (max-width: 560px) {
  .btn { white-space: normal; text-align: center; }
  .hero-actions .btn { width: 100%; }
}
html, body { overflow-x: clip; }
@media (max-width: 1280px) { .nav { visibility: hidden; transition: transform .3s var(--ease), visibility 0s .3s; } .nav-open .nav { visibility: visible; transition: transform .3s var(--ease); } }
.action-bar a.primary { white-space: nowrap; }

/* ---------- Language toggle ---------- */
.tr-pending body { visibility: hidden; }
.lang-btn {
  display: inline-flex; align-items: center; gap: 8px;
  height: 46px; padding: 0 16px;
  border-radius: 999px; border: 1.5px solid var(--black);
  background: transparent; color: var(--black);
  font-family: var(--font-head); font-weight: 600; font-size: .95rem;
  cursor: pointer; transition: background .15s, color .15s;
}
.lang-btn:hover { background: var(--black); color: var(--white); }
.lang-btn svg { width: 18px; height: 18px; }
.lang-btn__short { display: none; }
@media (max-width: 1280px) {
  .lang-btn { padding: 0 12px; border-color: var(--silver); background: var(--white); }
  .lang-btn__long { display: none; }
  .lang-btn__short { display: inline; }
}
.nav__link, .nav__toggle, .brand__name { white-space: nowrap; }
.brand__sub { white-space: nowrap; }
@media (max-width: 1420px) { .nav__link, .nav__toggle { padding: 10px 10px; font-size: .92rem; } .header .wrap { gap: 16px; } }

/* ---------- Search page mock ---------- */
.search-mock { background: var(--white); border-radius: 24px; padding: 22px; box-shadow: var(--shadow-lg); border: 1px solid rgba(192,192,192,.6); max-width: 460px; margin-inline: auto; width: 100%; }
.search-mock__bar { display: flex; align-items: center; gap: 10px; border: 1.5px solid var(--silver); border-radius: 999px; padding: 8px 8px 8px 16px; font-weight: 500; }
.search-mock__bar svg { width: 18px; height: 18px; color: var(--navy); flex: none; }
.search-mock__bar span:first-of-type { flex: 1; }
.search-mock__go { background: var(--navy); color: var(--white); border-radius: 999px; padding: 8px 16px; font-family: var(--font-head); font-weight: 600; font-size: .88rem; }
.search-mock__chips { display: flex; flex-wrap: wrap; gap: 6px; margin: 14px 0 16px; }
.search-mock__chips span { font-size: .78rem; font-weight: 600; padding: 6px 11px; border-radius: 999px; background: var(--cream); }
.search-mock__list { display: grid; gap: 10px; }
.search-mock__item { display: grid; grid-template-columns: 76px 1fr auto; gap: 14px; align-items: center; padding: 10px; border-radius: 14px; border: 1px solid var(--cream-deep); }
.search-mock__img { width: 76px; height: 60px; border-radius: 10px; display: block; }
.search-mock__item strong { font-family: var(--font-head); display: block; }
.search-mock__item small { display: block; color: var(--muted); font-size: .8rem; line-height: 1.35; }
.search-mock__new { font-size: .72rem; font-weight: 700; color: var(--white); background: var(--navy); padding: 4px 9px; border-radius: 999px; }
.search-mock__heart { color: var(--navy); font-size: 1.1rem; }

/* Home page search band */
.search-band { display: grid; grid-template-columns: 1fr auto; gap: 24px; align-items: center; background: var(--white); border: 1px solid rgba(192,192,192,.6); border-radius: 22px; padding: clamp(24px, 4vw, 36px); }
.search-band h2 { font-size: clamp(1.5rem, 2.6vw, 2rem); margin-bottom: 6px; }
.search-band p { margin: 0; color: var(--muted); }
.search-band .hero-actions { margin: 0; }
@media (max-width: 820px) { .search-band { grid-template-columns: 1fr; } }
@media (min-width: 1281px) { .nav__link--mobile { display: none; } }
@media (min-width: 1281px) and (max-width: 1480px) { .lang-btn { padding: 0 12px; } .lang-btn__long { display: none; } .lang-btn__short { display: inline; } }
.header .wrap, .topbar .wrap { width: min(1320px, 100% - 40px); }
.nav__link, .nav__toggle { padding: 10px 10px; font-size: .92rem; }

/* ---------- Address suggestions ---------- */
.addr-list { position: absolute; z-index: 95; margin: 0; padding: 6px; list-style: none; background: var(--white); border: 1px solid rgba(192,192,192,.7); border-radius: 16px; box-shadow: var(--shadow-lg); }
.addr-list[hidden] { display: none; }
.addr-item { display: grid; grid-template-columns: 20px 1fr; gap: 12px; align-items: center; padding: 11px 12px; border-radius: 10px; cursor: pointer; color: var(--black); }
.addr-item svg { width: 18px; height: 18px; color: var(--navy); }
.addr-item strong { display: block; font-weight: 600; font-size: .98rem; line-height: 1.3; }
.addr-item small { display: block; color: var(--muted); font-size: .84rem; line-height: 1.3; }
.addr-item.is-active, .addr-item:hover { background: var(--cream); }
.addr-foot { text-align: right; font-size: .72rem; color: var(--muted); padding: 6px 10px 2px; }

/* ---------- Open house sign-in (kiosk) ---------- */
.oh-shell { min-height: 100vh; display: flex; flex-direction: column; background: var(--cream); }
.oh-top { display: flex; justify-content: space-between; align-items: center; padding: 18px clamp(18px, 4vw, 40px); }
.oh-top .brand { cursor: default; }
.oh-top__right { display: flex; gap: 10px; align-items: center; }
.oh-agent-btn { width: 46px; height: 46px; border-radius: 50%; border: 1px solid var(--silver); background: transparent; display: grid; place-items: center; cursor: pointer; color: var(--muted); opacity: .55; }
.oh-agent-btn:hover { opacity: 1; }
.oh-agent-btn svg { width: 18px; height: 18px; }
.oh-main { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 10px clamp(14px, 4vw, 40px) 30px; }
.oh-card { width: min(820px, 100%); background: var(--white); border-radius: 28px; box-shadow: var(--shadow-lg); overflow: hidden; }
.oh-card form { padding: clamp(28px, 5vw, 56px); }
.ohstep { display: none; border: 0; margin: 0; padding: 0; min-width: 0; }
.ohstep.is-active { display: block; animation: stepIn .35s var(--ease); }
.ohstep legend { font-family: var(--font-head); font-weight: 700; font-size: clamp(1.7rem, 3.6vw, 2.4rem); letter-spacing: -0.02em; line-height: 1.12; margin-bottom: 24px; padding: 0; color: var(--black); }
.ohstep .hint { color: var(--muted); margin: -12px 0 22px; }
.ohstep .tile > span { min-height: 84px; font-size: 1.12rem; }
.oh-welcome { font-size: clamp(2.8rem, 7vw, 4.6rem); margin-bottom: 8px; }
.oh-prop { font-family: var(--font-head); font-weight: 600; font-size: clamp(1.2rem, 2.6vw, 1.6rem); color: var(--navy); margin-bottom: 18px; }
.oh-start { min-width: 240px; padding: 22px 40px; font-size: 1.2rem; }
.oh-done { text-align: center; padding: 20px 0; }
.oh-done h2 { font-size: clamp(1.8rem, 4vw, 2.6rem); }
.oh-nav { margin-top: 22px; min-height: 40px; }
.oh-error { color: #B3261E; margin: -6px 0 14px; }
.oh-foot { margin-top: 18px; }
.oh-card .field input { font-size: 1.1rem; padding: 15px 16px; }
.oh-panel { position: relative; width: min(640px, 100%); max-height: calc(100vh - 40px); overflow: auto; background: var(--cream); border-radius: 24px; padding: 34px; transform: translateY(16px); transition: transform .3s var(--ease); }
.modal.is-open .oh-panel { transform: none; }
.oh-panel h3 { margin-bottom: 14px; }
.oh-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin: 24px 0 14px; }
.oh-stats div { background: var(--white); border-radius: 14px; padding: 14px; text-align: center; }
.oh-stats strong { font-family: var(--font-head); font-size: 1.7rem; color: var(--navy); display: block; line-height: 1.1; }
.oh-stats small { color: var(--muted); font-size: .78rem; }
.oh-list { display: grid; gap: 8px; max-height: 300px; overflow: auto; }
.oh-row { display: flex; justify-content: space-between; align-items: center; gap: 12px; background: var(--white); border-radius: 12px; padding: 12px 14px; }
.oh-row strong { display: block; font-family: var(--font-head); }
.oh-row small { display: block; color: var(--muted); font-size: .8rem; line-height: 1.35; }
.oh-tag { flex: none; font-size: .74rem; font-weight: 700; padding: 4px 10px; border-radius: 999px; background: #FCEBD8; color: #7A4A12; }
.oh-tag.is-sent { background: rgba(11,31,68,.1); color: var(--navy); }
@media (max-width: 560px) { .oh-stats { grid-template-columns: 1fr; } .oh-top .brand__sub { display: none; } }
.tile > span > span { display: block; }

/* Small navy Español button under "Sign in" on the open house page */
.oh-es-btn {
  display: inline-flex; align-items: center; gap: 6px; margin-top: 18px;
  height: 38px; padding: 0 16px; border-radius: 999px; border: 0;
  background: var(--navy); color: var(--white);
  font-family: var(--font-head); font-weight: 600; font-size: .9rem; cursor: pointer;
}
@media (hover: hover) { .oh-es-btn:hover { background: var(--navy-deep); } }
.oh-es-btn svg { width: 16px; height: 16px; }
.oh-es-btn .lang-btn__long { display: inline; }
.oh-es-btn .lang-btn__short { display: none; }
.oh-skip { display: block; margin: 14px auto 0; font-size: 1rem; }
.oh-note-title { font-size: clamp(1.6rem, 3.6vw, 2.2rem); margin-bottom: 14px; }
.oh-qr { margin: 26px auto 22px; display: inline-flex; flex-direction: column; align-items: center; gap: 10px;
  padding: 18px; border-radius: 18px; background: var(--white); border: 1.5px solid var(--navy); }
.oh-qr__code svg { width: 200px; height: 200px; display: block; }
.oh-qr__label { font-family: var(--font-head); font-weight: 700; color: var(--navy); font-size: 1.15rem; margin: 0; }
.oh-done .oh-qr + .btn, .oh-done .oh-qr ~ .btn { display: block; margin: 0 auto; }
/* Open house feedback page */
.fb-prop { font-family: var(--font-head); font-weight: 700; color: var(--navy); font-size: 1.15rem; margin: -6px 0 22px; }
.fb-q { border: 0; padding: 0; margin: 0 0 26px; min-width: 0; }
.fb-q legend { font-family: var(--font-head); font-weight: 700; font-size: 1.15rem; margin-bottom: 12px; padding: 0; }
.fb-q .chips { flex-wrap: wrap; }

/* ---------- Photo band + mosaic ---------- */
.photo-band {
  position: relative; isolation: isolate; display: flex; align-items: flex-end;
  min-height: clamp(280px, 38vw, 460px);
  background-color: var(--navy-ink); background-size: cover; background-position: center;
  color: var(--white);
}
.photo-band::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(6,18,38,0) 30%, rgba(6,18,38,.85) 100%); }
.photo-band .wrap { padding: clamp(28px, 5vw, 56px) 0; }
.photo-band h2 { color: var(--white); max-width: 20ch; margin: 0; }
.photo-band p { color: rgba(248,246,241,.92); margin: 10px 0 0; max-width: 46ch; font-size: 1.1rem; }
.mosaic { display: grid; grid-template-columns: 2fr 1fr 1fr; grid-template-rows: 230px 230px; gap: 14px; }
.mosaic > div { position: relative; border-radius: 18px; overflow: hidden; background: var(--navy) center / cover no-repeat; }
.mosaic > div:first-child { grid-row: span 2; }
.mosaic > div::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,0) 55%, rgba(0,0,0,.45)); }
.mosaic span { position: absolute; left: 16px; bottom: 14px; z-index: 1; color: var(--white); font-family: var(--font-head); font-weight: 600; font-size: .98rem; }
@media (max-width: 760px) {
  .mosaic { grid-template-columns: 1fr 1fr; grid-template-rows: 220px 150px 150px; gap: 10px; }
  .mosaic > div:first-child { grid-column: span 2; grid-row: auto; }
}
.page-hero--photo .accent { color: var(--silver); }
.community__img::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,0) 50%, rgba(0,0,0,.5)); }
.community__img span { z-index: 1; }

/* ---------- Brand refresh (Nov 2026): emerald + aqua accents ---------- */
.accent { color: var(--emerald); }                                    /* big headline phrases */
.section--navy .accent, .section--ink .accent, .page-hero--photo .accent { color: var(--aqua); }
.eyebrow::before, .section-head.center .eyebrow::after { background: var(--emerald); }
.section--navy .eyebrow::before, .section--ink .eyebrow::before, .page-hero--photo .eyebrow::before,
.section--navy .section-head.center .eyebrow::after, .section--ink .section-head.center .eyebrow::after { background: var(--aqua); }
.card__icon { background: var(--emerald); color: var(--white); }
.trust__icon { color: var(--emerald); }
.checklist li::before { background-color: var(--emerald); }
.section--navy .checklist li::before, .section--ink .checklist li::before { background-color: var(--aqua); }
.progress__bar { background: var(--emerald); }
.tile input:checked + span { border-color: var(--emerald); background: rgba(0,143,98,.07); box-shadow: inset 0 0 0 1px var(--emerald); }
.thanks__icon { background: var(--emerald); }
.action-bar a svg { color: var(--emerald); }
.action-bar a.primary { background: var(--aqua); color: var(--navy); }
.action-bar a.primary svg { color: var(--navy); }
.footer { border-top: 4px solid var(--emerald); }
.oh-qr { border-color: var(--emerald); }
.mosaic span, .photo-band h2 { text-shadow: 0 1px 10px rgba(6,18,38,.35); }
.btn--light { --bg: var(--aqua); --fg: var(--navy); }
.btn--light:hover { --fg: var(--navy); background: var(--aqua-deep); border-color: var(--aqua-deep); }

/* ---------- Less cream (Nov 2026): white is the main background, cream is the alternating band ---------- */
body { background: var(--white); }
.section--white { background: var(--cream); }                 /* the alternating band (class name kept so pages don't change) */
.section--white .card { background: var(--white); border-color: transparent; }
.section--white .quiz__result { background: var(--white); }
.section--white .faq summary::after { background-color: var(--white); }
.trust { background: var(--cream); }
.oh-card { border: 1px solid rgba(192,192,192,.5); }
.header { background: rgba(255,255,255,.94); }
.nav-open .header { background: var(--white); }
@media (max-width: 1280px) { .nav { background: var(--white); } }

/* ---------- NOD timeline map ---------- */
.nodmap { background: rgba(248,246,241,.04); border: 1px solid rgba(248,246,241,.14); border-radius: 24px; padding: clamp(20px, 4vw, 40px); }
.nodmap__track { list-style: none; margin: 0 0 30px; padding: 0; display: grid; grid-template-columns: repeat(5, 1fr); position: relative; }
.nodmap__track::before { content: ""; position: absolute; left: 10%; right: 10%; top: 22px; height: 2px; background: rgba(248,246,241,.22); }
.nodmap__stop { all: unset; box-sizing: border-box; cursor: pointer; display: flex; flex-direction: column; align-items: center; gap: 10px; width: 100%; text-align: center; padding: 0 4px; position: relative; z-index: 1; }
.nodmap__dot { width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; font-family: var(--font-head); font-weight: 700; background: var(--navy-ink); color: var(--cream); border: 2px solid rgba(248,246,241,.35); transition: all .2s; }
.nodmap__label { font-family: var(--font-head); font-weight: 600; font-size: .9rem; color: rgba(248,246,241,.75); line-height: 1.25; }
.nodmap__stop:hover .nodmap__dot { border-color: var(--aqua); }
.nodmap__stop:focus-visible .nodmap__dot { outline: 3px solid var(--aqua); outline-offset: 3px; }
.nodmap__stop.is-past .nodmap__dot { background: var(--emerald); border-color: var(--emerald); color: var(--white); }
.nodmap__stop[aria-selected="true"] .nodmap__dot { background: var(--aqua); border-color: var(--aqua); color: var(--navy); transform: scale(1.12); box-shadow: 0 0 0 6px rgba(0,229,255,.18); }
.nodmap__stop[aria-selected="true"] .nodmap__label { color: var(--white); }
.nodmap__panel { background: var(--white); color: var(--navy); border-radius: 18px; padding: clamp(22px, 3.5vw, 36px); animation: nodIn .3s var(--ease); }
@keyframes nodIn { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
.nodmap__panel h3 { color: var(--navy) !important; font-size: 1.55rem; }
.nodmap__panel p { color: var(--muted); }
.nodmap__when { display: inline-block; font-family: var(--font-head); font-weight: 600; font-size: .78rem; letter-spacing: .12em; text-transform: uppercase; color: var(--navy); background: var(--cream); padding: 5px 12px; border-radius: 999px; margin-bottom: 14px; }
.nodmap__opts-title { font-family: var(--font-head); font-weight: 700; color: var(--navy) !important; margin: 18px 0 10px; }
.nodmap__opts { list-style: none; margin: 0 0 18px; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.nodmap__opts li, .nodmap__key li { display: inline-flex; align-items: center; gap: 8px; font-size: .9rem; font-weight: 600; padding: 7px 14px; border-radius: 999px; border: 1.5px solid; }
.nodmap__opts li::before { content: ""; width: 9px; height: 9px; border-radius: 50%; background: currentColor; }
.nodmap__opts .is-open { color: #006B4A; border-color: rgba(0,143,98,.45); background: rgba(0,143,98,.08); }
.nodmap__opts .is-tight { color: #7A5300; border-color: rgba(176,122,0,.45); background: rgba(240,180,40,.12); }
.nodmap__opts .is-closed { color: #6B6F76; border-color: rgba(192,192,192,.8); background: #F3F3F3; text-decoration: line-through; }
.nodmap__now { background: var(--cream); border-left: 4px solid var(--emerald); border-radius: 10px; padding: 14px 16px; margin: 0; color: var(--navy) !important; }
.nodmap__key { list-style: none; padding: 0; margin: 18px 0 0; display: flex; flex-wrap: wrap; gap: 18px; }
.nodmap__key li { border: 0; padding: 0; color: rgba(248,246,241,.8); font-weight: 500; }
.nodmap__swatch { width: 12px; height: 12px; border-radius: 50%; display: inline-block; }
.nodmap__swatch.is-open { background: var(--emerald); } .nodmap__swatch.is-tight { background: #F0B428; } .nodmap__swatch.is-closed { background: var(--silver); }
@media (max-width: 760px) {
  .nodmap__track { grid-template-columns: 1fr; gap: 6px; }
  .nodmap__track::before { left: 22px; right: auto; top: 22px; bottom: 22px; width: 2px; height: auto; }
  .nodmap__stop { flex-direction: row; text-align: left; gap: 14px; padding: 4px 0; }
  .nodmap__label { font-size: 1rem; }
}

/* ---------- NOD date calculator ---------- */
.nodcalc { margin-top: 26px; background: var(--white); color: var(--navy); border-radius: 24px; padding: clamp(22px, 4vw, 40px); }
.nodcalc h3 { color: var(--navy) !important; margin-bottom: 4px; }
.nodcalc__head p { color: var(--muted); margin: 0 0 18px; }
.nodcalc__fields { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 640px) { .nodcalc__fields { grid-template-columns: 1fr; } }
.nodcalc__out { margin-top: 22px; display: grid; grid-template-columns: auto 1fr; gap: 24px; align-items: center; background: var(--cream); border-radius: 18px; padding: 22px; }
@media (max-width: 640px) { .nodcalc__out { grid-template-columns: 1fr; } }
.nodcalc__stat { text-align: center; padding: 10px 22px; border-right: 1px solid rgba(192,192,192,.8); }
@media (max-width: 640px) { .nodcalc__stat { border-right: 0; border-bottom: 1px solid rgba(192,192,192,.8); padding-bottom: 16px; } }
.nodcalc__stat small { display: block; font-size: .82rem; color: var(--muted); max-width: 16ch; margin: 0 auto 4px; }
.nodcalc__stat strong { font-family: var(--font-head); font-size: 3.2rem; line-height: 1; color: var(--emerald); }
.nodcalc__out.is-urgent .nodcalc__stat strong { color: #B3261E; }
.nodcalc__list { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.nodcalc__list li { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; border-bottom: 1px dashed rgba(192,192,192,.9); padding-bottom: 8px; }
.nodcalc__list li:last-child { border-bottom: 0; padding-bottom: 0; }
.nodcalc__list span { color: var(--muted); }
.nodcalc__list .is-key strong { color: var(--navy); background: rgba(0,229,255,.25); padding: 0 6px; border-radius: 6px; }
.nodcalc__note { font-size: .85rem; color: var(--muted); margin: 18px 0 0; }

/* ---------- First-time buyer roadmap ---------- */
.roadmap { max-width: 860px; }
.roadmap__progress { display: flex; align-items: center; gap: 18px; margin-bottom: 26px; position: sticky; top: 84px; z-index: 5; background: var(--white); padding: 10px 0; }
.roadmap__bar { flex: 1; height: 10px; background: var(--cream-deep); border-radius: 99px; overflow: hidden; }
.roadmap__bar span { display: block; height: 100%; width: 0; background: linear-gradient(90deg, var(--emerald), var(--aqua)); border-radius: 99px; transition: width .5s var(--ease); }
.roadmap__count { margin: 0; white-space: nowrap; color: var(--muted); }
.roadmap__count strong { font-family: var(--font-head); font-size: 1.4rem; color: var(--navy); }
.roadmap__steps { list-style: none; margin: 0; padding: 0; position: relative; }
.roadmap__steps::before { content: ""; position: absolute; left: 27px; top: 30px; bottom: 30px; width: 2px; background: repeating-linear-gradient(to bottom, var(--silver) 0 6px, transparent 6px 12px); }
.rstep { position: relative; margin-bottom: 14px; }
.rstep__head { all: unset; box-sizing: border-box; cursor: pointer; width: 100%; display: grid; grid-template-columns: 56px 1fr auto; gap: 16px; align-items: center; padding: 14px 18px 14px 0; }
.rstep__head:focus-visible { outline: 3px solid var(--navy); outline-offset: 4px; border-radius: 14px; }
.rstep__num { width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center; font-family: var(--font-head); font-weight: 700; font-size: 1.2rem; background: var(--white); color: var(--navy); border: 2px solid var(--silver); position: relative; z-index: 1; transition: all .2s; }
.rstep.is-open .rstep__num { border-color: var(--navy); background: var(--navy); color: var(--white); }
.rstep.is-done .rstep__num { border-color: var(--emerald); background: var(--emerald); color: var(--white); font-size: 0; }
.rstep.is-done .rstep__num::after { content: ""; width: 22px; height: 22px; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center/contain no-repeat; }
.rstep__title { font-family: var(--font-head); font-weight: 700; font-size: 1.25rem; color: var(--navy); }
.rstep__title small { display: block; font-family: var(--font-body); font-weight: 500; font-size: .88rem; color: var(--muted); }
.rstep__state { font-family: var(--font-head); font-weight: 600; font-size: .85rem; color: var(--emerald); }
.rstep.is-done .rstep__state { background: rgba(0,143,98,.1); padding: 4px 12px; border-radius: 999px; }
.rstep__body { margin: 4px 0 8px 72px; background: var(--cream); border-radius: 18px; padding: 22px 24px; animation: nodIn .3s var(--ease); }
.rstep__body > p { color: var(--muted); }
.rstep__todo { list-style: none; margin: 0 0 18px; padding: 0; display: grid; gap: 10px; }
.rstep__todo label { display: flex; gap: 12px; align-items: flex-start; cursor: pointer; background: var(--white); border-radius: 12px; padding: 12px 14px; border: 1px solid transparent; transition: border-color .15s; }
.rstep__todo label:hover { border-color: rgba(0,143,98,.4); }
.rstep__todo input { appearance: none; -webkit-appearance: none; flex: none; width: 22px; height: 22px; margin: 1px 0 0; border: 2px solid var(--silver); border-radius: 6px; background: var(--white); cursor: pointer; display: grid; place-items: center; transition: all .15s; }
.rstep__todo input:checked { background: var(--emerald); border-color: var(--emerald); }
.rstep__todo input:checked::after { content: ""; width: 13px; height: 13px; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center/contain no-repeat; }
.rstep__todo input:focus-visible { outline: 3px solid var(--navy); outline-offset: 2px; }
.rstep__todo input:checked + span { color: var(--muted); text-decoration: line-through; text-decoration-color: rgba(0,143,98,.6); }
.rstep__tip { font-size: .95rem; margin: 0; color: var(--navy) !important; }
.link-more { display: inline-flex; align-items: center; gap: 6px; font-family: var(--font-head); font-weight: 600; color: var(--navy); text-decoration: none; }
.link-more svg { width: 16px; height: 16px; }
.roadmap__done { font-family: var(--font-head); font-weight: 700; font-size: 1.2rem; color: var(--emerald); margin: 10px 0 0 72px; }
.roadmap__reset { margin: 10px 0 0 72px; color: var(--muted); }
@media (max-width: 600px) {
  .roadmap__steps::before { left: 21px; }
  .rstep__head { grid-template-columns: 44px 1fr; gap: 12px; }
  .rstep__num { width: 44px; height: 44px; font-size: 1rem; }
  .rstep__state { grid-column: 2; }
  .rstep__body { margin-left: 0; padding: 18px; }
  .roadmap__done, .roadmap__reset { margin-left: 0; }
  .roadmap__progress { top: 70px; }
}
@media (max-width: 600px) { .roadmap__progress { flex-direction: column; align-items: stretch; gap: 6px; } .roadmap__bar { flex: none; } }

/* ---------- Payment calculator ---------- */
.paycalc { display: grid; grid-template-columns: 1.25fr 1fr; gap: clamp(20px, 4vw, 40px); align-items: start; }
@media (max-width: 900px) { .paycalc { grid-template-columns: 1fr; } }
.paycalc__inputs { background: var(--white); border-radius: 22px; padding: clamp(20px, 3.5vw, 34px); display: grid; gap: 26px; }
.pc-field label, .pc-field .label { font-family: var(--font-head); font-weight: 600; color: var(--navy); display: block; }
.pc-row { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 10px; flex-wrap: wrap; }
.pc-out { color: var(--muted); } .pc-out strong { color: var(--navy); font-family: var(--font-head); }
.pc-money { display: inline-flex; align-items: center; gap: 4px; border: 1.5px solid var(--silver); border-radius: 12px; padding: 0 12px; background: var(--white); margin-top: 8px; }
.pc-row .pc-money { margin-top: 0; }
.pc-money:focus-within { border-color: var(--navy); box-shadow: 0 0 0 4px rgba(11,31,68,.1); }
.pc-money span { color: var(--muted); font-weight: 600; }
.pc-money input { border: 0; outline: 0; background: transparent; font: 600 1.1rem var(--font-head); color: var(--navy); padding: 11px 0; width: 9.5ch; }
.pc-money--pct input { width: 5ch; }
.pc-hint { font-size: .84rem; color: var(--muted); margin: 8px 0 0; }
.paycalc input[type=range] { width: 100%; accent-color: var(--emerald); height: 28px; cursor: pointer; }
.pc-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; }
.pc-chips button, .pc-toggle button { font: 600 .86rem var(--font-body); color: var(--navy); background: var(--cream); border: 1.5px solid transparent; border-radius: 999px; padding: 7px 13px; cursor: pointer; }
.pc-chips button:hover, .pc-toggle button:hover { border-color: var(--emerald); }
.pc-chips button.is-on, .pc-toggle button[aria-checked="true"] { background: var(--navy); color: var(--white); }
.pc-chips button:focus-visible, .pc-toggle button:focus-visible { outline: 3px solid var(--navy); outline-offset: 2px; }
.pc-two { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
@media (max-width: 520px) { .pc-two { grid-template-columns: 1fr; } }
.pc-toggle { display: flex; gap: 8px; margin-top: 10px; }
.pc-toggle button { padding: 11px 16px; }
.pc-more summary { cursor: pointer; font-family: var(--font-head); font-weight: 600; color: var(--navy); list-style: none; display: flex; align-items: center; gap: 8px; }
.pc-more summary::-webkit-details-marker { display: none; }
.pc-more summary::before { content: "+"; width: 24px; height: 24px; border-radius: 50%; background: var(--cream); display: grid; place-items: center; font-weight: 700; }
.pc-more[open] summary::before { content: "−"; }
.pc-more .pc-two { margin-top: 18px; }
.paycalc__result { background: var(--navy); color: var(--cream); border-radius: 22px; padding: clamp(22px, 3.5vw, 34px); position: sticky; top: 100px; }
.pc-res-label { margin: 0; color: rgba(248,246,241,.8); font-family: var(--font-head); font-weight: 600; }
.pc-total { margin: 4px 0 18px; font-family: var(--font-head); font-weight: 700; font-size: clamp(2.6rem, 5vw, 3.4rem); color: var(--white); line-height: 1.05; }
.pc-total small { font-size: 1.1rem; color: rgba(248,246,241,.7); margin-left: 4px; }
.pc-bar { display: flex; height: 14px; border-radius: 99px; overflow: hidden; background: rgba(248,246,241,.12); margin-bottom: 18px; }
.pc-bar span { display: block; height: 100%; transition: width .35s var(--ease); }
[data-part="pi"] { background: var(--aqua); } [data-part="tax"] { background: var(--emerald); } [data-part="ins"] { background: var(--silver); }
[data-part="mi"] { background: #F0B428; } [data-part="hoa"] { background: var(--cream); }
.pc-legend { list-style: none; margin: 0 0 16px; padding: 0; display: grid; gap: 9px; }
.pc-legend li { display: grid; grid-template-columns: 12px 1fr auto; gap: 10px; align-items: center; font-size: .95rem; color: rgba(248,246,241,.88); }
.pc-legend li[hidden] { display: none; }
.pc-legend i { width: 12px; height: 12px; border-radius: 3px; }
.pc-legend strong { color: var(--white); font-family: var(--font-head); }
.pc-loan { border-top: 1px solid rgba(248,246,241,.18); padding-top: 14px; margin: 0 0 18px; display: flex; justify-content: space-between; color: rgba(248,246,241,.8); }
.pc-loan strong { color: var(--white); }
.pc-link { display: block; text-align: center; margin-top: 14px; color: var(--aqua); font-weight: 600; }
.pc-link:hover { color: var(--white); }
@media (max-width: 900px) { .paycalc__result { position: static; } }

/* ---------- Neighborhood comparison ---------- */
.hcompare__pickers { display: grid; grid-template-columns: 1fr auto 1fr; gap: 14px; align-items: end; margin-bottom: 24px; }
.hcompare__swap { width: 50px; height: 50px; border-radius: 50%; border: 1.5px solid var(--silver); background: var(--white); color: var(--navy); cursor: pointer; display: grid; place-items: center; margin-bottom: 2px; transition: transform .25s var(--ease), border-color .2s; }
.hcompare__swap:hover { border-color: var(--emerald); transform: rotate(180deg); }
.hcompare__swap svg { width: 20px; height: 20px; }
.hcompare__cards { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
@media (max-width: 760px) { .hcompare__pickers { grid-template-columns: 1fr; } .hcompare__swap { justify-self: center; transform: rotate(90deg); } .hcompare__cards { grid-template-columns: 1fr; } }
.hcard { background: var(--white); border: 1px solid rgba(192,192,192,.6); border-radius: 22px; overflow: hidden; display: flex; flex-direction: column; animation: nodIn .3s var(--ease); }
.hcard__img { aspect-ratio: 21 / 9; background: var(--navy) center / cover no-repeat; position: relative; }
.hcard__region { position: absolute; left: 14px; top: 14px; background: rgba(255,255,255,.92); color: var(--navy); font: 700 .75rem var(--font-head); letter-spacing: .1em; text-transform: uppercase; padding: 6px 12px; border-radius: 999px; }
.hcard__body { padding: 24px; display: flex; flex-direction: column; gap: 14px; flex: 1; }
.hcard__body h3 { margin: 0; font-size: 1.6rem; }
.hcard__body .tags { margin: 0; }
.hcard__desc { color: var(--muted); margin: 0; }
.hcard__stats { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: auto; }
.hcard__stats > div { background: var(--cream); border-radius: 14px; padding: 14px 16px; }
.hcard__stats > div:only-child { grid-column: 1 / -1; }
.hcard__stats strong { display: block; font-family: var(--font-head); font-size: 1.5rem; color: var(--navy); }
.hcard__stats small { color: var(--muted); font-size: .82rem; }
.hcard__ask { color: var(--emerald) !important; }
.hcard__links { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 20px; }

/* Meet Your Agent closer */
.about__closer { font-family: var(--font-head); font-weight: 700; font-size: clamp(1.2rem, 2.2vw, 1.45rem); line-height: 1.35; color: var(--navy); border-left: 4px solid var(--emerald); padding-left: 16px; margin: 26px 0 28px; }
.about__closer { font-weight: 900; font-size: clamp(1.5rem, 2.8vw, 1.9rem); line-height: 1.25; letter-spacing: -0.02em; border-left-width: 5px; padding-left: 18px; }

/* ---------- Home hero: subtle aerial video ---------- */
.hero__bg { position: absolute; inset: 0; z-index: 0; background: var(--white) url("../images/hero-aerial.jpg") center / cover no-repeat; }
.hero__video { width: 100%; height: 100%; object-fit: cover; display: block; }
.hero__bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(255,255,255,.94) 0%, rgba(255,255,255,.88) 48%, rgba(255,255,255,.66) 100%); }
.hero::before { z-index: 0; }
.hero__grid { z-index: 1; }
@media (max-width: 900px) { .hero__bg::after { background: rgba(255,255,255,.88); } }

/* Home hero without the photo: text on the left, the aerial video carries the right side */
.hero__grid { grid-template-columns: minmax(0, 660px); }
.hero { min-height: clamp(560px, 78vh, 760px); display: flex; align-items: center; }
.hero > .wrap { width: min(var(--wrap), 100% - 40px); }
.hero__bg::after { background: linear-gradient(90deg, rgba(255,255,255,.95) 0%, rgba(255,255,255,.9) 38%, rgba(255,255,255,.55) 72%, rgba(255,255,255,.3) 100%); }
@media (max-width: 900px) { .hero { min-height: 0; } .hero__bg::after { background: rgba(255,255,255,.86); } }

/* Meet Your Agent: aqua social icons */
.about__social { display: flex; align-items: center; flex-wrap: wrap; gap: 10px; margin: 0 0 26px; }
.about__social-label { font-family: var(--font-head); font-weight: 600; font-size: .85rem; letter-spacing: .1em; text-transform: uppercase; color: var(--navy); margin-right: 6px; }
.about__social a { width: 46px; height: 46px; border-radius: 50%; background: var(--aqua); color: var(--navy); display: grid; place-items: center; transition: transform .2s var(--ease), background .2s; }
.about__social a:hover { background: var(--aqua-deep); transform: translateY(-2px); }
.about__social a:focus-visible { outline: 3px solid var(--navy); outline-offset: 3px; }
.about__social svg { width: 20px; height: 20px; }
.about__handle { color: var(--muted); font-weight: 600; font-size: .95rem; margin-left: 4px; }

/* ---------- Animated neighborhood map ---------- */
.hmap-section { padding: clamp(32px, 5vw, 56px) 0 clamp(56px, 8vw, 96px); }
.hmap__filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 18px; }
.hmap__filters button { display: inline-flex; align-items: center; gap: 8px; font: 600 .92rem var(--font-head); color: var(--navy); background: var(--white); border: 1.5px solid var(--silver); border-radius: 999px; padding: 9px 16px; cursor: pointer; transition: all .2s; }
.hmap__filters button:hover { border-color: var(--navy); }
.hmap__filters button[aria-pressed="true"] { background: var(--navy); color: var(--white); border-color: var(--navy); }
.hmap__filters button:focus-visible { outline: 3px solid var(--navy); outline-offset: 2px; }
.hm-key { width: 11px; height: 11px; border-radius: 50%; display: inline-block; border: 2px solid var(--navy); }
.hm-key--nela { background: var(--navy); } .hm-key--ela { background: var(--emerald); border-color: var(--emerald); }
.hm-key--sela { background: var(--aqua); } .hm-key--beyond { background: var(--silver); }
.hmap__filters button[aria-pressed="true"] .hm-key { border-color: var(--white); }
.hmap__layout { display: grid; grid-template-columns: 1.45fr 1fr; gap: 22px; align-items: start; }
@media (max-width: 900px) { .hmap__layout { grid-template-columns: 1fr; } }
.hmap__stage { background: var(--cream); border-radius: 26px; overflow: hidden; border: 1px solid rgba(192,192,192,.6); }
#hmap-svg { display: block; width: 100%; height: auto; }
.hmap__info { position: sticky; top: 100px; }
@media (max-width: 900px) { .hmap__info { position: static; } }
.hmap__hint { font-family: var(--font-head); font-weight: 600; font-size: .85rem; letter-spacing: .1em; text-transform: uppercase; color: var(--emerald); margin: 0 0 10px; }

/* map pieces */
.hm-zone circle { opacity: 0; transition: opacity .8s var(--ease) .5s; }
.hm-zone--nela circle { fill: rgba(11,31,68,.08); } .hm-zone--ela circle { fill: rgba(0,143,98,.1); } .hm-zone--sela circle { fill: rgba(0,229,255,.14); }
.hm-zone__label { font: 700 15px var(--font-head); letter-spacing: .14em; fill: var(--navy); opacity: 0; transition: opacity .8s var(--ease) .7s; }
.hm-road { fill: none; stroke: #FFFFFF; stroke-width: 9; stroke-linecap: round; stroke-linejoin: round; filter: drop-shadow(0 0 0.6px rgba(11,31,68,.35)); }
.hmap.is-playing .hm-road { transition: stroke-dashoffset 1.6s cubic-bezier(.4,.1,.2,1); stroke-dashoffset: 0 !important; }
.hm-shield { opacity: 0; transition: opacity .5s var(--ease) 1.2s; }
.hm-shield rect { fill: var(--white); stroke: var(--silver); stroke-width: 1.5; }
.hm-shield text { font: 700 12px var(--font-head); fill: var(--muted); }
.hm-dtla rect { fill: var(--navy); opacity: .55; }
.hm-dtla text, .hm-edge text { font: 700 14px var(--font-head); fill: var(--navy); }
.hm-dtla, .hm-edge { opacity: 0; transition: opacity .6s var(--ease) .9s; }
.hmap.is-playing .hm-zone circle, .hmap.is-playing .hm-zone__label, .hmap.is-playing .hm-shield, .hmap.is-playing .hm-dtla, .hmap.is-playing .hm-edge { opacity: 1; }
.hm-pin { cursor: pointer; outline: none; }
.hm-pin__in { transform: translateY(-26px) scale(.4); opacity: 0; transition: transform .55s cubic-bezier(.3,1.5,.5,1), opacity .3s; transition-delay: calc(1s + var(--d, 0ms)); }
.hmap.is-playing .hm-pin__in { transform: none; opacity: 1; }
.hm-pin__dot { stroke: var(--white); stroke-width: 3; transition: r .2s; }
.hm-pin--nela .hm-pin__dot { fill: var(--navy); } .hm-pin--ela .hm-pin__dot { fill: var(--emerald); }
.hm-pin--sela .hm-pin__dot { fill: var(--aqua); stroke: var(--navy); stroke-width: 2.5; } .hm-pin--beyond .hm-pin__dot { fill: var(--silver); stroke: var(--navy); stroke-width: 2.5; }
.hm-pin__ring { fill: rgba(0,229,255,.25); stroke: var(--aqua); stroke-width: 2; opacity: 0; transform-box: fill-box; transform-origin: center; }
.hm-pin__label { font: 600 14px var(--font-body); fill: var(--navy); paint-order: stroke; stroke: var(--cream); stroke-width: 4px; stroke-linejoin: round; }
.hm-pin:hover .hm-pin__dot, .hm-pin:focus-visible .hm-pin__dot { r: 12; }
.hm-pin:focus-visible .hm-pin__ring { opacity: 1; }
.hm-pin.is-active .hm-pin__dot { r: 12; }
.hm-pin.is-active .hm-pin__ring { opacity: 1; animation: hmPulse 1.8s ease-out infinite; }
.hm-pin.is-active .hm-pin__label { font-weight: 800; font-size: 16px; }
@keyframes hmPulse { 0% { transform: scale(.6); opacity: .9; } 100% { transform: scale(1.6); opacity: 0; } }
/* region filter: fade everything else */
.hm-pin, .hm-zone { transition: opacity .3s; }
.hmap[data-filter="nela"] .hm-pin:not([data-region="nela"]), .hmap[data-filter="nela"] .hm-zone:not([data-region="nela"]),
.hmap[data-filter="ela"] .hm-pin:not([data-region="ela"]), .hmap[data-filter="ela"] .hm-zone:not([data-region="ela"]),
.hmap[data-filter="sela"] .hm-pin:not([data-region="sela"]), .hmap[data-filter="sela"] .hm-zone:not([data-region="sela"]),
.hmap[data-filter="beyond"] .hm-pin:not([data-region="beyond"]), .hmap[data-filter="beyond"] .hm-zone { opacity: .18; }
.hmap.is-static .hm-pin__in, .hmap.is-static .hm-road { transition: none !important; }
@media (max-width: 600px) { .hm-pin__label { font-size: 17px; } .hm-zone__label { font-size: 19px; } .hm-dtla text, .hm-edge text { font-size: 17px; } }
.hm-zone__label { display: none; }
.hm-pin__label { font-size: 18px; stroke-width: 5px; }
.hm-pin.is-active .hm-pin__label { font-size: 20px; }
.hm-shield rect { width: 36px; height: 24px; x: -18px; y: -12px; }
.hm-shield text { font-size: 14px; }
.hm-dtla text, .hm-edge text { font-size: 17px; }
@media (max-width: 600px) { .hm-pin__label { font-size: 22px; } .hm-pin.is-active .hm-pin__label { font-size: 24px; } .hm-dtla text, .hm-edge text { font-size: 21px; } }
@media (max-width: 600px) {
  .hm-pin__label { display: none; }
  .hm-pin.is-active .hm-pin__label { display: block; font-size: 30px; stroke-width: 7px; }
  .hm-pin__dot { transform: scale(1.45); transform-box: fill-box; transform-origin: center; }
  .hm-pin__ring { r: 30; }
  .hm-dtla text, .hm-edge text { font-size: 26px; }
  .hm-shield { display: none; }
}
