/* SGD Homes — Shared Stylesheet */
/* Fonts loaded per-page via Google Fonts link tag */

:root {
  --bg: #F8F5F0;
  --bg2: #FFFFFF;
  --bg3: #F2EDE5;
  --ink: #18181A;
  --ink2: #52524E;
  --ink3: #9C9C94;
  --gold: #B07D45;
  --gold-lt: #F4EAD8;
  --gold-dk: #8A5E2A;
  --gold-md: #C89558;
  --navy: #1B3659;
  --navy-lt: #2A4F7E;
  --border: rgba(0, 0, 0, 0.08);
  --border2: rgba(0, 0, 0, 0.13);
  --r: 10px;
  --r-lg: 18px;
  --r-xl: 24px;
  --sh: 0 2px 16px rgba(0, 0, 0, 0.06);
  --sh-lg: 0 8px 40px rgba(0, 0, 0, 0.11);
  --f-disp: 'Cormorant Garant', Georgia, serif;
  --f-body: 'DM Sans', system-ui, sans-serif;
  --max: 1080px;
  --nav: 64px;
  --ease: cubic-bezier(0.4, 0, 0.2, 1);
}

/* ===== RESET ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--f-body);
  background: var(--bg);
  color: var(--ink);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
button { cursor: pointer; font-family: var(--f-body); }
input, select, textarea { font-family: var(--f-body); }
h1, h2, h3, h4 { font-family: var(--f-disp); font-weight: 500; line-height: 1.15; }
h1 { font-size: clamp(2.6rem, 5.5vw, 4.6rem); letter-spacing: -0.02em; }
h2 { font-size: clamp(1.9rem, 3.8vw, 3rem); letter-spacing: -0.015em; }
h3 { font-size: clamp(1.3rem, 2.2vw, 1.8rem); }
p { color: var(--ink2); line-height: 1.78; }
img { max-width: 100%; display: block; }

/* ===== LAYOUT ===== */
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 24px; }
.sec { padding: 88px 0; }
.sec-sm { padding: 56px 0; }

/* ===== NAV ===== */
nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 200;
  height: var(--nav);
  background: rgba(248, 245, 240, 0.93);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid var(--border);
  transition: box-shadow 0.3s;
}
nav.scrolled { box-shadow: var(--sh); }
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 24px;
}

/* Logo — image version */
.nav-logo-img { height: 36px; width: auto; display: block; }

/* Logo — text fallback (used if image not available) */
.nav-logo-text {
  font-family: var(--f-disp);
  font-size: 1.45rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  display: flex;
  align-items: center;
  gap: 2px;
  color: var(--navy);
}
.nav-logo-text em { font-style: normal; color: var(--gold); }

.nav-links { display: flex; align-items: center; gap: 4px; }
.nav-btn {
  padding: 7px 14px;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--ink2);
  border: none;
  background: none;
  border-radius: 8px;
  transition: all 0.2s;
  cursor: pointer;
}
.nav-btn:hover { color: var(--ink); background: var(--gold-lt); }
.nav-btn.active { color: var(--gold-dk); font-weight: 600; }
.nav-btn:focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; }

.nav-cta {
  padding: 9px 20px;
  background: var(--ink);
  color: #fff;
  border-radius: 999px;
  font-size: 0.85rem;
  font-weight: 500;
  border: none;
  transition: all 0.2s;
  cursor: pointer;
  margin-left: 6px;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
}
.nav-cta:hover { background: var(--gold); transform: translateY(-1px); }
.nav-cta:focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; }

/* Hamburger */
.hbg {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
  border: none;
  background: none;
}
.hbg span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--ink);
  border-radius: 2px;
  transition: all 0.3s;
}
.hbg:focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; border-radius: 4px; }

/* Mobile nav */
.mob-nav {
  display: none;
  position: fixed;
  top: var(--nav);
  left: 0; right: 0; bottom: 0;
  background: var(--bg);
  z-index: 190;
  padding: 32px 28px;
  flex-direction: column;
  gap: 4px;
  overflow-y: auto;
}
.mob-nav.open { display: flex; }
.mob-link {
  font-family: var(--f-disp);
  font-size: 2.2rem;
  font-weight: 500;
  padding: 14px 0;
  border: none;
  border-bottom: 1px solid var(--border);
  background: none;
  text-align: left;
  cursor: pointer;
  transition: color 0.2s;
  color: var(--ink);
  text-decoration: none;
  display: block;
}
.mob-link:hover { color: var(--gold); }
.mob-cta {
  margin-top: 20px;
  padding: 16px;
  background: var(--ink);
  color: #fff;
  border: none;
  border-radius: var(--r-lg);
  font-size: 1rem;
  font-weight: 500;
  text-align: center;
  cursor: pointer;
  transition: background 0.2s;
  text-decoration: none;
  display: block;
}
.mob-cta:hover { background: var(--gold); }

/* Page body offset for fixed nav */
main { padding-top: var(--nav); }

/* ===== BUTTONS ===== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 26px;
  font-size: 0.9375rem;
  font-weight: 500;
  border-radius: 999px;
  border: none;
  transition: all 0.22s;
  cursor: pointer;
  white-space: nowrap;
  text-decoration: none;
}
.btn:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }
.btn-dark { background: var(--ink); color: #fff; }
.btn-dark:hover { background: var(--navy); transform: translateY(-2px); box-shadow: 0 8px 24px rgba(27, 54, 89, 0.22); }
.btn-gold { background: var(--gold); color: #fff; }
.btn-gold:hover { background: var(--gold-dk); transform: translateY(-2px); box-shadow: 0 8px 24px rgba(176, 125, 69, 0.32); }
.btn-outline { background: transparent; color: var(--ink); border: 1.5px solid var(--border2); }
.btn-outline:hover { border-color: var(--gold); color: var(--gold-dk); transform: translateY(-2px); }
.btn-ghost { background: transparent; color: var(--ink2); border: none; padding: 13px 18px; }
.btn-ghost:hover { color: var(--gold-dk); }
.btn-sm { padding: 9px 18px; font-size: 0.875rem; }

/* ===== EYEBROW ===== */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 20px;
}
.eyebrow::before {
  content: '';
  display: block;
  width: 26px;
  height: 1.5px;
  background: var(--gold);
}

/* ===== HERO ===== */
.hero {
  min-height: calc(100svh - var(--nav));
  display: flex;
  align-items: center;
  padding: 72px 0;
  position: relative;
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 75% 55% at 72% 48%, rgba(176, 125, 69, 0.07) 0%, transparent 68%),
    radial-gradient(ellipse 55% 70% at 18% 82%, rgba(27, 54, 89, 0.05) 0%, transparent 60%);
}
.hero-grid {
  display: grid;
  grid-template-columns: 1fr 400px;
  gap: 56px;
  align-items: center;
  position: relative;
}
.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 22px;
}
.hero-tag::before { content: ''; width: 24px; height: 1.5px; background: var(--gold); }
.hero h1 { margin-bottom: 22px; }
.hero h1 em { font-style: italic; color: var(--gold); }
.hero-sub { font-size: 1.05rem; color: var(--ink2); max-width: 480px; margin-bottom: 36px; line-height: 1.82; }
.hero-actions { display: flex; gap: 10px; flex-wrap: wrap; }

/* Hero card */
.hcard {
  background: var(--bg2);
  border-radius: var(--r-xl);
  border: 1px solid var(--border);
  box-shadow: var(--sh-lg);
  overflow: hidden;
}
.hcard-top { background: var(--navy); padding: 28px 28px 22px; }
.hcard-top h3 { color: #fff; font-size: 1.35rem; margin-bottom: 6px; }
.hcard-top p { color: rgba(255, 255, 255, 0.58); font-size: 0.85rem; }
.hcard-body { padding: 22px 24px; }
.hcard-choice {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 15px 16px;
  background: var(--bg);
  border: 1.5px solid var(--border);
  border-radius: var(--r);
  margin-bottom: 9px;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--ink);
  transition: all 0.2s;
  cursor: pointer;
  text-align: left;
  text-decoration: none;
}
.hcard-choice:hover { border-color: var(--gold); background: var(--gold-lt); transform: translateX(4px); }
.hcard-choice:focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; }
.hcard-choice .lbl { font-size: 0.72rem; color: var(--ink3); font-weight: 400; display: block; margin-top: 2px; }
.hcard-choice .arr { color: var(--gold); font-size: 1.1rem; transition: transform 0.2s; }
.hcard-choice:hover .arr { transform: translateX(4px); }
.hcard-sep { text-align: center; font-size: 0.78rem; color: var(--ink3); font-weight: 500; margin: 6px 0 12px; }
.hcard-calc {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  padding: 13px 16px;
  background: var(--gold-lt);
  border: 1.5px solid rgba(176, 125, 69, 0.22);
  border-radius: var(--r);
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--gold-dk);
  cursor: pointer;
  transition: all 0.2s;
  text-decoration: none;
}
.hcard-calc:hover { background: var(--gold); color: #fff; }
.hcard-trust {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid var(--border);
}
.hcard-trust span { font-size: 0.72rem; color: var(--ink3); }
.hcard-trust strong { font-size: 0.72rem; color: var(--ink2); font-weight: 600; }

/* ===== PILLARS ===== */
.pillars-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
  border: 1px solid var(--border);
  border-radius: var(--r-xl);
  overflow: hidden;
  background: var(--border);
}
.pillar { padding: 42px 34px; background: var(--bg2); transition: background 0.2s; }
.pillar:hover { background: var(--bg); }
.pil-num { font-family: var(--f-disp); font-size: 2.8rem; font-weight: 300; color: var(--gold); opacity: 0.4; line-height: 1; margin-bottom: 18px; }
.pillar h3 { font-size: 1.2rem; margin-bottom: 10px; }
.pillar p { font-size: 0.9rem; }

/* ===== PHILOSOPHY ===== */
.phil { background: var(--navy); color: #fff; padding: 80px 0; }
.phil-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 72px; align-items: center; }
.phil h2 { color: #fff; margin-bottom: 18px; }
.phil p { color: rgba(255, 255, 255, 0.65); }
.phil-mt { margin-top: 14px; }
.phil-quote {
  font-family: var(--f-disp);
  font-size: clamp(1.7rem, 3vw, 2.6rem);
  font-style: italic;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.9);
  line-height: 1.3;
  border-left: 3px solid var(--gold);
  padding-left: 30px;
}

/* ===== TRUST BAR ===== */
.trust-row {
  display: flex;
  align-items: center;
  gap: 44px;
  flex-wrap: wrap;
  padding: 40px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.trust-val { font-family: var(--f-disp); font-size: 2.2rem; font-weight: 500; color: var(--ink); }
.trust-lbl { font-size: 0.72rem; color: var(--ink3); font-weight: 600; text-transform: uppercase; letter-spacing: 0.08em; margin-top: 2px; }

/* ===== PROCESS STEPS ===== */
.steps-grid { counter-reset: step; }
.step-row {
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: 20px;
  padding: 28px 0;
  border-bottom: 1px solid var(--border);
  counter-increment: step;
}
.step-row:last-child { border-bottom: none; }
.step-num {
  font-family: var(--f-disp);
  font-size: 3.2rem;
  font-weight: 300;
  color: var(--gold);
  opacity: 0.32;
  line-height: 1;
  padding-top: 4px;
}
.step-num::before { content: counter(step, decimal-leading-zero); }
.step-row h3 { font-size: 1.1rem; margin-bottom: 7px; }
.step-row p { font-size: 0.9rem; }

/* ===== CTA BAND ===== */
.cta-band {
  background: var(--gold-lt);
  border: 1px solid rgba(176, 125, 69, 0.2);
  border-radius: var(--r-xl);
  padding: 60px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  flex-wrap: wrap;
}
.cta-band h2 { margin-bottom: 10px; max-width: 500px; }
.cta-band p { max-width: 440px; font-size: 0.95rem; }
.cta-band-actions { display: flex; gap: 10px; flex-wrap: wrap; flex-shrink: 0; }

/* ===== PAGE HERO (interior pages) ===== */
.pg-hero { padding: 64px 0 50px; border-bottom: 1px solid var(--border); }
.pg-hero-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: end; }
.pg-tag {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.11em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 14px;
}
.pg-hero p { font-size: 1rem; margin-top: 16px; max-width: 460px; }
.pg-perks { display: flex; flex-direction: column; gap: 10px; }
.perk {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 14px 16px;
  background: var(--bg2);
  border: 1px solid var(--border);
  border-radius: var(--r);
}
.perk-icon {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: var(--gold-lt);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.95rem;
  flex-shrink: 0;
}
.perk-text strong { display: block; font-size: 0.875rem; font-weight: 600; color: var(--ink); margin-bottom: 2px; }
.perk-text span { font-size: 0.8rem; color: var(--ink3); }

/* ===== FORMS ===== */
.form-wrap { padding: 56px 0; }
.form-card {
  background: var(--bg2);
  border: 1px solid var(--border);
  border-radius: var(--r-xl);
  padding: 44px;
  max-width: 700px;
}
.form-sec-title {
  font-family: var(--f-disp);
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--ink);
  margin: 30px 0 14px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--border);
}
.form-sec-title:first-child { margin-top: 0; }
.frow { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-bottom: 14px; }
.frow.full { grid-template-columns: 1fr; }
.frow.tri { grid-template-columns: 1fr 1fr 1fr; }
.field { display: flex; flex-direction: column; gap: 5px; }
.field label { font-size: 0.77rem; font-weight: 600; letter-spacing: 0.04em; color: var(--ink); }
.field .hint { font-size: 0.72rem; color: var(--ink3); }
.field input,
.field select,
.field textarea {
  padding: 11px 13px;
  background: var(--bg);
  border: 1.5px solid var(--border);
  border-radius: 9px;
  font-size: 0.9375rem;
  color: var(--ink);
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
  -webkit-appearance: none;
  appearance: none;
}
.field select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='11' height='7'%3E%3Cpath d='M1 1l4.5 4.5L10 1' stroke='%23999' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 13px center;
  padding-right: 34px;
}
.field input:focus,
.field select:focus,
.field textarea:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(176, 125, 69, 0.1);
}
.field input[aria-invalid="true"],
.field select[aria-invalid="true"],
.field textarea[aria-invalid="true"] {
  border-color: #C0392B;
  box-shadow: 0 0 0 3px rgba(192, 57, 43, 0.1);
}
.field-error {
  font-size: 0.75rem;
  color: #C0392B;
  margin-top: 3px;
  display: none;
}
.field-error.show { display: block; }

.field textarea { resize: vertical; min-height: 88px; line-height: 1.6; }

.radio-grp { display: flex; flex-wrap: wrap; gap: 7px; }
.rad { position: relative; }
.rad input { position: absolute; opacity: 0; pointer-events: none; }
.rad label {
  display: block;
  padding: 8px 15px;
  border: 1.5px solid var(--border);
  border-radius: 999px;
  font-size: 0.835rem;
  font-weight: 500;
  color: var(--ink2);
  cursor: pointer;
  transition: all 0.18s;
}
.rad input:checked + label { border-color: var(--gold); color: var(--gold-dk); background: var(--gold-lt); font-weight: 600; }
.rad label:hover { border-color: var(--gold-md); color: var(--gold-dk); }
.rad input:focus-visible + label { outline: 2px solid var(--gold); outline-offset: 2px; border-radius: 999px; }

.form-footer { margin-top: 28px; display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.form-note { font-size: 0.77rem; color: var(--ink3); }

/* Form loading state */
.btn[data-loading="true"] { opacity: 0.7; pointer-events: none; }
.btn[data-loading="true"]::after { content: '…'; }

/* Success state */
.form-success { display: none; text-align: center; padding: 56px 24px; }
.form-success.show { display: block; }
.success-icon {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: var(--gold-lt);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  font-size: 1.6rem;
}
.form-success h3 { font-family: var(--f-disp); font-size: 2rem; margin-bottom: 10px; }
.form-success p { max-width: 380px; margin: 0 auto 22px; font-size: 0.95rem; }

/* ===== HOME VALUE PAGE ===== */
.hv-hero {
  padding: 72px 0 56px;
  background: linear-gradient(135deg, var(--navy) 0%, #0F2440 100%);
  color: #fff;
  text-align: center;
}
.hv-hero h1 { color: #fff; max-width: 680px; margin: 0 auto 18px; }
.hv-hero p { color: rgba(255, 255, 255, 0.7); max-width: 520px; margin: 0 auto 10px; }
.hv-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(176, 125, 69, 0.2);
  border: 1px solid rgba(176, 125, 69, 0.35);
  color: var(--gold-md);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 6px 14px;
  border-radius: 999px;
  margin-bottom: 22px;
}
.hv-form-wrap { padding: 60px 0; }
.hv-form-card {
  background: var(--bg2);
  border: 1px solid var(--border);
  border-radius: var(--r-xl);
  padding: 44px;
  max-width: 680px;
  margin: 0 auto;
}
.hv-what-you-get {
  background: var(--gold-lt);
  border: 1px solid rgba(176, 125, 69, 0.2);
  border-radius: var(--r-lg);
  padding: 28px 32px;
  max-width: 680px;
  margin: 0 auto 40px;
}
.hv-what-you-get h4 { font-family: var(--f-disp); font-size: 1.1rem; color: var(--navy); margin-bottom: 14px; }
.hv-list { list-style: none; display: flex; flex-direction: column; gap: 8px; }
.hv-list li { font-size: 0.875rem; color: var(--ink2); display: flex; align-items: flex-start; gap: 10px; }
.hv-list li::before { content: '✓'; color: var(--gold); font-weight: 700; flex-shrink: 0; margin-top: 1px; }

/* ===== CALCULATOR ===== */
.calc-wrap { padding: 60px 0; }
.calc-grid { display: grid; grid-template-columns: 1fr 360px; gap: 28px; align-items: start; }
.calc-inputs { background: var(--bg2); border: 1px solid var(--border); border-radius: var(--r-xl); padding: 36px; }
.calc-sticky { position: sticky; top: calc(var(--nav) + 18px); }
.calc-result { background: var(--navy); color: #fff; border-radius: var(--r-xl); padding: 30px; margin-bottom: 14px; }
.c-label { font-size: 0.72rem; color: rgba(255, 255, 255, 0.5); text-transform: uppercase; letter-spacing: 0.09em; margin-bottom: 6px; }
.c-monthly { font-family: var(--f-disp); font-size: 3rem; font-weight: 500; color: #fff; line-height: 1; margin-bottom: 4px; }
.c-sub { font-size: 0.82rem; color: rgba(255, 255, 255, 0.5); margin-bottom: 22px; }
.c-break { border-top: 1px solid rgba(255, 255, 255, 0.1); padding-top: 18px; }
.c-row { display: flex; justify-content: space-between; align-items: center; padding: 6px 0; font-size: 0.85rem; }
.c-row .cl { color: rgba(255, 255, 255, 0.55); }
.c-row .cv { color: #fff; font-weight: 500; }
.c-row .cv.hi { color: var(--gold-md); }
.c-bar { height: 7px; border-radius: 4px; background: rgba(255, 255, 255, 0.08); overflow: hidden; display: flex; margin: 14px 0 10px; }
.c-seg { height: 100%; transition: width 0.45s var(--ease); }
.c-pi { background: var(--gold-md); }
.c-tx { background: #5B8DB8; }
.c-in { background: #7BB5A0; }
.c-pm { background: #E8967A; }
.c-ho { background: #A89BC8; }
.c-leg { display: flex; flex-wrap: wrap; gap: 6px 14px; }
.leg-item { display: flex; align-items: center; gap: 5px; font-size: 0.72rem; color: rgba(255, 255, 255, 0.55); }
.leg-dot { width: 7px; height: 7px; border-radius: 50%; }
.calc-cta { background: var(--gold-lt); border: 1px solid rgba(176, 125, 69, 0.2); border-radius: var(--r-xl); padding: 26px; }
.calc-cta h4 { font-family: var(--f-disp); font-size: 1.15rem; color: var(--navy); margin-bottom: 8px; }
.calc-cta p { font-size: 0.85rem; color: var(--ink2); margin-bottom: 16px; }
.c-sec { margin-bottom: 26px; }
.c-row-hd { display: flex; justify-content: space-between; align-items: center; margin-bottom: 9px; }
.c-lbl { font-size: 0.8rem; font-weight: 600; color: var(--ink); }
.c-val-badge { font-size: 0.85rem; font-weight: 600; color: var(--gold-dk); background: var(--gold-lt); padding: 3px 9px; border-radius: 6px; }
.slider-row { display: flex; gap: 10px; align-items: center; }
input[type="range"] {
  flex: 1;
  -webkit-appearance: none;
  appearance: none;
  height: 4px;
  border-radius: 2px;
  background: var(--border2);
  outline: none;
  cursor: pointer;
}
input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 17px;
  height: 17px;
  border-radius: 50%;
  background: var(--gold);
  cursor: pointer;
  border: 2px solid #fff;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.18);
}
input[type="range"]::-moz-range-thumb {
  width: 17px;
  height: 17px;
  border-radius: 50%;
  background: var(--gold);
  cursor: pointer;
  border: 2px solid #fff;
}
input[type="range"]:focus-visible { outline: 2px solid var(--gold); outline-offset: 4px; border-radius: 4px; }
.c-num {
  width: 100px;
  flex-shrink: 0;
  padding: 8px 11px;
  font-size: 0.875rem;
  border: 1.5px solid var(--border);
  border-radius: 8px;
  background: var(--bg);
  color: var(--ink);
  outline: none;
  text-align: right;
  transition: border-color 0.2s;
}
.c-num:focus { border-color: var(--gold); }
.term-row { display: flex; gap: 7px; margin-top: 4px; }
.t-btn {
  flex: 1;
  padding: 9px;
  border: 1.5px solid var(--border);
  border-radius: 8px;
  background: var(--bg);
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--ink2);
  cursor: pointer;
  transition: all 0.18s;
}
.t-btn.active { border-color: var(--gold); color: var(--gold-dk); background: var(--gold-lt); }
.afford { background: var(--bg); border-radius: var(--r); padding: 18px; margin-top: 18px; }
.afford h4 { font-size: 0.875rem; font-weight: 600; margin-bottom: 12px; }
.afford-row { display: flex; justify-content: space-between; font-size: 0.835rem; padding: 5px 0; color: var(--ink2); }
.afford-row span:last-child { font-weight: 600; color: var(--ink); }
.pmi-note { font-size: 0.75rem; color: var(--gold-dk); background: var(--gold-lt); padding: 8px 11px; border-radius: 7px; margin-top: 8px; }
.c-divider { height: 1px; background: var(--border); margin: 20px 0; }

/* ===== ABOUT PAGE ===== */
.about-hero {
  padding: 80px 0 60px;
  display: grid;
  grid-template-columns: 1fr 420px;
  gap: 72px;
  align-items: center;
}
.about-img {
  border-radius: var(--r-xl);
  overflow: hidden;
  border: 2px solid rgba(176, 125, 69, 0.18);
  aspect-ratio: 3/4;
  background: var(--gold-lt);
}
.about-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}
.about-story { max-width: 700px; padding: 0 0 80px; }
.about-story p { margin-bottom: 22px; font-size: 1.02rem; }
.about-story .pull {
  font-family: var(--f-disp);
  font-size: clamp(1.4rem, 2.5vw, 1.9rem);
  font-style: italic;
  color: var(--navy);
  line-height: 1.4;
  border-left: 3px solid var(--gold);
  padding: 14px 0 14px 26px;
  margin: 38px 0;
}
.vals-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2px;
  border: 1px solid var(--border);
  border-radius: var(--r-xl);
  overflow: hidden;
  background: var(--border);
  margin-bottom: 80px;
}
.val-item { padding: 38px 32px; background: var(--bg2); }
.val-icon { font-size: 1.6rem; margin-bottom: 14px; }
.val-item h3 { font-size: 1.15rem; margin-bottom: 9px; }
.val-item p { font-size: 0.9rem; }

/* eXp strip */
.exp-strip {
  background: var(--navy);
  border-radius: var(--r-xl);
  padding: 52px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 52px;
  align-items: center;
  margin-bottom: 80px;
}
.exp-strip h2 { color: #fff; margin-bottom: 14px; }
.exp-strip p { color: rgba(255, 255, 255, 0.65); }
.exp-strip .actions { display: flex; gap: 10px; margin-top: 24px; flex-wrap: wrap; }
.exp-stat-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.exp-stat { background: rgba(255, 255, 255, 0.07); border-radius: var(--r-lg); padding: 22px 24px; }
.exp-stat .sv { font-family: var(--f-disp); font-size: 2.2rem; font-weight: 500; color: #fff; line-height: 1; margin-bottom: 4px; }
.exp-stat .sl { font-size: 0.75rem; color: rgba(255, 255, 255, 0.5); text-transform: uppercase; letter-spacing: 0.08em; }

/* ===== FOOTER ===== */
footer { background: var(--ink); color: rgba(255, 255, 255, 0.55); padding: 56px 0 0; }
.foot-inner {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
  margin-bottom: 28px;
}
.foot-logo-img { height: 32px; width: auto; margin-bottom: 14px; }
.foot-logo-text { font-family: var(--f-disp); font-size: 1.4rem; font-weight: 600; color: #fff; margin-bottom: 10px; }
.foot-logo-text em { font-style: normal; color: var(--gold); }
.foot-desc { font-size: 0.845rem; line-height: 1.75; max-width: 260px; }
.foot-col h4 { color: #fff; font-size: 0.72rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.1em; margin-bottom: 14px; }
.foot-links { list-style: none; display: flex; flex-direction: column; gap: 9px; }
.foot-links li a,
.foot-links li { font-size: 0.845rem; transition: color 0.18s; color: rgba(255, 255, 255, 0.55); }
.foot-links li a:hover,
.foot-links li:hover { color: var(--gold); }
.foot-links li a:focus-visible { outline: 1px solid var(--gold); outline-offset: 2px; border-radius: 2px; }

/* eXp/DRE footer bar */
.foot-exp-bar {
  background: rgba(255, 255, 255, 0.04);
  border-top: 1px solid rgba(255, 255, 255, 0.07);
  padding: 18px 0;
  margin-top: 0;
}
.foot-exp-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}
.foot-btm-copy { font-size: 0.77rem; }
.foot-dre {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}
.foot-license {
  background: var(--gold);
  color: #fff;
  font-size: 0.7rem;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 6px;
  letter-spacing: 0.04em;
}
.foot-exp-logo { height: 18px; width: auto; opacity: 0.7; filter: brightness(10); }

/* ===== RESPONSIVE ===== */
@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hcard { max-width: 460px; }
  .pillars-grid { grid-template-columns: 1fr; }
  .phil-inner { grid-template-columns: 1fr; gap: 40px; }
  .calc-grid { grid-template-columns: 1fr; }
  .calc-sticky { position: static; }
  .pg-hero-grid { grid-template-columns: 1fr; gap: 32px; }
  .about-hero { grid-template-columns: 1fr; gap: 40px; }
  .about-img { aspect-ratio: 4/3; order: -1; max-width: 400px; }
  .vals-grid { grid-template-columns: 1fr; }
  .exp-strip { grid-template-columns: 1fr; gap: 36px; padding: 36px; }
  .foot-inner { grid-template-columns: 1fr; gap: 28px; }
  .cta-band { flex-direction: column; padding: 44px 32px; }
  .hv-hero { padding: 56px 0 44px; }
}
@media (max-width: 600px) {
  .nav-links { display: none; }
  .hbg { display: flex; }
  .frow { grid-template-columns: 1fr; }
  .frow.tri { grid-template-columns: 1fr; }
  .hero-actions { flex-direction: column; }
  .btn { width: 100%; justify-content: center; }
  .form-card { padding: 26px 18px; }
  .hv-form-card { padding: 26px 18px; }
  .hv-what-you-get { padding: 22px 20px; }
  .calc-inputs { padding: 22px 18px; }
  .calc-result { padding: 22px 18px; }
  .trust-row { gap: 28px; }
  .exp-stat-grid { grid-template-columns: 1fr; }
  .foot-exp-inner { flex-direction: column; align-items: flex-start; gap: 8px; }
}

/* ===== ACCESSIBILITY ===== */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
}
:focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; }
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
a:focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; border-radius: 2px; }

/* ===== PRINT ===== */
@media print {
  nav, .mob-nav, .hbg { display: none !important; }
  main { padding-top: 0; }
  .hero { min-height: auto; }
  footer { background: #fff; color: var(--ink); }
  .foot-exp-bar { background: #fff; border-top: 1px solid var(--border); }
  .foot-license { background: var(--ink); }
  .btn { border: 1px solid var(--ink); color: var(--ink); background: none; }
}
