/* ===================== Properties Dreams — site styles ===================== */
:root {
  --ink: #14202e;          /* deep navy text */
  --navy: #0f1b2b;
  --navy-2: #182a40;
  --gold: #b08d57;
  --gold-2: #cfb07c;
  --ivory: #faf8f4;
  --sand: #f1ece3;
  --line: #e4ddd1;
  --muted: #6b7280;
  --white: #fff;
  --ok: #2f7d5b;
  --err: #b42318;
  --serif: 'Cormorant Garamond', 'Playfair Display', Georgia, 'Times New Roman', serif;
  --sans: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, Arial, sans-serif;
  --radius: 4px;
  --shadow: 0 10px 30px rgba(15, 27, 43, .08);
  --max: 1200px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; font-family: var(--sans); color: var(--ink); background: var(--ivory); font-size: 16px; line-height: 1.65; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
p { margin: 0 0 1em; }
h1, h2, h3, h4 { font-family: var(--serif); font-weight: 500; line-height: 1.12; margin: 0 0 .5em; letter-spacing: .005em; }
h1 { font-size: clamp(2.5rem, 5.6vw, 4.6rem); }
h2 { font-size: clamp(2rem, 3.6vw, 3rem); }
h3 { font-size: 1.55rem; }
.container { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 24px; }
.section { padding: clamp(64px, 9vw, 120px) 0; }
.section.alt { background: var(--white); }
.section.dark { background: var(--navy); color: #e9e4da; }
.eyebrow { font-size: .74rem; letter-spacing: .28em; text-transform: uppercase; color: var(--gold); font-weight: 600; margin-bottom: 14px; display: inline-block; }
.lead { font-size: 1.12rem; color: #4b5563; max-width: 640px; }
.dark .lead { color: #c7c1b6; }
.center { text-align: center; } .center .lead { margin-left: auto; margin-right: auto; }
.rule { width: 56px; height: 1px; background: var(--gold); margin: 22px 0 28px; border: 0; }
.center .rule { margin-left: auto; margin-right: auto; }
.muted { color: var(--muted); }
.hidden { display: none !important; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; padding: 14px 28px; border: 1px solid var(--ink); background: var(--ink); color: #fff; font: 600 .78rem/1 var(--sans); letter-spacing: .2em; text-transform: uppercase; border-radius: var(--radius); cursor: pointer; transition: all .25s ease; }
.btn:hover { background: var(--gold); border-color: var(--gold); }
.btn.gold { background: var(--gold); border-color: var(--gold); }
.btn.gold:hover { background: #9a7846; border-color: #9a7846; }
.btn.ghost { background: transparent; color: var(--ink); }
.btn.ghost:hover { background: var(--ink); color: #fff; }
.btn.light { background: transparent; color: #fff; border-color: rgba(255,255,255,.6); }
.btn.light:hover { background: #fff; color: var(--ink); }
.btn.sm { padding: 10px 18px; font-size: .7rem; }
.btn.block { width: 100%; }
.link { color: var(--gold); border-bottom: 1px solid currentColor; padding-bottom: 2px; font-weight: 500; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(250, 248, 244, .96); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); transition: background .3s, border-color .3s; }
.site-header.over-hero { position: fixed; left: 0; right: 0; background: transparent; border-color: transparent; color: #fff; }
.site-header.over-hero.scrolled { background: rgba(15, 27, 43, .96); }
.nav { display: flex; align-items: center; justify-content: space-between; height: 84px; }
.brand { display: flex; flex-direction: column; line-height: 1.05; }
.brand .name { font-family: var(--serif); font-size: 1.7rem; font-weight: 600; letter-spacing: .02em; }
.brand .sub { font-size: .62rem; letter-spacing: .3em; text-transform: uppercase; opacity: .75; margin-top: 4px; }
.menu { display: flex; align-items: center; gap: 34px; list-style: none; margin: 0; padding: 0; }
.menu a { font-size: .78rem; letter-spacing: .18em; text-transform: uppercase; font-weight: 500; position: relative; padding: 6px 0; }
.menu a::after { content: ''; position: absolute; left: 0; bottom: 0; height: 1px; width: 0; background: var(--gold); transition: width .25s; }
.menu a:hover::after, .menu a.active::after { width: 100%; }
.nav-cta { display: flex; align-items: center; gap: 18px; }
.nav-phone { font-size: .9rem; font-weight: 500; letter-spacing: .04em; }
.burger { display: none; background: none; border: 0; color: inherit; cursor: pointer; padding: 8px; }
.burger span { display: block; width: 24px; height: 1.5px; background: currentColor; margin: 6px 0; }
@media (max-width: 980px) {
  .menu, .nav-phone { display: none; }
  .burger { display: block; }
  .menu.open { display: flex; position: fixed; inset: 84px 0 0 0; background: var(--navy); color: #fff; flex-direction: column; justify-content: center; gap: 30px; }
  .menu.open a { font-size: 1rem; }
  .nav .btn { display: none; }
}

/* Hero */
.hero { position: relative; min-height: 100vh; display: flex; align-items: center; color: #fff; background: var(--navy); overflow: hidden; }
.hero-bg { position: absolute; inset: 0; background-image: linear-gradient(180deg, rgba(10,18,30,.55) 0%, rgba(10,18,30,.35) 45%, rgba(10,18,30,.8) 100%), url('../img/hero.jpg'), radial-gradient(1200px 600px at 75% 20%, #2a4260 0%, transparent 60%), linear-gradient(135deg, #0f1b2b 0%, #1d3350 100%); background-size: cover; background-position: center; transform: scale(1.03); animation: slowzoom 22s ease-out forwards; }
@keyframes slowzoom { to { transform: scale(1); } }
.hero-art { position: absolute; right: -40px; bottom: 0; width: min(760px, 70vw); opacity: .16; pointer-events: none; }
.hero .container { position: relative; z-index: 1; padding-top: 110px; padding-bottom: 80px; }
.hero h1 { max-width: 880px; font-weight: 400; }
.hero h1 em { font-style: italic; color: var(--gold-2); }
.hero p.lead { color: #ddd6ca; font-size: 1.2rem; }
.search-bar { margin-top: 40px; display: grid; grid-template-columns: 1.6fr 1fr 1fr auto; background: #fff; border-radius: var(--radius); box-shadow: 0 20px 50px rgba(0,0,0,.25); max-width: 900px; overflow: hidden; }
.search-bar > * { border: 0; padding: 20px 22px; font: 400 .95rem var(--sans); color: var(--ink); background: #fff; min-width: 0; }
.search-bar > * + * { border-left: 1px solid var(--line); }
.search-bar select { appearance: none; background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6'%3E%3Cpath d='M0 0l5 6 5-6' fill='%23b08d57'/%3E%3C/svg%3E") no-repeat right 18px center; padding-right: 36px; cursor: pointer; }
.search-bar button { background: var(--gold); color: #fff; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; font-size: .75rem; cursor: pointer; padding: 20px 34px; }
.search-bar button:hover { background: #9a7846; }
.hero-meta { display: flex; gap: 40px; margin-top: 44px; flex-wrap: wrap; font-size: .8rem; letter-spacing: .16em; text-transform: uppercase; color: #cfc7b9; }
.hero-meta b { display: block; font-family: var(--serif); font-size: 1.8rem; letter-spacing: 0; text-transform: none; color: #fff; font-weight: 500; }
.scroll-cue { position: absolute; left: 50%; bottom: 26px; transform: translateX(-50%); width: 1px; height: 54px; background: linear-gradient(#fff, transparent); opacity: .6; }
@media (max-width: 760px) {
  .search-bar { grid-template-columns: 1fr 1fr; }
  .search-bar input { grid-column: 1 / -1; }
  .search-bar > * + * { border-left: 0; border-top: 1px solid var(--line); }
  .search-bar select + select { border-left: 1px solid var(--line); }
  .search-bar button { grid-column: 1 / -1; }
}

/* Page hero (inner pages) */
.page-hero { background: var(--navy); color: #fff; padding: 150px 0 70px; position: relative; overflow: hidden; }
.page-hero::after { content: ''; position: absolute; right: -120px; top: -120px; width: 420px; height: 420px; border: 1px solid rgba(207,176,124,.25); border-radius: 50%; }
.page-hero h1 { font-size: clamp(2.3rem, 4.5vw, 3.6rem); margin-bottom: 10px; }
.page-hero p { color: #cfc7b9; max-width: 640px; margin: 0; }
.crumbs { font-size: .75rem; letter-spacing: .18em; text-transform: uppercase; color: var(--gold-2); margin-bottom: 18px; }

/* Grids */
.grid { display: grid; gap: 30px; }
.grid.c2 { grid-template-columns: repeat(2, 1fr); }
.grid.c3 { grid-template-columns: repeat(3, 1fr); }
.grid.c4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 980px) { .grid.c3, .grid.c4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .grid.c2, .grid.c3, .grid.c4 { grid-template-columns: 1fr; } }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 7vw, 100px); align-items: center; }
@media (max-width: 900px) { .split { grid-template-columns: 1fr; } }
.section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; margin-bottom: 44px; flex-wrap: wrap; }
.section-head h2 { margin: 0; }

/* Listing card */
.card { background: #fff; border-radius: var(--radius); overflow: hidden; transition: transform .35s ease, box-shadow .35s ease; display: flex; flex-direction: column; border: 1px solid var(--line); }
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.card .ph { position: relative; aspect-ratio: 4 / 3; background: var(--sand); overflow: hidden; }
.card .ph img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s ease; }
.card:hover .ph img { transform: scale(1.05); }
.badge { position: absolute; top: 14px; left: 14px; background: rgba(15,27,43,.88); color: #fff; font-size: .66rem; letter-spacing: .18em; text-transform: uppercase; padding: 7px 11px; border-radius: 2px; }
.badge.gold { background: var(--gold); }
.badge.r { left: auto; right: 14px; background: rgba(255,255,255,.92); color: var(--ink); }
.card .body { padding: 22px 22px 18px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.card .price { font-family: var(--serif); font-size: 1.75rem; font-weight: 600; line-height: 1; }
.card .addr { font-weight: 500; font-size: .95rem; }
.card .city { color: var(--muted); font-size: .85rem; }
.facts { display: flex; gap: 18px; border-top: 1px solid var(--line); margin-top: auto; padding-top: 14px; font-size: .82rem; color: #4b5563; flex-wrap: wrap; }
.facts span { display: inline-flex; align-items: center; gap: 6px; }
.facts svg { width: 16px; height: 16px; stroke: var(--gold); }
.card .brokerage { font-size: .68rem; color: #9ca3af; margin-top: 8px; }

/* Services */
.service { padding: 44px 38px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); position: relative; }
.service .num { font-family: var(--serif); font-size: 3.4rem; color: var(--gold); opacity: .5; line-height: 1; margin-bottom: 18px; }
.service ul { padding: 0; margin: 18px 0 26px; list-style: none; }
.service li { padding: 9px 0 9px 26px; border-bottom: 1px solid var(--line); position: relative; font-size: .95rem; }
.service li::before { content: ''; position: absolute; left: 0; top: 19px; width: 12px; height: 1px; background: var(--gold); }

/* About teaser */
.portrait { position: relative; }
.portrait .frame { aspect-ratio: 4 / 5; background: linear-gradient(160deg, #1d3350, #0f1b2b); border-radius: var(--radius); overflow: hidden; display: flex; align-items: flex-end; justify-content: center; }
.portrait .frame img { width: 100%; height: 100%; object-fit: cover; }
.portrait .frame .initials { font-family: var(--serif); font-size: 7rem; color: rgba(207,176,124,.55); align-self: center; }
.portrait::before { content: ''; position: absolute; inset: 22px -22px -22px 22px; border: 1px solid var(--gold); border-radius: var(--radius); z-index: -1; }
.langs { display: flex; flex-wrap: wrap; gap: 8px; margin: 18px 0 30px; }
.chip { font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; border: 1px solid var(--line); padding: 7px 12px; border-radius: 30px; background: #fff; }
.dark .chip { background: transparent; border-color: rgba(255,255,255,.2); }
.signature { font-family: var(--serif); font-style: italic; font-size: 1.9rem; color: var(--gold); }

/* Areas */
.area { position: relative; aspect-ratio: 1 / 1.1; border-radius: var(--radius); overflow: hidden; display: flex; align-items: flex-end; padding: 22px; color: #fff; background: linear-gradient(160deg, #22395a, #0f1b2b); isolation: isolate; }
.area::before { content: ''; position: absolute; inset: 0; background: radial-gradient(circle at 80% 10%, rgba(207,176,124,.35), transparent 55%); z-index: -1; transition: opacity .4s; }
.area:nth-child(3n+2) { background: linear-gradient(160deg, #3a4a5e, #16263a); }
.area:nth-child(3n) { background: linear-gradient(160deg, #54493a, #1e2a38); }
.area h3 { margin: 0; font-size: 1.6rem; }
.area small { display: block; font-size: .68rem; letter-spacing: .2em; text-transform: uppercase; opacity: .7; margin-top: 4px; }
.area .arrow { position: absolute; top: 20px; right: 20px; width: 34px; height: 34px; border: 1px solid rgba(255,255,255,.4); border-radius: 50%; display: grid; place-items: center; transition: all .3s; }
.area:hover .arrow { background: var(--gold); border-color: var(--gold); }
.area:hover::before { opacity: 1.6; }

/* Reviews */
.g-badge { display: inline-flex; align-items: center; gap: 14px; background: #fff; border: 1px solid var(--line); padding: 14px 20px; border-radius: 40px; color: var(--ink); }
.g-badge .stars { color: #f5b301; letter-spacing: 2px; }
.review { background: #fff; border: 1px solid var(--line); padding: 34px; border-radius: var(--radius); display: flex; flex-direction: column; gap: 14px; }
.dark .review { background: var(--navy-2); border-color: rgba(255,255,255,.08); }
.review .stars { color: #f5b301; letter-spacing: 3px; }
.review p { font-family: var(--serif); font-size: 1.25rem; line-height: 1.45; margin: 0; font-style: italic; }
.review .who { font-size: .78rem; letter-spacing: .16em; text-transform: uppercase; color: var(--gold-2); margin-top: auto; }
.quote-mark { font-family: var(--serif); font-size: 5rem; line-height: .6; color: var(--gold); height: 30px; }

/* CTA band */
.cta-band { background: linear-gradient(120deg, #0f1b2b 0%, #1f3654 100%); color: #fff; border-radius: var(--radius); padding: clamp(40px, 6vw, 80px); display: grid; grid-template-columns: 1.4fr 1fr; gap: 40px; align-items: center; position: relative; overflow: hidden; }
.cta-band::after { content: ''; position: absolute; right: -80px; bottom: -160px; width: 380px; height: 380px; border: 1px solid rgba(207,176,124,.3); border-radius: 50%; }
.cta-band h2 { margin-bottom: 12px; }
.cta-band p { color: #cfc7b9; margin: 0; }
@media (max-width: 800px) { .cta-band { grid-template-columns: 1fr; } }

/* Forms */
.form { display: grid; gap: 16px; }
.form .row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 560px) { .form .row { grid-template-columns: 1fr; } }
.field label { display: block; font-size: .7rem; letter-spacing: .18em; text-transform: uppercase; color: var(--muted); margin-bottom: 6px; font-weight: 600; }
.field input, .field select, .field textarea, .input { width: 100%; padding: 14px 16px; border: 1px solid var(--line); background: #fff; border-radius: var(--radius); font: 400 .95rem var(--sans); color: var(--ink); transition: border-color .2s; }
.field textarea { min-height: 120px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus, .input:focus { outline: none; border-color: var(--gold); }
.consent { font-size: .75rem; color: var(--muted); line-height: 1.5; }
.form-msg { font-size: .9rem; padding: 12px 14px; border-radius: var(--radius); }
.form-msg.ok { background: #e8f3ee; color: var(--ok); }
.form-msg.err { background: #fdecea; color: var(--err); }
.hp { position: absolute; left: -9999px; }
.panel { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 34px; }

/* Listings page */
.filters { background: #fff; border-bottom: 1px solid var(--line); position: sticky; top: 84px; z-index: 20; }
.filters .container { display: flex; gap: 10px; padding-top: 14px; padding-bottom: 14px; flex-wrap: wrap; align-items: center; }
.filters .input { width: auto; padding: 11px 14px; font-size: .88rem; }
.filters .input.q { flex: 1 1 240px; }
.seg { display: inline-flex; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.seg button { border: 0; background: #fff; padding: 11px 16px; font: 500 .78rem var(--sans); letter-spacing: .12em; text-transform: uppercase; cursor: pointer; color: var(--muted); }
.seg button.on { background: var(--ink); color: #fff; }
.results-bar { display: flex; justify-content: space-between; align-items: center; margin: 30px 0 24px; gap: 14px; flex-wrap: wrap; }
.results-bar .count { font-family: var(--serif); font-size: 1.5rem; }
.map-wrap { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.map-wrap .grid { grid-template-columns: 1fr 1fr; }
#map { height: calc(100vh - 200px); position: sticky; top: 170px; border-radius: var(--radius); border: 1px solid var(--line); background: var(--sand); }
@media (max-width: 1000px) { .map-wrap { grid-template-columns: 1fr; } #map { height: 360px; position: relative; top: 0; order: -1; } }
.empty { text-align: center; padding: 80px 20px; color: var(--muted); }
.skeleton { background: linear-gradient(90deg, var(--sand) 0%, #f7f3ec 50%, var(--sand) 100%); background-size: 200% 100%; animation: shimmer 1.4s infinite; border-radius: var(--radius); }
@keyframes shimmer { to { background-position: -200% 0; } }

/* Listing detail */
.gallery { display: grid; grid-template-columns: 2fr 1fr; grid-template-rows: 1fr 1fr; gap: 8px; height: min(70vh, 620px); margin-top: 84px; }
.gallery .g { background: var(--sand) center / cover no-repeat; cursor: zoom-in; position: relative; overflow: hidden; }
.gallery .g:first-child { grid-row: 1 / 3; }
.gallery .more { position: absolute; right: 16px; bottom: 16px; }
@media (max-width: 800px) { .gallery { grid-template-columns: 1fr; grid-template-rows: 1fr; height: 56vh; } .gallery .g:not(:first-child) { display: none; } }
.detail { display: grid; grid-template-columns: 1fr 380px; gap: 60px; padding: 50px 0 90px; }
@media (max-width: 1000px) { .detail { grid-template-columns: 1fr; } }
.detail .price { font-family: var(--serif); font-size: clamp(2.4rem, 4vw, 3.2rem); font-weight: 600; line-height: 1; margin-bottom: 10px; }
.keyfacts { display: grid; grid-template-columns: repeat(4, 1fr); border: 1px solid var(--line); border-radius: var(--radius); background: #fff; margin: 30px 0 40px; }
.keyfacts div { padding: 20px; text-align: center; }
.keyfacts div + div { border-left: 1px solid var(--line); }
.keyfacts b { display: block; font-family: var(--serif); font-size: 1.8rem; font-weight: 500; line-height: 1.1; }
.keyfacts small { font-size: .68rem; letter-spacing: .18em; text-transform: uppercase; color: var(--muted); }
@media (max-width: 560px) { .keyfacts { grid-template-columns: repeat(2, 1fr); } .keyfacts div:nth-child(3) { border-left: 0; } .keyfacts div:nth-child(n+3) { border-top: 1px solid var(--line); } }
.specs { display: grid; grid-template-columns: 1fr 1fr; gap: 0 40px; }
.specs div { display: flex; justify-content: space-between; gap: 16px; padding: 12px 0; border-bottom: 1px solid var(--line); font-size: .92rem; }
.specs dt, .specs span:first-child { color: var(--muted); }
.specs span:last-child { text-align: right; font-weight: 500; }
@media (max-width: 640px) { .specs { grid-template-columns: 1fr; } }
.sticky { position: sticky; top: 110px; }
.agent-mini { display: flex; gap: 14px; align-items: center; margin-bottom: 20px; }
.agent-mini .av { width: 60px; height: 60px; border-radius: 50%; background: var(--navy) center / cover; color: var(--gold-2); display: grid; place-items: center; font-family: var(--serif); font-size: 1.4rem; flex: none; }
.disclaimer { font-size: .72rem; color: #9ca3af; line-height: 1.55; }
.lightbox { position: fixed; inset: 0; background: rgba(8,14,22,.96); z-index: 100; display: none; align-items: center; justify-content: center; }
.lightbox.open { display: flex; }
.lightbox img { max-width: 92vw; max-height: 86vh; object-fit: contain; }
.lightbox button { position: absolute; background: none; border: 1px solid rgba(255,255,255,.3); color: #fff; width: 50px; height: 50px; border-radius: 50%; cursor: pointer; font-size: 1.3rem; }
.lightbox .prev { left: 24px; } .lightbox .next { right: 24px; } .lightbox .close { top: 24px; right: 24px; }
.lightbox .counter { position: absolute; bottom: 24px; color: #cfc7b9; font-size: .8rem; letter-spacing: .2em; }
.calc { display: grid; gap: 12px; }
.calc .out { font-family: var(--serif); font-size: 2.2rem; color: var(--ink); }

/* Steps */
.steps { counter-reset: s; display: grid; gap: 0; }
.step { display: grid; grid-template-columns: 70px 1fr; gap: 20px; padding: 26px 0; border-bottom: 1px solid var(--line); }
.step::before { counter-increment: s; content: '0' counter(s); font-family: var(--serif); font-size: 2.2rem; color: var(--gold); line-height: 1; }
.step h4 { font-family: var(--sans); font-size: 1rem; font-weight: 600; margin: 4px 0 6px; letter-spacing: .02em; }
.step p { margin: 0; color: #4b5563; font-size: .95rem; }

/* Footer */
.site-footer { background: #0b1522; color: #aeb4bd; padding: 80px 0 30px; font-size: .9rem; }
.site-footer h4 { font-family: var(--sans); font-size: .72rem; letter-spacing: .24em; text-transform: uppercase; color: #fff; margin-bottom: 18px; font-weight: 600; }
.site-footer a:hover { color: var(--gold-2); }
.foot-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.2fr; gap: 40px; }
@media (max-width: 900px) { .foot-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .foot-grid { grid-template-columns: 1fr; } }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.socials { display: flex; gap: 10px; margin-top: 20px; flex-wrap: wrap; }
.socials a { width: 40px; height: 40px; border: 1px solid rgba(255,255,255,.18); border-radius: 50%; display: grid; place-items: center; transition: all .25s; }
.socials a:hover { background: var(--gold); border-color: var(--gold); color: #fff; }
.socials svg { width: 16px; height: 16px; fill: currentColor; }
.dark-socials a { border-color: var(--line); color: var(--ink); }
.foot-bottom { border-top: 1px solid rgba(255,255,255,.08); margin-top: 60px; padding-top: 26px; font-size: .74rem; line-height: 1.6; color: #7d8590; display: grid; gap: 12px; }
.foot-bottom .row { display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; }

/* Reveal on scroll */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .9s ease, transform .9s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; } .hero-bg { animation: none; } }

.float-contact { position: fixed; right: 20px; bottom: 20px; z-index: 40; display: flex; flex-direction: column; gap: 10px; }
.float-contact a { width: 54px; height: 54px; border-radius: 50%; background: var(--gold); color: #fff; display: grid; place-items: center; box-shadow: 0 10px 25px rgba(0,0,0,.2); }
.float-contact a.wa { background: #25d366; }
.float-contact svg { width: 22px; height: 22px; fill: currentColor; }
.leaflet-popup-content { font-family: var(--sans); }
.map-pop img { width: 220px; height: 130px; object-fit: cover; margin-bottom: 8px; }
.map-pop b { font-family: var(--serif); font-size: 1.25rem; }
.filters select.input { max-width: 140px; padding-right: 8px; }
.filters select[name=type] { max-width: 170px; }
.filters .input.q { flex: 1 1 150px; min-width: 140px; }
.filters .input.q { flex: 1 1 200px; min-width: 180px; }
.gallery.one { grid-template-columns: 1fr; grid-template-rows: 1fr; }
.gallery.two { grid-template-rows: 1fr; }
.gallery.two .g:first-child { grid-row: auto; }
@media (max-width: 640px) { .filters select.input { max-width: none; flex: 1 1 30%; } }
@media (max-width: 560px) { .hero-meta { gap: 18px 26px; font-size: .66rem; } .hero-meta b { font-size: 1.3rem; } }

/* ---- v2: category tabs, area chips, quick search, alerts modal, share ---- */
.cat-row { display: flex; align-items: center; justify-content: space-between; gap: 14px; flex-wrap: wrap; padding-top: 16px; }
.cat-row + .container { padding-top: 12px !important; }
.cat-tabs { display: inline-flex; gap: 28px; }
.cat-tabs button { background: none; border: 0; padding: 6px 0; font: 500 1.35rem var(--serif); color: var(--muted); cursor: pointer; border-bottom: 2px solid transparent; }
.cat-tabs button.on { color: var(--ink); border-color: var(--gold); }
.chips { display: flex; gap: 8px; flex-wrap: wrap; }
.chips button { border: 1px solid var(--line); background: #fff; padding: 8px 16px; border-radius: 30px; font: 500 .8rem var(--sans); letter-spacing: .06em; cursor: pointer; color: var(--ink); }
.chips button.on { background: var(--ink); border-color: var(--ink); color: #fff; }
.quick { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; margin-top: 18px; font-size: .78rem; letter-spacing: .14em; text-transform: uppercase; color: #cfc7b9; }
.quick a { border: 1px solid rgba(255,255,255,.35); color: #fff; padding: 7px 16px; border-radius: 30px; letter-spacing: .08em; transition: all .2s; }
.quick a:hover { background: var(--gold); border-color: var(--gold); }
.search-bar { grid-template-columns: 1.5fr 1fr 1fr 1fr auto; }
@media (max-width: 760px) { .search-bar { grid-template-columns: 1fr 1fr; } .search-bar select[name=max] { grid-column: 1 / -1; border-left: 0 !important; } }
.empty-feature { text-align: center; padding: 60px 20px; background: #fff; border: 1px dashed var(--line); border-radius: var(--radius); }
.empty-feature p { color: var(--muted); margin-bottom: 22px; }
.badge.com { left: auto; right: 14px; background: var(--gold); }
.modal-bg { position: fixed; inset: 0; background: rgba(10,18,30,.55); z-index: 120; display: flex; align-items: center; justify-content: center; padding: 18px; }
.modal-bg.hidden { display: none; }
.modal-card { background: #fff; border-radius: 8px; padding: 32px; width: 100%; max-width: 520px; position: relative; max-height: 92vh; overflow: auto; box-shadow: 0 30px 70px rgba(0,0,0,.3); }
.modal-x { position: absolute; top: 10px; right: 14px; background: none; border: 0; font-size: 1.8rem; cursor: pointer; color: var(--muted); }
.share-bar { display: flex; gap: 8px; flex-wrap: wrap; margin: 18px 0 0; }
.share-bar .btn { gap: 8px; }
.share-bar svg { width: 16px; height: 16px; fill: currentColor; }
.btn.wa { background: #25d366; border-color: #25d366; color: #fff; }
.btn.wa:hover { background: #1ebe5a; border-color: #1ebe5a; }

/* ---- v3: hero alert panel, list view ---- */
.hero h1 { font-style: normal; }
.hero-alert { display: flex; align-items: center; gap: 18px; margin-top: 30px; max-width: 900px; padding: 18px 22px; border: 1px solid rgba(207,176,124,.55); background: rgba(176,141,87,.12); border-radius: 6px; backdrop-filter: blur(4px); }
.hero-alert .ha-icon { font-size: 1.8rem; line-height: 1; }
.hero-alert .ha-text { flex: 1; display: flex; flex-direction: column; gap: 4px; }
.hero-alert b { font-family: var(--serif); font-size: 1.35rem; font-weight: 600; color: #fff; }
.hero-alert span { font-size: .9rem; color: #ddd6ca; line-height: 1.5; }
.hero-alert .btn { white-space: nowrap; box-shadow: 0 8px 22px rgba(0,0,0,.25); }
@media (max-width: 760px) { .hero-alert { flex-direction: column; align-items: flex-start; } .hero-alert .btn { width: 100%; } }
.results-tools { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }
.lt-wrap { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow-x: auto; }
table.lt { width: 100%; border-collapse: collapse; font-size: .92rem; }
.lt th { text-align: left; font-size: .68rem; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); padding: 14px 14px; border-bottom: 1px solid var(--line); background: #fbfaf7; white-space: nowrap; }
.lt td { padding: 10px 14px; border-bottom: 1px solid var(--line); vertical-align: middle; }
.lt tbody tr { cursor: pointer; transition: background .15s; }
.lt tbody tr:hover { background: #faf6ee; }
.lt td .muted { font-size: .8rem; }
.lt .lt-ph { width: 92px; padding-right: 0; }
.lt .lt-ph img { width: 80px; height: 58px; object-fit: cover; border-radius: 3px; background: var(--sand); }
.lt .lt-price { font-family: var(--serif); font-size: 1.2rem; font-weight: 600; white-space: nowrap; }
.lt .lt-n { text-align: center; }
.lt .lt-mls, .lt .lt-type { color: #4b5563; font-size: .85rem; white-space: nowrap; }
.lt .mine { color: var(--gold); font-weight: 600; }
@media (max-width: 760px) { .lt .lt-type, .lt .lt-mls, .lt th:nth-child(6), .lt th:nth-child(7) { display: none; } .lt .lt-ph img { width: 60px; height: 46px; } .lt td { padding: 8px; } }
.card .dom { font-size: .76rem; color: var(--gold); font-weight: 500; letter-spacing: .02em; }
/* header social icons next to the name */
.brand-wrap { display: flex; align-items: center; gap: 16px; flex-shrink: 0; }
.head-socials { display: flex; flex-wrap: nowrap; gap: 5px; margin: 0; }
.head-socials a { width: 26px; height: 26px; border: 1px solid var(--line); border-radius: 50%; display: grid; place-items: center; transition: all .2s; }
.head-socials a:hover { background: var(--gold); border-color: var(--gold); color: #fff; }
.head-socials svg { width: 12px; height: 12px; fill: currentColor; }
.over-hero .head-socials a { border-color: rgba(255,255,255,.35); }
@media (max-width: 1500px) { .menu { gap: 26px; } .menu a { letter-spacing: .14em; } .nav-cta { gap: 14px; } }
@media (max-width: 1360px) { .nav-phone { display: none; } }
@media (max-width: 560px) { .brand .name { font-size: 1.35rem; } .brand .sub { display: none; } .brand-wrap { gap: 10px; } .head-socials { gap: 4px; } .head-socials a { width: 24px; height: 24px; } .head-socials svg { width: 11px; height: 11px; } }
