/* HomeDominican — mobile-first, no framework. */
:root {
  --ink: #1d2a2f;
  --ink-2: #3b4a50;
  --muted: #5b6b70;
  --bg: #fbf8f3;
  --surface: #ffffff;
  --sand: #f3ece0;
  --line: #e6dfd3;
  --brand: #0e5a5c;
  --brand-2: #0a4446;
  --brand-soft: #e3efee;
  --accent: #c9623f;
  --accent-soft: #fbeee7;
  --ok: #2c7a4b;
  --ok-soft: #e5f3ea;
  --warn: #9a6a00;
  --warn-soft: #fff5d9;
  --wa: #1f9d55;
  --on-brand: #fff;
  --radius: 14px;
  --radius-sm: 9px;
  --shadow: 0 1px 2px rgba(29, 42, 47, .06), 0 6px 24px rgba(29, 42, 47, .06);
  --serif: "Iowan Old Style", "Palatino Linotype", Palatino, "Book Antiqua", Georgia, serif;
  --sans: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --wrap: 1180px;
  color-scheme: light;
}

/* dark theme: data-theme is set in <head> (saved choice or OS preference); screen only so print stays light */
@media screen {
  :root[data-theme="dark"] {
    --ink: #e8eef0;
    --ink-2: #c5d0d3;
    --muted: #93a4a8;
    --bg: #0f1a1d;
    --surface: #16252a;
    --sand: #1c2d32;
    --line: #2b3e44;
    --brand: #5cb8ae;
    --brand-2: #82cdc4;
    --brand-soft: #173a3b;
    --accent: #d9764f;
    --accent-soft: #3a2620;
    --ok: #5cc08a;
    --ok-soft: #173325;
    --warn: #e0b64a;
    --warn-soft: #362b12;
    --on-brand: #0b1f21;
    --shadow: 0 1px 2px rgba(0, 0, 0, .3), 0 6px 24px rgba(0, 0, 0, .3);
    color-scheme: dark;
  }
  /* one-off light tints and the deep-teal bands, which keep white text */
  [data-theme="dark"] .topbar { background: #0a2a2c; }
  [data-theme="dark"] .section--brand, [data-theme="dark"] .cta { background: #0e4446; }
  [data-theme="dark"] .badge--accent { color: var(--accent); }
  [data-theme="dark"] .badge--muted, [data-theme="dark"] .scard { background: var(--sand); }
  [data-theme="dark"] .scard__tag { border-color: var(--line); }
  [data-theme="dark"] .prose .hd-check { border-color: #24503a; }
  [data-theme="dark"] .prose .hd-alert { background: var(--accent-soft); border-color: #5a3526; }
  [data-theme="dark"] .hd-callout { border-color: #25504f; }
  [data-theme="dark"] .hd-callout--warn { border-color: #5a4a1c; }
  [data-theme="dark"] .hd-callout--warn strong:first-child { color: var(--warn); }
  [data-theme="dark"] .prose .hd-table tr:nth-child(even) td { background: #1a2a2f; }
  [data-theme="dark"] .prose .hd-table tr:first-child th .ex { color: #6b4a00; }
  [data-theme="dark"] .notice--warn p { color: var(--ink-2); }
  [data-theme="dark"] .notice--example { background: var(--warn-soft); color: var(--warn); border-color: #7a6420; }
  [data-theme="dark"] .magnet { background: linear-gradient(135deg, var(--accent-soft), var(--surface)); border-color: #5a3526; }
  [data-theme="dark"] .magnet__doc { background: var(--surface); }
  [data-theme="dark"] .form__status.err { color: #f28b82; }
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 84px; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 16px/1.6 var(--sans); overflow-x: hidden; }
img, svg { max-width: 100%; height: auto; display: block; }
a { color: var(--brand); text-underline-offset: 3px; }
a:hover { color: var(--brand-2); }
h1, h2, h3 { font-family: var(--serif); line-height: 1.15; letter-spacing: -.01em; margin: 0 0 .5em; color: var(--ink); }
h1 { font-size: clamp(2rem, 5vw, 3.2rem); font-weight: 600; }
h2 { font-size: clamp(1.5rem, 3.4vw, 2.2rem); font-weight: 600; }
h3 { font-size: 1.2rem; font-weight: 600; }
p { margin: 0 0 1em; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; border-radius: 4px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 8px; top: -60px; background: var(--ink); color: var(--bg); padding: 8px 14px; border-radius: 8px; z-index: 100; }
.skip:focus { top: 8px; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 16px; }
/* vertical only, so these can share an element with .wrap without losing its side gutter */
.section { padding-top: 56px; padding-bottom: 56px; }
.section--tight { padding-top: 32px; padding-bottom: 32px; }
.section--sand { background: var(--sand); }
.section--brand { background: var(--brand); color: #fff; }
.section--brand h2, .section--brand h3 { color: #fff; }
.section__head { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 12px 24px; margin-bottom: 24px; }
.section__head p { color: var(--muted); max-width: 62ch; margin: 0; }
.section__head h2 { margin-bottom: .25em; }
.eyebrow { display: inline-block; font-size: .8rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--accent); margin-bottom: .6em; }
.lead { font-size: 1.15rem; color: var(--ink-2); }
.muted { color: var(--muted); }
.small { font-size: .875rem; }
.ex { font-size: .78em; font-weight: 500; color: var(--warn); white-space: nowrap; font-style: normal; }

/* buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px; padding: 10px 20px; border-radius: 999px; border: 1.5px solid transparent;
  font: 600 1rem/1.2 var(--sans); text-decoration: none; cursor: pointer; transition: background .15s, color .15s, border-color .15s; }
.btn--primary { background: var(--brand); color: var(--on-brand); }
.btn--primary:hover { background: var(--brand-2); color: var(--on-brand); }
.btn--accent { background: var(--accent); color: #fff; }
.btn--accent:hover { background: #b0532f; color: #fff; }
.btn--ghost { border-color: currentColor; color: var(--brand); background: transparent; }
.btn--ghost:hover { background: var(--brand-soft); }
.btn--light { background: #fff; color: #0a4446; }
.btn--wa { background: var(--wa); color: #fff; }
.btn--wa:hover { background: #178046; color: #fff; }
.btn--sm { min-height: 38px; padding: 7px 14px; font-size: .92rem; }
.btn--block { width: 100%; }
.btn[disabled] { opacity: .6; cursor: progress; }
.link-arrow { font-weight: 600; text-decoration: none; }
.link-arrow::after { content: " →"; }

/* badges */
.badge { display: inline-flex; align-items: center; gap: 5px; padding: 3px 10px; border-radius: 999px; font-size: .78rem; font-weight: 700; line-height: 1.5; white-space: nowrap; }
.badge--ok { background: var(--ok-soft); color: var(--ok); }
.badge--brand { background: var(--brand-soft); color: var(--brand-2); }
.badge--accent { background: var(--accent-soft); color: #9c4527; }
.badge--warn { background: var(--warn-soft); color: var(--warn); }
.badge--muted { background: #eeeae3; color: var(--muted); }
.badges { display: flex; flex-wrap: wrap; gap: 6px; }

/* top bar + header */
.topbar { background: var(--brand-2); color: #d8e7e6; font-size: .82rem; }
.topbar__in { display: flex; justify-content: space-between; gap: 12px; min-height: 34px; align-items: center; }
.topbar a { color: #fff; }
.fx strong { color: #fff; }
.fx small { opacity: .75; }
.topbar__note, .fx small { display: none; }
.hdr { position: sticky; top: 0; z-index: 40; background: color-mix(in srgb, var(--bg) 94%, transparent); backdrop-filter: saturate(1.4) blur(8px); border-bottom: 1px solid var(--line); }
.hdr__in { display: flex; align-items: center; gap: 10px; min-height: 64px; }
.logo { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); font: 700 1.35rem/1 var(--serif); margin-right: auto; }
.logo svg { width: 42px; height: 42px; flex: none; }
.logo span b { color: var(--brand); font-weight: 700; }
.nav { display: none; gap: 4px; }
.nav a, .city summary { padding: 8px 12px; border-radius: 999px; color: var(--ink); text-decoration: none; font-weight: 600; font-size: .95rem; }
.nav a:hover, .nav a[aria-current="page"], .city summary:hover { background: var(--sand); }
.city { position: relative; display: none; }
.city summary { list-style: none; cursor: pointer; display: flex; align-items: center; gap: 6px; }
.city summary::-webkit-details-marker { display: none; }
.city summary svg { width: 16px; height: 16px; flex: none; }
.city[open] summary { background: var(--sand); }
.city__caret { display: flex; color: var(--muted); transition: transform .15s; }
.city[open] .city__caret { transform: rotate(180deg); }
.dropdown { position: absolute; right: 0; top: calc(100% + 8px); width: 280px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); padding: 6px; }
.dropdown ul { list-style: none; margin: 0; padding: 0; }
.dropdown__group { font: 700 .72rem/1 var(--sans); text-transform: uppercase; letter-spacing: .08em; color: var(--muted); margin: 0; padding: 12px 10px 6px; }
.dropdown__group:first-child { padding-top: 8px; }
.dropdown__item { display: flex; align-items: center; gap: 12px; padding: 7px 10px; border-radius: var(--radius-sm); text-decoration: none; color: var(--ink); font-weight: 600; font-size: .95rem; }
.dropdown__item:hover, .dropdown__item:focus-visible { background: var(--sand); }
.dropdown__item[aria-current="page"] { background: var(--brand-soft); color: var(--brand); }
.dropdown__name { flex: 1; min-width: 0; }
.dropdown__go { display: flex; color: var(--muted); opacity: 0; transform: translateX(-4px); transition: opacity .15s, transform .15s; }
.dropdown__go svg { width: 16px; height: 16px; }
.dropdown__item:hover .dropdown__go, .dropdown__item:focus-visible .dropdown__go { opacity: 1; transform: none; }
.dropdown__all { display: flex; align-items: center; justify-content: center; gap: 4px; margin-top: 6px; padding: 10px; border-top: 1px solid var(--line); color: var(--brand); font-weight: 700; font-size: .9rem; text-decoration: none; }
.dropdown__all:hover { text-decoration: underline; }
.dropdown__all svg { width: 16px; height: 16px; }
.zicon { flex: none; width: 32px; height: 32px; display: grid; place-items: center; border-radius: 9px; }
.zicon svg { width: 18px; height: 18px; }
.zicon--beach { background: var(--brand-soft); color: var(--brand); }
.zicon--nature { background: var(--ok-soft); color: var(--ok); }
.zicon--urban { background: var(--accent-soft); color: var(--accent); }
.lang { font-weight: 700; font-size: .9rem; text-decoration: none; padding: 8px 10px; border: 1.5px solid var(--line); border-radius: 999px; color: var(--ink); }
.lang:hover { border-color: var(--brand); }
.theme { flex: none; width: 40px; height: 40px; display: grid; place-items: center; padding: 0; border: 1.5px solid var(--line); border-radius: 50%; background: transparent; color: var(--ink); cursor: pointer; }
.theme:hover { border-color: var(--brand); }
.theme svg { width: 18px; height: 18px; }
.theme__sun, [data-theme="dark"] .theme__moon { display: none; }
[data-theme="dark"] .theme__sun { display: block; }
.hdr .btn--talk { display: none; }
.burger { position: static; }
.burger summary { list-style: none; cursor: pointer; width: 44px; height: 44px; display: grid; place-items: center; border-radius: 12px; }
.burger summary::-webkit-details-marker { display: none; }
.burger summary svg { width: 24px; height: 24px; }
.burger[open] summary { background: var(--sand); }
.burger__panel { position: absolute; left: 0; right: 0; top: 100%; background: var(--surface); border-bottom: 1px solid var(--line); box-shadow: var(--shadow); padding: 12px 16px 20px; }
.burger__panel a:not(.btn) { display: block; padding: 11px 4px; border-bottom: 1px solid var(--line); color: var(--ink); text-decoration: none; font-weight: 600; }
.burger__panel h3 { font: 700 .78rem/1 var(--sans); text-transform: uppercase; letter-spacing: .08em; color: var(--muted); margin: 18px 0 4px; }
.burger__cities { display: grid; grid-template-columns: 1fr 1fr; column-gap: 12px; }
.burger__panel .burger__cities a { display: flex; align-items: center; gap: 10px; padding: 9px 4px; }
.burger__panel .burger__cities a[aria-current="page"] { color: var(--brand); }
.burger__cities .zicon { width: 28px; height: 28px; border-radius: 8px; }
.burger__cities .zicon svg { width: 16px; height: 16px; }
.burger__panel .btn { margin-top: 16px; width: 100%; }
/* phones: logo, language, theme and menu must share one row down to 360px */
@media (max-width: 479px) {
  .hdr__in { gap: 6px; }
  .hdr .logo { gap: 8px; font-size: 1.12rem; }
  .hdr .logo svg { width: 34px; height: 34px; }
  .theme { width: 36px; height: 36px; }
}
@media (min-width: 640px) { .topbar__note { display: block; } .fx small { display: inline; } }
/* full nav needs ~1100px (five sections + city picker + language/theme + CTA); burger below that */
@media (min-width: 1120px) {
  .nav, .city { display: flex; }
  .hdr .btn--talk { display: inline-flex; }
  .burger { display: none; }
}

/* hero */
.hero { padding: 48px 0 40px; background:
  radial-gradient(900px 400px at 85% 0%, rgba(14, 90, 92, .10), transparent 60%),
  radial-gradient(700px 360px at 0% 100%, rgba(201, 98, 63, .10), transparent 60%); }
.hero__grid { display: grid; gap: 32px; align-items: center; }
.hero h1 { max-width: 18ch; }
.hero__sub { font-size: 1.15rem; color: var(--ink-2); max-width: 56ch; }
.hero__ctas { display: flex; flex-wrap: wrap; gap: 12px; margin: 24px 0; }
.trust { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; color: var(--ink-2); font-size: .95rem; }
.trust li { display: flex; gap: 10px; align-items: flex-start; }
.trust li::before { content: "✓"; flex: none; width: 22px; height: 22px; border-radius: 50%; background: var(--ok-soft); color: var(--ok); display: grid; place-items: center; font-weight: 800; font-size: .8rem; margin-top: 2px; }
.hero__art { position: relative; border-radius: 24px; overflow: hidden; box-shadow: var(--shadow); aspect-ratio: 4 / 3; background: var(--sand); }
.hero__art img { width: 100%; height: 100%; object-fit: cover; }
.hero__note { position: absolute; left: 14px; bottom: 14px; right: 14px; background: color-mix(in srgb, var(--surface) 94%, transparent); border-radius: 12px; padding: 12px 14px; font-size: .9rem; box-shadow: var(--shadow); }
.hero__note strong { display: block; font-family: var(--serif); font-size: 1.05rem; }
@media (min-width: 900px) { .hero { padding: 72px 0 64px; } .hero__grid { grid-template-columns: 1.15fr .85fr; } }

/* page header (inner pages) */
.phead { padding: 36px 0 24px; border-bottom: 1px solid var(--line); background: linear-gradient(180deg, var(--sand), var(--bg)); }
.phead h1 { font-size: clamp(1.8rem, 4.2vw, 2.7rem); max-width: 26ch; }
.phead .lead { max-width: 65ch; margin: 0; }
.crumbs { font-size: .85rem; color: var(--muted); margin-bottom: 14px; }
.crumbs ol { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 4px; }
.crumbs li:not(:last-child)::after { content: "/"; margin-left: 6px; color: var(--line); }
.crumbs a { color: var(--muted); }

/* grids & cards */
.grid { display: grid; gap: 20px; }
@media (min-width: 640px) { .grid--2, .grid--3 { grid-template-columns: repeat(2, 1fr); } .grid--4 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 960px) { .grid--3 { grid-template-columns: repeat(3, 1fr); } .grid--4 { grid-template-columns: repeat(4, 1fr); } }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; }
.card--pad { padding: 22px; }
.card__body { padding: 16px 18px 18px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.card__title { font: 600 1.12rem/1.3 var(--serif); margin: 0; }
.card__title a { color: var(--ink); text-decoration: none; }
.card__title a::after { content: ""; position: absolute; inset: 0; }
.card--link { position: relative; transition: transform .15s, box-shadow .15s; }
.card--link:hover { transform: translateY(-2px); box-shadow: var(--shadow); }
.card--link a:focus-visible { outline: none; }
.card--link:focus-within { outline: 3px solid var(--accent); outline-offset: 2px; }

/* property card */
.pcard__media { position: relative; aspect-ratio: 3 / 2; background: var(--sand); }
.pcard__media img { width: 100%; height: 100%; object-fit: cover; }
.pcard__media .badges { position: absolute; top: 10px; left: 10px; right: 10px; }
.pcard__zone { font-size: .85rem; color: var(--muted); display: flex; align-items: center; gap: 5px; }
.pcard__price { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 10px; margin-top: 4px; }
.pcard__price strong { font-size: 1.25rem; }
.pcard__price span { color: var(--muted); font-size: .9rem; }
.pcard__meta { display: flex; flex-wrap: wrap; gap: 4px 14px; font-size: .88rem; color: var(--ink-2); margin-top: auto; padding-top: 10px; border-top: 1px dashed var(--line); }
.pcard__yield { color: var(--ok); font-weight: 700; }

/* zone cards */
.zcard__media { aspect-ratio: 16 / 9; background: var(--brand-soft); position: relative; }
.zcard__media img { width: 100%; height: 100%; object-fit: cover; }
.zcard__media .badge { position: absolute; left: 10px; top: 10px; }
.zcard__stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; margin-top: auto; padding-top: 10px; border-top: 1px dashed var(--line); font-size: .82rem; color: var(--muted); }
.zcard__stats strong { display: block; color: var(--ink); font-size: .98rem; }

/* map */
.map { position: relative; height: 440px; border-radius: var(--radius); overflow: hidden; background: var(--brand-soft); border: 1px solid var(--line); }
.map--sm { height: 320px; }
.map__loading { position: absolute; inset: 0; display: grid; place-items: center; color: var(--muted); }
.map__ctrl { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 16px; margin-bottom: 12px; }
.seg { display: inline-flex; background: var(--surface); border: 1px solid var(--line); border-radius: 999px; padding: 3px; }
.seg button { border: 0; background: transparent; padding: 7px 14px; border-radius: 999px; font: 600 .9rem var(--sans); color: var(--ink-2); cursor: pointer; min-height: 36px; }
.seg button[aria-pressed="true"] { background: var(--brand); color: var(--on-brand); }
.legend { display: flex; align-items: center; gap: 8px; font-size: .82rem; color: var(--muted); }
.legend i { width: 120px; height: 10px; border-radius: 99px; background: linear-gradient(90deg, #cfe3df, #4f9a92, #0a4446); }
.zchips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.zchips a { background: var(--surface); border: 1px solid var(--line); padding: 7px 14px; border-radius: 999px; text-decoration: none; color: var(--ink); font-weight: 600; font-size: .9rem; }
.zchips a:hover { border-color: var(--brand); }
.leaflet-popup-content { font: 14px/1.45 var(--sans); margin: 12px 14px; color: #1d2a2f; }
.leaflet-popup-content h3 { color: inherit; }
.leaflet-popup-content h3 { font-size: 1.05rem; margin: 0 0 4px; }
.leaflet-popup-content p { margin: 0 0 6px; }
.map-label { background: #fff; border: 0; border-radius: 99px; padding: 2px 8px; font-weight: 700; font-size: 12px; box-shadow: 0 1px 4px rgba(0,0,0,.2); }

/* property filters */
.filters { background: var(--surface); border: 1px solid var(--line); border-top: 4px solid var(--brand); border-radius: var(--radius); padding: 20px; box-shadow: var(--shadow); display: grid; gap: 18px; }
.filters__head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 6px 16px; }
.filters__title { font-size: 1.35rem; margin: 0; }
.filters__clear { font-weight: 600; font-size: .92rem; }
.filters fieldset { border: 0; margin: 0; padding: 0; min-width: 0; }
.filters__label, .filters .field > label[for], .filters .field > .label { display: block; font-size: .8rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); margin-bottom: 8px; padding: 0; }
.filters .field { gap: 0; }
/* one look for every filter control: 48px tall, same border, "is-set" tint when it narrows the results */
.fselect { position: relative; display: block; }
.fselect svg { position: absolute; left: 14px; top: 50%; width: 18px; height: 18px; transform: translateY(-50%); fill: none; stroke: var(--muted); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; pointer-events: none; }
.fselect select { appearance: none; -webkit-appearance: none; height: 48px; padding: 0 40px 0 42px; border-radius: 10px; font-weight: 600; cursor: pointer; text-overflow: ellipsis;
  background: var(--surface) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%235b6b70' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") no-repeat right 14px center / 16px; transition: border-color .15s, background-color .15s; }
.fselect select:hover { border-color: var(--brand); }
.fselect.is-set select { border-color: var(--brand); background-color: var(--brand-soft); color: var(--brand-2); }
.fselect.is-set svg { stroke: var(--brand); }
.fselect--sm svg { left: 11px; width: 16px; height: 16px; }
.fselect--sm select { width: auto; height: 40px; min-height: 40px; padding-left: 34px; font-size: .92rem; }
.filters input[type="radio"], .filters input[type="checkbox"] { position: absolute; opacity: 0; width: 1px; height: 1px; min-height: 0; margin: 0; }
/* type chips: horizontal scroll on phones, wrap from tablet up */
.fchips { position: relative; display: flex; gap: 8px; overflow-x: auto; margin: 0 -20px; padding: 2px 20px 6px; scrollbar-width: none; }
.fchips::-webkit-scrollbar { display: none; }
@media (min-width: 640px) { .fchips { flex-wrap: wrap; overflow: visible; margin: 0; padding: 0; } }
.fchip { position: relative; flex: none; }
.fchip span { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 8px 16px; border: 1.5px solid var(--line); border-radius: 999px; background: var(--bg); font-weight: 600; color: var(--ink-2); cursor: pointer; white-space: nowrap; transition: background .15s, border-color .15s, color .15s; }
.fchip b { font-size: .78rem; min-width: 22px; padding: 1px 7px; border-radius: 99px; background: var(--sand); color: var(--muted); text-align: center; }
.fchip:hover span { border-color: var(--brand); color: var(--brand-2); }
.fchip input:checked + span { background: var(--brand); border-color: var(--brand); color: var(--on-brand); }
.fchip input:checked + span b { background: rgba(255,255,255,.2); color: var(--on-brand); }
.fchip--empty span { opacity: .55; }
.filters input:focus-visible + span, .filters input:focus-visible + .fswitch__track { outline: 3px solid var(--accent); outline-offset: 2px; }
.filters__grid { display: grid; gap: 16px; padding-top: 18px; border-top: 1px dashed var(--line); }
@media (min-width: 640px) { .filters__grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1000px) { .filters__grid { grid-template-columns: 1fr 1fr auto auto; } }
.fseg { display: flex; height: 48px; background: var(--surface); border: 1.5px solid var(--line); border-radius: 10px; padding: 3px; gap: 3px; }
.fseg label { position: relative; flex: 1; }
.fseg span { display: flex; align-items: center; justify-content: center; height: 100%; padding: 0 12px; border-radius: 7px; font-weight: 600; color: var(--ink-2); cursor: pointer; white-space: nowrap; transition: background .15s; }
.fseg label:hover span { background: var(--brand-soft); }
.fseg input:checked + span { background: var(--brand); color: var(--on-brand); }
.fswitch { position: relative; display: flex; align-items: center; gap: 12px; height: 48px; padding: 0 16px 0 12px; background: var(--surface); border: 1.5px solid var(--line); border-radius: 10px; font-weight: 600; color: var(--ink-2); cursor: pointer; white-space: nowrap; transition: border-color .15s, background .15s; }
.fswitch:hover { border-color: var(--brand); }
.fswitch.is-set { border-color: var(--brand); background: var(--brand-soft); color: var(--brand-2); }
.fswitch__track { position: relative; flex: none; width: 42px; height: 24px; border-radius: 99px; background: var(--line); transition: background .15s; }
.fswitch__track::after { content: ""; position: absolute; top: 3px; left: 3px; width: 18px; height: 18px; border-radius: 50%; background: #fff; box-shadow: 0 1px 3px rgba(0,0,0,.25); transition: transform .15s; }
.fswitch input:checked + .fswitch__track { background: var(--brand); }
.fswitch input:checked + .fswitch__track::after { transform: translateX(18px); }
.results-bar { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 16px; margin: 24px 0 18px; }
.results-bar__count { margin: 0; font-size: 1.05rem; color: var(--ink-2); }
.results-bar__count strong { font: 700 1.6rem/1 var(--serif); color: var(--brand-2); margin-right: 4px; }
.results-bar__sort { display: flex; align-items: center; gap: 8px; margin-left: auto; font-size: .9rem; color: var(--muted); white-space: nowrap; }
.active-filters { display: flex; flex-wrap: wrap; gap: 6px; list-style: none; margin: 0; padding: 0; }
.active-filters a { display: inline-flex; align-items: center; gap: 6px; padding: 5px 8px 5px 12px; border-radius: 999px; background: var(--brand-soft); color: var(--brand-2); font-size: .88rem; font-weight: 600; text-decoration: none; }
.active-filters a span[aria-hidden] { display: inline-grid; place-items: center; width: 20px; height: 20px; border-radius: 50%; background: rgba(14, 90, 92, .12); font-size: 1rem; line-height: 1; }
.active-filters a:hover { background: var(--brand); color: var(--on-brand); }
.active-filters a:hover span[aria-hidden] { background: rgba(255,255,255,.2); }
.empty-results { text-align: center; padding: 40px 20px; background: var(--sand); border-radius: var(--radius); }
.empty-results p { color: var(--ink-2); font-weight: 600; }

/* stories */
.quote { position: relative; padding: 26px 24px 22px; }
.quote blockquote { margin: 0 0 14px; font: italic 500 1.15rem/1.5 var(--serif); color: var(--ink); }
.quote blockquote::before { content: "“"; display: block; font: 700 3rem/0.6 var(--serif); color: var(--accent); margin-bottom: 10px; }
.quote footer { display: flex; justify-content: space-between; align-items: end; gap: 10px; flex-wrap: wrap; font-size: .9rem; color: var(--muted); }
.quote footer strong { color: var(--ink); display: block; }

/* faq accordion */
.faq { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 18px 2px; font: 600 1.08rem/1.35 var(--serif); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary .pm { flex: none; width: 32px; height: 32px; border-radius: 50%; border: 1.5px solid var(--line); display: grid; place-items: center; transition: transform .2s, background .2s; font: 400 1.4rem/1 var(--sans); color: var(--brand); }
.faq details[open] summary .pm { transform: rotate(45deg); background: var(--brand-soft); border-color: transparent; }
.faq summary:hover .pm { border-color: var(--brand); }
.faq .answer { padding: 0 2px 20px; color: var(--ink-2); max-width: 75ch; }
.faq-layout { display: grid; gap: 28px; }
@media (min-width: 900px) { .faq-layout { grid-template-columns: .8fr 1.2fr; } }

/* cta band */
.cta { border-radius: 24px; padding: 36px 24px; background: var(--brand); color: #e3efee; display: grid; gap: 20px; align-items: center; position: relative; overflow: hidden; }
.cta h2 { color: #fff; margin-bottom: .3em; }
.cta p { margin: 0; max-width: 58ch; }
.cta::after { content: ""; position: absolute; right: -60px; bottom: -80px; width: 260px; height: 260px; border-radius: 50%; background: rgba(255,255,255,.06); }
.cta__actions { display: flex; flex-wrap: wrap; gap: 12px; position: relative; z-index: 1; }
.cta .btn--ghost { color: #fff; }
.cta .btn--ghost:hover { background: rgba(255,255,255,.1); }
@media (min-width: 900px) { .cta { grid-template-columns: 1fr auto; padding: 44px 48px; } }

/* sponsored — deliberately quiet */
.sponsored { padding: 40px 0 48px; border-top: 1px solid var(--line); }
.sponsored h2 { font-size: 1.2rem; font-family: var(--sans); font-weight: 700; color: var(--ink-2); }
.sponsored__intro { font-size: .9rem; color: var(--muted); max-width: 70ch; }
.sponsored__head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 4px 20px; }
.sponsored__head .link-arrow { font-size: .92rem; }
.scard { background: #f6f4f0; border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 16px; display: flex; flex-direction: column; gap: 6px; font-size: .9rem; }
.scard__top { display: flex; justify-content: space-between; align-items: center; gap: 8px; font-size: .75rem; color: var(--muted); text-transform: uppercase; letter-spacing: .05em; }
.scard__tag { border: 1px solid #cfc8bb; border-radius: 4px; padding: 1px 6px; font-weight: 700; }
.scard h3 { font: 700 1rem/1.3 var(--sans); margin: 0; }
.scard p { margin: 0; color: var(--ink-2); }
.scard a { margin-top: auto; font-weight: 600; font-size: .88rem; }

/* prose */
.prose { max-width: 72ch; font-size: 1.05rem; }
.prose h2 { font-size: 1.6rem; margin-top: 1.6em; }
.prose h3 { font-size: 1.2rem; margin-top: 1.4em; }
.prose ul, .prose ol { padding-left: 1.3em; margin: 0 0 1.1em; }
.prose li { margin-bottom: .4em; }
.prose blockquote { margin: 1.4em 0; padding: 14px 18px; border-left: 4px solid var(--accent); background: var(--accent-soft); border-radius: 0 10px 10px 0; }
.prose table { border-collapse: collapse; width: 100%; margin: 1em 0; font-size: .95rem; display: block; overflow-x: auto; }
.prose th, .prose td { border: 1px solid var(--line); padding: 8px 10px; text-align: left; }
.prose > :first-child { margin-top: 0; }

/* guides: icons, cards, table of contents */
.tone--brand { --t: var(--brand); --t-soft: var(--brand-soft); }
.tone--accent { --t: var(--accent); --t-soft: var(--accent-soft); }
.tone--ok { --t: var(--ok); --t-soft: var(--ok-soft); }
.tone--warn { --t: var(--warn); --t-soft: var(--warn-soft); }
.gicon { flex: none; width: 56px; height: 56px; display: grid; place-items: center; border-radius: 16px; background: var(--surface); color: var(--t, var(--brand));
  box-shadow: 0 1px 2px rgba(29, 42, 47, .08), 0 4px 14px rgba(29, 42, 47, .08); }
.gicon svg { width: 28px; height: 28px; }
.gicon--lg { width: 64px; height: 64px; border-radius: 18px; background: var(--t-soft); box-shadow: inset 0 0 0 1.5px color-mix(in srgb, var(--t) 25%, transparent); }
.gicon--lg svg { width: 32px; height: 32px; }
.phead__icon { margin-bottom: 14px; }
.gcard__media { position: relative; height: 128px; padding: 20px; display: flex; align-items: flex-end; overflow: hidden; background-color: var(--t-soft);
  background-image: radial-gradient(color-mix(in srgb, var(--t) 22%, transparent) 1.2px, transparent 1.3px); background-size: 16px 16px; }
.gcard__ghost { position: absolute; right: -18px; bottom: -30px; width: 150px; color: var(--t); opacity: .13; transform: rotate(-12deg); transition: transform .3s; }
.gcard__ghost svg { width: 100%; height: auto; }
.gcard__num { position: absolute; top: 14px; right: 18px; font: 700 2.4rem/1 var(--serif); color: var(--t); opacity: .55; }
.gcard:hover .gcard__ghost { transform: rotate(-4deg) scale(1.05); }
.gcard .card__body { gap: 8px; }
.gcard .card__body p { color: var(--ink-2); font-size: .95rem; margin: 0; }
.gcard__meta { display: inline-flex; align-items: center; gap: 6px; font-size: .78rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--t); }
.gcard__meta::before { content: ""; width: 14px; height: 14px; background: currentColor;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.2' stroke-linecap='round'%3E%3Ccircle cx='12' cy='12' r='9'/%3E%3Cpath d='M12 7v5l3 2'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.2' stroke-linecap='round'%3E%3Ccircle cx='12' cy='12' r='9'/%3E%3Cpath d='M12 7v5l3 2'/%3E%3C/svg%3E") center / contain no-repeat; }
.gcard__more { margin-top: auto; padding-top: 8px; color: var(--brand); font-size: .92rem; }

.toc { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px 20px 12px; margin: 0 0 32px; }
.toc__title { font: 700 .78rem/1 var(--sans); letter-spacing: .08em; text-transform: uppercase; color: var(--muted); margin: 0 0 8px; }
.toc ol { list-style: none; margin: 0; padding: 0; counter-reset: toc; display: grid; }
@media (min-width: 640px) { .toc ol { grid-template-columns: 1fr 1fr; column-gap: 24px; } }
.toc li { counter-increment: toc; }
.toc a { display: flex; gap: 12px; padding: 8px 0; border-bottom: 1px dashed var(--line); text-decoration: none; color: var(--ink); font-weight: 600; font-size: .94rem; line-height: 1.35; }
.toc a::before { content: counter(toc, decimal-leading-zero); color: var(--accent); font-variant-numeric: tabular-nums; }
.toc a:hover { color: var(--brand); }

/* guide body components (classes documented in Seed/README.md) */
.prose--guide { counter-reset: sec; }
.prose--guide > h2 { counter-increment: sec; margin-top: 2em; }
.prose--guide > h2::before { content: counter(sec, decimal-leading-zero); display: block; font: 700 .8rem/1 var(--sans); letter-spacing: .1em; color: var(--accent); margin-bottom: .6em; }
.prose--guide > h2:first-child { margin-top: 0; }
.prose--guide ul:not([class]) { list-style: none; padding-left: 0; }
.prose--guide ul:not([class]) > li { position: relative; padding-left: 22px; }
.prose--guide ul:not([class]) > li::before { content: ""; position: absolute; left: 4px; top: .62em; width: 7px; height: 7px; border-radius: 2px; background: var(--accent); transform: rotate(45deg); }
.prose--guide ol:not([class]) > li::marker { color: var(--brand); font-weight: 700; }
.prose--guide li > p, .prose--guide td > p, .prose--guide th > p { margin: 0; }
.prose--guide .ex { font-size: .78em; }

.prose .hd-flow { list-style: none; counter-reset: flow; margin: 1.6em 0; padding: 22px 20px; display: grid; gap: 18px;
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); }
.hd-flow > li { counter-increment: flow; position: relative; margin: 0; padding-left: 56px; min-height: 40px; font-size: .9rem; line-height: 1.4; color: var(--muted); }
.hd-flow > li::before { content: counter(flow); position: absolute; left: 0; top: 0; width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center;
  background: var(--brand); color: var(--on-brand); font: 700 1rem/1 var(--sans); box-shadow: 0 0 0 5px var(--brand-soft); }
.hd-flow > li:not(:last-child)::after { content: ""; position: absolute; left: 19px; top: 48px; bottom: -14px; width: 2px;
  background: repeating-linear-gradient(180deg, var(--brand) 0 5px, transparent 5px 9px); opacity: .5; }
.hd-flow > li:last-child::before { background: var(--accent); box-shadow: 0 0 0 5px var(--accent-soft); }
.hd-flow strong { display: block; color: var(--ink); font-size: 1rem; line-height: 1.3; margin-bottom: 2px; }
@media (min-width: 720px) {
  .prose .hd-flow { grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr); gap: 12px; padding: 26px 18px 22px; }
  .hd-flow > li { padding: 54px 2px 0; text-align: center; font-size: .84rem; }
  .hd-flow > li::before { left: 50%; transform: translateX(-50%); }
  .hd-flow > li:not(:last-child)::after { top: 19px; bottom: auto; left: calc(50% + 28px); right: calc(-50% + 16px); width: auto; height: 2px;
    background: repeating-linear-gradient(90deg, var(--brand) 0 5px, transparent 5px 9px); }
  .hd-flow strong { font-size: .95rem; }
}

.prose .hd-steps { list-style: none; counter-reset: step; padding: 0; margin: 1.4em 0 1.8em; }
.hd-steps > li { counter-increment: step; position: relative; margin: 0; padding: 0 0 26px 62px; }
.hd-steps > li::before { content: counter(step, decimal-leading-zero); position: absolute; left: 0; top: 0; width: 44px; height: 44px; border-radius: 13px;
  display: grid; place-items: center; background: var(--brand-soft); color: var(--brand-2); border: 1.5px solid var(--brand); font: 700 .95rem/1 var(--sans); }
.hd-steps > li:not(:last-child)::after { content: ""; position: absolute; left: 21px; top: 52px; bottom: 8px; width: 2px; border-radius: 2px; background: var(--line); }
.hd-steps > li:last-child { padding-bottom: 0; }
.prose .hd-steps > li > h3 { margin: .5em 0 .4em; }
.hd-steps > li > :last-child { margin-bottom: 0; }

.prose .hd-check, .prose .hd-alert { list-style: none; margin: 1.3em 0 1.5em; padding: 18px 20px; display: grid; gap: 12px; border-radius: var(--radius); }
.prose .hd-check { background: var(--ok-soft); border: 1px solid #cde5d6; }
.prose .hd-alert { background: #fcf1ec; border: 1px solid #f0d4c8; }
.hd-check > li, .hd-alert > li { position: relative; margin: 0; padding-left: 36px; line-height: 1.5; }
.hd-check > li::before, .hd-alert > li::before { content: ""; position: absolute; left: 0; top: 1px; width: 24px; height: 24px; border-radius: 50%; background: var(--ok) center / 14px no-repeat;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E"); }
.hd-alert > li::before { background-color: var(--accent);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3.2' stroke-linecap='round'%3E%3Cpath d='M12 6v7.5M12 18.2v.1'/%3E%3C/svg%3E"); }

.hd-callout { position: relative; margin: 1.5em 0; padding: 16px 20px 16px 66px; border-radius: var(--radius); background: var(--brand-soft); border: 1px solid #cfe2e0; color: var(--ink-2); }
.hd-callout::before { content: ""; position: absolute; left: 18px; top: 16px; width: 34px; height: 34px; border-radius: 10px; background: var(--brand) center / 20px no-repeat;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M9 18h6M10 21h4M12 3a6 6 0 0 0-3.5 10.9c.6.5 1 1.2 1 2.1h5c0-.9.4-1.6 1-2.1A6 6 0 0 0 12 3z'/%3E%3C/svg%3E"); }
.hd-callout strong:first-child { color: var(--brand-2); }
.hd-callout > :last-child { margin-bottom: 0; }
.hd-callout--warn { background: var(--warn-soft); border-color: #f0dfa8; }
.hd-callout--warn::before { background-color: var(--warn);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M10.3 3.9 1.8 18a2 2 0 0 0 1.7 3h17a2 2 0 0 0 1.7-3L13.7 3.9a2 2 0 0 0-3.4 0zM12 9v4M12 17h.01'/%3E%3C/svg%3E"); }
.hd-callout--warn strong:first-child { color: #7a5400; }

.prose .hd-stats { list-style: none; padding: 0; margin: 1.5em 0; display: grid; gap: 12px; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); }
.hd-stats > li { margin: 0; padding: 16px 16px 14px; background: var(--surface); border: 1px solid var(--line); border-top: 4px solid var(--brand); border-radius: var(--radius-sm);
  font-size: .86rem; line-height: 1.4; color: var(--muted); }
.hd-stats > li:nth-child(4n+2) { border-top-color: var(--accent); }
.hd-stats > li:nth-child(4n+3) { border-top-color: var(--ok); }
.hd-stats > li:nth-child(4n+4) { border-top-color: var(--warn); }
.hd-stats strong { display: block; margin-bottom: 6px; font: 700 1.55rem/1.15 var(--serif); color: var(--ink); }

.prose .hd-table { display: table; width: 100%; margin: 1.4em 0; border-collapse: separate; border-spacing: 0; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden;
  background: var(--surface); font-size: .93rem; }
.prose .hd-table th, .prose .hd-table td { border: 0; border-bottom: 1px solid var(--line); padding: 11px 14px; vertical-align: top; }
.prose .hd-table tr:first-child th { background: var(--brand); color: var(--on-brand); font-size: .8rem; letter-spacing: .05em; text-transform: uppercase; border-bottom: 0; }
.prose .hd-table tr:first-child th .ex { color: #ffe9a8; }
.prose .hd-table tr:nth-child(even) td { background: #faf8f4; }
.prose .hd-table tr:last-child td, .prose .hd-table tr:last-child th { border-bottom: 0; }
.prose .hd-table td:not(:first-child):last-child, .prose .hd-table th:not(:first-child):last-child { text-align: right; }
.prose .hd-table--total tr:last-child td, .prose .hd-table--total tr:last-child th { background: var(--brand-soft); color: var(--brand-2); font-weight: 700; border-top: 2px solid var(--brand); }
@media (max-width: 560px) { .prose .hd-table { font-size: .85rem; } .prose .hd-table th, .prose .hd-table td { padding: 9px 10px; } }

.prose .hd-meter { list-style: none; margin: 1.4em 0; padding: 20px; display: grid; gap: 16px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); }
.hd-meter > li { display: grid; grid-template-columns: 1fr auto; gap: 6px 12px; align-items: baseline; margin: 0; font-size: .92rem; }
.hd-meter > li > p { display: contents; }
.hd-meter > li::after { content: ""; grid-column: 1 / -1; height: 10px; border-radius: 99px;
  background: linear-gradient(90deg, var(--brand), #3a9a93) 0 0 / var(--pct, 0%) 100% no-repeat, var(--sand); }
.hd-meter > li:first-child::after { background: linear-gradient(90deg, var(--accent), #e08a67) 0 0 / var(--pct, 0%) 100% no-repeat, var(--sand); }
.hd-meter strong { text-align: right; white-space: nowrap; }

.hd-compare { display: grid; gap: 14px; margin: 1.5em 0; }
@media (min-width: 640px) { .hd-compare { grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); } }
.hd-compare__item { padding: 18px 18px 16px; background: var(--surface); border: 1px solid var(--line); border-top: 4px solid var(--brand); border-radius: var(--radius-sm); font-size: .95rem; }
.hd-compare__item:nth-child(3n+2) { border-top-color: var(--accent); }
.hd-compare__item:nth-child(3n+3) { border-top-color: var(--ok); }
.prose .hd-compare__item h3 { margin: 0 0 .4em; font-size: 1.1rem; }
.prose .hd-compare__item ul { margin-bottom: 0; }
.hd-compare__item > :last-child { margin-bottom: 0; }

/* two-column layouts */
.layout { display: grid; gap: 32px; }
@media (min-width: 1000px) {
  .layout { grid-template-columns: minmax(0, 1fr) 360px; gap: 48px; }
  .layout--wide-aside { grid-template-columns: minmax(0, 1fr) 380px; }
  .sticky { position: sticky; top: 88px; }
}
.aside-stack { display: grid; gap: 20px; align-content: start; }

/* property page */
.gallery { display: grid; gap: 8px; grid-template-columns: 2fr 1fr; grid-template-rows: 1fr 1fr; aspect-ratio: 16 / 9; border-radius: var(--radius); overflow: hidden; margin-bottom: 8px; }
.gallery > * { background: var(--sand); position: relative; overflow: hidden; }
.gallery > :first-child { grid-row: span 2; }
.gallery img { width: 100%; height: 100%; object-fit: cover; }
.gallery__note { font-size: .8rem; color: var(--muted); margin-bottom: 20px; }
.facts { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; margin: 20px 0; }
.facts div { background: var(--surface); padding: 12px 14px; }
.facts dt { font-size: .8rem; color: var(--muted); }
.facts dd { margin: 0; font-weight: 700; }
@media (min-width: 640px) { .facts { grid-template-columns: repeat(4, 1fr); } }
.pricebox { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 14px; }
.pricebox strong { font: 700 2rem/1.1 var(--serif); }
.pricebox span { color: var(--muted); }
.block { padding: 28px 0; border-top: 1px solid var(--line); }
.block > h2 { font-size: 1.5rem; }
.notice { display: flex; gap: 14px; align-items: flex-start; padding: 16px 18px; border-radius: var(--radius); background: var(--brand-soft); color: var(--brand-2); margin: 20px 0; }
.notice svg { flex: none; width: 28px; height: 28px; }
.notice strong { display: block; }
.notice p { margin: .2em 0 .6em; color: var(--ink-2); }
.notice--warn { background: var(--warn-soft); color: var(--warn); }
.notice--warn p { color: #5c4a14; }
.notice--example { background: #fff4d6; color: #6f5200; border: 1px dashed #d9b650; margin: 0 0 16px; }
.features { columns: 2; column-gap: 24px; padding-left: 1.1em; }
.features li { margin-bottom: 6px; break-inside: avoid; }
.list-plain { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.airport { display: flex; gap: 12px; align-items: center; }
.airport b { flex: none; width: 52px; height: 36px; border-radius: 8px; background: var(--ink); color: var(--bg); display: grid; place-items: center; font-size: .85rem; letter-spacing: .05em; }
.airport span { color: var(--muted); font-size: .9rem; }
.living { display: grid; gap: 24px; }
@media (min-width: 760px) { .living { grid-template-columns: 1fr 1fr; } }

/* charts */
.bars { display: grid; gap: 10px; }
.bar { display: grid; grid-template-columns: 110px 1fr 48px; gap: 10px; align-items: center; font-size: .92rem; }
.bar__track { height: 12px; border-radius: 99px; background: var(--sand); overflow: hidden; }
.bar__fill { height: 100%; border-radius: 99px; background: var(--brand); }
.bar b { text-align: right; }
.climate { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 4px; align-items: end; }
.climate__m { display: flex; flex-direction: column; align-items: center; gap: 4px; font-size: .72rem; color: var(--muted); padding: 6px 0; border-radius: 8px; }
.climate__m.hur { background: var(--accent-soft); }
.climate__rain { width: 70%; max-width: 22px; background: #7fb2c4; border-radius: 4px 4px 0 0; min-height: 2px; }
.climate__rainbox { height: 90px; display: flex; align-items: end; justify-content: center; width: 100%; }
.climate__t { color: var(--ink); font-weight: 700; font-size: .78rem; }
.climate__legend { display: flex; flex-wrap: wrap; gap: 14px; font-size: .82rem; color: var(--muted); margin-top: 10px; }
.climate__legend i { display: inline-block; width: 12px; height: 12px; border-radius: 3px; vertical-align: -1px; margin-right: 5px; }

/* calculators */
.calc { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; }
.calc h3 { margin-bottom: .2em; }
.calc__grid { display: grid; gap: 12px; margin: 16px 0; }
@media (min-width: 640px) { .calc__grid { grid-template-columns: 1fr 1fr; } }
.calc__out { background: var(--sand); border-radius: var(--radius-sm); padding: 16px; display: grid; gap: 6px; }
.calc__row { display: flex; justify-content: space-between; gap: 12px; font-size: .95rem; }
.calc__row--total { border-top: 1px solid var(--line); padding-top: 8px; margin-top: 4px; font-weight: 800; font-size: 1.08rem; }
.calc__big { font: 700 1.8rem/1.1 var(--serif); color: var(--brand-2); }
.calc__verdict { font-weight: 700; color: var(--brand-2); }

/* forms */
.field { display: grid; gap: 5px; }
.field label, .field .label { font-size: .88rem; font-weight: 600; color: var(--ink-2); }
.field small { color: var(--muted); font-weight: 400; }
input, select, textarea { width: 100%; font: 16px/1.4 var(--sans); color: var(--ink); background: var(--surface); border: 1.5px solid var(--line); border-radius: 10px; padding: 10px 12px; min-height: 44px; }
input:focus, select:focus, textarea:focus { border-color: var(--brand); outline: none; box-shadow: 0 0 0 3px var(--brand-soft); }
textarea { min-height: 96px; resize: vertical; }
.check { display: flex; gap: 10px; align-items: flex-start; font-size: .88rem; color: var(--ink-2); }
.check input { width: 20px; height: 20px; min-height: 0; flex: none; margin-top: 2px; accent-color: var(--brand); }
.form { display: grid; gap: 12px; }
.form__note { font-size: .8rem; color: var(--muted); margin: 0; }
.form__status { font-size: .92rem; font-weight: 600; margin: 0; }
.form__status.ok { color: var(--ok); }
.form__status.err { color: #b3261e; }
.hp { position: absolute !important; left: -9999px !important; }
.panel { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; box-shadow: var(--shadow); }
.panel h2, .panel h3 { font-size: 1.25rem; margin-bottom: .3em; }
.panel__sep { display: flex; align-items: center; gap: 10px; color: var(--muted); font-size: .85rem; margin: 14px 0; }
.panel__sep::before, .panel__sep::after { content: ""; flex: 1; height: 1px; background: var(--line); }
.panel--soft { background: var(--sand); box-shadow: none; }
.inline-form { display: flex; gap: 8px; flex-wrap: wrap; }
.inline-form input { flex: 1 1 200px; }

/* agent */
.agent { display: grid; grid-template-columns: 56px 1fr; gap: 14px; align-items: start; }
.avatar { width: 56px; height: 56px; border-radius: 50%; background: var(--brand-soft); color: var(--brand-2); display: grid; place-items: center; font: 700 1.2rem var(--serif); overflow: hidden; }
.avatar img { width: 100%; height: 100%; object-fit: cover; }
.agent h3 { margin: 0 0 2px; font-size: 1.1rem; }
.agent__meta { font-size: .88rem; color: var(--muted); display: grid; gap: 2px; margin: 6px 0; }
.agent__actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; }
.agent-card { scroll-margin-top: 96px; }
.agent-card:target { outline: 3px solid var(--accent); }
.role-group + .role-group { margin-top: 36px; }

/* lead magnet box */
.magnet { display: grid; gap: 18px; align-items: center; background: linear-gradient(135deg, var(--accent-soft), #fff); border: 1px solid #f0d6c9; border-radius: var(--radius); padding: 22px; }
.magnet h3 { margin: 6px 0 4px; }
.magnet__doc { width: 84px; height: 108px; border-radius: 6px; background: #fff; box-shadow: var(--shadow); display: grid; place-items: center; color: var(--accent); font: 700 1.6rem var(--serif); border-top: 10px solid var(--accent); }
@media (min-width: 700px) { .magnet { grid-template-columns: auto 1fr; } .magnet--wide { grid-template-columns: auto 1fr 1fr; } }

/* services directory: phase overview, category bands, provider cards (tones come from .tone--*) */
.svc-overview { margin: 8px 0 12px; scroll-margin-top: 84px; }
.svc-phases { display: grid; gap: 16px; }
@media (min-width: 900px) { .svc-phases { grid-template-columns: repeat(3, 1fr); } }
.svc-phase { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px; }
.svc-phase__title { display: flex; align-items: center; gap: 10px; font: 700 .8rem/1.2 var(--sans); letter-spacing: .08em; text-transform: uppercase; color: var(--muted); margin: 0 0 14px; }
.svc-phase__num { flex: none; width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; background: var(--brand); color: var(--on-brand); letter-spacing: 0; }
.svc-tiles { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.svc-tile { position: relative; display: flex; align-items: center; gap: 12px; padding: 8px 12px 8px 8px; border-radius: 12px; background: var(--t-soft); color: var(--ink); text-decoration: none;
  border: 1px solid transparent; transition: border-color .15s, transform .15s; }
.svc-tile:hover { color: var(--ink); border-color: color-mix(in srgb, var(--t) 45%, transparent); transform: translateX(2px); }
.svc-tile img { flex: none; width: 72px; height: 48px; object-fit: cover; border-radius: 8px; }
.svc-tile__text { flex: 1; min-width: 0; }
.svc-tile strong { display: block; font-size: .95rem; line-height: 1.3; }
.svc-tile small { color: var(--muted); font-size: .8rem; }
.svc-tile .gicon { width: 34px; height: 34px; border-radius: 10px; box-shadow: none; }
.svc-tile .gicon svg { width: 18px; height: 18px; }
.svc-cat { padding: 44px 0 8px; scroll-margin-top: 72px; }
.svc-head { display: grid; gap: 18px; align-items: center; margin-bottom: 22px; }
@media (min-width: 760px) { .svc-head { grid-template-columns: minmax(260px, 340px) 1fr; gap: 32px; } }
.svc-head__media { position: relative; aspect-ratio: 9 / 5; border-radius: var(--radius); overflow: hidden; background: var(--t-soft); box-shadow: inset 0 0 0 1px var(--line); }
.svc-head__media img { width: 100%; height: 100%; object-fit: cover; }
.svc-head__media .gicon { position: absolute; left: 14px; bottom: 14px; }
.svc-head .eyebrow { color: var(--t); }
.svc-head h2 { margin-bottom: .3em; }
.svc-head p { color: var(--ink-2); max-width: 62ch; margin: 0 0 .6em; }
.svc-head__links { display: flex; flex-wrap: wrap; gap: 6px 20px; font-size: .92rem; }
.svc-head__top { color: var(--muted); text-decoration: none; }
.svcard { padding: 20px; gap: 10px; border-top: 3px solid var(--t); transition: box-shadow .15s; }
.svcard:hover { box-shadow: var(--shadow); }
.svcard__top { display: flex; align-items: flex-start; justify-content: space-between; gap: 10px; margin-bottom: 4px; }
.svcard .gicon, .svcard__logo { width: 48px; height: 48px; border-radius: 13px; }
.svcard .gicon { background: var(--t-soft); box-shadow: none; }
.svcard .gicon svg { width: 24px; height: 24px; }
.svcard__logo { object-fit: cover; }
.svcard__badges { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 6px; }
.svcard h3 { font: 600 1.12rem/1.3 var(--serif); margin: 0; }
.svcard p { margin: 0; color: var(--ink-2); font-size: .95rem; }
.svcard .svcard__tagline { color: var(--t); font-weight: 600; font-size: .92rem; }
.svcard__foot { margin-top: auto; padding-top: 12px; border-top: 1px dashed var(--line); font-size: .9rem; }
.svcard__foot a { font-weight: 600; }
.svc-join { margin-top: 52px; }

/* lists */
.news { display: grid; gap: 18px; }
.news article { padding-bottom: 18px; border-bottom: 1px solid var(--line); }
.news time { font-size: .85rem; color: var(--muted); }
.news h2 { font-size: 1.35rem; margin: 4px 0 6px; }
.news h2 a { color: var(--ink); text-decoration: none; }
.dir-card .card__body { gap: 4px; }
.meta-row { display: flex; flex-wrap: wrap; gap: 6px 16px; font-size: .88rem; color: var(--muted); }
.two-col-list { display: grid; gap: 20px; }
@media (min-width: 760px) { .two-col-list { grid-template-columns: 1fr 1fr; } }
.check-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.check-list li { display: flex; gap: 10px; }
.check-list li::before { content: "+"; flex: none; width: 22px; height: 22px; border-radius: 50%; background: var(--ok-soft); color: var(--ok); display: grid; place-items: center; font-weight: 800; }
.check-list--cons li::before { content: "!"; background: var(--warn-soft); color: var(--warn); }
.stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 12px; }
.stat { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 14px 16px; }
.stat span { display: block; font-size: .82rem; color: var(--muted); }
.stat strong { font: 700 1.35rem/1.25 var(--serif); }
.stats--light .stat { background: var(--sand); border-color: transparent; }

/* dialog */
dialog { border: 0; border-radius: var(--radius); padding: 24px; background: var(--surface); color: var(--ink); max-width: min(520px, calc(100vw - 32px)); width: 100%; box-shadow: 0 20px 60px rgba(0,0,0,.25); }
dialog::backdrop { background: rgba(29, 42, 47, .5); }
.dialog__close { position: absolute; right: 12px; top: 12px; border: 0; background: var(--sand); color: var(--ink); width: 36px; height: 36px; border-radius: 50%; font-size: 1.2rem; cursor: pointer; }
.report-link { background: none; border: 0; padding: 0; font: inherit; color: var(--muted); text-decoration: underline; cursor: pointer; font-size: .9rem; }

/* floating whatsapp */
.wa-float { position: fixed; right: 16px; bottom: 16px; z-index: 50; width: 58px; height: 58px; border-radius: 50%; background: var(--wa); color: #fff; display: grid; place-items: center; box-shadow: 0 6px 20px rgba(31, 157, 85, .4); transition: transform .15s; }
.wa-float:hover { transform: scale(1.06); color: #fff; }
.wa-float svg { width: 30px; height: 30px; }

/* footer */
.ftr { background: #16262a; color: #b8c6c9; padding: 48px 0 90px; font-size: .92rem; margin-top: 40px; }
.ftr a { color: #e8efef; text-decoration: none; }
.ftr a:hover { text-decoration: underline; }
.ftr__grid { display: grid; gap: 28px; }
.ftr h2 { font: 700 .78rem/1 var(--sans); text-transform: uppercase; letter-spacing: .1em; color: #8fa3a7; margin-bottom: 14px; }
.ftr ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.ftr .logo { color: #fff; margin-bottom: 12px; }
.ftr .logo span b { color: #8fd1c8; }
.ftr__legal { border-top: 1px solid #2c3f44; margin-top: 32px; padding-top: 20px; font-size: .8rem; display: grid; gap: 6px; }
@media (min-width: 760px) { .ftr__grid { grid-template-columns: 1.6fr 1fr 1fr 1fr; } }

/* panel (agent dashboard) */
.kpis { display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: 12px; margin: 20px 0; }
.chart { width: 100%; height: auto; }
.chart text { font: 11px var(--sans); fill: var(--muted); }
table.data { width: 100%; border-collapse: collapse; font-size: .92rem; }
table.data th, table.data td { padding: 9px 10px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
table.data th { font-size: .8rem; text-transform: uppercase; letter-spacing: .05em; color: var(--muted); }
.table-wrap { overflow-x: auto; }

@media (prefers-reduced-motion: reduce) { * { transition: none !important; scroll-behavior: auto !important; } }
@media print { .hdr, .topbar, .ftr, .wa-float, aside, .no-print { display: none !important; } body { background: #fff; } }
.calcs { grid-template-columns: repeat(auto-fit, minmax(min(100%, 380px), 1fr)); align-items: start; }
