/* =============================================================
   Site v2 (Nov 2026): shared header/footer and the new pages.
   Loaded after style.css, which supplies tokens, fonts, .btn, .field.
   ============================================================= */

/* style.css switches phones/tablets to a dark palette; v2 pages stay light everywhere. */
body.v2 {
  --color-bg: #F5F1E8; --color-surface: #FBF7EE; --color-surface-2: #FFFDF6; --color-surface-offset: #ECE5D3;
  --color-border: #D7CDB4; --color-divider: #E5DCC4; --color-text: #1A2A3A; --color-text-muted: #5B6878;
  --color-text-faint: #97A1AE; --color-text-inverse: #FBF7EE; --color-primary: #143247; --color-primary-hover: #1F4B68;
  --color-primary-active: #0C2231; --color-primary-soft: #DCE5EC; --color-accent: #B9582F; --color-accent-soft: #F2D8C7;
  --color-success: #3F6B3A; --color-error: #A23535;
  --shadow-sm: 0 1px 2px rgba(20, 30, 40, 0.05); --shadow-md: 0 6px 18px rgba(20, 30, 40, 0.08); --shadow-lg: 0 18px 40px rgba(20, 30, 40, 0.12);
  background: var(--color-bg); color: var(--color-text); color-scheme: light;
}
html:has(body.v2) { background: #F5F1E8; }
.v2 main { display: block; }
.v2 p, .v2 li { max-width: none; }
.v2 h1 { font-size: clamp(2.1rem, 1.3rem + 3.2vw, 3.6rem); }
.v2 h2 { font-size: clamp(1.6rem, 1.15rem + 1.8vw, 2.5rem); }
.v2 h3 { font-size: clamp(1.15rem, 1rem + 0.6vw, 1.4rem); }
.v2 .lede { font-size: var(--text-lg); color: var(--color-text-muted); line-height: 1.5; }
.v2 .eyebrow { color: var(--color-accent); margin-bottom: var(--space-3); }
.v2-section { padding-block: clamp(3.5rem, 7vw, 6rem); }
.v2-section--alt { background: var(--color-surface); border-block: 1px solid var(--color-divider); }
.v2-section--navy { background: var(--color-primary); color: var(--color-text-inverse); }
.v2-section--navy h2, .v2-section--navy h3 { color: #fff; }
.v2-head { max-width: 720px; margin-bottom: clamp(1.75rem, 4vw, 2.75rem); }
.v2-head--center { margin-inline: auto; text-align: center; }
.v2-head p { color: var(--color-text-muted); margin-top: var(--space-3); font-size: var(--text-base); }
.v2 .btn { border-radius: 999px; }
.v2 .btn--light { background: #fff; color: var(--color-primary); }
.v2 .btn--light:hover { background: var(--color-surface); color: var(--color-primary); }
.v2 .btn--outline-light { background: transparent; color: #fff; border-color: rgba(255,255,255,.7); }
.v2 .btn--outline-light:hover { background: rgba(255,255,255,.12); color: #fff; }
.v2 .text-link { color: var(--color-primary); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
.v2 .fineprint { font-size: 0.8rem; color: var(--color-text-muted); line-height: 1.5; }

/* ---------- Header ---------- */
.hdr {
  position: sticky; top: 0; z-index: 50;
  background: rgba(251, 247, 238, 0.96);
  backdrop-filter: saturate(1.4) blur(10px);
  -webkit-backdrop-filter: saturate(1.4) blur(10px);
  border-bottom: 1px solid var(--color-divider);
  transition: background .25s ease, border-color .25s ease, box-shadow .25s ease;
}
.hdr__bar {
  max-width: var(--content-wide); margin-inline: auto;
  display: flex; align-items: center; gap: 1.25rem;
  padding: 0.9rem clamp(1rem, 3vw, 2.5rem);
  transition: padding .25s ease;
}
.hdr__brand { flex: 0 0 auto; display: block; }
.hdr__logo { width: 104px; height: auto; transition: width .25s ease, filter .25s ease; }
.hdr__nav { margin-left: auto; }
.hdr__links { display: flex; gap: clamp(1rem, 2.2vw, 2rem); list-style: none; }
.hdr__links a {
  position: relative; display: block; padding: 0.4rem 0;
  font-size: 0.95rem; font-weight: 600; letter-spacing: 0.02em; color: var(--color-text);
}
.hdr__links a::after {
  content: ''; position: absolute; left: 0; right: 0; bottom: -2px; height: 2px;
  background: var(--color-accent); transform: scaleX(0); transform-origin: left; transition: transform .2s ease;
}
.hdr__links a:hover::after, .hdr__links a[aria-current="page"]::after { transform: scaleX(1); }
.hdr__cta {
  display: inline-flex; align-items: center; gap: 0.5rem; flex: 0 0 auto;
  padding: 0.6rem 1.05rem; border-radius: 999px;
  background: var(--color-primary); color: #fff; font-weight: 700; font-size: 0.9rem; white-space: nowrap;
}
.hdr__cta:hover { background: var(--color-primary-hover); color: #fff; }
.hdr__cta svg, .hdr__phone svg { width: 1.05em; height: 1.05em; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.hdr__phone, .hdr__menu { display: none; }
.hdr__menu {
  align-items: center; gap: 0.4rem; padding: 0.55rem 1rem; border-radius: 999px;
  border: 1.5px solid var(--color-primary); color: var(--color-primary); font-weight: 700; font-size: 0.9rem;
}
.hdr__phone {
  align-items: center; justify-content: center; width: 42px; height: 42px; border-radius: 50%;
  background: var(--color-primary); color: #fff; margin-left: auto;
}
.hdr__phone svg { width: 20px; height: 20px; }

.hdr.is-scrolled { box-shadow: 0 6px 20px rgba(20, 30, 40, 0.08); }
.hdr.is-scrolled .hdr__bar { padding-block: 0.45rem; }
.hdr.is-scrolled .hdr__logo { width: 84px; }

/* Transparent over the homepage video until the visitor scrolls. */
.hdr--overlay { position: fixed; left: 0; right: 0; }
.hdr--overlay:not(.is-scrolled):not(.menu-open) { background: transparent; border-color: transparent; backdrop-filter: none; -webkit-backdrop-filter: none; }
.hdr--overlay:not(.is-scrolled):not(.menu-open) .hdr__bar .hdr__logo { filter: brightness(0) invert(1); }
.hdr--overlay:not(.is-scrolled):not(.menu-open) .hdr__links a { color: #fff; text-shadow: 0 1px 8px rgba(0,0,0,.35); }
.hdr--overlay:not(.is-scrolled):not(.menu-open) .hdr__cta { background: #fff; color: var(--color-primary); }
.hdr--overlay:not(.is-scrolled):not(.menu-open) .hdr__menu { border-color: #fff; color: #fff; }
.hdr--overlay:not(.is-scrolled):not(.menu-open) .hdr__phone { background: #fff; color: var(--color-primary); }

@media (max-width: 960px) {
  .hdr__nav, .hdr__cta { display: none; }
  .hdr__phone, .hdr__menu { display: inline-flex; }
  .hdr__logo { width: 86px; }
  .hdr.is-scrolled .hdr__logo { width: 72px; }
  .hdr__bar { gap: 0.6rem; }
}

/* Full-screen menu (phones and tablets) */
.menu {
  position: fixed; inset: 0; z-index: 60; overflow-y: auto;
  background: var(--color-bg); display: flex; flex-direction: column;
  padding: 0 clamp(1rem, 4vw, 2rem) 2rem;
}
.menu[hidden] { display: none; }
.menu__top { display: flex; align-items: center; justify-content: space-between; padding-block: 0.9rem; }
.menu__top .hdr__logo { width: 86px; filter: none !important; }
.menu__top .hdr__menu { display: inline-flex; color: var(--color-primary) !important; border-color: var(--color-primary) !important; }
.menu__links { list-style: none; margin-top: 1rem; border-top: 1px solid var(--color-divider); }
.menu__links a {
  display: flex; flex-direction: column; gap: 2px; padding: 1.05rem 0.25rem;
  border-bottom: 1px solid var(--color-divider);
  font-family: var(--font-display); font-size: 1.75rem; color: var(--color-text);
}
.menu__links a span { font-family: var(--font-body); font-size: 0.9rem; color: var(--color-text-muted); }
.menu__links a[aria-current="page"] { color: var(--color-accent); }
.menu__contact { display: grid; gap: 0.75rem; margin-top: 1.75rem; }
body.menu-lock { overflow: hidden; }

/* ---------- Footer ---------- */
.ftr { background: var(--color-surface); border-top: 1px solid var(--color-divider); padding-top: clamp(2.5rem, 6vw, 4rem); font-size: 0.95rem; }
.ftr__grid { display: grid; gap: 2rem; grid-template-columns: 1.4fr 1fr 1.2fr; align-items: start; }
.ftr__brand img { width: 120px; margin-bottom: 0.9rem; }
.ftr__brand p { color: var(--color-text-muted); max-width: 34ch; }
.ftr__links { display: grid; grid-template-columns: 1fr 1fr; gap: 0.6rem 1.5rem; }
.ftr__links a, .ftr__contact a { color: var(--color-text); }
.ftr__links a:hover, .ftr__contact a:hover { color: var(--color-accent); }
.ftr__contact { display: grid; gap: 0.55rem; }
.ftr__social { display: flex; gap: 0.6rem; margin-top: 0.4rem; }
.ftr__social a { width: 40px; height: 40px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; border: 1px solid var(--color-border); }
.ftr__social svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.8; }
.ftr__legal { margin-top: 2.25rem; padding-block: 1.4rem 1.8rem; border-top: 1px solid var(--color-divider); display: grid; gap: 0.45rem; font-size: 0.8rem; color: var(--color-text-muted); }
.ftr__legal a { text-decoration: underline; text-underline-offset: 2px; }
.ftr__eho { display: flex; align-items: center; gap: 0.4rem; flex-wrap: wrap; }
.ftr__eho svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.6; }
@media (max-width: 860px) { .ftr__grid { grid-template-columns: 1fr; } }

/* ---------- Homepage ---------- */
.home-hero {
  position: relative; min-height: min(100svh, 920px); display: flex; align-items: flex-end;
  color: #fff; overflow: hidden; background: #0d1e2b url('/assets/mobile-hero-background.jpg') center/cover no-repeat;
}
.home-hero video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.home-hero::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(8,20,30,.55) 0%, rgba(8,20,30,.25) 35%, rgba(8,20,30,.75) 100%); }
.home-hero__inner { position: relative; z-index: 1; width: 100%; padding-top: 7.5rem; padding-bottom: clamp(2rem, 5vw, 3.5rem); }
.home-hero h1 { color: #fff; max-width: 20ch; text-shadow: 0 2px 24px rgba(0,0,0,.3); }
.home-hero__counties { margin-top: 0.9rem; font-size: var(--text-base); opacity: .92; }
.offer-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; margin-top: clamp(1.75rem, 4vw, 2.75rem); max-width: 880px; }
.offer {
  display: flex; flex-direction: column; gap: 0.5rem; padding: 1.35rem 1.4rem;
  border-radius: 18px; background: rgba(251, 247, 238, 0.96); color: var(--color-text);
  box-shadow: 0 18px 40px rgba(0,0,0,.25); transition: transform .2s ease, box-shadow .2s ease;
}
.offer:hover { transform: translateY(-3px); color: var(--color-text); box-shadow: 0 24px 50px rgba(0,0,0,.3); }
.offer__tag { font-size: 0.75rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--color-accent); }
.offer__title { font-family: var(--font-display); font-size: clamp(1.35rem, 1.1rem + 1vw, 1.75rem); line-height: 1.15; }
.offer__text { color: var(--color-text-muted); font-size: 0.95rem; }
.offer__go { margin-top: auto; padding-top: 0.4rem; font-weight: 700; color: var(--color-primary); }
@media (max-width: 640px) { .offer-grid { grid-template-columns: 1fr; } .home-hero__inner { padding-top: 6rem; } }

.meet { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: clamp(2rem, 5vw, 4rem); align-items: center; }
.meet__photo img { border-radius: 22px; box-shadow: var(--shadow-lg); width: 100%; max-width: 440px; margin-inline: auto; }
.meet__creds { display: flex; flex-wrap: wrap; gap: 0.5rem; margin: 1rem 0 1.25rem; }
.meet__creds span { font-size: 0.78rem; font-weight: 600; letter-spacing: .04em; padding: 0.35rem 0.7rem; border-radius: 999px; background: var(--color-primary-soft); color: var(--color-primary); }
.meet p + p { margin-top: 0.9rem; }
@media (max-width: 820px) { .meet { grid-template-columns: 1fr; } .meet__photo { order: -1; } }

.strip { display: grid; grid-template-columns: auto 1fr auto; gap: clamp(1.25rem, 3vw, 2.5rem); align-items: center; padding: clamp(1.5rem, 3vw, 2.25rem); border-radius: 22px; background: var(--color-surface); border: 1px solid var(--color-divider); }
.strip + .strip { margin-top: 1rem; }
.strip img { width: clamp(120px, 16vw, 180px); }
.strip h3 { margin-bottom: 0.35rem; }
.strip p { color: var(--color-text-muted); }
.strip--navy { background: var(--color-primary); border-color: var(--color-primary); color: #fff; }
.strip--navy h3 { color: #fff; }
.strip--navy p { color: rgba(255,255,255,.82); }
.strip__icon { width: 64px; height: 64px; border-radius: 16px; background: rgba(255,255,255,.12); display: grid; place-items: center; }
.strip__icon svg { width: 32px; height: 32px; fill: none; stroke: #fff; stroke-width: 1.7; }
@media (max-width: 760px) { .strip { grid-template-columns: 1fr; text-align: left; } }

.areas { display: grid; grid-template-columns: repeat(5, 1fr); gap: 0.75rem; }
.area { padding: 1.1rem; border-radius: 16px; background: var(--color-surface-2); border: 1px solid var(--color-divider); }
.area strong { display: block; font-family: var(--font-display); font-size: 1.2rem; font-weight: 500; }
.area span { font-size: 0.85rem; color: var(--color-text-muted); }
@media (max-width: 900px) { .areas { grid-template-columns: repeat(2, 1fr); } }

.v2 .reviews-carousel { max-width: 760px; margin-inline: auto; }

/* ---------- Page hero (inner pages) ---------- */
.page-top { padding-block: clamp(2.75rem, 6vw, 4.5rem) clamp(2rem, 4vw, 3rem); }
.page-top h1 { max-width: 18ch; }
.page-top .lede { margin-top: 0.9rem; max-width: 56ch; }

/* ---------- Sell: address → contact ---------- */
.sell-hero { position: relative; padding-block: clamp(2.5rem, 6vw, 4.5rem); background: linear-gradient(180deg, var(--color-surface) 0%, var(--color-bg) 100%); }
.sell-hero__grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 4rem); align-items: start; }
.sell-hero h1 { max-width: 13ch; }
.sell-hero .lede { margin-top: 0.9rem; max-width: 34ch; }
.sell-points { list-style: none; display: grid; gap: 0.7rem; margin-top: 1.5rem; }
.sell-points li { display: flex; gap: 0.7rem; align-items: flex-start; }
.sell-points svg { width: 22px; height: 22px; flex: 0 0 22px; margin-top: 2px; fill: none; stroke: var(--color-accent); stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.value-card { background: #fff; border: 1px solid var(--color-divider); border-radius: 22px; padding: clamp(1.25rem, 3vw, 1.75rem); box-shadow: var(--shadow-lg); }
.value-card h2 { font-size: 1.35rem; margin-bottom: 0.25rem; }
.value-card > p { color: var(--color-text-muted); font-size: 0.92rem; margin-bottom: 1rem; }
.value-map { position: relative; border-radius: 14px; overflow: hidden; border: 1px solid var(--color-border); background: var(--color-surface-offset); }
.value-map__canvas { height: 220px; }
.value-search { position: relative; margin-bottom: 0.75rem; }
.value-search input, .v2 .input {
  width: 100%; padding: 0.95rem 1rem 0.95rem 2.75rem; font-size: 1rem; border-radius: 12px;
  border: 1.5px solid var(--color-border); background: var(--color-surface-2);
}
.v2 .input { padding-left: 1rem; }
.value-search input:focus, .v2 .input:focus { outline: none; border-color: var(--color-primary); box-shadow: 0 0 0 3px color-mix(in oklab, var(--color-primary) 18%, transparent); }
.value-search > svg { position: absolute; left: 0.95rem; top: 50%; transform: translateY(-50%); width: 18px; height: 18px; fill: none; stroke: var(--color-text-muted); stroke-width: 2; pointer-events: none; }
.value-suggest { position: absolute; z-index: 5; left: 0; right: 0; top: calc(100% + 4px); background: #fff; border: 1px solid var(--color-border); border-radius: 12px; box-shadow: var(--shadow-lg); overflow: hidden; }
.value-suggest[hidden] { display: none; }
.value-suggest button { display: block; width: 100%; text-align: left; padding: 0.7rem 1rem; border-bottom: 1px solid var(--color-divider); }
.value-suggest button:last-child { border-bottom: 0; }
.value-suggest button:hover, .value-suggest button:focus { background: var(--color-primary-soft); outline: none; }
.value-suggest strong { display: block; font-weight: 600; }
.value-suggest span { font-size: 0.85rem; color: var(--color-text-muted); }
.value-chosen { display: flex; gap: 0.6rem; align-items: center; margin: 0.75rem 0 0; padding: 0.7rem 0.9rem; border-radius: 12px; background: var(--color-primary-soft); font-weight: 600; }
.value-chosen[hidden] { display: none; }
.value-chosen svg { width: 20px; height: 20px; flex: 0 0 20px; fill: none; stroke: var(--color-primary); stroke-width: 2.2; }
.value-chosen button { margin-left: auto; font-size: 0.85rem; text-decoration: underline; color: var(--color-text-muted); font-weight: 500; }
.value-status { min-height: 1.2em; margin-top: 0.5rem; font-size: 0.85rem; color: var(--color-text-muted); }
.value-status[data-state="error"] { color: var(--color-error); }
.value-manual-toggle { margin-top: 0.4rem; font-size: 0.9rem; color: var(--color-primary); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
.value-manual { margin-top: 0.75rem; display: grid; gap: 0.6rem; }
.value-manual[hidden] { display: none; }
.value-manual p { font-size: 0.85rem; color: var(--color-text-muted); }
.value-card .btn--block, .v2 .btn--block { width: 100%; margin-top: 1rem; }
@media (max-width: 880px) { .sell-hero__grid { grid-template-columns: 1fr; } .sell-hero h1 { max-width: none; } }

/* Contact sheet (modal on desktop, bottom sheet on phones) */
.sheet { position: fixed; inset: 0; z-index: 70; display: grid; place-items: center; padding: 1rem; }
.sheet[hidden] { display: none; }
.sheet__backdrop { position: absolute; inset: 0; background: rgba(8, 20, 30, .55); }
.sheet__dialog { position: relative; width: min(520px, 100%); max-height: calc(100dvh - 2rem); overflow-y: auto; background: var(--color-bg); border-radius: 22px; padding: clamp(1.25rem, 4vw, 2rem); box-shadow: var(--shadow-lg); }
.sheet__close { position: absolute; right: 0.75rem; top: 0.6rem; width: 40px; height: 40px; font-size: 1.6rem; line-height: 1; color: var(--color-text-muted); }
.sheet__address { display: inline-block; margin: 0.25rem 0 1rem; padding: 0.35rem 0.75rem; border-radius: 999px; background: var(--color-primary-soft); color: var(--color-primary); font-weight: 600; font-size: 0.88rem; }
@media (max-width: 600px) {
  .sheet { place-items: end stretch; padding: 0; }
  .sheet__dialog { width: 100%; border-radius: 22px 22px 0 0; max-height: 92dvh; }
}

.v2 .form-error { margin-top: 0.75rem; padding: 0.75rem 0.9rem; border-radius: 10px; background: rgba(162, 53, 53, 0.08); border: 1px solid rgba(162, 53, 53, 0.35); color: var(--color-error); font-size: 0.9rem; }
.v2 .form-error[hidden] { display: none; }
.consent { display: flex; gap: 0.6rem; align-items: flex-start; font-size: 0.8rem; color: var(--color-text-muted); line-height: 1.45; }
.consent input { margin-top: 0.2rem; flex: 0 0 auto; width: 16px; height: 16px; }
.consent a { text-decoration: underline; }

/* How it works / FAQ / quote */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; counter-reset: step; }
.step { padding: 1.4rem; border-radius: 18px; background: var(--color-surface-2); border: 1px solid var(--color-divider); }
.step::before { counter-increment: step; content: counter(step); display: inline-grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; background: var(--color-primary); color: #fff; font-weight: 700; margin-bottom: 0.9rem; }
.step h3 { margin-bottom: 0.4rem; }
.step p { color: var(--color-text-muted); font-size: 0.95rem; }
@media (max-width: 820px) { .steps { grid-template-columns: 1fr; } }

.quote { max-width: 760px; margin-inline: auto; text-align: center; }
.quote blockquote { font-family: var(--font-display); font-size: clamp(1.2rem, 1rem + 1vw, 1.6rem); line-height: 1.4; }
.quote .review-stars { display: block; margin-bottom: 1rem; }
.quote figcaption { margin-top: 1rem; color: var(--color-text-muted); font-size: 0.9rem; }
.quote figcaption strong { color: var(--color-text); }

.v2-faq { max-width: 780px; margin-inline: auto; display: grid; gap: 0.6rem; }
.v2-faq details { border: 1px solid var(--color-divider); border-radius: 14px; background: var(--color-surface-2); }
.v2-faq summary { cursor: pointer; list-style: none; padding: 1.05rem 3rem 1.05rem 1.2rem; position: relative; font-weight: 600; }
.v2-faq summary::-webkit-details-marker { display: none; }
.v2-faq summary::after { content: '+'; position: absolute; right: 1.2rem; top: 50%; transform: translateY(-50%); font-size: 1.4rem; color: var(--color-accent); }
.v2-faq details[open] summary::after { content: '–'; }
.v2-faq details > div { padding: 0 1.2rem 1.15rem; color: var(--color-text-muted); }
.v2-faq details > div p + p { margin-top: 0.6rem; }

.v2-cta { text-align: center; }
.v2-cta h2 { margin-bottom: 0.6rem; }
.v2-cta p { color: rgba(255,255,255,.82); margin-bottom: 1.4rem; }
.v2-cta .btns { display: flex; gap: 0.75rem; justify-content: center; flex-wrap: wrap; }

/* ---------- Thank-you pages ---------- */
.thanks { max-width: 680px; margin-inline: auto; }
.thanks__check { width: 56px; height: 56px; border-radius: 50%; background: var(--color-success); display: grid; place-items: center; margin-bottom: 1.1rem; }
.thanks__check svg { width: 28px; height: 28px; fill: none; stroke: #fff; stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round; }
.thanks .lede { margin-top: 0.75rem; }
.thanks-card { margin-top: 2rem; padding: clamp(1.25rem, 3vw, 1.75rem); border-radius: 20px; background: #fff; border: 1px solid var(--color-divider); box-shadow: var(--shadow-md); }
.thanks-card h2 { font-size: 1.3rem; }
.thanks-card > p { color: var(--color-text-muted); font-size: 0.92rem; margin: 0.3rem 0 1.1rem; }
.thanks-done { padding: 0.9rem 1rem; border-radius: 12px; background: var(--color-primary-soft); font-weight: 600; }
.thanks-next { margin-top: 2rem; display: grid; gap: 0.75rem; }
.next-card { display: flex; gap: 1rem; align-items: center; padding: 1.1rem 1.2rem; border-radius: 16px; border: 1px solid var(--color-divider); background: var(--color-surface); color: var(--color-text); }
.next-card:hover { border-color: var(--color-primary); color: var(--color-text); }
.next-card img { width: 92px; flex: 0 0 auto; }
.next-card strong { display: block; }
.next-card span { font-size: 0.9rem; color: var(--color-text-muted); }

/* Chip groups (thank-you pages, renovate, survey) */
.chips { display: flex; flex-wrap: wrap; gap: 0.5rem; border: 0; }
.chips legend { width: 100%; margin-bottom: 0.5rem; font-size: 0.78rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--color-text-muted); }
.chip { position: relative; }
.chip input { position: absolute; opacity: 0; inset: 0; width: 100%; height: 100%; margin: 0; cursor: pointer; }
.chip span { display: inline-flex; align-items: center; gap: 0.4rem; padding: 0.55rem 0.95rem; border-radius: 999px; border: 1.5px solid var(--color-border); background: var(--color-surface-2); font-size: 0.92rem; font-weight: 500; transition: all .15s ease; }
.chip input:checked + span { background: var(--color-primary); border-color: var(--color-primary); color: #fff; }
.chip input:focus-visible + span { outline: 2px solid var(--color-primary); outline-offset: 2px; }
.v2 .field + .field, .v2 .field + .chips, .v2 .chips + .field, .v2 .chips + .chips, .v2 .form-row + .chips, .v2 .chips + .form-row { margin-top: 1rem; }

/* ---------- Buy: Home Match survey ---------- */
.survey-wrap { padding-block: clamp(2rem, 5vw, 3.5rem) clamp(5rem, 9vw, 7rem); }
.survey { max-width: 720px; margin-inline: auto; background: #fff; border: 1px solid var(--color-divider); border-radius: 24px; box-shadow: var(--shadow-lg); padding: clamp(1.25rem, 4vw, 2.5rem); min-height: 420px; display: flex; flex-direction: column; }
.survey__count { font-size: 0.8rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--color-accent); }
.survey__q { font-size: clamp(1.45rem, 1.1rem + 1.3vw, 2rem); margin: 0.4rem 0 0.35rem; }
.survey__hint { color: var(--color-text-muted); font-size: 0.95rem; margin-bottom: 1.25rem; }
.survey__body { flex: 1; }
.survey__opts { display: grid; gap: 0.6rem; }
.survey__opts--2 { grid-template-columns: 1fr 1fr; }
.opt { position: relative; }
.opt input { position: absolute; opacity: 0; inset: 0; width: 100%; height: 100%; margin: 0; cursor: pointer; z-index: 1; }
.opt span { display: flex; align-items: center; gap: 0.75rem; min-height: 54px; padding: 0.8rem 1rem; border-radius: 14px; border: 1.5px solid var(--color-border); background: var(--color-surface-2); font-weight: 500; transition: all .15s ease; }
.opt span::before { content: ''; flex: 0 0 20px; width: 20px; height: 20px; border-radius: 6px; border: 1.5px solid var(--color-border); background: #fff; }
.opt input[type="radio"] + span::before { border-radius: 50%; }
.opt input:checked + span { border-color: var(--color-primary); background: var(--color-primary-soft); }
.opt input:checked + span::before { background: var(--color-primary) 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 12l5 5L20 7'/%3E%3C/svg%3E") center/14px no-repeat; border-color: var(--color-primary); }
.opt input:focus-visible + span { outline: 2px solid var(--color-primary); outline-offset: 2px; }
.opt small { display: block; font-size: 0.82rem; color: var(--color-text-muted); font-weight: 400; }
.survey__group { margin-top: 1.1rem; }
.survey__group h3 { font-family: var(--font-body); font-size: 0.8rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--color-text-muted); margin-bottom: 0.55rem; }
.survey__nav { display: flex; align-items: center; gap: 0.75rem; margin-top: 1.75rem; }
.survey__nav .btn { min-width: 140px; }
.survey__back { color: var(--color-text-muted); font-weight: 600; padding: 0.6rem 0.25rem; }
.survey__back[hidden] { visibility: hidden; display: inline-block; }
.survey__skip { margin-left: auto; color: var(--color-text-muted); font-size: 0.9rem; text-decoration: underline; }
.survey__error { margin-top: 0.75rem; color: var(--color-error); font-size: 0.9rem; min-height: 1.2em; }
.lender-card { margin-top: 1rem; padding: 1.1rem; border-radius: 14px; background: var(--color-surface); border: 1px solid var(--color-divider); }
.lender-card[hidden] { display: none; }
.lender-card p { font-size: 0.92rem; }
.lender-card p + p, .lender-card label { margin-top: 0.6rem; }
.lender-card .consent { font-size: 0.9rem; color: var(--color-text); }
.progress { position: fixed; z-index: 40; left: 0; right: 0; bottom: 0; background: rgba(251,247,238,.97); border-top: 1px solid var(--color-divider); padding: 0.75rem clamp(1rem, 4vw, 2rem); backdrop-filter: blur(8px); }
.progress__inner { max-width: 720px; margin-inline: auto; display: flex; align-items: center; gap: 0.9rem; font-size: 0.85rem; font-weight: 600; color: var(--color-text-muted); }
.progress__track { flex: 1; height: 8px; border-radius: 999px; background: var(--color-surface-offset); overflow: hidden; }
.progress__fill { height: 100%; width: 0; background: var(--color-accent); border-radius: inherit; transition: width .35s ease; }
@media (max-width: 700px) {
  .progress { position: static; background: none; border: 0; padding: 0 0 0.75rem; backdrop-filter: none; }
  .survey-wrap { padding-top: 0.5rem; }
  .survey { border-radius: 18px; min-height: 0; }
  .survey__opts--2 { grid-template-columns: 1fr; }
}

/* ---------- Renovate ---------- */
.reno-hero { position: relative; color: #fff; background: #0d1e2b url('/assets/renovate-hero-bg-1.jpg') center/cover no-repeat; }
.reno-hero::after { content: ''; position: absolute; inset: 0; background: linear-gradient(100deg, rgba(8,20,30,.88) 0%, rgba(8,20,30,.6) 55%, rgba(8,20,30,.35) 100%); }
.reno-hero__inner { position: relative; z-index: 1; padding-block: clamp(3.5rem, 9vw, 6.5rem); max-width: 760px; }
.reno-hero img { width: clamp(150px, 20vw, 210px); filter: brightness(0) invert(1); margin-bottom: 1.25rem; }
.reno-hero h1 { color: #fff; }
.reno-hero p { margin-top: 1rem; font-size: var(--text-lg); color: rgba(255,255,255,.88); max-width: 46ch; }
.reno-hero .btns { display: flex; gap: 0.75rem; flex-wrap: wrap; margin-top: 1.75rem; }
.paths { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
.path { display: flex; flex-direction: column; gap: 0.5rem; padding: 1.5rem; border-radius: 20px; background: var(--color-surface-2); border: 1px solid var(--color-divider); color: var(--color-text); }
.path:hover { border-color: var(--color-primary); color: var(--color-text); }
.path__tag { font-size: 0.75rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--color-accent); }
.path p { color: var(--color-text-muted); font-size: 0.95rem; }
.path__go { margin-top: auto; padding-top: 0.5rem; font-weight: 700; color: var(--color-primary); }
@media (max-width: 860px) { .paths { grid-template-columns: 1fr; } }
.gallery { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 180px; gap: 0.6rem; }
.gallery button { border-radius: 14px; overflow: hidden; padding: 0; min-width: 0; min-height: 0; }
.gallery img { display: block; }
.gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s ease; }
.gallery button:hover img { transform: scale(1.04); }
.gallery button:first-child { grid-column: span 2; grid-row: span 2; }
.gallery button:nth-child(6), .gallery button:nth-child(7) { grid-column: span 2; }
@media (max-width: 760px) { .gallery { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 130px; } }
.why { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.why h3 { margin-bottom: 0.4rem; color: #fff; }
.why p { color: rgba(255,255,255,.82); font-size: 0.95rem; }
@media (max-width: 860px) { .why { grid-template-columns: 1fr; } }
.reno-form-wrap { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: clamp(2rem, 5vw, 4rem); align-items: start; }
.reno-form { background: #fff; border: 1px solid var(--color-divider); border-radius: 22px; padding: clamp(1.25rem, 3vw, 2rem); box-shadow: var(--shadow-lg); }
@media (max-width: 900px) { .reno-form-wrap { grid-template-columns: 1fr; } }
.photo-drop input[type="file"] { position: absolute; inset: 0; width: 100% !important; height: 100%; opacity: 0; cursor: pointer; padding: 0; border: 0; }
.photo-drop { position: relative; display: block; border: 1.5px dashed var(--color-border); border-radius: 14px; padding: 1rem; text-align: center; cursor: pointer; background: var(--color-surface-2); }
.photo-drop:hover { border-color: var(--color-primary); }
.photo-drop strong { color: var(--color-primary); }
.photo-drop small { display: block; color: var(--color-text-muted); margin-top: 0.2rem; }
.photo-list { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-top: 0.6rem; }
.photo-list:empty { display: none; }
.photo-thumb { position: relative; width: 74px; height: 74px; border-radius: 10px; overflow: hidden; background: var(--color-surface-offset); }
.photo-thumb img { width: 100%; height: 100%; object-fit: cover; }
.photo-thumb button { position: absolute; top: 3px; right: 3px; width: 22px; height: 22px; border-radius: 50%; background: rgba(0,0,0,.65); color: #fff; font-size: 0.9rem; line-height: 1; }
.photo-thumb.is-busy::after { content: ''; position: absolute; inset: 0; background: rgba(255,255,255,.55); }
.lightbox { position: fixed; inset: 0; z-index: 80; background: rgba(5, 12, 18, .9); display: grid; place-items: center; padding: 1rem; }
.lightbox[hidden] { display: none; }
.lightbox img { max-height: 88vh; max-width: 100%; border-radius: 10px; }
.lightbox button { position: absolute; top: 1rem; right: 1rem; color: #fff; font-size: 2rem; width: 48px; height: 48px; }

/* ---------- Legal pages (privacy, terms) ---------- */
.v2-legal { max-width: 820px; margin-inline: auto; padding: clamp(2.5rem, 6vw, 4rem) clamp(1rem, 4vw, 2rem); }
.v2-legal .container { padding: 0; }
.v2-legal h1 { margin-bottom: 1rem; }
.v2-legal h2 { font-size: 1.35rem; margin: 1.75rem 0 0.6rem; }
.v2-legal p, .v2-legal li { margin-bottom: 0.7rem; color: var(--color-text); }
.v2-legal ul { padding-left: 1.25rem; }
.v2-legal a { color: var(--color-primary); text-decoration: underline; }

/* Renovate form (Nov 4 corrections): even grid, matching field heights */
.reno-form { display: grid; gap: 1.15rem; }
.reno-form .field, .reno-form .chips, .reno-form .form-row, .reno-form .consent { margin: 0 !important; }
.reno-form .form-row--2 { grid-template-columns: 1fr 1fr; gap: 1rem; align-items: start; }
.reno-form .field label, .reno-form .field-label, .reno-form .chips legend {
  font-size: 0.75rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--color-text-muted); margin-bottom: 0.45rem; display: block;
}
.reno-form .field { gap: 0; }
.reno-form .field input, .reno-form .field select { height: 48px; padding: 0 0.9rem; font-size: 1rem; border-radius: 10px; background: var(--color-surface-2); }
.reno-form .field textarea { padding: 0.75rem 0.9rem; font-size: 1rem; border-radius: 10px; min-height: 110px; }
.reno-form .form-section { padding-top: 1rem; border-top: 1px solid var(--color-divider); font-family: var(--font-display); font-size: 1.15rem; color: var(--color-text); }
.photo-row { display: flex; align-items: center; gap: 0.9rem; flex-wrap: wrap; }
.photo-btn { position: relative; overflow: hidden; cursor: pointer; border-radius: 999px; padding: 0.7rem 1.2rem; font-weight: 600; }
.photo-btn input { position: absolute; inset: 0; opacity: 0; cursor: pointer; width: 100%; height: 100%; }
.photo-btn svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linejoin: round; }
.photo-hint { font-size: 0.88rem; color: var(--color-text-muted); }
@media (max-width: 600px) { .reno-form .form-row--2 { grid-template-columns: 1fr; } }
.reno-form[hidden] { display: none !important; }
.reno-form .field label.photo-btn {
  display: inline-flex; flex-direction: row; align-items: center; gap: 0.5rem; margin: 0;
  text-transform: none; letter-spacing: 0; font-size: 0.95rem; font-weight: 600;
  color: #fff; background: var(--color-primary); border: 0; padding: 0.75rem 1.3rem;
}
.reno-form .field label.photo-btn:hover { background: var(--color-primary-hover); color: #fff; }

/* Invest dropdown */
.hdr__drop { position: relative; }
.hdr__drop > a { display: inline-flex !important; align-items: center; gap: 0.25rem; }
.hdr__caret { width: 14px; height: 14px; fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; transition: transform .2s ease; }
.hdr__drop:hover .hdr__caret, .hdr__drop:focus-within .hdr__caret { transform: rotate(180deg); }
.hdr__sub {
  position: absolute; top: calc(100% + 8px); left: 50%; transform: translate(-50%, 6px); min-width: 250px;
  list-style: none; padding: 0.45rem; border-radius: 14px; background: #fff; border: 1px solid var(--color-divider);
  box-shadow: 0 18px 40px rgba(20, 30, 40, 0.14); opacity: 0; visibility: hidden; transition: opacity .15s ease, transform .15s ease, visibility .15s;
}
.hdr__sub::before { content: ''; position: absolute; left: 0; right: 0; top: -12px; height: 12px; }
.hdr__drop:hover .hdr__sub, .hdr__drop:focus-within .hdr__sub { opacity: 1; visibility: visible; transform: translate(-50%, 0); }
.hdr .hdr__sub a { display: block; padding: 0.6rem 0.75rem; border-radius: 10px; color: var(--color-text) !important; text-shadow: none !important; font-weight: 600; font-size: 0.95rem; }
.hdr .hdr__sub a::after { display: none; }
.hdr .hdr__sub a:hover { background: var(--color-primary-soft); }
.hdr__sub a span { display: block; font-weight: 400; font-size: 0.8rem; color: var(--color-text-muted); margin-top: 1px; }
.menu__sub { display: flex; flex-wrap: wrap; gap: 0.5rem; padding: 0.1rem 0.25rem 1rem; border-bottom: 1px solid var(--color-divider); }
.menu__links li:has(.menu__sub) > a { border-bottom: 0; padding-bottom: 0.6rem; }
.menu__sub a { padding: 0.5rem 0.9rem; border-radius: 999px; border: 1.5px solid var(--color-border); font-size: 0.92rem; font-weight: 600; color: var(--color-primary); }
.hdr.menu-open { backdrop-filter: none !important; -webkit-backdrop-filter: none !important; }
.menu__links .menu__sub a { display: inline-block; font-family: var(--font-body); font-size: 0.92rem; padding: 0.5rem 0.9rem; border: 1.5px solid var(--color-border); border-radius: 999px; color: var(--color-primary); }
