/* ==========================================================================
   Access Empire — public site
   One stylesheet, no build step. Sections:
   1 Tokens  2 Base  3 Layout  4 Buttons & forms  5 Header & footer
   6 Survey motif (grid paper + plot plans)  7 Page components  8 Utilities
   ========================================================================== */

/* 1 ─ Tokens ───────────────────────────────────────────────────────────── */
:root {
    /* Brand — taken from the Access Empire logo */
    --navy: #002954;
    --navy-deep: #001a38;
    --navy-soft: #0e3b6c;
    --orange: #f58a0a;
    --orange-deep: #a85600;      /* orange for text on light backgrounds (AA) */
    --orange-wash: #fff3e3;

    /* Neutrals — cool, like survey paper */
    --paper: #f2f5f8;
    --white: #ffffff;
    --ink: #13202f;
    --muted: #536173;
    --line: #d3dce6;
    --line-soft: #e4e9ef;
    --grid: rgba(0, 41, 84, .055);

    /* State */
    --sold: #8a97a8;
    --good: #18794e;
    --bad: #b42318;

    /* Type — Schibsted Grotesk for everything; Newsreader for long-form reading */
    --sans: "Schibsted Grotesk", system-ui, -apple-system, "Segoe UI", sans-serif;
    --serif: "Newsreader", Georgia, "Times New Roman", serif;
    --fs-xs: .8125rem;   /* 13 */
    --fs-s: .9375rem;    /* 15 */
    --fs-m: 1.0625rem;   /* 17 body */
    --fs-l: 1.3125rem;   /* 21 */
    --fs-xl: 1.625rem;   /* 26 */
    --fs-2xl: clamp(1.75rem, 1.2rem + 2vw, 2.5rem);    /* 28–40 */
    --fs-3xl: clamp(2.25rem, 1.4rem + 3.4vw, 3.75rem); /* 36–60 */
    --fs-hero: clamp(2.6rem, 1.4rem + 5vw, 5.25rem);   /* 42–84 */

    /* Space & shape */
    --wrap: 1240px;
    --gutter: clamp(16px, 4vw, 32px);
    --section: clamp(64px, 9vw, 120px);
    --r-s: 4px;     /* inputs, chips */
    --r-m: 10px;    /* photos */
    --r-l: 18px;    /* feature panels */
    --shadow: 0 18px 50px -24px rgba(0, 26, 56, .35);
    --focus: 0 0 0 3px var(--white), 0 0 0 6px var(--orange);
}

/* 2 ─ Base ─────────────────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 96px; }
body { margin: 0; font-family: var(--sans); font-size: var(--fs-m); line-height: 1.6; color: var(--ink); background: var(--white); text-rendering: optimizeLegibility; -webkit-font-smoothing: antialiased; }
img, svg, video, iframe { display: block; max-width: 100%; }
img { height: auto; }
a { color: var(--navy); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--orange-deep); }
h1, h2, h3, h4 { margin: 0; color: var(--navy); line-height: 1.08; letter-spacing: -0.025em; font-weight: 800; text-wrap: balance; }
h2 { font-size: var(--fs-3xl); }
h3 { font-size: var(--fs-xl); font-weight: 700; letter-spacing: -0.015em; line-height: 1.2; }
h4 { font-size: var(--fs-l); font-weight: 700; letter-spacing: -0.01em; line-height: 1.25; }
p { margin: 0; }
p + p { margin-top: 1em; }
ul, ol { margin: 0; padding: 0; }
:focus-visible { outline: none; box-shadow: var(--focus); border-radius: var(--r-s); }
::selection { background: var(--orange); color: var(--navy-deep); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -999px; top: 8px; z-index: 100; background: var(--white); padding: 10px 14px; }
.skip:focus { left: 8px; }
.num { font-variant-numeric: tabular-nums; }

/* 3 ─ Layout ───────────────────────────────────────────────────────────── */
.wrap { width: 100%; max-width: calc(var(--wrap) + var(--gutter) * 2); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: var(--section); }
.section--paper { background: var(--paper); }
.section--navy { background: var(--navy); color: #d6e0ec; }
.section--navy h2, .section--navy h3, .section--navy h4 { color: var(--white); }
.section--tight { padding-block: calc(var(--section) * .6); }
.head { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: end; gap: 20px 40px; margin-bottom: clamp(32px, 5vw, 56px); }
.head__lede { grid-column: 1; max-width: 62ch; color: var(--muted); font-size: var(--fs-l); line-height: 1.5; }
.section--navy .head__lede { color: #b8c6d8; }
.head > .btn, .head > .link-arrow { grid-row: 1 / span 2; grid-column: 2; align-self: end; }
.prose { max-width: 68ch; }
.prose > * + * { margin-top: 1em; }
.prose h2 { font-size: var(--fs-2xl); margin-top: 1.6em; }
.prose h3 { margin-top: 1.4em; }
.prose ul, .prose ol { padding-left: 1.2em; }
.prose li + li { margin-top: .35em; }
.prose blockquote { margin: 1.6em 0; padding-left: 20px; border-left: 3px solid var(--orange); font-size: var(--fs-l); color: var(--navy); }
.prose a { font-weight: 600; }

/* 4 ─ Buttons & forms ───────────────────────────────────────────────────── */
.btn { --btn-bg: var(--orange); --btn-fg: var(--navy-deep); --btn-bd: var(--orange);
    display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 50px; padding: 0 24px;
    border: 2px solid var(--btn-bd); border-radius: 999px; background: var(--btn-bg); color: var(--btn-fg);
    font: 700 var(--fs-s) / 1 var(--sans); text-decoration: none; cursor: pointer; white-space: nowrap; transition: background .15s, color .15s, border-color .15s; }
.btn:hover { --btn-bg: #ff9a1f; --btn-bd: #ff9a1f; color: var(--navy-deep); }
.btn--navy { --btn-bg: var(--navy); --btn-fg: var(--white); --btn-bd: var(--navy); }
.btn--navy:hover { --btn-bg: var(--navy-deep); --btn-bd: var(--navy-deep); color: var(--white); }
.btn--line { --btn-bg: transparent; --btn-fg: var(--navy); --btn-bd: var(--line); }
.btn--line:hover { --btn-bg: transparent; --btn-bd: var(--navy); color: var(--navy); }
.btn--light { --btn-bg: transparent; --btn-fg: var(--white); --btn-bd: rgba(255,255,255,.35); }
.btn--light:hover { --btn-bg: rgba(255,255,255,.08); --btn-bd: var(--white); color: var(--white); }
.btn--whatsapp { --btn-bg: #1f9d55; --btn-fg: var(--white); --btn-bd: #1f9d55; }
.btn--whatsapp:hover { --btn-bg: #188046; --btn-bd: #188046; color: var(--white); }
.btn--small { min-height: 40px; padding: 0 16px; }
.btn--block { width: 100%; }
.link-arrow { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; text-decoration: none; color: var(--navy); }
.link-arrow .icon { transition: transform .15s; }
.link-arrow:hover .icon { transform: translateX(3px); }
.section--navy .link-arrow { color: var(--white); }

.form { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 18px 16px; }
.field { display: flex; flex-direction: column; gap: 6px; grid-column: span 2; min-width: 0; }
.field--half { grid-column: span 1; }
.field__label { font-size: var(--fs-s); font-weight: 600; color: var(--ink); }
.field__label small { font-weight: 400; color: var(--muted); }
.field__hint { font-size: var(--fs-xs); color: var(--muted); }
.field__error { font-size: var(--fs-xs); color: var(--bad); font-weight: 600; }
.input { width: 100%; min-height: 50px; padding: 12px 14px; border: 1.5px solid var(--line); border-radius: var(--r-s); background: var(--white); font: inherit; font-size: var(--fs-m); color: var(--ink); transition: border-color .15s; }
.input::placeholder { color: #8b97a6; }
.input:hover { border-color: #b7c3d1; }
.input:focus { outline: none; border-color: var(--navy); box-shadow: 0 0 0 3px rgba(245,138,10,.35); }
.input.is-invalid { border-color: var(--bad); }
textarea.input { min-height: 120px; resize: vertical; }
select.input { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 24 24' fill='none' stroke='%23002954' stroke-width='2'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 12px center; padding-right: 40px; }
input[type=file].input { padding: 11px; }
.check { display: flex; gap: 10px; align-items: flex-start; font-size: var(--fs-s); color: var(--muted); grid-column: span 2; }
.check input { width: 20px; height: 20px; margin-top: 2px; accent-color: var(--navy); flex: none; }
.form__actions { grid-column: span 2; display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.hp { position: absolute; left: -5000px; width: 1px; height: 1px; overflow: hidden; }
.notice { display: flex; gap: 12px; align-items: flex-start; padding: 14px 16px; border-radius: var(--r-s); font-weight: 600; font-size: var(--fs-s); }
.notice--good { background: #e7f5ee; color: #0f5c38; }
.notice--bad { background: #fdecea; color: var(--bad); }
.notice .icon { flex: none; margin-top: 2px; }

/* 5 ─ Header & footer ───────────────────────────────────────────────────── */
.topbar { background: var(--navy-deep); color: #aebcd0; font-size: var(--fs-xs); }
.topbar .wrap { display: flex; gap: 24px; align-items: center; min-height: 38px; }
.topbar a { color: #dfe7f1; text-decoration: none; }
.topbar a:hover { color: var(--orange); }
.topbar__push { margin-left: auto; display: flex; gap: 18px; }
.header { position: sticky; top: 0; z-index: 40; background: rgba(255,255,255,.97); backdrop-filter: saturate(1.4) blur(8px); border-bottom: 1px solid var(--line-soft); }
.header .wrap { display: flex; align-items: center; gap: 28px; min-height: 76px; }
.logo { flex: none; display: block; }
.logo img { width: 172px; height: auto; }
.nav { display: flex; align-items: center; gap: 4px; margin-left: auto; }
.nav__link { display: inline-flex; align-items: center; gap: 4px; padding: 10px 12px; border: 0; background: none; font: 600 var(--fs-s) var(--sans); color: var(--ink); text-decoration: none; border-radius: var(--r-s); cursor: pointer; }
.nav__link:hover, .nav__link[aria-expanded=true] { color: var(--navy); background: var(--paper); }
.nav__link.is-active { color: var(--navy); box-shadow: inset 0 -2px 0 var(--orange); border-radius: 0; }
.nav__item { position: relative; }
.menu { position: absolute; top: calc(100% + 10px); left: -12px; width: 560px; padding: 10px; background: var(--white); border: 1px solid var(--line-soft); border-radius: var(--r-l); box-shadow: var(--shadow); display: grid; grid-template-columns: 1fr 1fr; gap: 4px; }
.menu[hidden] { display: none; }
.menu__link { display: block; padding: 14px; border-radius: var(--r-m); text-decoration: none; color: var(--ink); }
.menu__link:hover { background: var(--paper); color: var(--ink); }
.menu__link strong { display: block; color: var(--navy); font-size: var(--fs-m); }
.menu__link span { display: block; font-size: var(--fs-xs); color: var(--muted); line-height: 1.45; margin-top: 2px; }
.menu__foot { grid-column: span 2; display: flex; justify-content: space-between; gap: 10px; padding: 12px 14px 6px; border-top: 1px solid var(--line-soft); margin-top: 4px; font-size: var(--fs-s); }
.header__cta { display: flex; align-items: center; gap: 10px; }
.header__burger { display: none; width: 46px; height: 46px; border: 1.5px solid var(--line); border-radius: 50%; background: var(--white); color: var(--navy); place-items: center; cursor: pointer; }

.drawer { position: fixed; inset: 0; z-index: 60; display: none; }
.drawer.is-open { display: block; }
.drawer__scrim { position: absolute; inset: 0; background: rgba(0,26,56,.5); }
.drawer__panel { position: absolute; inset: 0 0 0 auto; width: min(400px, 92vw); background: var(--white); padding: 20px 24px 32px; overflow-y: auto; display: flex; flex-direction: column; gap: 4px; }
.drawer__top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 12px; }
.drawer__close { width: 44px; height: 44px; border: 0; background: var(--paper); border-radius: 50%; color: var(--navy); display: grid; place-items: center; cursor: pointer; }
.drawer__link { display: block; padding: 12px 0; font-size: var(--fs-l); font-weight: 700; color: var(--navy); text-decoration: none; border-bottom: 1px solid var(--line-soft); }
.drawer__sub { display: block; padding: 8px 0 8px 14px; color: var(--muted); text-decoration: none; font-weight: 600; }
.drawer .btn { margin-top: 20px; }

.footer { background: var(--navy-deep); color: #a9b8cc; font-size: var(--fs-s); }
.footer a { color: #dce5f0; text-decoration: none; }
.footer a:hover { color: var(--orange); }
.footer__cta { display: grid; grid-template-columns: 1fr auto; gap: 24px; align-items: center; padding-block: 56px; border-bottom: 1px solid rgba(255,255,255,.1); }
.footer__cta h2 { color: var(--white); font-size: var(--fs-2xl); max-width: 22ch; }
.footer__cta-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 40px; padding-block: 56px; }
.footer__brand img { width: 170px; margin-bottom: 16px; }
.footer__brand p { max-width: 36ch; }
.footer h3 { color: var(--white); font-size: var(--fs-s); font-weight: 700; letter-spacing: 0; margin-bottom: 14px; }
.footer__links { list-style: none; display: grid; gap: 9px; }
.footer address { font-style: normal; display: grid; gap: 10px; }
.footer address span { display: flex; gap: 10px; align-items: flex-start; }
.footer address .icon { flex: none; margin-top: 3px; color: var(--orange); }
.socials { display: flex; gap: 8px; margin-top: 18px; }
.socials a { width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; background: rgba(255,255,255,.07); }
.socials a:hover { background: var(--orange); color: var(--navy-deep); }
.footer__compliance { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.footer__bottom { display: flex; flex-wrap: wrap; gap: 12px 24px; justify-content: space-between; padding-block: 22px; border-top: 1px solid rgba(255,255,255,.1); font-size: var(--fs-xs); }
.footer__bottom nav { display: flex; gap: 18px; }

.wa-float { position: fixed; right: 18px; bottom: 18px; z-index: 30; display: flex; align-items: center; gap: 10px; padding: 12px 18px 12px 14px; border-radius: 999px; background: #1f9d55; color: var(--white); font-weight: 700; font-size: var(--fs-s); text-decoration: none; box-shadow: 0 10px 30px -10px rgba(0,0,0,.45); }
.wa-float:hover { background: #188046; color: var(--white); }

/* 6 ─ Survey motif ──────────────────────────────────────────────────────────
   The site's signature: survey-paper grid behind key sections, and a schematic
   plot plan (components/site/plot-plan) that draws an estate from its real
   plot count and sales. Available = orange, sold = navy, commercial = hatched. */
.gridpaper { background-color: var(--paper); background-image: linear-gradient(var(--grid) 1px, transparent 1px), linear-gradient(90deg, var(--grid) 1px, transparent 1px); background-size: 28px 28px; }
.plan { display: block; width: 100%; height: auto; }
.plan__road { fill: var(--white); }
.plan__ground { fill: #e6ecf2; }
.plan__plot { fill: var(--white); stroke: var(--navy); stroke-width: 1.2; }
.plan__plot--available { fill: var(--orange-wash); stroke: var(--orange); }
.plan__plot--commercial { fill: url(#hatch); }
.plan__plot--sold { fill: var(--navy); stroke: var(--navy); }
.plan__green { fill: #d7eadc; stroke: #9cc7a8; stroke-width: 1; }
.plan__label { font: 600 10px var(--sans); fill: var(--muted); letter-spacing: .02em; }
.plan-legend { display: flex; flex-wrap: wrap; gap: 6px 16px; font-size: var(--fs-xs); color: var(--muted); }
.plan-legend span { display: inline-flex; align-items: center; gap: 6px; }
.plan-legend i { width: 12px; height: 12px; border-radius: 2px; border: 1.5px solid var(--orange); background: var(--orange-wash); }
.plan-legend i.is-sold { background: var(--navy); border-color: var(--navy); }
.plan-legend i.is-commercial { background: repeating-linear-gradient(135deg, var(--orange-wash) 0 2px, var(--orange) 2px 3px); }

/* 7 ─ Page components ──────────────────────────────────────────────────── */

/* Hero */
.hero { padding-block: clamp(48px, 7vw, 96px) clamp(56px, 8vw, 104px); border-bottom: 1px solid var(--line-soft); }
.hero .wrap { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: clamp(32px, 5vw, 72px); align-items: center; }
.hero__title { font-size: var(--fs-hero); line-height: .98; letter-spacing: -0.04em; max-width: 13ch; }
.hero__text { margin-top: 24px; max-width: 46ch; font-size: var(--fs-l); line-height: 1.5; color: var(--muted); }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 36px; }
.hero__trust { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 22px; margin-top: 44px; padding-top: 22px; border-top: 1px solid var(--line); font-size: var(--fs-xs); color: var(--muted); max-width: 520px; }
.hero__trust strong { color: var(--navy); font-size: var(--fs-s); }

.badge { display: inline-flex; align-items: center; gap: 6px; padding: 4px 10px; border-radius: 999px; font-size: var(--fs-xs); font-weight: 700; line-height: 1.4; background: var(--paper); color: var(--navy); white-space: nowrap; }
.badge--pre_launch { background: var(--orange); color: var(--navy-deep); }
.badge--selling, .badge--buy_and_build { background: #e1f2e8; color: #0f5c38; }
.badge--sold_out { background: #e6ebf1; color: #4c5a6b; }
.badge--coming_soon { background: #e6efff; color: #1d4ed8; }
.badge--dark { background: rgba(255,255,255,.12); color: var(--white); }
.chip { display: inline-flex; align-items: center; gap: 6px; padding: 5px 10px; border: 1px solid rgba(255,255,255,.18); border-radius: var(--r-s); font-size: var(--fs-xs); font-weight: 600; color: #dce5f0; }

/* Map hero (home) ─────────────────────────────────────────────────────────
   Illustrated survey map of greater Port Harcourt. Data: config/site.php → map. */
.mhero { --map-bg: #eaf2fa; position: relative; overflow: hidden; background: var(--map-bg); color: var(--ink); min-height: clamp(620px, calc(100vh - 114px), 820px); display: flex; align-items: center; isolation: isolate; border-bottom: 1px solid var(--line-soft); }
.mhero__map { position: absolute; inset: 0; z-index: -1; }
.mhero__map::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(90deg, #f5f9fd 0%, rgba(245,249,253,.94) 30%, rgba(245,249,253,.45) 52%, rgba(245,249,253,0) 68%); }
.mhero__inner { position: relative; padding-block: clamp(56px, 8vw, 96px); pointer-events: none; }
.mhero__copy { max-width: 600px; pointer-events: auto; }
.mhero__title { color: var(--navy); font-size: var(--fs-hero); line-height: .98; letter-spacing: -0.04em; }
.mhero__text { margin-top: 24px; max-width: 46ch; font-size: var(--fs-l); line-height: 1.5; color: var(--muted); }
.mhero__trust { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 22px; margin-top: 44px; padding-top: 22px; border-top: 1px solid var(--line); font-size: var(--fs-xs); color: var(--muted); max-width: 520px; }
.mhero__trust strong { color: var(--navy); font-size: var(--fs-s); }

.hmap { display: block; width: 100%; height: 100%; }
.hmap__ground { fill: var(--map-bg, #eaf2fa); }
.hmap__gridline { stroke: rgba(0,41,84,.06); stroke-width: 1; }
.hmap__contours path { fill: none; stroke: rgba(31,95,168,.13); stroke-width: 1.3; }
.hmap__contours path.is-index { stroke: rgba(31,95,168,.24); stroke-width: 1.7; }
.hmap__water path { fill: none; stroke: #a8cdee; stroke-linecap: round; stroke-linejoin: round; }
.hmap__roads path { fill: none; stroke: #bfcfe0; stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 1; stroke-dashoffset: 0; }
.hmap__roads path.is-major { stroke: #8fa9c6; stroke-width: 5; }
.hmap__places circle { fill: #5f7591; }
.hmap__places text, .hmap__landmarks text { font: 600 16px var(--sans); fill: #4d6280; paint-order: stroke; stroke: var(--map-bg, #eaf2fa); stroke-width: 5px; stroke-linejoin: round; }
.hmap__places text.is-city { font-size: 23px; font-weight: 800; fill: var(--navy); }
.hmap__landmarks rect { fill: var(--white); stroke: #5f7591; stroke-width: 1.8; }
.hmap__landmarks text { font-size: 14px; fill: #5f7591; }
.hmap__ring { fill: none; stroke: var(--orange); stroke-width: 2.5; opacity: .7; transform-box: fill-box; transform-origin: center; }
.hmap__dot { fill: var(--orange); stroke: var(--white); stroke-width: 4; }
.hmap__leader { stroke: var(--navy); stroke-width: 1.5; fill: none; }
.hmap__chip rect { fill: var(--navy); filter: drop-shadow(0 8px 16px rgba(0,41,84,.25)); }
.hmap__name { font: 800 19px var(--sans); fill: var(--white); letter-spacing: -0.01em; }
.hmap__price { font: 700 15px var(--sans); fill: #ffb45c; }
.hmap__pin { cursor: pointer; }
.hmap__pin:hover .hmap__chip rect, .hmap__pin:focus .hmap__chip rect { fill: var(--orange); }
.hmap__pin:hover .hmap__name, .hmap__pin:focus .hmap__name, .hmap__pin:hover .hmap__price, .hmap__pin:focus .hmap__price { fill: var(--navy-deep); }
.hmap__pin:focus { outline: none; }
.hmap__pin:focus-visible .hmap__chip rect { stroke: var(--navy-deep); stroke-width: 3; }
.hmap__note { position: absolute; left: 52%; bottom: 16px; margin: 0; font-size: 12px; color: #5f7591; }

/* One orchestrated entrance: roads draw in, then the pins land. */
@media (prefers-reduced-motion: no-preference) {
    .hmap__roads path { stroke-dashoffset: 1; animation: hmap-draw 1.6s cubic-bezier(.6,0,.2,1) forwards; }
    .hmap__roads path.is-major { animation-duration: 1.2s; }
    .hmap__pin { opacity: 0; animation: hmap-land .6s cubic-bezier(.2,.9,.3,1.3) forwards; animation-delay: calc(1s + var(--i) * .18s); }
    .hmap__ring { animation: hmap-pulse 2.4s ease-out infinite; animation-delay: calc(1.6s + var(--i) * .18s); }
}
@keyframes hmap-draw { to { stroke-dashoffset: 0; } }
@keyframes hmap-land { from { opacity: 0; transform: translateY(-14px); } to { opacity: 1; transform: none; } }
@keyframes hmap-pulse { 0% { transform: scale(.6); opacity: .8; } 80%, 100% { transform: scale(2.2); opacity: 0; } }

@media (max-width: 860px) {
    .mhero { flex-direction: column; align-items: stretch; min-height: 0; }
    .mhero__map { position: relative; order: 2; height: min(92vw, 460px); z-index: 0; }
    .mhero__map::after { background: linear-gradient(180deg, #f5f9fd 0%, rgba(245,249,253,0) 7%); }
    .mhero__inner { order: 1; padding-block: 48px 8px; }
    .hmap__note { left: var(--gutter); bottom: 10px; font-size: 11px; }
}

/* Site-plan card (hero + estate page) */
.siteplan { background: var(--white); border: 1px solid var(--line); border-radius: var(--r-l); padding: 22px; box-shadow: var(--shadow); }
.siteplan__head { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; margin-bottom: 16px; }
.siteplan__head h2 { font-size: var(--fs-xl); letter-spacing: -0.02em; }
.siteplan__head p { font-size: var(--fs-s); color: var(--muted); margin-top: 4px; }
.eblock .siteplan__figure { max-width: 620px; }
.siteplan__figure { margin: 0; border-radius: var(--r-m); overflow: hidden; border: 1px solid var(--line-soft); }
.siteplan__caption { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.siteplan__note { font-size: 11.5px; color: var(--muted); }
.siteplan__facts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; margin-top: 18px; background: var(--line-soft); border: 1px solid var(--line-soft); border-radius: var(--r-m); overflow: hidden; }
.siteplan__facts div { background: var(--white); padding: 12px 14px; }
.siteplan__facts dt { font-size: var(--fs-xs); color: var(--muted); }
.siteplan__facts dd { margin: 2px 0 0; font-weight: 800; color: var(--navy); font-size: var(--fs-l); letter-spacing: -0.01em; }
.siteplan__actions { display: flex; gap: 10px; margin-top: 18px; }
.siteplan__actions .btn { flex: 1; }
.progress { margin-top: 14px; }
.progress__bar { height: 8px; border-radius: 99px; background: var(--orange-wash); overflow: hidden; }
.progress__bar span { display: block; height: 100%; background: var(--navy); border-radius: 99px; }
.progress__text { display: flex; justify-content: space-between; margin-top: 6px; font-size: var(--fs-xs); color: var(--muted); }

/* Trust strip */
.trust { padding-block: 28px; border-bottom: 1px solid var(--line-soft); }
.trust .wrap { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 40px; }
.trust__lead { font-weight: 700; color: var(--navy); font-size: var(--fs-s); }
.trust__item { display: flex; align-items: center; gap: 12px; font-size: var(--fs-xs); color: var(--muted); line-height: 1.35; }
.trust__item img { height: 36px; width: auto; }
.trust__item strong { display: block; color: var(--ink); font-size: var(--fs-s); }

/* Estate rows — the listing pattern */
.estates { display: grid; gap: 0; border-top: 1px solid var(--line); }
.estate { display: grid; grid-template-columns: 300px minmax(0, 1fr) 240px; gap: 32px; padding-block: 28px; border-bottom: 1px solid var(--line); align-items: center; position: relative; }
.estate__media { position: relative; border-radius: var(--r-m); overflow: hidden; aspect-ratio: 4 / 3; background: var(--paper); }
.estate__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.estate:hover .estate__media img { transform: scale(1.03); }
.estate__media .badge { position: absolute; top: 12px; left: 12px; }
.estate__loc { display: flex; align-items: center; gap: 6px; font-size: var(--fs-s); color: var(--muted); margin-bottom: 6px; }
.estate__name { font-size: var(--fs-2xl); letter-spacing: -0.03em; }
.estate__name a { color: inherit; text-decoration: none; }
.estate__name a::after { content: ""; position: absolute; inset: 0; }
.estate__summary { margin-top: 10px; color: var(--muted); max-width: 56ch; }
.estate__specs { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.spec { display: inline-flex; align-items: center; gap: 6px; padding: 5px 10px; border-radius: var(--r-s); background: var(--paper); font-size: var(--fs-xs); font-weight: 600; color: var(--navy); }
.estate__price { text-align: right; }
.estate__price small { display: block; font-size: var(--fs-xs); color: var(--muted); }
.estate__price strong { display: block; font-size: var(--fs-2xl); color: var(--navy); letter-spacing: -0.03em; line-height: 1.1; }
.estate__price s { font-size: var(--fs-s); color: var(--muted); }
.estate__price .link-arrow { margin-top: 14px; position: relative; z-index: 2; font-size: var(--fs-s); }
.estate--muted .estate__media img { filter: grayscale(.6); }

/* Estate cards — compact, for "other estates" */
.cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.card { position: relative; display: flex; flex-direction: column; }
.card__media { border-radius: var(--r-m); overflow: hidden; aspect-ratio: 4 / 3; background: var(--paper); position: relative; }
.card__media img { width: 100%; height: 100%; object-fit: cover; }
.card__media .badge { position: absolute; top: 12px; left: 12px; }
.card__body { padding-top: 14px; }
.card__meta { font-size: var(--fs-xs); color: var(--muted); }
.card h3 { margin-top: 4px; font-size: var(--fs-l); }
.card h3 a { color: inherit; text-decoration: none; }
.card h3 a::after { content: ""; position: absolute; inset: 0; }
.card p { margin-top: 6px; color: var(--muted); font-size: var(--fs-s); }
.card__price { margin-top: 8px; font-weight: 800; color: var(--navy); }

/* Divisions */
.divisions { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 2px; background: var(--line); border: 2px solid var(--line); border-radius: var(--r-l); overflow: hidden; }
.division { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) 160px; gap: 24px; padding: 32px; background: var(--white); min-height: 260px; text-decoration: none; color: var(--ink); }
.division:hover { background: var(--paper); color: var(--ink); }
.division__sector { font-size: var(--fs-s); font-weight: 600; color: var(--orange-deep); }
.division h3 { font-size: var(--fs-2xl); letter-spacing: -0.03em; margin-top: 6px; }
.division p { margin-top: 12px; color: var(--muted); font-size: var(--fs-s); max-width: 40ch; }
.division .link-arrow { margin-top: 20px; font-size: var(--fs-s); }
.division__img { border-radius: var(--r-m); overflow: hidden; align-self: stretch; }
.division__img img { width: 100%; height: 100%; object-fit: cover; }

/* Documents folder */
.docs { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(32px, 6vw, 88px); align-items: center; }
.folder { position: relative; padding: 36px 32px 28px; background: var(--white); border: 1px solid var(--line); border-radius: 4px var(--r-l) var(--r-l) var(--r-l); box-shadow: var(--shadow); }
.folder::before { content: ""; position: absolute; top: -18px; left: -1px; width: 42%; height: 19px; background: var(--white); border: 1px solid var(--line); border-bottom: 0; border-radius: var(--r-m) var(--r-m) 0 0; }
.folder__title { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; padding-bottom: 14px; border-bottom: 2px solid var(--navy); font-weight: 800; color: var(--navy); }
.folder__title span { font-weight: 600; font-size: var(--fs-xs); color: var(--muted); }
.folder__list { list-style: none; }
.folder__list li { display: flex; align-items: center; gap: 12px; padding: 14px 0; border-bottom: 1px dashed var(--line); font-weight: 600; }
.folder__list li:last-child { border-bottom: 0; }
.folder__list .icon { color: var(--good); flex: none; }
.folder__stamp { position: absolute; right: 22px; bottom: -22px; width: 104px; height: 104px; border-radius: 50%; border: 2px solid var(--orange); color: var(--orange-deep); background: var(--white); display: grid; place-items: center; text-align: center; font-size: 11px; font-weight: 800; line-height: 1.2; transform: rotate(-12deg); padding: 10px; }

/* Process steps (true sequences only) */
.steps { list-style: none; display: grid; grid-template-columns: repeat(var(--n, 3), minmax(0, 1fr)); gap: 0; counter-reset: step; border-top: 2px solid var(--navy); }
.step { position: relative; padding: 28px 28px 0 0; counter-increment: step; }
.step::before { content: counter(step); display: grid; place-items: center; width: 40px; height: 40px; margin-top: -49px; margin-bottom: 18px; border-radius: 50%; background: var(--orange); color: var(--navy-deep); font-weight: 800; }
.section--navy .steps { border-top-color: rgba(255,255,255,.3); }
.step h3 { font-size: var(--fs-l); }
.step p { margin-top: 8px; color: var(--muted); font-size: var(--fs-s); max-width: 34ch; }
.section--navy .step p { color: #b8c6d8; }

/* Stats */
.stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); border-top: 1px solid rgba(255,255,255,.15); }
.stat { padding: 26px 24px 0 0; }
.stat strong { display: block; font-size: var(--fs-3xl); color: var(--white); letter-spacing: -0.04em; line-height: 1; }
.stat span { display: block; margin-top: 8px; color: #b8c6d8; font-size: var(--fs-s); }
.section:not(.section--navy) .stats { border-top-color: var(--line); }
.section:not(.section--navy) .stat strong { color: var(--navy); }
.section:not(.section--navy) .stat span { color: var(--muted); }

/* Feature grid (services, highlights) — a list, not cards */
.features { display: grid; grid-template-columns: repeat(var(--cols, 3), minmax(0, 1fr)); gap: 0 40px; }
.feature { padding: 22px 0 26px; border-top: 1px solid var(--line); }
.feature h3 { font-size: var(--fs-l); }
.feature p { margin-top: 8px; color: var(--muted); font-size: var(--fs-s); }
.section--navy .feature { border-top-color: rgba(255,255,255,.15); }
.section--navy .feature p { color: #b8c6d8; }

/* Testimonials */
.quotes { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 24px; }
.quote { margin: 0; padding: 28px; border-radius: var(--r-l); background: var(--white); border: 1px solid var(--line); display: flex; flex-direction: column; gap: 20px; }
.quote blockquote { margin: 0; font-size: var(--fs-l); line-height: 1.45; color: var(--navy); }
.quote figcaption { display: flex; align-items: center; gap: 12px; font-size: var(--fs-s); margin-top: auto; }
.quote figcaption img { width: 44px; height: 44px; border-radius: 50%; object-fit: cover; }
.quote figcaption span { display: block; color: var(--muted); font-size: var(--fs-xs); }

/* People */
.people { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 32px 24px; }
.person__photo { aspect-ratio: 4 / 5; border-radius: var(--r-m); overflow: hidden; background: var(--paper); display: grid; place-items: center; color: var(--navy); font-size: 40px; font-weight: 800; }
.person__photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 20%; }
.person h3 { margin-top: 14px; font-size: var(--fs-l); }
.person p { color: var(--muted); font-size: var(--fs-s); margin-top: 2px; }
.person__bio { margin-top: 10px !important; color: var(--ink) !important; }

/* FAQ */
.faq { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(32px, 6vw, 80px); align-items: start; }
.faq__aside p { margin-top: 16px; color: var(--muted); }
.faq__aside .btn { margin-top: 24px; }
.qa { border-bottom: 1px solid var(--line); }
.qa:first-child { border-top: 1px solid var(--line); }
.qa summary { display: flex; justify-content: space-between; gap: 20px; padding: 22px 0; cursor: pointer; list-style: none; font-weight: 700; font-size: var(--fs-l); color: var(--navy); line-height: 1.35; }
.qa summary::-webkit-details-marker { display: none; }
.qa summary .icon { flex: none; transition: transform .2s; margin-top: 4px; }
.qa[open] summary .icon { transform: rotate(45deg); }
.qa__a { padding: 0 40px 24px 0; color: var(--muted); max-width: 64ch; }

/* Newsroom */
.posts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px 24px; }
.post { position: relative; }
.post__media { aspect-ratio: 16 / 10; border-radius: var(--r-m); overflow: hidden; background: var(--paper); position: relative; }
.post__media img { width: 100%; height: 100%; object-fit: cover; }
.post__play { position: absolute; inset: 0; display: grid; place-items: center; }
.post__play span { width: 60px; height: 60px; border-radius: 50%; background: var(--orange); color: var(--navy-deep); display: grid; place-items: center; }
.post__meta { margin-top: 14px; font-size: var(--fs-xs); color: var(--muted); display: flex; gap: 12px; }
.post__meta b { color: var(--orange-deep); }
.post h3 { margin-top: 6px; font-size: var(--fs-l); }
.post h3 a { color: inherit; text-decoration: none; }
.post h3 a::after { content: ""; position: absolute; inset: 0; }
.post p { margin-top: 6px; color: var(--muted); font-size: var(--fs-s); }
.post--lead { grid-column: span 3; display: grid; grid-template-columns: 1.3fr 1fr; gap: 40px; align-items: center; }
.post--lead .post__media { aspect-ratio: 16 / 9; }
.post--lead h3 { font-size: var(--fs-3xl); letter-spacing: -0.03em; }
.post--lead p { font-size: var(--fs-l); }
.filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 36px; }
.filter { padding: 9px 16px; border-radius: 999px; border: 1.5px solid var(--line); font-weight: 600; font-size: var(--fs-s); text-decoration: none; color: var(--ink); }
.filter:hover { border-color: var(--navy); color: var(--navy); }
.filter.is-active { background: var(--navy); border-color: var(--navy); color: var(--white); }

.article { padding-block: clamp(40px, 6vw, 72px) var(--section); }
.article__head { max-width: 860px; }
.article__head h1 { font-size: var(--fs-3xl); margin-top: 14px; }
.article__dek { margin-top: 18px; font-size: var(--fs-l); color: var(--muted); max-width: 60ch; }
.article__meta { display: flex; flex-wrap: wrap; gap: 8px 18px; margin-top: 22px; font-size: var(--fs-s); color: var(--muted); }
.article__cover { margin: 40px 0; border-radius: var(--r-l); overflow: hidden; }
.article__body { font-family: var(--serif); font-size: 1.25rem; line-height: 1.7; max-width: 68ch; }
.article__body h2, .article__body h3 { font-family: var(--sans); }
.article__body figure { margin: 2em 0; }
.video { position: relative; aspect-ratio: 16 / 9; border-radius: var(--r-l); overflow: hidden; background: var(--navy-deep); }
.video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.video__poster { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; padding: 0; cursor: pointer; background: transparent; }
.video__poster img { width: 100%; height: 100%; object-fit: cover; opacity: .85; }
.video__poster span { position: absolute; inset: 0; margin: auto; width: 84px; height: 84px; border-radius: 50%; background: var(--orange); color: var(--navy-deep); display: grid; place-items: center; }

/* Galleries */
.masonry { columns: 3 280px; column-gap: 16px; }
.masonry figure { margin: 0 0 16px; break-inside: avoid; }
.masonry a { display: block; border-radius: var(--r-m); overflow: hidden; }
.masonry img { width: 100%; transition: transform .4s; }
.masonry a:hover img { transform: scale(1.02); }
.masonry figcaption { font-size: var(--fs-xs); color: var(--muted); padding-top: 6px; }
.albums { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 32px 24px; }
.album { position: relative; }
.album__stack { position: relative; aspect-ratio: 4 / 3; }
.album__stack img { position: relative; z-index: 1; width: 100%; height: 100%; object-fit: cover; border-radius: var(--r-m); }
.album__stack::before, .album__stack::after { content: ""; position: absolute; inset: 0; border-radius: var(--r-m); background: var(--line); transform: rotate(-3deg) translate(-4px, 4px); }
.album__stack::after { transform: rotate(2deg) translate(6px, 2px); background: #c3cfdc; }
.album h3 { margin-top: 16px; font-size: var(--fs-l); }
.album h3 a { color: inherit; text-decoration: none; }
.album h3 a::after { content: ""; position: absolute; inset: 0; z-index: 2; }
.album p { color: var(--muted); font-size: var(--fs-s); margin-top: 4px; }
.lightbox { position: fixed; inset: 0; z-index: 80; background: rgba(0,16,34,.94); display: grid; grid-template-rows: 1fr auto; padding: 56px 72px 24px; }
.lightbox[hidden] { display: none; }
.lightbox img { max-width: 100%; max-height: 100%; margin: auto; object-fit: contain; }
.lightbox p { color: #d6e0ec; text-align: center; padding-top: 14px; font-size: var(--fs-s); }
.lightbox button { position: absolute; width: 52px; height: 52px; border-radius: 50%; border: 0; background: rgba(255,255,255,.1); color: var(--white); display: grid; place-items: center; cursor: pointer; }
.lightbox button:hover { background: var(--orange); color: var(--navy-deep); }
.lightbox [data-lb-close] { top: 16px; right: 16px; }
.lightbox [data-lb-prev] { left: 12px; top: 50%; }
.lightbox [data-lb-next] { right: 12px; top: 50%; }

/* Page heads (inner pages) */
.pagehead { padding-block: clamp(48px, 7vw, 88px) clamp(40px, 6vw, 64px); border-bottom: 1px solid var(--line-soft); }
.pagehead__crumb { display: flex; gap: 8px; align-items: center; font-size: var(--fs-s); color: var(--muted); margin-bottom: 18px; }
.pagehead__crumb a { color: var(--muted); text-decoration: none; }
.pagehead__crumb a:hover { color: var(--navy); }
.pagehead h1 { font-size: var(--fs-3xl); max-width: 20ch; }
.pagehead__lede { margin-top: 18px; max-width: 60ch; font-size: var(--fs-l); color: var(--muted); line-height: 1.5; }
.pagehead__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.pagehead--split .wrap { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, .9fr); gap: clamp(32px, 5vw, 64px); align-items: center; }
.pagehead__media { border-radius: var(--r-l); overflow: hidden; aspect-ratio: 5 / 4; }
.pagehead__media img { width: 100%; height: 100%; object-fit: cover; }

/* Estate page */
.ehero { padding-block: clamp(32px, 5vw, 56px) 0; }
.ehero__top { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 20px; }
.ehero h1 { font-size: var(--fs-hero); letter-spacing: -0.045em; line-height: .95; }
.ehero__tagline { margin-top: 12px; font-size: var(--fs-l); color: var(--muted); }
.ehero__share { display: flex; gap: 8px; }
.ehero__gallery { display: grid; grid-template-columns: 2fr 1fr 1fr; grid-template-rows: 1fr 1fr; gap: 10px; margin-top: 32px; height: clamp(320px, 46vw, 560px); }
.ehero__gallery a { position: relative; border-radius: var(--r-m); overflow: hidden; background: var(--paper); }
.ehero__gallery a:first-child { grid-row: span 2; }
.ehero__gallery img { width: 100%; height: 100%; object-fit: cover; }
.ehero__gallery--1 { grid-template-columns: 1fr; }
.ehero__gallery--2 { grid-template-columns: 2fr 1fr; }
.ehero__gallery--2 a:nth-child(2) { grid-row: span 2; }
.ehero__gallery--3 { grid-template-columns: 2fr 1fr; }
.ehero__gallery--4 a:nth-child(4) { grid-column: span 2; }
.ehero__more { position: absolute; right: 12px; bottom: 12px; padding: 8px 14px; border-radius: 999px; background: rgba(255,255,255,.95); font-size: var(--fs-xs); font-weight: 700; color: var(--navy); }
.elayout { display: grid; grid-template-columns: minmax(0, 1fr) 380px; gap: clamp(32px, 5vw, 72px); align-items: start; padding-block: 56px var(--section); }
.elayout__aside { position: sticky; top: 100px; display: grid; gap: 16px; }
.eblock + .eblock { margin-top: 56px; padding-top: 56px; border-top: 1px solid var(--line-soft); }
.eblock > h2 { font-size: var(--fs-2xl); margin-bottom: 20px; }
.price-tabs { display: flex; gap: 6px; padding: 4px; border-radius: 999px; background: var(--paper); margin-bottom: 18px; }
.price-tabs button { flex: 1; border: 0; padding: 10px 12px; border-radius: 999px; background: transparent; font: 700 var(--fs-s) var(--sans); color: var(--muted); cursor: pointer; }
.price-tabs button[aria-selected=true] { background: var(--white); color: var(--navy); box-shadow: 0 2px 8px rgba(0,26,56,.1); }
.pricebox { padding: 24px; border-radius: var(--r-l); background: var(--white); border: 1px solid var(--line); box-shadow: var(--shadow); }
.pricebox__now small { display: block; font-size: var(--fs-xs); font-weight: 600; color: var(--muted); }
.pricebox__now strong { display: block; font-size: var(--fs-3xl); line-height: 1; letter-spacing: -0.04em; color: var(--navy); margin-top: 6px; }
.pricebox__was { margin-top: 8px; font-size: var(--fs-s); color: var(--muted); }
.pricebox__was b { color: var(--good); }
.pricebox__rows { list-style: none; margin-top: 18px; border-top: 1px solid var(--line-soft); }
.pricebox__rows li { display: flex; justify-content: space-between; gap: 12px; padding: 11px 0; border-bottom: 1px solid var(--line-soft); font-size: var(--fs-s); }
.pricebox__rows span { color: var(--muted); }
.pricebox__rows b { color: var(--ink); text-align: right; }
.pricebox__rows b small { display: block; font-weight: 500; color: var(--muted); font-size: var(--fs-xs); }
.pricebox__note { margin-top: 12px; font-size: var(--fs-xs); color: var(--muted); }
.pricebox .btn { margin-top: 18px; }
.pricebox__alt { display: flex; gap: 10px; margin-top: 10px; }
.pricebox__alt .btn { margin-top: 0; flex: 1; }
.listcols { columns: 2 220px; column-gap: 32px; list-style: none; }
.listcols li { display: flex; gap: 10px; align-items: flex-start; padding: 10px 0; border-bottom: 1px solid var(--line-soft); break-inside: avoid; }
.listcols .icon { color: var(--orange-deep); flex: none; margin-top: 3px; }
.assurance { margin-top: 18px; display: flex; gap: 12px; padding: 16px 18px; border-radius: var(--r-m); background: #e7f5ee; color: #0f5c38; font-weight: 600; font-size: var(--fs-s); }
.assurance .icon { flex: none; }
.growth { display: grid; grid-template-columns: auto 1fr; gap: 24px; align-items: center; padding: 24px; border-radius: var(--r-l); background: var(--navy); color: #c8d4e3; }
.growth strong { display: block; font-size: var(--fs-3xl); color: var(--orange); letter-spacing: -0.04em; line-height: 1; }
.growth ol { list-style: none; display: grid; gap: 6px; font-size: var(--fs-s); }
.growth li { display: flex; justify-content: space-between; gap: 12px; border-bottom: 1px solid rgba(255,255,255,.12); padding-bottom: 6px; }
.growth li b { color: var(--white); }
.growth__note { grid-column: span 2; font-size: var(--fs-xs); color: #93a6bf; }
.map { border-radius: var(--r-l); overflow: hidden; aspect-ratio: 16 / 9; border: 1px solid var(--line); }
.map iframe { width: 100%; height: 100%; border: 0; }
.mobile-cta { display: none; }

/* Filters bar (estates) */
.filterbar { display: flex; flex-wrap: wrap; gap: 12px; align-items: end; padding: 18px; margin-bottom: 32px; border-radius: var(--r-l); background: var(--paper); }
.filterbar .field { grid-column: auto; flex: 1 1 170px; }
.filterbar .input { min-height: 46px; }
.filterbar__count { margin-left: auto; align-self: center; font-size: var(--fs-s); color: var(--muted); }

/* Split contact / booking layout */
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); gap: clamp(32px, 6vw, 88px); align-items: start; }
.contact-list { list-style: none; display: grid; gap: 0; margin-top: 28px; border-top: 1px solid var(--line); }
.contact-list li { display: grid; grid-template-columns: 44px 1fr; gap: 14px; padding: 18px 0; border-bottom: 1px solid var(--line); }
.contact-list .icon-wrap { width: 44px; height: 44px; border-radius: 50%; background: var(--paper); display: grid; place-items: center; color: var(--navy); }
.contact-list small { display: block; font-size: var(--fs-xs); color: var(--muted); }
.contact-list a, .contact-list strong { font-weight: 700; color: var(--navy); text-decoration: none; }
.panel { padding: clamp(24px, 4vw, 40px); border-radius: var(--r-l); background: var(--white); border: 1px solid var(--line); box-shadow: var(--shadow); }
.panel h2 { font-size: var(--fs-2xl); }
.panel > p { margin-top: 8px; color: var(--muted); }
.panel .form { margin-top: 24px; }
.sel-estate { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 10px; grid-column: span 2; }
.sel-estate label { position: relative; display: flex; gap: 12px; align-items: center; padding: 10px; border: 1.5px solid var(--line); border-radius: var(--r-m); cursor: pointer; }
.sel-estate input { position: absolute; opacity: 0; }
.sel-estate img { width: 54px; height: 54px; border-radius: 6px; object-fit: cover; flex: none; }
.sel-estate strong { display: block; font-size: var(--fs-s); color: var(--navy); line-height: 1.25; }
.sel-estate small { display: block; font-size: var(--fs-xs); color: var(--muted); }
.sel-estate label:has(input:checked) { border-color: var(--orange); background: var(--orange-wash); }
.sel-estate label:has(input:focus-visible) { box-shadow: var(--focus); }

/* Jobs */
.jobs { list-style: none; border-top: 1px solid var(--line); }
.job { position: relative; display: grid; grid-template-columns: 1fr auto; gap: 16px; align-items: center; padding: 24px 0; border-bottom: 1px solid var(--line); }
.job h3 a { color: inherit; text-decoration: none; }
.job h3 a::after { content: ""; position: absolute; inset: 0; }
.job p { color: var(--muted); font-size: var(--fs-s); margin-top: 4px; }

/* Legal */
.legal { max-width: 760px; }
.legal h2 { font-size: var(--fs-xl); margin: 40px 0 12px; }
.legal p, .legal li { color: #2c3a4b; }
.legal ul { padding-left: 1.2em; margin-top: 10px; }

/* Empty / error */
.empty { padding: 48px 32px; border: 1.5px dashed var(--line); border-radius: var(--r-l); text-align: center; color: var(--muted); }
.empty h3 { margin-bottom: 8px; }
.errorpage { min-height: 60vh; display: grid; align-items: center; }
.errorpage__code { font-size: clamp(5rem, 18vw, 12rem); font-weight: 800; letter-spacing: -0.06em; line-height: .85; color: var(--orange); }

/* 8 ─ Responsive ───────────────────────────────────────────────────────── */
@media (max-width: 1100px) {
    .nav, .header__phone { display: none; }
    .header__burger { display: inline-grid; }
    .header .wrap { min-height: 68px; }
    .estate { grid-template-columns: 240px minmax(0, 1fr); }
    .estate__price { grid-column: 2; text-align: left; display: flex; align-items: baseline; flex-wrap: wrap; gap: 4px 14px; }
    .estate__price .link-arrow { margin-top: 0; margin-left: auto; }
    .people { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .footer__grid { grid-template-columns: 1fr 1fr; }
    .elayout { grid-template-columns: minmax(0, 1fr) 340px; }
}
@media (max-width: 860px) {
    .topbar { display: none; }
    .hero .wrap, .pagehead--split .wrap, .docs, .faq, .split, .elayout { grid-template-columns: minmax(0, 1fr); }
    .hero__title { max-width: none; }
    .head { grid-template-columns: 1fr; }
    .head > .btn, .head > .link-arrow { grid-row: auto; grid-column: 1; justify-self: start; }
    .estate { grid-template-columns: 1fr; gap: 16px; }
    .estate__price { grid-column: 1; }
    .divisions { grid-template-columns: 1fr; }
    .division { grid-template-columns: 1fr; min-height: 0; }
    .division__img { display: none; }
    .cards, .posts { grid-template-columns: 1fr 1fr; }
    .post--lead { grid-column: span 2; grid-template-columns: 1fr; gap: 16px; }
    .features { --cols: 2 !important; }
    .steps { grid-template-columns: 1fr; border-top: 0; border-left: 2px solid var(--navy); padding-left: 0; }
    .step { padding: 0 0 28px 36px; }
    .step::before { position: absolute; left: -21px; top: 0; margin: 0; }
    .elayout__aside { position: static; order: -1; }
    .ehero__gallery, .ehero__gallery--1, .ehero__gallery--2, .ehero__gallery--3 { grid-template-columns: 1fr 1fr; grid-template-rows: none; height: auto; }
    .ehero__gallery a { aspect-ratio: 1; grid-row: auto !important; grid-column: auto !important; }
    .ehero__gallery a:first-child { grid-column: span 2 !important; aspect-ratio: 4 / 3; }
    .ehero__gallery a:nth-child(n+4) { display: none; }
    .footer__cta { grid-template-columns: 1fr; }
    .lightbox { padding: 64px 12px 16px; }
    .mobile-cta { display: flex; position: fixed; left: 0; right: 0; bottom: 0; z-index: 35; gap: 8px; padding: 10px 12px calc(10px + env(safe-area-inset-bottom)); background: var(--white); border-top: 1px solid var(--line); }
    .mobile-cta .btn { flex: 1; min-height: 46px; }
    .has-mobile-cta .wa-float { display: none; }
    .has-mobile-cta .footer { padding-bottom: 72px; }
}
@media (max-width: 600px) {
    :root { --fs-m: 1rem; }
    .header .wrap { gap: 12px; }
    .logo img { width: 138px; }
    .header__cta .btn { display: none; }
    .header__cta { margin-left: auto; }
    .form { grid-template-columns: minmax(0, 1fr); }
    .field--half, .check, .form__actions, .sel-estate { grid-column: span 1; }
    .cards, .posts, .people { grid-template-columns: 1fr 1fr; gap: 24px 14px; }
    .cards, .posts { grid-template-columns: 1fr; }
    .post--lead { grid-column: span 1; }
    .features { --cols: 1 !important; }
    .siteplan { padding: 16px; }
    .siteplan__facts { grid-template-columns: 1fr 1fr 1fr; }
    .siteplan__facts dd { font-size: var(--fs-m); }
    .siteplan__actions { flex-direction: column; }
    .footer__grid { grid-template-columns: 1fr; gap: 32px; }
    .wa-float span { display: none; }
    .wa-float { padding: 14px; }
    .growth { grid-template-columns: 1fr; }
    .growth__note { grid-column: span 1; }
    .qa summary { font-size: var(--fs-m); }
    .folder { padding: 28px 20px 24px; }
}
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { transition: none !important; animation: none !important; scroll-behavior: auto !important; }
}

/* Print: estate pages print as a clean fact sheet */
@media print {
    .topbar, .header, .footer, .wa-float, .mobile-cta, .ehero__share, .pricebox .btn, .pricebox__alt { display: none !important; }
    .elayout { grid-template-columns: 1fr 300px; }
    .pricebox, .siteplan { box-shadow: none; }
}
