/* =====================================================================
   Nexy One — public website
   Nexy Glass (night + daylight), Manrope. Self-contained (does not need Bootstrap).
   ===================================================================== */
@font-face { font-family: "Manrope"; font-style: normal; font-display: swap; font-weight: 200 800;
  src: url("../../../assets/vendor/fonts/manrope/manrope-latin-wght-normal.woff2") format("woff2-variations"); }
@font-face { font-family: "Manrope"; font-style: normal; font-display: swap; font-weight: 200 800;
  src: url("../../../assets/vendor/fonts/manrope/manrope-latin-ext-wght-normal.woff2") format("woff2-variations");
  unicode-range: U+0100-02AF, U+1E00-1EFF, U+20A0-20C0, U+2C60-2C7F, U+A720-A7FF; }

:root, [data-theme] {
  --teal: #2dd4bf; --indigo: #6d7cff; --gold: #f6c453;
  --brand-grad: linear-gradient(135deg, #2dd4bf 0%, #6d7cff 100%);
  --brand-grad-soft: linear-gradient(135deg, rgba(45,212,191,.22), rgba(109,124,255,.22));
  --canvas: #070b16; --glow-1: rgba(45,212,191,.20); --glow-2: rgba(109,124,255,.22); --glow-3: rgba(246,196,83,.10);
  --paper: rgba(255,255,255,.055); --paper-2: rgba(255,255,255,.035); --solid: #0e1424; --pop: rgba(16,22,40,.9);
  --field: rgba(255,255,255,.06); --blur: blur(20px) saturate(140%); --edge-hi: inset 0 1px 0 rgba(255,255,255,.07);
  --ink: #eef2ff; --ink-2: #c6cde4; --muted: #8f99b8; --faint: #67718f;
  --line: rgba(255,255,255,.09); --line-2: rgba(255,255,255,.16);
  --on-grad: #051a17;
  /* legacy names, remapped */
  --cedar-950: #070b16; --cedar-900: #10182e; --cedar-800: #c6cde4; --cedar-700: #5eead4; --cedar-600: #2dd4bf;
  --cedar-100: rgba(45,212,191,.14); --cedar-50: rgba(255,255,255,.05);
  --brass-600: #f6c453; --brass-500: #2dd4bf; --brass-300: #5eead4; --brass-100: rgba(45,212,191,.14);
  --ok: #34d399; --ok-bg: rgba(52,211,153,.14); --nx-success: var(--ok); --bad: #fb7185; --bad-bg: rgba(251,113,133,.14); --wa: #1fa855;
  --r-sm: 10px; --r-md: 16px; --r-lg: 24px;
  --shadow: 0 18px 40px -20px rgba(0,0,0,.6);
  --font: "Manrope", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --ease: cubic-bezier(.2,.7,.2,1);
  --wrap: 1200px;
  color-scheme: dark;
}
[data-theme="light"] {
  --teal: #0d9488; --indigo: #4f46e5; --gold: #d97706;
  --brand-grad: linear-gradient(135deg, #0d9488 0%, #4f46e5 100%);
  --brand-grad-soft: linear-gradient(135deg, rgba(13,148,136,.14), rgba(79,70,229,.14));
  --canvas: #eef2f9; --glow-1: rgba(45,212,191,.28); --glow-2: rgba(129,140,248,.30); --glow-3: rgba(251,191,36,.18);
  --paper: rgba(255,255,255,.62); --paper-2: rgba(255,255,255,.42); --solid: #fff; --pop: rgba(255,255,255,.94);
  --field: rgba(255,255,255,.85); --edge-hi: inset 0 1px 0 rgba(255,255,255,.9);
  --ink: #0f172a; --ink-2: #334155; --muted: #5b6b84; --faint: #8a97ad;
  --line: rgba(15,23,42,.08); --line-2: rgba(15,23,42,.15);
  --on-grad: #fff;
  --cedar-950: #0f172a; --cedar-900: #ffffff; --cedar-800: #334155; --cedar-700: #0f766e; --cedar-600: #0d9488;
  --cedar-100: rgba(13,148,136,.12); --cedar-50: rgba(15,23,42,.04);
  --brass-600: #b45309; --brass-500: #0d9488; --brass-300: #14b8a6; --brass-100: rgba(13,148,136,.12);
  --ok: #059669; --ok-bg: rgba(5,150,105,.12); --bad: #e11d48; --bad-bg: rgba(225,29,72,.10);
  --shadow: 0 18px 40px -20px rgba(30,41,59,.3);
  color-scheme: light;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body.site { margin: 0; font: 400 16px/1.6 var(--font); color: var(--ink); background: var(--canvas); -webkit-font-smoothing: antialiased; }
img { max-width: 100%; display: block; }
a { color: var(--cedar-700); text-underline-offset: 3px; text-decoration-thickness: 1px; }
h1, h2, h3, h4 { font-family: var(--font); color: var(--ink); line-height: 1.15; margin: 0; letter-spacing: -0.02em; }
h1 { font-weight: 750; }
h2 { font-size: clamp(26px, 3vw, 36px); font-weight: 750; letter-spacing: -0.03em; }
h3 { font-size: 18px; font-weight: 700; letter-spacing: -0.01em; }
p { margin: 0; }
:focus-visible { outline: 3px solid var(--brass-500); outline-offset: 2px; border-radius: 4px; }
.skip { position: absolute; left: -999px; top: 0; background: var(--ink); color: #fff; padding: 10px 14px; z-index: 100; }
.skip:focus { left: 10px; top: 10px; }
.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }
.muted { color: var(--muted); }
.small { font-size: 14px; }
.sr { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.stack > * + * { margin-top: 12px; }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; } }

/* ---------- Buttons & fields ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 46px; padding: 0 20px;
  border-radius: var(--r-sm); border: 1px solid var(--line-2); background: var(--paper); color: var(--ink);
  font: 650 15px/1 var(--font); text-decoration: none; cursor: pointer; white-space: nowrap;
  transition: background .15s, border-color .15s, color .15s;
}
.btn:hover { border-color: var(--ink-2); }
.btn-primary { background: var(--cedar-900); border-color: var(--cedar-900); color: #fff; }
.btn-primary:hover { background: var(--cedar-700); border-color: var(--cedar-700); }
.btn-brass { background: var(--brass-500); border-color: var(--brass-500); color: var(--cedar-950); }
.btn-brass:hover { background: var(--brass-300); border-color: var(--brass-300); }
.btn-wa { background: var(--wa); border-color: var(--wa); color: #fff; }
.btn-wa:hover { filter: brightness(1.06); border-color: var(--wa); }
.btn-ghost { background: transparent; border-color: transparent; }
.btn-block { width: 100%; }
.btn-sm { height: 38px; padding: 0 14px; font-size: 14px; }
.icon-btn { width: 42px; height: 42px; display: inline-grid; place-items: center; border-radius: var(--r-sm); border: 1px solid var(--line); background: var(--paper); color: var(--ink); cursor: pointer; }
.field { position: relative; display: flex; align-items: center; background: var(--paper); border: 1px solid var(--line-2); border-radius: var(--r-sm); height: 46px; }
.field:focus-within { border-color: var(--cedar-600); box-shadow: 0 0 0 3px rgba(201,162,77,.35); }
.field > i { position: absolute; left: 14px; color: var(--faint); font-size: 14px; pointer-events: none; }
.field input, .field select, .field textarea { flex: 1; width: 100%; height: 100%; border: 0; outline: 0; background: transparent; padding: 0 14px 0 40px; font: 500 15px var(--font); color: var(--ink); min-width: 0; appearance: none; -webkit-appearance: none; }
.field.no-icon input, .field.no-icon select { padding-left: 14px; }
.field select { background: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='%235d6d68' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='m2 5 6 6 6-6'/%3e%3c/svg%3e") right 14px center / 12px no-repeat; padding-right: 36px; cursor: pointer; }
.field textarea { height: auto; min-height: 96px; padding-top: 12px; }
.field:has(textarea) { height: auto; align-items: flex-start; }
.field:has(textarea) > i { top: 16px; }
.lbl { display: block; font-size: 14px; font-weight: 600; color: var(--ink-2); margin: 16px 0 6px; }
.seg { display: flex; padding: 3px; gap: 2px; border-radius: var(--r-sm); background: var(--cedar-50); border: 1px solid var(--line); }
.seg label { flex: 1; position: relative; }
.seg input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.seg span { display: block; text-align: center; padding: 8px 10px; border-radius: 4px; font-weight: 650; font-size: 14px; color: var(--muted); }
.seg input:checked + span { background: var(--paper); color: var(--ink); box-shadow: 0 1px 2px rgba(14,43,38,.14); }
.seg input:focus-visible + span { outline: 3px solid var(--brass-500); }
.chip { display: inline-flex; align-items: center; gap: 6px; height: 26px; padding: 0 10px; border-radius: 999px; background: var(--cedar-50); color: var(--cedar-700); font-size: 13px; font-weight: 650; text-decoration: none; }
.notice { padding: 12px 14px; border-radius: var(--r-sm); background: var(--cedar-50); color: var(--cedar-800); font-size: 14px; }
.notice.err, .err { background: var(--bad-bg); color: var(--bad); }
.notice.ok { background: var(--ok-bg); color: var(--ok); }

/* ---------- Header ---------- */
.site-nav { position: sticky; top: 0; z-index: 50; transition: background .2s, box-shadow .2s, border-color .2s; border-bottom: 1px solid transparent; background: var(--canvas); }
.site-nav.on-dark { background: var(--cedar-900); }
.site-nav.scrolled { background: rgba(255,255,255,.96); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border-bottom-color: var(--line); }
.nav-row { display: flex; align-items: center; gap: 24px; height: 72px; }
.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; color: var(--ink); }
.brand-mark { width: 38px; height: 38px; border-radius: 10px; display: grid; place-items: center; overflow: hidden; flex: none;
  background: var(--brass-500); color: var(--cedar-950); font-weight: 800; font-size: 17px; }
.brand-mark img { width: 100%; height: 100%; object-fit: contain; background: #fff; }
.brand-name { font-weight: 750; font-size: 17px; letter-spacing: -0.02em; }
.nav-links { display: flex; align-items: center; gap: 4px; margin-left: auto; }
.nav-links a { padding: 8px 12px; border-radius: var(--r-sm); color: var(--ink-2); text-decoration: none; font-weight: 600; font-size: 15px; }
.nav-links a:hover { color: var(--ink); background: rgba(14,43,38,.05); }
.nav-links a.on { color: var(--ink); box-shadow: inset 0 -2px 0 var(--brass-500); border-radius: 0; }
.nav-links .nav-portal { margin-left: 8px; border: 1px solid var(--line-2); }
.nav-wa { height: 42px; padding: 0 16px; }
.nav-toggle { display: none; }
.site-nav.on-dark:not(.scrolled) .brand, .site-nav.on-dark:not(.scrolled) .nav-links a { color: #e7efec; }
.site-nav.on-dark:not(.scrolled) .nav-links a:hover { background: rgba(255,255,255,.08); color: #fff; }
.site-nav.on-dark:not(.scrolled) .nav-links .nav-portal { border-color: rgba(255,255,255,.25); }
.site-nav.on-dark:not(.scrolled) .nav-toggle { background: transparent; color: #fff; border-color: rgba(255,255,255,.25); }
@media (max-width: 960px) {
  .nav-row { height: 64px; gap: 12px; }
  .nav-toggle { display: inline-grid; }
  .nav-wa { margin-left: auto; }
  .nav-wa span { display: none; }
  .nav-wa { width: 42px; padding: 0; }
  .nav-links { display: none; position: absolute; left: 0; right: 0; top: 64px; flex-direction: column; align-items: stretch; gap: 0; padding: 8px 16px 16px; background: var(--paper); border-bottom: 1px solid var(--line); box-shadow: var(--shadow); }
  .nav-links.open { display: flex; }
  .nav-links a, .site-nav.on-dark:not(.scrolled) .nav-links a { color: var(--ink); padding: 14px 8px; border-bottom: 1px solid var(--line); border-radius: 0; }
  .nav-links .nav-portal { margin: 12px 0 0; border: 1px solid var(--line-2) !important; border-radius: var(--r-sm); text-align: center; }
}

/* ---------- Hero ---------- */
.hero { position: relative; background: var(--cedar-900); color: #e7efec; overflow: hidden; padding: 56px 0 72px; }
.hero::after { content: ""; position: absolute; inset: auto 0 0 0; height: 1px; background: rgba(201,162,77,.35); }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); gap: 0 56px; align-items: center; }
.hero-wide { grid-column: 1 / -1; }
.hero h1 { color: #fff; font-size: clamp(38px, 5.6vw, 72px); line-height: 1.02; letter-spacing: -0.045em; font-weight: 750; max-width: 13ch; }
.hero h1 a { color: inherit; text-decoration: underline; text-decoration-color: var(--brass-500); text-decoration-thickness: .07em; text-underline-offset: .12em; }
.hero h1 a:hover { text-decoration-color: var(--brass-300); }
.hero .lead { margin-top: 22px; font-size: 18px; line-height: 1.55; color: #b9cec8; max-width: 52ch; }
.hero-search { margin-top: 32px; background: var(--paper); border-radius: var(--r-md); padding: 8px; box-shadow: 0 30px 60px -30px rgba(0,0,0,.5); color: var(--ink); }
.hero-search .row { display: grid; grid-template-columns: auto minmax(0, 1.6fr) minmax(0, 1fr) minmax(0, 1fr) auto; gap: 8px; align-items: center; }
.hero-search .field { border-color: transparent; background: var(--canvas); }
.hero-search .field:focus-within { background: var(--paper); }
.hero-search .seg { height: 46px; align-items: center; }
.hero-search .seg span { padding: 9px 14px; }
.hero-proof { display: flex; flex-wrap: wrap; gap: 8px 28px; margin-top: 22px; font-size: 14px; color: #a9c2bb; }
.hero-proof b { color: #fff; font-weight: 700; font-variant-numeric: tabular-nums; }
.hero-proof i { color: var(--brass-500); margin-right: 6px; }
.hero-art { position: relative; height: 420px; }
.hero-art .plan { position: absolute; inset: 0; width: 100%; height: 100%; color: var(--brass-500); }
@media (prefers-reduced-motion: no-preference) {
  .hero-art .plan .draw { stroke-dasharray: 1400; stroke-dashoffset: 1400; animation: draw 2.4s var(--ease) .2s forwards; }
  .hero-card { animation: rise .6s var(--ease) 1.2s both; }
}
@keyframes draw { to { stroke-dashoffset: 0; } }
.hero-photo { position: absolute; left: 12%; right: 0; top: 8%; bottom: 22%; border-radius: var(--r-md); overflow: hidden; background: var(--cedar-800); }
.hero-photo img { width: 100%; height: 100%; object-fit: cover; }
.hero-card { position: absolute; left: 0; bottom: 6%; width: min(320px, 80%); background: var(--paper); color: var(--ink); border-radius: var(--r-md); padding: 16px 18px; box-shadow: var(--shadow); text-decoration: none; display: block; z-index: 2; }
.hero-card .k { font-size: 13px; font-weight: 650; color: var(--ok); display: flex; align-items: center; gap: 6px; }
.hero-card .k::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--ok); box-shadow: 0 0 0 4px var(--ok-bg); }
.hero-card .p { font-size: 22px; font-weight: 750; letter-spacing: -0.02em; margin-top: 6px; font-variant-numeric: tabular-nums; }
.hero-card .p small { font-size: 14px; color: var(--muted); font-weight: 600; letter-spacing: 0; }
.hero-card .n { font-weight: 650; margin-top: 2px; }
.hero-card .l { font-size: 14px; color: var(--muted); }
@keyframes rise { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }
@media (max-width: 1024px) {
  .hero-grid { grid-template-columns: 1fr; gap: 32px; }
  .hero-art { display: none; }
  .hero-search .row { grid-template-columns: 1fr 1fr; }
  .hero-search .seg, .hero-search .where, .hero-search .btn { grid-column: 1 / -1; }
}
@media (max-width: 560px) {
  .hero { padding: 32px 0 44px; }
  .hero .lead { font-size: 16px; }
  .hero-search .row { grid-template-columns: 1fr; }
}

/* ---------- Sections ---------- */
.section { padding: 80px 0; }
.section-tight { padding: 48px 0; }
.section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; margin-bottom: 28px; flex-wrap: wrap; }
.section-head p { color: var(--muted); margin-top: 8px; max-width: 60ch; }
.eyebrow { display: none; }
.grid { display: grid; gap: 24px; }
.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 1024px) { .grid-3, .grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .grid-3, .grid-4 { grid-template-columns: 1fr; } .section { padding: 56px 0; } }

.card { background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-md); }
.card.pad, .pad { padding: 24px; }
.empty { text-align: center; padding: 48px 24px; }
.empty h3 { margin: 14px 0 6px; }
.empty .btn { margin-top: 18px; }
.tile-icon { width: 44px; height: 44px; border-radius: 10px; display: inline-grid; place-items: center; background: var(--cedar-50); color: var(--cedar-700); font-size: 18px; }

/* ---------- Listing card ---------- */
.listing { position: relative; overflow: hidden; display: flex; flex-direction: column; transition: border-color .15s, box-shadow .2s; }
.listing:hover { border-color: var(--line-2); box-shadow: var(--shadow); }
.listing-media { position: relative; display: block; aspect-ratio: 4 / 3; background: var(--cedar-50); overflow: hidden; }
.listing-media img, .listing-media svg { width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--ease); }
.listing:hover .listing-media img { transform: scale(1.03); }
.badges { position: absolute; left: 12px; top: 12px; display: flex; gap: 6px; }
.badge { display: inline-flex; align-items: center; gap: 5px; height: 26px; padding: 0 10px; border-radius: 999px; font-size: 12px; font-weight: 700; background: var(--paper); color: var(--ink); }
.badge-grad { background: var(--brass-500); color: var(--cedar-950); }
.badge-ok { background: var(--paper); color: var(--ok); }
.photo-count { position: absolute; right: 12px; bottom: 12px; font-size: 12px; font-weight: 650; color: #fff; background: rgba(7,26,23,.6); padding: 4px 9px; border-radius: 999px; }
.fav { position: absolute; right: 12px; top: 12px; width: 36px; height: 36px; border-radius: 50%; border: 0; display: grid; place-items: center; background: rgba(255,255,255,.92); color: var(--faint); cursor: pointer; z-index: 2; }
.fav.on { color: var(--bad); }
.listing-body { padding: 16px 18px 18px; display: flex; flex-direction: column; flex: 1; }
.price { font-size: 21px; font-weight: 750; letter-spacing: -0.02em; font-variant-numeric: tabular-nums; }
.price small { white-space: nowrap; font-size: 14px; color: var(--muted); font-weight: 600; letter-spacing: 0; }
.listing h3 { font-size: 16px; margin-top: 4px; }
.listing h3 a { color: var(--ink); text-decoration: none; }
.listing h3 a::after { content: ""; position: absolute; inset: 0; z-index: 1; }
.loc { font-size: 14px; margin-top: 2px; }
.loc i { display: none; }
.facts { list-style: none; display: flex; flex-wrap: wrap; gap: 6px 14px; margin: auto 0 0; padding: 14px 0 0; border-top: 1px solid var(--line); margin-top: 14px; font-size: 13px; color: var(--ink-2); font-weight: 600; }
.facts i { color: var(--faint); margin-right: 5px; }
.facts .ok { color: var(--ok); }
.facts .ok i { color: var(--ok); }

/* ---------- Area index ---------- */
.areas { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 48px; border-top: 1px solid var(--line-2); }
.area { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: baseline; gap: 4px 16px; padding: 22px 0; border-bottom: 1px solid var(--line-2); text-decoration: none; color: var(--ink); }
.area strong { font-size: clamp(22px, 2.4vw, 30px); font-weight: 700; letter-spacing: -0.03em; }
.area span { color: var(--muted); font-size: 14px; }
.area em { font-style: normal; font-weight: 650; font-variant-numeric: tabular-nums; text-align: right; }
.area:hover strong { text-decoration: underline; text-decoration-color: var(--brass-500); text-underline-offset: 6px; text-decoration-thickness: 2px; }
@media (max-width: 760px) { .areas { grid-template-columns: 1fr; } }

/* ---------- Steps (a real sequence) ---------- */
.steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; counter-reset: step; border-top: 2px solid var(--ink); }
.steps li { list-style: none; padding: 22px 24px 0 0; counter-increment: step; }
.steps li::before { content: counter(step); display: block; font-size: 14px; font-weight: 750; color: var(--brass-600); margin-bottom: 14px; }
.steps h3 { margin-bottom: 8px; }
.steps p { color: var(--muted); font-size: 15px; }
@media (max-width: 900px) { .steps { grid-template-columns: 1fr 1fr; row-gap: 28px; } }
@media (max-width: 520px) { .steps { grid-template-columns: 1fr; } }

/* ---------- Owners band ---------- */
.owners { position: relative; overflow: hidden; background: var(--cedar-900); color: #c9dad5; border-radius: var(--r-lg); padding: 56px; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 48px; align-items: center; }
.owners h2 { color: #fff; }
.owners p { margin-top: 14px; max-width: 46ch; }
.owners ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; position: relative; }
.owners li { padding: 16px 0; border-bottom: 1px solid rgba(255,255,255,.12); display: flex; gap: 14px; }
.owners li:first-child { border-top: 1px solid rgba(255,255,255,.12); }
.owners li i { color: var(--brass-500); margin-top: 4px; }
.owners li b { display: block; color: #fff; }
.owners .btn { margin-top: 28px; }
.owners .plan { position: absolute; right: -60px; bottom: -80px; width: 420px; color: var(--brass-500); opacity: .12; pointer-events: none; }
@media (max-width: 900px) { .owners { grid-template-columns: 1fr; padding: 32px 24px; gap: 24px; } }

/* ---------- Search results ---------- */
.crumbs { font-size: 14px; color: var(--muted); padding: 24px 0 12px; }
.crumbs a { color: var(--muted); }
.search-layout { display: grid; grid-template-columns: 300px minmax(0, 1fr); gap: 32px; align-items: start; padding-bottom: 80px; }
.filters { padding: 20px; position: sticky; top: 92px; }
.filters h3 { font-size: 16px; display: flex; align-items: center; gap: 8px; margin-bottom: 12px; }
.filters h3 i { color: var(--faint); }
.filters .btn-block { margin-top: 20px; }
.filters .btn-block + .btn-block { margin-top: 8px !important; }
.results-bar { display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; flex-wrap: wrap; margin-bottom: 20px; }
.results-bar h1 { font-size: 28px !important; letter-spacing: -0.03em; }
.view-toggle { display: inline-flex; padding: 3px; gap: 2px; border-radius: var(--r-sm); background: var(--cedar-50); border: 1px solid var(--line); }
.view-toggle button { border: 0; background: none; height: 38px; padding: 0 14px; border-radius: 4px; font: 650 14px var(--font); color: var(--muted); cursor: pointer; }
.view-toggle button.on { background: var(--paper); color: var(--ink); box-shadow: 0 1px 2px rgba(14,43,38,.14); }
.map-split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 20px; }
#map { height: calc(100vh - 140px); min-height: 420px; position: sticky; top: 92px; border-radius: var(--r-md); border: 1px solid var(--line); }
.map-pin { display: inline-block; background: var(--cedar-900); color: #fff; font: 700 12px var(--font); padding: 4px 8px; border-radius: 999px; white-space: nowrap; transform: translate(-50%, -50%); box-shadow: 0 2px 6px rgba(0,0,0,.25); }
.map-pop img { width: 200px; height: 110px; object-fit: cover; border-radius: 6px; margin-bottom: 8px; }
.leaflet-popup-content-wrapper { border-radius: var(--r-md); font-family: var(--font); }
.pager { display: flex; gap: 6px; justify-content: center; margin-top: 32px; }
.pager a, .pager span { min-width: 40px; height: 40px; display: grid; place-items: center; border-radius: var(--r-sm); border: 1px solid var(--line); background: var(--paper); color: var(--ink); text-decoration: none; font-weight: 650; }
.pager .on { background: var(--cedar-900); color: #fff; border-color: var(--cedar-900); }
@media (max-width: 960px) {
  .search-layout { grid-template-columns: 1fr; }
  .filters { position: static; }
  .map-split { grid-template-columns: 1fr; }
  #map { position: relative; top: 0; height: 60vh; }
  #results[style*="1fr 1fr"] { grid-template-columns: 1fr !important; }
}

/* ---------- Modal (site) ---------- */
.modal { position: fixed; inset: 0; z-index: 80; display: none; align-items: center; justify-content: center; padding: 16px; background: rgba(7,26,23,.55); }
.modal.open { display: flex; }
.modal-card { position: relative; width: 100%; max-width: 460px; background: var(--paper); border-radius: var(--r-lg); padding: 28px; box-shadow: var(--shadow); animation: rise .2s var(--ease); }
.modal-card h3 { font-size: 20px; margin-bottom: 6px; padding-right: 40px; }
.modal-card > p { margin-bottom: 18px; }
.modal-close { position: absolute; top: 16px; right: 16px; }

/* ---------- Property detail ---------- */
.detail-head { display: block; margin: 4px 0 24px; }
.detail-head > div:first-child { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 12px; }
.detail-head .price { margin-top: 4px; }
.detail-head h1 { font-size: clamp(30px, 4vw, 46px); letter-spacing: -0.04em; }
.detail-head .price { font-size: clamp(24px, 3vw, 32px); }
.gallery { display: grid; grid-template-columns: 2fr 1fr 1fr; grid-template-rows: 220px 220px; gap: 8px; border-radius: var(--r-lg); overflow: hidden; margin-bottom: 40px; }
.gallery > *:first-child { grid-row: span 2; }
.gallery img, .gallery svg { width: 100%; height: 100%; object-fit: cover; }
.gallery a { position: relative; display: block; background: var(--cedar-50); }
.gallery .more { position: absolute; inset: 0; display: grid; place-items: center; background: rgba(7,26,23,.55); color: #fff; font-weight: 700; }
@media (max-width: 760px) { .gallery { grid-template-columns: 1fr 1fr; grid-template-rows: 240px 120px; } .gallery > *:first-child { grid-column: span 2; grid-row: auto; } .gallery > *:nth-child(n+4) { display: none; } }
.detail-layout { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: 40px; align-items: start; padding-bottom: 80px; }
.detail-layout .side { position: sticky; top: 92px; display: grid; gap: 16px; }
.detail-layout section + section { margin-top: 40px; }
.detail-layout h2 { font-size: 22px; letter-spacing: -0.02em; margin-bottom: 16px; }
@media (max-width: 960px) { .detail-layout { grid-template-columns: 1fr; } .detail-layout .side { position: static; } }
.spec-row { margin-bottom: 28px; display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.spec { padding: 16px 16px 16px 0; }
.spec + .spec { padding-left: 16px; border-left: 1px solid var(--line); }
.spec i { color: var(--faint); display: block; margin-bottom: 8px; }
.spec b, .spec strong { display: block; font-size: 17px; }
.spec span { font-size: 13px; color: var(--muted); }
.amen { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 10px 20px; list-style: none; padding: 0; margin: 0; }
.amen li { display: flex; align-items: center; gap: 10px; font-weight: 500; }
.amen i { color: var(--cedar-600); width: 18px; text-align: center; }
.unit-row { display: grid; grid-template-columns: minmax(0, 1fr) auto auto; gap: 16px; align-items: center; padding: 16px 0; border-bottom: 1px solid var(--line); }
.unit-row:first-child { border-top: 1px solid var(--line); }
.verified-line { display: flex; align-items: center; gap: 8px; color: var(--ok); font-weight: 650; font-size: 14px; }
.insight-table { width: 100%; border-collapse: collapse; font-size: 14px; }
.insight-table th { text-align: left; font-weight: 600; color: var(--muted); padding: 8px 0; border-bottom: 1px solid var(--line); }
.insight-table td { padding: 10px 0; border-bottom: 1px solid var(--line); font-variant-numeric: tabular-nums; }
.bar { height: 6px; background: var(--cedar-50); border-radius: 3px; overflow: hidden; }
.bar > span { display: block; height: 100%; background: var(--cedar-700); }
.calc-out { font-size: 28px; font-weight: 750; letter-spacing: -0.02em; font-variant-numeric: tabular-nums; }
.agent { display: flex; gap: 12px; align-items: center; }
.av { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; background: var(--cedar-900); color: var(--brass-300); font-weight: 750; }
.share { display: flex; gap: 8px; }
.prose { font-size: 17px; line-height: 1.7; color: var(--ink-2); max-width: 70ch; }
.prose p + p { margin-top: 1em; }
.prose h2, .prose h3 { margin: 1.6em 0 .5em; }

/* ---------- Blog ---------- */
.post-card { overflow: hidden; display: flex; flex-direction: column; }
.post-media { display: block; aspect-ratio: 16 / 9; background: var(--cedar-50); overflow: hidden; }
.post-media img { width: 100%; height: 100%; object-fit: cover; }
.post-body { padding: 18px; display: grid; gap: 8px; }
.post-body h3 a { color: var(--ink); text-decoration: none; }
.post-body h3 a:hover { text-decoration: underline; }
.article { max-width: 760px; margin: 0 auto; padding: 24px 0 80px; }
.article h1 { font-size: clamp(32px, 4.4vw, 52px); letter-spacing: -0.04em; margin: 12px 0 16px; }
.article-cover { border-radius: var(--r-lg); overflow: hidden; margin: 28px 0; }
.article-body { font-size: 18px; line-height: 1.75; color: var(--ink-2); }
.cats { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 28px; }
.comment { padding: 18px 0; border-bottom: 1px solid var(--line); }
.comment .who { font-weight: 700; }
.comment .staff { font-size: 12px; font-weight: 700; color: var(--cedar-700); background: var(--cedar-50); padding: 2px 8px; border-radius: 999px; margin-left: 6px; }
.replies { margin-left: 24px; border-left: 2px solid var(--line); padding-left: 18px; }
.comment-actions { margin-top: 8px; font-size: 14px; }

/* ---------- Footer ---------- */
.site-footer { background: var(--cedar-950); color: #9fb7b0; padding: 64px 0 28px; margin-top: 0; }
.foot-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; }
.site-footer h4 { color: #fff; font-size: 15px; font-weight: 700; margin-bottom: 14px; letter-spacing: 0; }
.site-footer a { display: block; color: #c4d6d1; text-decoration: none; padding: 4px 0; font-size: 15px; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.site-footer a i, .site-footer span i { width: 18px; color: var(--brass-500); margin-right: 6px; }
.site-footer .muted { color: #9fb7b0; }
.foot-brand { color: #fff; margin-bottom: 14px; }
.foot-bottom { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-top: 48px; padding-top: 20px; border-top: 1px solid rgba(255,255,255,.1); font-size: 14px; }
@media (max-width: 860px) { .foot-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .foot-grid { grid-template-columns: 1fr; } }
.fab-wa { position: fixed; right: 20px; bottom: 20px; width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center; background: var(--wa); color: #fff; font-size: 26px; box-shadow: 0 8px 24px -6px rgba(0,0,0,.35); z-index: 60; text-decoration: none; }
.fab-wa:hover { filter: brightness(1.06); }

/* Bootstrap-ish helpers some site pages still use */
.d-flex { display: flex; } .gap-2 { gap: 8px; } .align-items-center { align-items: center; } .mt-3 { margin-top: 16px; } .mb-3 { margin-bottom: 16px; } .fw-bold { font-weight: 700; } .text-muted { color: var(--muted); }

/* Property page details */
.gallery-plan { display: grid; grid-template-columns: repeat(3, 1fr); grid-template-rows: 300px; position: relative; }
.gallery-plan svg { width: 100%; height: 100%; }
@media (max-width: 760px) { .gallery-plan { grid-template-columns: 1fr; grid-template-rows: 220px; } .gallery-plan svg + svg { display: none; } }
.gallery-note { position: absolute; left: 20px; bottom: 20px; background: var(--paper); padding: 10px 14px; border-radius: var(--r-sm); font-size: 14px; font-weight: 600; box-shadow: var(--shadow); }
.gallery-note i { color: var(--brass-600); margin-right: 6px; }
.unit-row { grid-template-columns: 96px minmax(0, 1fr) auto; }
.unit-thumb { width: 96px; height: 72px; border-radius: var(--r-sm); overflow: hidden; display: block; background: var(--cedar-50); }
.unit-thumb img, .unit-thumb svg { width: 100%; height: 100%; object-fit: cover; }
.unit-row h3 { font-size: 16px; }
.unit-row .price { font-size: 17px; margin-top: 4px; }
.card.block { padding: 28px; margin-bottom: 20px; }
.card.block h2 { font-size: 20px; display: flex; align-items: center; gap: 10px; }
.card.block h2 i { color: var(--faint); font-size: 16px; }
@media (max-width: 560px) { .unit-row { grid-template-columns: 72px minmax(0,1fr); } .unit-row .btn { grid-column: 1 / -1; } .unit-thumb { width: 72px; height: 56px; } .gallery-plan { height: 240px; } }


/* =====================================================================
   Nexy Glass layer — translucent surfaces over a soft glow backdrop
   ===================================================================== */
html { background: var(--canvas); }
body.site { background: transparent; position: relative; }
body.site::before { content: ""; position: fixed; inset: 0; z-index: -1; pointer-events: none;
  background: radial-gradient(60vw 50vh at 8% 0%, var(--glow-1), transparent 70%),
    radial-gradient(50vw 60vh at 100% 20%, var(--glow-2), transparent 70%),
    radial-gradient(60vw 40vh at 60% 110%, var(--glow-3), transparent 70%), var(--canvas); }
a { color: var(--teal); }
.card, .hero-card, .hero-search, .modal-card, .gallery-note, .field, .btn, .icon-btn, .pager a, .pager span {
  -webkit-backdrop-filter: var(--blur); backdrop-filter: var(--blur); }
.card { box-shadow: var(--edge-hi); }
.card:hover { border-color: var(--line-2); }
.field, .hero-search .field { background: var(--field); border-color: var(--line); }
.hero-search .field:focus-within { background: var(--field); border-color: var(--teal); }
.btn-primary, .btn-brass, .pager .on { background: var(--brand-grad); border-color: transparent; color: var(--on-grad); }
.btn-primary:hover, .btn-brass:hover { filter: brightness(1.08); background: var(--brand-grad); border-color: transparent; }
.badge-grad { background: var(--brand-grad); color: var(--on-grad); }
.badge-ok { background: var(--pop); }
.seg input:checked + span, .view-toggle button.on { background: var(--brand-grad-soft); color: var(--ink); box-shadow: inset 0 0 0 1px var(--line-2); }
.notice { background: var(--brand-grad-soft); color: var(--ink); border: 1px solid var(--line); }
:focus-visible { outline-color: var(--teal); }

/* Top bar: floating glass pill */
.site-nav, .site-nav.on-dark, .site-nav.scrolled { background: transparent; border-bottom: 0; box-shadow: none; padding-top: 10px; }
.site-nav .nav-row { background: var(--paper); -webkit-backdrop-filter: var(--blur); backdrop-filter: var(--blur);
  border: 1px solid var(--line); border-radius: 18px; padding-left: 16px; padding-right: 10px; box-shadow: var(--edge-hi), var(--shadow); }
.site-nav.on-dark:not(.scrolled) .brand, .site-nav.on-dark:not(.scrolled) .nav-links a { color: var(--ink); }
.site-nav.on-dark:not(.scrolled) .nav-links a:hover { background: var(--paper); color: var(--ink); }
.site-nav.on-dark:not(.scrolled) .nav-toggle { color: var(--ink); border-color: var(--line-2); }
.nav-links a.on { box-shadow: inset 0 -2px 0 var(--teal); }
.brand-mark { background: var(--brand-grad); color: var(--on-grad); }
@media (max-width: 860px) { .nav-links { background: var(--pop); -webkit-backdrop-filter: var(--blur); backdrop-filter: var(--blur);
  border: 1px solid var(--line); border-radius: 18px; top: 74px; } }

/* Hero sits straight on the glow */
.hero { background: transparent; color: var(--ink-2); }
.hero h1 { color: var(--ink); }
.hero h1 a { text-decoration-color: var(--teal); }
.hero .lead, .hero-proof { color: var(--muted); }
.hero-proof b { color: var(--ink); }
.hero-proof i, .hero-art .plan { color: var(--teal); }
.hero-search { background: var(--paper); border: 1px solid var(--line); box-shadow: var(--edge-hi), var(--shadow); }
.hero-card { background: var(--pop); border: 1px solid var(--line); }
.hero-photo { border: 1px solid var(--line); }

/* Owners band and footer as glass slabs */
.owners { background: var(--brand-grad-soft); border: 1px solid var(--line); color: var(--ink-2);
  -webkit-backdrop-filter: var(--blur); backdrop-filter: var(--blur); }
.owners h2, .owners li b { color: var(--ink); }
.owners li i { color: var(--teal); }
.site-footer { background: var(--paper-2); border-top: 1px solid var(--line); color: var(--muted);
  -webkit-backdrop-filter: var(--blur); backdrop-filter: var(--blur); }
.site-footer h4, .foot-brand { color: var(--ink); }
.site-footer a { color: var(--ink-2); }
.site-footer a:hover { color: var(--teal); }
.site-footer .muted { color: var(--muted); }
.site-footer a i, .site-footer span i { color: var(--teal); }

.map-pin { background: var(--brand-grad); color: var(--on-grad); }
.av { background: var(--brand-grad); color: var(--on-grad); }
.modal-card { background: var(--pop); border: 1px solid var(--line); }
.gallery-note { background: var(--pop); border: 1px solid var(--line); color: var(--ink); }
.steps li::before, .gallery-note i { color: var(--teal); }
.avail-from { display: inline-flex; align-items: center; gap: 6px; font-size: 12.5px; font-weight: 650; color: var(--teal); }

/* Theme toggle */
.theme-btn { width: 40px; height: 40px; border-radius: 12px; border: 1px solid var(--line); background: var(--paper);
  color: var(--ink); display: inline-grid; place-items: center; cursor: pointer; }
.theme-btn:hover { border-color: var(--line-2); }
[data-theme="light"] .theme-btn .fa-sun, .theme-btn .fa-moon { display: none; }
[data-theme="light"] .theme-btn .fa-moon { display: inline; }

@media (max-width: 991px) { :root { --blur: blur(12px) saturate(130%); } }
@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
  .card, .site-nav .nav-row, .hero-search, .owners, .site-footer { background: var(--solid); } }
@media (prefers-reduced-transparency: reduce) {
  .card, .site-nav .nav-row, .hero-search, .owners, .site-footer { background: var(--solid); -webkit-backdrop-filter: none; backdrop-filter: none; } }
:root, [data-theme] { --plan-bg: #0f1a2e; --plan-line: #2dd4bf; --plan-ink: #9fe9dc; }
[data-theme="light"] { --plan-bg: #e6f2f1; --plan-line: #0f766e; --plan-ink: #115e59; }
.hero::after { display: none; }
.site-nav.scrolled { background: transparent; }
