/* === Fit Capital Real Estate — Design System === */
:root {
  --navy: #243447;
  --navy-2: #1a2734;
  --navy-3: #0f1822;
  --copper: #B76E3C;
  --copper-2: #c8824f;
  --copper-3: #8f5530;
  --cream: #F5F2ED;
  --cream-2: #ebe6dc;
  --ink: #1a2734;
  --ink-2: #2e3b4a;
  --ink-3: #6b7682;
  --line: #e5e0d6;
  --line-strong: #d4cdbe;
  --white: #ffffff;
  --success: #2d7a4f;
  --maxw: 1320px;
  --pad: clamp(20px, 4vw, 56px);
  --r-sm: 4px;
  --r-md: 6px;
  --r-lg: 10px;
  --shadow-card: 0 1px 2px rgba(36,52,71,.04), 0 12px 32px -16px rgba(36,52,71,.18);
  --shadow-hover: 0 4px 8px rgba(36,52,71,.06), 0 24px 48px -16px rgba(36,52,71,.25);
}

* { box-sizing: border-box; }
/* overflow-x: clip prevents horizontal page-overflow (e.g. wide hero gradients) WITHOUT
   creating a scroll container — which would break position:sticky on the nav.
   Older browsers fall back to overflow-x: hidden via the cascade. */
html, body { margin: 0; padding: 0; overflow-x: hidden; overflow-x: clip; max-width: 100%; }
/* In-page anchors land below the sticky nav, not under it. */
html { scroll-padding-top: clamp(96px, 11vw, 140px); scroll-behavior: smooth; }
body {
  font-family: 'Lato', system-ui, -apple-system, Segoe UI, sans-serif;
  font-weight: 300;
  color: var(--ink);
  background: var(--cream);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: 0; background: none; padding: 0; color: inherit; }
input, select, textarea { font-family: inherit; font-size: inherit; color: inherit; }

/* === Type === */
h1, h2, h3, h4, h5 { font-weight: 400; line-height: 1.12; letter-spacing: -0.01em; margin: 0; color: var(--navy); }
h1 { font-size: clamp(40px, 5.6vw, 76px); font-weight: 300; letter-spacing: -0.025em; }
h2 { font-size: clamp(30px, 3.6vw, 48px); font-weight: 400; letter-spacing: -0.02em; }
h3 { font-size: clamp(22px, 2vw, 28px); font-weight: 400; }
h4 { font-size: 18px; font-weight: 700; letter-spacing: 0; }
.eyebrow {
  font-family: 'Lato', system-ui, -apple-system, Segoe UI, sans-serif;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--copper);
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.eyebrow::before {
  content: '';
  display: inline-block;
  width: 24px;
  height: 1px;
  background: currentColor;
}
.mono { font-family: 'JetBrains Mono', ui-monospace, Menlo, monospace; }
.muted { color: var(--ink-2); }

/* === Layout === */
.container { max-width: var(--maxw); margin: 0 auto; padding-left: var(--pad); padding-right: var(--pad); }
section { padding-top: clamp(64px, 8vw, 120px); padding-bottom: clamp(64px, 8vw, 120px); }
.section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 32px 48px; margin-bottom: 56px; flex-wrap: wrap; }
.section-head > div { flex: 1 1 480px; min-width: 0; }
.section-head .right-link { flex-shrink: 0; white-space: nowrap; }
.section-head .lede { max-width: 480px; color: var(--ink-2); font-size: 17px; line-height: 1.6; margin-top: 18px; }
.section-head h2 { max-width: 760px; }
.section-head .right-link { font-size: 14px; font-weight: 700; color: var(--navy); display: inline-flex; align-items: center; gap: 8px; padding-bottom: 6px; border-bottom: 1px solid var(--navy); transition: gap .2s ease; }
.section-head .right-link:hover { gap: 14px; }

/* === Buttons === */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 14px 22px;
  font-size: 14px; font-weight: 700; letter-spacing: 0.02em;
  border-radius: var(--r-sm);
  transition: all .18s ease;
  cursor: pointer; white-space: nowrap;
}
.btn-primary { background: var(--copper); color: var(--white); }
.btn-primary:hover { background: var(--copper-3); transform: translateY(-1px); box-shadow: 0 8px 20px -8px rgba(183,110,60,.6); }
.btn-dark { background: var(--navy); color: var(--white); }
.btn-dark:hover { background: var(--navy-3); }
.reasons-quiz-cta { background: #000; color: var(--white); }
.reasons-quiz-cta:hover { background: var(--copper); color: var(--white); transform: translateY(-1px); box-shadow: 0 8px 20px -8px rgba(0,0,0,.45); }
.btn-outline { background: transparent; color: var(--navy); border: 1px solid var(--navy); }
.btn-outline:hover { background: var(--navy); color: var(--white); }
.btn-outline-light { background: transparent; color: var(--white); border: 1px solid rgba(255,255,255,.35); }
.btn-outline-light:hover { background: var(--copper); border-color: var(--copper); color: var(--white); transform: translateY(-1px); }
.btn-ghost-light { background: rgba(255,255,255,.08); color: var(--white); border: 1px solid rgba(255,255,255,.18); backdrop-filter: blur(8px); }
.btn-ghost-light:hover { background: rgba(255,255,255,.16); }
.btn-lg { padding: 18px 28px; font-size: 15px; }

/* === Utility bar === */
.util {
  background: var(--navy-3); color: rgba(255,255,255,.7);
  font-size: 12px;
}
.util-inner { display: flex; align-items: center; justify-content: space-between; padding: 10px var(--pad); max-width: var(--maxw); margin: 0 auto; gap: 16px; }
.util a { display: inline-flex; align-items: center; gap: 6px; white-space: nowrap; }
.util a:hover { color: var(--copper-2); }
.util-left, .util-right { display: flex; gap: 22px; align-items: center; min-width: 0; }
.util-left { flex: 1 1 auto; min-width: 0; }
.util-left a { font-weight: 700; color: rgba(255,255,255,.92); }
.util-left a.util-email { overflow: hidden; text-overflow: ellipsis; min-width: 0; }
.util .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--success); display: inline-block; box-shadow: 0 0 0 4px rgba(45,122,79,.18); animation: dotPulse 2s ease-in-out infinite; }
@keyframes dotPulse { 50% { box-shadow: 0 0 0 8px rgba(45,122,79,0); } }

/* === Nav === */
.nav {
  position: sticky; top: 0; z-index: 80;
  background: var(--navy);
  border-bottom: 1px solid rgba(255,255,255,.06);
  /* Switch the bg+border transitions smoothly when .is-scrolled toggles on. */
  transition: background-color .25s ease, border-color .25s ease, box-shadow .25s ease;
}
/* Apple-style "liquid glass" — only activates once the user has scrolled past the
   top of the page. At rest the nav looks identical to the pre-effect design.
   The blur lives on a ::before pseudo-element (NOT on .nav itself) — otherwise
   the mobile menu drawer (a descendant) can't run its own backdrop-filter:
   nested backdrop-filters cancel each other out. */
.nav.is-scrolled {
  background: transparent;
  border-bottom-color: rgba(255,255,255,.08);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.06),
    0 8px 24px -16px rgba(0,0,0,.55);
}
.nav.is-scrolled::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background: rgba(15, 24, 34, 0.62);
  -webkit-backdrop-filter: blur(24px) saturate(180%);
  backdrop-filter: blur(24px) saturate(180%);
}
@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
  .nav.is-scrolled { background: var(--navy); }
  .nav.is-scrolled::before { display: none; }
}
.nav-inner {
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 var(--pad);
  max-width: var(--maxw); margin: 0 auto;
  height: 95px;
  gap: 24px;
}
.brand { display: flex; align-items: center; gap: 12px; height: 100%; }
.brand img { height: 83px; width: auto; object-fit: contain; }
.menu { display: flex; gap: 4px; align-items: center; list-style: none; padding: 0; margin: 0; }
.menu ul { list-style: none; padding: 0; margin: 0; display: flex; gap: 4px; align-items: center; }
.menu li { list-style: none; margin: 0; padding: 0; display: inline-flex; align-items: center; }
.menu li::before { content: none; }
.menu a {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 10px 14px;
  font-size: 14px; color: rgba(255,255,255,.78);
  border-radius: var(--r-sm);
  font-weight: 400;
  position: relative;
}
.menu a:hover { color: var(--white); }
.menu a.has-arrow::after {
  content: ''; width: 6px; height: 6px;
  border-right: 1px solid currentColor; border-bottom: 1px solid currentColor;
  transform: rotate(45deg) translateY(-2px); opacity: .6;
}
.nav-cta { display: flex; gap: 10px; align-items: center; }
.nav-cta .lang { font-size: 13px; color: rgba(255,255,255,.6); padding: 8px 10px; }
.nav-cta .lang:hover { color: white; }
/* Language switcher — clickable dropdown */
.fc-lang-switcher { position: relative; display: inline-block; }
.fc-lang-trigger { display: inline-flex; align-items: center; gap: 8px; padding: 6px 10px; font-size: 13px; color: rgba(255,255,255,.78); background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.12); border-radius: var(--r-sm); cursor: pointer; transition: background .15s, border-color .15s, color .15s; font-family: inherit; }
.fc-lang-trigger:hover { background: rgba(255,255,255,.08); border-color: rgba(255,255,255,.22); color: white; }
.fc-lang-trigger .fc-lang-label { font-weight: 700; letter-spacing: 0.06em; }
.fc-lang-trigger .fc-lang-caret { font-size: 10px; opacity: .7; transition: transform .15s; }
.fc-lang-switcher.is-open .fc-lang-trigger { background: rgba(255,255,255,.1); border-color: rgba(255,255,255,.28); color: white; }
.fc-lang-switcher.is-open .fc-lang-caret { transform: rotate(180deg); }
.fc-lang-menu { position: absolute; top: calc(100% + 6px); right: 0; min-width: 160px; background: var(--navy-2, #0e1a2b); border: 1px solid rgba(255,255,255,.12); border-radius: var(--r-sm); padding: 6px; margin: 0; list-style: none; box-shadow: 0 12px 32px -12px rgba(0,0,0,.5); opacity: 0; transform: translateY(-4px); pointer-events: none; transition: opacity .15s, transform .15s; z-index: 100; }
.fc-lang-switcher.is-open .fc-lang-menu { opacity: 1; transform: translateY(0); pointer-events: auto; }
.fc-lang-menu li { list-style: none; margin: 0; padding: 0; }
.fc-lang-menu li::before, .fc-lang-menu li::marker { content: none !important; display: none !important; }
.fc-lang-menu a { display: flex; align-items: center; gap: 10px; padding: 8px 10px; font-size: 13px; color: rgba(255,255,255,.78); border-radius: 6px; transition: background .12s, color .12s; }
.fc-lang-menu a:hover { background: rgba(255,255,255,.06); color: white; }
.fc-lang-menu li.is-current a { background: rgba(193,122,73,.14); color: white; }
.fc-lang-switcher img { width: 18px; height: auto; display: inline-block; border-radius: 2px; box-shadow: 0 0 0 1px rgba(255,255,255,.15); flex-shrink: 0; }

/* === Hero === */
.hero {
  position: relative;
  background: var(--navy);
  color: var(--white);
  overflow: hidden;
  padding-top: 0;
  padding-bottom: 0;
}
.hero-bg {
  position: absolute; inset: 0;
  background:
    radial-gradient(1200px 600px at 80% 10%, rgba(183,110,60,.18), transparent 60%),
    radial-gradient(900px 500px at 10% 90%, rgba(36,52,71,.6), transparent 60%),
    linear-gradient(180deg, var(--navy-2), var(--navy-3));
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}
.hero--has-image .hero-bg::after { display: none; }
.hero-bg::after {
  content: '';
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(245,242,237,.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(245,242,237,.04) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse at 50% 40%, black 30%, transparent 75%);
}
.hero-skyline {
  position: absolute; bottom: 0; left: 0; right: 0;
  height: 280px;
  opacity: .42;
  pointer-events: none;
}
.hero-inner {
  position: relative; z-index: 2;
  padding: 60px var(--pad) 60px;
  max-width: var(--maxw); margin: 0 auto;
  display: grid; grid-template-columns: 1.1fr .9fr; gap: 60px;
  align-items: center;
}
.hero-eyebrow { color: var(--copper-2); }
.hero h1 { color: var(--white); margin-top: 22px; max-width: 700px; }
.hero h1 em { font-style: normal; color: var(--copper-2); font-weight: 400; }
.hero-sub { margin-top: 26px; max-width: 620px; color: rgba(255,255,255,.85); font-size: 22px; line-height: 1.6; }
.hero-trust { display: flex; gap: 28px; margin-top: 38px; flex-wrap: wrap; }
.hero-trust .item { display: flex; flex-direction: column; gap: 4px; }
.hero-trust .num { font-size: 32px; font-weight: 300; color: var(--white); letter-spacing: -0.02em; }
.hero-trust .num em { color: var(--copper-2); font-style: normal; }
.hero-trust .lbl { font-size: 12px; text-transform: uppercase; letter-spacing: 0.12em; color: rgba(255,255,255,.55); }

.hero-actions { display: flex; gap: 14px; margin-top: 36px; flex-wrap: wrap; }
.hero-marks { display: flex; flex-wrap: wrap; gap: 22px 28px; margin-top: 36px; padding-top: 32px; border-top: 1px solid rgba(255,255,255,.1); }
.hero-marks span { display: inline-flex; align-items: center; gap: 10px; font-size: 13px; color: rgba(255,255,255,.7); }
.hero-marks span svg { color: var(--copper-2); flex-shrink: 0; }

.hero-benefits-title { margin: 32px 0 0; font-size: 22px; font-weight: 700; color: var(--white); letter-spacing: 0.01em; }
.hero-benefits { list-style: none; padding: 0; margin: 30px 0 0; display: flex; flex-direction: column; gap: 14px; max-width: 600px; }
.hero-benefits li { display: flex; align-items: flex-start; gap: 14px; color: rgba(255,255,255,.9); font-size: 19px; line-height: 1.5; }
.hero-benefits .check { color: var(--copper-2); flex-shrink: 0; margin-top: 1px; display: inline-flex; }
.hero-benefits .check svg { width: 20px; height: 20px; }

.hero-right { display: flex; align-items: center; justify-content: flex-end; }
.hero-form {
  background: var(--cream);
  border-radius: var(--r-md);
  width: 100%;
  max-width: 460px;
  overflow: hidden;
  box-shadow: 0 30px 80px -20px rgba(0,0,0,.5), 0 12px 30px -10px rgba(0,0,0,.3);
}
.hero-form-head { background: var(--white); padding: 30px 32px 26px; border-bottom: 1px solid var(--line); }
.hero-form-head h3 { font-size: 26px; color: var(--navy); margin-top: 10px; letter-spacing: -0.015em; }
.hero-form-head p { color: var(--ink-2); margin: 10px 0 0; font-size: 14px; line-height: 1.55; }
.hero-form-body { padding: 26px 32px 30px; display: flex; flex-direction: column; gap: 14px; }
.hero-form-body .field { display: flex; flex-direction: column; gap: 6px; }
.hero-form-body label { font-size: 11px; color: var(--ink-2); text-transform: uppercase; letter-spacing: 0.12em; font-weight: 700; }
.hero-form-body input, .hero-form-body select {
  background: var(--white);
  border: 1px solid var(--line-strong);
  color: var(--ink); padding: 12px 14px; font-size: 15px; outline: none;
  border-radius: var(--r-sm);
  transition: border-color .15s, background .15s;
  width: 100%;
}
.hero-form-body input:focus, .hero-form-body select:focus { border-color: var(--copper); background: var(--white); }
.hero-form-body input::placeholder { color: var(--ink-3); }
.hero-form-body .err { color: #c4452a; font-size: 12px; margin-top: -2px; font-weight: 700; }
.hero-form-body select { appearance: none; padding-right: 36px;
  background-image: linear-gradient(45deg, transparent 50%, var(--navy) 50%), linear-gradient(135deg, var(--navy) 50%, transparent 50%);
  background-position: calc(100% - 18px) 50%, calc(100% - 12px) 50%;
  background-size: 6px 6px; background-repeat: no-repeat;
}
.hero-form-body .btn { margin-top: 8px; padding: 16px; font-size: 15px; }
.hero-form-fine { font-size: 12px; color: var(--ink-3); line-height: 1.55; margin: -15px 0 0; }
.hero-form-body p { margin: -15px 0 0; }
.hero-form-body p.hero-form-fine { font-size: 12px; color: var(--ink-3); line-height: 1.55; margin-top: -15px; }
.hero-form-success { padding: 50px 36px 56px; text-align: center; }
.hero-form-success .ic { width: 56px; height: 56px; border-radius: 50%; background: rgba(45,122,79,.15); color: var(--success); display: inline-flex; align-items: center; justify-content: center; margin-bottom: 18px; }
.hero-form-success h4 { font-size: 22px; color: var(--navy); }
.hero-form-success p { color: var(--ink-2); margin-top: 10px; font-size: 14px; line-height: 1.55; }

/* === Property search bar (below hero) === */
.psearch-bar {
  background: var(--cream);
  border-bottom: 1px solid var(--line);
  padding: 28px 0 32px;
}
.psearch { display: flex; flex-direction: column; gap: 18px; }
.psearch-head { display: flex; align-items: baseline; gap: 18px; flex-wrap: wrap; }
.psearch-head h3 { font-size: 22px; color: var(--navy); letter-spacing: -0.01em; }
.psearch-tabs { display: flex; gap: 4px; }
.psearch-tab {
  padding: 10px 18px;
  background: transparent;
  color: var(--ink-2);
  font-size: 13px; font-weight: 700; letter-spacing: 0.03em;
  border-radius: var(--r-sm);
  border: 1px solid var(--line-strong);
  transition: all .15s ease;
}
.psearch-tab:hover { color: var(--navy); border-color: var(--navy); }
.psearch-tab.active { background: var(--navy); color: white; border-color: var(--navy); }
.psearch-fields { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr auto; gap: 1px; background: var(--line-strong); border-radius: var(--r-sm); overflow: hidden; border: 1px solid var(--line-strong); }
.psearch-field { background: var(--white); padding: 12px 18px; display: flex; flex-direction: column; gap: 2px; position: relative; }
.psearch-field label { font-size: 10px; text-transform: uppercase; letter-spacing: 0.12em; color: var(--ink-3); font-weight: 700; }
.psearch-field input, .psearch-field select { background: transparent; border: 0; outline: 0; color: var(--navy); font-size: 15px; font-weight: 400; padding: 0; }
.psearch-field input::placeholder { color: var(--ink-3); }
.psearch-field select { appearance: none; padding-right: 16px; }
.psearch-field.with-arrow::after {
  content: ''; position: absolute; right: 18px; top: 50%;
  width: 6px; height: 6px;
  border-right: 1px solid var(--ink-2); border-bottom: 1px solid var(--ink-2);
  transform: translateY(-30%) rotate(45deg);
  pointer-events: none;
}
.psearch-go {
  background: var(--copper); display: inline-flex; align-items: center; justify-content: center;
  padding: 0 28px; gap: 10px;
  color: var(--white); font-weight: 700; font-size: 14px; letter-spacing: 0.02em;
  border: 0; cursor: pointer; transition: background .15s;
}
.psearch-go:hover { background: var(--copper-3); }
.psearch-chips { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; }
.psearch-chips-label { font-size: 11px; color: var(--ink-2); letter-spacing: 0.1em; text-transform: uppercase; font-weight: 700; margin-right: 4px; }
.psearch-chip {
  font-size: 12px; padding: 7px 12px; border-radius: 99px;
  background: var(--white); color: var(--ink-2);
  border: 1px solid var(--line-strong);
  transition: all .15s;
}
.psearch-chip:hover { border-color: var(--navy); color: var(--navy); }
.psearch-chip.active { background: var(--copper); color: white; border-color: var(--copper); }

/* === Search panel === */
.search {
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: var(--r-md);
  backdrop-filter: blur(20px);
  padding: 8px;
  margin-top: 8px;
}
.search-tabs { display: flex; gap: 2px; padding: 4px; }
.search-tab {
  flex: 1; padding: 14px 16px;
  color: rgba(255,255,255,.6);
  font-size: 13px; font-weight: 700; letter-spacing: 0.04em; text-transform: uppercase;
  border-radius: var(--r-sm);
  transition: all .15s ease;
}
.search-tab:hover { color: white; }
.search-tab.active { background: rgba(255,255,255,.92); color: var(--navy); }
.search-fields { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr auto; padding: 4px 4px 4px 4px; gap: 1px; background: rgba(255,255,255,.08); border-radius: var(--r-sm); margin-top: 6px; overflow: hidden; }
.search-field {
  background: rgba(15,24,34,.65); padding: 14px 18px; display: flex; flex-direction: column; gap: 4px;
  position: relative;
}
.search-field label { font-size: 10px; text-transform: uppercase; letter-spacing: 0.12em; color: rgba(255,255,255,.5); font-weight: 500; }
.search-field input, .search-field select {
  background: transparent; border: 0; outline: 0;
  color: var(--white); font-size: 15px; font-weight: 400;
  padding: 0;
}
.search-field input::placeholder { color: rgba(255,255,255,.4); }
.search-field select { appearance: none; padding-right: 16px; }
.search-field.with-arrow::after {
  content: ''; position: absolute; right: 18px; top: 50%;
  width: 6px; height: 6px;
  border-right: 1px solid rgba(255,255,255,.5); border-bottom: 1px solid rgba(255,255,255,.5);
  transform: translateY(-30%) rotate(45deg);
  pointer-events: none;
}
.search-go {
  background: var(--copper); display: inline-flex; align-items: center; justify-content: center;
  padding: 0 28px; gap: 10px;
  color: var(--white); font-weight: 700; font-size: 14px; letter-spacing: 0.02em;
  border: 0; cursor: pointer; transition: background .15s;
}
.search-go:hover { background: var(--copper-3); }
.quick-filters { display: flex; gap: 8px; padding: 12px 4px 6px; flex-wrap: wrap; }
.chip {
  font-size: 12px; padding: 7px 12px; border-radius: 99px;
  background: rgba(255,255,255,.06); color: rgba(255,255,255,.75);
  border: 1px solid rgba(255,255,255,.08);
  transition: all .15s;
}
.chip:hover { background: rgba(255,255,255,.12); color: white; }
.chip.active { background: var(--copper); color: white; border-color: var(--copper); }

/* === Trust strip (after hero) === */
.trust-strip {
  background: var(--cream);
  border-bottom: 1px solid var(--line);
  padding: 0;
}
.trust-strip .inner { display: grid; grid-template-columns: repeat(5, 1fr); align-items: center; max-width: var(--maxw); margin: 0 auto; }
.trust-strip .cell { padding: 38px 32px; border-right: 1px solid var(--line); }
.trust-strip .cell:last-child { border-right: 0; }
.trust-strip .num { font-size: 38px; font-weight: 300; color: var(--navy); letter-spacing: -0.025em; line-height: 1; }
.trust-strip .num em { font-style: normal; color: var(--copper); }
.trust-strip .lbl { font-size: 12px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--ink-2); margin-top: 10px; font-weight: 500; }

/* === Property card === */
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.prop-carousel { position: relative; }
.prop-carousel-track {
  display: flex;
  gap: 24px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  scrollbar-width: none;
  padding-bottom: 4px;
}
.prop-carousel-track::-webkit-scrollbar { display: none; }
.prop-carousel-track > .prop-card {
  flex: 0 0 calc((100% - 48px) / 3);
  scroll-snap-align: start;
  min-width: 0;
}
.prop-carousel-nav {
  position: absolute; top: 40%; transform: translateY(-50%);
  width: 44px; height: 44px; border-radius: 50%;
  background: var(--white); color: var(--navy);
  border: 1px solid var(--line-strong);
  display: flex; align-items: center; justify-content: center;
  cursor: pointer; z-index: 3;
  box-shadow: var(--shadow);
  transition: background .15s ease, color .15s ease, border-color .15s ease, opacity .2s ease;
}
.prop-carousel-nav:hover { background: var(--navy); color: var(--white); border-color: var(--navy); }
.prop-carousel-nav.prev { left: -22px; }
.prop-carousel-nav.next { right: -22px; }
.prop-carousel-nav.prev svg { transform: rotate(180deg); }
.prop-carousel-nav[disabled] { opacity: 0; pointer-events: none; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }

.prop-card {
  background: var(--white);
  border-radius: var(--r-md);
  overflow: hidden;
  transition: all .22s ease;
  border: 1px solid var(--line);
  display: flex; flex-direction: column;
  cursor: pointer;
  position: relative;
}
.prop-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-hover); border-color: var(--line-strong); }
.prop-img { aspect-ratio: 4/3; position: relative; overflow: hidden; background: var(--navy); }
.prop-img .ph { position: absolute; bottom: 14px; left: 16px; right: 16px; color: rgba(255,255,255,.5); font-family: 'JetBrains Mono', monospace; font-size: 10px; letter-spacing: 0.04em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; z-index: 2; }
.prop-img::before {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-2) 50%, var(--copper-3) 130%);
}
.prop-img.v2::before { background: linear-gradient(160deg, #2c4055 0%, #1a2734 60%, #3a2a1a 130%); }
.prop-img.v3::before { background: linear-gradient(200deg, #354a60 0%, #1f2d3e 50%, #2c1d0e 120%); }
.prop-img.v4::before { background: linear-gradient(135deg, #1f3148 0%, #243447 50%, #6b3e1f 120%); }
.prop-img.v5::before { background: linear-gradient(180deg, #2a3e54 0%, #182433 60%, #4a2d18 120%); }
.prop-img.v6::before { background: linear-gradient(120deg, #284058 0%, #1a2632 55%, #5c391d 120%); }
.prop-img.has-image::before { display: none; }
.prop-img::after {
  content: ''; position: absolute; inset: 0;
  background-image: linear-gradient(rgba(255,255,255,.025) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.025) 1px, transparent 1px);
  background-size: 40px 40px;
  mask-image: linear-gradient(180deg, transparent 0%, black 40%, black 100%);
}
.prop-img svg { position: absolute; bottom: 0; left: 0; right: 0; width: 100%; height: auto; opacity: .85; }
.prop-tag {
  position: absolute; top: 14px; left: 14px;
  display: inline-flex; align-items: center; gap: 6px;
  background: rgba(255,255,255,.92); color: var(--navy);
  padding: 6px 11px; border-radius: var(--r-sm);
  font-size: 11px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase;
  backdrop-filter: blur(8px);
}
.prop-tag.exclusive { background: var(--copper); color: white; }
.prop-tag.new { background: rgba(45,122,79,.95); color: white; }
.prop-fav {
  position: absolute; top: 14px; right: 14px;
  width: 36px; height: 36px;
  background: rgba(15,24,34,.5);
  backdrop-filter: blur(8px);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: white;
  transition: all .15s ease;
  border: 1px solid rgba(255,255,255,.1);
}
.prop-fav:hover { background: rgba(15,24,34,.8); transform: scale(1.08); }
.prop-fav.active { background: var(--copper); border-color: var(--copper); }
.prop-fav svg { width: 16px; height: 16px; }
.prop-body { padding: 22px 22px 24px; display: flex; flex-direction: column; gap: 12px; flex: 1; }
.prop-loc { display: flex; align-items: center; gap: 6px; font-size: 12px; color: var(--ink-2); letter-spacing: 0.06em; text-transform: uppercase; }
.prop-title { font-size: 19px; font-weight: 400; color: var(--navy); line-height: 1.3; letter-spacing: -0.01em; min-height: 50px; }
.prop-specs { display: flex; gap: 18px; padding: 14px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); color: var(--ink-2); font-size: 13px; }
.prop-specs .spec { display: inline-flex; align-items: center; gap: 6px; }
.prop-specs .spec strong { color: var(--navy); font-weight: 700; }
.prop-price { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin-top: auto; }
.prop-price .v { font-size: 22px; color: var(--navy); font-weight: 400; letter-spacing: -0.01em; }
.prop-price .v em { font-style: normal; color: var(--copper); font-family: 'JetBrains Mono', monospace; font-size: 13px; font-weight: 500; margin-right: 4px; }
.prop-price .pm { font-size: 12px; color: var(--ink-3); }
.prop-agent { display: flex; align-items: center; gap: 10px; padding-top: 14px; margin-top: 4px; border-top: 1px solid var(--line); }
.prop-agent .av { width: 30px; height: 30px; border-radius: 50%; background: linear-gradient(135deg, var(--copper) 0%, var(--navy) 100%); flex-shrink: 0; color: white; display: flex; align-items: center; justify-content: center; font-size: 11px; font-weight: 700; }
.prop-agent .nm { font-size: 13px; color: var(--ink-2); }
.prop-agent .nm strong { color: var(--navy); }

/* === Communities === */
.communities-bg { background: var(--navy-3); }
.communities-bg .section-head h2 { color: var(--white); }
.communities-bg .eyebrow { color: var(--copper-2); }
.communities-bg .communities-link { color: var(--white); border-color: rgba(255,255,255,.4); }
.comm-grid { display: grid; grid-template-columns: repeat(4, 1fr); grid-template-rows: repeat(2, 280px); gap: 16px; }
.comm-card {
  position: relative; overflow: hidden; border-radius: var(--r-md);
  background: var(--navy);
  cursor: pointer;
  transition: all .22s ease;
}
.comm-card::before {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(135deg, #2a3e54, #1a2734 50%, #3d2a18 130%);
}
.comm-card.c2::before { background: linear-gradient(160deg, #1f3148 0%, #243447 50%, #6b3e1f 120%); }
.comm-card.c3::before { background: linear-gradient(200deg, #354a60 0%, #1f2d3e 50%, #2c1d0e 120%); }
.comm-card.c4::before { background: linear-gradient(180deg, #2a3e54 0%, #182433 60%, #4a2d18 120%); }
.comm-card.c5::before { background: linear-gradient(120deg, #284058 0%, #1a2632 55%, #5c391d 120%); }
.comm-card.c6::before { background: linear-gradient(145deg, #2e4258 0%, #1a2734 60%, #43281a 130%); }
.comm-card.c7::before { background: linear-gradient(170deg, #354a60 0%, #1a2734 55%, #5a3a20 120%); }
.comm-card.c8::before { background: linear-gradient(195deg, #2a3d50 0%, #1f2d3e 60%, #34230e 120%); }
.comm-card.has-image::before { display: none; }
.comm-card::after {
  content: ''; position: absolute; inset: 0;
  background-image: linear-gradient(rgba(255,255,255,.03) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.03) 1px, transparent 1px);
  background-size: 40px 40px;
  mask-image: linear-gradient(180deg, transparent 0%, black 60%, black 100%);
}
.comm-card:hover { transform: translateY(-3px); }
.comm-card:hover .comm-bd { background: linear-gradient(180deg, transparent 0%, rgba(15,24,34,.95) 100%); }
.comm-bd {
  position: absolute; inset: 0; z-index: 2;
  display: flex; flex-direction: column; justify-content: flex-end;
  padding: 22px 24px;
  background: linear-gradient(180deg, transparent 30%, rgba(15,24,34,.85) 100%);
  color: var(--white);
  transition: background .22s ease;
}
.comm-bd .nm { font-size: 22px; font-weight: 400; letter-spacing: -0.01em; }
.comm-bd .ct { font-size: 12px; color: rgba(255,255,255,.65); margin-top: 6px; letter-spacing: 0.06em; }
.comm-bd .ct strong { color: var(--copper-2); font-weight: 700; }
.comm-card.wide { grid-column: span 1; }
.comm-card.tall { grid-row: span 1; }

/* === Off-plan === */
.offplan-bg { background: linear-gradient(180deg, var(--navy-2) 0%, var(--navy-3) 100%); color: white; }
.offplan-bg .eyebrow { color: var(--copper-2); }
.offplan-bg h2 { color: white; }
.offplan-bg .section-head .lede { color: rgba(255,255,255,.7); }
.offplan-intro { display: flex; flex-direction: column; gap: 56px; margin-bottom: 56px; }
.offplan-intro:last-child { margin-bottom: 0; }
.offplan-intro-top { display: flex; flex-direction: column; gap: 18px; }
.offplan-intro-top h2 { margin: 0; max-width: 760px; }
.offplan-intro-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: start; }
.offplan-intro-img { border-radius: var(--r-md); overflow: hidden; aspect-ratio: 4/3; background: rgba(255,255,255,.04); box-shadow: 0 12px 32px -16px rgba(0,0,0,.5); }
.offplan-intro-img img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .5s ease; }
.offplan-intro-img:hover img { transform: scale(1.03); }
.offplan-intro-body p { color: rgba(255,255,255,.78); font-size: 15px; line-height: 1.7; margin: 0 0 18px; }
.offplan-intro-body p:last-child { margin-bottom: 0; }
.offplan-all-cta { align-self: flex-start; margin-top: 20px; }
@media (max-width: 1000px) {
  .offplan-intro { gap: 32px; }
  .offplan-intro-cols { grid-template-columns: 1fr; gap: 28px; }
  .offplan-intro-img { aspect-ratio: 16/9; }
  .offplan-all-cta { align-self: flex-start; margin-top: 12px; }
}
.offplan-card {
  background: var(--navy-2);
  border: 1px solid rgba(255,255,255,.08);
  border-radius: var(--r-md);
  overflow: hidden;
  transition: all .22s;
  cursor: pointer;
  display: flex; flex-direction: column;
  color: var(--white);
}
.offplan-card:hover { border-color: rgba(183,110,60,.5); transform: translateY(-3px); box-shadow: 0 14px 32px -16px rgba(15,24,34,.4); }
/* Inside the home-page off-plan section the cards sit on a navy gradient,
 * so soften them to merge with that context. */
.offplan-bg .offplan-card { background: rgba(255,255,255,.03); }
.offplan-bg .offplan-card:hover { background: rgba(255,255,255,.06); }
.offplan-img {
  aspect-ratio: 16/10; position: relative; overflow: hidden;
  background: linear-gradient(135deg, #2a3e54, #1a2734 50%, #5c391d 130%);
}
.offplan-img.b::before, .offplan-img.c::before { content: ''; position: absolute; inset: 0; }
.offplan-img.b { background: linear-gradient(160deg, #1f3148 0%, #243447 50%, #8f5530 130%); }
.offplan-img.c { background: linear-gradient(200deg, #354a60 0%, #1f2d3e 50%, #4a2d18 130%); }
.offplan-img::after {
  content: ''; position: absolute; inset: 0;
  background-image: linear-gradient(rgba(255,255,255,.04) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.04) 1px, transparent 1px);
  background-size: 50px 50px;
  mask-image: linear-gradient(180deg, transparent 0%, black 60%, black 100%);
}
.offplan-badge {
  position: absolute; top: 16px; left: 16px;
  background: var(--copper); color: white;
  padding: 6px 12px; border-radius: var(--r-sm);
  font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em;
}
.offplan-handover {
  position: absolute; top: 16px; right: 16px;
  background: rgba(15,24,34,.7); color: white;
  padding: 6px 12px; border-radius: var(--r-sm); backdrop-filter: blur(8px);
  font-size: 11px; font-weight: 500; letter-spacing: 0.04em;
  white-space: nowrap;
}
.offplan-body { padding: 24px 26px 28px; display: flex; flex-direction: column; gap: 14px; flex: 1; }
.offplan-body .dev { font-size: 12px; color: rgba(255,255,255,.5); letter-spacing: 0.08em; text-transform: uppercase; }
.offplan-body h3 { color: white; }
.offplan-body .loc { font-size: 13px; color: rgba(255,255,255,.6); }
.offplan-rows { display: grid; grid-template-columns: 1fr 1fr; gap: 8px 18px; padding: 16px 0; border-top: 1px solid rgba(255,255,255,.08); border-bottom: 1px solid rgba(255,255,255,.08); }
.offplan-rows .lbl { font-size: 11px; color: rgba(255,255,255,.5); text-transform: uppercase; letter-spacing: 0.08em; }
.offplan-rows .val { font-size: 14px; color: white; margin-top: 2px; }
.offplan-rows .val em { color: var(--copper-2); font-style: normal; font-weight: 700; }
.offplan-cta { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-top: 6px; flex-wrap: wrap; }
.offplan-cta .price { font-size: 13px; color: rgba(255,255,255,.7); white-space: nowrap; }
.offplan-cta .price strong { color: white; font-weight: 700; font-size: 17px; }
.offplan-cta .btn { flex-shrink: 0; }

/* === Services === */
.svc-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; border: 1px solid var(--line); border-radius: var(--r-md); overflow: hidden; background: white; }
.svc {
  padding: 36px 30px 40px;
  border-right: 1px solid var(--line);
  display: flex; flex-direction: column; gap: 16px;
  transition: background .15s;
  cursor: pointer;
}
.svc:last-child { border-right: 0; }
.svc:hover { background: var(--cream); }
.svc:hover .svc-arrow { transform: translate(6px, -6px); opacity: 1; }
.svc-num { font-family: 'JetBrains Mono', monospace; font-size: 12px; color: var(--copper); letter-spacing: 0.1em; }
.svc h3 { font-size: 22px; }
.svc p { color: var(--ink-2); font-size: 14px; line-height: 1.55; margin: 0; flex: 1; }
.svc-arrow { display: inline-flex; opacity: .55; transition: all .2s ease; align-self: flex-start; color: var(--copper); }

/* === Mortgage calculator === */
.calc {
  display: grid; grid-template-columns: 1fr 1fr; gap: 0;
  border-radius: var(--r-md); overflow: hidden;
  background: var(--white);
  border: 1px solid var(--line);
}
.calc-left { padding: 48px 50px; display: flex; flex-direction: column; gap: 28px; }
.calc-right { background: var(--navy); color: white; padding: 48px 50px; display: flex; flex-direction: column; gap: 22px; }
.slider { display: flex; flex-direction: column; gap: 12px; }
.slider-head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; flex-wrap: wrap; }
.slider-head .lbl { white-space: nowrap; }
.slider-head .val { white-space: nowrap; }
.slider-head .lbl { font-size: 13px; color: var(--ink-2); font-weight: 700; }
.slider-head .val { font-size: 22px; color: var(--navy); font-weight: 400; letter-spacing: -0.01em; }
.slider-head .val em { font-style: normal; color: var(--copper); font-family: 'JetBrains Mono', monospace; font-size: 13px; font-weight: 500; margin-right: 4px; }
.range-wrap { position: relative; }
input[type="range"] {
  -webkit-appearance: none; appearance: none;
  width: 100%; height: 4px; border-radius: 2px;
  background: var(--line-strong); outline: none;
  cursor: pointer;
}
input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none; appearance: none;
  width: 22px; height: 22px; border-radius: 50%; background: var(--copper);
  cursor: pointer; transition: transform .15s; border: 3px solid white; box-shadow: 0 2px 8px rgba(183,110,60,.4);
}
input[type="range"]::-webkit-slider-thumb:hover { transform: scale(1.12); }
input[type="range"]::-moz-range-thumb { width: 22px; height: 22px; border-radius: 50%; background: var(--copper); border: 3px solid white; box-shadow: 0 2px 8px rgba(183,110,60,.4); cursor: pointer; }
.slider-bounds { display: flex; justify-content: space-between; font-size: 11px; color: var(--ink-3); letter-spacing: 0.06em; margin-top: 4px; }
.calc-right .lbl-sm { font-size: 12px; color: rgba(255,255,255,.55); letter-spacing: 0.12em; text-transform: uppercase; }
.calc-right .big {
  font-size: 56px; font-weight: 300; letter-spacing: -0.03em; line-height: 1;
}
.calc-right .big em { font-style: normal; font-family: 'JetBrains Mono', monospace; font-size: 18px; color: var(--copper-2); font-weight: 500; margin-right: 8px; }
.calc-breakdown { display: grid; grid-template-columns: 1fr 1fr; gap: 16px 24px; padding-top: 20px; border-top: 1px solid rgba(255,255,255,.08); }
.calc-breakdown .row .lbl { font-size: 11px; color: rgba(255,255,255,.55); text-transform: uppercase; letter-spacing: 0.1em; }
.calc-breakdown .row .v { font-size: 17px; color: white; margin-top: 4px; }
.calc-disclaimer { font-size: 11px; color: rgba(255,255,255,.4); line-height: 1.5; }
.calc-right .btn { margin-top: auto; }

/* === Why us === */
.why-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.why-cell { padding: 36px 32px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); display: flex; flex-direction: column; gap: 12px; background: white; }
.why-cell .ic { width: 40px; height: 40px; display: flex; align-items: center; justify-content: center; color: var(--copper); margin-bottom: 6px; }
.why-cell h4 { font-size: 18px; color: var(--navy); }
.why-cell p { margin: 0; color: var(--ink-2); font-size: 14px; line-height: 1.6; }

/* === Deals === */
.deals-table { background: white; border-radius: var(--r-md); border: 1px solid var(--line); overflow: hidden; }
.deals-row { display: grid; grid-template-columns: 1fr 1.4fr 0.8fr 1fr 0.8fr; gap: 20px; padding: 20px 28px; align-items: center; border-bottom: 1px solid var(--line); transition: background .15s; }
.deals-row.head { background: var(--cream); font-size: 11px; text-transform: uppercase; letter-spacing: 0.1em; color: var(--ink-2); font-weight: 700; }
.deals-row:last-child { border-bottom: 0; }
.deals-row:hover:not(.head) { background: var(--cream); }
.deals-row .dt { font-family: 'JetBrains Mono', monospace; font-size: 13px; color: var(--ink-2); }
.deals-row .prop { font-size: 15px; color: var(--navy); }
.deals-row .prop em { display: block; font-size: 12px; color: var(--ink-3); font-style: normal; margin-top: 2px; }
.deals-row .typ { font-size: 13px; color: var(--ink-2); }
.deals-row .val { font-size: 17px; color: var(--navy); font-weight: 400; }
.deals-row .val em { font-style: normal; color: var(--copper); font-family: 'JetBrains Mono', monospace; font-size: 12px; margin-right: 4px; }
.deals-row .tag { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; color: var(--success); font-weight: 700; }
.deals-row .tag::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }

/* === Team === */
.team-card {
  background: white;
  border-radius: var(--r-md); overflow: hidden;
  border: 1px solid var(--line);
  transition: all .22s;
}
.team-card:hover { border-color: var(--copper); transform: translateY(-3px); }
.team-photo { aspect-ratio: 1/1.05; position: relative; background: linear-gradient(160deg, var(--navy-2), var(--navy-3) 60%, var(--copper-3) 130%); display: flex; align-items: flex-end; justify-content: center; overflow: hidden; }
.team-photo .initials { font-size: 90px; font-weight: 300; color: rgba(255,255,255,.3); position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); letter-spacing: -0.02em; }
.team-photo .ph { position: absolute; bottom: 14px; left: 14px; right: 14px; color: rgba(255,255,255,.5); font-family: 'JetBrains Mono', monospace; font-size: 10px; letter-spacing: 0.04em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; z-index: 2; }
.team-photo::after {
  content: ''; position: absolute; inset: 0;
  background-image: linear-gradient(rgba(255,255,255,.03) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.03) 1px, transparent 1px);
  background-size: 32px 32px;
}
.team-body { padding: 22px 24px 26px; }
.team-body h4 { font-size: 18px; color: var(--navy); }
.team-body .ttl { font-size: 13px; color: var(--copper); margin-top: 4px; letter-spacing: 0.04em; }
.team-body .team-spec { font-size: 13px; color: var(--ink-2); margin-top: 14px; padding-top: 14px; border-top: 1px solid var(--line); line-height: 1.55; min-height: 60px; }
.team-body .stats { display: flex; gap: 18px; margin-top: 14px; padding-top: 14px; border-top: 1px solid var(--line); }
.team-body .stats .s { display: flex; flex-direction: column; }
.team-body .stats .v { font-size: 15px; color: var(--navy); font-weight: 700; }
.team-body .stats .l { font-size: 11px; color: var(--ink-3); letter-spacing: 0.06em; text-transform: uppercase; margin-top: 2px; }
.team-body .links { display: flex; gap: 10px; margin-top: 18px; }
.team-body .links a { width: 32px; height: 32px; border: 1px solid var(--line); border-radius: var(--r-sm); display: inline-flex; align-items: center; justify-content: center; color: var(--ink-2); transition: all .15s; }
.team-body .links a:hover { color: white; background: var(--navy); border-color: var(--navy); }

/* === Testimonials === */
.testi-bg { background: var(--cream-2); }
.testi-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.testi {
  background: white;
  padding: 32px 30px 28px;
  border-radius: var(--r-md);
  display: flex; flex-direction: column; gap: 18px;
  border: 1px solid var(--line);
}
.testi .stars { color: var(--copper); display: flex; gap: 2px; font-size: 14px; }
.testi blockquote { margin: 0; font-size: 16px; color: var(--navy); line-height: 1.55; flex: 1; }
.testi blockquote::before { content: '“'; font-family: 'Lato', serif; font-size: 60px; color: var(--copper); line-height: 0; vertical-align: -0.4em; margin-right: 6px; }
.testi .by { display: flex; align-items: center; gap: 12px; padding-top: 16px; border-top: 1px solid var(--line); }
.testi .by .av { width: 38px; height: 38px; border-radius: 50%; background: linear-gradient(135deg, var(--copper), var(--navy)); color: white; display: flex; align-items: center; justify-content: center; font-size: 13px; font-weight: 700; }
.testi .by .nm { font-size: 14px; color: var(--navy); font-weight: 700; }
.testi .by .role { font-size: 12px; color: var(--ink-2); margin-top: 2px; }

/* === Insights === */
.insights-carousel { position: relative; }
.insights-carousel-track {
  display: flex;
  gap: 24px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  scrollbar-width: none;
  padding-bottom: 4px;
}
.insights-carousel-track::-webkit-scrollbar { display: none; }
.insights-carousel-track > .insight-card {
  flex: 0 0 calc((100% - 48px) / 3);
  scroll-snap-align: start;
  min-width: 0;
}
.insights-carousel-nav {
  position: absolute; top: 40%; transform: translateY(-50%);
  width: 44px; height: 44px; border-radius: 50%;
  background: var(--white); color: var(--navy);
  border: 1px solid var(--line-strong);
  display: flex; align-items: center; justify-content: center;
  cursor: pointer; z-index: 3;
  box-shadow: var(--shadow);
  transition: background .15s ease, color .15s ease, border-color .15s ease, opacity .2s ease;
}
.insights-carousel-nav:hover { background: var(--navy); color: var(--white); border-color: var(--navy); }
.insights-carousel-nav.prev { left: -22px; }
.insights-carousel-nav.next { right: -22px; }
.insights-carousel-nav.prev svg { transform: rotate(180deg); }
.insights-carousel-nav[disabled] { opacity: 0; pointer-events: none; }
.insight-card { background: white; border: 1px solid var(--line); border-radius: var(--r-md); overflow: hidden; transition: all .22s; cursor: pointer; }
.insight-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-hover); }
.insight-img { aspect-ratio: 16/10; background: linear-gradient(135deg, var(--navy), var(--navy-2)); position: relative; }
.insight-img.v2 { background: linear-gradient(160deg, var(--navy-2), var(--copper-3) 130%); }
.insight-img.v3 { background: linear-gradient(200deg, var(--copper-3), var(--navy) 60%, var(--navy-3)); }
.insight-img::after { content: ''; position: absolute; inset: 0; background-image: linear-gradient(rgba(255,255,255,.03) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.03) 1px, transparent 1px); background-size: 32px 32px; }
.insight-cat { position: absolute; top: 14px; left: 14px; background: rgba(255,255,255,.92); color: var(--navy); padding: 5px 10px; border-radius: var(--r-sm); font-size: 11px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; z-index: 2; }
.insight-body { padding: 22px 24px 26px; display: flex; flex-direction: column; gap: 10px; }
.insight-meta { font-size: 12px; color: var(--ink-3); letter-spacing: 0.04em; }
.insight-body h4 { font-size: 19px; font-weight: 400; color: var(--navy); letter-spacing: -0.01em; line-height: 1.3; }
.insight-body p { font-size: 14px; color: var(--ink-2); margin: 0; }
.insight-link { font-size: 13px; color: var(--copper); font-weight: 700; margin-top: 8px; display: inline-flex; gap: 6px; align-items: center; }

/* === Lead capture === */
.lead {
  background:
    radial-gradient(900px 500px at 95% 105%, rgba(183,110,60,.42), transparent 60%),
    radial-gradient(700px 500px at 0% 0%, rgba(193,122,73,.18), transparent 55%),
    linear-gradient(160deg, var(--navy-3) 0%, var(--navy-2) 45%, #1a2e44 100%);
  color: white;
  border-radius: 0;
  overflow: hidden;
  display: grid; grid-template-columns: 1fr 1fr;
  position: relative;
}
.lead::after {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 1px;
  background: linear-gradient(90deg, transparent 0%, rgba(193,122,73,.5) 50%, transparent 100%);
  pointer-events: none;
}
.lead::before {
  content: ''; position: absolute; inset: 0;
  background-image:
    repeating-linear-gradient(0deg, rgba(255,255,255,.018) 0 1px, transparent 1px 80px),
    repeating-linear-gradient(90deg, rgba(255,255,255,.018) 0 1px, transparent 1px 80px);
  mask-image: radial-gradient(ellipse at 50% 50%, black 30%, transparent 80%);
  pointer-events: none;
}
.lead-left { padding: 110px 80px 110px clamp(40px, 6vw, 96px); position: relative; }
.lead-left .eyebrow { color: var(--copper-2); }
.lead-left h2 { color: white; margin-top: 22px; max-width: 480px; }
.lead-left p { color: rgba(255,255,255,.7); font-size: 17px; margin-top: 22px; max-width: 480px; line-height: 1.6; }
.lead-list { margin-top: 32px; display: flex; flex-direction: column; gap: 14px; max-width: 460px; }
.lead-list li { display: flex; gap: 14px; align-items: flex-start; font-size: 15px; color: rgba(255,255,255,.88); list-style: none; }
.lead-list .check { color: var(--copper-2); flex-shrink: 0; margin-top: 2px; }
.lead-list ul { margin: 0; padding: 0; }
.lead-right { background: rgba(255,255,255,.04); padding: 110px clamp(40px, 6vw, 96px) 110px 80px; position: relative; backdrop-filter: blur(10px); border-left: 1px solid rgba(255,255,255,.08); display: flex; flex-direction: column; justify-content: center; }
.lead-form { display: flex; flex-direction: column; gap: 16px; }
.lead-form .field { display: flex; flex-direction: column; gap: 6px; position: relative; }
.lead-form label { font-size: 11px; color: rgba(255,255,255,.55); text-transform: uppercase; letter-spacing: 0.12em; font-weight: 500; }
.lead-form input, .lead-form select, .lead-form textarea {
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.12);
  color: white; padding: 14px 16px; font-size: 15px; outline: none;
  border-radius: var(--r-sm);
  transition: border-color .15s, background .15s;
  width: 100%;
}
.lead-form input:focus, .lead-form select:focus, .lead-form textarea:focus { border-color: var(--copper); background: rgba(255,255,255,.06); }
.lead-form input::placeholder, .lead-form textarea::placeholder { color: rgba(255,255,255,.4); }
.lead-form .err { color: #ff8a72; font-size: 12px; margin-top: -4px; }
.lead-form .row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.lead-form select { appearance: none; padding-right: 36px; background-image: linear-gradient(45deg, transparent 50%, white 50%), linear-gradient(135deg, white 50%, transparent 50%); background-position: calc(100% - 20px) 50%, calc(100% - 14px) 50%; background-size: 6px 6px; background-repeat: no-repeat; }
.lead-form .btn { margin-top: 8px; width: 100%; padding: 18px; font-size: 15px; }
.lead-trust { font-size: 12px; color: rgba(255,255,255,.5); margin-top: 16px; display: flex; align-items: center; gap: 10px; line-height: 1.5; }
.lead-trust svg { flex-shrink: 0; color: var(--copper-2); }
.lead-success { padding: 40px 20px; text-align: center; }
.lead-success .ic { width: 64px; height: 64px; border-radius: 50%; background: rgba(45,122,79,.2); color: var(--success); display: inline-flex; align-items: center; justify-content: center; margin-bottom: 24px; }
.lead-success h3 { color: white; font-size: 28px; }
.lead-success p { color: rgba(255,255,255,.7); margin-top: 12px; }

/* === FAQ === */
.faq { width: 100%; margin: 0; }
#faq .container { max-width: 800px; }
#faq .section-head > div { flex-basis: 100%; max-width: 100%; }
#faq .section-head .lede { max-width: 100%; }
.faq-item {
  border-bottom: 1px solid var(--line-strong);
}
.faq-q {
  width: 100%; text-align: left;
  padding: 26px 4px;
  font-size: 20px; color: var(--navy); font-weight: 400; letter-spacing: -0.01em;
  display: flex; justify-content: space-between; align-items: center; gap: 24px;
  cursor: pointer;
}
.faq-q .plus { color: var(--copper); font-size: 22px; transition: transform .25s; flex-shrink: 0; }
.faq-item.open .faq-q .plus { transform: rotate(45deg); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height .35s ease, padding .35s ease; color: var(--ink-2); font-size: 15px; line-height: 1.7; padding: 0 4px; }
.faq-item.open .faq-a { max-height: 400px; padding: 0 4px 28px; }

/* === Footer === */
.footer {
  background: var(--navy-3);
  color: rgba(255,255,255,.75);
  padding-top: 80px;
}
.footer-grid { display: grid; grid-template-columns: 1fr 1fr 1fr; align-items: stretch; gap: 0; max-width: var(--maxw); margin: 0 auto; padding: 0 var(--pad); }
.footer-grid > div { padding: 0 48px; min-width: 0; display: flex; flex-direction: column; justify-content: center; }
.footer-grid > div + div { border-left: 2px solid rgba(255,255,255,.22); }
.footer-logo { align-items: center; }
.footer-logo img { height: 130px; width: auto; filter: brightness(1.05); }
.footer-brand { text-align: center; align-items: center; gap: 22px; }
.footer-brand p { font-size: 14px; font-weight: 300; line-height: 1.35; color: rgba(255,255,255,.75); margin: 0; max-width: 320px; }
.footer-contact { display: flex; flex-direction: column; gap: 10px; }
.footer h5 { font-size: 12px; color: white; letter-spacing: 0.16em; text-transform: uppercase; font-weight: 700; margin: 0; }
.footer-links { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 12px; font-size: 14px; }
.footer-links a:hover { color: var(--copper-2); }
.footer .contact-row { display: flex; flex-direction: column; gap: 8px; font-size: 14px; }
.footer .contact-row .item { display: flex; align-items: flex-start; gap: 12px; text-align: left; line-height: 1.35; }
.footer .contact-row .ic { color: var(--copper-2); flex-shrink: 0; margin-top: 2px; }
.footer .contact-row strong { color: white; font-weight: 700; }
.footer-disclaimer { max-width: var(--maxw); margin: 56px auto 0; padding: 24px var(--pad) 0; font-size: 12px; line-height: 1.65; color: rgba(255,255,255,.55); border-top: 1px solid rgba(255,255,255,.08); text-align: center; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.08); margin-top: 24px; padding: 24px var(--pad); max-width: var(--maxw); margin-left: auto; margin-right: auto; display: flex; justify-content: space-between; align-items: center; font-size: 12px; color: rgba(255,255,255,.45); gap: 16px; flex-wrap: wrap; }
.footer-bottom .badges { display: flex; gap: 18px; align-items: center; }
.footer-bottom .badge { display: inline-flex; align-items: center; gap: 8px; padding: 8px 12px; border: 1px solid rgba(255,255,255,.1); border-radius: var(--r-sm); font-family: 'Lato', system-ui, -apple-system, Segoe UI, sans-serif; font-size: 12px; font-weight: 400; letter-spacing: 0.06em; color: rgba(255,255,255,.7); }
.footer-bottom .badge strong { color: white; font-weight: 700; }

.socials { display: flex; gap: 8px; }
.footer-socials-row { display: flex; justify-content: center; padding: 20px var(--pad) 0; max-width: var(--maxw); margin: 0 auto; }
.socials a { width: 36px; height: 36px; border: 1px solid rgba(255,255,255,.15); display: inline-flex; align-items: center; justify-content: center; border-radius: var(--r-sm); transition: all .15s; }
.socials a:hover { background: var(--copper); border-color: var(--copper); color: white; }

/* === Sticky CTA === */
.sticky-cta { position: fixed; bottom: 24px; right: 24px; z-index: 90; display: flex; flex-direction: column; gap: 12px; }
.sticky-cta button { width: 56px; height: 56px; border-radius: 50%; background: var(--copper); color: white; box-shadow: 0 12px 30px -8px rgba(183,110,60,.6); display: flex; align-items: center; justify-content: center; transition: all .15s; position: relative; }
.sticky-cta button:hover { transform: scale(1.08); }
.sticky-cta .whatsapp { background: #25d366; box-shadow: 0 12px 30px -8px rgba(37,211,102,.5); }
.sticky-cta .tip { position: absolute; right: 70px; top: 50%; transform: translateY(-50%); background: var(--navy); color: white; padding: 8px 14px; border-radius: var(--r-sm); font-size: 13px; font-weight: 400; white-space: nowrap; opacity: 0; pointer-events: none; transition: opacity .15s; }
.sticky-cta button:hover .tip { opacity: 1; }
.sticky-cta .tip::after { content: ''; position: absolute; top: 50%; right: -5px; transform: translateY(-50%) rotate(45deg); width: 10px; height: 10px; background: var(--navy); }

/* === Modal === */
.modal-backdrop { position: fixed; inset: 0; background: rgba(15,24,34,.7); backdrop-filter: blur(8px); z-index: 100; display: flex; align-items: center; justify-content: center; padding: 24px; opacity: 0; pointer-events: none; transition: opacity .2s; }
.modal-backdrop.open { opacity: 1; pointer-events: auto; }
.modal { background: var(--cream); width: 100%; max-width: 560px; border-radius: var(--r-md); overflow: hidden; transform: translateY(20px); transition: transform .25s ease; box-shadow: 0 20px 60px rgba(0,0,0,.4); }
.modal-backdrop.open .modal { transform: translateY(0); }
.modal-head { padding: 32px 36px 18px; position: relative; }
.modal-head h3 { font-size: 24px; color: var(--navy); }
.modal-head p { color: var(--ink-2); margin: 10px 0 0; font-size: 15px; line-height: 1.5; }
.modal-close { position: absolute; top: 20px; right: 20px; width: 36px; height: 36px; border-radius: 50%; background: var(--cream-2); color: var(--navy); display: flex; align-items: center; justify-content: center; transition: all .15s; }
.modal-close:hover { background: var(--navy); color: white; }
.modal-body { padding: 0 36px 36px; }
.modal-form { display: flex; flex-direction: column; gap: 14px; }
.modal-form input, .modal-form select { background: white; border: 1px solid var(--line-strong); padding: 14px 16px; font-size: 15px; outline: none; border-radius: var(--r-sm); transition: border-color .15s; }
.modal-form input:focus, .modal-form select:focus { border-color: var(--copper); }
.modal-form .btn { padding: 16px; margin-top: 8px; }
.modal-form p { margin: 0; }

/* === Top Reasons === */
.reasons-bg { background: var(--cream-2); }
.reasons-bg .section-head h2 { max-width: none; white-space: nowrap; }
.reasons-bg .section-head .lede { max-width: 100%; }
.reasons-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; align-items: start; }
@media (max-width: 900px) {
  .reasons-bg .section-head h2 { white-space: normal; }
}
.reason {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  text-align: left;
  padding: 0;
  overflow: hidden;
  width: 100%;
  font-family: inherit;
  display: flex;
  flex-direction: column;
  cursor: pointer;
  transition: all .22s ease;
}
.reason:hover { transform: translateY(-3px); box-shadow: var(--shadow-hover); border-color: var(--line-strong); }
.reason.open { border-color: var(--copper); box-shadow: var(--shadow-hover); }
.reason-head { display: flex; align-items: center; gap: 20px; padding: 22px 26px; }
.reason.open .reason-head { padding-bottom: 12px; }
.reason-icon { color: var(--copper); display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0; width: 36px; height: 36px; border-radius: 50%; background: rgba(193, 122, 73, 0.12); animation: reasonIconPulse 2.4s ease-in-out infinite; }
@keyframes reasonIconPulse {
  0%, 100% { transform: scale(1);    box-shadow: 0 0 0 0   rgba(193, 122, 73, 0.35); }
  50%      { transform: scale(1.08); box-shadow: 0 0 0 8px rgba(193, 122, 73, 0); }
}
.reasons-grid .reason:nth-child(2n) .reason-icon { animation-delay: 1.2s; }
.reasons-grid .reason:nth-child(3n) .reason-icon { animation-delay: .6s; }
.reason-title { font-size: 18px; font-weight: 400; color: var(--navy); letter-spacing: -0.01em; flex: 1; }
.reason-plus { font-size: 26px; font-weight: 300; color: var(--copper); line-height: 1; flex-shrink: 0; width: 22px; text-align: center; transition: transform .25s ease; }
.reason.open .reason-plus { transform: rotate(45deg); }
.reason-body { max-height: 0; overflow: hidden; padding: 0 26px; transition: max-height .35s ease, padding .35s ease; }
.reason.open .reason-body { max-height: 360px; padding: 0 26px 24px; }
.reason-body p { margin: 0; color: var(--ink); font-size: 15px; line-height: 1.65; font-weight: 400; }

/* === Why Fit Capital === */
.wfc-bg { background: var(--navy); color: var(--white); }
.wfc { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; }
.wfc-bg .eyebrow { color: var(--copper-2); }
.wfc-left h2 { margin-top: 22px; max-width: 480px; color: var(--white); }
.wfc-left .wfc-lede { font-size: 19px; color: var(--white); line-height: 1.55; margin: 26px 0 18px; font-weight: 400; max-width: 520px; }
.wfc-left p { color: rgba(255,255,255,.78); margin: 0 0 14px; max-width: 520px; line-height: 1.65; font-size: 16px; }
.wfc-marks { display: flex; flex-direction: column; gap: 18px; margin-top: 36px; padding-top: 32px; border-top: 1px solid rgba(255,255,255,.15); max-width: 520px; }
.wfc-mark { display: flex; gap: 16px; align-items: flex-start; }
.wfc-mark svg { color: var(--copper-2); flex-shrink: 0; }
.wfc-mark strong { display: block; color: var(--white); font-size: 15px; font-weight: 700; }
.wfc-mark span { display: block; color: rgba(255,255,255,.72); font-size: 13px; margin-top: 4px; line-height: 1.5; }

.wfc-right { display: flex; justify-content: flex-end; }
.wfc-card {
  position: relative;
  width: 100%; max-width: 520px;
  aspect-ratio: 4/5;
  border-radius: var(--r-md);
  overflow: hidden;
  box-shadow: var(--shadow-hover);
}
.wfc-card-bg {
  position: absolute; inset: 0;
  background: linear-gradient(160deg, var(--cream) 0%, var(--cream-2) 50%, #e3d4c1 130%);
}
.wfc-card-bg::after {
  content: ''; position: absolute; inset: 0;
  background:
    linear-gradient(180deg, transparent 60%, rgba(15,24,34,.06) 100%),
    repeating-linear-gradient(0deg, rgba(15,24,34,.04) 0 1px, transparent 1px 56px),
    repeating-linear-gradient(90deg, rgba(15,24,34,.04) 0 1px, transparent 1px 56px);
}
.wfc-card-bd {
  position: absolute; inset: 0;
  display: flex; flex-direction: column; align-items: flex-start;
  padding: 44px 44px 48px;
  color: var(--navy);
}
.wfc-card-img {
  display: block;
  width: 60%;
  height: auto;
  align-self: center;
  margin: 12px 0 36px;
  border-radius: 4px;
  box-shadow: 0 18px 40px rgba(0,0,0,.35);
}
.wfc-card-cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 22px;
  color: var(--navy);
  text-decoration: none;
  font-size: 16px;
  line-height: 1.4;
  padding: 12px 18px;
  border: 1px solid rgba(15,24,34,.15);
  border-radius: var(--r-sm);
  background: rgba(255,255,255,.6);
  transition: background .2s ease, border-color .2s ease;
}
.wfc-card-cta:hover { background: var(--white); border-color: var(--copper); }
.wfc-card-cta svg { color: var(--copper); flex-shrink: 0; }
.wfc-card-cta strong { font-weight: 700; color: var(--copper); }
.wfc-tag {
  font-family: 'Lato', system-ui, -apple-system, Segoe UI, sans-serif;
  font-size: 12px; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.18em;
  color: var(--copper);
  margin-bottom: 18px;
  display: inline-flex; align-items: center; gap: 10px;
}
.wfc-tag::before { content: ''; display: inline-block; width: 24px; height: 1px; background: currentColor; }
.wfc-card-bd h3 { font-size: 28px; color: var(--navy); font-weight: 400; letter-spacing: -0.015em; line-height: 1.25; }

/* === Real Estate Safety === */
.safety-bg { background: var(--navy); color: white; }
.safety-bg .eyebrow { color: var(--copper-2); }
.safety-bg h2 { color: white; }
.safety-bg .section-head .lede { color: rgba(255,255,255,.7); }
.safety-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0; border-top: 1px solid rgba(255,255,255,.08); border-left: 1px solid rgba(255,255,255,.08); }
.safety-item {
  padding: 30px 32px;
  border-right: 1px solid rgba(255,255,255,.08);
  border-bottom: 1px solid rgba(255,255,255,.08);
  display: flex; gap: 18px; align-items: flex-start;
}
.safety-ic {
  flex-shrink: 0;
  width: 40px; height: 40px;
  border-radius: 50%;
  background: rgba(183,110,60,.15);
  color: var(--copper-2);
  display: flex; align-items: center; justify-content: center;
}
.safety-body h4 { font-size: 17px; color: white; font-weight: 700; }
.safety-body p { margin: 8px 0 0; font-size: 14px; color: rgba(255,255,255,.65); line-height: 1.6; }

/* === Developer Partners (proper section + marquee) === */
.devs-section {
  background: #fafafa;
  padding: clamp(40px, 5vw, 64px) 0;
  border-bottom: 1px solid var(--line);
  overflow: hidden;
}
.devs-head { max-width: 720px; margin-bottom: 32px; }
.devs-head h2 { font-size: clamp(22px, 2.2vw, 30px); margin-top: 12px; letter-spacing: -0.015em; }
.devs-lede { color: var(--ink); font-size: 16px; line-height: 1.6; margin-top: 14px; max-width: 720px; font-weight: 400; }

.devs-marquee {
  position: relative;
  width: 100%;
  overflow: hidden;
  padding: 12px 0;
  -webkit-mask-image: linear-gradient(90deg, transparent 0, black 6%, black 94%, transparent 100%);
          mask-image: linear-gradient(90deg, transparent 0, black 6%, black 94%, transparent 100%);
}
.devs-marquee:hover .devs-track { animation-play-state: paused; }
.devs-track {
  display: flex;
  gap: 14px;
  width: max-content;
  animation: devsScroll 50s linear infinite;
}
@keyframes devsScroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

.dev-card {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px 28px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  width: 170px;
  height: 78px;
  transition: all .25s ease;
  flex-shrink: 0;
}
.dev-card:hover {
  border-color: var(--copper);
  transform: translateY(-2px);
  box-shadow: 0 6px 16px -8px rgba(36,52,71,.25);
}
.dev-card img {
  max-width: 100%;
  max-height: 38px;
  width: auto;
  height: auto;
  object-fit: contain;
  filter: grayscale(1) brightness(0.45) contrast(1.15);
  opacity: 0.7;
  transition: all .25s ease;
}
.dev-card:hover img {
  filter: none;
  opacity: 1;
}

@media (max-width: 1100px) {
  .reasons-grid { grid-template-columns: 1fr; }
  .wfc { grid-template-columns: 1fr; gap: 36px; }
  /* Keep the desktop 4/5 portrait shape — the card just stretches to the column width. */
  .wfc-card { max-width: 100%; }
  .safety-grid { grid-template-columns: 1fr; }
  .devs-inner { grid-template-columns: 1fr; gap: 20px; }
  .devs-logos { justify-content: flex-start; gap: 12px 28px; }
}

@media (max-width: 700px) {
  /* Mobile keeps the desktop visual language (cream card, portrait photo, copper tag, CTA)
     but lets the card height grow with its content — so long DE/TR/BG titles never get
     clipped below the fold and the "Let's Talk" CTA is always visible.
     bd uses position:relative (NOT static) so it both drives the card's height AND paints
     above the absolutely-positioned .wfc-card-bg cream/grid layer. */
  .wfc-card { aspect-ratio: auto; min-height: 0; }
  .wfc-card-bd { position: relative; inset: auto; z-index: 1; padding: 30px 28px 32px; }
  .wfc-card-img { width: 72%; margin: 4px 0 22px; }
  .wfc-card-bd h3 {
    font-size: 19px;
    line-height: 1.3;
    word-wrap: break-word;
    overflow-wrap: break-word;
    hyphens: auto;
    max-width: 100%;
  }
  .wfc-tag { margin-bottom: 12px; font-size: 11px; letter-spacing: 0.16em; }
  .wfc-card-cta { margin-top: 18px; padding: 11px 16px; font-size: 14px; }
}
.flex { display: flex; }
.between { justify-content: space-between; }
.center { align-items: center; }
.gap-sm { gap: 8px; }

/* === Responsive === */
@media (max-width: 1100px) {
  .hero-inner { grid-template-columns: 1fr; gap: 36px; padding-top: 80px; padding-bottom: 80px; }
  .hero-right { justify-content: flex-start; }
  .hero-form { max-width: 100%; }
  .search-fields { grid-template-columns: 1fr 1fr; }
  .psearch-fields { grid-template-columns: 1fr 1fr; }
  .psearch-field { border-bottom: 1px solid var(--line-strong); }
  .psearch-go { grid-column: 1 / -1; padding: 16px; }
  .trust-strip .inner { grid-template-columns: repeat(2, 1fr); }
  .trust-strip .cell { border-right: 0; border-bottom: 1px solid var(--line); }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .prop-carousel-track > .prop-card { flex: 0 0 calc((100% - 24px) / 2); }
  .insights-carousel-track > .insight-card { flex: 0 0 calc((100% - 24px) / 2); }
  .comm-grid { grid-template-columns: repeat(2, 1fr); grid-template-rows: repeat(4, 220px); }
  .comm-card.wide, .comm-card.tall { grid-column: auto; grid-row: auto; }
  .svc-grid { grid-template-columns: 1fr 1fr; }
  .svc { border-right: 0; border-bottom: 1px solid var(--line); }
  .calc { grid-template-columns: 1fr; }
  .calc-left, .calc-right { padding: 36px 28px; }
  .why-grid { grid-template-columns: 1fr 1fr; }
  .deals-row { grid-template-columns: 1fr 1.4fr 1fr; padding: 18px 20px; }
  .deals-row .typ, .deals-row .tag { display: none; }
  .testi-grid { grid-template-columns: 1fr; }
  .lead { grid-template-columns: 1fr; }
  .lead-left, .lead-right { padding: 50px 28px; }
  .footer-grid { grid-template-columns: 1fr; gap: 36px; }
  .footer-grid > div { padding: 0; text-align: center; }
  .footer-grid > div + div { border-left: 0; border-top: 1px solid rgba(255,255,255,.12); padding-top: 36px; }
  .footer-logo, .footer-brand { align-items: center; }
  .footer-brand p { max-width: 480px; }
  .footer-contact { align-items: center; }
  .footer .contact-row .item { justify-content: center; }
  .reasons-grid { grid-template-columns: 1fr; }
  .wfc { grid-template-columns: 1fr; gap: 36px; }
  /* Preserve the desktop 4/5 portrait card on tablet/mobile too. */
  .wfc-card { max-width: 100%; }
  .safety-grid { grid-template-columns: 1fr; }
  .devs-inner { grid-template-columns: 1fr; gap: 24px; }
  .devs-logos { justify-content: flex-start; gap: 12px 28px; }
  .menu { display: none; }
}
@media (max-width: 900px) {
  .util-left .util-email { display: none; }
}

@media (max-width: 700px) {
  .search-fields { grid-template-columns: 1fr; }
  .psearch-fields { grid-template-columns: 1fr; }
  .hero-form-head, .hero-form-body { padding-left: 22px; padding-right: 22px; }
  .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .prop-carousel-track > .prop-card { flex: 0 0 85%; }
  .prop-carousel-nav { display: none; }
  .insights-carousel-track > .insight-card { flex: 0 0 85%; }
  .insights-carousel-nav { display: none; }
  .comm-grid { grid-template-columns: 1fr; grid-template-rows: repeat(8, 200px); }
  .svc-grid, .why-grid { grid-template-columns: 1fr; }
  .util { font-size: 11px; }
  .util-inner { padding: 8px var(--pad); gap: 10px; }
  .util-left { gap: 12px; }
  .util-right { gap: 12px; }
  .util-right .hide-sm { display: none; }
  .footer-grid { grid-template-columns: 1fr; }
  h1 { font-size: 38px; line-height: 1.08; }
  .hero-sub { font-size: 16px; margin-top: 18px; line-height: 1.55; }
  .hero-benefits-title { font-size: 18px; margin-top: 24px; }
  .hero-benefits { margin-top: 14px; gap: 12px; }
  .hero-benefits li { font-size: 17px; }
  .hero-inner { padding-top: 40px; padding-bottom: 40px; gap: 28px; }
  .deals-row { grid-template-columns: 1fr 1fr; }
  .deals-row .dt { display: none; }
}

/* === Contact Form 7 overrides ===
 * The form selectors above intentionally style ALL inputs, but CF7 emits
 * `<input type="submit">` for submit buttons — we don't want those to look
 * like text fields, and we want our .btn / .btn-primary classes to win.
 */
.hero-form-body input[type="submit"],
.lead-form input[type="submit"],
.modal-form input[type="submit"] {
  background: var(--copper);
  color: var(--white);
  border: 0;
  padding: 16px 22px;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.02em;
  border-radius: var(--r-sm);
  cursor: pointer;
  transition: background .18s ease, transform .18s ease, box-shadow .18s ease;
  width: 100%;
  margin-top: 8px;
}
.hero-form-body input[type="submit"]:hover,
.lead-form input[type="submit"]:hover,
.modal-form input[type="submit"]:hover {
  background: var(--copper-3);
  transform: translateY(-1px);
  box-shadow: 0 8px 20px -8px rgba(183, 110, 60, .6);
}
.lead-form input[type="submit"] { padding: 18px; }

/* CF7 wrapper paragraphs add unwanted vertical margin — flatten everywhere,
 * including nested <p>s that wpautop injects inside .field divs.
 */
.hero-form-body p,
.lead-form p,
.modal-form p { margin: 0; }
.hero-form-body form,
.lead-form form,
.modal-form form { display: flex; flex-direction: column; gap: 16px; }
.hero-form-body .field,
.lead-form .field,
.modal-form .field { display: flex; flex-direction: column; gap: 6px; }
.hero-form-body .field > p,
.lead-form .field > p,
.modal-form .field > p { display: contents; }

/* CF7 form-control wrapper spans break our field layout — make them block. */
.wpcf7-form-control-wrap { display: block; }

/* CF7 validation messages — match the design's .err styling. */
.wpcf7-not-valid-tip {
  color: #c4452a;
  font-size: 12px;
  margin-top: 4px;
  font-weight: 700;
  display: block;
}
.lead-form .wpcf7-not-valid-tip { color: #ff8a72; }
.wpcf7-response-output {
  border: 1px solid var(--line-strong) !important;
  padding: 12px 14px !important;
  margin: 12px 0 0 !important;
  border-radius: var(--r-sm);
  font-size: 13px;
}
.wpcf7-spinner { display: inline-block; vertical-align: middle; }

/* Modal close button — ensure it stays above the form. */
.modal-close { z-index: 5; }
.modal-close svg { pointer-events: none; }

/* === Modal form polish ===
 * The base .modal-form input styles in the design are minimal — they assume
 * a tight placeholder-only layout. We give the modal proper labels + full-width
 * fields + the same focus/error treatment as the hero/lead forms.
 */
.modal-form input,
.modal-form select,
.modal-form textarea {
  width: 100%;
  display: block;
}
.modal-form .field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.modal-form .field label {
  font-size: 11px;
  color: var(--ink-2);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-weight: 700;
  margin: 0;
}
.modal-form input:focus,
.modal-form select:focus,
.modal-form textarea:focus {
  border-color: var(--copper);
  background: var(--white);
  box-shadow: 0 0 0 3px rgba(183, 110, 60, 0.12);
}
.modal-form input::placeholder { color: var(--ink-3); }
.modal-form .wpcf7-not-valid-tip { margin-top: 4px; }

/* Bring back hero/lead focus shadow too — consistent affordance. */
.hero-form-body input:focus,
.hero-form-body select:focus {
  box-shadow: 0 0 0 3px rgba(183, 110, 60, 0.12);
}
.lead-form input:focus,
.lead-form select:focus,
.lead-form textarea:focus {
  box-shadow: 0 0 0 3px rgba(183, 110, 60, 0.15);
}

/* Subtle divider before the trust footer below the form. */
.modal-form > div[style*="font-size: 12px"] {
  margin-top: 16px !important;
  padding-top: 14px;
  border-top: 1px solid var(--line);
}

/* Hero headline — 10% smaller than the global h1 clamp(40px, 5.6vw, 76px). */
.hero h1 { font-size: clamp(36px, 5vw, 68px); }

/* === Mobile nav toggle (hamburger) ===
 * Hidden on desktop. Below 1100px, the toggle appears and the .menu becomes a
 * dropdown panel that slides down from under the nav bar when open.
 */
.nav-toggle { display: none; }
.nav-toggle-icon { display: inline-flex; align-items: center; justify-content: center; line-height: 0; }
.nav-toggle-close { display: none; }

@media (max-width: 1100px) {
  .nav-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    color: white;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: var(--r-sm);
    transition: background .15s ease;
  }
  .nav-toggle:hover { background: rgba(255, 255, 255, 0.12); }
  .nav.is-open .nav-toggle-menu { display: none; }
  .nav.is-open .nav-toggle-close { display: inline-flex; }

  /* Dropdown menu panel. The base .menu rule sets display:none at this
   * breakpoint — we override that here. */
  .menu {
    display: flex;
    flex-direction: column;
    gap: 0;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--navy);
    padding: 8px var(--pad) 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 16px 32px -8px rgba(0, 0, 0, 0.4);
    max-height: 0;
    overflow: hidden;
    transition: max-height .28s ease, padding .28s ease;
    padding-top: 0;
    padding-bottom: 0;
  }
  .nav.is-open .menu {
    max-height: 80vh;
    padding-top: 8px;
    padding-bottom: 20px;
    overflow-y: auto;
  }
  /* When the sticky nav is in its glass state, the drop-down drawer matches —
     so the whole header reads as one continuous frosted panel.
     Slightly more opaque than the nav (0.78 vs 0.62) so menu items stay legible. */
  .nav.is-scrolled .menu {
    background: rgba(15, 24, 34, 0.78);
    -webkit-backdrop-filter: blur(24px) saturate(180%);
    backdrop-filter: blur(24px) saturate(180%);
    border-top-color: rgba(255, 255, 255, 0.08);
  }
  @supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
    .nav.is-scrolled .menu { background: var(--navy); }
  }
  .menu a {
    padding: 16px 4px;
    font-size: 16px;
    color: rgba(255, 255, 255, 0.85);
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 0;
  }
  .menu a:last-child { border-bottom: 0; }
  .menu a:hover { color: var(--copper-2); }

  /* Hide the desktop "Book Investment Call" CTA on tablet to make room for
   * the hamburger — it remains accessible from the dropdown's footer CTA below. */
  .nav-cta .btn { display: none; }
}

@media (max-width: 700px) {
  .nav-inner { height: 80px; gap: 12px; }
  .brand img { height: 70px; }
}

/* === Single Community page === */
.community-single { color: var(--ink); }

.community-hero {
  position: relative;
  background: var(--navy-2);
  color: var(--white);
  padding: clamp(80px, 12vw, 160px) 0 clamp(56px, 8vw, 100px);
  min-height: 60vh;
  display: flex; align-items: flex-end;
}
.community-hero .container { width: 100%; max-width: var(--maxw); }
.community-breadcrumb { font-size: 13px; color: rgba(255,255,255,.7); margin-bottom: 24px; display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.community-breadcrumb a { color: rgba(255,255,255,.7); }
.community-breadcrumb a:hover { color: var(--copper-2); }
.community-breadcrumb span[aria-hidden] { opacity: .5; }
.community-hero h1 { color: var(--white); font-size: clamp(40px, 6vw, 84px); letter-spacing: -0.025em; line-height: 1.05; margin: 0; }
.community-tagline { color: rgba(255,255,255,.85); font-size: clamp(18px, 1.6vw, 22px); line-height: 1.5; margin: 18px 0 0; max-width: 720px; }
.community-stats { list-style: none; padding: 36px 0 0; margin: 0; display: flex; flex-wrap: wrap; gap: 16px 56px; }
.community-stats li { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.community-stats .v { color: var(--copper-2); font-size: clamp(22px, 2vw, 28px); font-weight: 700; letter-spacing: -0.01em; }
.community-stats .l { color: rgba(255,255,255,.65); font-size: 12px; text-transform: uppercase; letter-spacing: 0.12em; }

.community-about,
.community-facts,
.community-amenities { padding: clamp(56px, 7vw, 100px) 0; }
.community-about { background: var(--cream); }
.community-facts { background: var(--cream-2); }
.community-amenities { background: var(--cream); }

.community-grid { display: grid; grid-template-columns: 220px 1fr; gap: 40px 80px; align-items: start; }
.community-grid-head .eyebrow { display: inline-flex; }

.community-prose { color: var(--ink); font-size: 17px; line-height: 1.7; max-width: 760px; }
.community-prose p { margin: 0 0 16px; }
.community-prose p:last-child { margin-bottom: 0; }
.community-prose h2, .community-prose h3 { color: var(--navy); margin: 28px 0 12px; }
.community-prose a { color: var(--copper); text-decoration: underline; }

.community-facts-list { display: grid; grid-template-columns: 1fr 1fr; gap: 28px 48px; margin: 0; }
.community-facts-list > div { display: flex; flex-direction: column; gap: 4px; }
.community-facts-list dt { font-size: 11px; text-transform: uppercase; letter-spacing: 0.14em; color: var(--ink-3); font-weight: 700; }
.community-facts-list dd { margin: 0; color: var(--navy); font-size: 16px; line-height: 1.55; font-weight: 400; }
.community-facts-list dd p { margin: 0; }
.community-map { margin-top: 32px; border-radius: var(--r-md); overflow: hidden; aspect-ratio: 16/9; background: var(--cream); }
.community-map iframe { width: 100%; height: 100%; border: 0; display: block; }

.community-amenities-list { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 14px 24px; }
.community-amenities-list li { display: flex; align-items: center; gap: 14px; color: var(--navy); font-size: 15px; padding: 14px 18px; background: var(--white); border: 1px solid var(--line); border-radius: var(--r-sm); }
.community-amenities-list .ic { color: var(--copper); display: inline-flex; }

.community-props { padding: clamp(56px, 7vw, 100px) 0; background: var(--cream-2); }
.community-offplan { padding: clamp(56px, 7vw, 100px) 0; }
.community-faq { padding: clamp(56px, 7vw, 100px) 0; background: var(--cream); }
.community-faq .faq { max-width: 920px; margin: 0 auto; }

.community-cta { padding: clamp(56px, 7vw, 100px) 0; background: var(--navy); color: var(--white); }
.community-cta-inner { max-width: 720px; margin: 0 auto; text-align: center; display: flex; flex-direction: column; gap: 20px; align-items: center; }
.community-cta h2 { color: var(--white); }
.community-cta p { color: rgba(255,255,255,.75); font-size: 17px; line-height: 1.6; margin: 0; }

.community-related { padding: clamp(56px, 7vw, 100px) 0; background: var(--cream); }
.community-related-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.community-related-grid .comm-card { aspect-ratio: 4/3; }

@media (max-width: 900px) {
  .community-grid { grid-template-columns: 1fr; gap: 16px; }
  .community-facts-list { grid-template-columns: 1fr; }
  .community-related-grid { grid-template-columns: 1fr; }
  .community-stats { gap: 12px 32px; }
}

/* === Single Property page === */
.property-single { color: var(--ink); }

.property-hero {
  position: relative;
  background: var(--navy-2);
  color: var(--white);
  padding: clamp(80px, 12vw, 160px) 0 clamp(48px, 6vw, 80px);
  min-height: 60vh;
  display: flex; align-items: flex-end;
}
.property-hero .container { width: 100%; max-width: var(--maxw); }
.property-breadcrumb { font-size: 13px; color: rgba(255,255,255,.7); margin-bottom: 24px; display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.property-breadcrumb a { color: rgba(255,255,255,.7); }
.property-breadcrumb a:hover { color: var(--copper-2); }
.property-breadcrumb span[aria-hidden] { opacity: .5; }
.property-hero .prop-tag { position: static; display: inline-block; margin-bottom: 16px; }
.property-hero h1 { color: var(--white); font-size: clamp(32px, 4.4vw, 56px); letter-spacing: -0.02em; line-height: 1.1; margin: 0; max-width: 880px; }
.property-loc-line { color: rgba(255,255,255,.85); font-size: 16px; margin: 14px 0 0; display: inline-flex; align-items: center; gap: 8px; }
.property-keystats { display: flex; flex-wrap: wrap; gap: 16px 36px; margin-top: 32px; align-items: center; }
.property-keystats > span { color: rgba(255,255,255,.85); display: inline-flex; align-items: center; gap: 8px; font-size: 15px; }
.property-keystats strong { color: var(--white); font-weight: 700; font-size: 18px; }
.property-keystats .property-price { color: var(--copper-2); font-size: 26px; font-weight: 700; letter-spacing: -0.01em; margin-left: auto; }
.property-keystats .property-price em { font-style: normal; font-size: 13px; color: rgba(255,255,255,.7); font-weight: 400; margin-right: 6px; }

.property-gallery { padding: 0 0 clamp(40px, 5vw, 64px); background: var(--cream); }
.property-gallery-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; grid-template-rows: 1fr 1fr; gap: 12px; height: clamp(360px, 50vw, 600px); margin-top: -clamp(40px, 5vw, 64px); }
.property-gallery-tile { display: block; background-size: cover; background-position: center; border-radius: var(--r-md); overflow: hidden; transition: transform .25s ease, filter .25s ease; }
.property-gallery-tile:hover { transform: scale(1.01); filter: brightness(1.05); }
.property-gallery-tile:first-child { grid-row: span 2; }

.property-body { padding: clamp(56px, 7vw, 100px) 0; background: var(--cream); }
.property-body-grid { display: grid; grid-template-columns: 1fr 360px; gap: 56px; align-items: start; }
.property-body-main { display: flex; flex-direction: column; gap: clamp(40px, 5vw, 64px); }
.property-block h2 { font-size: clamp(22px, 2.2vw, 30px); color: var(--navy); letter-spacing: -0.015em; margin: 0 0 22px; }

.property-prose { color: var(--ink); font-size: 16px; line-height: 1.7; }
.property-prose p { margin: 0 0 16px; }
.property-prose p:last-child { margin: 0; }
.property-prose h3 { color: var(--navy); margin: 24px 0 10px; font-size: 20px; }

.property-specs { display: grid; grid-template-columns: 1fr 1fr; gap: 18px 36px; margin: 0; }
.property-specs > div { display: flex; flex-direction: column; gap: 4px; padding-bottom: 16px; border-bottom: 1px solid var(--line); }
.property-specs dt { font-size: 11px; text-transform: uppercase; letter-spacing: 0.14em; color: var(--ink-3); font-weight: 700; }
.property-specs dd { margin: 0; color: var(--navy); font-size: 16px; font-weight: 400; }

.property-features { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 12px 24px; }
.property-features li { display: flex; align-items: center; gap: 12px; color: var(--navy); font-size: 15px; padding: 12px 16px; background: var(--white); border: 1px solid var(--line); border-radius: var(--r-sm); }
.property-features .ic { color: var(--copper); display: inline-flex; }

.property-investment { background: var(--navy); color: var(--white); padding: clamp(32px, 4vw, 48px); border-radius: var(--r-md); }
.property-investment h2 { color: var(--white); }
.property-invest-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.property-invest-grid .card { background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.1); border-radius: var(--r-sm); padding: 18px 18px; display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.property-invest-grid .l { font-size: 11px; text-transform: uppercase; letter-spacing: 0.14em; color: rgba(255,255,255,.6); font-weight: 700; }
.property-invest-grid .v { font-size: clamp(17px, 1.5vw, 22px); font-weight: 700; color: var(--copper-2); letter-spacing: -0.01em; word-break: break-word; }
@media (max-width: 1100px) {
  .property-invest-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 480px) {
  .property-invest-grid { grid-template-columns: 1fr; }
}
.property-invest-notes { color: rgba(255,255,255,.7); font-size: 14px; line-height: 1.6; margin: 20px 0 0; }

.property-floorplan { display: block; background: var(--white); border: 1px solid var(--line); border-radius: var(--r-md); overflow: hidden; padding: 24px; }
.property-floorplan img { width: 100%; height: auto; display: block; }

.property-map { border-radius: var(--r-md); overflow: hidden; aspect-ratio: 16/9; background: var(--cream-2); }
.property-map iframe { width: 100%; height: 100%; border: 0; display: block; }

.property-aside { position: sticky; top: 120px; }
.property-aside-card { background: var(--white); border: 1px solid var(--line); border-radius: var(--r-md); padding: 28px; display: flex; flex-direction: column; gap: 18px; box-shadow: var(--shadow); }
.property-aside-price { display: flex; flex-direction: column; gap: 4px; }
.property-aside-price em { font-style: normal; font-size: 12px; color: var(--ink-3); font-weight: 700; text-transform: uppercase; letter-spacing: 0.1em; }
.property-aside-price strong { font-size: 32px; color: var(--navy); font-weight: 700; letter-spacing: -0.02em; }
.property-aside-ppsf { font-size: 13px; color: var(--ink-2); margin-top: -8px; }
.property-aside-cta { width: 100%; padding: 16px; }
.property-aside-agent { display: flex; align-items: center; gap: 14px; padding-top: 18px; border-top: 1px solid var(--line); }
.property-aside-agent .av { width: 44px; height: 44px; border-radius: 50%; background: var(--navy); color: var(--white); display: inline-flex; align-items: center; justify-content: center; font-weight: 700; font-size: 14px; letter-spacing: 0.04em; }
.property-aside-agent .meta { display: flex; flex-direction: column; gap: 2px; }
.property-aside-agent .l { font-size: 11px; text-transform: uppercase; letter-spacing: 0.12em; color: var(--ink-3); font-weight: 700; }
.property-aside-agent .n { font-size: 15px; color: var(--navy); font-weight: 700; }
.property-aside-trust { list-style: none; padding: 16px 0 0; margin: 0; border-top: 1px solid var(--line); display: flex; flex-direction: column; gap: 8px; }
.property-aside-trust li { display: flex; align-items: center; gap: 10px; font-size: 13px; color: var(--ink-2); }
.property-aside-trust .fc-icon { color: var(--copper); }

.property-similar { padding: clamp(56px, 7vw, 100px) 0; background: var(--cream-2); }

.property-cta { padding: clamp(56px, 7vw, 100px) 0; background: var(--navy); color: var(--white); }
.property-cta-inner { max-width: 720px; margin: 0 auto; text-align: center; display: flex; flex-direction: column; gap: 20px; align-items: center; }
.property-cta h2 { color: var(--white); }
.property-cta p { color: rgba(255,255,255,.75); font-size: 17px; line-height: 1.6; margin: 0; }

@media (max-width: 1000px) {
  .property-body-grid { grid-template-columns: 1fr; }
  .property-aside { position: static; }
  .property-gallery-grid { grid-template-columns: 1fr 1fr; grid-template-rows: auto; height: auto; aspect-ratio: auto; }
  .property-gallery-tile { aspect-ratio: 4/3; }
  .property-gallery-tile:first-child { grid-row: auto; grid-column: span 2; aspect-ratio: 16/9; }
}
@media (max-width: 700px) {
  .property-specs { grid-template-columns: 1fr; }
  .property-keystats .property-price { margin-left: 0; font-size: 22px; }
  .property-gallery-grid { grid-template-columns: 1fr; }
  .property-gallery-tile, .property-gallery-tile:first-child { grid-column: auto; aspect-ratio: 16/9; }
}

/* === CPT archive pages === */
.archive-hero { background: var(--navy); color: var(--white); padding: clamp(72px, 9vw, 120px) 0 clamp(48px, 6vw, 80px); }
.archive-hero .container { max-width: var(--maxw); }
.archive-hero h1 { color: var(--white); font-size: clamp(40px, 5vw, 64px); letter-spacing: -0.025em; line-height: 1.05; margin: 16px 0 0; max-width: 880px; }
.archive-hero .eyebrow { color: var(--copper-2); }
.archive-lede { color: rgba(255,255,255,.78); font-size: clamp(15px, 1.3vw, 18px); line-height: 1.6; margin: 18px 0 0; max-width: 680px; }

.archive-filters { background: var(--cream-2); border-bottom: 1px solid var(--line); padding: 18px 0; position: sticky; top: 0; z-index: 40; }
.archive-filter-form { display: flex; align-items: center; gap: 18px 24px; flex-wrap: wrap; }
.archive-filter-group { display: flex; align-items: center; gap: 10px; }
.archive-filter-group label { font-size: 12px; text-transform: uppercase; letter-spacing: 0.12em; color: var(--ink-3); font-weight: 700; }
.archive-filter-group select { background: var(--white); border: 1px solid var(--line-strong); border-radius: var(--r-sm); padding: 10px 36px 10px 14px; font-size: 14px; color: var(--navy); cursor: pointer; appearance: none; min-width: 180px; background-image: linear-gradient(45deg, transparent 50%, var(--navy) 50%), linear-gradient(135deg, var(--navy) 50%, transparent 50%); background-position: calc(100% - 18px) calc(50% - 3px), calc(100% - 14px) calc(50% - 3px); background-size: 4px 4px, 4px 4px; background-repeat: no-repeat; }
.archive-filter-group select:focus { outline: 2px solid var(--copper); outline-offset: -1px; }
.archive-filter-clear { font-size: 13px; color: var(--copper); text-decoration: underline; }
.archive-filter-clear:hover { color: var(--copper-3); }

.archive-results { padding: clamp(40px, 5vw, 64px) 0 clamp(64px, 8vw, 96px); background: var(--cream); }
.archive-count { font-size: 13px; color: var(--ink-2); margin-bottom: 22px; letter-spacing: 0.04em; }
.archive-grid { margin-top: 0; }

.archive-pagination { margin-top: clamp(40px, 4vw, 56px); }
.archive-pagination ul { list-style: none; padding: 0; margin: 0; display: flex; gap: 8px; flex-wrap: wrap; justify-content: center; }
.archive-pagination a, .archive-pagination span { display: inline-flex; align-items: center; justify-content: center; min-width: 40px; height: 40px; padding: 0 14px; border: 1px solid var(--line-strong); border-radius: var(--r-sm); color: var(--navy); font-size: 14px; font-weight: 700; background: var(--white); transition: all .15s; }
.archive-pagination a:hover { background: var(--navy); color: var(--white); border-color: var(--navy); }
.archive-pagination .current { background: var(--navy); color: var(--white); border-color: var(--navy); }
.archive-pagination .dots { background: transparent; border-color: transparent; }

.archive-empty { background: var(--white); border: 1px dashed var(--line-strong); border-radius: var(--r-md); padding: clamp(40px, 5vw, 64px); text-align: center; display: flex; flex-direction: column; gap: 18px; align-items: center; }
.archive-empty p { color: var(--ink-2); font-size: 16px; line-height: 1.6; max-width: 540px; margin: 0; }

/* Communities archive grid (cover-image cards) */
.archive-communities-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.archive-community-card { display: flex; flex-direction: column; justify-content: flex-end; aspect-ratio: 4/5; background: var(--navy-2); color: var(--white); border-radius: var(--r-md); overflow: hidden; padding: 28px; transition: transform .25s ease, box-shadow .25s ease; position: relative; }
.archive-community-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-hover); }
.archive-community-card svg { position: absolute; inset: 0; width: 100%; height: 100%; opacity: .25; }
.archive-community-bd { position: relative; z-index: 1; display: flex; flex-direction: column; gap: 8px; }
.archive-community-bd h3 { color: var(--white); font-size: clamp(22px, 2vw, 30px); letter-spacing: -0.015em; margin: 0; }
.archive-community-tag { color: rgba(255,255,255,.85); font-size: 14px; line-height: 1.5; margin: 0; }
.archive-community-meta { display: flex; gap: 16px; flex-wrap: wrap; margin-top: 8px; }
.archive-community-meta span { font-size: 12px; color: rgba(255,255,255,.7); letter-spacing: 0.04em; }
.archive-community-meta strong { color: var(--copper-2); font-weight: 700; }

@media (max-width: 1000px) {
  .archive-communities-grid { grid-template-columns: repeat(2, 1fr); }
  .archive-filters { position: static; }
  .archive-filter-group select { min-width: 0; flex: 1; }
}
@media (max-width: 600px) {
  .archive-communities-grid { grid-template-columns: 1fr; }
  .archive-filter-form { gap: 12px; }
  .archive-filter-group { width: 100%; flex-direction: column; align-items: stretch; gap: 6px; }
}

/* === Single Off-Plan page === */
.offplan-single { color: var(--ink); }

.offplan-hero-single { position: relative; background: var(--navy-2); color: var(--white); padding: clamp(80px, 12vw, 160px) 0 clamp(48px, 6vw, 80px); min-height: 60vh; display: flex; align-items: flex-end; }
.offplan-hero-single .container { width: 100%; max-width: var(--maxw); }
.offplan-breadcrumb { font-size: 13px; color: rgba(255,255,255,.7); margin-bottom: 24px; display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.offplan-breadcrumb a { color: rgba(255,255,255,.7); }
.offplan-breadcrumb a:hover { color: var(--copper-2); }
.offplan-developer-badge { display: inline-block; background: rgba(193,122,73,.18); border: 1px solid rgba(193,122,73,.4); color: var(--copper-2); padding: 6px 14px; border-radius: var(--r-sm); font-size: 12px; text-transform: uppercase; letter-spacing: 0.12em; font-weight: 700; margin-bottom: 16px; }
.offplan-hero-single h1 { color: var(--white); font-size: clamp(34px, 4.6vw, 60px); letter-spacing: -0.02em; line-height: 1.08; margin: 0; max-width: 880px; }
.offplan-tagline { color: rgba(255,255,255,.88); font-size: clamp(16px, 1.4vw, 20px); line-height: 1.5; margin: 14px 0 0; max-width: 720px; }
.offplan-loc-line { color: rgba(255,255,255,.85); font-size: 15px; margin: 14px 0 0; display: inline-flex; align-items: center; gap: 8px; }

.offplan-keystats { list-style: none; padding: 0; margin: 36px 0 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 18px 32px; }
.offplan-keystats li { display: flex; flex-direction: column; gap: 4px; }
.offplan-keystats .l { font-size: 11px; text-transform: uppercase; letter-spacing: 0.12em; color: rgba(255,255,255,.65); font-weight: 700; }
.offplan-keystats .v { color: var(--white); font-size: clamp(17px, 1.5vw, 22px); font-weight: 700; letter-spacing: -0.01em; }
.offplan-keystats .v em { font-style: normal; font-size: 12px; color: rgba(255,255,255,.7); font-weight: 400; margin-right: 4px; }

.offplan-gallery { padding: 0 0 clamp(40px, 5vw, 64px); background: var(--cream); }
.offplan-gallery-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; grid-template-rows: 1fr 1fr; gap: 12px; height: clamp(360px, 50vw, 600px); margin-top: -clamp(40px, 5vw, 64px); }
.offplan-gallery-tile { display: block; background-size: cover; background-position: center; border-radius: var(--r-md); overflow: hidden; transition: transform .25s ease, filter .25s ease; }
.offplan-gallery-tile:hover { transform: scale(1.01); filter: brightness(1.05); }
.offplan-gallery-tile:first-child { grid-row: span 2; }

.offplan-single .offplan-single-body { padding: clamp(56px, 7vw, 100px) 0; background: var(--cream); }
.offplan-single .offplan-body-grid { display: grid; grid-template-columns: 1fr 360px; gap: 56px; align-items: start; }
.offplan-single .offplan-body-main { display: flex; flex-direction: column; gap: clamp(40px, 5vw, 64px); }
.offplan-single .offplan-block h2 { font-size: clamp(22px, 2.2vw, 30px); color: var(--navy); letter-spacing: -0.015em; margin: 0 0 22px; }

.offplan-prose { color: var(--ink); font-size: 16px; line-height: 1.7; }
.offplan-prose p { margin: 0 0 16px; }
.offplan-prose p:last-child { margin: 0; }

.offplan-specs { display: grid; grid-template-columns: 1fr 1fr; gap: 18px 36px; margin: 0; }
.offplan-specs > div { display: flex; flex-direction: column; gap: 4px; padding-bottom: 16px; border-bottom: 1px solid var(--line); }
.offplan-specs dt { font-size: 11px; text-transform: uppercase; letter-spacing: 0.14em; color: var(--ink-3); font-weight: 700; }
.offplan-specs dd { margin: 0; color: var(--navy); font-size: 16px; font-weight: 400; }

.offplan-paymentplan-headline { color: var(--ink-2); font-size: 14px; letter-spacing: 0.04em; margin: 0 0 16px; }
.offplan-milestones { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 12px; counter-reset: ms; }
.offplan-milestones li { display: grid; grid-template-columns: auto 80px 1fr; align-items: center; gap: 18px; padding: 18px 22px; background: var(--white); border: 1px solid var(--line); border-radius: var(--r-sm); }
.offplan-milestones .step { font-family: 'JetBrains Mono', monospace; font-size: 12px; color: var(--copper); letter-spacing: 0.1em; font-weight: 500; }
.offplan-milestones .pct { font-size: 22px; color: var(--navy); font-weight: 700; letter-spacing: -0.01em; }
.offplan-milestones .when { color: var(--ink-2); font-size: 14px; line-height: 1.5; }

.offplan-features { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 12px 24px; }
.offplan-features li { display: flex; align-items: center; gap: 12px; color: var(--navy); font-size: 15px; padding: 12px 16px; background: var(--white); border: 1px solid var(--line); border-radius: var(--r-sm); }
.offplan-features .ic { color: var(--copper); display: inline-flex; }

.offplan-floorplans { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 18px; }
.offplan-floorplan { display: flex; flex-direction: column; gap: 12px; background: var(--white); border: 1px solid var(--line); border-radius: var(--r-md); padding: 18px; }
.offplan-floorplan img { width: 100%; height: auto; display: block; border-radius: var(--r-sm); }
.offplan-floorplan .caption { font-size: 13px; color: var(--ink-2); }

.offplan-map { border-radius: var(--r-md); overflow: hidden; aspect-ratio: 16/9; background: var(--cream-2); }
.offplan-map iframe { width: 100%; height: 100%; border: 0; display: block; }

.offplan-aside { position: sticky; top: 120px; }
.offplan-aside-card { background: var(--white); border: 1px solid var(--line); border-radius: var(--r-md); padding: 28px; display: flex; flex-direction: column; gap: 14px; box-shadow: var(--shadow); }
.offplan-aside-price { display: flex; flex-direction: column; gap: 4px; padding-bottom: 14px; border-bottom: 1px solid var(--line); }
.offplan-aside-price .l { font-size: 11px; text-transform: uppercase; letter-spacing: 0.12em; color: var(--ink-3); font-weight: 700; }
.offplan-aside-price strong { font-size: 28px; color: var(--navy); font-weight: 700; letter-spacing: -0.02em; }
.offplan-aside-price em { font-style: normal; font-size: 14px; color: var(--ink-2); font-weight: 400; margin-right: 4px; }
.offplan-aside-row { display: flex; justify-content: space-between; align-items: center; gap: 12px; font-size: 14px; }
.offplan-aside-row span { color: var(--ink-3); }
.offplan-aside-row strong { color: var(--navy); font-weight: 700; }
.offplan-aside-cta, .offplan-aside-secondary { width: 100%; padding: 14px; margin-top: 6px; }
.offplan-aside-secondary { padding: 12px; font-weight: 500; }
.offplan-aside-trust { list-style: none; padding: 14px 0 0; margin: 0; border-top: 1px solid var(--line); display: flex; flex-direction: column; gap: 8px; }
.offplan-aside-trust li { display: flex; align-items: center; gap: 10px; font-size: 13px; color: var(--ink-2); }
.offplan-aside-trust .fc-icon { color: var(--copper); }

.offplan-similar { padding: clamp(56px, 7vw, 100px) 0; }
.offplan-similar .section-head { margin-bottom: 36px; }

.offplan-single .offplan-single-cta { padding: clamp(56px, 7vw, 100px) 0; background: var(--navy); color: var(--white); }
.offplan-single .offplan-single-cta-inner { max-width: 720px; margin: 0 auto; text-align: center; display: flex; flex-direction: column; gap: 20px; align-items: center; }
.offplan-single .offplan-single-cta h2 { color: var(--white); }
.offplan-single .offplan-single-cta p { color: rgba(255,255,255,.75); font-size: 17px; line-height: 1.6; margin: 0; }

/* Off-plan archive uses the same hero pattern but a gradient navy background to feel "launch-y". */
.offplan-archive-hero { background: linear-gradient(180deg, var(--navy-2) 0%, var(--navy-3) 100%); }

@media (max-width: 1000px) {
  .offplan-body-grid { grid-template-columns: 1fr; }
  .offplan-aside { position: static; }
  .offplan-gallery-grid { grid-template-columns: 1fr 1fr; grid-template-rows: auto; height: auto; }
  .offplan-gallery-tile { aspect-ratio: 4/3; }
  .offplan-gallery-tile:first-child { grid-row: auto; grid-column: span 2; aspect-ratio: 16/9; }
}
@media (max-width: 700px) {
  .offplan-specs { grid-template-columns: 1fr; }
  .offplan-milestones li { grid-template-columns: auto 1fr; }
  .offplan-milestones .pct { grid-column: 2; }
  .offplan-milestones .when { grid-column: 2; }
  .offplan-gallery-grid { grid-template-columns: 1fr; }
  .offplan-gallery-tile, .offplan-gallery-tile:first-child { grid-column: auto; aspect-ratio: 16/9; }
}
