@font-face {
  font-family: "Fraunces";
  src: url("../fonts/Fraunces.ttf") format("truetype");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Source Sans 3";
  src: url("../fonts/SourceSans3.ttf") format("truetype");
  font-weight: 200 900;
  font-style: normal;
  font-display: swap;
}

/* Hebron Home Group — site styles */
:root {
  --navy: #0e2433;
  --navy-mid: #163044;
  --navy-deep: #091821;
  --forest: #1f4e3d;
  --forest-mid: #2a6b52;
  --gold: #c9a15b;
  --gold-hover: #d4b06e;
  --gold-soft: #e8d5a3;
  --cream: #f4efe6;
  --cream-dark: #e8e0d2;
  --paper: #fbfaf6;
  --ink: #142028;
  --muted: #5c6b73;
  --line: #ddd4c6;
  --white: #ffffff;
  --danger: #9b3a2f;
  --shadow: 0 16px 40px rgba(14, 36, 51, 0.12);
  --radius: 16px;
  --header-h: 76px;
  --font-display: "Fraunces", "Georgia", serif;
  --font-body: "Source Sans 3", "Segoe UI", sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 12px); }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
}
img, svg { max-width: 100%; display: block; }
a { color: var(--forest); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--navy); }
h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 560;
  letter-spacing: -0.02em;
  line-height: 1.15;
  color: var(--navy);
  margin: 0 0 0.6em;
}
h1 { font-size: clamp(2.15rem, 5vw, 3.4rem); font-weight: 600; }
h2 { font-size: clamp(1.75rem, 3.4vw, 2.45rem); }
h3 { font-size: 1.25rem; }
p { margin: 0 0 1rem; }
p:last-child { margin-bottom: 0; }

.skip {
  position: absolute;
  left: 12px;
  top: -48px;
  background: var(--gold);
  color: var(--navy-deep);
  padding: 8px 14px;
  z-index: 1000;
  border-radius: 8px;
  font-weight: 600;
}
.skip:focus { top: 12px; }

.wrap {
  width: min(1120px, calc(100% - 40px));
  margin-inline: auto;
}
.eyebrow {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.75rem;
}
.section { padding: 5rem 0; }
.section-head {
  max-width: 640px;
  margin: 0 auto 2.75rem;
  text-align: center;
}
.section-head p { color: var(--muted); font-size: 1.12rem; }
.muted { color: var(--muted); }

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(9, 24, 33, 0.94);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(201, 161, 91, 0.18);
}
.header-inner {
  width: min(1120px, calc(100% - 32px));
  margin-inline: auto;
  height: var(--header-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--cream);
  flex-shrink: 0;
}
.logo:hover { color: var(--gold-soft); }
.logo-img {
  display: block;
  height: 44px;
  width: auto;
  flex-shrink: 0;
  transition: height 0.2s ease;
}
.site-footer .logo-img { height: 52px; }
.logo-text { display: flex; flex-direction: column; line-height: 1.05; }
.logo-name {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.15rem;
  letter-spacing: -0.02em;
}
.logo-sub {
  font-size: 0.68rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 600;
}
.nav {
  display: flex;
  align-items: center;
  gap: 1.35rem;
}
.nav a {
  color: var(--cream);
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 500;
  opacity: 0.9;
}
.nav a:hover { color: var(--gold-soft); opacity: 1; }
.btn[hidden], [hidden] { display: none !important; }
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 0;
  cursor: pointer;
  font-family: var(--font-body);
  font-weight: 650;
  font-size: 1rem;
  letter-spacing: 0.01em;
  border-radius: 999px;
  padding: 0.85rem 1.4rem;
  text-decoration: none;
  transition: background 0.15s ease, transform 0.15s ease, box-shadow 0.15s ease, color 0.15s ease;
}
.btn:active { transform: translateY(1px); }
.btn-gold {
  background: var(--gold);
  color: var(--navy-deep);
}
.btn-gold:hover { background: var(--gold-hover); color: var(--navy-deep); }
.btn-outline {
  background: transparent;
  color: var(--cream);
  border: 1px solid rgba(232, 213, 163, 0.45);
}
.btn-outline:hover { border-color: var(--gold); color: var(--gold-soft); }
.btn-navy {
  background: var(--navy);
  color: var(--cream);
}
.btn-navy:hover { background: var(--navy-mid); color: var(--cream); }
.btn-wide { width: 100%; }
.header-phone {
  background: var(--gold);
  color: var(--navy-deep);
  padding: 0.62rem 1.05rem;
  font-size: 0.95rem;
  white-space: nowrap;
}
.header-phone:hover { background: var(--gold-hover); color: var(--navy-deep); }
.nav .nav-phone { display: none; }
.menu-toggle {
  display: none;
  background: transparent;
  border: 1px solid rgba(232, 213, 163, 0.35);
  color: var(--cream);
  width: 44px;
  height: 44px;
  border-radius: 10px;
  cursor: pointer;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
}
.menu-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  background: var(--gold-soft);
}

/* Hero */
.hero {
  position: relative;
  isolation: isolate;
  background:
    radial-gradient(ellipse 80% 60% at 10% 10%, rgba(201, 161, 91, 0.12), transparent 50%),
    radial-gradient(ellipse 50% 50% at 90% 80%, rgba(42, 107, 82, 0.22), transparent 50%),
    linear-gradient(165deg, var(--navy-deep) 0%, var(--navy) 55%, #123348 100%);
  color: var(--cream);
  padding: 4.25rem 0 5rem;
  overflow: hidden;
}
.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 3.5rem;
  align-items: start;
}
.hero h1 { color: var(--paper); margin-bottom: 0.7rem; }
.hero-lead {
  font-size: 1.2rem;
  color: rgba(244, 239, 230, 0.88);
  max-width: 36rem;
  margin-bottom: 1.5rem;
}
.hero-points {
  list-style: none;
  padding: 0;
  margin: 0 0 1.75rem;
  display: grid;
  gap: 0.55rem;
}
.hero-points li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  color: var(--gold-soft);
  font-weight: 550;
}
.hero-points svg { flex-shrink: 0; margin-top: 3px; }
.hero-art {
  position: absolute;
  right: -40px;
  bottom: -30px;
  width: 420px;
  opacity: 0.16;
  pointer-events: none;
}

/* Cards / forms */
.card {
  background: var(--paper);
  color: var(--ink);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 1.6rem 1.5rem 1.45rem;
  border: 1px solid rgba(201, 161, 91, 0.16);
}
.card h2, .card h3 { margin-bottom: 0.35rem; }
.card .form-intro { color: var(--muted); font-size: 0.95rem; margin-bottom: 1.1rem; }

form { display: grid; gap: 0.85rem; }
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.85rem;
}
label, .label {
  display: block;
  font-size: 0.82rem;
  font-weight: 650;
  color: var(--navy);
  margin-bottom: 0.28rem;
}
input[type="text"],
input[type="email"],
input[type="tel"],
select,
textarea {
  width: 100%;
  font: inherit;
  font-size: 1rem;
  color: var(--ink);
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 0.7rem 0.8rem;
  outline: none;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
textarea { min-height: 88px; resize: vertical; }
input:focus, select:focus, textarea:focus {
  border-color: var(--forest-mid);
  box-shadow: 0 0 0 3px rgba(31, 78, 61, 0.15);
}
.honey { position: absolute; left: -9999px; height: 0; width: 0; overflow: hidden; }
.consent {
  font-size: 0.78rem;
  line-height: 1.5;
  color: var(--muted);
}
.consent label {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 0.78rem;
  font-weight: 500;
  color: var(--muted);
  margin: 0 0 0.35rem;
  cursor: pointer;
}
.consent input[type="checkbox"] {
  margin-top: 3px;
  accent-color: var(--forest);
  flex-shrink: 0;
}

/* How it works */
.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
.step {
  background: var(--cream);
  border-radius: var(--radius);
  padding: 1.6rem 1.4rem 1.5rem;
  border: 1px solid var(--line);
  position: relative;
}
.step-num {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 600;
  color: var(--gold);
  line-height: 1;
  margin-bottom: 0.8rem;
}
.step h3 { margin-bottom: 0.4rem; }
.step p { color: var(--muted); }

/* Why sell */
.benefits {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.15rem;
}
.benefit {
  padding: 1.35rem 1.25rem;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--white);
}
.benefit .icon {
  width: 42px;
  height: 42px;
  margin-bottom: 0.85rem;
  color: var(--forest);
}
.benefit h3 { font-size: 1.12rem; margin-bottom: 0.35rem; }
.benefit p { color: var(--muted); font-size: 0.98rem; }

/* Situations */
.situations { background: var(--cream); }
.sit-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}
.sit {
  background: var(--paper);
  border-radius: 14px;
  padding: 1.25rem 1.2rem 1.15rem;
  border: 1px solid var(--line);
}
.sit h3 { font-size: 1.1rem; margin-bottom: 0.3rem; }
.sit p { color: var(--muted); font-size: 0.96rem; }

/* Buyers */
.buyers {
  background:
    radial-gradient(ellipse 70% 80% at 100% 0%, rgba(201, 161, 91, 0.1), transparent 50%),
    var(--forest);
  color: var(--cream);
}
.buyers-copy h2, .buyers-copy h3 { color: var(--paper); }
.buyers .card h3 { color: var(--navy); }
.buyers .section-head p,
.buyers .muted { color: rgba(244, 239, 230, 0.82); }
.buyers-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 2.75rem;
  align-items: start;
}
.buyers-copy ul {
  margin: 1.1rem 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.65rem;
}
.buyers-copy li {
  display: flex;
  gap: 10px;
  align-items: flex-start;
}
.buyers .card label { color: var(--navy); }
.check-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.4rem 0.8rem;
}
.check-grid label {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.92rem;
  font-weight: 500;
  margin: 0;
  cursor: pointer;
}

/* FAQ */
.faq-list {
  max-width: 800px;
  margin: 0 auto;
  display: grid;
  gap: 0.7rem;
}
.faq-list details {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 0.15rem 1.1rem;
}
.faq-list summary {
  cursor: pointer;
  font-weight: 650;
  color: var(--navy);
  padding: 0.95rem 0;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after {
  content: "";
  width: 10px;
  height: 10px;
  border-right: 2px solid var(--gold);
  border-bottom: 2px solid var(--gold);
  transform: rotate(45deg);
  transition: transform 0.15s ease;
  flex-shrink: 0;
  margin-top: -4px;
}
.faq-list details[open] summary::after { transform: rotate(225deg); margin-top: 4px; }
.faq-list details p {
  color: var(--muted);
  padding-bottom: 1rem;
}

/* Contact */
.contact { background: var(--cream); }
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.15rem;
  max-width: 800px;
  margin: 0 auto;
}
.contact-card {
  background: var(--paper);
  border-radius: var(--radius);
  padding: 1.6rem 1.5rem;
  border: 1px solid var(--line);
  text-decoration: none;
  color: inherit;
  display: block;
  transition: border-color 0.15s ease, transform 0.15s ease;
}
.contact-card:hover {
  border-color: var(--gold);
  color: inherit;
  transform: translateY(-2px);
}
.contact-card .label {
  color: var(--gold);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-size: 0.75rem;
  margin-bottom: 0.4rem;
}
.contact-card strong {
  font-family: var(--font-display);
  font-size: 1.45rem;
  color: var(--navy);
  font-weight: 600;
  display: block;
}
.contact-card p { color: var(--muted); margin-top: 0.4rem; }

/* Footer */
.site-footer {
  background: var(--navy-deep);
  color: rgba(244, 239, 230, 0.78);
  padding: 3rem 0 2rem;
  font-size: 0.92rem;
}
.footer-top {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  gap: 2rem;
  margin-bottom: 2rem;
}
.site-footer .logo { margin-bottom: 0.85rem; }
.site-footer h3 {
  color: var(--cream);
  font-size: 0.95rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 0.7rem;
  font-family: var(--font-body);
  font-weight: 700;
}
.site-footer a { color: var(--gold-soft); text-decoration: none; }
.site-footer a:hover { color: var(--gold); text-decoration: underline; }
.footer-links { display: grid; gap: 0.4rem; }
.disclosure {
  border-top: 1px solid rgba(201, 161, 91, 0.18);
  padding-top: 1.25rem;
  font-size: 0.82rem;
  line-height: 1.6;
  color: rgba(244, 239, 230, 0.62);
}
.copyright { margin-top: 1rem; font-size: 0.82rem; color: rgba(244, 239, 230, 0.5); }

/* Interior pages */
.page-hero {
  background: linear-gradient(165deg, var(--navy-deep), var(--navy));
  color: var(--cream);
  padding: 3.2rem 0 2.6rem;
}
.page-hero h1 { color: var(--paper); }
.legal {
  padding: 3rem 0 4.5rem;
  max-width: 760px;
  margin: 0 auto;
}
.legal h2 { font-size: 1.35rem; margin-top: 2rem; }
.legal p, .legal li { color: var(--muted); }
.thanks-panel {
  max-width: 640px;
  margin: 3.5rem auto 5rem;
  text-align: center;
  background: var(--cream);
  border-radius: var(--radius);
  padding: 3rem 2rem;
  border: 1px solid var(--line);
}
.thanks-panel h1 { margin-bottom: 0.7rem; }
.thanks-actions { display: flex; gap: 0.8rem; justify-content: center; flex-wrap: wrap; margin-top: 1.6rem; }

/* Responsive */
@media (max-width: 900px) {
  .hero-grid, .buyers-grid, .footer-top { grid-template-columns: 1fr; }
  .steps, .benefits, .sit-grid { grid-template-columns: 1fr 1fr; }
  .hero { padding: 3rem 0 3.5rem; }
}
@media (max-width: 760px) {
  .hero-decor { display: none; }
  .menu-toggle { display: flex; }
  .nav {
    display: none;
    position: absolute;
    top: var(--header-h);
    left: 0;
    right: 0;
    background: var(--navy-deep);
    flex-direction: column;
    align-items: stretch;
    padding: 0.6rem 1.1rem 1.1rem;
    gap: 0;
    border-bottom: 1px solid rgba(201, 161, 91, 0.18);
  }
  .nav.open { display: flex; }
  .nav a {
    padding: 0.8rem 0.2rem;
    border-bottom: 1px solid rgba(255,255,255,0.06);
  }
  .header-phone { padding: 0.5rem 0.75rem; font-size: 0.85rem; }
  .nav .nav-phone { display: block; }
  .form-row, .contact-grid, .steps, .benefits, .sit-grid, .check-grid {
    grid-template-columns: 1fr;
  }
  .wrap { width: min(1120px, calc(100% - 28px)); }
  .section { padding: 3.4rem 0; }
}

/* Interactive enhancements */

/* Micro-interactions */
.btn {
  transition: background 0.18s ease, transform 0.18s ease, box-shadow 0.18s ease, color 0.18s ease, border-color 0.18s ease;
}
.btn:hover { transform: translateY(-1px); box-shadow: 0 8px 18px rgba(14, 36, 51, 0.16); }
.btn:active { transform: translateY(1px) scale(0.98); box-shadow: none; }
.btn-ghost {
  background: transparent;
  color: var(--navy);
  border: 1px solid var(--line);
}
.btn-ghost:hover { border-color: var(--navy); color: var(--navy); background: var(--cream); }
.step, .benefit, .contact-card, .card {
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}
.step:hover, .benefit:hover, .contact-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 28px rgba(14, 36, 51, 0.1);
  border-color: rgba(201, 161, 91, 0.45);
}

/* Header shrink + active nav */
.site-header { transition: background 0.2s ease, box-shadow 0.2s ease; }
.header-inner { transition: height 0.2s ease; }
html.is-scrolled { --header-h: 60px; }
html.is-scrolled .site-header { box-shadow: 0 8px 24px rgba(0, 0, 0, 0.18); }
html.is-scrolled .logo-img { height: 36px; }
.nav a { position: relative; }
.nav a.is-active {
  color: var(--gold-soft);
  opacity: 1;
}
.nav a.is-active::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -8px;
  height: 2px;
  background: var(--gold);
  border-radius: 2px;
}
@media (max-width: 760px) {
  .nav a.is-active::after { display: none; }
}

/* Hero motion */
.hero-aurora {
  position: absolute;
  inset: -20%;
  z-index: 0;
  background:
    radial-gradient(ellipse 50% 40% at 15% 20%, rgba(201, 161, 91, 0.18), transparent 55%),
    radial-gradient(ellipse 45% 50% at 85% 70%, rgba(42, 107, 82, 0.28), transparent 55%),
    radial-gradient(ellipse 35% 35% at 50% 100%, rgba(201, 161, 91, 0.1), transparent 60%);
  animation: aurora-shift 18s ease-in-out infinite alternate;
  pointer-events: none;
}
@keyframes aurora-shift {
  0% { transform: translate3d(-2%, -1%, 0) scale(1); }
  100% { transform: translate3d(3%, 2%, 0) scale(1.08); }
}
.hero-decor { position: absolute; inset: 0; pointer-events: none; overflow: hidden; z-index: 0; }
.float-house {
  position: absolute;
  width: 120px;
  opacity: 0.14;
  animation: float-house 9s ease-in-out infinite;
}
.fh-1 { top: 10%; left: -16px; width: 72px; opacity: 0.12; animation-delay: 0s; }
.fh-2 { bottom: -18px; left: 6%; width: 100px; animation-delay: -3s; opacity: 0.1; }
.fh-3 { top: 22%; right: -20px; left: auto; width: 80px; animation-delay: -5s; opacity: 0.1; }
@keyframes float-house {
  0%, 100% { transform: translateY(0) rotate(-4deg); }
  50% { transform: translateY(-16px) rotate(4deg); }
}

/* Scroll reveal */
.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.is-visible { opacity: 1; transform: none; }
html.is-preview .reveal { opacity: 1; transform: none; }

/* Stats / counters */
.stat-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin: 0 auto 2.5rem;
  max-width: 800px;
}
.stat {
  text-align: center;
  background: var(--cream);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 1.1rem 0.6rem 1rem;
}
.stat-num {
  display: block;
  font-family: var(--font-display);
  font-size: 2.2rem;
  font-weight: 600;
  color: var(--gold);
  line-height: 1;
  margin-bottom: 0.3rem;
}
.stat-label { color: var(--muted); font-size: 0.95rem; font-weight: 600; }

/* Seller wizard */
.wizard-progress { margin-bottom: 1rem; }
.wizard-progress-top {
  display: flex;
  justify-content: space-between;
  font-size: 0.8rem;
  font-weight: 650;
  color: var(--navy);
  margin-bottom: 0.4rem;
}
.wizard-bar {
  height: 6px;
  background: var(--cream-dark);
  border-radius: 99px;
  overflow: hidden;
}
.wizard-bar-fill {
  display: block;
  height: 100%;
  width: 33.333%;
  background: linear-gradient(90deg, var(--forest-mid), var(--gold));
  border-radius: 99px;
  transition: width 0.3s ease;
}
.js .wizard .wizard-step { display: none; }
.js .wizard .wizard-step.is-active { display: grid; gap: 0.85rem; }
.wizard-nav {
  display: flex;
  gap: 0.7rem;
  margin-top: 0.2rem;
}
.wizard-nav .btn { flex: 1; }
.wizard-error {
  margin: 0;
  font-size: 0.85rem;
  color: var(--danger);
  font-weight: 600;
}
.option-fieldset {
  border: 0;
  padding: 0;
  margin: 0 0 0.85rem;
  min-width: 0;
}
.option-fieldset legend {
  font-size: 0.82rem;
  font-weight: 650;
  color: var(--navy);
  margin-bottom: 0.4rem;
  padding: 0;
}
.option-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.45rem;
}
.option-card {
  display: flex;
  align-items: center;
  margin: 0;
  cursor: pointer;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 0.65rem 0.7rem;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--navy);
  transition: border-color 0.15s ease, background 0.15s ease, box-shadow 0.15s ease, transform 0.15s ease;
}
.option-card input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}
.option-card:hover { border-color: var(--gold); transform: translateY(-1px); }
.option-card:has(input:focus-visible) {
  box-shadow: 0 0 0 3px rgba(31, 78, 61, 0.18);
}
.option-card:has(input:checked) {
  border-color: var(--forest-mid);
  background: #eef6f1;
  box-shadow: inset 0 0 0 1px var(--forest-mid);
}
.option-cards .option-card:last-child {
  grid-column: 1 / -1;
}

/* Estimator */
.estimator-section { padding-top: 2.5rem; }
.estimator {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 1.6rem 1.5rem;
}
.estimator-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 1.8rem;
  align-items: stretch;
}
.estimator-fields { display: grid; gap: 1rem; }
.money-input {
  display: flex;
  align-items: center;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 10px;
  overflow: hidden;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
.money-input:focus-within {
  border-color: var(--forest-mid);
  box-shadow: 0 0 0 3px rgba(31, 78, 61, 0.15);
}
.money-input span {
  padding: 0 0 0 0.85rem;
  color: var(--muted);
  font-weight: 650;
}
.money-input input {
  border: 0;
  border-radius: 0;
  box-shadow: none;
  padding-left: 0.4rem;
}
.money-input input:focus { box-shadow: none; }
.est-cond-label {
  float: right;
  font-weight: 600;
  color: var(--forest-mid);
  text-transform: none;
  letter-spacing: 0;
  font-size: 0.82rem;
}
#est-condition {
  width: 100%;
  accent-color: var(--forest-mid);
  margin: 0.35rem 0 0.15rem;
}
.range-ends {
  display: flex;
  justify-content: space-between;
  font-size: 0.75rem;
  color: var(--muted);
}
.estimator-result {
  background: var(--navy);
  color: var(--cream);
  border-radius: 14px;
  padding: 1.5rem 1.35rem 1.35rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.est-kicker {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.45rem;
}
.est-range {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 600;
  color: var(--paper);
  line-height: 1.2;
  margin-bottom: 0.7rem;
}
.est-formula {
  font-size: 0.86rem;
  color: rgba(244, 239, 230, 0.78);
  margin-bottom: 1.1rem;
}
.estimator-result .btn { align-self: flex-start; }

/* Situations cards: static (title + explanation) without JS; flip when JS is on */
.sit {
  background: transparent;
  border: 0;
  padding: 0;
  min-height: 0;
}
.sit-inner { position: relative; height: 100%; }
.sit-front, .sit-back {
  border-radius: 14px;
  padding: 1.25rem 1.2rem 1.15rem;
  border: 1px solid var(--line);
  background: var(--paper);
}
.sit-back { border-top: 0; border-radius: 0 0 14px 14px; padding-top: 0; }
.sit-front { border-radius: 14px 14px 0 0; }
.sit-hint { display: none; margin: 0; font-size: 0.82rem; color: var(--gold); font-weight: 650; }
.sit-front h3, .sit-back h3 { margin-bottom: 0.35rem; }
.sit-back h3 { display: none; }

.js .sit {
  perspective: 900px;
  min-height: 180px;
}
.js .sit-inner {
  height: 100%;
  min-height: 180px;
  transform-style: preserve-3d;
  transition: transform 0.55s ease;
}
.js .sit.is-flipped .sit-inner,
.js .sit:hover .sit-inner,
.js .sit:focus-within .sit-inner {
  transform: rotateY(180deg);
}
.js .sit-front, .js .sit-back {
  position: absolute;
  inset: 0;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  border-radius: 14px;
  border-top: 1px solid var(--line);
  padding: 1.25rem 1.2rem 1.15rem;
}
.js .sit-front {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.js .sit-back { transform: rotateY(180deg); overflow: auto; }
.js .sit-back h3 { display: block; }
.js .sit-hint { display: block; }

/* FAQ accordion animation */
.faq-list details { overflow: hidden; }
.faq-list summary { transition: color 0.15s ease; }
.faq-list summary:hover { color: var(--forest); }
.faq-panel {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.35s ease;
}
.faq-panel-inner { overflow: hidden; }
.faq-list details[open] .faq-panel { grid-template-rows: 1fr; }
.faq-list details p { padding-bottom: 1rem; }

/* Buyer chips + dual slider */
.chip-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}
.chip {
  margin: 0;
  cursor: pointer;
}
.chip input { position: absolute; opacity: 0; pointer-events: none; }
.chip span {
  display: inline-block;
  padding: 0.42rem 0.8rem;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: var(--white);
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--navy);
  transition: background 0.15s ease, border-color 0.15s ease, color 0.15s ease, transform 0.15s ease;
}
.chip:hover span { border-color: var(--gold); transform: translateY(-1px); }
.chip:has(input:focus-visible) span { box-shadow: 0 0 0 3px rgba(31, 78, 61, 0.18); }
.chip:has(input:checked) span {
  background: var(--navy);
  border-color: var(--navy);
  color: var(--cream);
}
.price-field { display: grid; gap: 0.45rem; }
.price-slider-head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 0.6rem;
}
.price-slider-head label { margin: 0; }
.price-display { font-size: 0.9rem; color: var(--forest); font-weight: 700; }
.dual-range {
  position: relative;
  height: 36px;
  margin: 0.15rem 0 0.2rem;
}
.dual-track {
  position: absolute;
  left: 0;
  right: 0;
  top: 50%;
  height: 6px;
  margin-top: -3px;
  background: var(--cream-dark);
  border-radius: 99px;
}
.dual-fill {
  position: absolute;
  top: 0;
  bottom: 0;
  background: var(--forest-mid);
  border-radius: 99px;
}
.dual-range input[type="range"] {
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  width: 100%;
  height: 36px;
  margin: 0;
  background: none;
  pointer-events: none;
  appearance: none;
  -webkit-appearance: none;
}
.dual-range input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--gold);
  border: 2px solid var(--navy);
  pointer-events: all;
  cursor: pointer;
  box-shadow: 0 1px 4px rgba(0,0,0,0.2);
}
.dual-range input[type="range"]::-moz-range-thumb {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--gold);
  border: 2px solid var(--navy);
  pointer-events: all;
  cursor: pointer;
}
.dual-range input[type="range"]::-webkit-slider-runnable-track { background: transparent; height: 6px; }
.dual-range input[type="range"]::-moz-range-track { background: transparent; height: 6px; }
.flex-check {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.88rem;
  font-weight: 550;
  color: var(--navy);
  margin: 0;
  cursor: pointer;
}
.js #b-price.price-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }

/* Mobile sticky bar + back to top */
.mobile-bar {
  display: none;
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 90;
  background: rgba(9, 24, 33, 0.96);
  backdrop-filter: blur(10px);
  border-top: 1px solid rgba(201, 161, 91, 0.22);
  padding: 0.65rem 0.85rem calc(0.65rem + env(safe-area-inset-bottom));
  gap: 0.55rem;
}
.mobile-bar .btn { flex: 1; padding: 0.75rem 0.6rem; font-size: 0.92rem; }
.mobile-bar-call { color: var(--cream); }
.back-to-top {
  position: fixed;
  right: 18px;
  bottom: 22px;
  z-index: 95;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 0;
  background: var(--navy);
  color: var(--gold-soft);
  cursor: pointer;
  box-shadow: 0 8px 20px rgba(14, 36, 51, 0.25);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.2s ease, transform 0.2s ease, background 0.2s ease;
}
.back-to-top:hover { background: var(--navy-mid); transform: translateY(-2px); }
.back-to-top[hidden] { display: none; }

@media (max-width: 900px) {
  .estimator-grid, .stat-row { grid-template-columns: 1fr; }
  .stat-row { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 760px) {
  .mobile-bar { display: flex; }
  body:has(.mobile-bar) { padding-bottom: 84px; }
  .back-to-top { bottom: 88px; }
  .option-cards { grid-template-columns: 1fr; }
  .option-cards .option-card:last-child { grid-column: auto; }
  .stat-row { grid-template-columns: 1fr; }
  .sit { min-height: 0; }
  .sit-inner { min-height: 0; }
}
@media (max-width: 760px) {
  /* Expand instead of 3D flip on small screens — more reliable for tap */
  .sit { perspective: none; }
  .sit-inner {
    transform: none !important;
    transform-style: flat;
    min-height: 0;
  }
  .sit-front, .sit-back {
    position: relative;
    inset: auto;
    transform: none;
    backface-visibility: visible;
  }
  .sit-back {
    display: none;
    border-top: 0;
    border-radius: 0 0 14px 14px;
    padding-top: 0;
  }
  .sit-front { border-radius: 14px; }
  .sit.is-flipped .sit-front { border-radius: 14px 14px 0 0; }
  .sit.is-flipped .sit-back { display: block; }
  .sit:hover .sit-inner { transform: none !important; }
}

/* Preview + reduced motion */
html.is-preview .reveal,
html.is-preview .hero-aurora {
  opacity: 1 !important;
  transform: none !important;
  animation: none !important;
}
html.is-preview .float-house {
  animation: none !important;
  transform: none !important;
}
html.is-preview .sit-inner { transform: none !important; }
html.is-preview .sit-front, html.is-preview .sit-back {
  position: relative;
  inset: auto;
  transform: none;
  backface-visibility: visible;
  display: block;
}
html.is-preview .sit-back { border-top: 0; padding-top: 0; }
html.is-preview .sit-back h3 { display: none; }
html.is-preview .sit-hint { display: none; }
html.is-preview .sit-front { border-radius: 14px 14px 0 0; position: relative; }
html.is-preview .sit-back { border-radius: 0 0 14px 14px; position: relative; }
html.is-preview .sit-inner { min-height: 0; }
html.is-preview .sit { min-height: 0; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .hero-aurora, .float-house { animation: none; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .sit-inner { transition: none; transform: none !important; }
  .sit-front, .sit-back {
    position: relative;
    inset: auto;
    transform: none;
    backface-visibility: visible;
  }
  .sit-hint { display: none; }
  .sit { min-height: 0; perspective: none; }
  .sit-inner { min-height: 0; }
  .faq-panel { transition: none; }
  .btn, .step, .benefit, .contact-card, .card { transition: none; }
}

@media (max-width: 760px) {
  html.is-preview .mobile-bar { position: relative; }
  html.is-preview body:has(.mobile-bar) { padding-bottom: 0; }
  html.is-preview .back-to-top { display: none !important; }
}
