/* ==========================================================================
   GB Homes Real Estate — site styles
   Brand colours come from the GB Homes logo: red #E52020 and near-black ink.
   ========================================================================== */

:root {
  --red: #e52020;
  --red-dark: #b81414;
  --red-tint: #fdecec;
  --ink: #111111;
  --ink-2: #2a2a2a;
  --muted: #5f6368;
  --line: #e6e3df;
  --paper: #ffffff;
  --cream: #f7f5f2;
  --dark: #0f0f10;
  --ok: #1d7a46;
  --ok-tint: #e7f4ec;
  --warn: #9a5b00;
  --warn-tint: #fff4e0;

  --font-head: "Archivo", "Helvetica Neue", Arial, sans-serif;
  --font-body: "Inter", "Helvetica Neue", Arial, sans-serif;

  --radius: 14px;
  --radius-sm: 8px;
  --shadow: 0 1px 2px rgba(0, 0, 0, 0.04), 0 8px 24px rgba(0, 0, 0, 0.06);
  --shadow-lg: 0 2px 4px rgba(0, 0, 0, 0.04), 0 20px 48px rgba(0, 0, 0, 0.10);
  --wrap: 1180px;
}

*,
*::before,
*::after { box-sizing: border-box; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
}

img, svg { max-width: 100%; display: block; }
a { color: inherit; }
p { margin: 0 0 1em; }
h1, h2, h3, h4 {
  font-family: var(--font-head);
  line-height: 1.12;
  margin: 0 0 0.5em;
  letter-spacing: -0.015em;
}
h1 { font-size: clamp(2.2rem, 5.2vw, 3.9rem); font-weight: 800; }
h2 { font-size: clamp(1.7rem, 3.4vw, 2.6rem); font-weight: 800; }
h3 { font-size: 1.25rem; font-weight: 700; }
h4 { font-size: 1.05rem; font-weight: 700; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 20px; }
.section { padding: 84px 0; }
.section--tight { padding: 56px 0; }
.section--cream { background: var(--cream); }
.section--dark { background: var(--dark); color: #fff; }
.section--dark .muted { color: #b7b7b7; }

.eyebrow {
  display: inline-block;
  font-family: var(--font-head);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 14px;
}
.lead { font-size: 1.15rem; color: var(--ink-2); max-width: 640px; }
.section--dark .lead { color: #d6d6d6; }
.muted { color: var(--muted); }
.red { color: var(--red); }
.center { text-align: center; }
.center .lead { margin-left: auto; margin-right: auto; }
.small { font-size: 0.875rem; }
.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap;
}

.skip-link {
  position: absolute; left: 12px; top: -48px; z-index: 100;
  background: var(--ink); color: #fff; padding: 10px 14px; border-radius: 6px;
}
.skip-link:focus { top: 12px; }

:focus-visible { outline: 3px solid var(--red); outline-offset: 2px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font-family: var(--font-head); font-weight: 700; font-size: 0.98rem;
  padding: 14px 24px; border-radius: 999px; border: 2px solid transparent;
  text-decoration: none; cursor: pointer; transition: transform 0.15s ease, background 0.15s ease, color 0.15s ease, border-color 0.15s ease;
  line-height: 1.1; white-space: nowrap;
}
.btn:hover { transform: translateY(-1px); }
.btn--red { background: var(--red); color: #fff; }
.btn--red:hover { background: var(--red-dark); }
.btn--ink { background: var(--ink); color: #fff; }
.btn--ink:hover { background: #000; }
.btn--ghost { background: transparent; border-color: currentColor; }
.btn--ghost:hover { background: var(--ink); border-color: var(--ink); color: #fff; }
.section--dark .btn--ghost:hover, .hero--dark .btn--ghost:hover { background: #fff; border-color: #fff; color: var(--ink); }
.btn--sm { padding: 10px 16px; font-size: 0.9rem; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: saturate(160%) blur(10px);
  -webkit-backdrop-filter: saturate(160%) blur(10px);
  border-bottom: 1px solid var(--line);
}
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; height: 72px; gap: 20px; }
.brand { display: flex; align-items: center; text-decoration: none; flex-shrink: 0; }
.brand img { height: 38px; width: auto; }

.nav { display: flex; align-items: center; gap: 4px; }
.nav a {
  font-family: var(--font-head); font-weight: 600; font-size: 0.95rem; text-decoration: none;
  padding: 8px 12px; border-radius: 8px; color: var(--ink-2);
}
.nav a:hover { color: var(--red); }
.nav a[aria-current="page"] { color: var(--red); }
.nav .btn { margin-left: 8px; color: #fff; padding: 11px 18px; }
.nav .btn:hover { color: #fff; }

.nav-toggle {
  display: none; background: none; border: 0; padding: 8px; cursor: pointer; color: var(--ink);
}
.nav-toggle svg { width: 28px; height: 28px; }

@media (max-width: 960px) {
  .nav-toggle { display: inline-flex; }
  .nav {
    position: fixed; inset: 72px 0 auto 0; flex-direction: column; align-items: stretch;
    background: #fff; border-bottom: 1px solid var(--line); padding: 12px 20px 24px;
    box-shadow: var(--shadow-lg); display: none; max-height: calc(100vh - 72px); overflow: auto;
  }
  .nav.is-open { display: flex; }
  .nav a { padding: 14px 6px; font-size: 1.05rem; border-bottom: 1px solid var(--line); border-radius: 0; }
  .nav .btn { margin: 16px 0 0; border-bottom: 0; border-radius: 999px; }
  .brand img { height: 32px; }
}

/* ---------- Hero ---------- */
.hero { padding: 72px 0 84px; position: relative; overflow: hidden; }
.hero::before {
  content: ""; position: absolute; right: -180px; top: -160px; width: 560px; height: 560px;
  background: radial-gradient(circle at center, var(--red-tint) 0%, rgba(253, 236, 236, 0) 70%);
  pointer-events: none;
}
.hero .wrap { position: relative; display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 56px; align-items: center; }
.hero h1 .red { color: var(--red); }
.hero .lead { margin-bottom: 28px; }
.hero-points { list-style: none; padding: 0; margin: 28px 0 0; display: flex; flex-wrap: wrap; gap: 10px 22px; color: var(--ink-2); font-size: 0.95rem; }
.hero-points li { display: flex; align-items: center; gap: 8px; }
.hero-points svg { width: 18px; height: 18px; color: var(--red); flex-shrink: 0; }

.page-hero { padding: 64px 0 48px; background: var(--cream); border-bottom: 1px solid var(--line); }
.page-hero h1 { font-size: clamp(2rem, 4.4vw, 3.2rem); }
.page-hero .lead { margin-bottom: 0; }

@media (max-width: 900px) {
  .hero { padding: 44px 0 60px; }
  .hero .wrap { grid-template-columns: 1fr; gap: 36px; }
}

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

.card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 28px; box-shadow: var(--shadow);
}
.card--flat { box-shadow: none; }
.card h3 { margin-bottom: 8px; }
.card p:last-child { margin-bottom: 0; }

.icon-badge {
  width: 48px; height: 48px; border-radius: 12px; background: var(--red-tint); color: var(--red);
  display: grid; place-items: center; margin-bottom: 18px;
}
.icon-badge svg { width: 24px; height: 24px; }

.service-card { display: flex; flex-direction: column; }
.service-card .link-arrow { margin-top: auto; padding-top: 14px; }

.link-arrow {
  display: inline-flex; align-items: center; gap: 6px; font-family: var(--font-head);
  font-weight: 700; color: var(--red); text-decoration: none;
}
.link-arrow::after { content: "→"; transition: transform 0.15s ease; }
.link-arrow:hover::after { transform: translateX(3px); }

.section-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; margin-bottom: 36px; flex-wrap: wrap; }
.section-head h2 { margin-bottom: 0; }

/* ---------- Steps ---------- */
.steps { counter-reset: step; display: grid; gap: 20px; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.step { position: relative; padding-top: 56px; }
.step::before {
  counter-increment: step; content: counter(step, decimal-leading-zero);
  position: absolute; top: 0; left: 0; font-family: var(--font-head); font-weight: 800; font-size: 2rem; color: var(--red);
}
.step h3 { font-size: 1.1rem; }
@media (max-width: 900px) { .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .steps { grid-template-columns: 1fr; } }

/* ---------- Quick calculator (hero) ---------- */
.quick-calc { background: #fff; border-radius: 20px; box-shadow: var(--shadow-lg); border: 1px solid var(--line); padding: 28px; }
.quick-calc h2 { font-size: 1.25rem; margin-bottom: 4px; }
.quick-calc .result-big { font-family: var(--font-head); font-size: 2.6rem; font-weight: 800; line-height: 1; margin: 18px 0 4px; }
.quick-calc .result-big small { font-size: 1rem; font-weight: 600; color: var(--muted); }

/* ---------- Forms ---------- */
.field { display: flex; flex-direction: column; gap: 6px; margin-bottom: 16px; }
.field label, .field .label { font-weight: 600; font-size: 0.9rem; color: var(--ink-2); display: flex; justify-content: space-between; gap: 8px; }
.field .hint { font-size: 0.8rem; color: var(--muted); font-weight: 400; }
.input, select.input, textarea.input {
  width: 100%; font: inherit; font-size: 1rem; color: var(--ink); background: #fff;
  border: 1.5px solid #d6d2cc; border-radius: var(--radius-sm); padding: 11px 13px;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
.input:focus { outline: none; border-color: var(--ink); box-shadow: 0 0 0 3px rgba(17, 17, 17, 0.08); }
textarea.input { min-height: 130px; resize: vertical; }

.input-affix { position: relative; display: flex; align-items: center; }
.input-affix .input { padding-left: 28px; }
.input-affix .affix { position: absolute; left: 12px; color: var(--muted); pointer-events: none; font-size: 0.95rem; }
.input-affix.suffix .input { padding-left: 13px; padding-right: 34px; }
.input-affix.suffix .affix { left: auto; right: 12px; }

.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
@media (max-width: 480px) { .field-row { grid-template-columns: 1fr; } }

input[type="range"] { width: 100%; accent-color: var(--red); margin: 4px 0 0; }

.check { display: flex; gap: 10px; align-items: flex-start; font-size: 0.95rem; cursor: pointer; margin-bottom: 10px; }
.check input { width: 18px; height: 18px; margin-top: 3px; accent-color: var(--red); flex-shrink: 0; }

.seg { display: inline-flex; background: var(--cream); border: 1px solid var(--line); border-radius: 999px; padding: 4px; flex-wrap: wrap; }
.seg button {
  font: inherit; font-family: var(--font-head); font-weight: 700; font-size: 0.92rem; border: 0; background: transparent;
  padding: 10px 18px; border-radius: 999px; cursor: pointer; color: var(--ink-2);
}
.seg button[aria-selected="true"] { background: var(--ink); color: #fff; }

/* ---------- Calculator layout ---------- */
.calc { display: grid; grid-template-columns: 400px 1fr; gap: 28px; align-items: start; }
@media (max-width: 960px) { .calc { grid-template-columns: 1fr; } }
.calc-panel { position: sticky; top: 96px; }
@media (max-width: 960px) { .calc-panel { position: static; } }

.result-hero { background: var(--dark); color: #fff; border-radius: var(--radius); padding: 28px; margin-bottom: 20px; }
.result-hero .label { color: #bdbdbd; font-size: 0.9rem; font-weight: 600; }
.result-hero .value { font-family: var(--font-head); font-size: clamp(2.2rem, 5vw, 3.2rem); font-weight: 800; line-height: 1.05; margin: 6px 0 4px; }
.result-hero .sub { color: #cfcfcf; font-size: 0.95rem; }

.stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 12px; margin-bottom: 20px; }
.stat { background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 16px; }
.stat .label { font-size: 0.82rem; color: var(--muted); font-weight: 600; }
.stat .value { font-family: var(--font-head); font-size: 1.35rem; font-weight: 800; margin-top: 2px; }
.stat--good .value { color: var(--ok); }
.stat--bad .value { color: var(--red); }

.notice { border-radius: 10px; padding: 12px 14px; font-size: 0.92rem; margin-bottom: 16px; border: 1px solid; }
.notice--info { background: var(--cream); border-color: var(--line); color: var(--ink-2); }
.notice--warn { background: var(--warn-tint); border-color: #f1d49c; color: var(--warn); }
.notice--ok { background: var(--ok-tint); border-color: #b9dec8; color: var(--ok); }
.notice--red { background: var(--red-tint); border-color: #f5b9b9; color: var(--red-dark); }

.breakdown { width: 100%; border-collapse: collapse; font-size: 0.95rem; }
.breakdown td { padding: 10px 0; border-bottom: 1px solid var(--line); }
.breakdown td:last-child { text-align: right; font-weight: 600; font-variant-numeric: tabular-nums; }
.breakdown tr.total td { border-bottom: 0; border-top: 2px solid var(--ink); font-weight: 800; font-family: var(--font-head); font-size: 1.05rem; padding-top: 12px; }
.breakdown tr.minus td:last-child { color: var(--ok); }

.table-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.amort-table { width: 100%; border-collapse: collapse; font-size: 0.9rem; font-variant-numeric: tabular-nums; min-width: 520px; }
.amort-table th, .amort-table td { padding: 9px 10px; text-align: right; border-bottom: 1px solid var(--line); }
.amort-table th:first-child, .amort-table td:first-child { text-align: left; }
.amort-table th { font-family: var(--font-head); font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.06em; color: var(--muted); }
.amort-table tr.term-end td { background: var(--red-tint); }

.chart { width: 100%; height: auto; }
.chart-legend { display: flex; gap: 18px; flex-wrap: wrap; font-size: 0.85rem; color: var(--muted); margin-top: 10px; }
.chart-legend span { display: inline-flex; align-items: center; gap: 6px; }
.chart-legend i { width: 12px; height: 12px; border-radius: 3px; display: inline-block; }

.bar-split { display: flex; height: 14px; border-radius: 999px; overflow: hidden; background: var(--line); margin: 10px 0 8px; }
.bar-split > div { height: 100%; transition: width 0.3s ease; }

details.disclosure { border: 1px solid var(--line); border-radius: 12px; background: #fff; }
details.disclosure > summary {
  cursor: pointer; list-style: none; padding: 16px 18px; font-family: var(--font-head); font-weight: 700;
  display: flex; justify-content: space-between; align-items: center; gap: 12px;
}
details.disclosure > summary::-webkit-details-marker { display: none; }
details.disclosure > summary::after { content: "+"; font-size: 1.4rem; color: var(--red); line-height: 1; }
details.disclosure[open] > summary::after { content: "−"; }
details.disclosure > .disclosure-body { padding: 0 18px 18px; }
.faq details.disclosure { margin-bottom: 12px; }

/* ---------- Listings ---------- */
.filters { display: flex; flex-wrap: wrap; gap: 12px; align-items: flex-end; margin-bottom: 28px; }
.filters .field { margin-bottom: 0; min-width: 160px; flex: 1; }
.listing-card { overflow: hidden; padding: 0; display: flex; flex-direction: column; transition: transform 0.15s ease, box-shadow 0.15s ease; }
.listing-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); }
.listing-media { position: relative; aspect-ratio: 4 / 3; background: var(--cream); overflow: hidden; }
.listing-media img { width: 100%; height: 100%; object-fit: cover; }
.listing-badge {
  position: absolute; top: 14px; left: 14px; background: var(--red); color: #fff; font-family: var(--font-head);
  font-weight: 700; font-size: 0.75rem; letter-spacing: 0.08em; text-transform: uppercase; padding: 6px 10px; border-radius: 6px;
}
.listing-badge--ink { background: var(--ink); }
.listing-body { padding: 22px; display: flex; flex-direction: column; flex: 1; }
.listing-price { font-family: var(--font-head); font-weight: 800; font-size: 1.5rem; }
.listing-title { font-weight: 600; margin: 2px 0 2px; }
.listing-meta { display: flex; gap: 16px; flex-wrap: wrap; color: var(--ink-2); font-size: 0.92rem; margin: 12px 0 16px; padding-top: 12px; border-top: 1px solid var(--line); }
.listing-meta span { display: inline-flex; align-items: center; gap: 6px; }
.listing-meta svg { width: 18px; height: 18px; color: var(--muted); }
.listing-actions { margin-top: auto; display: flex; gap: 10px; flex-wrap: wrap; }

.coming-card {
  border: 2px dashed #d6d2cc; background: var(--cream); box-shadow: none; display: flex; flex-direction: column;
  justify-content: center; align-items: flex-start; min-height: 360px;
}

/* Listing dialog */
dialog.listing-dialog {
  border: 0; border-radius: 18px; padding: 0; width: min(920px, calc(100vw - 32px)); max-height: calc(100vh - 48px);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.35);
}
dialog.listing-dialog::backdrop { background: rgba(10, 10, 10, 0.6); }
.dialog-inner { display: grid; grid-template-columns: 1.1fr 0.9fr; }
.dialog-inner .listing-media { aspect-ratio: auto; min-height: 100%; }
.dialog-content { padding: 30px; overflow: auto; max-height: calc(100vh - 48px); }
.dialog-close {
  position: absolute; top: 12px; right: 12px; z-index: 2; width: 40px; height: 40px; border-radius: 50%; border: 0;
  background: #fff; box-shadow: var(--shadow); cursor: pointer; font-size: 1.4rem; line-height: 1;
}
.feature-list { list-style: none; padding: 0; margin: 0 0 20px; display: grid; gap: 8px; }
.feature-list li { display: flex; gap: 10px; }
.feature-list li::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--red); margin-top: 9px; flex-shrink: 0; }
@media (max-width: 760px) {
  .dialog-inner { grid-template-columns: 1fr; }
  .dialog-inner .listing-media { aspect-ratio: 16 / 10; min-height: 0; }
}

/* ---------- Guides ---------- */
.guide-layout { display: grid; grid-template-columns: 240px 1fr; gap: 48px; align-items: start; }
.toc { position: sticky; top: 96px; font-size: 0.92rem; }
.toc ol { list-style: none; padding: 0; margin: 0; border-left: 2px solid var(--line); }
.toc a { display: block; padding: 7px 14px; text-decoration: none; color: var(--muted); margin-left: -2px; border-left: 2px solid transparent; }
.toc a:hover, .toc a.is-active { color: var(--ink); border-left-color: var(--red); }
@media (max-width: 960px) {
  .guide-layout { grid-template-columns: 1fr; }
  .toc { position: static; }
  .toc ol { display: flex; flex-wrap: wrap; gap: 6px; border: 0; }
  .toc a { border: 1px solid var(--line); border-radius: 999px; padding: 6px 12px; margin: 0; }
}

.prose { max-width: 760px; }
.prose h2 { margin-top: 64px; scroll-margin-top: 96px; }
.prose h2:first-child { margin-top: 0; }
.prose h3 { margin-top: 28px; }
.prose ul, .prose ol { padding-left: 1.2em; margin: 0 0 1em; }
.prose li { margin-bottom: 6px; }

.callout { border-left: 4px solid var(--red); background: var(--cream); padding: 18px 20px; border-radius: 0 12px 12px 0; margin: 24px 0; }
.callout p:last-child { margin-bottom: 0; }

.program-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; margin: 20px 0; }
@media (max-width: 640px) { .program-grid { grid-template-columns: 1fr; } }
.program { border: 1px solid var(--line); border-radius: 12px; padding: 20px; background: #fff; }
.program .amount { font-family: var(--font-head); font-weight: 800; font-size: 1.5rem; color: var(--red); line-height: 1.1; }
.program h4 { margin: 6px 0 6px; }
.program p { font-size: 0.93rem; color: var(--ink-2); margin: 0; }

.checklist-card { margin: 20px 0; }
.progress { height: 8px; background: var(--line); border-radius: 999px; overflow: hidden; margin: 8px 0 18px; }
.progress > div { height: 100%; background: var(--red); width: 0; transition: width 0.3s ease; }

/* ---------- CTA band ---------- */
.cta-band { background: var(--red); color: #fff; border-radius: 24px; padding: 56px; display: grid; grid-template-columns: 1fr auto; gap: 28px; align-items: center; }
.cta-band h2 { margin-bottom: 8px; }
.cta-band p { margin: 0; color: rgba(255, 255, 255, 0.9); font-size: 1.08rem; }
.cta-band .btn--ink:hover { background: #000; }
@media (max-width: 760px) { .cta-band { grid-template-columns: 1fr; padding: 36px 26px; } }

/* ---------- About ---------- */
.about { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: 56px; align-items: center; }
.about-mark { background: var(--cream); border-radius: 24px; padding: 48px; display: grid; place-items: center; aspect-ratio: 1; }
.about-mark img { width: 80%; }
@media (max-width: 860px) { .about { grid-template-columns: 1fr; gap: 32px; } .about-mark { aspect-ratio: 16/9; padding: 32px; } .about-mark img { width: 50%; } }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1.2fr 0.8fr; gap: 40px; align-items: start; }
@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; } }
.contact-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 18px; }
.contact-list li { display: flex; gap: 14px; align-items: flex-start; }
.contact-list .icon-badge { margin: 0; flex-shrink: 0; width: 42px; height: 42px; }
.contact-list strong { display: block; font-family: var(--font-head); }
.form-status { margin-top: 14px; }

/* ---------- Footer ---------- */
.site-footer { background: var(--dark); color: #cfcfcf; padding: 64px 0 28px; font-size: 0.93rem; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 32px; }
@media (max-width: 860px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .footer-grid { grid-template-columns: 1fr; } }
.site-footer img.footer-logo { height: 44px; width: auto; margin-bottom: 16px; }
.site-footer h4 { color: #fff; font-size: 0.85rem; letter-spacing: 0.12em; text-transform: uppercase; margin-bottom: 14px; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.site-footer a { color: #cfcfcf; text-decoration: none; }
.site-footer a:hover { color: #fff; }
.footer-bottom { border-top: 1px solid #2a2a2a; margin-top: 44px; padding-top: 22px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; font-size: 0.82rem; color: #9a9a9a; }
.placeholder { background: #fff3b0; color: #5a4a00; padding: 0 4px; border-radius: 3px; }
.site-footer .placeholder { background: #4a3f00; color: #ffe680; }

/* ---------- Reveal on scroll ---------- */
.reveal { opacity: 0; transform: translateY(14px); transition: opacity 0.6s ease, transform 0.6s ease; }
.reveal.is-visible { opacity: 1; transform: none; }
.no-js .reveal { opacity: 1; transform: none; }
.prose .card h3:first-child { margin-top: 0; }

/* ---------- Agent photo ---------- */
.about-photo { margin: 0; border-radius: 24px; overflow: hidden; aspect-ratio: 4 / 5; background: var(--cream); box-shadow: var(--shadow-lg); max-width: 100%; }
.about-photo img { width: 100%; height: 100%; object-fit: cover; object-position: center top; }
@media (max-width: 860px) { .about-photo { max-width: 420px; } }
.hero-call { margin: 18px 0 0; font-weight: 600; color: var(--ink-2); }
.hero-call a { color: var(--red); text-decoration: none; }
.hero-call a:hover { text-decoration: underline; }
.agent-card { display: flex; align-items: center; gap: 16px; margin-bottom: 22px; padding-bottom: 20px; border-bottom: 1px solid var(--line); }
.agent-card img { width: 72px; height: 72px; border-radius: 50%; object-fit: cover; flex-shrink: 0; }
.agent-card strong { display: block; font-family: var(--font-head); font-size: 1.1rem; }

/* ---------- Cinematic video hero ---------- */
.hero--dark {
  color: #fff;
  background:
    radial-gradient(ellipse at 75% 30%, rgba(196, 150, 96, 0.28) 0%, rgba(196, 150, 96, 0) 55%),
    radial-gradient(ellipse at 15% 90%, rgba(229, 32, 32, 0.16) 0%, rgba(229, 32, 32, 0) 50%),
    linear-gradient(160deg, #1b1714 0%, #0d0c0b 60%, #080808 100%);
  padding: 104px 0 112px;
}
.hero--dark::before { display: none; }
.hero-media { position: absolute; inset: 0; overflow: hidden; }
.hero-media video {
  width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity 1.2s ease;
  transform: scale(1.04);
}
.hero-media video.is-ready { opacity: 1; }
.hero-media::after {
  content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(90deg, rgba(8, 8, 8, 0.86) 0%, rgba(8, 8, 8, 0.62) 48%, rgba(8, 8, 8, 0.30) 100%),
    linear-gradient(0deg, rgba(8, 8, 8, 0.55) 0%, rgba(8, 8, 8, 0) 35%);
}
.hero--dark .wrap { z-index: 1; }
.hero--dark h1 { color: #fff; text-shadow: 0 2px 24px rgba(0, 0, 0, 0.35); }
.hero--dark h1 .red { color: #ff3b3b; }
.hero--dark .eyebrow { color: #ff6b6b; }
.hero--dark .lead { color: rgba(255, 255, 255, 0.86); }
.hero--dark .hero-points { color: rgba(255, 255, 255, 0.85); }
.hero--dark .hero-points svg { color: #ff6b6b; }
.hero--dark .btn--ghost { color: #fff; }
.hero--dark .hero-call { color: rgba(255, 255, 255, 0.85); }
.hero--dark .hero-call a { color: #fff; text-decoration: underline; text-underline-offset: 3px; }
.hero--dark .quick-calc { color: var(--ink); border-color: transparent; box-shadow: 0 30px 80px rgba(0, 0, 0, 0.45); }
@media (max-width: 900px) { .hero--dark { padding: 64px 0 72px; } }
