/* =====================================================================
   Public site styles — light, warm white with a coral accent;
   the hero, track-record band and footer stay dark.
   Layout: full-bleed photo hero, then horizontal carousels of tall
   photo cards; content pages sit on white.
   ===================================================================== */
/* Light tokens below; body.site-dark (Admin → Settings → Website theme) switches the whole site to dark.
   Dark scope (.theme-dark and the sections listed below) is used
   for the photo hero, the home header while it sits on the hero, the track-record band and the footer. */
:root {
  --bg: #ffffff;
  --bg-2: #f4f6f8;
  --surface: #edf1f4;
  --surface-2: #dee5ea;
  --input: #ffffff;
  --line: #dce4e9;
  --line-2: #c0cdd7;
  --text: #191d20;
  --text-2: #40494f;
  --muted: #69757e;
  --strong: #0f1215;
  --coral: #0e8c7e;
  --coral-hi: #0a6b61;
  --coral-dk: #0b7a6e;
  --coral-soft: rgba(14, 140, 126, .1);
  --hover: rgba(25, 29, 32, .05);
  --header-bg: rgba(255, 255, 255, .94);
  --ok: #1f8a4c;
  --danger: #c8372d;
  --white: #ffffff;
  --radius: 22px;
  --radius-lg: 30px;
  --radius-sm: 12px;
  --shadow: 0 10px 30px rgba(25, 29, 32, .08);
  --shadow-lg: 0 24px 70px rgba(25, 29, 32, .18);
  --font: "Space Grotesk", "Avenir Next", "Segoe UI", system-ui, -apple-system, sans-serif;
  --wrap: 1240px;
  --header-h: 76px;
  color-scheme: light;
}
/* --heading follows the scope's text colour; the light theme sets it to navy */
.site-dark, .theme-dark, .hero, .stats-band, .site-footer, .page-home .site-header:not(.scrolled):not(:has(.main-nav.open)) {
  --heading: var(--text);
  --bg: #191d20;
  --bg-2: #1f2427;
  --surface: #262b2f;
  --surface-2: #2d353a;
  --input: #131619;
  --line: #333b41;
  --line-2: #45515a;
  --text: #eaeff2;
  --text-2: #bbc7d0;
  --muted: #8b9aa5;
  --strong: #ffffff;
  --coral-hi: #4fd3c0;
  --coral-soft: rgba(34, 179, 160, .14);
  --hover: rgba(255, 255, 255, .07);
  --header-bg: rgba(25, 29, 32, .92);
  --ok: #74c493;
  --danger: #ff8b7b;
  color-scheme: dark;
  color: var(--text);
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 20px); }
body { margin: 0; font-family: var(--font); font-size: 16px; line-height: 1.6; color: var(--text); background: var(--bg); -webkit-font-smoothing: antialiased; letter-spacing: .005em; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--coral-hi); text-decoration: none; }
a:hover { color: var(--strong); }
h1, h2, h3, h4 { line-height: 1.15; margin: 0 0 .5em; color: var(--heading, var(--text)); font-weight: 400; letter-spacing: -.01em; text-wrap: balance; }
h1 { font-size: clamp(2.2rem, 5vw, 3.9rem); font-weight: 400; }
h2 { font-size: clamp(1.6rem, 3vw, 2.35rem); }
h3 { font-size: 1.2rem; font-weight: 500; }
p { margin: 0 0 1em; }
button { font: inherit; cursor: pointer; color: inherit; }
input, select, textarea { font: inherit; color: inherit; }
[hidden] { display: none !important; }
:focus-visible { outline: 2px solid var(--coral); outline-offset: 2px; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding-inline: 24px; }
.wrap.narrow, .narrow { max-width: 860px; }
.center { text-align: center; }
.muted { color: var(--muted); }
.small { font-size: .875rem; }
.eyebrow { text-transform: uppercase; letter-spacing: .16em; font-size: .78rem; font-weight: 500; color: var(--coral); margin: 0 0 .8em; }
.lede { font-size: 1.12rem; color: var(--text-2); max-width: 680px; font-weight: 300; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.sq { display: inline-block; width: .32em; height: .32em; background: var(--coral); margin-left: .18em; vertical-align: super; font-size: .9em; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .5em; padding: .85em 1.6em; border-radius: 999px; border: 1.5px solid transparent; font-weight: 500; font-size: .92rem; line-height: 1.2; letter-spacing: .04em; transition: background .15s, color .15s, border-color .15s, transform .1s; white-space: nowrap; text-decoration: none; }
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--coral); color: var(--white); }
.btn-primary:hover { background: var(--coral-hi); color: var(--white); }
.btn-outline { background: transparent; border-color: var(--line-2); color: var(--text); }
.btn-outline:hover, .btn-outline.on { border-color: var(--coral); color: var(--strong); background: var(--coral-soft); }
.btn-ghost { background: transparent; color: var(--coral-hi); }
.btn-ghost:hover { background: var(--coral-soft); color: var(--strong); }
.btn-light { background: var(--text); color: var(--bg); }
.btn-light:hover { background: var(--white); color: var(--bg); }
.btn-sm { padding: .6em 1.15em; font-size: .84rem; }
.btn-lg { padding: 1em 2em; font-size: 1rem; }
.btn-block { width: 100%; }
.btn[disabled] { opacity: .6; pointer-events: none; }
.link { background: none; border: 0; padding: 0; color: var(--coral-hi); font-weight: 500; text-decoration: underline; text-underline-offset: 3px; }
.link-arrow { font-weight: 500; white-space: nowrap; color: var(--text-2); border-bottom: 1px solid var(--line-2); padding-bottom: 2px; }
.link-arrow::after { content: " →"; color: var(--coral); }
.link-arrow:hover { color: var(--strong); border-color: var(--coral); }

/* ---------------------------------------------------------------------
   Header
   --------------------------------------------------------------------- */
.site-header { position: sticky; top: 0; z-index: 50; background: var(--header-bg); backdrop-filter: saturate(140%) blur(14px); border-bottom: 1px solid var(--line); }
.header-row { display: flex; align-items: center; gap: 22px; height: var(--header-h); }
.brand { display: flex; align-items: center; gap: 10px; color: var(--text); flex-shrink: 0; }
.brand:hover { color: var(--text); }
.brand-mark { position: relative; display: grid; place-items: center; width: 34px; height: 34px; color: var(--strong); }
.brand-mark svg { width: 30px; height: 30px; }
.brand-mark i { position: absolute; right: -4px; top: -2px; width: 8px; height: 8px; background: var(--coral); }
.brand-name { font-size: 1.3rem; font-weight: 600; letter-spacing: -.02em; white-space: nowrap; }
.brand-name em { font-style: normal; color: var(--coral); }
.hdr-search { position: relative; flex: 1 1 360px; min-width: 0; max-width: 520px; display: flex; align-items: center; height: 48px; border: 1px solid rgba(34, 179, 160, .45); background: var(--input); border-radius: 999px; padding: 0 6px 0 16px; transition: border-color .15s, opacity .25s, transform .25s; }
.hdr-search:focus-within { border-color: var(--coral); }
.hs-icon { color: var(--text); flex-shrink: 0; }
.hdr-search input { flex: 1; min-width: 0; border: 0; background: transparent; outline: none; padding: 0 10px; font-size: .95rem; color: var(--text); }
.hdr-search input::placeholder, .hero-field input::placeholder { color: var(--muted); opacity: 1; transition: opacity .3s; }
.hdr-search input.hint-fade::placeholder, .hero-field input.hint-fade::placeholder { opacity: 0; }
input[type=search]::-webkit-search-cancel-button { filter: none; }
.hero input[type=search]::-webkit-search-cancel-button, .theme-dark input[type=search]::-webkit-search-cancel-button { filter: invert(.7); }
.hs-mic { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; border: 0; background: var(--coral-soft); color: var(--coral-hi); flex-shrink: 0; }
.hs-mic.listening { background: var(--coral); color: var(--white); animation: pulse 1.2s infinite; }
@keyframes pulse { 50% { box-shadow: 0 0 0 8px rgba(34, 179, 160, .2); } }
.page-home .site-header:not(.scrolled) .hdr-search { opacity: 0; transform: translateY(-6px); pointer-events: none; }
.page-home .site-header:not(.scrolled) { background: transparent; border-bottom-color: transparent; backdrop-filter: none; }
.page-home .site-header { position: fixed; left: 0; right: 0; transition: background .25s, border-color .25s; }
.main-nav { display: flex; gap: 2px; align-items: center; margin-left: auto; }
.main-nav > a, .nav-item > a { white-space: nowrap; padding: 8px 12px; border-radius: 999px; color: var(--text-2); font-weight: 400; font-size: .95rem; }
.main-nav > a:hover, .nav-item > a:hover { color: var(--strong); background: var(--hover); }
.nav-extra, .nav-extra-btn { display: none !important; }
.nav-item { position: relative; }
.nav-menu { position: absolute; top: 100%; left: 0; min-width: 240px; background: var(--surface); border: 1px solid var(--line); border-radius: 16px; box-shadow: var(--shadow); padding: 8px; display: none; }
.nav-menu a { display: block; padding: 9px 12px; border-radius: 10px; color: var(--text-2); font-size: .93rem; }
.nav-menu a:hover { background: var(--surface-2); color: var(--strong); }
.has-menu:hover .nav-menu, .has-menu:focus-within .nav-menu { display: block; }
.header-actions { display: flex; align-items: center; gap: 10px; }
.hdr-icon { position: relative; display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; color: var(--text); }
.hdr-icon:hover { background: var(--hover); color: var(--strong); }
.shortlist-count:not(:empty) { position: absolute; top: 2px; right: 0; min-width: 18px; height: 18px; padding: 0 5px; border-radius: 9px; background: var(--coral); color: var(--white); font-size: .7rem; font-weight: 700; display: grid; place-items: center; }
.nav-toggle { display: none; background: none; border: 0; width: 42px; height: 42px; padding: 12px 9px; flex-direction: column; justify-content: space-between; }
.nav-toggle span { display: block; height: 1.5px; background: var(--text); border-radius: 2px; }

/* Flash */
.flash { padding: 12px 0; font-weight: 500; font-size: .95rem; }
.flash-success { background: rgba(116, 196, 147, .14); color: var(--ok); }
.flash-error { background: rgba(255, 139, 123, .12); color: var(--danger); }
.flash-warning { background: var(--coral-soft); color: var(--coral-hi); }

/* ---------------------------------------------------------------------
   Sections & headings
   --------------------------------------------------------------------- */
.section { padding: 76px 0; }
.section-sm { padding: 40px 0 64px; }
.section-alt, .section-tint { background: var(--bg-2); }
.section-dark { background: var(--surface); }
.sec-head, .section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; margin-bottom: 30px; flex-wrap: wrap; }
.sec-head h2, .section-head h2 { margin: 0; }
.sec-head.center, .section-head.center { flex-direction: column; align-items: center; text-align: center; }
.sec-sub { color: var(--muted); margin: 10px 0 0; font-size: 1.05rem; font-weight: 300; max-width: 520px; }
.sec-tools { display: flex; align-items: center; gap: 18px; }
.duo { font-weight: 400; }
.duo > span { display: block; color: var(--coral); }
.duo.big { font-size: clamp(2.2rem, 4.4vw, 3.4rem); }
.car-nav { display: flex; gap: 8px; }
.car-nav button { width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line-2); background: transparent; color: var(--text); font-size: 1.5rem; line-height: 1; display: grid; place-items: center; padding-bottom: 3px; }
.car-nav button:hover { border-color: var(--coral); color: var(--coral-hi); }
.car-nav button[disabled] { opacity: .3; pointer-events: none; }

/* ---------------------------------------------------------------------
   Hero
   --------------------------------------------------------------------- */
.hero { position: relative; min-height: 640px; display: flex; align-items: flex-end; padding: calc(var(--header-h) + 90px) 0 64px; overflow: hidden; isolation: isolate; }
.hero-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.hero::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(25, 29, 32, .55) 0%, rgba(25, 29, 32, .25) 35%, rgba(25, 29, 32, .82) 80%, rgba(25, 29, 32, .92) 100%), linear-gradient(90deg, rgba(25, 29, 32, .55), transparent 65%); }
.hero-inner { width: 100%; }
.hero h1 { max-width: 760px; margin-bottom: .3em; color: var(--white); }
.hero .lede { color: #d8e0e6; }
.hero-search { margin: 30px 0 22px; max-width: 760px; }
.buy-in { display: inline-flex; align-items: center; gap: 12px; margin-bottom: 14px; font-size: 1.25rem; color: var(--white); }
.buy-in select { appearance: none; background: rgba(255, 255, 255, .14) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='m6 9 6 6 6-6' fill='none' stroke='white' stroke-width='2'/%3E%3C/svg%3E") no-repeat right 12px center / 18px; border: 0; border-radius: 999px; padding: .38em 2.4em .38em 1em; font-size: 1.15rem; color: var(--white); cursor: pointer; backdrop-filter: blur(8px); }
.buy-in select option { color: #111; }
.hero-field { display: flex; align-items: center; gap: 8px; height: 66px; padding: 0 9px 0 26px; border-radius: 999px; background: rgba(25, 29, 32, .72); border: 1px solid rgba(255, 255, 255, .28); backdrop-filter: blur(10px); }
.hero-field:focus-within { border-color: var(--coral); }
.hero-field input { flex: 1; min-width: 0; border: 0; background: transparent; outline: none; font-size: 1.12rem; color: var(--white); }
.hero-field .hs-mic { width: 48px; height: 48px; background: rgba(34, 179, 160, .25); }
.hs-go { width: 50px; height: 50px; border-radius: 50%; border: 0; background: var(--coral); color: var(--white); display: grid; place-items: center; flex-shrink: 0; }
.hs-go:hover { background: var(--coral-hi); }
.hero-chips { display: flex; gap: 10px; overflow-x: auto; scrollbar-width: none; padding-bottom: 4px; }
.hero-chips::-webkit-scrollbar { display: none; }
.hero-chips a { flex-shrink: 0; padding: .55em 1.3em; border: 1px solid rgba(255, 255, 255, .35); border-radius: 999px; color: #dde5ea; font-size: .95rem; background: rgba(25, 29, 32, .25); }
.hero-chips a:hover { border-color: var(--coral); color: var(--white); }

/* USP strip */
.usp { border-bottom: 1px solid var(--line); }
.usp-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; padding-block: 8px 34px; }
.usp-row > div { display: grid; grid-template-columns: auto 1fr; column-gap: 14px; align-items: center; padding: 6px 22px; border-left: 1px solid var(--line); }
.usp-row > div:first-child { border-left: 0; padding-left: 0; }
.usp-row svg { grid-row: span 2; color: var(--coral); }
.usp-row b { font-weight: 500; font-size: 1rem; }
.usp-row span { color: var(--muted); font-size: .86rem; }

/* ---------------------------------------------------------------------
   Carousels and project cards
   --------------------------------------------------------------------- */
.carousel { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(320px, 360px); gap: 22px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-inline: max(24px, calc((100vw - var(--wrap)) / 2 + 24px)); padding-inline: max(24px, calc((100vw - var(--wrap)) / 2 + 24px)); padding-bottom: 8px; scrollbar-width: none; overscroll-behavior-x: contain; }
.carousel::-webkit-scrollbar { display: none; }
.carousel > * { scroll-snap-align: start; }
.carousel-posts { grid-auto-columns: minmax(290px, 380px); }

.grid-cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 22px; }
.grid-results { grid-template-columns: repeat(auto-fill, minmax(270px, 1fr)); }
.grid-cards-4 { grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); }

.pcard { position: relative; display: flex; flex-direction: column; justify-content: space-between; min-height: 470px; border-radius: var(--radius-lg); clip-path: inset(0 round var(--radius-lg)); background: #262b2f; border: 1.5px solid transparent; isolation: isolate; min-width: 0; width: 100%; transition: border-color .2s, transform .25s; }
.pcard:hover, .pcard:focus-within { border-color: var(--coral); }
.pcard-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform .6s; }
.pcard:hover .pcard-bg { transform: scale(1.04); }
.pcard::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(0, 0, 0, .2) 0%, rgba(0, 0, 0, 0) 22%, rgba(13, 16, 19, .12) 40%, rgba(13, 16, 19, .78) 64%, rgba(13, 16, 19, .96) 100%); }
.pcard-top { display: flex; justify-content: space-between; align-items: flex-start; padding: 22px 22px 0; }
.pcard-dev { display: grid; place-items: center; width: 84px; height: 84px; border-radius: 20px; background: var(--white); overflow: hidden; box-shadow: 0 4px 16px rgba(0, 0, 0, .25); }
.pcard-dev img { width: 100%; height: 100%; object-fit: contain; padding: 6px; }
.pcard-dev b { font-size: 1.6rem; font-weight: 600; color: #20272c; letter-spacing: .02em; }
.pcard-tools { display: flex; flex-direction: column; gap: 10px; position: relative; z-index: 2; }
.pcard-btn { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 50%; border: 0; background: rgba(60, 70, 85, .55); color: var(--white); backdrop-filter: blur(10px); }
.pcard-btn:hover { background: rgba(34, 179, 160, .85); color: var(--white); }
.pcard-heart svg { fill: none; stroke: currentColor; stroke-width: 1.7; }
.pcard-heart.on { background: var(--white); color: var(--coral); }
.pcard-heart.on svg { fill: currentColor; }
.pcard-body { padding: 0 24px 24px; }
.pcard-offer { display: flex; align-items: center; gap: 8px; margin: 0 0 10px; padding: 7px 12px 7px 7px; border-radius: 12px; background: rgba(34, 179, 160, .9); color: var(--white); font-size: .84rem; line-height: 1.3; overflow: hidden; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.pcard-offer span { display: inline-grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; background: var(--white); color: var(--coral); font-weight: 700; font-size: .78rem; margin-right: 8px; vertical-align: middle; }
.badge.badge-zero { background: var(--ok); color: #ffffff; }
.proj-offer { margin-top: 8px; padding: 8px 14px; border-radius: 12px; background: var(--coral-soft); color: var(--coral-hi); font-size: .92rem; text-align: left; max-width: 360px; }
.proj-price-box .proj-offer b { display: inline; font-size: .78rem; line-height: 1.4; color: var(--white); background: var(--coral); border-radius: 6px; padding: 1px 7px; font-weight: 500; margin-right: 6px; font-size: .78rem; letter-spacing: .06em; text-transform: uppercase; }
.pcard-status { margin: 0 0 12px; display: flex; flex-wrap: nowrap; gap: 6px; align-items: center; overflow: hidden; }
.pcard-status span { flex-shrink: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; padding: 4px 10px; border-radius: 999px; font-size: .66rem; letter-spacing: .09em; text-transform: uppercase; background: rgba(15, 18, 21, .62); color: #e3e9ed; backdrop-filter: blur(6px); }
.pcard-status .pcard-verified { background: var(--coral); color: var(--white); flex-shrink: 0; }
.pcard h3 { font-size: clamp(1.45rem, 2.2vw, 1.85rem); line-height: 1.12; margin: 0 0 6px; font-weight: 400; overflow: hidden; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.pcard h3 a { color: var(--white); }
.pcard h3 a::after { content: ""; position: absolute; inset: 0; z-index: 1; }
.pcard-loc { margin: 0; color: #bcc9d2; font-size: 1rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pcard-foot { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 12px; margin-top: 16px; padding-top: 16px; border-top: 1.5px solid rgba(255, 255, 255, .55); }
.pcard-price { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.pcard-price b { font-weight: 400; font-size: 1.1rem; letter-spacing: -.01em; color: var(--white); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pcard-price span { color: #d9e1e7; font-size: .95rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pcard-cta { position: relative; z-index: 2; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; width: 52px; height: 52px; border-radius: 16px; border: 0; background: var(--coral); color: var(--white); cursor: pointer; transition: background .2s, transform .2s; }
.pcard-cta:hover { background: var(--white); color: var(--coral); transform: translateY(-1px); }
.pcard-cta em { font-style: normal; font-size: .6rem; letter-spacing: .12em; text-transform: uppercase; line-height: 1; }

/* Developer strip */
.dev-strip { display: flex; gap: 16px; overflow-x: auto; scrollbar-width: none; padding-inline: max(24px, calc((100vw - var(--wrap)) / 2 + 24px)); padding-bottom: 6px; }
.dev-strip::-webkit-scrollbar { display: none; }
.dev-logo { flex: 0 0 156px; height: 156px; display: grid; place-items: center; background: var(--white); border: 1px solid var(--line); border-radius: 26px; padding: 18px; color: #20272c; font-weight: 600; text-align: center; font-size: .95rem; transition: transform .2s; }
.dev-logo:hover { transform: translateY(-3px); color: #20272c; }
.dev-logo img { max-height: 120px; width: auto; object-fit: contain; }
.dev-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 18px; }
.dev-card { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 8px; padding: 28px 18px; background: var(--surface); border: 1.5px solid transparent; border-radius: var(--radius); color: var(--text); }
.dev-card:hover { border-color: var(--coral); color: var(--text); }
.dev-card-logo { width: 96px; height: 96px; border-radius: 22px; background: var(--white); display: grid; place-items: center; overflow: hidden; }
.dev-card-logo img { width: 100%; height: 100%; object-fit: contain; padding: 8px; }
.dev-card-logo b { color: #20272c; font-size: 1.7rem; font-weight: 600; }
.dev-card-name { font-weight: 500; font-size: 1.1rem; }
.dev-card-meta { font-size: .86rem; color: var(--muted); }

/* Advantage */
.adv-grid { display: grid; grid-template-columns: 1fr 1.25fr; gap: 64px; align-items: start; }
.adv-copy .lede { margin: 18px 0 28px; }
.adv-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 0; border-top: 1px solid var(--line); }
.adv-list li { padding: 26px 26px 26px 0; border-bottom: 1px solid var(--line); }
.adv-list li:nth-child(odd) { border-right: 1px solid var(--line); }
.adv-list li:nth-child(even) { padding-left: 26px; padding-right: 0; }
.adv-list h3 { margin-bottom: 8px; color: var(--strong); }
.adv-list h3::before { content: ""; display: inline-block; width: 8px; height: 8px; background: var(--coral); margin-right: 10px; vertical-align: middle; }
.adv-list p { color: var(--text-2); margin: 0; font-size: .96rem; font-weight: 300; }
.steps { list-style: none; counter-reset: s; display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; padding: 0; margin: 64px 0 0; }
.steps li { counter-increment: s; border-top: 1.5px solid var(--line-2); padding-top: 20px; }
.steps li::before { content: counter(s, decimal-leading-zero); color: var(--coral); font-size: 1rem; letter-spacing: .1em; display: block; margin-bottom: 10px; }
.steps b { display: block; color: var(--strong); font-size: 1.12rem; font-weight: 500; margin-bottom: 6px; }
.steps span { font-size: .94rem; color: var(--text-2); font-weight: 300; }

/* Localities */
.loc-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 14px; }
.loc-card { position: relative; display: flex; flex-direction: column; gap: 2px; padding: 22px 22px 20px; background: var(--surface); border: 1.5px solid transparent; border-radius: var(--radius); color: var(--text); transition: border-color .15s; }
.loc-card:hover { border-color: var(--coral); color: var(--text); }
.loc-name { font-size: 1.25rem; font-weight: 400; }
.loc-city { font-size: .8rem; color: var(--muted); text-transform: uppercase; letter-spacing: .12em; }
.loc-meta { font-size: .9rem; color: var(--coral-hi); margin-top: 12px; }
.loc-card.is-empty .loc-meta { color: var(--muted); }
.city-block { margin-bottom: 48px; }
.city-block h2 { margin-bottom: 18px; }

/* Posts */
.grid-posts { display: grid; grid-template-columns: repeat(auto-fill, minmax(290px, 1fr)); gap: 22px; }
.post-card { position: relative; background: var(--surface); border-radius: var(--radius-lg); padding: 22px; display: flex; flex-direction: column; gap: 18px; border: 1.5px solid transparent; transition: border-color .2s; }
.post-card:hover { border-color: var(--line-2); }
.post-img { display: block; aspect-ratio: 16 / 10; background: var(--surface-2); overflow: hidden; border-radius: 18px; }
.post-img img { width: 100%; height: 100%; object-fit: cover; }
.post-body { padding: 0 4px 18px; }
.post-cat { color: var(--coral); text-transform: uppercase; letter-spacing: .08em; font-size: .88rem; margin: 0 0 8px; }
.post-body h3 { font-size: 1.3rem; font-weight: 400; margin: 0 0 8px; }
.post-body h3 a { color: var(--text); }
.post-body h3 a::after { content: ""; position: absolute; inset: 0; }
.post-meta { font-size: .84rem !important; color: var(--muted) !important; margin: 0 !important; }
.post-sq { position: absolute; right: 22px; bottom: 22px; width: 22px; height: 22px; background: var(--coral); }
.blog-search { display: flex; gap: 8px; max-width: 460px; margin-bottom: 28px; }

/* FAQ */
.faq details { border-bottom: 1px solid var(--line); padding: 4px 0; }
.faq summary { cursor: pointer; padding: 18px 40px 18px 0; font-weight: 400; font-size: 1.12rem; list-style: none; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 4px; top: 12px; font-size: 1.6rem; color: var(--coral); transition: transform .2s; font-weight: 300; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details > p, .faq details > div { color: var(--text-2); padding-bottom: 14px; font-weight: 300; }

/* CTA band */
.cta-band { padding: 0 0 80px; }
.cta-row { display: flex; justify-content: space-between; align-items: center; gap: 32px; background: var(--coral); border-radius: var(--radius-lg); padding: 44px 48px; }
.cta-row h2 { color: var(--white); margin-bottom: .2em; }
.cta-row p { color: #f0fbfa; margin: 0; max-width: 620px; }
.cta-row .btn-primary { background: #191d20; color: var(--white); }
.cta-row .btn-primary:hover { background: #000; }

/* ---------------------------------------------------------------------
   Forms
   --------------------------------------------------------------------- */
.field { margin-bottom: 12px; }
.field label { display: block; font-size: .84rem; font-weight: 500; margin-bottom: 6px; color: var(--text-2); }
.field input, .field select, .field textarea, .filters input, .filters select, .blog-search input {
  width: 100%; padding: .78em 1em; border: 1px solid var(--line-2); border-radius: var(--radius-sm); background: var(--input); color: var(--text); outline: none; transition: border-color .15s, box-shadow .15s;
}
.field input::placeholder, .field textarea::placeholder, .filters input::placeholder, .blog-search input::placeholder { color: var(--muted); }
.field input:focus, .field select:focus, .field textarea:focus, .filters input:focus, .filters select:focus, .blog-search input:focus { border-color: var(--coral); box-shadow: 0 0 0 3px var(--coral-soft); }
.field.has-error input, .field.has-error select { border-color: var(--danger); }
.field .err { color: var(--danger); font-size: .8rem; margin-top: 4px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.input-prefix { display: flex; align-items: stretch; }
.input-prefix span { display: grid; place-items: center; padding: 0 .9em; border: 1px solid var(--line-2); border-right: 0; border-radius: var(--radius-sm) 0 0 var(--radius-sm); background: var(--surface-2); font-weight: 500; color: var(--text-2); font-size: .92rem; }
.input-prefix input { border-radius: 0 var(--radius-sm) var(--radius-sm) 0 !important; }
.check { display: flex; gap: 8px; align-items: flex-start; font-size: .85rem; color: var(--text-2); margin: 6px 0 12px; cursor: pointer; }
.check input { margin-top: 3px; accent-color: var(--coral); }
.consent { font-size: .76rem; color: var(--muted); }
.form-error { color: var(--danger); font-weight: 500; font-size: .88rem; margin: 0 0 10px; }
.form-success { color: var(--ok); font-weight: 500; margin: 10px 0 0; }
.inline-lead h3 { margin-bottom: .25em; }
select option { background: var(--surface); color: var(--text); }

/* ---------------------------------------------------------------------
   Page head / crumbs / listing
   --------------------------------------------------------------------- */
.page-head { padding: 40px 0 36px; border-bottom: 1px solid var(--line); background: radial-gradient(900px 300px at 90% -20%, rgba(34, 179, 160, .12), transparent 70%), var(--bg-2); }
.page-head h1 { font-size: clamp(2rem, 4vw, 3rem); margin-bottom: .25em; }
.crumbs { display: flex; flex-wrap: wrap; gap: 6px; font-size: .84rem; color: var(--muted); margin-bottom: 16px; }
.crumbs a { color: var(--muted); }
.crumbs a:hover { color: var(--coral-hi); }
.head-stats { list-style: none; display: flex; flex-wrap: wrap; gap: 12px; padding: 0; margin: 22px 0 0; }
.head-stats li { background: var(--surface); border-radius: 16px; padding: 12px 18px; display: flex; flex-direction: column; }
.head-stats b { font-size: 1.3rem; font-weight: 400; }
.head-stats span { font-size: .78rem; color: var(--muted); text-transform: uppercase; letter-spacing: .08em; }
.link-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.link-chips a { padding: .5em 1.1em; border: 1px solid var(--line-2); border-radius: 999px; font-size: .88rem; color: var(--text-2); }
.link-chips a:hover, .link-chips a.on { border-color: var(--coral); color: var(--strong); background: var(--coral-soft); }

.listing { display: grid; grid-template-columns: 290px 1fr; gap: 32px; padding-top: 32px; padding-bottom: 72px; align-items: start; }
.filters { position: sticky; top: calc(var(--header-h) + 18px); background: var(--surface); border-radius: var(--radius); padding: 20px; max-height: calc(100vh - var(--header-h) - 36px); overflow: auto; scrollbar-width: thin; }
.filters-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 14px; font-size: 1rem; }
.filters-head b { font-weight: 500; }
.filters-head a { font-size: .84rem; }
.fgroup { padding: 14px 0; border-top: 1px solid var(--line); }
.flabel { display: block; font-size: .74rem; text-transform: uppercase; letter-spacing: .14em; font-weight: 500; color: var(--coral); margin-bottom: 10px; }
.filters input, .filters select { padding: .62em .85em; font-size: .9rem; }
.filters input[type=radio], .filters input[type=checkbox] { width: auto; padding: 0; margin: 0 6px 0 0; flex: none; }
.frow { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.chips { display: flex; flex-wrap: wrap; gap: 6px; }
.chip { position: relative; }
.chip input { position: absolute; opacity: 0; pointer-events: none; }
.chip span { display: inline-block; padding: 6px 12px; border: 1px solid var(--line-2); border-radius: 999px; font-size: .82rem; cursor: pointer; color: var(--text-2); }
.chip input:checked + span { background: var(--coral); color: var(--white); border-color: var(--coral); }
.chip input:focus-visible + span { outline: 2px solid var(--coral); }
.radio { display: flex; gap: 8px; align-items: center; font-size: .92rem; padding: 4px 0; cursor: pointer; color: var(--text-2); }
.radio input { accent-color: var(--coral); }
.filters .btn { margin-top: 14px; }
.results-bar { display: flex; justify-content: space-between; align-items: center; margin-bottom: 20px; gap: 12px; flex-wrap: wrap; }
.results-bar p { margin: 0; color: var(--text-2); }
.results-bar b { color: var(--strong); font-weight: 500; }
.understood { display: inline-flex; flex-wrap: wrap; gap: 6px; margin-left: 4px; vertical-align: middle; }
.understood em { font-style: normal; font-size: .82rem; padding: 3px 10px; border-radius: 999px; background: var(--coral-soft); color: var(--coral-hi); }
.search-note { background: var(--surface); border-left: 3px solid var(--coral); padding: 12px 16px; border-radius: 0 12px 12px 0; color: var(--text-2); font-size: .94rem; }
.results-tools { display: flex; gap: 10px; align-items: center; }
.sort { display: flex; align-items: center; gap: 8px; font-size: .88rem; color: var(--muted); }
.sort select { padding: .55em .9em; border: 1px solid var(--line-2); border-radius: 999px; background: var(--input); color: var(--text); }
.filter-toggle { display: none; }
.inline-cta { grid-column: 1 / -1; display: flex; justify-content: space-between; align-items: center; gap: 20px; background: var(--coral); color: #f0fbfa; border-radius: var(--radius-lg); padding: 28px 32px; }
.inline-cta h3 { color: var(--white); font-size: 1.5rem; font-weight: 400; margin: 0 0 4px; }
.inline-cta p { margin: 0; }
.inline-cta .btn-primary { background: #191d20; color: var(--white); }
.inline-cta .btn-primary:hover { background: #000; }
.empty { text-align: center; padding: 56px 24px; background: var(--surface); border-radius: var(--radius); }
.empty p { color: var(--text-2); }
.empty-actions { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; }
.seo-copy { margin-top: 56px; padding-top: 32px; border-top: 1px solid var(--line); }
.pager { display: flex; justify-content: center; gap: 6px; margin: 40px 0 0; flex-wrap: wrap; }
.pager a, .pager span { min-width: 44px; height: 44px; padding: 0 14px; display: grid; place-items: center; border-radius: 999px; border: 1px solid var(--line-2); color: var(--text-2); }
.pager a:hover { border-color: var(--coral); color: var(--strong); }
.pager .current { background: var(--coral); color: var(--white); border-color: var(--coral); }

/* ---------------------------------------------------------------------
   Project detail
   --------------------------------------------------------------------- */
.proj-head { padding-top: 28px; }
.proj-title-row { display: flex; justify-content: space-between; gap: 24px; align-items: flex-end; flex-wrap: wrap; }
.proj-title-row h1 { font-size: clamp(2.1rem, 4.4vw, 3.4rem); }
.proj-badges { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 14px; }
.badge { display: inline-block; font-size: .74rem; letter-spacing: .1em; text-transform: uppercase; padding: 5px 12px; border-radius: 999px; background: var(--surface); color: var(--text-2); }
.badge-verified { background: var(--coral); color: var(--white); }
.proj-sub { color: var(--text-2); margin: 0; font-size: 1.05rem; }
.proj-sub a { color: var(--text); border-bottom: 1px solid var(--line-2); }
.proj-sub a:hover { border-color: var(--coral); }
.proj-tagline { font-size: 1.15rem; color: var(--muted); margin: 10px 0 0; font-weight: 300; }
.proj-price-box { text-align: right; display: flex; flex-direction: column; gap: 2px; }
.proj-price-box .label { font-size: .74rem; text-transform: uppercase; letter-spacing: .14em; color: var(--coral); }
.proj-price-box b { font-size: 2.3rem; font-weight: 400; line-height: 1.1; }
.proj-price-box .muted { font-size: .92rem; }
.proj-actions { display: flex; gap: 8px; justify-content: flex-end; margin-top: 12px; }
.gallery { display: grid; grid-template-columns: 2fr 1fr 1fr; grid-template-rows: 230px 230px; gap: 10px; margin-top: 26px; border-radius: var(--radius-lg); overflow: hidden; }
.g-item { position: relative; overflow: hidden; background: var(--surface); }
.g-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.g-item:hover img { transform: scale(1.04); }
.g-0 { grid-row: span 2; }
.g-more { position: absolute; inset: 0; background: rgba(13, 16, 19, .6); color: var(--white); display: grid; place-items: center; font-size: 1.1rem; }
.facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); margin-top: 22px; background: var(--surface); border-radius: var(--radius); overflow: hidden; }
.fact { padding: 18px 22px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); margin: 0 -1px -1px 0; }
.fact span { display: block; font-size: .72rem; text-transform: uppercase; letter-spacing: .14em; color: var(--coral); margin-bottom: 4px; }
.fact b { font-size: 1.08rem; font-weight: 400; }
.proj-main, .results, .proj-side { min-width: 0; }
.proj-layout { display: grid; grid-template-columns: minmax(0, 1fr) 380px; gap: 44px; padding-top: 30px; padding-bottom: 64px; align-items: start; }
.proj-tabs { position: sticky; top: var(--header-h); z-index: 5; display: flex; gap: 4px; background: var(--bg); border-bottom: 1px solid var(--line); overflow-x: auto; scrollbar-width: none; margin-bottom: 8px; }
.proj-tabs a { padding: 16px 14px; font-size: .95rem; color: var(--text-2); white-space: nowrap; border-bottom: 2px solid transparent; }
.proj-tabs a.active, .proj-tabs a:hover { color: var(--strong); border-bottom-color: var(--coral); }
.psec { padding: 34px 0; border-bottom: 1px solid var(--line); }
.psec:last-child { border-bottom: 0; }
.psec-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; margin-bottom: 16px; }
.psec-head h2 { margin: 0; }
.psec h2 { font-size: clamp(1.5rem, 2.6vw, 2rem); }
.highlights { list-style: none; padding: 0; margin: 22px 0 0; display: grid; grid-template-columns: 1fr 1fr; gap: 12px 24px; }
.highlights li { position: relative; padding-left: 22px; color: var(--text-2); font-size: .97rem; }
.highlights li::before { content: ""; position: absolute; left: 0; top: .55em; width: 8px; height: 8px; background: var(--coral); }
.our-take { background: var(--surface); border-radius: var(--radius); padding: 28px 30px; margin: 26px 0; }
.our-take .eyebrow { margin-bottom: .4em; }
.our-take h3 { font-size: 1.6rem; font-weight: 400; }
.our-take p { color: var(--text-2); }
.table-scroll { overflow-x: auto; }
.units { width: 100%; border-collapse: collapse; font-size: .96rem; }
.units th { text-align: left; font-size: .72rem; text-transform: uppercase; letter-spacing: .12em; color: var(--coral); font-weight: 500; padding: 12px; border-bottom: 1px solid var(--line-2); }
.units { min-width: 640px; }
.units th, .units td { white-space: nowrap; }
.units td { padding: 14px 12px; border-bottom: 1px solid var(--line); vertical-align: middle; }
.units tr.sold td { opacity: .5; }
.fp-thumb img { width: 64px; height: 48px; object-fit: cover; border-radius: 8px; }
.emi { background: var(--surface); border-radius: var(--radius); padding: 24px; }
.emi-grid { display: grid; grid-template-columns: repeat(3, 1fr) 1.1fr; gap: 20px; align-items: end; margin-bottom: 14px; }
.emi-grid label { display: flex; flex-direction: column; gap: 6px; font-size: .84rem; color: var(--text-2); }
.emi-grid output { font-size: 1.2rem; color: var(--strong); }
.emi-grid input[type=range] { accent-color: var(--coral); width: 100%; }
.emi-result { background: var(--coral); color: #f0fbfa; border-radius: 18px; padding: 16px 20px; display: flex; flex-direction: column; }
.emi-result b { font-size: 1.7rem; font-weight: 400; color: var(--white); }
.emi-result .muted { color: #ddf7f4; }
.amenities { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.amenities li { display: flex; align-items: center; gap: 12px; padding: 14px 16px; background: var(--surface); border-radius: 16px; font-size: .95rem; }
.am-dot { width: 8px; height: 8px; background: var(--coral); flex-shrink: 0; }
.map { border-radius: var(--radius); overflow: hidden; aspect-ratio: 16 / 8; margin: 16px 0 22px; background: var(--surface); }
.map iframe { width: 100%; height: 100%; border: 0; }
.nearby { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px 36px; }
.nearby h4 { font-size: .74rem; text-transform: uppercase; letter-spacing: .14em; color: var(--coral); margin-bottom: 8px; font-weight: 500; }
.nearby ul { list-style: none; padding: 0; margin: 0; }
.nearby li { display: flex; justify-content: space-between; gap: 10px; padding: 9px 0; border-bottom: 1px dashed var(--line); font-size: .95rem; color: var(--text-2); }
.rera-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; margin-bottom: 12px; }
.rera-item { display: flex; gap: 14px; align-items: center; padding: 16px; border-radius: 16px; background: var(--surface); }
.rera-item div { display: flex; flex-direction: column; }
.progress-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.progress-grid a { position: relative; aspect-ratio: 4 / 3; border-radius: 14px; overflow: hidden; }
.progress-grid img { width: 100%; height: 100%; object-fit: cover; }
.progress-grid span { position: absolute; left: 8px; bottom: 8px; background: rgba(0, 0, 0, .65); color: var(--white); font-size: .74rem; padding: 2px 8px; border-radius: 6px; }
.video { position: relative; aspect-ratio: 16 / 9; border-radius: var(--radius); overflow: hidden; margin-bottom: 12px; }
.video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.dev-box-head { display: flex; gap: 18px; align-items: center; margin-bottom: 14px; }
.dev-box-head img { width: 88px; height: 88px; object-fit: contain; border-radius: 20px; padding: 8px; background: var(--white); }
.dev-box-head h2 { margin: 0; }
.proj-side .sticky { position: sticky; top: calc(var(--header-h) + 18px); }
.side-card { background: var(--bg); box-shadow: var(--shadow); border-radius: var(--radius-lg); padding: 26px; border: 1px solid var(--line); }
.side-card h3 { font-size: 1.5rem; font-weight: 400; }
.side-card p { color: var(--text-2); }
.rm { display: flex; gap: 14px; align-items: center; padding-bottom: 18px; margin-bottom: 18px; border-bottom: 1px solid var(--line); }
.rm img { width: 58px; height: 58px; border-radius: 50%; object-fit: cover; background: var(--surface-2); }
.rm div { display: flex; flex-direction: column; line-height: 1.35; }
.rm b { font-weight: 500; }
.rm span { font-size: .84rem; color: var(--muted); }
.side-actions { display: flex; flex-direction: column; gap: 8px; margin-top: 14px; padding-top: 16px; border-top: 1px solid var(--line); }

/* Prose */
.prose { color: var(--text-2); font-weight: 300; }
.prose strong, .prose b { color: var(--text); font-weight: 500; }
.prose h2 { font-size: 1.7rem; margin-top: 1.4em; }
.prose h3 { margin-top: 1.3em; }
.prose ul, .prose ol { padding-left: 1.3em; }
.prose li { margin-bottom: .35em; }
.prose img { border-radius: 14px; margin: 1.2em 0; }
.prose blockquote { border-left: 3px solid var(--coral); margin: 1.3em 0; padding: .3em 1.2em; font-size: 1.2rem; color: var(--text); }
.prose table { width: 100%; border-collapse: collapse; margin: 1em 0; font-size: .94rem; }
.prose th, .prose td { border: 1px solid var(--line); padding: 8px 10px; text-align: left; }
.prose a { text-decoration: underline; text-underline-offset: 3px; }

/* Article */
.article-head { padding-top: 36px; }
.article-head h1 { font-size: clamp(2rem, 4.4vw, 3.2rem); }
.article-head .lede { font-size: 1.2rem; }
.article-cover { margin: 26px auto 0; }
.article-cover img { width: 100%; max-height: 540px; object-fit: cover; border-radius: var(--radius-lg); }
.article-body { padding-top: 36px; padding-bottom: 24px; font-size: 1.08rem; line-height: 1.8; }
.article-cta { display: flex; justify-content: space-between; align-items: center; gap: 20px; background: var(--surface); border-radius: var(--radius); padding: 26px 30px; margin: 24px 0 60px; }
.article-cta h3 { font-size: 1.4rem; font-weight: 400; margin: 0 0 4px; }
.article-cta p { margin: 0; color: var(--text-2); }

/* Contact / account / auth */
.contact-grid { display: grid; grid-template-columns: 1.3fr 1fr; gap: 44px; align-items: start; }
.contact-list { list-style: none; padding: 0; margin: 22px 0; }
.contact-list li { display: flex; gap: 16px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.contact-list li > span:first-child { width: 90px; color: var(--coral); font-size: .76rem; text-transform: uppercase; letter-spacing: .12em; flex-shrink: 0; padding-top: 3px; }
.auth-wrap { padding: 72px 20px; display: grid; place-items: center; }
.auth-card { width: 100%; max-width: 440px; background: var(--bg); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 36px; box-shadow: var(--shadow-lg); }
.otp-input { text-align: center; letter-spacing: .5em; font-size: 1.4rem !important; font-weight: 600; }
.account h2 { margin-top: 12px; }
.account-grid { display: grid; grid-template-columns: 1.6fr 1fr; gap: 32px; margin-top: 48px; align-items: start; }
.visit-list { list-style: none; padding: 0; margin: 0 0 32px; }
.visit-list li { padding: 14px 18px; background: var(--surface); border-radius: 14px; margin-bottom: 8px; }
table.simple { width: 100%; border-collapse: collapse; font-size: .92rem; }
table.simple th, table.simple td { text-align: left; padding: 10px 8px; border-bottom: 1px solid var(--line); }
table.simple th { font-size: .72rem; text-transform: uppercase; letter-spacing: .12em; color: var(--coral); font-weight: 500; }
.compare { border-collapse: collapse; width: 100%; min-width: 640px; }
.compare th, .compare td { border: 1px solid var(--line); padding: 14px 16px; text-align: left; vertical-align: top; font-size: .95rem; }
.compare tbody th { background: var(--surface); font-weight: 500; width: 190px; color: var(--text-2); }
.compare thead th a { display: flex; flex-direction: column; gap: 10px; color: var(--text); font-size: 1.1rem; font-weight: 400; }
.compare thead img { width: 100%; max-width: 240px; aspect-ratio: 16 / 10; object-fit: cover; border-radius: 14px; }
.thankyou .done-icon, .done-icon { width: 68px; height: 68px; border-radius: 50%; background: var(--coral); color: var(--white); display: grid; place-items: center; font-size: 2rem; margin: 0 auto 18px; }

/* ---------------------------------------------------------------------
   Footer
   --------------------------------------------------------------------- */
.site-footer { background: #15181b; color: var(--text-2); padding: 72px 0 0; font-size: .98rem; border-top: 1px solid var(--line); }
.footer-top { display: grid; grid-template-columns: 1fr 2.6fr; gap: 56px; }
.footer-brand p { color: var(--muted); margin: 18px 0 22px; font-weight: 300; max-width: 340px; }
.footer-cols { display: grid; grid-template-columns: 1fr 1fr 1.5fr 1.2fr; gap: 32px; }
.site-footer h4 { color: var(--coral); font-size: .82rem; font-weight: 500; text-transform: uppercase; letter-spacing: .18em; margin-bottom: 16px; }
.site-footer h4.mt { margin-top: 30px; }
.site-footer a { display: block; color: var(--text); padding: 5px 0; }
.site-footer a:hover { color: var(--coral-hi); }
.site-footer .btn { display: inline-flex; color: var(--white); }
.footer-2col { display: grid; grid-template-columns: 1fr 1fr; column-gap: 18px; }
.socials { display: flex; flex-wrap: wrap; gap: 10px; }
.socials a { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 16px; background: var(--surface); color: var(--text); padding: 0; }
.socials a:hover { background: var(--coral); color: var(--white); }
.footer-base { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px 24px; border-top: 1px solid var(--line); margin-top: 56px; padding-top: 22px; padding-bottom: 28px; font-size: .82rem; color: var(--muted); }
.footer-base p { margin: 0; }

/* Mobile bar */
.mobile-bar { display: none; }

/* ---------------------------------------------------------------------
   Modal & lightbox
   --------------------------------------------------------------------- */
.modal { position: fixed; inset: 0; z-index: 100; display: none; align-items: center; justify-content: center; padding: 16px; }
.modal.open { display: flex; }
.modal-backdrop { position: absolute; inset: 0; background: rgba(8, 9, 10, .7); backdrop-filter: blur(4px); }
.modal-card { position: relative; width: 100%; max-width: 470px; max-height: calc(100vh - 32px); overflow: auto; background: var(--bg); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 34px 30px 28px; box-shadow: var(--shadow-lg); animation: pop .2s ease-out; }
@keyframes pop { from { transform: translateY(12px); opacity: 0; } to { transform: none; opacity: 1; } }
.modal-card h3 { font-size: 1.7rem; font-weight: 400; margin-bottom: .3em; }
.modal-card p { color: var(--text-2); }
.modal-x { position: absolute; right: 16px; top: 14px; width: 38px; height: 38px; border-radius: 50%; border: 0; background: var(--surface-2); font-size: 1.4rem; line-height: 1; color: var(--text); }
.lead-step[data-step=done] { text-align: center; padding: 16px 0; }
.lead-step[data-step=done] .btn { margin: 6px 4px 0; }
.lightbox { position: fixed; inset: 0; z-index: 120; background: rgba(8, 9, 10, .95); display: flex; align-items: center; justify-content: center; }
.lightbox figure { margin: 0; max-width: 92vw; max-height: 88vh; text-align: center; }
.lightbox img { max-width: 92vw; max-height: 80vh; object-fit: contain; margin: 0 auto; border-radius: 10px; }
.lightbox figcaption { color: #bbc7d0; font-size: .9rem; margin-top: 10px; }
.lb-x, .lb-nav { position: absolute; background: rgba(255, 255, 255, .12); border: 0; color: var(--white); width: 50px; height: 50px; border-radius: 50%; font-size: 1.8rem; line-height: 1; }
.lb-x { top: 16px; right: 16px; }
.lb-prev { left: 16px; top: 50%; }
.lb-next { right: 16px; top: 50%; }


/* Pros & cons, payment plan, legal */
.pc-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.pc { background: var(--surface); border-radius: var(--radius); padding: 22px 24px; }
.pc h3 { font-size: .78rem; text-transform: uppercase; letter-spacing: .16em; font-weight: 500; margin-bottom: 14px; }
.pc-pros h3 { color: var(--ok); }
.pc-cons h3 { color: var(--coral-hi); }
.pc ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.pc li { position: relative; padding-left: 26px; color: var(--text-2); }
.pc-pros li::before { content: "+"; position: absolute; left: 0; top: -1px; color: var(--ok); font-size: 1.15rem; }
.pc-cons li::before { content: "−"; position: absolute; left: 0; top: -1px; color: var(--coral-hi); font-size: 1.15rem; }
.plan-box { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 12px; margin-top: 16px; }
.plan-box > div { background: var(--surface); border-radius: 16px; padding: 14px 18px; display: flex; flex-direction: column; gap: 2px; }
.plan-box span { font-size: .72rem; text-transform: uppercase; letter-spacing: .14em; color: var(--coral); }
.plan-box b { font-weight: 400; }
.fact b.good { color: var(--ok); }
.fact b.warn { color: var(--coral-hi); }
.lit { margin: 14px 0; padding: 14px 18px; border-radius: 14px; background: var(--surface); border-left: 3px solid var(--ok); color: var(--text-2); }
.lit-yes { border-left-color: var(--coral); }
.lit b { color: var(--text); font-weight: 500; }
.docs-h { margin: 22px 0 10px; font-size: 1.1rem; }
.docs { list-style: none; margin: 0 0 16px; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.docs li { display: flex; align-items: center; gap: 12px; padding: 12px 16px; background: var(--surface); border-radius: 14px; }
.docs li > span:nth-child(2) { flex: 1; min-width: 0; }
.doc-ic { width: 22px; height: 26px; border: 1.5px solid var(--coral); border-radius: 3px; position: relative; flex-shrink: 0; }
.doc-ic::after { content: ""; position: absolute; left: 4px; right: 4px; top: 7px; height: 1.5px; background: var(--coral); box-shadow: 0 5px 0 var(--coral), 0 10px 0 var(--coral); }

/* Track record, testimonials, press, offers */
.stats-band { padding: 64px 0; background: var(--bg); }
.stats-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 0; }
.stats-row > div { padding: 8px 22px; border-left: 1px solid var(--line); }
.stats-row > div:first-child { border-left: 0; padding-left: 0; }
.stats-row b { display: block; font-size: clamp(1.9rem, 3.4vw, 2.7rem); font-weight: 400; color: var(--strong); line-height: 1.1; font-variant-numeric: tabular-nums; }
.stats-row span { color: var(--muted); font-size: .92rem; }
.rating-line { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; color: var(--text-2); margin-top: 10px; }
.stars { color: var(--coral); letter-spacing: 2px; font-size: 1.05rem; }
.rating-line b { color: var(--strong); font-weight: 500; font-size: 1.15rem; }
.carousel-quotes { grid-auto-columns: minmax(300px, 400px); }
.quote { display: flex; flex-direction: column; gap: 16px; background: var(--surface); border-radius: var(--radius-lg); padding: 28px; }
.quote blockquote { margin: 0; font-size: 1.08rem; font-weight: 300; color: var(--text); line-height: 1.65; }
.quote blockquote::before { content: "\201C"; display: block; font-family: Georgia, "Times New Roman", serif; font-size: 3.4rem; line-height: .9; color: var(--coral); }
.quote footer { display: flex; align-items: center; gap: 12px; margin-top: auto; }
.quote footer img, .quote .q-ini { width: 46px; height: 46px; border-radius: 50%; object-fit: cover; flex-shrink: 0; }
.q-ini { display: grid; place-items: center; background: var(--surface-2); color: var(--coral-hi); font-weight: 500; }
.quote footer div { display: flex; flex-direction: column; line-height: 1.35; }
.quote footer b { font-weight: 500; }
.quote footer span { font-size: .85rem; color: var(--muted); }
.press-row { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; }
.press-item { display: grid; place-items: center; min-width: 170px; height: 84px; padding: 14px 22px; background: var(--white); border: 1px solid var(--line); border-radius: 18px; color: #20272c; font-weight: 600; text-align: center; }
.press-item:hover { color: #20272c; transform: translateY(-2px); }
.press-item img { max-height: 46px; width: auto; }
.offer-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.offer { display: flex; flex-direction: column; gap: 10px; align-items: flex-start; background: var(--surface); border-radius: var(--radius-lg); padding: 32px; position: relative; overflow: hidden; }
.offer .tag { font-size: .72rem; letter-spacing: .16em; text-transform: uppercase; color: var(--white); background: var(--coral); padding: 4px 10px; border-radius: 999px; }
.offer h3 { font-size: 1.6rem; font-weight: 400; margin: 6px 0 0; }
.offer p { color: var(--text-2); margin: 0 0 8px; font-weight: 300; }
.offer svg { position: absolute; right: 24px; top: 24px; color: var(--line-2); }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .pcard-bg, .g-item img, .modal-card { transition: none; animation: none; }
  .pcard:hover .pcard-bg, .g-item:hover img { transform: none; }
}

/* =====================================================================
   Responsive
   ===================================================================== */
@media (max-width: 1180px) {
  .main-nav { display: none; }
  .nav-toggle { display: flex; }
  .main-nav.open { display: flex; position: fixed; top: var(--header-h); left: 0; right: 0; bottom: 0; background: var(--bg); flex-direction: column; align-items: stretch; padding: 18px 24px 40px; gap: 0; overflow: auto; margin: 0; }
  .main-nav.open > a, .main-nav.open .nav-item > a { padding: 16px 4px; border-bottom: 1px solid var(--line); border-radius: 0; font-size: 1.35rem; display: block; color: var(--text); }
  .main-nav.open .nav-menu { position: static; display: block; box-shadow: none; border: 0; background: transparent; padding: 4px 0 10px 12px; }
  .main-nav.open .nav-menu a { font-size: 1rem; }
  .main-nav.open .nav-extra { display: block !important; }
  .main-nav.open .nav-extra-btn { display: inline-flex !important; margin-top: 24px; }
  .site-header:has(.main-nav.open) { background: var(--bg); backdrop-filter: none; -webkit-backdrop-filter: none; }
  .page-home .site-header:has(.main-nav.open) { background: var(--bg); }
  .header-actions { margin-left: auto; }
  .hdr-search { max-width: none; }
  .footer-top { grid-template-columns: 1fr; gap: 40px; }
  .adv-grid { grid-template-columns: 1fr; gap: 36px; }
  .proj-layout { grid-template-columns: minmax(0, 1fr) 330px; gap: 30px; }
  .emi-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 900px) {
  :root { --header-h: 68px; }
  .hdr-cta { display: none; }
  .site-header .brand-name { display: none; }
  .page-home .site-header:not(.scrolled) .brand-name { display: inline; font-size: 1.2rem; }
  .header-row { gap: 12px; }
  .hdr-search { height: 46px; }
  .hero { min-height: 0; padding-top: calc(var(--header-h) + 70px); }
  .usp-row { grid-template-columns: 1fr 1fr; gap: 18px 0; }
  .usp-row > div:nth-child(3) { border-left: 0; padding-left: 0; }
  .steps { grid-template-columns: 1fr 1fr; }
  .listing { grid-template-columns: minmax(0, 1fr); }
  .filters { position: fixed; inset: 0; z-index: 90; border-radius: 0; max-height: none; top: 0; display: none; padding: 22px; }
  .filters.open { display: block; }
  .filter-toggle { display: inline-flex; }
  .proj-layout { grid-template-columns: minmax(0, 1fr); }
  .proj-side .sticky { position: static; }
  .gallery { grid-template-columns: 1fr 1fr; grid-template-rows: 240px 130px; }
  .g-0 { grid-column: 1 / -1; grid-row: auto; }
  .g-3, .g-4 { display: none; }
  .proj-price-box { text-align: left; }
  .proj-actions { justify-content: flex-start; }
  .contact-grid, .account-grid { grid-template-columns: 1fr; }
  .rera-list, .nearby { grid-template-columns: 1fr; }
  .amenities { grid-template-columns: 1fr 1fr; }
  .progress-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-cols { grid-template-columns: 1fr 1fr; }
  .cta-row { flex-direction: column; align-items: flex-start; padding: 34px 28px; }
  .mobile-bar { display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; position: fixed; left: 0; right: 0; bottom: 0; z-index: 60; background: var(--bg); border-top: 1px solid var(--line); box-shadow: 0 -6px 20px rgba(25, 29, 32, .06); padding-bottom: env(safe-area-inset-bottom, 0px); }
  .mobile-bar a, .mobile-bar button { padding: 15px 8px; text-align: center; font-weight: 500; color: var(--text); background: transparent; border: 0; border-right: 1px solid var(--line); font-size: .95rem; letter-spacing: .04em; }
  .mobile-bar .primary { background: var(--coral); color: var(--white); border-right: 0; }
  body { padding-bottom: 56px; }
}
@media (max-width: 600px) {
  .wrap { padding-inline: 16px; }
  .section { padding: 56px 0; }
  .carousel, .dev-strip { padding-inline: 16px; scroll-padding-inline: 16px; gap: 14px; }
  .carousel { grid-auto-columns: 84%; }
  .carousel-posts { grid-auto-columns: 88%; }
  .car-nav { display: none; }
  .hero h1 { font-size: 2.6rem; }
  .hero-field { height: 60px; padding-left: 20px; }
  .hero-field input { font-size: 1rem; }
  .buy-in { font-size: 1.15rem; }
  .usp-row { grid-template-columns: 1fr; }
  .usp-row > div { border-left: 0; padding-left: 0; }
  .steps { grid-template-columns: 1fr; }
  .adv-list { grid-template-columns: 1fr; }
  .adv-list li, .adv-list li:nth-child(even) { padding: 22px 0; border-right: 0; }
  .loc-grid { grid-template-columns: 1fr 1fr; }
  .loc-name { font-size: 1.05rem; }
  .dev-logo { flex-basis: 128px; height: 128px; border-radius: 22px; }
  .footer-cols { grid-template-columns: 1fr 1fr; gap: 28px 18px; }
  .footer-wide { grid-column: 1 / -1; }
  .field-row { grid-template-columns: 1fr; }
  .highlights { grid-template-columns: 1fr; }
  .emi-grid { grid-template-columns: 1fr; }
  .inline-cta, .article-cta { flex-direction: column; align-items: flex-start; }
  .pcard { min-height: 440px; }
  .pcard-dev { width: 72px; height: 72px; border-radius: 18px; }
  .pcard-btn { width: 46px; height: 46px; }
  .pcard-body { padding: 0 20px 20px; }
  .pcard-cta { width: 50px; height: 50px; border-radius: 14px; }
  .pcard-price b { font-size: 1.06rem; }
  .hdr-search { flex-basis: 0; padding-left: 12px; }
  .hdr-search .hs-icon { width: 18px; }
  .header-actions .hdr-icon { display: none; }
  .header-row { gap: 10px; }
  .proj-price-box b { font-size: 1.9rem; }
  .amenities { grid-template-columns: 1fr; }
  .auth-card { padding: 26px; }
  .pc-grid, .docs, .offer-grid { grid-template-columns: 1fr; }
  .stats-row { grid-template-columns: 1fr 1fr; gap: 22px 0; }
  .stats-row > div:nth-child(odd) { border-left: 0; padding-left: 0; }
  .offer { padding: 26px; }
}

/* Dark site (default theme) */
.site-dark .stats-band { background: var(--bg-2); }
.site-dark .badge.badge-zero { color: #10241a; }
.site-dark .dev-logo, .site-dark .press-item { border-color: transparent; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------------------------------------------------------------------
   Hero — centred headline over a darkened photo, white search pill
   --------------------------------------------------------------------- */
.hero { min-height: 660px; align-items: center; text-align: center; padding: calc(var(--header-h) + 64px) 0 80px; }
.hero::after { background: linear-gradient(180deg, rgba(25, 29, 32, .62) 0%, rgba(25, 29, 32, .48) 45%, rgba(25, 29, 32, .9) 100%); }
.hero-inner { display: flex; flex-direction: column; align-items: center; }
.hero h1 { max-width: 20ch; font-size: clamp(2.6rem, 6vw, 5rem); line-height: 1.05; margin: 0 0 .3em; color: #fff; text-wrap: balance; }
.hero h1 .sq { width: .2em; height: .2em; vertical-align: .9em; margin-left: .06em; }
.hero .lede { max-width: 640px; margin: 0 auto 2em; font-size: clamp(1.05rem, 1.6vw, 1.3rem); font-weight: 400; color: #e7ecf0; }
.hero .eyebrow { margin-bottom: 1.2em; }
.hero-search { width: 100%; max-width: 960px; margin: 0 0 24px; }
.hero-field { height: 80px; padding: 0 10px 0 6px; gap: 8px; border: 0; border-radius: 999px; background: #fff; backdrop-filter: none; box-shadow: 0 18px 50px rgba(0, 0, 0, .28); }
.hero-field:focus-within { box-shadow: 0 0 0 3px rgba(34, 179, 160, .5), 0 18px 50px rgba(0, 0, 0, .28); }
.hero-city { flex-shrink: 0; display: flex; align-items: center; height: 46px; border-right: 1px solid #cdd8df; }
.hero-city select { appearance: none; -webkit-appearance: none; height: 100%; min-width: 180px; padding: 0 44px 0 26px; border: 0; border-radius: 0; background: transparent url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='m6 9 6 6 6-6' fill='none' stroke='%231f1b1a' stroke-width='2'/%3E%3C/svg%3E") no-repeat right 14px center / 18px; color: #191d20; font: inherit; font-size: 1.15rem; cursor: pointer; outline: none; }
.hero-city select option { color: #191d20; background: #fff; }
.hero-field input { padding: 0 12px; font-size: 1.05rem; color: #191d20; text-align: left; }
.hero-field input::placeholder { color: #78848d; }
.hero input[type=search]::-webkit-search-cancel-button { filter: none; }
.hero-field .hs-mic { width: 56px; height: 56px; background: #dff8f4; color: var(--coral); }
.hs-go { width: auto; height: 60px; padding: 0 30px; gap: 8px; border-radius: 999px; font-size: 1.15rem; font-weight: 500; letter-spacing: .01em; }
.hs-go svg { display: none; }
.hero-chips { justify-content: center; flex-wrap: wrap; align-items: center; overflow: visible; gap: 10px; }
.hero-chips-label { color: #fff; font-weight: 600; font-size: 1rem; margin-right: 4px; }
.hero-chips a { background: rgba(25, 29, 32, .45); border-color: rgba(255, 255, 255, .3); color: #e3e9ed; font-size: .92rem; letter-spacing: .04em; }
@media (max-width: 900px) {
  .hero { min-height: 0; padding: calc(var(--header-h) + 56px) 0 56px; }
}
@media (max-width: 600px) {
  .hero h1 { font-size: 2.7rem; }
  .hero .lede { margin-bottom: 1.5em; }
  .hero-field { height: 62px; padding: 0 6px 0 2px; gap: 4px; }
  .hero-city select { min-width: 0; width: 112px; padding: 0 30px 0 14px; font-size: 1rem; background-position: right 8px center; background-size: 16px; }
  .hero-field input { padding: 0 6px; font-size: .95rem; }
  .hero-field .hs-mic { width: 40px; height: 40px; }
  .hs-go { width: 48px; height: 48px; padding: 0; }
  .hs-go span { display: none; }
  .hs-go svg { display: block; }
  .hero-chips { flex-wrap: nowrap; justify-content: flex-start; overflow-x: auto; width: 100%; }
  .hero-chips-label { flex-shrink: 0; }
}

/* Project page: carousels and link block after the FAQs */
.proj-more { padding: 56px 0 8px; border-top: 1px solid var(--line); }
.proj-more + .proj-more { border-top: 0; }
.proj-more h2 { font-size: clamp(1.6rem, 2.8vw, 2.2rem); margin: 0; }
.explore-links { padding: 56px 0 72px; margin-top: 48px; background: var(--bg-2); border-top: 1px solid var(--line); }
.explore-links h2 { font-size: clamp(1.4rem, 2.4vw, 1.9rem); margin-bottom: 26px; }
.explore-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 28px; }
.explore-grid h3 { font-size: .78rem; text-transform: uppercase; letter-spacing: .14em; font-weight: 500; color: var(--coral); margin-bottom: 12px; }
.explore-grid ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 9px; }
.explore-grid a { color: var(--text-2); font-size: .94rem; }
.explore-grid a:hover { color: var(--strong); }
@media (max-width: 900px) { .explore-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .explore-grid { grid-template-columns: 1fr; gap: 22px; } .proj-more { padding-top: 44px; } }

/* Answer-first summary and freshness line (AEO / GEO) */
.answer-summary { font-size: 1.08rem; line-height: 1.7; color: var(--text); margin: 0 0 10px; padding: 16px 20px; border-left: 3px solid var(--coral); background: var(--surface); border-radius: 0 14px 14px 0; }
.updated-line { font-size: .82rem; color: var(--muted); margin: 0 0 18px; }
.area-answer { max-width: 860px; margin: 16px 0 0; color: var(--text-2); font-size: 1.02rem; line-height: 1.7; }
.area-faq { margin-top: 48px; }
.area-faq h2 { margin-bottom: 8px; }

/* =====================================================================
   Home page v2 — consistent section heads, quick finder, tours, journey,
   localities, why-us, developer tiles, buyer tools, launch alerts
   ===================================================================== */
.sec-head .eyebrow { margin-bottom: .55em; }
.sec-head h2 { font-size: clamp(1.7rem, 3.1vw, 2.45rem); }
.sec-head .sq { width: .22em; height: .22em; vertical-align: .75em; }

/* Tabs shared by finder, localities and tools */
.finder-tabs { display: flex; gap: 6px; flex-wrap: wrap; margin: 0 0 22px; padding: 5px; background: var(--surface); border-radius: 999px; width: fit-content; max-width: 100%; overflow-x: auto; scrollbar-width: none; }
.finder-tabs button { flex-shrink: 0; border: 0; background: transparent; color: var(--text-2); padding: .62em 1.25em; border-radius: 999px; font-size: .95rem; white-space: nowrap; }
.finder-tabs button:hover { color: var(--strong); }
.finder-tabs button.on { background: var(--coral); color: #fff; }

/* Quick finder */
.finder-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 14px; }
.finder-tile { position: relative; display: flex; flex-direction: column; gap: 4px; padding: 22px 22px 20px; min-height: 128px; border-radius: var(--radius); background: var(--surface); border: 1.5px solid transparent; color: var(--text); transition: border-color .15s, transform .15s; }
.finder-tile:hover { border-color: var(--coral); color: var(--text); transform: translateY(-2px); }
.finder-tile b { font-size: 1.35rem; font-weight: 500; }
.finder-tile span { color: var(--coral-hi); font-size: .95rem; }
.finder-tile em { font-style: normal; color: var(--muted); font-size: .84rem; }
.finder-tile i { position: absolute; right: 20px; bottom: 16px; font-style: normal; color: var(--coral); font-size: 1.3rem; }
.finder-tile.is-empty { opacity: .55; }

/* Virtual tours: tall reel cards */
.tour-track { grid-auto-columns: minmax(220px, 250px); }
.tour { position: relative; aspect-ratio: 9 / 15; border-radius: 22px; overflow: hidden; background: #262b2f; isolation: isolate; }
.tour img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform .6s; }
.tour:hover img { transform: scale(1.05); }
.tour::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(0,0,0,.05) 35%, rgba(13, 16, 19,.88) 100%); }
.tour-play { position: absolute; left: 50%; top: 42%; transform: translate(-50%, -50%); width: 64px; height: 64px; border-radius: 50%; border: 0; display: grid; place-items: center; background: rgba(255,255,255,.92); color: var(--coral); box-shadow: 0 8px 30px rgba(0,0,0,.35); transition: transform .15s; }
.tour-play:hover { transform: translate(-50%, -50%) scale(1.08); }
.tour-play svg { margin-left: 3px; }
.tour-info { position: absolute; left: 16px; right: 16px; bottom: 16px; display: flex; flex-direction: column; gap: 3px; color: #fff; }
.tour-info a { color: #fff; }
.tour-info b { font-size: 1.15rem; font-weight: 500; line-height: 1.2; }
.tour-info > span:last-child { color: #d8e0e6; font-size: .86rem; }
.tour-tag { align-self: flex-start; font-size: .68rem; letter-spacing: .14em; text-transform: uppercase; background: var(--coral); padding: 3px 9px; border-radius: 999px; margin-bottom: 4px; }
.yt-modal { position: fixed; inset: 0; z-index: 130; background: rgba(8, 9, 10,.92); display: grid; place-items: center; padding: 16px; }
.yt-modal iframe { width: min(420px, 92vw); aspect-ratio: 9 / 16; max-height: 86vh; border: 0; border-radius: 16px; background: #000; }
.yt-modal button { position: absolute; top: 16px; right: 16px; width: 48px; height: 48px; border-radius: 50%; border: 0; background: rgba(255,255,255,.14); color: #fff; font-size: 1.7rem; }

/* Journey: six steps */
.journey-steps { list-style: none; padding: 0; margin: 0 0 36px; display: grid; grid-template-columns: repeat(6, 1fr); gap: 0; counter-reset: none; position: relative; }
.journey-steps li { position: relative; padding: 0 18px 0 0; display: flex; flex-direction: column; gap: 6px; }
.journey-steps li::before { content: ""; position: absolute; left: 46px; right: 0; top: 23px; height: 1.5px; background: var(--line-2); }
.journey-steps li:last-child::before { display: none; }
.journey-steps i { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 50%; background: var(--coral); color: #fff; font-style: normal; font-size: .9rem; letter-spacing: .04em; margin-bottom: 8px; position: relative; }
.journey-steps b { font-size: 1.05rem; font-weight: 500; color: var(--strong); }
.journey-steps span { font-size: .9rem; color: var(--text-2); font-weight: 300; }
.services { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 16px; }
.service { position: relative; display: flex; flex-direction: column; align-items: flex-start; gap: 8px; padding: 26px; border-radius: var(--radius-lg); background: var(--surface); }
.service svg { color: var(--coral); }
.service .tag { position: absolute; top: 24px; right: 24px; font-size: .7rem; letter-spacing: .16em; text-transform: uppercase; color: #fff; background: var(--coral); padding: 4px 10px; border-radius: 999px; }
.service h3 { font-size: 1.3rem; font-weight: 500; margin: 6px 0 0; }
.service p { color: var(--text-2); margin: 0 0 10px; font-weight: 300; font-size: .95rem; }
.service .btn { margin-top: auto; }

/* Localities with big counts */
.loc-card { padding-top: 18px; }
.loc-count { font-size: 2rem; line-height: 1; color: var(--coral); font-weight: 400; margin-bottom: 8px; }
.loc-card .loc-meta { margin-top: 2px; color: var(--muted); }

/* Why us */
.why-grid { display: grid; grid-template-columns: .95fr 1.3fr; gap: 56px; align-items: start; }
.why-copy h2 { font-size: clamp(2rem, 4vw, 3.1rem); }
.why-copy .lede { margin: 14px 0 24px; }
.why-stats { display: grid; grid-template-columns: 1fr 1fr; gap: 18px 24px; margin: 0 0 26px; padding: 20px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.why-stats b { display: block; font-size: 1.9rem; font-weight: 400; color: var(--strong); line-height: 1.1; }
.why-stats span { color: var(--muted); font-size: .88rem; }
.why-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.why-list li { padding: 22px; border-radius: var(--radius); background: var(--surface); display: flex; flex-direction: column; gap: 6px; }
.why-list b { font-size: 1.08rem; font-weight: 500; color: var(--strong); }
.why-list b::before { content: ""; display: inline-block; width: 8px; height: 8px; background: var(--coral); margin-right: 10px; vertical-align: middle; }
.why-list span { color: var(--text-2); font-size: .93rem; font-weight: 300; }

/* Developer tiles */
.dev-tiles { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 14px; }
.dev-tile { display: grid; grid-template-columns: 64px 1fr; grid-template-rows: auto auto; column-gap: 14px; align-items: center; padding: 16px; border-radius: var(--radius); background: var(--surface); color: var(--text); border: 1.5px solid transparent; }
.dev-tile:hover { border-color: var(--coral); color: var(--text); }
.dev-tile-logo { grid-row: span 2; width: 64px; height: 64px; border-radius: 16px; background: #fff; display: grid; place-items: center; overflow: hidden; }
.dev-tile-logo img { width: 100%; height: 100%; object-fit: contain; padding: 5px; }
.dev-tile-logo b { color: #20272c; font-size: 1.5rem; }
.dev-tile-name { font-weight: 500; line-height: 1.25; align-self: end; }
.dev-tile-meta { font-size: .82rem; color: var(--muted); align-self: start; }

/* Buyer tools */
.tool { display: grid; grid-template-columns: 1.4fr 1fr; gap: 28px; padding: 28px; border-radius: var(--radius-lg); background: var(--surface); }
.tool-in { display: grid; gap: 18px; }
.tool-in label { display: grid; grid-template-columns: 1fr auto; gap: 8px; font-size: .92rem; color: var(--text-2); }
.tool-in output { font-size: 1.05rem; color: var(--strong); text-align: right; }
.tool-in input[type=range] { grid-column: 1 / -1; width: 100%; accent-color: var(--coral); }
.tool-in .tool-sel { grid-template-columns: 1fr; }
.tool-in select { padding: .7em .9em; border: 1px solid var(--line-2); border-radius: 12px; background: var(--input); color: var(--text); }
.tool-out { display: flex; flex-direction: column; align-items: flex-start; justify-content: center; gap: 6px; padding: 26px; border-radius: 20px; background: var(--coral); color: #f0fbfa; }
.tool-out b { font-size: clamp(2rem, 4vw, 2.8rem); font-weight: 400; color: #fff; line-height: 1.1; }
.tool-out small { font-size: .88rem; color: #e0f8f5; line-height: 1.5; }
.tool-out .btn { margin-top: 12px; background: #191d20; color: #fff; }
.tool-out .btn:hover { background: #000; }
.tool-note { margin: 14px 0 0; font-size: .8rem; color: var(--muted); max-width: 900px; }

/* Launch alerts */
.alerts-band { padding: 72px 0; background: linear-gradient(120deg, rgba(34, 179, 160,.22), rgba(34, 179, 160,.04) 60%), var(--bg-2); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.alerts-row { display: grid; grid-template-columns: 1.2fr 1fr; gap: 48px; align-items: center; }
.alerts-copy h2 { font-size: clamp(1.8rem, 3.4vw, 2.6rem); }
.alerts-copy p { color: var(--text-2); max-width: 560px; }
.alerts-points { list-style: none; padding: 0; margin: 18px 0 0; display: flex; flex-wrap: wrap; gap: 8px 22px; }
.alerts-points li { color: var(--text); font-size: .95rem; }
.alerts-points li::before { content: "✓"; color: var(--coral); margin-right: 8px; }
.alerts-form .inline-lead { background: var(--surface); padding: 26px; border-radius: var(--radius-lg); }
.home-links { margin-top: 0; }

@media (max-width: 1180px) {
  .journey-steps { grid-template-columns: repeat(3, 1fr); row-gap: 28px; }
  .journey-steps li:nth-child(3)::before { display: none; }
  .why-grid { grid-template-columns: 1fr; gap: 32px; }
}
@media (max-width: 900px) {
  .tool { grid-template-columns: 1fr; padding: 20px; }
  .alerts-row { grid-template-columns: 1fr; gap: 28px; }
}
@media (max-width: 600px) {
  .finder-grid { grid-template-columns: 1fr 1fr; gap: 10px; }
  .finder-tile { padding: 16px; min-height: 112px; }
  .finder-tile b { font-size: 1.1rem; }
  .tour-track { grid-auto-columns: 62%; }
  .journey-steps { grid-template-columns: 1fr; row-gap: 0; }
  .journey-steps li { display: grid; grid-template-columns: 46px 1fr; column-gap: 14px; padding: 0 0 22px; }
  .journey-steps li::before { left: 22px; right: auto; top: 46px; bottom: 0; width: 1.5px; height: auto; display: block !important; }
  .journey-steps li:last-child::before { display: none !important; }
  .journey-steps i { grid-row: span 2; margin: 0; }
  .why-list { grid-template-columns: 1fr; }
  .why-stats b { font-size: 1.6rem; }
  .dev-tiles { grid-template-columns: 1fr 1fr; }
  .dev-tile { grid-template-columns: 1fr; text-align: left; }
  .dev-tile-logo { grid-row: auto; width: 56px; height: 56px; margin-bottom: 8px; }
  .alerts-band { padding: 52px 0; }
}
.quote { margin: 0; }
.dev-tile-meta { line-height: 1.45; }
.alerts-copy .eyebrow { color: var(--coral); }
@media (min-width: 1181px) { .home-links .explore-grid { grid-template-columns: repeat(5, minmax(0, 1fr)); } }
@media (max-width: 600px) { .finder-tabs { flex-wrap: nowrap; width: 100%; } .finder-tabs button { padding: .6em 1em; font-size: .9rem; } }

/* Reality check, report CTA, fair-price check, rewards */
.reality-list { list-style: none; margin: 0 0 10px; padding: 0; display: grid; gap: 10px; }
.reality-list li { position: relative; padding: 12px 16px 12px 44px; background: var(--surface); border-radius: 14px; color: var(--text); }
.reality-list li::before { content: "👁"; position: absolute; left: 14px; top: 11px; font-size: 1rem; filter: grayscale(1); opacity: .8; }
.report-cta { display: grid; grid-template-columns: 150px 1fr; gap: 28px; align-items: center; background: linear-gradient(120deg, rgba(34, 179, 160,.18), transparent 70%), var(--surface); border-radius: var(--radius-lg); padding: 28px 30px; margin: 26px 0; border-bottom: 0; }
.report-doc { position: relative; width: 120px; height: 154px; margin: 0 auto; background: #f6f8fa; border-radius: 6px 22px 6px 6px; box-shadow: 0 14px 30px rgba(0,0,0,.35); padding: 26px 16px; display: grid; align-content: start; gap: 9px; transform: rotate(-4deg); }
.report-doc i { display: block; height: 6px; border-radius: 3px; background: #cad5dd; }
.report-doc i:nth-child(1) { width: 70%; background: var(--coral); } .report-doc i:nth-child(3) { width: 85%; } .report-doc i:nth-child(4) { width: 60%; }
.report-doc b { position: absolute; right: 12px; bottom: 12px; font-size: .7rem; letter-spacing: .1em; color: #fff; background: var(--coral); padding: 3px 7px; border-radius: 4px; }
.report-copy h2 { margin: 0 0 10px; }
.report-copy ul { list-style: none; padding: 0; margin: 0 0 16px; display: flex; flex-wrap: wrap; gap: 6px 18px; }
.report-copy li { font-size: .93rem; color: var(--text-2); }
.report-copy li::before { content: "✓"; color: var(--coral); margin-right: 7px; }
.report-copy .btn { margin-right: 12px; }
.fair-price h2 { margin-bottom: 8px; }
.fair-price h2.fair-good, .fair-price h2.fair-ok { color: var(--ok); }
.fair-price h2.fair-warn, .fair-price h2.fair-high { color: var(--coral-hi); }
.fair-scale { position: relative; height: 64px; margin: 18px 0 12px; }
.fair-bar { position: absolute; left: 0; right: 0; top: 30px; height: 8px; border-radius: 4px; background: linear-gradient(90deg, rgba(116,196,147,.55), rgba(240,190,110,.5), rgba(34, 179, 160,.65)); }
.fair-dot { position: absolute; top: 28px; width: 12px; height: 12px; margin-left: -6px; border-radius: 50%; background: var(--surface-2); border: 2px solid var(--text-2); }
.fair-pin { position: absolute; top: 0; transform: translateX(-50%); display: flex; flex-direction: column; align-items: center; font-size: .78rem; white-space: nowrap; }
.fair-pin::after { content: ""; width: 3px; height: 30px; margin-top: 2px; background: var(--muted); border-radius: 2px; }
.fair-pin em { font-style: normal; color: var(--muted); }
.fair-this em { color: var(--coral-hi); font-weight: 600; }
.fair-this::after { background: var(--coral); height: 44px; }
.fair-avg { top: 48px; flex-direction: column-reverse; } .fair-avg::after { margin: 0 0 2px; height: 14px; }
.fair-table { min-width: 0 !important; margin-top: 8px; }
.pcard-status .pcard-reward { background: #1f8a4c; color: #fff; }
.proj-reward { background: rgba(31,138,76,.15) !important; color: #74c493 !important; }
.proj-price-box .proj-reward b { background: #1f8a4c !important; }
@media (max-width: 600px) { .report-cta { grid-template-columns: 1fr; padding: 22px; } .report-doc { width: 96px; height: 122px; } }

/* Hero promise, comparison table, promise banner, community */
.hero-promise { margin: 18px 0 0; font-size: .95rem; color: #e3e9ed; background: rgba(25, 29, 32,.5); border: 1px solid rgba(255,255,255,.2); padding: 8px 16px; border-radius: 999px; backdrop-filter: blur(6px); }
.hero-promise span { color: var(--coral); }
.vs-wrap { overflow-x: auto; border-radius: var(--radius-lg); background: var(--surface); }
.vs-table { width: 100%; min-width: 720px; border-collapse: collapse; font-size: .95rem; }
.vs-table th, .vs-table td { padding: 15px 18px; text-align: left; border-bottom: 1px solid var(--line); vertical-align: top; }
.vs-table tbody tr:last-child th, .vs-table tbody tr:last-child td { border-bottom: 0; }
.vs-table thead th { font-weight: 500; color: var(--text-2); font-size: .95rem; padding-top: 22px; }
.vs-table thead th.vs-us { font-size: 1.15rem; font-weight: 600; color: var(--strong); }
.vs-table tbody th { font-weight: 500; color: var(--strong); width: 26%; }
.vs-table td { display: table-cell; color: var(--text-2); }
.vs-table td i { display: inline-grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; font-style: normal; font-size: .78rem; font-weight: 700; margin-right: 10px; vertical-align: -5px; }
.vs-table .vs-y i { background: rgba(116,196,147,.2); color: var(--ok); }
.vs-table .vs-n i { background: rgba(255,139,123,.15); color: var(--danger); }
.vs-table .vs-m i { background: var(--surface-2); color: var(--muted); }
.vs-table .vs-us { background: rgba(34, 179, 160,.1); color: var(--text); }
.vs-table thead .vs-us { border-top: 3px solid var(--coral); }
.vs-cta { margin-top: 22px; }
.promise-banner { display: flex; gap: 18px; align-items: center; padding: 20px 24px; margin: 0 0 22px; border-radius: var(--radius); border: 1.5px dashed var(--coral); background: var(--coral-soft); }
.promise-icon { flex-shrink: 0; display: grid; place-items: center; width: 58px; height: 58px; border-radius: 50%; background: var(--coral); color: #fff; font-size: 1.3rem; font-weight: 600; }
.promise-banner b { display: block; font-size: 1.15rem; font-weight: 500; color: var(--strong); }
.promise-banner span { color: var(--text-2); font-size: .94rem; }
.community-btn { margin-top: 20px; gap: 10px; }
@media (max-width: 600px) { .hero-promise { border-radius: 16px; font-size: .88rem; } .promise-banner { flex-direction: column; align-items: flex-start; } }
/* table cells: icon in the gutter so wrapped text lines up */
.vs-table td { position: relative; padding-left: 50px; }
.vs-table td i { position: absolute; left: 18px; top: 15px; margin: 0; }
/* fair-price pins: line at the value, label kept inside the bar */
.fair-pin { width: 0; transform: none; display: block; }
.fair-pin::after { position: absolute; left: -1px; top: 18px; margin: 0; }
.fair-pin em { position: absolute; top: 0; left: 0; transform: translateX(-50%); white-space: nowrap; }
.fair-pin.edge-r em { transform: translateX(-100%); }
.fair-pin.edge-l em { transform: none; }
.fair-avg { top: 0; }
.fair-avg::after { top: 26px; height: 18px; }
.fair-avg em { top: 46px; }
.fair-this::after { top: 18px; height: 30px; }
.fair-scale { height: 70px; }

/* Price trend & history */
.price-trend { font-size: .86rem; font-weight: 500; }
.price-trend.down { color: var(--ok); } .price-trend.up { color: var(--coral-hi); }
.price-trend .muted { font-weight: 400; }
.price-alert-link { font-size: .84rem; text-decoration: none; margin-top: 2px; align-self: flex-end; }
.price-history { margin-top: 16px; padding: 16px 20px; border-radius: 16px; background: var(--surface); }
.price-history > b { font-size: .74rem; letter-spacing: .14em; text-transform: uppercase; color: var(--coral); font-weight: 500; }
.price-history ol { list-style: none; margin: 10px 0 0; padding: 0; display: grid; gap: 6px; }
.price-history li { display: grid; grid-template-columns: 110px 1fr auto; gap: 12px; font-size: .93rem; }
.price-history li span { color: var(--muted); }
.price-history em { font-style: normal; font-weight: 600; }
.price-history em.down { color: var(--ok); } .price-history em.up { color: var(--coral-hi); }
@media (max-width: 900px) { .price-alert-link { align-self: flex-start; } }

/* ---------------------------------------------------------------
   AI home advisor chat
   --------------------------------------------------------------- */
.chatw { position: fixed; right: 20px; bottom: 20px; z-index: 70; font-size: .95rem; }
.chatw-fab { display: inline-flex; align-items: center; gap: 8px; padding: 13px 18px 13px 15px; border: 0; border-radius: 999px; background: var(--coral); color: #fff; font: 600 .95rem var(--font); box-shadow: 0 10px 30px rgba(14, 140, 126, .4); cursor: pointer; transition: transform .15s; }
.chatw-fab:hover { transform: translateY(-2px); background: var(--coral-dk); }
.chatw.open .chatw-fab { display: none; }
.chatw-panel { position: absolute; right: 0; bottom: 0; width: 380px; max-width: calc(100vw - 32px); height: min(620px, calc(100vh - 110px)); display: flex; flex-direction: column; background: var(--bg); color: var(--text); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-lg); overflow: hidden; }
.chatw-panel[hidden] { display: none; }
.chatw-head { display: flex; align-items: center; gap: 12px; padding: 14px 16px; border-bottom: 1px solid var(--line); background: var(--bg-2); }
.chatw-head b { display: block; color: var(--strong); }
.chatw-head small { color: var(--muted); font-size: .78rem; }
.chatw-av { flex: none; width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; background: var(--coral); color: #fff; font-weight: 700; font-size: .8rem; }
.chatw-x { margin-left: auto; border: 0; background: transparent; color: var(--muted); font-size: 1.6rem; line-height: 1; cursor: pointer; padding: 0 4px; }
.chatw-log { flex: 1; overflow-y: auto; padding: 16px; display: flex; flex-direction: column; gap: 10px; overscroll-behavior: contain; }
.cmsg { display: flex; flex-direction: column; gap: 8px; max-width: 88%; }
.cmsg.bot { align-self: flex-start; }
.cmsg.me { align-self: flex-end; align-items: flex-end; }
.cmsg .cb { padding: 10px 13px; border-radius: 16px; line-height: 1.5; word-wrap: break-word; }
.cmsg.bot .cb { background: var(--surface); border-bottom-left-radius: 4px; }
.cmsg.me .cb { background: var(--coral); color: #fff; border-bottom-right-radius: 4px; }
.cmsg.err .cb { background: var(--coral-soft); color: var(--danger); }
.cmsg .typing { display: inline-flex; gap: 4px; }
.cmsg .typing i { width: 6px; height: 6px; border-radius: 50%; background: var(--muted); animation: cdot 1s infinite; }
.cmsg .typing i:nth-child(2) { animation-delay: .15s; } .cmsg .typing i:nth-child(3) { animation-delay: .3s; }
@keyframes cdot { 0%, 80%, 100% { opacity: .25; } 40% { opacity: 1; } }
.ccard { display: grid; grid-template-columns: 64px 1fr; gap: 10px; align-items: center; padding: 8px; border: 1px solid var(--line); border-radius: 14px; background: var(--bg); color: var(--text); text-decoration: none; }
.ccard:hover { border-color: var(--coral); }
.ccard img, .ccard .ph { width: 64px; height: 56px; border-radius: 10px; object-fit: cover; background: var(--surface-2); }
.ccard b { display: block; color: var(--strong); font-size: .92rem; }
.ccard small { display: block; color: var(--muted); font-size: .78rem; }
.ccard .pr { color: var(--coral); font-weight: 600; font-size: .85rem; }
.cmsg .lead-form { background: var(--bg-2); border: 1px solid var(--line); border-radius: 14px; padding: 12px; width: 100%; min-width: 250px; }
.cmsg .lead-form .field { margin-bottom: 8px; }
.cmsg .lead-form .consent { font-size: .75rem; }
.chatw-chips { display: flex; gap: 6px; padding: 0 16px 10px; overflow-x: auto; scrollbar-width: none; }
.chatw-chips button { flex: none; border: 1px solid var(--line-2); background: var(--bg); color: var(--text-2); border-radius: 999px; padding: 6px 12px; font: .82rem var(--font); cursor: pointer; }
.chatw-chips button:hover { border-color: var(--coral); color: var(--coral); }
.chatw-chips[hidden] { display: none; }
.chatw-form { display: flex; gap: 8px; padding: 10px 12px; border-top: 1px solid var(--line); }
.chatw-form input { flex: 1; min-width: 0; padding: 11px 14px; border: 1px solid var(--line-2); border-radius: 999px; background: var(--input); color: var(--text); font: 1rem var(--font); }
.chatw-form .btn { padding: 0 16px; border-radius: 999px; }
.chatw-foot { margin: 0; padding: 0 14px 10px; font-size: .72rem; color: var(--muted); text-align: center; }
.chatw-foot button { border: 0; background: none; color: var(--coral); font: 600 .72rem var(--font); cursor: pointer; text-decoration: underline; padding: 0; }
@media (max-width: 900px) {
  .chatw { right: 14px; bottom: calc(64px + env(safe-area-inset-bottom, 0px)); }
  .chatw-fab { padding: 11px 14px; font-size: .88rem; }
  .chatw.open { inset: 0; right: 0; bottom: 0; z-index: 90; }
  .chatw.open .chatw-panel { position: fixed; inset: 0; width: 100%; max-width: none; height: 100%; height: 100dvh; border-radius: 0; border: 0; }
}

/* ---------------------------------------------------------------
   Buyer accounts: lead modal with photo, OTP boxes, visit picker,
   login popup, header account menu, account dashboard
   --------------------------------------------------------------- */
.collapsed { display: none !important; }
.modal-brand { margin: 0 0 14px; }
.modal-brand svg, .modal-brand img { height: 26px; width: auto; }
.lead-card { padding: 0; display: grid; grid-template-columns: 1fr; max-width: 480px; }
.lead-card.has-aside { max-width: 860px; grid-template-columns: 300px 1fr; }
.lead-main { position: relative; padding: 30px 28px 24px; min-width: 0; }
.lead-aside { position: relative; min-height: 100%; background: var(--surface-2); overflow: hidden; border-radius: var(--radius-lg) 0 0 var(--radius-lg); }
.lead-aside img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.lead-aside::after { content: ''; position: absolute; inset: 0; background: linear-gradient(transparent 55%, rgba(0, 0, 0, .75)); }
.lead-aside div { position: absolute; left: 18px; right: 18px; bottom: 18px; z-index: 1; color: #fff; }
.lead-aside b { display: block; font-size: 1.3rem; font-weight: 500; }
.lead-aside small { font-size: .85rem; opacity: .85; }
.signed-as { margin: 0 0 12px; padding: 10px 12px; border-radius: 12px; background: var(--surface); color: var(--text-2); }
.otp-hint { margin: 10px 0 0; }
.back-btn { border: 0; background: none; color: var(--text); font-size: 1.4rem; padding: 0; margin: 0 0 8px; cursor: pointer; }
.otp-boxes { display: grid; grid-template-columns: repeat(6, 1fr); gap: 8px; margin: 22px 0 12px; }
.otp-boxes input { width: 100%; min-width: 0; height: 54px; text-align: center; font: 600 1.4rem var(--font); color: var(--text); background: var(--input); border: 0; border-bottom: 2px solid var(--line-2); border-radius: 10px 10px 4px 4px; }
.otp-boxes input:focus { outline: none; border-color: var(--coral); background: var(--surface); }
.done-when { font-size: 1.05rem; color: var(--text) !important; margin: 0 0 10px; }
.done-box { margin: 14px 0; padding: 18px; border-radius: 18px; background: var(--surface); color: var(--text-2); font-size: .92rem; }
[data-step=done] { text-align: center; }
[data-step=done] .btn { margin: 4px; }

.vpick { margin-bottom: 14px; }
.vp-virtual { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border-radius: 14px; background: var(--surface); cursor: pointer; }
.vp-virtual b { display: block; font-weight: 500; color: var(--text); }
.vp-virtual small { color: var(--muted); font-size: .82rem; }
.vp-vi { font-size: 1.2rem; }
.switch { appearance: none; -webkit-appearance: none; margin-left: auto; flex: none; width: 40px; height: 22px; border-radius: 11px; background: var(--line-2); position: relative; cursor: pointer; transition: background .2s; }
.switch::after { content: ''; position: absolute; top: 3px; left: 3px; width: 16px; height: 16px; border-radius: 50%; background: #fff; transition: transform .2s; }
.switch:checked { background: var(--coral); }
.switch:checked::after { transform: translateX(18px); }
.vp-month { margin: 16px 2px 8px; font-size: .92rem; }
.vp-days { display: grid; grid-template-columns: 28px 1fr 28px; align-items: center; gap: 4px; }
.vp-arrow { border: 0; background: none; color: var(--text); font-size: 1.5rem; cursor: pointer; padding: 0; }
.vp-strip { display: flex; gap: 8px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; padding: 2px; }
.vp-strip::-webkit-scrollbar { display: none; }
.vp-day { flex: none; scroll-snap-align: start; cursor: pointer; }
.vp-day input, .vp-slot input, .seg2 input { position: absolute; opacity: 0; pointer-events: none; }
.vp-day span { display: flex; flex-direction: column; align-items: center; width: 54px; padding: 8px 0; border: 1px solid var(--line-2); border-radius: 12px; }
.vp-day small { font-size: .68rem; font-weight: 600; letter-spacing: .04em; color: var(--muted); }
.vp-day b { font-size: 1.15rem; font-weight: 500; }
.vp-day input:checked + span { background: var(--coral); border-color: var(--coral); color: #fff; }
.vp-day input:checked + span small { color: rgba(255, 255, 255, .85); }
.vp-day input:focus-visible + span, .vp-slot input:focus-visible + span { outline: 2px solid var(--coral); outline-offset: 2px; }
.vp-periods { display: flex; justify-content: center; gap: 4px; margin: 16px auto 12px; padding: 4px; width: max-content; border-radius: 999px; background: var(--surface); position: relative; }
.vp-periods button { border: 0; background: none; width: 44px; height: 34px; border-radius: 999px; font-size: 1.05rem; cursor: pointer; filter: grayscale(.6); }
.vp-periods button.on { background: var(--bg); box-shadow: 0 2px 8px rgba(0, 0, 0, .15); filter: none; }
.vp-slots { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.vp-slot { cursor: pointer; }
.vp-slot span { display: block; padding: 10px 4px; text-align: center; border: 1px solid var(--line-2); border-radius: 12px; font-size: .88rem; }
.vp-slot input:checked + span { background: var(--coral); border-color: var(--coral); color: #fff; }
.vp-slot.off { cursor: not-allowed; }
.vp-slot.off span { opacity: .35; text-decoration: line-through; }
.vp-note { margin: 8px 0 0; }
.vp-att { margin-top: 16px; padding-top: 14px; border-top: 1px solid var(--line); }
.vp-att p { margin: 0 0 8px; font-size: .9rem; }
.seg2 { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.seg2 label { cursor: pointer; margin: 0; }
.seg2 span { display: block; padding: 11px; text-align: center; border: 1px solid var(--line-2); border-radius: 12px; font-size: .92rem; }
.seg2 input:checked + span { background: var(--coral); border-color: var(--coral); color: #fff; }
.vp-pickup { margin-top: 12px; }
.btn-dark { background: #20282d; color: #fff; border-color: #20282d; letter-spacing: .06em; }
.btn-dark:hover { background: #000; color: #fff; }
.site-dark .btn-dark { background: var(--strong); color: #191d20; border-color: var(--strong); }
.site-dark .btn-dark:hover { background: var(--coral); border-color: var(--coral); color: #fff; }
.btn-soft { background: var(--coral-soft); color: var(--coral-hi); border-color: transparent; }
.btn-soft:hover { background: var(--coral); color: #fff; }

/* login popup */
.login-card { padding: 0; max-width: 860px; display: grid; grid-template-columns: 1fr 1fr; background: var(--bg); overflow: hidden; }
.login-aside { padding: 40px 34px; color: #fff; background: linear-gradient(180deg, rgba(14, 18, 21, .55), rgba(14, 18, 21, .85)), url('../img/hero-skyline.svg') center / cover, #20282d; }
.login-aside h3 { color: #fff; font-size: 1.6rem; margin-bottom: 26px; }
.login-aside .sq { display: inline-block; width: 8px; height: 8px; background: var(--coral); margin-left: 4px; vertical-align: super; }
.login-aside ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 20px; }
.login-aside li { display: flex; gap: 14px; align-items: flex-start; font-size: 1.05rem; line-height: 1.35; }
.login-aside li span { flex: none; width: 30px; text-align: center; font-size: 1.1rem; font-weight: 700; }
.login-main { position: relative; padding: 36px 32px; }
.login-main h3 { font-size: 1.7rem; }

/* header account menu */
.hdr-signin { padding: 8px 14px; border-radius: 999px; color: var(--text); font-weight: 500; font-size: .92rem; }
.hdr-signin:hover { background: var(--hover); color: var(--strong); }
.acct-menu { position: relative; }
.acct-btn { display: flex; align-items: center; gap: 4px; border: 0; background: none; color: var(--text); cursor: pointer; padding: 4px; }
.acct-btn > span, .acct-who > span { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: var(--surface-2); border: 1px solid var(--line-2); color: var(--strong); font-weight: 600; font-size: .9rem; }
.acct-drop { position: absolute; right: 0; top: calc(100% + 8px); z-index: 70; width: 270px; padding: 10px; border-radius: 20px; background: #fff; box-shadow: var(--shadow-lg); }
.acct-drop a { display: block; padding: 11px 14px; border-radius: 12px; color: #20282d; font-size: .95rem; }
.acct-drop a:hover { background: #ecf0f3; color: #000; }
.acct-who { display: flex !important; align-items: center; gap: 12px; padding: 12px 14px 16px !important; margin-bottom: 6px; border-bottom: 1px solid #e0e6eb; border-radius: 0 !important; }
.acct-who > span { width: 46px; height: 46px; background: #20282d; color: #fff; border: 0; font-size: 1.1rem; }
.acct-who b { font-weight: 500; overflow: hidden; }
.acct-who small { display: block; font-size: .78rem; color: #69757e; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.acct-logout { border-top: 1px solid #e0e6eb; border-radius: 0 0 12px 12px !important; margin-top: 6px; }
.save-search.on { border-color: var(--ok); color: var(--ok); }

/* account dashboard */
.acct-band { background: #1a1f22; color: #fff; padding: 46px 0 110px; position: relative; overflow: hidden; }
.acct-band::after { content: ''; position: absolute; right: 6%; top: 34px; width: 54px; height: 54px; background: var(--coral); }
.acct-hello { display: flex; align-items: center; gap: 22px; }
.acct-hello h1 { color: #fff; font-size: clamp(1.6rem, 3vw, 2.2rem); margin: 0; }
.acct-hello p { margin: 2px 0 0; color: rgba(255, 255, 255, .75); font-size: .92rem; }
.acct-av { display: grid; place-items: center; flex: none; width: 96px; height: 96px; border-radius: 50%; background: #2f373c; color: #fff; font-size: 2.2rem; font-weight: 500; }
.acct-av.sm { width: 48px; height: 48px; font-size: 1.1rem; }
.acct { display: grid; grid-template-columns: 250px 1fr; gap: 28px; align-items: start; margin-top: -70px; padding-bottom: 60px; position: relative; z-index: 1; }
.acct-nav { position: sticky; top: calc(var(--header-h) + 16px); display: flex; flex-direction: column; padding: 12px 22px; background: var(--bg); border: 1px solid var(--line); border-radius: 24px; box-shadow: var(--shadow); }
.acct-nav a { position: relative; display: flex; align-items: center; justify-content: space-between; padding: 15px 0; border-bottom: 1px solid var(--line); color: var(--text-2); font-size: .95rem; }
.acct-nav a:last-child { border-bottom: 0; }
.acct-nav a.on { color: var(--strong); font-weight: 500; }
.acct-nav a.on::after { content: ''; width: 7px; height: 7px; background: var(--coral); }
.acct-nav a i { font-style: normal; font-size: .72rem; background: var(--coral); color: #fff; border-radius: 9px; padding: 0 7px; margin-left: auto; margin-right: 10px; }
.acct-nav .acct-out { color: var(--muted); font-size: .88rem; }
.acct-main { min-width: 0; padding: 32px 34px 40px; background: var(--bg); border: 1px solid var(--line); border-radius: 28px; box-shadow: var(--shadow); min-height: 420px; }
.acct-main > h2, .acct-title h2 { font-size: 1.4rem; font-weight: 500; margin-bottom: 18px; }
.acct-title { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; }
.acct-h { font-size: 1.1rem; font-weight: 500; margin: 26px 0 12px; }
.acct-tabs { display: flex; gap: 6px; border-bottom: 1px solid var(--line); margin-bottom: 20px; overflow-x: auto; scrollbar-width: none; }
.acct-tabs a { flex: 1 0 auto; padding: 12px 16px; text-align: center; color: var(--muted); font-size: .9rem; border-bottom: 2px solid transparent; white-space: nowrap; }
.acct-tabs a.on { color: var(--strong); border-bottom-color: var(--coral); }
.acct-empty { padding: 26px; border-radius: 18px; background: var(--surface); text-align: center; }
.acct-empty p { margin: 0 0 12px; }
.up-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 12px; }
.up-card { position: relative; display: grid; grid-template-columns: 1fr auto; gap: 10px; padding: 16px 18px; border-radius: 18px; background: var(--surface); color: var(--text); }
.up-card:hover { color: var(--text); background: var(--surface-2); }
.up-proj { font-size: .95rem; display: flex; align-items: center; gap: 8px; }
.up-proj i { width: 10px; height: 10px; background: var(--coral); }
.up-when { grid-column: 1 / -1; display: flex; align-items: center; gap: 8px; }
.up-when b { font-size: 2rem; font-weight: 400; line-height: 1; }
.up-when small { color: var(--muted); font-size: .78rem; line-height: 1.3; }
.tag { display: inline-block; padding: 3px 9px; border-radius: 6px; font-size: .68rem; font-weight: 600; letter-spacing: .05em; height: max-content; }
.tag-physical { background: var(--coral); color: #fff; }
.tag-virtual { background: #3b6fb6; color: #fff; }
div.journey { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.jcard { display: flex; flex-direction: column; align-items: center; gap: 4px; padding: 28px 10px 16px; border-radius: 20px; background: linear-gradient(var(--surface), var(--bg)); border: 1px solid var(--line); color: var(--text); text-align: center; }
.jcard:hover { border-color: var(--coral); color: var(--text); }
.jico { font-size: 2.6rem; line-height: 1.2; margin-bottom: 8px; }
.jcard b { font-weight: 500; font-size: .95rem; }
.jcard small { color: var(--muted); font-size: .78rem; }
.jcard em { font-style: normal; width: 24px; height: 24px; display: grid; place-items: center; border-radius: 50%; background: var(--surface-2); margin-top: 8px; }
.rm-card { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; padding: 16px; border-radius: 18px; background: var(--surface); }
.rm-card img { width: 48px; height: 48px; border-radius: 50%; object-fit: cover; }
.rm-card div { flex: 1; min-width: 140px; }
.rm-card b { display: block; font-weight: 500; }
.rm-card small { color: var(--muted); }
.prow { display: grid; grid-template-columns: 200px 1fr; border: 1px solid var(--line); border-radius: 20px; overflow: hidden; margin-bottom: 16px; background: var(--bg); }
.prow-img { background: #111; }
.prow-img img { width: 100%; height: 100%; min-height: 190px; object-fit: cover; }
.prow-body { padding: 16px 18px; min-width: 0; }
.prow-head { display: flex; justify-content: space-between; gap: 12px; }
.prow-head h3 { font-size: 1.15rem; font-weight: 500; margin: 0; }
.prow-head h3 a { color: var(--text); }
.prow-head p { margin: 2px 0 0; }
.prow-icons { display: flex; flex-direction: column; gap: 8px; }
.round-btn { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; border: 0; background: var(--surface); color: var(--text); cursor: pointer; }
.round-btn svg path { fill: none; stroke: currentColor; stroke-width: 1.8; }
.round-btn.on { color: #ef3b5d; }
.round-btn.on svg path { fill: currentColor; }
.prow-price { font-size: 1.25rem; margin: 6px 0 10px; color: var(--strong); }
.prow-cfg { padding: 8px 12px; border-radius: 6px; background: linear-gradient(90deg, var(--surface-2), transparent); }
.prow-cfg small { display: block; color: var(--muted); font-size: .74rem; }
.prow-cfg b { font-weight: 500; font-size: .85rem; }
.prow-foot { display: flex; align-items: center; justify-content: space-between; gap: 10px; flex-wrap: wrap; margin-top: 12px; }
.prow-rm { display: flex; align-items: center; gap: 8px; min-width: 0; }
.prow-rm img, .prow-rm i { width: 36px; height: 36px; border-radius: 50%; object-fit: cover; flex: none; }
.prow-rm i { display: grid; place-items: center; background: var(--surface-2); font-style: normal; font-weight: 600; }
.prow-rm b { display: block; font-size: .85rem; font-weight: 500; }
.prow-rm small { color: var(--muted); font-size: .74rem; }
.vrow { display: grid; grid-template-columns: 90px 1fr auto; gap: 18px; align-items: center; padding: 16px 18px; margin-bottom: 12px; border: 1px solid var(--line); border-radius: 18px; background: linear-gradient(90deg, var(--bg), var(--coral-soft)); }
.vrow-date { text-align: center; border-right: 1px solid var(--line); padding-right: 14px; }
.vrow-date b { display: block; font-size: 2.2rem; font-weight: 400; line-height: 1; }
.vrow-date small { display: block; color: var(--muted); font-size: .76rem; }
.vrow-date em { font-style: normal; font-size: .72rem; font-weight: 600; letter-spacing: .04em; }
.vrow-body { min-width: 0; }
.vrow-body h3 { font-size: 1.05rem; font-weight: 500; margin: 0 0 4px; }
.vrow-body h3 a { color: var(--text); }
.vrow-meta { display: flex; flex-wrap: wrap; gap: 4px 16px; margin: 0 0 4px; font-size: .88rem; color: var(--text-2); }
.vrow-dir { font-size: .86rem; }
.vrow-side { display: flex; flex-direction: column; align-items: flex-end; gap: 10px; }
.vrow-act { display: flex; gap: 6px; flex-wrap: wrap; justify-content: flex-end; }
.vrow-act form { margin: 0; }
.visit-modal { max-width: 460px; }
.sgroup { padding: 18px; border-radius: 18px; background: var(--surface); margin-bottom: 14px; }
.sgroup h4 { font-size: 1rem; font-weight: 500; margin: 0 0 12px; }
.srow { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 13px 16px; margin-top: 8px; border: 1px solid var(--coral); border-radius: 10px; background: var(--coral-soft); color: var(--text); font-size: .92rem; }
.srow:hover { color: var(--strong); background: rgba(34, 179, 160, .22); }
.srow small { flex: none; font-weight: 600; font-size: .8rem; }
.saved-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 14px; }
.saved-card { padding: 14px 16px; border-radius: 14px; background: var(--surface); }
.saved-card b { color: var(--text); font-weight: 500; font-size: .95rem; }
.saved-foot { display: flex; justify-content: space-between; align-items: center; gap: 8px; margin-top: 12px; padding-top: 10px; border-top: 1px solid var(--line); }
.saved-foot small { color: var(--muted); }
.saved-foot span { display: flex; gap: 4px; }
.saved-foot form { margin: 0; }
.icon-btn { border: 0; background: none; color: var(--text); font-size: 1rem; cursor: pointer; padding: 4px 6px; border-radius: 8px; }
.icon-btn:hover { background: var(--hover); }
.ref-hero { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 34px 36px; border-radius: 18px; background: linear-gradient(110deg, #dbf6f3, #dff8f4); border: 1px solid #bbefe8; color: #20282d; }
.ref-hero h3 { color: #20282d; font-size: 1.45rem; font-weight: 500; margin: 0; }
.ref-hero p { color: #40525e; margin: 8px 0 0; }
.ref-art { font-size: 4rem; filter: drop-shadow(0 8px 20px rgba(14, 140, 126, .35)); }
.ref-how { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; margin-top: 22px; }
.ref-how h4 { color: var(--coral-hi); font-weight: 500; font-size: 1.05rem; margin: 0 0 10px; }
.ref-how ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; color: var(--text-2); font-size: .94rem; }
.ref-terms { padding: 14px 16px; border-radius: 12px; background: var(--surface); font-size: .88rem; color: var(--text-2); margin-bottom: 14px; }
.ref-table { margin-top: 6px; }
.refer-modal { max-width: 560px; }
.refer-modal h4 { font-size: 1rem; font-weight: 500; margin: 16px 0 8px; }
.invitee { border: 1px solid var(--line); border-radius: 16px; padding: 14px 16px 6px; margin: 14px 0 6px; background: var(--surface); }
.invitee legend { padding: 0 6px; font-weight: 500; }
.invitee select { margin-top: 8px; }
.invitee .seg2 span { padding: 9px; }
.add-inv { margin: 6px 0 12px; }
.modal-actions { display: flex; justify-content: flex-end; gap: 10px; margin-top: 16px; padding-top: 14px; border-top: 1px solid var(--line); }
.details-form { max-width: 760px; }
.verified-in { position: relative; }
.verified-in span { position: absolute; right: 12px; top: 50%; transform: translateY(-50%); width: 22px; height: 22px; display: grid; place-items: center; border-radius: 50%; background: var(--ok); color: #fff; font-size: .75rem; }

@media (max-width: 900px) {
  .lead-card.has-aside { grid-template-columns: 1fr; }
  .lead-aside { min-height: 150px; border-radius: var(--radius-lg) var(--radius-lg) 0 0; }
  .login-card { grid-template-columns: 1fr; }
  .login-aside { display: none; }
  .acct { grid-template-columns: 1fr; margin-top: -60px; gap: 14px; }
  .acct-nav { position: static; flex-direction: row; overflow-x: auto; padding: 6px 10px; border-radius: 18px; scrollbar-width: none; }
  .acct-nav a { flex: none; padding: 10px 12px; border-bottom: 0; white-space: nowrap; }
  .acct-nav a.on::after { display: none; }
  .acct-nav a.on { color: var(--coral-hi); }
  .acct-nav a i { margin: 0 0 0 6px; }
  .acct-main { padding: 22px 16px 28px; border-radius: 22px; }
  div.journey { grid-template-columns: 1fr 1fr; }
  .vrow { grid-template-columns: 70px 1fr; }
  .vrow-side { grid-column: 1 / -1; flex-direction: row; justify-content: space-between; align-items: center; }
  .ref-how { flex-direction: column; }
}
@media (max-width: 600px) {
  .acct-band { padding: 30px 0 90px; }
  .acct-av { width: 64px; height: 64px; font-size: 1.5rem; }
  .prow { grid-template-columns: 1fr; }
  .prow-img img { min-height: 0; aspect-ratio: 16 / 9; }
  .ref-hero { padding: 22px; }
  .ref-art { display: none; }
  .lead-main, .login-main { padding: 26px 18px 20px; }
  .vp-slots { grid-template-columns: repeat(3, 1fr); gap: 6px; }
  .vp-slot span { font-size: .8rem; padding: 9px 2px; }
  .hdr-signin { display: none; }
}
.lead-card.has-aside { overflow: hidden; }
.lead-card.has-aside .lead-main { overflow-y: auto; max-height: calc(100vh - 32px); }
@media (max-width: 900px) { .lead-card.has-aside { overflow: auto; } .lead-card.has-aside .lead-main { max-height: none; overflow: visible; } }
.hdr-signin { white-space: nowrap; }
@media (max-width: 600px) { .acct-band::after { display: none; } .vrow-act { gap: 4px; } }
.wa-tag { color: #25d366; }
/* Blox-style enquiry popup: "How are we different" on the left */
.lead-card.has-aside { max-width: 880px; grid-template-columns: 340px 1fr; }
.lead-why { border-radius: var(--radius-lg) 0 0 var(--radius-lg); }
.lead-why[hidden] { display: none; }
.more-details { margin: 4px 0 12px; border: 1px solid var(--line); border-radius: 14px; padding: 0 14px; }
.more-details summary { cursor: pointer; padding: 12px 0; font-size: .92rem; color: var(--text-2); list-style: none; }
.more-details summary::-webkit-details-marker { display: none; }
.more-details summary::before { content: '+ '; color: var(--coral); font-weight: 600; }
.more-details[open] summary::before { content: '– '; }
.more-details[open] { padding-bottom: 6px; }
@media (max-width: 900px) {
  .lead-card.has-aside { grid-template-columns: 1fr; max-width: 480px; }
  .lead-card.has-aside.photo-aside { max-width: 560px; }
  .lead-why { display: none; }
}
/* keep the two-panel popups down to small laptops / zoomed windows */
@media (min-width: 680px) and (max-width: 900px) {
  .login-card { grid-template-columns: 260px 1fr; }
  .login-aside { display: block; padding: 30px 22px; }
  .lead-card.has-aside:not(.photo-aside) { grid-template-columns: 260px 1fr; max-width: 760px; }
  .lead-card.has-aside .lead-why:not([hidden]) { display: block; padding: 30px 22px; }
  .login-aside h3 { font-size: 1.3rem; }
  .login-aside li { font-size: .95rem; }
}

/* ===============================================================
   Blox-style popup (#leadModal): Welcome → Verify → Visit → Done
   =============================================================== */
.bx-modal .modal-backdrop { background: rgba(6, 7, 8, .72); }
.bx-card { position: relative; z-index: 1; width: min(1000px, 100%); min-height: 580px; max-height: calc(100vh - 32px); display: grid; grid-template-columns: 1fr 440px; border-radius: 28px; overflow: hidden; background: #161b1e; color: #eaeff2; box-shadow: 0 30px 90px rgba(0, 0, 0, .55); animation: pop .2s ease-out; }
.bx-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 0; }
.bx-card::before { content: ''; position: absolute; inset: 0; z-index: 0; background: linear-gradient(100deg, rgba(14, 18, 21, .55), rgba(14, 18, 21, .25) 55%, rgba(14, 18, 21, .6)); pointer-events: none; }
.bx-left { position: relative; z-index: 1; padding: 64px 48px; display: flex; flex-direction: column; }
.bx-why h3 { color: #fff; font-size: 1.85rem; font-weight: 400; margin: 0 0 30px; }
.bx-why .sq, .bx-done .sq { display: inline-block; width: 9px; height: 9px; background: var(--coral); margin-left: 4px; vertical-align: super; }
.bx-why ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 22px; }
.bx-why li { display: flex; gap: 16px; align-items: flex-start; font-size: 1.15rem; line-height: 1.3; color: #fff; }
.bx-why svg { flex: none; width: 26px; height: 26px; fill: none; stroke: #fff; stroke-width: 1.7; stroke-linejoin: round; stroke-linecap: round; margin-top: 1px; }
.bx-proj { margin-top: auto; }
.bx-proj b { display: block; font-size: 1.6rem; font-weight: 500; color: #fff; }
.bx-proj small { color: rgba(255, 255, 255, .85); font-size: .95rem; }
.bx-panel { position: relative; z-index: 1; margin: 44px 44px 36px 0; padding: 40px 40px 28px; background: #1f2326; border-radius: 24px; display: flex; flex-direction: column; min-height: 0; overflow-y: auto; }
.bx-x { position: absolute; z-index: 3; top: 16px; right: 16px; width: 44px; height: 44px; border-radius: 50%; border: 0; background: #161b1e; display: grid; place-items: center; cursor: pointer; }
.bx-panel .bx-x { top: -30px; right: -30px; box-shadow: 0 0 0 8px #161b1e; }
.bx-x svg { width: 20px; height: 20px; stroke: #fff; stroke-width: 2; fill: none; }
.bx-brand { margin: 0 0 34px; }
.bx-brand svg, .bx-brand img { height: 28px; width: auto; }
.bx-step { display: flex; flex-direction: column; flex: 1; }
.bx-step[hidden] { display: none; }
.bx-step h3 { font-size: 1.9rem; font-weight: 400; color: #fff; margin: 0 0 8px; }
.bx-sub { color: #929fa9; font-size: .98rem; line-height: 1.5; margin: 0 0 28px; }
.bx-num { color: #fff; }
.bx-phone { display: flex; align-items: flex-end; gap: 16px; margin: 18px 0 8px; }
.bx-ico { width: 26px; height: 26px; fill: none; stroke: #eaeff2; stroke-width: 1.6; flex: none; margin-bottom: 8px; }
.bx-cc { display: flex; align-items: center; gap: 8px; padding: 0 0 9px; border-bottom: 1px solid #78848d; color: #fff; font-size: 1.1rem; min-width: 64px; }
.bx-cc svg { width: 16px; height: 16px; fill: none; stroke: #fff; stroke-width: 2; }
.bx-phone input { flex: 1; min-width: 0; background: transparent; border: 0; border-bottom: 1px solid #78848d; border-radius: 0; color: #fff; font: 1.1rem var(--font); padding: 0 0 9px; }
.bx-phone input:focus { outline: none; border-bottom-color: var(--coral); }
.bx-phone input::placeholder { color: #6e7a83; }
.bx-btn { display: block; width: 100%; margin-top: auto; height: 52px; border: 0; border-radius: 999px; background: var(--coral); color: #fff; font: 600 .98rem var(--font); letter-spacing: .14em; text-transform: uppercase; cursor: pointer; text-align: center; line-height: 52px; }
.bx-btn:hover { background: var(--coral-dk); color: #fff; }
.bx-btn:disabled { background: #3c4348; color: #7e8a92; cursor: default; }
[data-bx=phone] .bx-btn { margin-top: 64px; }
.bx-terms { text-align: center; color: #929fa9; font-size: .82rem; margin: 18px 0 0; }
.bx-terms a { color: #d9e1e7; font-weight: 600; }
.bx-back { align-self: flex-start; border: 0; background: none; padding: 0; margin: -6px 0 18px; cursor: pointer; }
.bx-back svg { width: 26px; height: 26px; stroke: #fff; stroke-width: 2; fill: none; }
.bx-otp { display: grid; grid-template-columns: repeat(6, 1fr); gap: 14px; margin: 40px 0 26px; }
.bx-otp input { width: 100%; min-width: 0; text-align: center; background: transparent; border: 0; border-bottom: 1.5px solid #78848d; border-radius: 0; color: #fff; font: 600 1.5rem var(--font); padding: 0 0 8px; }
.bx-otp input:focus { outline: none; border-bottom-color: var(--coral); }
.bx-otp input.bad { border-bottom-color: #ff8b7b; }
.bx-resend { text-align: center; color: #929fa9; font-size: .95rem; margin: 6px 0 0; }
.bx-resend b { color: #fff; }
.bx-resend .link { color: var(--coral-hi); font-weight: 600; }
.bx-textarea { width: 100%; background: #161b1e; border: 1px solid #3e464c; border-radius: 14px; color: #fff; font: 1rem var(--font); padding: 12px 14px; margin-bottom: 16px; }
.bx-busy { align-items: center; justify-content: center; gap: 14px; color: #929fa9; }
.bx-spin { width: 34px; height: 34px; border-radius: 50%; border: 3px solid #3e464c; border-top-color: var(--coral); animation: bxspin .8s linear infinite; }
@keyframes bxspin { to { transform: rotate(360deg); } }
.bx-done { text-align: center; }
.bx-done h3 { font-size: 1.6rem; margin-top: 30px; }
.bx-when { color: #fff; margin: 4px 0 10px; font-size: .98rem; }
.bx-when b { font-weight: 500; }
.bx-mode { color: #bbc7d0; margin: 0 0 26px; font-size: .92rem; }
.bx-note { padding: 22px 26px; border-radius: 22px; background: #2f373c; color: #bbc7d0; font-size: .92rem; line-height: 1.6; }
.bx-manage { margin: 40px 0 0; color: #929fa9; font-size: .88rem; }
.bx-manage a { color: #fff; }
.bx-tick { width: 64px; height: 64px; border-radius: 50%; background: var(--coral); color: #fff; display: grid; place-items: center; font-size: 1.8rem; margin: 20px auto 0; }
.bx-done [data-brochure-link] { margin-top: 20px; }
.bx-panel .form-error { margin: 8px 0 0; }
.bx-modal .vp-cal { margin-left: auto; display: inline-flex; align-items: center; gap: 6px; color: var(--coral); font-size: .9rem; cursor: pointer; position: relative; }
.bx-modal .vp-cal input { position: absolute; inset: 0; opacity: 0; width: 100%; cursor: pointer; }
.vp-month { display: flex; align-items: center; }

/* site-visit step: photo on the left, light booking panel on the right (like Blox) */
.bx-photo .bx-card { grid-template-columns: 360px 1fr; background: #fff; max-width: 900px; }
.bx-photo .bx-card::before { background: linear-gradient(transparent 55%, rgba(0, 0, 0, .78)); right: auto; width: 360px; }
.bx-photo .bx-bg { width: 360px; right: auto; }
.bx-photo .bx-left { padding: 28px; }
.bx-photo .bx-panel { margin: 0; border-radius: 0; background: #fff; color: #20282d; padding: 30px 34px 26px;
  --bg: #ffffff; --bg-2: #f4f6f8; --surface: #ebeff2; --surface-2: #dce4e9; --input: #fff; --line: #dce4e9; --line-2: #c6d2da; --text: #191d20; --text-2: #40494f; --muted: #69757e; --strong: #0f1215; --coral-hi: #0a6b61; --coral-soft: rgba(14, 140, 126, .1); }
.bx-photo .bx-panel .bx-x { top: 18px; right: 18px; background: #e5ebef; box-shadow: none; }
.bx-photo .bx-panel .bx-x svg { stroke: #20282d; }
.bx-photo .bx-brand { margin-bottom: 20px; }
.bx-photo .bx-brand, .bx-photo .bx-brand * { color: #20282d; }
.bx-photo .bx-step h3 { color: #191d20; font-size: 1.5rem; }
.bx-photo .bx-sub { color: #5b666e; margin-bottom: 16px; }
.bx-photo .bx-btn-dark { background: #20282d; letter-spacing: .14em; margin-top: 18px; }
.bx-photo .bx-btn-dark:hover { background: #000; }
.bx-photo .bx-done h3 { color: #191d20; }
.bx-photo .bx-when, .bx-photo .bx-manage a { color: #191d20; }
.bx-photo .bx-mode, .bx-photo .bx-manage { color: #5b666e; }
.bx-photo .bx-note { background: #e5ebef; color: #4a555d; }
.bx-photo .bx-spin { border-color: #dce4e9; border-top-color: var(--coral); }
.bx-photo .form-error { color: var(--danger); }

@media (max-width: 860px) {
  .bx-card, .bx-photo .bx-card { grid-template-columns: 1fr; min-height: 0; max-width: 480px; overflow-y: auto; }
  .bx-left { display: none; }
  .bx-photo .bx-left { display: flex; height: 150px; padding: 18px 20px; }
  .bx-photo .bx-bg, .bx-photo .bx-card::before { width: 100%; height: 150px; }
  .bx-photo .bx-proj b { font-size: 1.25rem; }
  .bx-panel { margin: 0; border-radius: 0; padding: 30px 22px 24px; overflow: visible; background: #1f2326; }
  .bx-panel .bx-x { top: 14px; right: 14px; box-shadow: none; }
  .bx-photo .bx-panel .bx-x { top: -136px; background: rgba(255, 255, 255, .9); }
  [data-bx=phone] .bx-btn { margin-top: 40px; }
  .bx-otp { gap: 8px; }
}
.bx-proj[hidden], .bx-why[hidden] { display: none; }
.bx-photo .bx-left { justify-content: flex-end; }
.bx-photo .bx-proj { position: relative; z-index: 2; text-shadow: 0 2px 10px rgba(0, 0, 0, .5); }
.bx-left { position: static; }
.bx-why, .bx-proj { position: relative; z-index: 2; }
.bx-photo .bx-left { position: relative; }
@media (max-width: 860px) {
  .bx-card, .bx-photo .bx-card { grid-template-columns: minmax(0, 1fr); overflow-x: hidden; }
  .bx-panel { min-width: 0; }
}
.bx-modal:not(.bx-photo) .bx-panel { overflow: visible; }
.bx-photo .bx-panel { overflow-y: auto; }
.bx-pick { margin: 0 0 14px; }
.bx-pick label { display: block; font-size: .88rem; font-weight: 600; margin-bottom: 6px; color: inherit; }
.bx-pick select { width: 100%; padding: 12px 14px; border-radius: 12px; border: 1px solid var(--line-2); background: var(--input); color: var(--text); font: 1rem var(--font); }
.bx-skip { margin: 12px auto 0; border: 0; background: none; color: var(--muted); font: .9rem var(--font); text-decoration: underline; cursor: pointer; }
.bx-done [data-bx-book] { margin-top: 14px; }
.bx-modal:not(.bx-photo) [data-bx=form] { color: #eaeff2; }
.bx-modal:not(.bx-photo) .bx-btn-dark { background: var(--coral); }

/* Typeform-style questions inside the popup */
.tf { gap: 0; }
.tf-top { display: flex; align-items: center; gap: 12px; margin: -6px 0 22px; }
.tf-back { border: 0; background: none; padding: 0; cursor: pointer; display: grid; place-items: center; }
.tf-back svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 2; }
.tf-bar { flex: 1; height: 4px; border-radius: 4px; background: var(--line-2); overflow: hidden; }
.tf-bar i { display: block; height: 100%; width: 0; background: var(--coral); border-radius: 4px; transition: width .35s ease; }
.tf-count { font-size: .78rem; color: var(--muted); min-width: 36px; text-align: right; }
.tf-q h3 { font-size: 1.55rem !important; line-height: 1.25; margin-bottom: 6px !important; }
.tf-q .bx-sub { margin-bottom: 18px; }
.tf-in { animation: tfin .35s ease-out; }
@keyframes tfin { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
.tf-opts { display: grid; gap: 10px; margin-top: 6px; }
.tf-opt { display: flex; align-items: center; gap: 14px; width: 100%; padding: 14px 16px; text-align: left; border: 1px solid var(--line-2); border-radius: 14px; background: transparent; color: inherit; font: 1rem var(--font); cursor: pointer; transition: border-color .15s, background .15s; }
.tf-opt:hover { border-color: var(--coral); }
.tf-opt.on { border-color: var(--coral); background: var(--coral-soft); }
.tf-opt kbd { flex: none; width: 26px; height: 26px; display: grid; place-items: center; border: 1px solid var(--line-2); border-radius: 6px; font: 600 .78rem var(--font); color: var(--muted); background: transparent; }
.tf-opt.on kbd { background: var(--coral); border-color: var(--coral); color: #fff; }
.tf-opt small { display: block; color: var(--muted); font-size: .82rem; margin-top: 2px; }
.tf-dates { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.tf-date { display: flex; flex-direction: column; align-items: center; padding: 10px 4px; border: 1px solid var(--line-2); border-radius: 14px; background: transparent; color: inherit; cursor: pointer; font-family: var(--font); }
.tf-date small { font-size: .72rem; color: var(--muted); }
.tf-date b { font-size: 1.3rem; font-weight: 500; line-height: 1.2; }
.tf-date:hover:not(:disabled) { border-color: var(--coral); }
.tf-date.on { background: var(--coral); border-color: var(--coral); color: #fff; }
.tf-date.on small { color: rgba(255, 255, 255, .85); }
.tf-date:disabled { opacity: .35; cursor: not-allowed; }
.tf-group { margin: 6px 0 8px; font-size: .8rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.tf-times { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-bottom: 8px; }
.tf-time, .tf-chip { padding: 11px 8px; border: 1px solid var(--line-2); border-radius: 12px; background: transparent; color: inherit; font: .95rem var(--font); cursor: pointer; }
.tf-time:hover, .tf-chip:hover { border-color: var(--coral); }
.tf-time.on, .tf-chip.on { background: var(--coral); border-color: var(--coral); color: #fff; }
.tf-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.tf-chip { padding: 11px 16px; border-radius: 999px; }
.tf-input { width: 100%; background: transparent; border: 0; border-bottom: 2px solid var(--line-2); border-radius: 0; color: inherit; font: 1.4rem var(--font); padding: 8px 0; margin-top: 10px; resize: vertical; }
.tf-input:focus { outline: none; border-bottom-color: var(--coral); }
.tf-input::placeholder { color: var(--muted); opacity: .7; }
.tf-ok { margin-top: 18px; padding: 11px 22px; border: 0; border-radius: 10px; background: var(--coral); color: #fff; font: 600 1rem var(--font); cursor: pointer; }
.tf-hint { margin-left: 12px; font-size: .8rem; color: var(--muted); }
.tf-search { width: 100%; padding: 11px 14px; border: 1px solid var(--line-2); border-radius: 12px; background: transparent; color: inherit; font: 1rem var(--font); margin-bottom: 10px; }
.tf-list { display: grid; gap: 8px; max-height: 320px; overflow-y: auto; padding-right: 2px; }
.tf-proj { display: flex; align-items: center; gap: 12px; padding: 8px; border: 1px solid var(--line-2); border-radius: 14px; background: transparent; color: inherit; text-align: left; cursor: pointer; font-family: var(--font); }
.tf-proj[hidden] { display: none; }
.tf-proj:hover, .tf-proj.on { border-color: var(--coral); }
.tf-proj.on { background: var(--coral-soft); }
.tf-proj img, .tf-ph { width: 54px; height: 46px; border-radius: 10px; object-fit: cover; flex: none; background: var(--surface-2); }
.tf-proj b { display: block; font-weight: 500; font-size: .95rem; }
.tf-proj small { color: var(--muted); font-size: .8rem; }
.bx-modal:not(.bx-photo) .tf { color: #eaeff2; }
.bx-photo .tf { color: #191d20; }
@media (max-width: 860px) { .tf-dates { grid-template-columns: repeat(4, 1fr); } .tf-q h3 { font-size: 1.35rem !important; } }

/* Project card — Blox layout (v2) */
.pcard { min-height: 540px; border-width: 1.5px; }
.pcard::after { background: linear-gradient(180deg, rgba(0,0,0,.18) 0%, rgba(0,0,0,0) 20%, rgba(13, 16, 19,0) 48%, rgba(13, 16, 19,.7) 72%, rgba(13, 16, 19,.92) 100%); }
.pcard-top { padding: 18px 18px 0; }
.pcard-dev { position: relative; width: 90px; height: 90px; border-radius: 16px; overflow: visible; }
.pcard-dev img { border-radius: 16px; }
.pcard-tick { position: absolute; right: -6px; bottom: -6px; width: 22px; height: 22px; border-radius: 50%; background: var(--coral) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='none' stroke='%23fff' stroke-width='3' stroke-linecap='round' stroke-linejoin='round' d='M6 12.5l4 4 8-9'/%3E%3C/svg%3E") center/14px no-repeat; border: 2px solid #fff; }
.pcard-tools { gap: 12px; }
.pcard-btn { width: 60px; height: 44px; border-radius: 22px; background: rgba(70, 80, 95, .55); }
.pcard-body { padding: 0 20px 20px; }
.pcard h3 { font-size: clamp(1.45rem, 2vw, 1.75rem); margin: 0 0 4px; }
.pcard-loc { font-size: .9rem; color: #c5d1d9; }
.pcard-foot { margin-top: 12px; padding-top: 14px; border-top: 1px solid rgba(255,255,255,.4); min-height: 64px; }
.pcard-price b { font-size: 1.15rem; }
.pcard-price span { font-size: .9rem; }
.pcard-cta { width: auto; height: auto; flex-direction: row; padding: 1em 2.2em; border-radius: 999px; font-size: .74rem; letter-spacing: .2em; text-transform: uppercase; font-weight: 500; white-space: nowrap; background: var(--coral); color: #fff; }
.pcard-cta:hover { background: #fff; color: var(--coral); transform: none; }
@media (hover: hover) and (min-width: 721px) {
  .pcard-cta { opacity: 0; transform: translateY(6px); pointer-events: none; transition: opacity .2s, transform .2s, background .2s; }
  .pcard:hover .pcard-cta, .pcard:focus-within .pcard-cta { opacity: 1; transform: none; pointer-events: auto; }
  .pcard:not(:hover):not(:focus-within) .pcard-foot { grid-template-columns: minmax(0, 1fr) 0; gap: 0; }
}
@media (max-width: 720px) {
  .pcard { min-height: 480px; }
  .pcard-dev { width: 76px; height: 76px; border-radius: 14px; }
  .pcard-btn { width: 54px; height: 40px; }
  .pcard-cta { padding: .95em 1.4em; letter-spacing: .14em; width: auto; height: auto; border-radius: 999px; }
}

/* =====================================================================
   Desktop density — Blox-like scale: wider content, compact type,
   smaller tall cards. Phones keep their own sizes.
   ===================================================================== */
@media (min-width: 721px) {
  :root { --wrap: 1640px; --gut: clamp(24px, 4.8vw, 92px); }
  body { font-size: 15px; }
  .wrap { padding-inline: var(--gut); }
  .wrap.narrow, .narrow { max-width: 860px; }
  .carousel, .dev-strip { padding-inline: max(var(--gut), calc((100vw - var(--wrap)) / 2 + var(--gut))); scroll-padding-inline: max(var(--gut), calc((100vw - var(--wrap)) / 2 + var(--gut))); }
  .carousel { grid-auto-columns: clamp(250px, 19.5vw, 340px); gap: 20px; }
  .carousel-posts { grid-auto-columns: clamp(260px, 22vw, 360px); }
  .carousel-quotes { grid-auto-columns: clamp(280px, 24vw, 380px); }
  .section { padding: 60px 0; }
  .section-sm { padding: 32px 0 52px; }
  .sec-head, .section-head { margin-bottom: 24px; }
  h1 { font-size: clamp(2rem, 3.8vw, 3.3rem); }
  h2 { font-size: clamp(1.45rem, 2.3vw, 2rem); }
  .sec-head h2, .section-head h2 { font-size: clamp(1.5rem, 2.3vw, 2.05rem); }
  .why-copy h2 { font-size: clamp(1.8rem, 3vw, 2.6rem); }
  .alerts-copy h2 { font-size: clamp(1.6rem, 2.6vw, 2.2rem); }
  .proj-more h2 { font-size: clamp(1.4rem, 2.2vw, 1.9rem); }
  .page-head h1 { font-size: clamp(1.8rem, 3vw, 2.5rem); }
  .proj-title-row h1 { font-size: clamp(1.9rem, 3.3vw, 2.8rem); }
  .article-head h1 { font-size: clamp(1.8rem, 3.2vw, 2.7rem); }
  .hero { min-height: 560px; padding: calc(var(--header-h) + 70px) 0 52px; }
  .hero h1 { font-size: clamp(2.4rem, 4.6vw, 4.2rem); }
  .hero .lede { font-size: clamp(1rem, 1.3vw, 1.15rem); }
  .stats-row b { font-size: clamp(1.7rem, 2.6vw, 2.3rem); }
  .btn { font-size: .88rem; }
  .main-nav > a, .nav-item > a { font-size: .92rem; }

  .grid-cards, .grid-results, .grid-cards-4 { grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 20px; }
  /* project card */
  .pcard { min-height: 0; aspect-ratio: 0.615; border-radius: 26px; clip-path: inset(0 round 26px); }
  .pcard-top { padding: 16px 16px 0; }
  .pcard-dev { width: 74px; height: 74px; border-radius: 14px; }
  .pcard-dev img { border-radius: 14px; }
  .pcard-tick { width: 20px; height: 20px; background-size: 12px; }
  .pcard-tools { gap: 10px; }
  .pcard-btn { width: 52px; height: 38px; border-radius: 19px; }
  .pcard-btn svg { width: 17px; height: 17px; }
  .pcard-body { padding: 0 18px 18px; }
  .pcard h3 { font-size: clamp(1.25rem, 1.6vw, 1.55rem); line-height: 1.1; margin: 0 0 3px; }
  .pcard-loc { font-size: .82rem; }
  .pcard-foot { margin-top: 10px; padding-top: 12px; min-height: 56px; gap: 10px; }
  .pcard-price { gap: 2px; }
  .pcard-price b { font-size: 1.02rem; }
  .pcard-price span { font-size: .82rem; }
  .pcard-cta { padding: .9em 1.6em; font-size: .68rem; letter-spacing: .18em; }
}

/* Exact Blox card size on desktop: 296 x 480, 32px gap, 16px padding, 24px radius */
@media (min-width: 721px) {
  .carousel:has(> .pcard) { grid-auto-columns: 296px; gap: 32px; }
  .carousel > .pcard { width: 296px; height: 480px; aspect-ratio: auto; }
  .pcard { border-radius: 24px; clip-path: inset(0 round 24px); }
  .pcard-top { padding: 16px 16px 0; }
  .pcard-body { padding: 0 16px 16px; }
  .pcard-dev { width: 72px; height: 72px; border-radius: 12px; }
  .pcard-dev img { border-radius: 12px; }
  .pcard-btn { width: 48px; height: 36px; border-radius: 18px; }
  .pcard h3 { font-size: 1.5rem; }
  .pcard-loc { font-size: .8rem; }
  .pcard-price b { font-size: .98rem; }
  .pcard-price span { font-size: .8rem; }
  .grid-cards, .grid-results, .grid-cards-4 { grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 28px 20px; }
}

/* =====================================================================
   Listing with map (Airbnb style): cards left, price-pin map right.
   Filters move into a slide-in drawer; quick chips on top.
   ===================================================================== */
.qchips { display: flex; gap: 8px; align-items: center; overflow-x: auto; scrollbar-width: none; padding: 2px 0 14px; margin-bottom: 4px; }
.qchips::-webkit-scrollbar { display: none; }
.qchip { flex: none; display: inline-flex; align-items: center; gap: 7px; padding: .55em 1.05em; border-radius: 999px; border: 1px solid var(--line-2); background: transparent; color: var(--text-2); font: inherit; font-size: .86rem; white-space: nowrap; cursor: pointer; text-decoration: none; transition: border-color .15s, background .15s, color .15s; }
.qchip:hover { border-color: var(--text); color: var(--text); }
.qchip.on { background: var(--text); border-color: var(--text); color: var(--bg); }
.qchip-filters b { display: inline-grid; place-items: center; min-width: 18px; height: 18px; padding: 0 5px; border-radius: 9px; background: var(--coral); color: #fff; font-size: .7rem; font-weight: 600; }
.qchips-sep { flex: none; width: 1px; height: 22px; background: var(--line-2); margin: 0 4px; }
.has-map .results-bar .filter-toggle { display: none; }

.lmap { display: none; }
.lmap-canvas { width: 100%; height: 100%; background: #dde5ea; }
.lmap-fab, .lmap-list { display: none; }

/* price pins */
.lpin-wrap { background: none; border: 0; }
.lpin { position: absolute; left: 0; top: 0; transform: translate(-50%, -50%); display: inline-block; padding: 6px 11px; border-radius: 999px; background: #fff; color: #191d20; font-family: var(--font); font-size: 13px; font-weight: 600; line-height: 1.2; white-space: nowrap; box-shadow: 0 2px 10px rgba(0, 0, 0, .22), 0 0 0 1px rgba(0, 0, 0, .06); cursor: pointer; transition: transform .15s, background .15s, color .15s; }
.lpin:hover, .lpin.on { background: #191d20; color: #fff; transform: translate(-50%, -50%) scale(1.08); }
.lpin.seen:not(.on) { background: #e8edf1; color: #5b666e; }
.lpin-wrap.on-top { z-index: 9999 !important; }

/* pin popup = mini card */
.lpop .leaflet-popup-content-wrapper { padding: 0; border-radius: 16px; overflow: hidden; box-shadow: 0 10px 30px rgba(0, 0, 0, .3); }
.lpop .leaflet-popup-content { margin: 0; width: 260px !important; font-family: var(--font); }
.lpop .leaflet-popup-tip-container { display: none; }
.lpop a.leaflet-popup-close-button { top: 8px; right: 8px; width: 28px; height: 28px; line-height: 26px; border-radius: 50%; background: rgba(255, 255, 255, .92); color: #191d20; font-size: 18px; z-index: 2; }
.lpop-card { display: block; color: #191d20; text-decoration: none; }
.lpop-card img { display: block; width: 100%; height: 150px; object-fit: cover; background: #ddd; }
.lpop-body { padding: 12px 14px 14px; }
.lpop-body b { display: block; font-size: 1rem; font-weight: 500; line-height: 1.25; }
.lpop-body span { display: block; color: #69757e; font-size: .82rem; margin-top: 2px; }
.lpop-body em { display: block; font-style: normal; font-weight: 600; font-size: .95rem; margin-top: 8px; }
.lpop-body small { color: #40494f; font-size: .8rem; }
.lpop-cta { display: block; width: calc(100% - 28px); margin: 0 14px 14px; padding: .75em; border: 0; border-radius: 999px; background: var(--coral); color: #fff; font: inherit; font-size: .78rem; font-weight: 500; letter-spacing: .14em; text-transform: uppercase; cursor: pointer; }
.lpop-cta:hover { background: var(--coral-dk); }
.leaflet-container { font-family: var(--font); }
.leaflet-control-attribution { font-size: 10px !important; }
.leaflet-bar a { border-radius: 10px !important; }
.pcard.map-hover { border-color: var(--coral); }

@media (min-width: 1101px) {
  .listing.has-map { max-width: none; grid-template-columns: minmax(0, 1fr) minmax(400px, 41%); gap: 28px; padding-top: 24px; }
  .has-map .lmap { display: block; position: sticky; top: calc(var(--header-h) + 16px); height: calc(100vh - var(--header-h) - 32px); border-radius: 20px; overflow: hidden; border: 1px solid var(--line); }
  .has-map .grid-results { grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 24px 18px; }
  .has-map .inline-cta { grid-column: 1 / -1; }
}

/* filters become a slide-in drawer whenever the map layout is on */
.has-map .filters { position: fixed; top: 0; left: 0; bottom: 0; z-index: 95; width: min(380px, 100%); max-height: none; border-radius: 0 20px 20px 0; padding: 22px; display: block; transform: translateX(-105%); visibility: hidden; transition: transform .25s ease, visibility .25s; box-shadow: none; }
.has-map .filters.open { transform: none; visibility: visible; box-shadow: 0 0 0 100vmax rgba(0, 0, 0, .55); }
.has-map .filter-close { display: inline-flex !important; }

@media (max-width: 1100px) {
  .listing.has-map { grid-template-columns: minmax(0, 1fr); }
  .lmap-fab { display: inline-flex; align-items: center; gap: 8px; position: fixed; left: 50%; bottom: 24px; transform: translateX(-50%); z-index: 70; padding: .85em 1.4em; border: 0; border-radius: 999px; background: #191d20; color: #fff; font: inherit; font-size: .92rem; font-weight: 500; box-shadow: 0 8px 24px rgba(0, 0, 0, .35); cursor: pointer; }
  .has-map .lmap.open { display: block; position: fixed; inset: var(--header-h) 0 0 0; z-index: 80; }
  .lmap.open .lmap-list { display: inline-flex; align-items: center; gap: 8px; position: absolute; left: 50%; bottom: 24px; transform: translateX(-50%); z-index: 1000; padding: .85em 1.4em; border: 0; border-radius: 999px; background: #191d20; color: #fff; font: inherit; font-size: .92rem; font-weight: 500; box-shadow: 0 8px 24px rgba(0, 0, 0, .35); cursor: pointer; }
}
@media (max-width: 900px) {
  .lmap-fab { bottom: calc(76px + env(safe-area-inset-bottom, 0px)); }
  .has-map .lmap.open { bottom: calc(60px + env(safe-area-inset-bottom, 0px)); }
  .lmap.open .lmap-list { bottom: 18px; }
}
@media (max-width: 600px) { .has-map .filters { width: 100%; border-radius: 0; } }

/* ===============================================================
   PROPZO LIGHT THEME (Housiey style) — default.
   Active when Admin → Settings → Website theme = Light (body has no .site-dark).
   White pages, soft blue-grey sections, navy headings, teal actions,
   light hero and light enquiry popup; navy footer.
   =============================================================== */
body:not(.site-dark) {
  --navy: #1c3d5a; --navy-2: #2b5577; --sky: #eef5fa; --sky-2: #e3eef6;
  --bg-2: #f5f8fb; --surface: #eef3f7; --surface-2: #e1e9f0; --line: #e1e8ee; --line-2: #c9d5df;
  --text: #1b2733; --text-2: #46535f; --muted: #6c7884; --strong: #0f2233;
}
body:not(.site-dark) { --heading: var(--navy); }

/* hero: light sky gradient, faded skyline, navy text */
body:not(.site-dark) .hero, body.page-home:not(.site-dark) .site-header:not(.scrolled):not(:has(.main-nav.open)) {
  --bg: #ffffff; --bg-2: #f5f8fb; --surface: #eef3f7; --surface-2: #e1e9f0; --input: #fff; --line: #e1e8ee; --line-2: #c9d5df;
  --text: #1b2733; --text-2: #46535f; --muted: #6c7884; --strong: #0f2233; --coral-hi: #0a6b61; --hover: rgba(28, 61, 90, .06); --header-bg: rgba(255,255,255,.94);
  color-scheme: light; color: var(--text); --heading: var(--navy);
}
body:not(.site-dark) .hero { background: linear-gradient(180deg, #e6f2f8 0%, #f3f9fb 55%, #ffffff 100%); }
body:not(.site-dark) .hero-bg { opacity: .38; filter: saturate(.85); -webkit-mask-image: linear-gradient(180deg, transparent 0%, #000 45%, #000 70%, transparent 100%); mask-image: linear-gradient(180deg, transparent 0%, #000 45%, #000 70%, transparent 100%); }
body:not(.site-dark) .hero::after { background: radial-gradient(60% 55% at 50% 45%, rgba(255,255,255,.85), rgba(255,255,255,0) 70%); }
body:not(.site-dark) .hero h1 { color: var(--navy); }
body:not(.site-dark) .hero .lede { color: #4b5a68; }
body:not(.site-dark) .hero-field { box-shadow: 0 14px 40px rgba(28, 61, 90, .14); border: 1px solid #dbe5ec; }
body:not(.site-dark) .hero-field:focus-within { box-shadow: 0 0 0 3px rgba(14, 140, 126, .25), 0 14px 40px rgba(28, 61, 90, .14); }
body:not(.site-dark) .hero-chips-label { color: var(--navy); }
body:not(.site-dark) .hero-chips a { background: #fff; border-color: #d5e1ea; color: var(--navy); }
body:not(.site-dark) .hero-chips a:hover { border-color: var(--coral); color: var(--coral-hi); }
body:not(.site-dark) .hero-promise { background: #fff; color: #3d4b58; border-color: #d5e1ea; box-shadow: 0 6px 18px rgba(28, 61, 90, .06); }
body:not(.site-dark) .hero-promise b { color: var(--navy); }

/* home header over the light hero */
body.page-home:not(.site-dark) .site-header:not(.scrolled) .main-nav a, body.page-home:not(.site-dark) .site-header:not(.scrolled) .brand-name, body.page-home:not(.site-dark) .site-header:not(.scrolled) .brand-mark { color: var(--navy); }
body:not(.site-dark) .site-header .brand-mark, body:not(.site-dark) .site-header .brand-name { color: var(--navy); }

/* track-record band: soft sky panel instead of dark */
body:not(.site-dark) .stats-band {
  --bg: #eef5fa; --bg-2: #e3eef6; --surface: #ffffff; --surface-2: #e1e9f0; --line: #d5e1ea; --line-2: #c3d1dc;
  --text: #1b2733; --text-2: #46535f; --muted: #6c7884; --strong: #1c3d5a; --coral-hi: #0a6b61; --heading: var(--navy);
  color-scheme: light; color: var(--text); background: var(--bg);
}

/* footer: navy */
body:not(.site-dark) .site-footer { background: #10263a; --bg: #10263a; --bg-2: #15304a; --surface: #193753; --line: #24425f; --line-2: #2e5172; --text: #e6eef5; --text-2: #b8c8d6; --muted: #8fa5b8; }
body:not(.site-dark) .site-footer .brand-mark, body:not(.site-dark) .site-footer .brand-name { color: #fff; }
body:not(.site-dark) .site-footer h4 { color: #5fd4c2; }
body:not(.site-dark) .site-footer .brand-name em { color: #5fd4c2; }

/* light enquiry popup */
body:not(.site-dark) .bx-modal .modal-backdrop { background: rgba(16, 38, 58, .55); }
body:not(.site-dark) .bx-card { background: #eaf3f8; color: var(--text); box-shadow: 0 30px 90px rgba(16, 38, 58, .28); }
body:not(.site-dark) .bx-card::before { background: linear-gradient(100deg, rgba(16, 38, 58, .62), rgba(16, 38, 58, .3) 55%, rgba(16, 38, 58, .55)); }
body:not(.site-dark) .bx-panel {
  background: #fff; color: #1b2733; box-shadow: 0 20px 50px rgba(16, 38, 58, .18);
  --bg: #ffffff; --bg-2: #f5f8fb; --surface: #eef3f7; --surface-2: #e1e9f0; --input: #fff; --line: #e1e8ee; --line-2: #c9d5df;
  --text: #1b2733; --text-2: #46535f; --muted: #6c7884; --strong: #0f2233; --coral-hi: #0a6b61; color-scheme: light; --heading: var(--navy);
}
body:not(.site-dark) .bx-panel .bx-x { background: #e7eef3; box-shadow: 0 0 0 8px #eaf3f8; }
body:not(.site-dark) .bx-photo .bx-panel .bx-x { box-shadow: none; }
body:not(.site-dark) .bx-x svg, body:not(.site-dark) .bx-back svg { stroke: var(--navy); }
body:not(.site-dark) .bx-brand, body:not(.site-dark) .bx-brand * { color: var(--navy); }
body:not(.site-dark) .bx-brand em { color: var(--coral); }
body:not(.site-dark) .bx-step h3, body:not(.site-dark) .bx-num, body:not(.site-dark) .bx-resend b, body:not(.site-dark) .bx-when, body:not(.site-dark) .bx-manage a { color: var(--navy); }
body:not(.site-dark) .bx-sub, body:not(.site-dark) .bx-terms, body:not(.site-dark) .bx-resend, body:not(.site-dark) .bx-manage, body:not(.site-dark) .bx-busy { color: #66737f; }
body:not(.site-dark) .bx-terms a { color: var(--navy); }
body:not(.site-dark) .bx-ico { stroke: var(--navy); }
body:not(.site-dark) .bx-cc { color: var(--navy); border-bottom-color: #c3cfd9; }
body:not(.site-dark) .bx-cc svg { stroke: var(--navy); }
body:not(.site-dark) .bx-phone input, body:not(.site-dark) .bx-otp input { color: var(--navy); border-bottom-color: #c3cfd9; }
body:not(.site-dark) .bx-phone input::placeholder { color: #98a5b0; }
body:not(.site-dark) .bx-btn:disabled { background: #e3eaf0; color: #93a1ad; }
body:not(.site-dark) .bx-textarea { background: #fff; border-color: #d5e0e8; color: var(--text); }
body:not(.site-dark) .bx-spin { border-color: #dbe5ec; border-top-color: var(--coral); }
body:not(.site-dark) .bx-mode { color: #5b6976; }
body:not(.site-dark) .bx-note { background: #eef5fa; color: #46535f; }

/* ===============================================================
   Market data (registered sales, trends, appreciation, Find your area)
   =============================================================== */
.mkt { margin-top: 48px; margin-bottom: 8px; }
.mkt.psec { margin: 0; }
.mkt h2 .sq { display: inline-block; width: 8px; height: 8px; background: var(--coral); margin-left: 4px; vertical-align: super; }
.mkt-h2 { font-size: 1.5rem; margin: 36px 0 14px; }
.mkt h3 { font-size: 1.08rem; font-weight: 600; margin: 0 0 12px; }
.mkt-stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 12px; margin: 18px 0; }
.mkt-stats > div { background: var(--bg-2); border: 1px solid var(--line); border-radius: 16px; padding: 14px 16px; }
.mkt-stats span { display: block; font-size: .8rem; color: var(--muted); line-height: 1.3; }
.mkt-stats b { display: block; font-size: 1.45rem; font-weight: 600; color: var(--strong); margin-top: 4px; letter-spacing: -.01em; }
.mkt-stats b small { font-size: .8rem; font-weight: 400; color: var(--muted); margin-left: 2px; }
.mkt-stats b.sm { font-size: 1rem; font-weight: 500; }
.up { color: var(--ok) !important; } .down { color: var(--danger) !important; }
.mkt-chart { background: var(--bg); border: 1px solid var(--line); border-radius: 18px; padding: 14px 14px 6px; margin: 6px 0 18px; }
.mkt-legend { display: flex; flex-wrap: wrap; gap: 16px; font-size: .8rem; color: var(--muted); margin: 0 4px 6px; }
.mkt-legend span::before { content: ''; display: inline-block; width: 16px; height: 3px; border-radius: 2px; background: var(--coral); vertical-align: middle; margin-right: 6px; }
.mkt-legend .lg2::before { background: none; border-top: 2px dashed #8aa0b2; height: 0; }
.mchart { padding: 8px 8px 30px 62px; }
.mc-plot { position: relative; height: 240px; }
.mc-plot svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.mc-grid { stroke: var(--line); stroke-width: 1; vector-effect: non-scaling-stroke; }
.mc-yl { position: absolute; right: calc(100% + 10px); transform: translateY(-50%); font-size: .75rem; color: var(--muted); white-space: nowrap; }
.mc-xl { position: absolute; top: calc(100% + 8px); transform: translateX(-50%); font-size: .75rem; color: var(--muted); white-space: nowrap; }
.mc-area { fill: var(--coral-soft); stroke: none; }
.mc-line { fill: none; stroke: var(--coral); stroke-width: 2.6; stroke-linejoin: round; stroke-linecap: round; vector-effect: non-scaling-stroke; }
.mc-line2 { fill: none; stroke: #8aa0b2; stroke-width: 2; stroke-dasharray: 5 5; vector-effect: non-scaling-stroke; }
.mc-line-dot, .mc-line2-dot { position: absolute; width: 10px; height: 10px; margin: -5px 0 0 -5px; border-radius: 50%; background: var(--bg); border: 2px solid var(--coral); }
.mc-line2-dot { width: 7px; height: 7px; margin: -3.5px 0 0 -3.5px; background: #8aa0b2; border: 0; }
@media (max-width: 560px) { .mchart { padding-left: 48px; } .mc-plot { height: 180px; } .mc-xl:nth-of-type(even) { display: none; } }
.mkt-callout { background: var(--coral-soft); border-left: 3px solid var(--coral); border-radius: 0 12px 12px 0; padding: 12px 16px; margin: 0 0 18px; color: var(--text); }
.mkt-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 14px; }
.mkt-card .mkt-table th { white-space: normal; letter-spacing: .03em; }
.mkt-card .mkt-table td { white-space: nowrap; padding: 8px 6px; }
.mkt-card { border: 1px solid var(--line); border-radius: 18px; padding: 18px; background: var(--bg); }
.mkt-sub { font-size: .78rem; text-transform: uppercase; letter-spacing: .1em; color: var(--muted); margin: 12px 0 6px; }
.mkt-card .mkt-sub:first-of-type { margin-top: 0; }
.bar { display: grid; grid-template-columns: minmax(80px, 38%) 1fr 40px; align-items: center; gap: 8px; font-size: .88rem; margin: 5px 0; }
.bar span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: var(--text-2); }
.bar i { display: block; height: 8px; border-radius: 4px; background: var(--surface); position: relative; overflow: hidden; }
.bar i::after { content: ''; position: absolute; inset: 0 auto 0 0; width: var(--w); background: var(--coral); border-radius: 4px; }
.bar em { font-style: normal; text-align: right; color: var(--muted); font-size: .82rem; }
.appr-row { display: grid; grid-template-columns: 1fr auto; gap: 2px 10px; padding: 10px 0; border-top: 1px solid var(--line); }
.appr-row span { color: var(--muted); font-size: .9rem; }
.appr-row b { font-size: 1.3rem; color: var(--strong); font-weight: 600; text-align: right; }
.appr-row small { grid-column: 2; text-align: right; color: var(--muted); font-size: .8rem; }
.mkt-table { width: 100%; border-collapse: collapse; font-size: .9rem; }
.mkt-table th { text-align: left; font-weight: 500; color: var(--muted); font-size: .78rem; text-transform: uppercase; letter-spacing: .06em; padding: 8px 10px; border-bottom: 1px solid var(--line); white-space: nowrap; }
.mkt-table td { padding: 10px; border-bottom: 1px solid var(--line); vertical-align: top; }
.mkt-table tr:last-child td { border-bottom: 0; }
.mkt-big { background: var(--bg); border: 1px solid var(--line); border-radius: 16px; overflow: hidden; }
.mkt-big tbody tr:hover { background: var(--bg-2); }
.d-block { display: block; } .nowrap { white-space: nowrap; }
.mkt-recent { margin-top: 22px; }
.mkt-empty { border: 1px dashed var(--line-2); border-radius: 16px; padding: 16px 18px; background: var(--bg-2); margin: 10px 0; }
.mkt-empty p { margin: 0 0 10px; }
.mkt-foot { margin-top: 20px; }
.mkt-foot > div { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.mkt-foot .small { margin-top: 12px; }
.mkt-head .link-chips a.on { background: var(--coral); border-color: var(--coral); color: #fff; }
.mkt-gainers { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 12px; }
.mkt-gainers a { border: 1px solid var(--line); border-radius: 16px; padding: 14px 16px; background: var(--bg); color: var(--text); display: grid; gap: 2px; }
.mkt-gainers a:hover { border-color: var(--coral); }
.mkt-gainers span { font-size: 1.3rem; font-weight: 600; }
.mkt-gainers small { color: var(--muted); }
.mkt-sort { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; font-size: .88rem; color: var(--muted); }
.mkt-sort a { padding: 5px 12px; border-radius: 999px; border: 1px solid var(--line); color: var(--text-2); }
.mkt-sort a.on { background: var(--strong); border-color: var(--strong); color: var(--bg); }
.mkt-band { display: flex; flex-wrap: wrap; gap: 20px; justify-content: space-between; align-items: center; margin: 40px 0 10px; padding: 26px 28px; border-radius: 22px; background: linear-gradient(120deg, var(--coral-soft), var(--bg-2)); border: 1px solid var(--line); }
.mkt-band h3 { margin: 0 0 6px; font-size: 1.3rem; }
.mkt-band p { margin: 0; color: var(--text-2); max-width: 620px; }
.mkt-band-cta { display: flex; flex-wrap: wrap; gap: 10px; }
/* home teaser */
.mkt-home-grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: 40px; align-items: center; }
.mkt-ticks { list-style: none; padding: 0; margin: 0 0 24px; display: grid; gap: 10px; }
.mkt-ticks li { padding-left: 28px; position: relative; color: var(--text-2); }
.mkt-ticks li::before { content: '✓'; position: absolute; left: 0; top: 0; width: 20px; height: 20px; border-radius: 50%; background: var(--coral-soft); color: var(--coral); font-size: .75rem; display: grid; place-items: center; font-weight: 700; }
.mkt-home-cta { display: flex; flex-wrap: wrap; gap: 10px; }
.mkt-home-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.mkt-mini { border: 1px solid var(--line); border-radius: 20px; padding: 18px; background: var(--bg); color: var(--text); display: grid; gap: 4px; box-shadow: var(--shadow); }
.mkt-mini span { color: var(--muted); font-size: .9rem; }
.mkt-mini b { font-size: 1.6rem; font-weight: 600; color: var(--strong); }
.mkt-mini b small { font-size: .8rem; color: var(--muted); font-weight: 400; }
.mkt-mini em { font-style: normal; font-weight: 600; font-size: .9rem; }
.mkt-mini-cta { grid-column: 1 / -1; gap: 10px; justify-items: start; }
.mkt-mini-cta b { font-size: 1.25rem; }
/* Find your area */
.finder-form { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; align-items: end; background: var(--bg); border: 1px solid var(--line); border-radius: 22px; padding: 22px; box-shadow: var(--shadow); }
.finder-form label > span { display: block; font-size: .82rem; color: var(--muted); margin-bottom: 6px; }
.finder-form select { width: 100%; height: 48px; border: 1px solid var(--line-2); border-radius: 12px; padding: 0 12px; background: var(--input); }
.finder-pri { grid-column: 1 / -1; border: 0; padding: 0; margin: 4px 0 0; display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.finder-pri legend { font-size: .82rem; color: var(--muted); margin-bottom: 8px; padding: 0; }
.chip-check input { position: absolute; opacity: 0; }
.chip-check span { display: inline-block; padding: 8px 16px; border: 1px solid var(--line-2); border-radius: 999px; cursor: pointer; font-size: .92rem; }
.chip-check input:checked + span { background: var(--coral); border-color: var(--coral); color: #fff; }
.chip-check input:focus-visible + span { outline: 2px solid var(--coral); outline-offset: 2px; }
.finder-form > .btn { grid-column: 1 / -1; justify-self: start; }
.match { display: grid; grid-template-columns: 84px 1fr auto; gap: 18px; align-items: center; border: 1px solid var(--line); border-radius: 20px; padding: 16px 18px; margin: 12px 0; background: var(--bg); }
.match-score { width: 84px; height: 84px; border-radius: 50%; display: grid; place-content: center; text-align: center; background: var(--coral-soft); }
.match-score b { font-size: 1.45rem; color: var(--coral-hi); line-height: 1; }
.match-score span { font-size: .72rem; color: var(--muted); }
.match h3 { margin: 0 0 6px; font-size: 1.2rem; }
.match-rank { display: inline-grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; background: var(--strong); color: var(--bg); font-size: .78rem; margin-right: 8px; vertical-align: 2px; }
.match-facts { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px 18px; font-size: .92rem; color: var(--text-2); }
.match-facts small { color: var(--muted); }
.match-cta { display: flex; flex-direction: column; gap: 8px; }
@media (max-width: 900px) {
  .mkt-home-grid { grid-template-columns: 1fr; gap: 24px; }
  .finder-form { grid-template-columns: 1fr 1fr; padding: 16px; }
  .match { grid-template-columns: 64px 1fr; }
  .match-score { width: 64px; height: 64px; } .match-score b { font-size: 1.15rem; }
  .match-cta { grid-column: 1 / -1; flex-direction: row; }
}
@media (max-width: 560px) {
  .finder-form { grid-template-columns: 1fr; }
  .mkt-stats { grid-template-columns: 1fr 1fr; }
  .mkt-stats b { font-size: 1.2rem; }
  .mkt-home-cards { grid-template-columns: 1fr 1fr; gap: 10px; }
  .mkt-mini { padding: 14px; } .mkt-mini b { font-size: 1.3rem; }
  .mkt-band { padding: 20px; }

}
.mkt .section-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 12px; margin-top: 36px; } .mkt .section-head .mkt-h2 { margin: 0; }
.mkt-page { margin-top: 0; }
.promise-banner .promise-icon { color: #fff; }

/* ===============================================================
   Marketplace & guides (Bayut-style): buy/rent, listings, agents,
   broker portal, transactions, estimate, commute, schools, loans
   =============================================================== */
.mk-head .lede { max-width: 760px; }
.mk-tabs, .hero-tabs { display: flex; flex-wrap: wrap; gap: 6px; margin: 0 0 16px; }
.mk-tabs a, .hero-tabs a { padding: 7px 16px; border-radius: 999px; border: 1px solid var(--line-2); color: var(--text-2); font-size: .92rem; background: var(--bg); }
.mk-tabs a.on, .hero-tabs a.on { background: var(--strong); border-color: var(--strong); color: var(--bg); }
.hero-tabs { justify-content: center; margin: 0 0 14px; }
body:not(.site-dark) .hero-tabs a { background: rgba(255,255,255,.85); }
.site-dark .hero-tabs a { background: rgba(0,0,0,.25); }
.mk-bar { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; margin-top: 18px; padding: 12px; background: var(--bg); border: 1px solid var(--line); border-radius: 18px; box-shadow: var(--shadow); }
.mk-bar input:not([type=checkbox]), .mk-bar select { height: 44px; border: 1px solid var(--line-2); border-radius: 12px; padding: 0 12px; background: var(--input); min-width: 0; flex: 1 1 150px; }
.mk-bar input[name=q], .mk-bar .cm-place { flex: 2 1 220px; }
.mk-bar .cm-place input { width: 100%; }
.mk-bar .btn { height: 44px; flex: 0 0 auto; }
.mk-bar .form-error { flex-basis: 100%; margin: 0; }
.mk-check, .lf-check { display: inline-flex; gap: 8px; align-items: center; font-size: .92rem; color: var(--text-2); white-space: nowrap; }
.mk-list { display: grid; grid-template-columns: minmax(0, 1fr); gap: 28px; padding-top: 24px; padding-bottom: 64px; align-items: start; }
@media (min-width: 1101px) { .mk-list.has-map { max-width: none; grid-template-columns: minmax(0, 1fr) minmax(380px, 38%); } }
.mk-resbar { display: flex; flex-wrap: wrap; gap: 12px 18px; align-items: center; justify-content: space-between; margin: 0 0 16px; }
.mk-sort { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; font-size: .88rem; color: var(--muted); }
.mk-sort a { padding: 4px 12px; border-radius: 999px; border: 1px solid var(--line); color: var(--text-2); }
.mk-sort a.on { background: var(--strong); border-color: var(--strong); color: var(--bg); }
.unit-switch { display: inline-flex; border: 1px solid var(--line-2); border-radius: 999px; overflow: hidden; font-size: .8rem; }
.unit-switch a { padding: 4px 10px; color: var(--text-2); }
.unit-switch a.on { background: var(--coral); color: #fff; }
.mk-cta-row { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; margin-top: 16px; }
.mk-empty-box { margin: 10px 0 24px; }
/* tags & badges */
.tg { display: inline-flex; align-items: center; gap: 4px; padding: 3px 10px; border-radius: 999px; font-size: .74rem; font-weight: 600; letter-spacing: .02em; background: var(--surface); color: var(--text-2); font-style: normal; }
.tg-ok { background: rgba(31,138,76,.12); color: var(--ok); }
.tg-feat { background: var(--coral); color: #fff; }
.vb { display: inline-grid; place-items: center; width: 17px; height: 17px; border-radius: 50%; background: var(--coral); color: #fff; font-size: .62rem; font-style: normal; vertical-align: 2px; }
/* listing cards */
.lgrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 20px; }
.lcard { display: flex; flex-direction: column; border: 1px solid var(--line); border-radius: 18px; overflow: hidden; background: var(--bg); transition: box-shadow .2s, transform .2s; }
.lcard:hover { box-shadow: var(--shadow); transform: translateY(-2px); }
.lcard.is-featured { border-color: var(--coral); }
.lcard-img { position: relative; display: block; aspect-ratio: 4 / 3; background: var(--surface); }
.lcard-img img { width: 100%; height: 100%; object-fit: cover; }
.lcard-tags { position: absolute; left: 10px; top: 10px; display: flex; gap: 6px; flex-wrap: wrap; }
.lcard-tags .tg { background: rgba(255,255,255,.94); }
.lcard-tags .tg-feat { background: var(--coral); }
.lcard-body { padding: 14px 16px 16px; display: flex; flex-direction: column; gap: 4px; flex: 1; }
.lcard-price { font-size: 1.25rem; font-weight: 600; color: var(--strong); margin: 0; }
.lcard-price small { font-size: .78rem; font-weight: 400; color: var(--muted); }
.lcard-title { font-size: .98rem; font-weight: 500; margin: 0; line-height: 1.35; }
.lcard-title a { color: var(--text); }
.lcard-loc { font-size: .86rem; color: var(--muted); margin: 0; }
.lcard-facts { list-style: none; padding: 0; margin: 6px 0 0; display: flex; flex-wrap: wrap; gap: 6px; }
.lcard-facts li { font-size: .78rem; padding: 3px 9px; background: var(--surface); border-radius: 8px; color: var(--text-2); }
.lcard-foot { margin-top: auto; padding-top: 12px; display: flex; justify-content: space-between; align-items: center; gap: 8px; }
.lcard-by { font-size: .82rem; color: var(--muted); }
.cm-wrap { position: relative; }
.cm-time { position: absolute; z-index: 3; right: 10px; top: 10px; background: var(--strong); color: var(--bg); font-size: .76rem; font-weight: 600; padding: 4px 10px; border-radius: 999px; }
.lgrid .cm-time { top: auto; bottom: auto; top: 10px; }
.cm-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 22px 18px; }
.lpin.lpin-home { background: var(--strong) !important; color: #fff !important; }
/* property detail */
.mk-status { margin-top: 16px; }
.prop-head { padding-top: 18px; }
.prop-gallery { position: relative; display: grid; gap: 8px; grid-template-columns: 1fr; border-radius: 22px; overflow: hidden; margin-top: 12px; }
.prop-gallery.multi { grid-template-columns: 2fr 1fr 1fr; grid-template-rows: 200px 200px; }
.prop-gallery a, .prop-gallery .pg-none { display: block; background: var(--surface); }
.prop-gallery img { width: 100%; height: 100%; object-fit: cover; max-height: 480px; }
.prop-gallery.multi .pg-0 { grid-row: span 2; }
.prop-gallery:not(.multi) img { aspect-ratio: 16 / 7; }
.pg-more { position: absolute; right: 14px; bottom: 14px; background: rgba(0,0,0,.65); color: #fff; padding: 6px 12px; border-radius: 999px; font-size: .85rem; }
.prop-layout { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 36px; padding-top: 24px; padding-bottom: 56px; align-items: start; }
.prop-title h1 { font-size: clamp(1.5rem, 2.6vw, 2.1rem); margin: 4px 0 6px; }
.prop-price { font-size: 1.9rem; font-weight: 600; color: var(--strong); margin: 0; }
.prop-price small { font-size: .9rem; font-weight: 400; color: var(--muted); }
.prop-badges { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin: 12px 0 8px; }
.prop-facts { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 0; margin: 0; border: 1px solid var(--line); border-radius: 16px; overflow: hidden; }
.prop-facts div { padding: 12px 16px; border-bottom: 1px solid var(--line); border-right: 1px solid var(--line); }
.prop-facts dt { font-size: .78rem; color: var(--muted); }
.prop-facts dd { margin: 2px 0 0; font-weight: 500; color: var(--strong); }
.prop-amen { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.prop-amen li { padding: 6px 12px; border: 1px solid var(--line); border-radius: 999px; font-size: .88rem; }
.check-box { border: 1px solid var(--line); border-radius: 18px; padding: 18px 20px; background: var(--bg-2); }
.prop-side { position: sticky; top: calc(var(--header-h) + 16px); display: grid; gap: 14px; }
.prop-card { border: 1px solid var(--line); border-radius: 20px; padding: 20px; background: var(--bg); box-shadow: var(--shadow); display: grid; gap: 10px; }
.prop-card .prop-price { font-size: 1.5rem; }
.prop-tools a { color: var(--text); font-size: .92rem; }
.agent-mini { display: flex; gap: 12px; align-items: center; color: var(--text); }
.agent-mini small { display: block; color: var(--muted); font-size: .8rem; }
.av { display: inline-grid; place-items: center; width: 46px; height: 46px; border-radius: 50%; overflow: hidden; background: var(--coral-soft); color: var(--coral-hi); font-weight: 600; flex: none; }
.av img { width: 100%; height: 100%; object-fit: cover; }
.av-lg { width: 72px; height: 72px; font-size: 1.5rem; }
.av-xl { width: 112px; height: 112px; font-size: 2.4rem; }
.near-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 0; }
.near-list li { display: flex; justify-content: space-between; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--line); }
.near-list span { color: var(--muted); font-size: .88rem; white-space: nowrap; }
/* agents */
.agrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 18px; }
.acard { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 6px; padding: 24px 18px; border: 1px solid var(--line); border-radius: 20px; background: var(--bg); color: var(--text); }
.acard:hover { border-color: var(--coral); }
.acard small { color: var(--muted); }
.acard-stats { display: flex; gap: 14px; font-size: .84rem; color: var(--text-2); margin-top: 4px; }
.agent-top { display: flex; gap: 24px; align-items: center; flex-wrap: wrap; }
.agent-top h1 { margin: 0; }
.agent-about { max-width: 820px; margin-bottom: 18px; }
/* buildings / schools cards */
.bgrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 14px; }
.bcard { display: grid; gap: 3px; padding: 16px 18px; border: 1px solid var(--line); border-radius: 16px; background: var(--bg); color: var(--text); }
.bcard:hover { border-color: var(--coral); }
.bcard small { color: var(--muted); }
.bcard span { font-size: .84rem; color: var(--coral-hi); }
/* listing form (owners & brokers) */
.lform { display: grid; gap: 18px; max-width: 920px; }
.lform fieldset { border: 1px solid var(--line); border-radius: 18px; padding: 18px 20px 20px; margin: 0; display: grid; gap: 12px; background: var(--bg); }
.lform legend { font-weight: 600; color: var(--strong); padding: 0 6px; }
.lform label, .bk-form label { display: grid; gap: 6px; font-size: .86rem; color: var(--text-2); }
.lform input:not([type=checkbox]):not([type=radio]):not([type=file]), .lform select, .lform textarea, .bk-form input, .bk-form select { border: 1px solid var(--line-2); border-radius: 12px; padding: 10px 12px; background: var(--input); font-size: .95rem; color: var(--text); width: 100%; }
.lform select[multiple], .bk-form select[multiple] { padding: 6px; }
.lf-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 12px; }
.lf-unit { display: flex; gap: 6px; }
.lf-unit select { width: auto !important; flex: 0 0 auto; }
.lf-seg { display: inline-flex; border: 1px solid var(--line-2); border-radius: 999px; padding: 4px; gap: 4px; width: max-content; }
.lf-seg input { position: absolute; opacity: 0; }
.lf-seg span { display: inline-block; padding: 8px 22px; border-radius: 999px; cursor: pointer; }
.lf-seg input:checked + span { background: var(--strong); color: var(--bg); }
.lf-photos { display: flex; flex-wrap: wrap; gap: 10px; }
.lf-photos label { width: 110px; font-size: .78rem; }
.lf-photos img { width: 110px; height: 80px; object-fit: cover; border-radius: 10px; }
.ferr { color: var(--danger); font-size: .8rem; }
[data-show][hidden] { display: none !important; }
/* my listings rows */
.pp-start { max-width: 720px; display: grid; gap: 18px; }
.pp-steps { list-style: none; counter-reset: s; padding: 0; margin: 0; display: grid; gap: 12px; }
.pp-steps li { counter-increment: s; display: grid; grid-template-columns: 40px 1fr; gap: 2px 12px; }
.pp-steps li::before { content: counter(s); grid-row: span 2; width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; background: var(--coral); color: #fff; font-weight: 600; }
.pp-steps span { color: var(--muted); font-size: .9rem; }
.pp-mine { display: grid; gap: 10px; margin-bottom: 24px; }
.pp-row { display: grid; grid-template-columns: auto minmax(0, 2fr) 1fr auto auto auto; gap: 14px; align-items: center; padding: 12px 16px; border: 1px solid var(--line); border-radius: 14px; background: var(--bg); }
.pp-row:not(:has(.pp-thumb)) { grid-template-columns: minmax(0, 2fr) 1fr auto auto auto; }
.pp-thumb { width: 64px; height: 48px; object-fit: cover; border-radius: 8px; }
.pp-act { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; font-size: .88rem; }
.pp-act form { display: inline-flex; gap: 10px; }
.pp-act .danger { color: var(--danger); }
.st { font-size: .78rem; font-weight: 600; padding: 3px 10px; border-radius: 999px; background: var(--surface); white-space: nowrap; }
.st-active { background: rgba(31,138,76,.12); color: var(--ok); }
.st-pending { background: #fff4dc; color: #8a5a00; }
.st-rejected, .st-expired { background: rgba(200,55,45,.1); color: var(--danger); }
/* broker portal */
.bk-top { display: flex; flex-wrap: wrap; gap: 16px; justify-content: space-between; align-items: flex-end; }
.bk-top h1 { margin: 0; }
.bk-actions { display: flex; gap: 10px; flex-wrap: wrap; }
.bk-tabs { display: flex; flex-wrap: wrap; gap: 4px; margin-top: 18px; border-bottom: 1px solid var(--line); }
.bk-tabs a { padding: 10px 14px; color: var(--text-2); border-bottom: 2px solid transparent; margin-bottom: -1px; }
.bk-tabs a.on { color: var(--strong); border-bottom-color: var(--coral); font-weight: 500; }
.bk-form { display: grid; gap: 12px; text-align: left; }
.auth-card.auth-wide { max-width: 760px; }
.bk-st select { border: 1px solid var(--line-2); border-radius: 10px; padding: 6px 8px; background: var(--input); }
.plan-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 16px; margin-bottom: 16px; }
.plan { border: 1px solid var(--line); border-radius: 20px; padding: 22px; background: var(--bg); display: grid; gap: 10px; align-content: start; }
.plan.cur { border-color: var(--coral); box-shadow: 0 0 0 2px var(--coral-soft); }
.plan h3 { margin: 0; }
.plan-price { font-size: 1.6rem; font-weight: 600; color: var(--strong); margin: 0; }
.plan-price small { font-size: .8rem; color: var(--muted); font-weight: 400; }
.plan ul { padding-left: 18px; margin: 0; color: var(--text-2); font-size: .92rem; }
/* estimate */
.est-form { grid-template-columns: 2fr 2fr 1fr 1.4fr 1fr; }
.est-result { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: 20px; margin-top: 24px; align-items: start; }
.est-main { border: 1px solid var(--line); border-radius: 22px; padding: 24px; background: linear-gradient(140deg, var(--coral-soft), var(--bg) 60%); }
.est-value { font-size: clamp(2.2rem, 5vw, 3.2rem); font-weight: 600; color: var(--strong); margin: 0; line-height: 1.1; }
.est-range { color: var(--text-2); margin: 6px 0 16px; }
.est-facts { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.est-facts li { background: var(--bg); border: 1px solid var(--line); border-radius: 12px; padding: 10px 12px; }
.est-facts span { display: block; font-size: .76rem; color: var(--muted); }
.conf-high { color: var(--ok); } .conf-medium { color: #b07a00; } .conf-low { color: var(--danger); }
/* home loans */
.loan-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); gap: 20px; align-items: start; }
.loan-inputs { display: grid; gap: 12px; }
.loan-inputs label { display: grid; gap: 6px; font-size: .86rem; color: var(--text-2); }
.loan-inputs input:not([type=checkbox]) { border: 1px solid var(--line-2); border-radius: 12px; padding: 10px 12px; background: var(--input); width: 100%; }
.loan-out { display: grid; gap: 14px; }
.loan-out .mkt-stats { margin: 0; }
/* floor plans */
.fpgrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 18px; }
.fpcard { border: 1px solid var(--line); border-radius: 18px; overflow: hidden; background: var(--bg); display: flex; flex-direction: column; }
.fp-img { display: grid; place-items: center; aspect-ratio: 4 / 3; background: var(--bg-2); border-bottom: 1px solid var(--line); }
.fp-img img { width: 100%; height: 100%; object-fit: contain; padding: 8px; }
.fp-none { text-align: center; color: var(--muted); }
.fp-none b { display: block; font-size: 1.3rem; color: var(--strong); }
.fp-body { padding: 14px 16px; display: grid; gap: 4px; }
.fp-price { font-weight: 600; color: var(--strong); }
/* nav */
.main-nav .nav-post { border: 1px solid var(--coral); color: var(--coral-hi) !important; }
.main-nav .nav-post i { font-style: normal; font-size: .7rem; background: var(--coral); color: #fff; border-radius: 6px; padding: 1px 5px; margin-left: 4px; }
.mkt-links { margin: 0 0 14px; }
@media (max-width: 1100px) {
  .prop-layout { grid-template-columns: minmax(0, 1fr); }
  .prop-side { position: static; }
  .est-form { grid-template-columns: 1fr 1fr; }
  .est-result, .loan-grid { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 1240px) and (min-width: 1101px) { .main-nav > a, .nav-item > a { padding: 8px 9px; font-size: .9rem; } }
@media (max-width: 700px) {
  .prop-gallery.multi { grid-template-columns: 1fr; grid-template-rows: auto; }
  .prop-gallery.multi a:not(.pg-0) { display: none; }
  .pp-row, .pp-row:not(:has(.pp-thumb)) { grid-template-columns: minmax(0, 1fr); gap: 6px; }
  .mk-bar { padding: 10px; }
  .mk-bar input:not([type=checkbox]), .mk-bar select { flex: 1 1 calc(50% - 10px); }
  .est-form { grid-template-columns: 1fr; }
  .est-facts { grid-template-columns: 1fr; }
  .lgrid { grid-template-columns: 1fr; }
  .hero-tabs { justify-content: flex-start; flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; }
  .hero-tabs a { flex-shrink: 0; }
}
/* keep the side gutter when a section is both .wrap and a padded section */
.wrap.section-sm, .wrap.section { padding-left: 24px; padding-right: 24px; }
@media (max-width: 600px) { .wrap.section-sm, .wrap.section { padding-left: 16px; padding-right: 16px; } }
@media (min-width: 721px) { .wrap.section-sm, .wrap.section { padding-left: var(--gut, 24px); padding-right: var(--gut, 24px); } }
/* form polish: text inputs in finder-style forms match the selects; loan form never overflows on phones */
.finder-form label { min-width: 0; }
.finder-form input:not([type=checkbox]):not([type=radio]) { width: 100%; height: 48px; border: 1px solid var(--line-2); border-radius: 12px; padding: 0 12px; background: var(--input); font: inherit; color: var(--text); }
.finder-form .lf-unit input { flex: 1 1 auto; min-width: 0; }
.finder-form .lf-unit select { height: 48px; }
.loan-grid, .loan-inputs, .loan-inputs label, .loan-out { min-width: 0; }
.loan-inputs .lf-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (max-width: 380px) { .loan-inputs .lf-grid { grid-template-columns: minmax(0, 1fr); } }
.finder-form label > span.lf-unit { display: flex; margin: 0; }
.mkt-stats > div { min-width: 0; }
@media (max-width: 560px) { .mkt-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); } .mkt-stats b { overflow-wrap: anywhere; } }
.loan-inputs .lf-check { display: flex !important; grid-template-columns: none; align-items: flex-start; gap: 10px; }
.loan-inputs .lf-check input { width: auto; margin-top: 3px; flex: none; }
.loan-out, .loan-inputs, .est-main { grid-template-columns: minmax(0, 1fr); }
.est-comps { overflow-x: auto; min-width: 0; }
.loan-inputs .lf-check { white-space: normal; flex-wrap: nowrap; } .loan-inputs .lf-check { display: block !important; padding-left: 26px; position: relative; } .loan-inputs .lf-check input { position: absolute; left: 0; top: 2px; margin: 0; }
label.lf-check { display: flex !important; flex-direction: row; align-items: center; gap: 8px; white-space: normal; } label.lf-check input { width: auto !important; height: auto !important; flex: none; }
/* sample data */
.demo-pill { display: inline-block; vertical-align: middle; font: 600 .62rem/1 var(--font); letter-spacing: .08em; text-transform: uppercase; padding: 4px 7px; border-radius: 6px; background: #fff3d6; color: #8a5a00; border: 1px solid #f0d9a0; }
h1 .demo-pill { font-size: .7rem; vertical-align: .5em; }
.tg.tg-demo { background: #fff3d6; color: #8a5a00; }
.demo-bar { position: fixed; left: 16px; bottom: 16px; z-index: 55; max-width: 360px; background: #fff8e6; color: #6b4a00; border: 1px solid #f0e0b5; border-radius: 12px; box-shadow: 0 8px 24px rgba(0,0,0,.08); font-size: .78rem; line-height: 1.4; padding: 8px 12px; }
@media (max-width: 720px) { .demo-bar { left: 10px; right: 10px; bottom: 64px; max-width: none; } }
.demo-x { border: 0; background: none; color: inherit; font-size: 1.1rem; line-height: 1; padding: 0 0 0 6px; cursor: pointer; vertical-align: middle; } .demo-bar[hidden] { display: none; }
/* builder project form */
.unit-rows { display: grid; gap: 8px; margin: 6px 0 10px; }
.unit-row { display: grid; grid-template-columns: 1.1fr 1.2fr 1fr 1fr 1fr; gap: 8px; }
.unit-row select, .unit-row input { width: 100%; min-width: 0; height: 42px; border: 1px solid var(--line-2); border-radius: 10px; padding: 0 10px; background: var(--input); font: inherit; }
.unit-head span { font-size: .78rem; color: var(--muted); }
.am-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 6px 14px; }
@media (max-width: 640px) { .unit-row { grid-template-columns: 1fr 1fr; } .unit-head { display: none; } }
/* partner signup: account type */
.acct-type{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin:4px 0 14px}
.acct-type label{border:1.5px solid var(--line,#dde3e8);border-radius:12px;padding:12px 14px;cursor:pointer;display:flex;flex-direction:column;gap:2px;font-weight:400}
.acct-type label.on{border-color:var(--coral);background:rgba(15,118,110,.06)}
.acct-type input{position:absolute;opacity:0;pointer-events:none}
.acct-type small{color:var(--muted,#667085);font-size:.82rem}
.bk-form .req-b{display:none;font-style:normal}.bk-form.is-builder .req-b{display:inline}.bk-form.is-builder .broker-only{display:none}
@media(max-width:520px){.acct-type{grid-template-columns:1fr}}
.listed-by .av{width:56px;height:56px;border-radius:50%;display:grid;place-items:center;background:var(--coral);color:#fff;font-weight:600;font-size:1.3rem;flex:none}
.listed-by small{font-size:.74rem;text-transform:uppercase;letter-spacing:.06em;color:var(--muted)}
.listed-by b a{color:inherit;text-decoration:none}.listed-by b a:hover{text-decoration:underline}
/* home: portal layout */
body:not(.site-dark) .hero-tabs a.on { background: var(--strong); border-color: var(--strong); color: #fff; }
.hero-tabs a { cursor: pointer; }
.proj-chips { margin-top: 4px; }
.hiw-cols { display: grid; grid-template-columns: 1.15fr 1fr; gap: 28px; align-items: start; }
.hiw-col h3 { margin: 0 0 14px; font-size: 1.15rem; }
.hiw-col .journey-steps { grid-template-columns: 1fr; row-gap: 16px; margin: 0; }
.hiw-col .journey-steps li { display: grid; grid-template-columns: 46px 1fr; column-gap: 14px; row-gap: 2px; padding: 0; }
.hiw-col .journey-steps li::before { display: none; }
.hiw-col .journey-steps i { grid-row: span 2; margin: 0; width: 42px; height: 42px; }
.hiw-adv { background: var(--bg); border: 1px solid var(--line); border-radius: 18px; padding: 22px; }
.hiw-cta, .why-cta { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 16px; }
@media (max-width: 860px) { .hiw-cols { grid-template-columns: 1fr; } }
.footer-brand a.btn { display: inline-flex; align-items: center; padding: 11px 20px; }
.mobile-bar a.primary { display: flex; align-items: center; justify-content: center; }
@media (max-width: 720px) {
  #resale .lgrid { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; gap: 12px; margin: 0 -16px; padding: 0 16px 6px; scrollbar-width: none; }
  #resale .lgrid > * { flex: 0 0 82%; scroll-snap-align: start; }
}

/* =====================================================================
   Search split view (Bayut style): sticky toolbar, list left, full-height map right
   ===================================================================== */
:root { --sbar-h: 69px; }
.sbar { position: sticky; top: var(--header-h); z-index: 45; background: var(--bg); border-bottom: 1px solid var(--line); }
.sbar-row { display: flex; align-items: center; gap: 10px; padding: 12px var(--gut, 24px); }
.sbar-row select, .sbar-loc input, .sbar-more, .sbar-seg, .sbar-view { height: 44px; border: 1px solid var(--line-2); border-radius: 10px; background: var(--bg); font: inherit; font-size: .93rem; color: var(--text); }
.sbar-row select { padding: 0 34px 0 14px; cursor: pointer; }
.sbar-purpose select { border-color: var(--coral); color: var(--coral); font-weight: 500; min-width: 150px; }
.sbar-loc { position: relative; flex: 1 1 260px; min-width: 200px; }
.sbar-loc input { width: 100%; padding: 0 44px 0 14px; }
.sbar-loc input:focus { outline: none; border-color: var(--coral); box-shadow: 0 0 0 3px rgba(15,118,110,.12); }
.sbar-loc button { position: absolute; right: 4px; top: 4px; width: 36px; height: 36px; border: 0; border-radius: 8px; background: transparent; color: var(--text-2); cursor: pointer; display: grid; place-items: center; }
.sbar-seg { display: inline-flex; align-items: stretch; padding: 3px; gap: 2px; flex: none; }
.sbar-seg label { display: flex; align-items: center; padding: 0 14px; border-radius: 7px; cursor: pointer; white-space: nowrap; color: var(--text-2); font-size: .92rem; }
.sbar-seg label.on { background: rgba(15,118,110,.1); color: var(--coral); font-weight: 500; }
.sbar-seg input { position: absolute; opacity: 0; pointer-events: none; }
.sbar-sel select { min-width: 112px; }
.sbar-more { display: inline-flex; align-items: center; gap: 8px; padding: 0 14px; cursor: pointer; white-space: nowrap; list-style: none; }
.sbar-more::-webkit-details-marker { display: none; }
.sbar-more b { display: inline-grid; place-items: center; min-width: 18px; height: 18px; padding: 0 5px; border-radius: 9px; background: var(--coral); color: #fff; font-size: .7rem; }
.sbar-pop { position: relative; flex: none; }
.sbar-pop-body { position: absolute; top: calc(100% + 8px); left: 0; z-index: 60; width: 270px; display: grid; gap: 12px; padding: 16px; background: var(--bg); border: 1px solid var(--line); border-radius: 14px; box-shadow: 0 14px 40px rgba(16,24,40,.16); }
.sbar-pop-body label { display: grid; gap: 6px; font-size: .86rem; color: var(--text-2); }
.sbar-pop-body label.check { display: flex; align-items: center; gap: 8px; }
.sbar-pop-body select { width: 100%; }
.sbar-view { display: inline-flex; padding: 3px; gap: 2px; margin-left: auto; flex: none; }
.sbar-view button { display: inline-flex; align-items: center; gap: 7px; padding: 0 14px; border: 0; border-radius: 7px; background: transparent; color: var(--text-2); font: inherit; font-size: .92rem; cursor: pointer; }
.sbar-view button.on { background: rgba(15,118,110,.1); color: var(--coral); font-weight: 500; }

.results-head .breadcrumbs, .results-head nav { margin-bottom: 6px; }
.results-head h1 { font-size: clamp(1.35rem, 1.9vw, 1.75rem); line-height: 1.25; margin: 4px 0 6px; }
.results-head .lede { font-size: .95rem; margin: 0 0 10px; }
.results-head .head-stats { margin: 10px 0; }
.results-head .area-answer { font-size: .95rem; }
.results-head + .mk-resbar, .results-head + .results-bar { margin-top: 10px; }

.lmap-drive { position: absolute; top: 16px; left: 16px; z-index: 500; display: inline-flex; align-items: center; gap: 8px; padding: 10px 16px; border-radius: 10px; background: #fff; color: var(--coral); font-weight: 600; font-size: .95rem; text-decoration: none; box-shadow: 0 4px 16px rgba(0,0,0,.18); }
.lmap-x { position: absolute; top: 16px; right: 16px; z-index: 500; width: 44px; height: 44px; border: 0; border-radius: 50%; background: #fff; color: #191d20; font-size: 26px; line-height: 1; cursor: pointer; box-shadow: 0 4px 16px rgba(0,0,0,.18); display: none; }
.lmap .leaflet-top.leaflet-left { top: auto; bottom: 24px; left: auto; right: 16px; }
.lmap .leaflet-top.leaflet-left .leaflet-control-zoom { margin: 0; }

/* cluster bubbles */
.lclu { position: absolute; left: 0; top: 0; transform: translate(-50%, -50%); display: grid; place-items: center; border-radius: 50%; background: var(--coral); color: #fff; font-family: var(--font); font-weight: 600; font-size: 13px; box-shadow: 0 0 0 5px rgba(15,118,110,.22), 0 2px 8px rgba(0,0,0,.25); cursor: pointer; transition: transform .15s; }
.lclu:hover { transform: translate(-50%, -50%) scale(1.08); }
.lpin { background: #fff; }
.lpin.on, .lpin:hover { background: var(--coral); color: #fff; }
.lcard.map-hover { box-shadow: 0 0 0 2px var(--coral); }

@media (min-width: 1101px) {
  .wrap.listing.has-map, .wrap.mk-list.has-map { max-width: none; margin: 0; padding: 0; display: grid; grid-template-columns: minmax(0, 1fr) 46%; gap: 0; align-items: start; }
  .has-map > .results { padding: 20px 24px 64px var(--gut, 24px); min-width: 0; }
  .has-map .lmap { display: block; position: sticky; top: calc(var(--header-h) + var(--sbar-h)); height: calc(100vh - var(--header-h) - var(--sbar-h)); border-radius: 0; border: 0; border-left: 1px solid var(--line); }
  .has-map .lmap-x { display: block; }
  .has-map .grid-results, .has-map .lgrid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px 18px; }
  body.view-list .wrap.has-map { grid-template-columns: minmax(0, 1fr); }
  body.view-list .has-map .lmap { display: none; }
  body.view-list .has-map > .results { padding-right: var(--gut, 24px); }
  body.view-list .has-map .grid-results, body.view-list .has-map .lgrid { grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); }
}
@media (max-width: 1100px) {
  .sbar-row { overflow-x: auto; scrollbar-width: none; padding: 10px 16px; gap: 8px; }
  .sbar-row::-webkit-scrollbar { display: none; }
  .sbar-row > * { flex: none; }
  .sbar-loc { flex: 0 0 220px; min-width: 0; }
  .sbar-view { display: none; }
  .sbar-row select, .sbar-loc input, .sbar-more, .sbar-seg { height: 40px; font-size: .88rem; }
  .sbar-purpose select { min-width: 0; }
  .sbar-pop { position: static; }
  .sbar-pop-body { position: fixed; left: 16px; right: 16px; top: calc(var(--header-h) + 64px); width: auto; }
  .has-map > .results { padding-top: 16px; }
  .lmap.open .lmap-drive { top: 12px; left: 12px; }
}
.sbar-sel select { width: 118px; min-width: 0; }
.sbar-sel + .sbar-sel select { width: 140px; }
@media (min-width: 1101px) {
  .has-map .grid-results .pcard { min-height: 0; aspect-ratio: .82; }
  body.view-list .has-map .grid-results .pcard { aspect-ratio: .7; }
}
@media (min-width: 1101px) and (max-width: 1380px) { .sbar-seg label { padding: 0 10px; } .sbar-loc { flex-basis: 200px; } .sbar-view button { padding: 0 10px; } }
@media (min-width: 1101px) and (max-width: 1380px) {
  .sbar-row { gap: 8px; }
  .sbar-purpose select { min-width: 132px; }
  .sbar-sel select { width: 100px; } .sbar-sel + .sbar-sel select { width: 118px; }
  .sbar-view span { display: none; }
  .sbar-view button { padding: 0 11px; }
}
@media (min-width: 1101px) and (max-width: 1380px) {
  .sbar-row { padding-left: 24px; padding-right: 24px; }
  .sbar-row select { padding-right: 28px; }
  .sbar-sel select { width: 104px; }
  .sbar-loc { min-width: 160px; }
  .sbar-seg label { padding: 0 9px; }
}
.sbar-seg label { position: relative; } .sbar-seg input { left: 0; top: 0; width: 1px; height: 1px; } .sbar { max-width: 100vw; overflow-x: clip; }
.sbar-sel, .sbar-purpose { position: relative; }
/* MapLibre (OpenFreeMap) map */
.lmap .maplibregl-map { font-family: var(--font); }
.lpin-wrap { width: 0; height: 0; cursor: pointer; }
.lpin-wrap.on-top { z-index: 5; }
.maplibregl-popup.lpop { z-index: 6; }
.lpop .maplibregl-popup-content { padding: 0; width: 260px; border-radius: 16px; overflow: hidden; box-shadow: 0 10px 30px rgba(0, 0, 0, .3); }
.lpop .maplibregl-popup-tip { display: none; }
.lpop .maplibregl-popup-close-button { top: 8px; right: 8px; width: 28px; height: 28px; border-radius: 50%; background: rgba(255, 255, 255, .92); color: #191d20; font-size: 18px; line-height: 26px; z-index: 2; }
.lmap .maplibregl-ctrl-bottom-right { bottom: 14px; right: 6px; }
.lmap .maplibregl-ctrl-group { border-radius: 10px; overflow: hidden; box-shadow: 0 2px 10px rgba(0,0,0,.18); }
.lmap .maplibregl-ctrl-group button { width: 36px; height: 36px; }
.lmap .maplibregl-ctrl-attrib { font-size: 10px; }
.lmap-failed .lmap-canvas::after { content: "Map could not load — check your connection."; display: grid; place-items: center; height: 100%; color: var(--muted); font-size: .9rem; }
@media (max-width: 1100px) { .lmap.open .maplibregl-ctrl-bottom-right { bottom: 80px; } }
