/* BAHA Properties — forest green + gold, white surfaces (follows the BAHA homepage mockup) */
:root {
  --green: #1d4a2d;
  --green-dark: #133520;
  --green-soft: #e7efe9;
  --gold: #c9a23f;
  --gold-dark: #a5822a;
  --gold-soft: #fbf3e0;
  --ink: #1a1f1b;
  --ink-2: #59615b;
  --line: #e2e6e2;
  --soft: #f4f6f3;
  --white: #ffffff;
  --rent: #b8741a;
  --rent-soft: #fdf0dc;
  --wa: #1f9d55;
  --ok: #1d7a45;
  --err: #b3362c;
  --f-body: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --f-logo: "Cinzel", "Trajan Pro", Georgia, serif;
  --r: 12px;
  --shadow: 0 2px 6px rgba(20, 40, 28, .06), 0 12px 32px rgba(20, 40, 28, .09);
  --bar: #133520;
  --brand: #1d4a2d;
  --on-gold: #133520;
  --ok-soft: #e3f3e8;
  --err-soft: #fbe6e3;
  --overlay-btn: rgba(255, 255, 255, .94);
  --link-hover: #133520;
  color-scheme: light;
}

/* Dark theme: follows the device setting unless the visitor picked light; the toggle sets data-theme */
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --green: #3a8a57; --green-dark: #2c6e45; --green-soft: #1a2b21;
    --gold: #d4ae4c; --gold-dark: #e2c070; --gold-soft: #2b2617;
    --ink: #e7ece8; --ink-2: #a6b0a9; --line: #2b352f; --soft: #151c18; --white: #0e1411;
    --rent: #e2a04f; --rent-soft: #2e2417; --ok: #6fd19a; --err: #f08a80; --ok-soft: #173023; --err-soft: #3a1c19; --link-hover: #7cc79a;
    --shadow: 0 2px 6px rgba(0, 0, 0, .35), 0 12px 32px rgba(0, 0, 0, .35);
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --green: #3a8a57; --green-dark: #2c6e45; --green-soft: #1a2b21;
  --gold: #d4ae4c; --gold-dark: #e2c070; --gold-soft: #2b2617;
  --ink: #e7ece8; --ink-2: #a6b0a9; --line: #2b352f; --soft: #151c18; --white: #0e1411;
  --rent: #e2a04f; --rent-soft: #2e2417; --ok: #6fd19a; --err: #f08a80; --ok-soft: #173023; --err-soft: #3a1c19; --link-hover: #7cc79a;
  --shadow: 0 2px 6px rgba(0, 0, 0, .35), 0 12px 32px rgba(0, 0, 0, .35);
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
fieldset { min-width: 0; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; background: var(--white); color: var(--ink); font: 16px/1.6 var(--f-body); }
img { max-width: 100%; display: block; }
a { color: var(--green); }
a:hover { color: var(--link-hover); }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 2px; }
h1, h2, h3 { line-height: 1.15; margin: 0 0 .45em; letter-spacing: -.02em; text-wrap: balance; font-weight: 800; }
h1 { font-size: clamp(2rem, 4.5vw, 3.2rem); }
h2 { font-size: clamp(1.45rem, 2.6vw, 2rem); }
h3 { font-size: 1.1rem; font-weight: 700; letter-spacing: -.01em; }
p { margin: 0 0 1em; }
.wrap { max-width: 1200px; margin: 0 auto; padding-inline: clamp(16px, 4vw, 32px); }
.narrow { max-width: 760px; }
.center { text-align: center; }
.muted { color: var(--ink-2); }
.small { font-size: .88rem; }
.gold { color: var(--gold); }
.eyebrow { font-size: .8rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; margin: 0 0 .5em; color: var(--green); }
.eyebrow-gold { color: var(--gold); }
.prose { max-width: 70ch; }
.lead { font-size: 1.12rem; max-width: 62ch; opacity: .9; }
.lead-dark { font-size: 1.05rem; color: var(--ink-2); max-width: 70ch; }
.sr-only, .hp { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--green); color: #fff; padding: 8px 14px; z-index: 99; }
.skip:focus { left: 8px; }
.linkbtn { background: none; border: 0; padding: 0; color: var(--green); font-weight: 600; cursor: pointer; display: inline-flex; align-items: center; gap: 6px; }

/* icons */
.ic { width: 22px; height: 22px; flex: none; }
.ic-xs { width: 13px; height: 13px; }
.ic-sm { width: 17px; height: 17px; }
.ic-lg { width: 34px; height: 34px; }
.ic-xl { width: 46px; height: 46px; }

/* buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 11px 20px; border-radius: 8px; border: 1.5px solid transparent; font-weight: 700; text-decoration: none; cursor: pointer; line-height: 1.2; transition: background .15s, border-color .15s, color .15s, transform .15s; white-space: nowrap; }
.btn-block { width: 100%; }
.btn-lg { padding: 15px 26px; font-size: 1.02rem; }
.btn-green { background: var(--green); color: #fff; }
.btn-green:hover { background: var(--green-dark); color: #fff; }
.btn-gold { background: var(--gold); color: var(--on-gold); }
.btn-gold:hover { background: #d8b453; color: var(--on-gold); }
.btn-outline { background: var(--white); border-color: var(--line); color: var(--ink); }
.btn-outline:hover { border-color: var(--green); color: var(--green); }
.btn-ghost-light { border-color: rgba(255,255,255,.5); color: #fff; }
.btn-ghost-light:hover { border-color: #fff; color: #fff; background: rgba(255,255,255,.08); }
.btn-wa { background: var(--wa); color: #fff; }
.btn-wa:hover { background: #188446; color: #fff; }

/* top bar + header */
.topbar { background: var(--bar); color: #dfe8e1; font-size: .82rem; }
.topbar-in { display: flex; justify-content: space-between; align-items: center; gap: 16px; min-height: 38px; flex-wrap: wrap; }
.topbar a { color: #dfe8e1; text-decoration: none; display: inline-flex; align-items: center; gap: 6px; }
.topbar a:hover { color: #fff; }
.topbar-welcome { display: inline-flex; align-items: center; gap: 8px; }
.topbar-contact { display: flex; gap: 20px; align-items: center; flex-wrap: wrap; }
.topbar-social { display: inline-flex; gap: 12px; padding-left: 16px; border-left: 1px solid rgba(255,255,255,.25); }
.topbar-social .ic { width: 15px; height: 15px; }
.topbar-tools { display: inline-flex; align-items: center; gap: 12px; padding-left: 16px; border-left: 1px solid rgba(255,255,255,.25); }
.lang-switch { display: inline-flex; border: 1px solid rgba(255,255,255,.3); border-radius: 6px; overflow: hidden; }
.lang-switch a { padding: 2px 8px; font-weight: 700; font-size: .75rem; letter-spacing: .04em; }
.lang-switch a[aria-current] { background: var(--gold); color: #133520; }
.theme-toggle { background: none; border: 1px solid rgba(255,255,255,.3); border-radius: 6px; color: #dfe8e1; padding: 3px 6px; cursor: pointer; display: inline-flex; align-items: center; }
.theme-toggle:hover { color: #fff; border-color: #fff; }
.theme-toggle .when-dark { display: none; }
:root[data-theme="dark"] .theme-toggle .when-dark { display: inline-flex; }
:root[data-theme="dark"] .theme-toggle .when-light { display: none; }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .theme-toggle .when-dark { display: inline-flex; }
  :root:not([data-theme="light"]) .theme-toggle .when-light { display: none; }
}

.site-header { position: sticky; top: 0; z-index: 40; background: var(--white); transition: background .2s; border-bottom: 1px solid var(--line); }
.header-in { display: flex; align-items: center; gap: 18px; min-height: 84px; }
.logo { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--green); flex: none; }
.logo:hover { color: var(--green); }
.logo-mark { width: 52px; height: 48px; }
.logo-text { display: flex; flex-direction: column; line-height: 1; }
.logo-text b { font-family: var(--f-logo); font-size: 2rem; letter-spacing: .04em; color: var(--green); }
.logo-text small { font-family: var(--f-logo); font-size: .82rem; letter-spacing: .32em; color: var(--gold); margin-top: 3px; white-space: nowrap; }
.logo-img { max-height: 56px; width: auto; }
.site-nav { display: flex; align-items: center; gap: 4px; margin-left: auto; }
.site-nav a { color: var(--ink); text-decoration: none; font-weight: 600; font-size: .95rem; padding: 8px 10px; border-radius: 6px; position: relative; white-space: nowrap; }
@media (min-width: 1061px) {
  .saved-label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
}
.site-nav a:hover { color: var(--green); }
.site-nav a[aria-current]::after { content: ""; position: absolute; left: 11px; right: 11px; bottom: -4px; height: 2.5px; background: var(--green); border-radius: 2px; }
.nav-saved { display: inline-flex; align-items: center; gap: 5px; }
.nav-saved [data-saved-count]:not(:empty) { background: var(--gold); color: var(--on-gold); border-radius: 10px; padding: 0 7px; font-size: .75rem; }
.nav-cta { flex: none; }
.nav-cta-mobile { display: none !important; }
.nav-toggle { display: none; margin-left: auto; background: none; border: 1.5px solid var(--line); border-radius: 8px; padding: 8px; cursor: pointer; color: var(--green); }

/* hero */
.hero { position: relative; color: #fff; background-color: var(--bar);
  background-image:
    linear-gradient(90deg, rgba(10, 24, 15, .88) 0%, rgba(10, 24, 15, .6) 45%, rgba(10, 24, 15, .15) 100%),
    var(--hero, url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1200 520' preserveAspectRatio='xMidYMid slice'%3E%3Cdefs%3E%3ClinearGradient id='s' x1='0' y1='0' x2='0' y2='1'%3E%3Cstop offset='0' stop-color='%23142a3a'/%3E%3Cstop offset='.7' stop-color='%23385a5a'/%3E%3Cstop offset='1' stop-color='%23c79a52'/%3E%3C/linearGradient%3E%3C/defs%3E%3Crect width='1200' height='520' fill='url(%23s)'/%3E%3Cpath d='M0 380 C150 330 260 360 380 320 S640 270 780 310 S1040 280 1200 300 V520 H0Z' fill='%23243f33'/%3E%3Cpath d='M0 430 C200 390 330 420 520 380 S860 360 1000 390 S1140 380 1200 370 V520 H0Z' fill='%23182e23'/%3E%3Cg fill='%23f4d58d'%3E%3Ccircle cx='420' cy='340' r='2'/%3E%3Ccircle cx='470' cy='332' r='1.6'/%3E%3Ccircle cx='520' cy='325' r='2'/%3E%3Ccircle cx='610' cy='300' r='1.6'/%3E%3Ccircle cx='700' cy='305' r='2'/%3E%3Ccircle cx='760' cy='312' r='1.6'/%3E%3Ccircle cx='860' cy='298' r='2'/%3E%3Ccircle cx='930' cy='300' r='1.6'/%3E%3Ccircle cx='1010' cy='292' r='2'/%3E%3Ccircle cx='560' cy='392' r='2'/%3E%3Ccircle cx='640' cy='378' r='1.6'/%3E%3Ccircle cx='720' cy='372' r='2'/%3E%3Ccircle cx='800' cy='380' r='1.6'/%3E%3Ccircle cx='900' cy='366' r='2'/%3E%3Ccircle cx='980' cy='372' r='1.6'/%3E%3C/g%3E%3C/svg%3E"));
  background-size: cover; background-position: center; }
.hero-in { padding-block: clamp(48px, 7vw, 88px) clamp(120px, 12vw, 150px); }
.hero h1 { font-size: clamp(2.3rem, 5.2vw, 3.9rem); color: #fff; max-width: 18ch; }
.hero h1 span { color: var(--gold); }
.hero-sub { font-size: 1.12rem; max-width: 42ch; color: #e7ece8; }

/* search card */
.search-wrap { position: relative; z-index: 5; margin-top: clamp(-110px, -9vw, -80px); }
.search-card { background: var(--white); border-radius: 14px; box-shadow: var(--shadow); padding: clamp(18px, 2.6vw, 28px); }
.search-title { font-size: 1.05rem; font-weight: 700; margin-bottom: 14px; letter-spacing: 0; }
.cat-tabs { border: 0; margin: 0 0 20px; padding: 0; display: flex; gap: 10px; flex-wrap: wrap; }
.cat-tabs label { position: relative; }
.cat-tabs input { position: absolute; opacity: 0; }
.cat-tabs span { display: inline-flex; align-items: center; gap: 10px; padding: 12px 24px; border: 1.5px solid var(--line); border-radius: 8px; font-weight: 600; cursor: pointer; color: var(--ink); background: var(--white); min-width: 120px; justify-content: center; }
.cat-tabs span:hover { border-color: var(--green); }
.cat-tabs input:checked + span { background: var(--green); border-color: var(--green); color: #fff; }
.cat-tabs input:focus-visible + span { outline: 3px solid var(--gold); outline-offset: 2px; }
.search-fields { display: grid; grid-template-columns: 1.3fr 1.2fr 1fr 1fr auto; gap: 14px; align-items: end; }
.select-ic { position: relative; }
.select-ic .ic { position: absolute; left: 12px; top: 50%; transform: translateY(-50%); color: var(--ink-2); pointer-events: none; }
.select-ic select { padding-left: 38px !important; }
.popular { margin: 18px 0 0; display: flex; flex-wrap: wrap; gap: 6px 22px; font-size: .9rem; }
.popular span { color: var(--ink); font-weight: 500; }
.popular a { color: var(--ink-2); }
.popular a:hover { color: var(--green); }

/* forms */
.field { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.field label, .mode-pick legend, .amen-pick legend { font-size: .86rem; font-weight: 700; color: var(--ink); }
.field input, .field select, .field textarea { width: 100%; background: var(--white); border: 1.5px solid var(--line); border-radius: 8px; padding: 11px 12px; min-height: 46px; }
.field input[type=file] { padding: 9px; background: var(--soft); }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--green); outline: none; box-shadow: 0 0 0 3px rgba(29, 74, 45, .14); }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.field-row.three { grid-template-columns: repeat(3, 1fr); }
.field-row.four { grid-template-columns: repeat(4, 1fr); }
.span-2 { grid-column: span 2; }
.stack { display: grid; gap: 14px; }
.check { display: flex; gap: 9px; align-items: flex-start; font-weight: 500; cursor: pointer; }
.check input { width: 18px; height: 18px; margin-top: 3px; accent-color: var(--green); flex: none; }
.alert { padding: 12px 14px; border-radius: 8px; margin-bottom: 14px; font-weight: 600; font-size: .95rem; }
.alert.ok { background: var(--ok-soft); color: var(--ok); }
.alert.err { background: var(--err-soft); color: var(--err); }
.mode-pick, .amen-pick { border: 0; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.mode-pick legend, .amen-pick legend { margin-bottom: 8px; width: 100%; }
.mode-pick label { position: relative; flex: 1 1 140px; }
.mode-pick input { position: absolute; opacity: 0; }
.mode-pick span { display: flex; align-items: center; justify-content: center; gap: 8px; padding: 10px; border: 1.5px solid var(--line); border-radius: 8px; font-weight: 600; cursor: pointer; font-size: .92rem; }
.mode-pick input:checked + span { border-color: var(--green); background: var(--green-soft); color: var(--green); }
.mode-pick input:focus-visible + span { outline: 3px solid var(--gold); }
.amen-pick { display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 8px 16px; }

/* trust strip */
.trust { background: var(--soft); margin-top: 36px; border-block: 1px solid var(--line); }
.trust-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 20px; padding-block: 28px; }
.trust-grid > div { display: flex; gap: 12px; align-items: flex-start; }
.trust-grid .ic { color: var(--green); }
.trust-grid p { margin: 0; font-size: .8rem; color: var(--ink-2); line-height: 1.45; }
.trust-grid b { display: block; color: var(--ink); font-size: .88rem; margin-bottom: 2px; }

/* sections */
.section { padding-block: clamp(44px, 6vw, 72px); }
.section-soft { background: var(--soft); }
.sec-head { display: flex; justify-content: space-between; align-items: end; gap: 16px; flex-wrap: wrap; margin-bottom: 24px; }
.sec-head h2 { margin: 0; }
.link-arrow { font-weight: 700; text-decoration: none; display: inline-flex; align-items: center; gap: 6px; }
.empty { border: 1.5px dashed var(--line); border-radius: var(--r); padding: 40px 20px; text-align: center; color: var(--ink-2); background: var(--white); }
.page-head { padding-block: 40px 28px; background: var(--soft); border-bottom: 1px solid var(--line); margin-bottom: 32px; }
.page-head h1 { margin-bottom: .2em; }
.page-head-green { background: var(--brand); color: #fff; border: 0; padding-block: clamp(44px, 6vw, 72px); margin-bottom: 0; }
.page-head-green h1 { color: #fff; max-width: 22ch; }

/* cards */
.cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 24px; }
.card { display: flex; flex-direction: column; background: var(--white); border-radius: var(--r); overflow: hidden; border: 1px solid var(--line); box-shadow: 0 1px 3px rgba(20,40,28,.05); transition: transform .2s, box-shadow .2s; min-width: 0; }
.card:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.card-img { position: relative; display: block; text-decoration: none; aspect-ratio: 4 / 3; background: var(--soft); overflow: hidden; }
.card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.card:hover .card-img img { transform: scale(1.04); }
.card-tags { position: absolute; left: 10px; right: 10px; top: 10px; display: flex; justify-content: space-between; gap: 6px; flex-wrap: wrap; pointer-events: none; }
.card-tags .tag-verified { margin-left: auto; }
.tag { display: inline-flex; align-items: center; gap: 4px; padding: 4px 9px; border-radius: 5px; font-size: .68rem; font-weight: 800; letter-spacing: .05em; text-transform: uppercase; background: var(--white); color: var(--ink); }
.tag-featured { background: var(--green); color: #fff; }
.tag-verified { background: var(--green); color: #fff; }
.tag-verified .ic { color: var(--gold); }
.tag-status { background: var(--rent); color: #fff; }
.card-media { position: absolute; left: 10px; bottom: 10px; display: flex; gap: 6px; }
.card-media span { display: inline-flex; align-items: center; gap: 4px; background: rgba(0,0,0,.6); color: #fff; font-size: .75rem; font-weight: 600; padding: 3px 8px; border-radius: 5px; }
.card-body { padding: 16px 18px 14px; display: flex; flex-direction: column; flex: 1; gap: 4px; }
.card-title { font-size: 1.05rem; margin: 0; }
.card-title a { color: var(--ink); text-decoration: none; }
.card-title a:hover { color: var(--green); }
.card-title a::after { content: ""; position: absolute; inset: 0; }
.card { position: relative; }
.card-loc { display: flex; align-items: center; gap: 5px; color: var(--ink-2); font-size: .86rem; margin: 0; }
.card-price { font-size: 1.25rem; font-weight: 800; color: var(--green); margin: 6px 0 0; }
.card-price small { font-size: .85rem; font-weight: 700; }
.card-price-rent { display: block; font-size: 1rem; color: var(--rent); margin-top: 2px; }
.pills { display: inline-flex; gap: 6px; flex-wrap: wrap; }
.purpose-pick { border: 0; margin: 0; padding: 0; gap: 6px; }
.purpose-pick legend { font-size: .86rem; font-weight: 700; margin-bottom: 6px; padding: 0; }
.purpose-pick .check { padding: 4px 0; align-items: center; }
.field .purpose-pick input, .purpose-pick input[type=checkbox] { width: 18px; min-height: 0; margin: 0; padding: 0; }
.purpose-pick legend .muted { display: block; font-weight: 500; font-size: .8rem; }
.card-facts { display: flex; flex-wrap: wrap; gap: 6px 12px; font-size: .8rem; color: var(--ink-2); margin: 4px 0 0; }
.card-facts span { display: inline-flex; align-items: center; gap: 5px; }
.card-foot { margin-top: auto; padding-top: 12px; display: flex; justify-content: space-between; align-items: center; }
.pill { display: inline-block; padding: 4px 10px; border-radius: 6px; font-size: .7rem; font-weight: 800; letter-spacing: .05em; text-transform: uppercase; }
.pill-sale { background: var(--green-soft); color: var(--green); }
.pill-rent { background: var(--rent-soft); color: var(--rent); }
.pill-invest { background: var(--gold-soft); color: var(--gold-dark); }
.fav { position: relative; z-index: 2; background: none; border: 0; padding: 4px; cursor: pointer; color: var(--ink-2); border-radius: 50%; display: inline-flex; }
.fav:hover { color: #c0392b; }
.fav[aria-pressed="true"] { color: #c0392b; }
.fav[aria-pressed="true"] svg { fill: currentColor; }
.fav-inline { gap: 5px; align-items: center; font-weight: 600; border-radius: 6px; }

.ph { width: 100%; height: 100%; display: grid; place-content: center; justify-items: center; gap: 8px; color: var(--ink-2); background: linear-gradient(135deg, var(--soft), var(--green-soft)); font-size: .85rem; font-weight: 600; }
.ph .ic { width: 32px; height: 32px; color: var(--green); opacity: .5; }

/* carousel */
.carousel { position: relative; }
.car-track { display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - 3 * 22px) / 4); gap: 22px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; padding: 4px 2px 10px; }
.car-track::-webkit-scrollbar { display: none; }
.car-track > * { scroll-snap-align: start; }
.car-btn { position: absolute; top: 42%; z-index: 3; width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line); background: var(--white); box-shadow: var(--shadow); display: grid; place-items: center; cursor: pointer; color: var(--ink); }
.car-btn:hover { color: var(--green); border-color: var(--green); }
.car-prev { left: -22px; } .car-next { right: -22px; }
.car-btn[disabled] { opacity: .35; cursor: default; }

/* stats band */
.stats-band { background: var(--brand); border-radius: 14px; color: #fff; display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); padding: 28px 12px; margin-block: 8px 0; }
.stats-band > div { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 4px; padding: 6px 12px; }
.stats-band > div + div { border-left: 1px solid rgba(255,255,255,.18); }
.stats-band .ic { color: var(--gold); margin-bottom: 6px; }
.stats-band b { font-size: clamp(1.6rem, 3vw, 2rem); color: var(--gold); line-height: 1.1; }
.stats-band span { font-size: .92rem; color: #e9efe9; }

/* areas */
.areas { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 18px; }
.area { position: relative; min-height: 200px; border-radius: var(--r); overflow: hidden; display: flex; flex-direction: column; justify-content: flex-end; padding: 18px; color: #fff; text-decoration: none;
  background: linear-gradient(180deg, rgba(0,0,0,0) 30%, rgba(10,24,15,.85)), var(--img, linear-gradient(135deg, #2d6a43, #133520)); background-size: cover; background-position: center; transition: transform .2s; }
.area:hover { color: #fff; transform: translateY(-3px); }
.area-name { font-size: 1.35rem; font-weight: 800; }
.area-n { font-size: .9rem; opacity: .9; }

/* two promos */
.duo { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.duo-card { border-radius: 14px; padding: clamp(24px, 4vw, 40px); display: flex; flex-direction: column; align-items: flex-start; gap: 6px; }
.duo-card p { max-width: 48ch; }
.duo-diaspora { background: var(--brand); color: #fff; }
.duo-diaspora .ic { color: var(--gold); }
.duo-list { background: var(--white); border: 1px solid var(--line); }
.duo-list .ic { color: var(--green); }
.duo-card .btn { margin-top: auto; }

/* listing page */
.cat-links { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 16px; }
.cat-links a { display: inline-flex; align-items: center; gap: 6px; padding: 8px 14px; border-radius: 999px; border: 1.5px solid var(--line); background: var(--white); text-decoration: none; color: var(--ink); font-weight: 600; font-size: .9rem; }
.cat-links a[aria-current] { background: var(--green); border-color: var(--green); color: #fff; }
.listing-layout { display: grid; grid-template-columns: 280px 1fr; gap: 28px; align-items: start; padding-bottom: 64px; }
.filters { position: sticky; top: 100px; display: grid; gap: 14px; background: var(--white); padding: 20px; border-radius: var(--r); border: 1px solid var(--line); }
.results { min-width: 0; }
.results-only { padding-bottom: 64px; }
.results-count { font-weight: 700; margin: 0 0 14px; }
.pager { display: flex; justify-content: center; align-items: center; gap: 16px; margin-top: 32px; font-weight: 600; }

/* property page */
.crumbs { padding-top: 20px; font-size: .88rem; color: var(--ink-2); display: flex; gap: 8px; flex-wrap: wrap; align-items: center; }
.crumbs a { color: var(--ink-2); }
.gallery { padding-top: 14px; }
.gallery-main { position: relative; margin: 0; aspect-ratio: 16 / 8; width: 100%; border-radius: 14px; overflow: hidden; background: #111; }
.gallery-main img { width: 100%; height: 100%; object-fit: cover; }
.gallery-main.ph { background: linear-gradient(135deg, var(--soft), var(--green-soft)); }
.g-nav { position: absolute; top: 50%; transform: translateY(-50%); width: 46px; height: 46px; border-radius: 50%; border: 0; background: var(--overlay-btn); display: grid; place-items: center; cursor: pointer; color: #1a1f1b; }
.g-prev { left: 14px; } .g-next { right: 14px; }
.g-count { position: absolute; right: 14px; bottom: 14px; background: rgba(0,0,0,.62); color: #fff; padding: 3px 10px; border-radius: 6px; font-size: .85rem; font-weight: 600; }
.g-video { position: absolute; left: 14px; bottom: 14px; background: var(--green); color: #fff; padding: 8px 14px; border-radius: 8px; font-size: .88rem; font-weight: 700; text-decoration: none; display: inline-flex; gap: 6px; align-items: center; }
.g-video:hover { color: #fff; background: var(--green-dark); }
.thumbs { display: flex; gap: 8px; overflow-x: auto; padding: 10px 0 4px; }
.thumbs button { flex: 0 0 104px; height: 72px; padding: 0; border: 2px solid transparent; border-radius: 8px; overflow: hidden; cursor: pointer; background: none; opacity: .65; }
.thumbs button[aria-current] { border-color: var(--green); opacity: 1; }
.thumbs img { width: 100%; height: 100%; object-fit: cover; }
.detail { display: grid; grid-template-columns: 1fr 380px; gap: clamp(24px, 4vw, 48px); padding-block: 28px 64px; align-items: start; }
.detail-main { min-width: 0; }
.detail-main > h2 { font-size: 1.3rem; margin-top: 1.8em; }
.detail-head .pill { margin-right: 6px; }
.price-pair { display: flex; gap: 12px 36px; flex-wrap: wrap; margin-top: 4px; }
.price-pair p { margin: 0; }
.price-pair span { display: block; font-size: .78rem; font-weight: 700; color: var(--ink-2); text-transform: uppercase; letter-spacing: .05em; }
.price-pair .detail-price { display: inline; }
.price-pair p + p .detail-price { color: var(--rent); }
.detail-head h1 { margin-top: 12px; font-size: clamp(1.8rem, 3.6vw, 2.5rem); }
.detail-loc { display: flex; align-items: center; gap: 6px; color: var(--ink-2); }
.detail-price { font-size: clamp(1.6rem, 3vw, 2.1rem); font-weight: 800; color: var(--green); margin: 0; }
.detail-price small { font-size: .95rem; font-weight: 600; color: var(--ink-2); margin-left: 6px; }
.fact-row { list-style: none; padding: 18px 0; margin: 22px 0 0; display: flex; flex-wrap: wrap; gap: 14px 36px; border-block: 1px solid var(--line); }
.fact-row li { display: grid; grid-template-columns: auto auto; column-gap: 10px; align-items: center; }
.fact-row .ic { grid-row: span 2; color: var(--green); width: 28px; height: 28px; }
.fact-row b { font-size: 1.1rem; line-height: 1.1; }
.fact-row span { font-size: .8rem; color: var(--ink-2); }
.amenities { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 10px 20px; }
.amenities li { display: flex; align-items: center; gap: 8px; }
.amenities .ic { color: var(--green); background: var(--green-soft); border-radius: 50%; padding: 3px; width: 22px; height: 22px; }
.details { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); margin: 0; border-top: 1px solid var(--line); }
.details div { padding: 12px 12px 12px 0; border-bottom: 1px solid var(--line); }
.details dt { font-size: .78rem; font-weight: 700; color: var(--ink-2); text-transform: uppercase; letter-spacing: .05em; }
.details dd { margin: 2px 0 0; font-weight: 600; }
.video { position: relative; aspect-ratio: 16 / 9; width: 100%; border-radius: var(--r); overflow: hidden; background: #000; }
.video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.video-vertical { aspect-ratio: 9 / 16; max-width: 340px; }
video.video { display: block; height: auto; }
.map { aspect-ratio: 16 / 8; border-radius: var(--r); overflow: hidden; border: 1px solid var(--line); background: var(--soft); }
.map iframe { width: 100%; height: 100%; border: 0; }
.detail-side { position: sticky; top: 100px; }
.contact-box { background: var(--white); border: 1px solid var(--line); border-radius: 14px; padding: 22px; box-shadow: var(--shadow); }
.contact-box h2 { font-size: 1.3rem; }
.side-price { font-size: 1.5rem; font-weight: 800; color: var(--green); margin: 0; }
.side-price-rent { font-size: 1.15rem; color: var(--rent); }
.contact-actions { display: grid; grid-template-columns: 1fr; gap: 10px; margin: 14px 0 18px; }
.contact-actions .btn { padding-inline: 10px; }
.form-tabs { display: grid; grid-template-columns: 1fr 1fr; background: var(--soft); border-radius: 10px; padding: 4px; margin-bottom: 16px; }
.form-tabs button { border: 0; background: none; padding: 9px 6px; border-radius: 7px; font-weight: 700; font-size: .88rem; cursor: pointer; color: var(--ink-2); display: inline-flex; align-items: center; justify-content: center; gap: 6px; }
.form-tabs button[aria-selected="true"] { background: var(--white); color: var(--green); box-shadow: 0 1px 3px rgba(0,0,0,.1); }
.share { display: flex; gap: 14px; align-items: center; flex-wrap: wrap; margin-top: 18px; padding-top: 14px; border-top: 1px solid var(--line); font-size: .88rem; }
.share > span { color: var(--ink-2); }
.share a { display: inline-flex; gap: 5px; align-items: center; text-decoration: none; font-weight: 600; }
.mobile-cta { display: none; }

/* list property */
.list-layout { display: grid; grid-template-columns: 1fr 340px; gap: 32px; align-items: start; padding-block: 40px 64px; }
.list-form { display: grid; gap: 20px; min-width: 0; }
.panel { background: var(--white); border: 1px solid var(--line); border-radius: var(--r); padding: 22px; margin: 0; display: grid; gap: 16px; min-width: 0; }
.panel legend { font-size: 1.1rem; font-weight: 800; padding: 0 6px; margin-left: -6px; display: flex; align-items: center; gap: 10px; }
.panel h2 { font-size: 1.2rem; margin: 0; display: flex; align-items: center; gap: 8px; }
.panel-green { background: var(--brand); color: #fff; border-color: var(--brand); }
.panel-green .ic { color: var(--gold); }
.panel-green p { margin: 0; opacity: .9; }
.step { display: inline-grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: var(--green); color: #fff; font-size: .9rem; }
.confirm { background: var(--soft); padding: 14px; border-radius: 8px; }
.list-aside { display: grid; gap: 18px; position: sticky; top: 100px; }
.steps { list-style: none; counter-reset: s; padding: 0; margin: 0; display: grid; gap: 14px; }
.steps li { counter-increment: s; display: grid; grid-template-columns: 34px 1fr; column-gap: 12px; }
.steps li::before { content: counter(s); grid-row: span 2; width: 30px; height: 30px; border-radius: 50%; background: var(--gold-soft); color: var(--gold-dark); font-weight: 800; display: grid; place-items: center; }
.steps b { display: block; }
.steps span { color: var(--ink-2); font-size: .93rem; }
.photo-preview { display: grid; grid-template-columns: repeat(auto-fill, minmax(90px, 1fr)); gap: 8px; }
.photo-preview:empty { display: none; }
.photo-preview img { aspect-ratio: 4 / 3; object-fit: cover; border-radius: 6px; width: 100%; }
.done-mark { width: 84px; height: 84px; border-radius: 50%; background: var(--green-soft); color: var(--green); display: grid; place-items: center; margin: 0 auto 18px; }

/* invest / about */
.help-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 20px; }
.help-grid > div { border: 1px solid var(--line); border-radius: var(--r); padding: 24px; background: var(--white); }
.help-grid .ic { color: var(--green); margin-bottom: 10px; }
.help-grid p { color: var(--ink-2); margin-bottom: .6em; }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(24px, 5vw, 56px); align-items: start; }
.ticks { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.ticks li { display: flex; gap: 8px; align-items: center; }
.ticks .ic { color: var(--green); }
.packages { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin: 24px 0; }
.package { border: 1px solid var(--line); border-radius: var(--r); padding: 24px; position: relative; background: var(--white); }
.package-main { border: 2px solid var(--gold); }
.package .tag { position: absolute; top: -12px; left: 20px; }
.guides { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.guides h2 { font-size: 1.3rem; }
.legal h2 { font-size: 1.3rem; margin-top: 1.2em; }
.legal p { color: var(--ink-2); }

/* contact */
.contact-page { padding-block: 40px 64px; }
.contact-cards { display: grid; gap: 14px; }
.contact-card { display: flex; gap: 16px; align-items: center; padding: 18px 20px; border: 1px solid var(--line); border-radius: var(--r); text-decoration: none; color: var(--ink); background: var(--white); }
a.contact-card:hover { border-color: var(--green); color: var(--ink); }
.contact-card .ic { color: var(--green); }
.contact-card b { display: block; }
.contact-card span { color: var(--ink-2); }
.contact-social { display: flex; gap: 14px; align-items: center; color: var(--ink-2); }
.contact-social a { color: var(--green); }

/* footer */
.site-footer { background: var(--soft); border-top: 1px solid var(--line); margin-top: 0; }
.foot-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.1fr 1.4fr; gap: 32px; padding-block: 48px 36px; }
.foot-brand p { color: var(--ink-2); font-size: .9rem; margin-top: 14px; }
.foot-brand .logo-mark { width: 44px; height: 40px; }
.foot-brand .logo-text b { font-size: 1.7rem; }
.foot-brand .logo-text small { font-size: .62rem; letter-spacing: .24em; }
.foot-social, .contact-social { display: flex; gap: 14px; }
.foot-social a { color: var(--ink); }
.foot-social a:hover { color: var(--green); }
.site-footer h2 { font-size: .98rem; margin-bottom: 14px; letter-spacing: 0; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; font-size: .9rem; }
.site-footer ul a { color: var(--ink-2); text-decoration: none; }
.site-footer ul a:hover { color: var(--green); }
.foot-news p { font-size: .9rem; color: var(--ink-2); }
.foot-news form { display: grid; gap: 10px; }
.foot-news input { width: 100%; border: 1.5px solid var(--line); border-radius: 8px; padding: 11px 12px; background: var(--white); }
.foot-bar { background: var(--bar); color: #dfe8e1; font-size: .85rem; }
.foot-bar-in { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; padding-block: 16px; }
.foot-bar a { color: #dfe8e1; }
.heart { color: #e5534b; }
.wa-float { position: fixed; right: 18px; bottom: 18px; z-index: 50; width: 56px; height: 56px; border-radius: 50%; background: var(--wa); color: #fff; display: grid; place-items: center; box-shadow: 0 6px 20px rgba(0,0,0,.25); }
.wa-float:hover { color: #fff; transform: scale(1.06); }
.wa-float .ic { width: 30px; height: 30px; }

/* part offered, 360° tour, map views */
.part-chip { display: inline-flex; align-items: center; gap: 6px; margin: 0 0 10px; padding: 5px 12px; border-radius: 999px; background: var(--gold-soft); color: var(--gold-dark); font-weight: 700; font-size: .9rem; }
.card-facts .part { color: var(--gold-dark); font-weight: 700; }
.g-actions { position: absolute; left: 14px; bottom: 14px; display: flex; gap: 8px; flex-wrap: wrap; }
.g-actions .g-video { position: static; }
.pano { width: 100%; aspect-ratio: 16 / 9; border-radius: var(--r); overflow: hidden; background: #111; }
.pano-scenes { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 10px; }
.pano-scenes button, .map-tools button, .map-tools a { display: inline-flex; align-items: center; gap: 6px; padding: 7px 12px; border-radius: 8px; border: 1.5px solid var(--line); background: var(--white); color: var(--ink); font-weight: 600; font-size: .88rem; cursor: pointer; text-decoration: none; }
.pano-scenes button[aria-pressed="true"], .map-tools button[aria-pressed="true"] { background: var(--green); border-color: var(--green); color: #fff; }
.map-tools a:hover, .pano-scenes button:hover, .map-tools button:hover { border-color: var(--green); }
.map-tools { display: flex; gap: 8px; flex-wrap: wrap; margin: 0 0 10px; }
@media (max-width: 760px) { .pano { aspect-ratio: 4 / 3; } }

/* responsive */
@media (max-width: 1180px) {
  .site-nav a { padding-inline: 8px; font-size: .9rem; }
  .trust-grid { grid-template-columns: repeat(3, 1fr); }
  .foot-grid { grid-template-columns: 1fr 1fr 1fr; }
  .foot-brand, .foot-news { grid-column: span 3; }
  .foot-news form { grid-template-columns: 1fr auto; max-width: 520px; }
}
@media (max-width: 1060px) {
  .nav-toggle { display: inline-flex; }
  .nav-cta { display: none; }
  .site-nav { display: none; position: absolute; left: 0; right: 0; top: 100%; flex-direction: column; align-items: stretch; gap: 0; background: var(--white); border-bottom: 1px solid var(--line); padding: 8px 16px 18px; box-shadow: var(--shadow); margin: 0; }
  .site-nav.open { display: flex; }
  .site-nav a { padding: 13px 4px; border-bottom: 1px solid var(--line); border-radius: 0; font-size: 1rem; }
  .site-nav a[aria-current]::after { display: none; }
  .site-nav a[aria-current] { color: var(--green); }
  .nav-cta-mobile { display: inline-flex !important; margin-top: 14px; border-bottom: 0 !important; }
  .search-fields { grid-template-columns: 1fr 1fr; }
  .search-fields .btn { grid-column: 1 / -1; }
  .car-track { grid-auto-columns: calc((100% - 2 * 22px) / 3); }
  .listing-layout, .detail, .list-layout, .split, .duo, .guides { grid-template-columns: 1fr; }
  .filters, .detail-side, .list-aside { position: static; }
  .filters { grid-template-columns: 1fr 1fr; }
  .filters .check, .filters .btn { grid-column: 1 / -1; }
  .packages { grid-template-columns: 1fr; }
}
@media (max-width: 760px) {
  .topbar-welcome, .topbar-social, .topbar .topbar-email { display: none; }
  .topbar-contact { gap: 14px; }
  .topbar-tools { padding-left: 12px; }
  .topbar-in { justify-content: center; }
  .header-in { min-height: 70px; }
  .logo-mark { width: 42px; height: 38px; }
  .logo-text b { font-size: 1.6rem; }
  .logo-text small { font-size: .7rem; }
  .cat-tabs { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; margin-inline: -4px; padding: 2px 4px; }
  .cat-tabs span { min-width: 0; padding: 10px 16px; }
  .trust-grid { grid-template-columns: 1fr 1fr; }
  .car-track { grid-auto-columns: 78%; }
  .car-btn { display: none; }
  .stats-band > div + div { border-left: 0; }
  .field-row.three, .field-row.four { grid-template-columns: 1fr 1fr; }
  .gallery-main { aspect-ratio: 4 / 3; }
  .mobile-cta { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; position: fixed; left: 0; right: 0; bottom: 0; z-index: 45; padding: 10px 16px calc(10px + env(safe-area-inset-bottom, 0px)); background: var(--white); border-top: 1px solid var(--line); box-shadow: 0 -4px 16px rgba(0,0,0,.08); }
  .mobile-cta ~ .site-footer { padding-bottom: 70px; }
  body:has(.mobile-cta) .wa-float { display: none; }
  .map { aspect-ratio: 4 / 3; }
}
@media (max-width: 520px) {
  .search-fields, .field-row, .filters { grid-template-columns: 1fr; }
  .span-2 { grid-column: auto; }
  .trust-grid { grid-template-columns: 1fr; }
  .foot-grid { grid-template-columns: 1fr 1fr; }
  .foot-brand, .foot-news { grid-column: span 2; }
  .foot-news form { grid-template-columns: 1fr; }
  .contact-actions { grid-template-columns: 1fr; }
  .foot-bar-in { justify-content: center; text-align: center; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}
