/* GPVivienda — Static site stylesheet
   Art direction: Premium real-estate platform → clean, trustworthy, modern
   Palette: White surfaces, deep navy accent, cool neutral greys
   Typography: Plus Jakarta Sans (display + UI) — bold, geometric, professional
   Density: Balanced — spacious sections, dense cards
   NO italics. NO decorative serifs. All sans-serif. */

@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@300;400;500;600;700;800&display=swap');

:root {
  --bg:           #FFFFFF;
  --bg-soft:      #F5F7FA;
  --bg-card:      #FFFFFF;
  --bg-muted:     #EEF1F6;
  --ink:          #0F1824;
  --ink-soft:     #4A5568;
  --ink-mute:     #8A96A8;
  --line:         #DDE3ED;
  --line-soft:    #ECF0F7;
  --accent:       #1E3A8A;
  --accent-hover: #1E40AF;
  --accent-light: #EEF2FF;
  --accent-ink:   #FFFFFF;
  --brand:        #1E3A8A;
  --gold:         #D97706;
  --success:      #15803D;
  --danger:       #DC2626;
  --font-display: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
  --font-ui:      'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
  --font-mono:    "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
  --r-sm:  4px;
  --r-md:  8px;
  --r-lg:  12px;
  --r-xl:  18px;
  --shadow-sm: 0 1px 3px rgba(15,24,36,0.06), 0 1px 2px rgba(15,24,36,0.04);
  --shadow-md: 0 4px 16px rgba(15,24,36,0.08), 0 2px 6px rgba(15,24,36,0.04);
  --shadow-lg: 0 16px 48px rgba(15,24,36,0.12), 0 4px 16px rgba(15,24,36,0.06);
  --container: 1280px;
  --pad: clamp(16px, 4vw, 32px);
}

[data-theme="dark"] {
  --bg:        #0B1120;
  --bg-soft:   #111827;
  --bg-card:   #1C2538;
  --bg-muted:  #1A2236;
  --ink:       #F1F5FB;
  --ink-soft:  #94A3B8;
  --ink-mute:  #4E6080;
  --line:      #1E2D45;
  --line-soft: #192336;
  --accent:       #3B82F6;
  --accent-hover: #60A5FA;
  --accent-light: #172554;
}

*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}
body {
  font-family: var(--font-ui);
  background: var(--bg);
  color: var(--ink);
  font-size: 16px;
  line-height: 1.6;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: 0; background: transparent; color: inherit; }
input, select, textarea { font: inherit; color: inherit; }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: -0.02em;
  margin: 0;
  line-height: 1.1;
  color: var(--ink);
}
h1 { font-size: clamp(32px, 5.5vw, 72px); font-weight: 800; letter-spacing: -0.03em; }
h2 { font-size: clamp(24px, 3.5vw, 44px); font-weight: 700; }
h3 { font-size: clamp(18px, 2vw, 24px); font-weight: 600; }

.eyebrow {
  font-family: var(--font-ui);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
}
.lede {
  font-size: clamp(15px, 1.3vw, 18px);
  color: var(--ink-soft);
  max-width: 60ch;
  line-height: 1.7;
  font-weight: 400;
}

.container { max-width: var(--container); margin: 0 auto; padding: 0 var(--pad); }
.section { padding: clamp(48px, 8vw, 96px) 0; }
.section-tight { padding: clamp(28px, 4vw, 48px) 0; }

.btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 12px 20px;
  border-radius: var(--r-md);
  font-family: var(--font-ui);
  font-weight: 600;
  font-size: 14px;
  transition: background 0.15s, color 0.15s, border-color 0.15s, box-shadow 0.15s, transform 0.12s;
  border: 1.5px solid transparent;
  line-height: 1;
  cursor: pointer;
  text-decoration: none;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--accent); color: var(--accent-ink); border-color: var(--accent); }
.btn-primary:hover { background: var(--accent-hover); border-color: var(--accent-hover); box-shadow: 0 4px 14px rgba(30,58,138,0.3); }
.btn-accent { background: var(--accent); color: var(--accent-ink); }
.btn-accent:hover { filter: brightness(1.1); }
.btn-ghost { border-color: var(--line); color: var(--ink); background: transparent; }
.btn-ghost:hover { background: var(--bg-soft); border-color: var(--ink-mute); }
.btn-light { background: var(--bg-card); color: var(--ink); border: 1.5px solid var(--line); }
.btn-light:hover { background: var(--bg-soft); }
.btn-block { width: 100%; justify-content: center; }
.btn-sm { padding: 8px 14px; font-size: 13px; }
.btn-lg { padding: 16px 28px; font-size: 16px; }

.tag {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 4px 10px;
  border-radius: var(--r-sm);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  background: var(--bg-soft);
  color: var(--ink-soft);
  border: 1px solid var(--line);
}
.tag.dark { background: var(--ink); color: #fff; border-color: transparent; }
.tag.gold { background: var(--gold); color: #fff; border-color: transparent; }
.tag.accent { background: var(--accent); color: var(--accent-ink); border-color: transparent; }
.tag.success { background: #DCFCE7; color: var(--success); border-color: #BBF7D0; }
.tag.outline { background: transparent; }

.field { display: flex; flex-direction: column; gap: 6px; }
.field label { font-size: 12px; font-weight: 600; letter-spacing: 0.05em; color: var(--ink-soft); text-transform: uppercase; }
.input, .select, .textarea {
  width: 100%; padding: 11px 14px; border: 1.5px solid var(--line);
  border-radius: var(--r-md); background: var(--bg-card); color: var(--ink);
  font-size: 15px; transition: border-color 0.15s, box-shadow 0.15s;
}
.input:focus, .select:focus, .textarea:focus {
  outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px rgba(30,58,138,0.1);
}
.textarea { min-height: 120px; resize: vertical; }
.checkbox { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; cursor: pointer; }
.checkbox input { width: 16px; height: 16px; accent-color: var(--accent); }

.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,0.92);
  backdrop-filter: saturate(180%) blur(12px);
  -webkit-backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid var(--line-soft);
}
[data-theme="dark"] .site-header { background: rgba(11,17,32,0.88); }
.site-header-row { display: flex; align-items: center; justify-content: space-between; gap: 24px; height: 68px; }
.brand { display: inline-flex; align-items: center; gap: 8px; }
.brand img { height: 30px; width: auto; display: block; }
.brand-footer img { height: 34px; width: auto; filter: brightness(0) invert(1); display: block; margin-bottom: 14px; }
.mobile-menu .brand img { height: 26px; }
.nav-primary { display: flex; align-items: center; gap: 2px; }
.nav-primary a { padding: 8px 14px; border-radius: var(--r-md); font-size: 14px; font-weight: 500; color: var(--ink-soft); transition: background 0.15s, color 0.15s; }
.nav-primary a:hover, .nav-primary a.is-active { background: var(--accent-light); color: var(--accent); }
.nav-actions { display: flex; align-items: center; gap: 8px; }
.nav-toggle { display: none; width: 40px; height: 40px; border-radius: var(--r-md); background: var(--bg-soft); align-items: center; justify-content: center; }
.icon { width: 18px; height: 18px; stroke: currentColor; stroke-width: 1.8; fill: none; stroke-linecap: round; stroke-linejoin: round; flex-shrink: 0; }
.icon.sm { width: 14px; height: 14px; }
.icon.lg { width: 22px; height: 22px; }

@media (max-width: 960px) {
  .nav-primary, .nav-actions .desktop-only { display: none; }
  .nav-toggle { display: inline-flex; }
}

.mobile-menu {
  position: fixed; inset: 0 0 0 auto; width: min(340px, 86vw);
  background: var(--bg); z-index: 100;
  transform: translateX(100%); transition: transform 0.25s ease;
  display: flex; flex-direction: column; padding: 24px;
  border-left: 1px solid var(--line);
}
.mobile-menu.is-open { transform: translateX(0); }
.mobile-menu-backdrop { position: fixed; inset: 0; background: rgba(15,24,36,0.45); z-index: 99; opacity: 0; pointer-events: none; transition: opacity 0.2s; }
.mobile-menu-backdrop.is-open { opacity: 1; pointer-events: auto; }
.mobile-menu a { padding: 14px 6px; font-size: 16px; font-weight: 500; border-bottom: 1px solid var(--line-soft); }

/* ─── HERO — Estately layout ─── */
.hero-section { padding: 28px 0 0; }

.hero-heading {
  font-size: clamp(28px, 4vw, 56px);
  font-weight: 800;
  letter-spacing: -0.035em;
  line-height: 1.05;
  color: var(--ink);
  margin: 0 0 20px 0;
}

.hero-card {
  background: #EEF3FB;
  border-radius: 20px;
  overflow: hidden;
  padding: 14px 14px 0 14px;
}

.hero-card-top {
  display: grid;
  grid-template-columns: 1fr 292px;
  gap: 12px;
  align-items: stretch;
}

.hero-img-wrap {
  position: relative;
  border-radius: 14px;
  overflow: hidden;
  aspect-ratio: 16/10;
  background: #c8d6e8;
}
.hero-img-wrap img {
  width: 100%; height: 100%;
  object-fit: cover; object-position: center 40%;
  display: block;
}
.hero-img-badge { position: absolute; top: 14px; left: 14px; }

.hero-prop-panel {
  background: #fff;
  border-radius: 14px;
  padding: 18px 18px 18px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  min-width: 0;
}

.hero-prop-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 8px;
}
.hero-prop-address { font-size: 14px; font-weight: 600; color: var(--ink); line-height: 1.4; }
.hero-prop-address span { display: block; font-size: 13px; font-weight: 400; color: var(--ink-soft); margin-top: 2px; }
.hero-save-btn {
  width: 32px; height: 32px; flex-shrink: 0;
  background: var(--bg-soft); border-radius: var(--r-md);
  display: inline-flex; align-items: center; justify-content: center;
  border: 1.5px solid var(--line); cursor: pointer;
  transition: background 0.15s, border-color 0.15s;
}
.hero-save-btn:hover { background: var(--accent-light); border-color: var(--accent); color: var(--accent); }
.hero-save-btn svg { width: 14px; height: 14px; stroke: currentColor; stroke-width: 2; fill: none; stroke-linecap: round; stroke-linejoin: round; }

.hero-prop-stats {
  display: grid;
  grid-template-columns: repeat(3,1fr);
  gap: 6px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--line-soft);
}
.hero-prop-stat .n { font-size: 22px; font-weight: 800; letter-spacing: -0.03em; color: var(--ink); line-height: 1; }
.hero-prop-stat .l { font-size: 12px; color: var(--ink-mute); margin-top: 2px; font-weight: 500; }

.hero-prop-price { font-size: 22px; font-weight: 800; letter-spacing: -0.025em; color: var(--ink); line-height: 1; }
.hero-prop-price-link {
  display: inline-flex; align-items: center; gap: 4px;
  font-size: 12px; color: var(--accent); font-weight: 600;
  margin-top: 5px; text-decoration: none;
}
.hero-prop-price-link:hover { text-decoration: underline; }

.hero-prop-agent {
  display: flex; align-items: center; gap: 10px;
  padding: 10px 12px;
  background: var(--bg-soft);
  border-radius: var(--r-md);
}
.hero-prop-agent img { width: 34px; height: 34px; border-radius: 50%; object-fit: cover; flex-shrink: 0; }
.hero-prop-agent-info { flex: 1; min-width: 0; }
.hero-prop-agent-name { font-size: 13px; font-weight: 600; color: var(--ink); }
.hero-prop-agent-role { font-size: 11px; color: var(--ink-mute); margin-top: 1px; }
.hero-prop-agent-contact {
  font-size: 12px; font-weight: 600; color: var(--accent);
  white-space: nowrap; text-decoration: none;
  padding: 6px 10px; border: 1.5px solid var(--line);
  border-radius: var(--r-md); background: #fff;
  transition: border-color 0.15s, background 0.15s;
}
.hero-prop-agent-contact:hover { border-color: var(--accent); background: var(--accent-light); }

.hero-prop-cta { margin-top: auto; }
.hero-tour-btn {
  width: 100%; display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  padding: 14px; background: var(--ink); color: #fff;
  border-radius: var(--r-md); font-size: 15px; font-weight: 700;
  text-decoration: none; border: none; cursor: pointer;
  line-height: 1.2; transition: background 0.15s, box-shadow 0.15s;
}
.hero-tour-btn span { font-size: 11px; font-weight: 400; opacity: 0.6; margin-top: 2px; }
.hero-tour-btn:hover { background: var(--accent); box-shadow: 0 4px 14px rgba(30,58,138,0.3); }

/* Search bar — full width under image+panel */
.hero-search-bar {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1.1fr 0.9fr auto auto;
  align-items: center;
  background: #fff;
  border-radius: 0 0 14px 14px;
  margin: 12px 0 0;
  padding: 8px 10px;
  border-top: 1px solid rgba(15,24,36,0.06);
  gap: 0;
}
.hero-sf {
  display: flex; align-items: center; gap: 10px;
  padding: 10px 14px;
  border-right: 1px solid var(--line-soft);
  min-width: 0;
}
.hero-sf:last-of-type { border-right: none; }
.hero-sf svg { width: 15px; height: 15px; stroke: var(--ink-mute); stroke-width: 1.8; fill: none; stroke-linecap: round; stroke-linejoin: round; flex-shrink: 0; }
.hero-sf-inner { display: flex; flex-direction: column; gap: 1px; min-width: 0; }
.hero-sf label { font-size: 10px; font-weight: 700; letter-spacing: 0.07em; text-transform: uppercase; color: var(--ink-mute); white-space: nowrap; cursor: pointer; }
.hero-sf input, .hero-sf select {
  border: none; background: transparent; padding: 0;
  font-size: 14px; font-weight: 600; color: var(--ink);
  outline: none; width: 100%; font-family: var(--font-ui);
}
.hero-sf select { cursor: pointer; }
.hero-more-btn {
  display: flex; align-items: center; gap: 6px;
  padding: 10px 14px; font-size: 14px; font-weight: 600;
  color: var(--ink-soft); cursor: pointer;
  border-right: 1px solid var(--line-soft);
  background: none; border-top: none; border-bottom: none; border-left: none;
  font-family: var(--font-ui); white-space: nowrap;
  transition: color 0.15s;
}
.hero-more-btn:hover { color: var(--accent); }
.hero-more-btn svg { width: 15px; height: 15px; stroke: currentColor; stroke-width: 1.8; fill: none; stroke-linecap: round; stroke-linejoin: round; }
.hero-search-submit {
  margin-left: 10px;
  padding: 11px 26px;
  background: var(--accent);
  color: #fff; border: none;
  border-radius: var(--r-md);
  font-size: 14px; font-weight: 700;
  cursor: pointer; white-space: nowrap;
  font-family: var(--font-ui);
  transition: background 0.15s, box-shadow 0.15s;
}
.hero-search-submit:hover { background: var(--accent-hover); box-shadow: 0 4px 14px rgba(30,58,138,0.3); }

@media (max-width: 1100px) {
  .hero-card-top { grid-template-columns: 1fr 260px; }
  .hero-search-bar { grid-template-columns: 1fr 1fr 1fr auto auto; }
  .hero-sf:nth-child(4) { display: none; }
}
@media (max-width: 860px) {
  .hero-card-top { grid-template-columns: 1fr; }
  .hero-prop-panel { display: none; }
  .hero-search-bar { grid-template-columns: 1fr 1fr; border-radius: 0 0 12px 12px; }
  .hero-sf { border-right: none; border-bottom: 1px solid var(--line-soft); }
  .hero-sf:nth-child(odd) { border-right: 1px solid var(--line-soft); }
  .hero-sf:nth-child(4) { display: flex; }
  .hero-more-btn { border-right: none; }
  .hero-search-submit { grid-column: span 2; margin: 8px; padding: 14px; border-radius: var(--r-md); }
}
@media (max-width: 600px) {
  .hero-card { padding: 10px 10px 0; border-radius: 16px; }
  .hero-card-top { gap: 10px; }
  .hero-img-wrap { aspect-ratio: 4/3; }
  .hero-heading { font-size: clamp(26px, 8vw, 40px); margin-bottom: 16px; }
  .hero-search-bar { grid-template-columns: 1fr; padding: 6px 8px; }
  .hero-sf { border-right: none; border-bottom: 1px solid var(--line-soft); }
  .hero-sf:nth-child(odd) { border-right: none; }
  .hero-more-btn { border-right: none; }
  .hero-search-submit { grid-column: auto; margin: 8px; }
  .hero-section { padding: 16px 0 0; }
}

/* ─── FILTER PILLS ─── */
.filter-pill {
  display: inline-flex; align-items: center; gap: 5px;
  padding: 7px 14px; border: 1.5px solid var(--line);
  border-radius: var(--r-md); background: var(--bg-card);
  font-size: 13px; font-weight: 500; cursor: pointer;
  transition: border-color 0.15s, background 0.15s, color 0.15s;
  color: var(--ink-soft);
}
.filter-pill:hover { border-color: var(--accent); color: var(--accent); background: var(--accent-light); }
.filter-pill.is-active { background: var(--accent); color: #fff; border-color: var(--accent); }
.filter-pill .x { opacity: 0.6; }

/* ─── PROPERTY CARD ─── */
.prop-grid { display: grid; gap: 20px; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); }
.prop-grid.dense { gap: 14px; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); }
.prop-card {
  background: var(--bg-card); border-radius: var(--r-lg);
  overflow: hidden; border: 1.5px solid var(--line);
  transition: transform 0.2s, box-shadow 0.2s, border-color 0.2s;
  display: flex; flex-direction: column;
}
.prop-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.prop-card .pic { position: relative; aspect-ratio: 4/3; overflow: hidden; }
.prop-card .pic img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.35s; }
.prop-card:hover .pic img { transform: scale(1.04); }
.prop-card .badges { position: absolute; left: 12px; top: 12px; display: flex; gap: 6px; }
.prop-card .heart {
  position: absolute; right: 12px; top: 12px;
  width: 34px; height: 34px; border-radius: 50%;
  background: rgba(255,255,255,0.95);
  display: inline-flex; align-items: center; justify-content: center;
  box-shadow: var(--shadow-sm);
}
.prop-card .heart.is-fav { background: var(--accent); color: var(--accent-ink); }
.prop-card .body { padding: 16px 18px 18px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.prop-card .price { font-family: var(--font-display); font-size: 22px; font-weight: 700; letter-spacing: -0.02em; color: var(--ink); }
.prop-card .title { font-size: 14px; font-weight: 600; line-height: 1.4; color: var(--ink); }
.prop-card .loc { font-size: 13px; color: var(--ink-mute); display: flex; align-items: center; gap: 4px; }
.prop-card .meta { display: flex; gap: 14px; padding-top: 12px; border-top: 1px solid var(--line-soft); font-size: 13px; color: var(--ink-soft); margin-top: auto; }
.prop-card .meta span { display: inline-flex; align-items: center; gap: 5px; }

/* ─── FOOTER ─── */
.site-footer { background: var(--ink); color: #94A3B8; padding: 64px 0 32px; margin-top: 80px; }
.site-footer h4 { font-family: var(--font-ui); font-size: 12px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: #fff; margin-bottom: 14px; }
.site-footer a { color: #94A3B8; display: block; padding: 5px 0; font-size: 14px; transition: color 0.15s; }
.site-footer a:hover { color: #fff; }
.footer-cols { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr 1fr; gap: 32px; padding-bottom: 48px; border-bottom: 1px solid rgba(255,255,255,0.07); }
.footer-bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 16px; padding-top: 24px; font-size: 12px; color: #64748B; }
.footer-brand { font-family: var(--font-display); font-size: 26px; font-weight: 800; color: #fff; margin-bottom: 12px; letter-spacing: -0.02em; }
@media (max-width: 880px) { .footer-cols { grid-template-columns: 1fr 1fr; gap: 28px; } }
@media (max-width: 520px) { .footer-cols { grid-template-columns: 1fr; } }

/* ─── FLOATING WHATSAPP ─── */
.floating-whatsapp {
  position: fixed; right: 20px; bottom: 20px; z-index: 60;
  width: 54px; height: 54px; border-radius: 50%;
  background: #25D366; color: #fff;
  display: inline-flex; align-items: center; justify-content: center;
  box-shadow: 0 8px 24px rgba(37,211,102,0.4); transition: transform 0.2s;
}
.floating-whatsapp:hover { transform: scale(1.08); }
.floating-whatsapp svg { width: 26px; height: 26px; }

/* ─── BREADCRUMB ─── */
.breadcrumb { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; font-size: 13px; font-weight: 500; color: var(--ink-mute); padding: 16px 0; }
.breadcrumb a:hover { color: var(--accent); }
.breadcrumb svg { width: 12px; height: 12px; opacity: 0.5; }

/* ─── MISC ─── */
.divider { border: 0; border-top: 1px solid var(--line); margin: 0; }
.kvs { display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: 16px; }
.kv { padding: 16px 18px; border: 1.5px solid var(--line); border-radius: var(--r-lg); background: var(--bg-card); }
.kv .k { font-size: 11px; font-weight: 600; color: var(--ink-mute); letter-spacing: 0.08em; text-transform: uppercase; margin-bottom: 6px; }
.kv .v { font-family: var(--font-display); font-size: 26px; font-weight: 700; letter-spacing: -0.02em; color: var(--ink); }

.toast { position: fixed; bottom: 20px; left: 50%; transform: translateX(-50%); background: var(--ink); color: var(--bg); padding: 12px 20px; border-radius: var(--r-lg); font-size: 14px; font-weight: 500; z-index: 200; opacity: 0; transition: opacity 0.2s, transform 0.2s; pointer-events: none; }
.toast.show { opacity: 1; transform: translateX(-50%) translateY(-6px); }

/* ─── GALLERY ─── */
.gallery-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 6px; aspect-ratio: 16/8; border-radius: var(--r-xl); overflow: hidden; }
.gallery-grid img { width: 100%; height: 100%; object-fit: cover; cursor: pointer; transition: opacity 0.2s; }
.gallery-grid img:hover { opacity: 0.88; }
.gallery-grid > :first-child { grid-row: span 2; }
@media (max-width: 720px) {
  .gallery-grid { grid-template-columns: 1fr; aspect-ratio: 4/3; }
  .gallery-grid > * { display: none; }
  .gallery-grid > :first-child { display: block; grid-row: auto; }
}

/* ─── LIGHTBOX ─── */
.lightbox { position: fixed; inset: 0; background: rgba(11,17,32,0.96); z-index: 200; display: none; align-items: center; justify-content: center; padding: 32px; }
.lightbox.is-open { display: flex; }
.lightbox img { max-width: 92vw; max-height: 86vh; border-radius: var(--r-md); }
.lightbox-close, .lightbox-prev, .lightbox-next { position: absolute; width: 44px; height: 44px; border-radius: 50%; background: rgba(255,255,255,0.1); color: #fff; display: inline-flex; align-items: center; justify-content: center; transition: background 0.15s; }
.lightbox-close:hover, .lightbox-prev:hover, .lightbox-next:hover { background: rgba(255,255,255,0.2); }
.lightbox-close { top: 24px; right: 24px; }
.lightbox-prev { left: 24px; top: 50%; transform: translateY(-50%); }
.lightbox-next { right: 24px; top: 50%; transform: translateY(-50%); }
.lightbox-counter { position: absolute; bottom: 24px; left: 50%; transform: translateX(-50%); color: #94A3B8; font-size: 13px; }

/* ─── FILTER BAR ─── */
.filter-bar { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; padding: 14px 0; }

/* ─── SPLIT LISTING ─── */
.split-listing { display: grid; grid-template-columns: 1fr 1fr; gap: 0; min-height: calc(100vh - 68px); }
.split-listing .results { padding: 20px var(--pad); overflow-y: auto; }
.split-listing .map-side { position: sticky; top: 68px; height: calc(100vh - 68px); background: var(--bg-soft); }
@media (max-width: 1024px) { .split-listing { grid-template-columns: 1fr; } .split-listing .map-side { position: relative; height: 360px; } }

/* ─── MAP ─── */
.map-canvas { width: 100%; height: 100%; background: linear-gradient(135deg, #dbeafe 0%, #bfdbfe 60%, #93c5fd 100%); position: relative; overflow: hidden; }
.map-canvas::before { content: ""; position: absolute; inset: 0; background-image: linear-gradient(rgba(255,255,255,0.35) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,0.35) 1px, transparent 1px); background-size: 56px 56px; }
.map-pin { position: absolute; transform: translate(-50%, -100%); padding: 6px 10px; background: #fff; border-radius: var(--r-md); font-size: 12px; font-weight: 700; box-shadow: var(--shadow-md); cursor: pointer; transition: transform 0.15s; }
.map-pin:hover, .map-pin.is-active { background: var(--accent); color: #fff; transform: translate(-50%, -100%) scale(1.08); }

/* ─── STICKY SIDE ─── */
.sticky-side { position: sticky; top: 92px; }

/* ─── SECTION HEAD ─── */
.section-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; flex-wrap: wrap; margin-bottom: 32px; }
.section-head .lede { margin-top: 6px; }

/* ─── STAT ROW ─── */
.stat-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.stat .n { font-family: var(--font-display); font-size: clamp(32px, 4vw, 52px); font-weight: 800; letter-spacing: -0.03em; color: var(--ink); }
.stat .l { font-size: 13px; font-weight: 500; color: var(--ink-mute); margin-top: 2px; }
@media (max-width: 720px) { .stat-row { grid-template-columns: 1fr 1fr; } }

/* ─── ACCORDION ─── */
.accordion-item { border-bottom: 1px solid var(--line); }
.accordion-trigger { width: 100%; text-align: left; padding: 20px 0; display: flex; justify-content: space-between; align-items: center; gap: 16px; font-size: 16px; font-weight: 600; color: var(--ink); }
.accordion-trigger .plus { transition: transform 0.2s; }
.accordion-item.is-open .plus { transform: rotate(45deg); }
.accordion-content { max-height: 0; overflow: hidden; transition: max-height 0.25s, padding 0.25s; color: var(--ink-soft); font-size: 15px; }
.accordion-item.is-open .accordion-content { max-height: 400px; padding-bottom: 20px; }

/* ─── CITY CARD ─── */
.city-card { position: relative; border-radius: var(--r-xl); overflow: hidden; aspect-ratio: 4/5; cursor: pointer; display: block; }
.city-card img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s; }
.city-card:hover img { transform: scale(1.06); }
.city-card .label { position: absolute; left: 18px; bottom: 16px; right: 18px; color: #fff; z-index: 2; }
.city-card .label .n { font-family: var(--font-display); font-size: 24px; font-weight: 700; letter-spacing: -0.02em; }
.city-card .label .c { font-size: 13px; font-weight: 500; opacity: 0.85; }
.city-card::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 40%, rgba(11,17,32,0.72) 100%); z-index: 1; }

/* ─── AUTH ─── */
.auth-shell { min-height: calc(100vh - 68px); display: grid; grid-template-columns: 1fr 1fr; }
.auth-form-wrap { display: flex; align-items: center; justify-content: center; padding: 48px var(--pad); }
.auth-form { width: 100%; max-width: 400px; }
.auth-side { background: var(--bg-soft); position: relative; overflow: hidden; }
.auth-side img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.auth-side .quote { position: absolute; bottom: 40px; left: 40px; right: 40px; color: #fff; font-family: var(--font-display); font-size: 26px; font-weight: 700; line-height: 1.25; letter-spacing: -0.02em; }
@media (max-width: 880px) { .auth-shell { grid-template-columns: 1fr; } .auth-side { display: none; } }

/* ─── DASHBOARD ─── */
.dash-shell { display: grid; grid-template-columns: 240px 1fr; min-height: calc(100vh - 68px); }
.dash-sidebar { background: var(--bg-card); border-right: 1.5px solid var(--line); padding: 24px 14px; }
.dash-sidebar a { display: flex; align-items: center; gap: 10px; padding: 10px 14px; border-radius: var(--r-md); font-size: 14px; font-weight: 500; color: var(--ink-soft); margin-bottom: 2px; transition: background 0.15s, color 0.15s; }
.dash-sidebar a.is-active { background: var(--accent-light); color: var(--accent); font-weight: 600; }
.dash-sidebar a:hover:not(.is-active) { background: var(--bg-soft); color: var(--ink); }
.dash-main { padding: 32px var(--pad); }
@media (max-width: 880px) { .dash-shell { grid-template-columns: 1fr; } .dash-sidebar { display: none; } }

/* ─── TRUST ROW ─── */
.trust-row { display: flex; flex-wrap: wrap; gap: 24px; align-items: center; opacity: 0.55; }
.trust-row span { font-family: var(--font-display); font-size: 20px; font-weight: 700; }

/* ─── CTA CARD ─── */
.cta-card { background: var(--accent); color: #fff; border-radius: var(--r-xl); padding: clamp(32px, 5vw, 64px); display: grid; grid-template-columns: 1.4fr 1fr; gap: 32px; align-items: center; }
.cta-card h2 { color: #fff; font-size: clamp(22px, 3vw, 36px); letter-spacing: -0.025em; }
@media (max-width: 760px) { .cta-card { grid-template-columns: 1fr; } }

/* ─── MOBILE CTA BAR ─── */
.mobile-cta-bar { display: none; position: fixed; left: 0; right: 0; bottom: 0; z-index: 60; background: var(--bg-card); border-top: 1.5px solid var(--line); padding: 12px var(--pad); gap: 10px; align-items: center; justify-content: space-between; }
.mobile-cta-bar .price { font-family: var(--font-display); font-size: 20px; font-weight: 700; letter-spacing: -0.02em; }
@media (max-width: 760px) { .mobile-cta-bar { display: flex; } body.has-mobile-cta { padding-bottom: 80px; } }

/* ─── MEDIA OBJECT ─── */
.media-row { display: flex; gap: 12px; align-items: flex-start; }
.media-row img { width: 48px; height: 48px; border-radius: 50%; object-fit: cover; flex-shrink: 0; }

/* ─── SKELETON ─── */
.skel { background: linear-gradient(90deg, var(--bg-soft) 0%, var(--bg-muted) 50%, var(--bg-soft) 100%); background-size: 200% 100%; animation: skel 1.4s infinite; border-radius: var(--r-md); }
@keyframes skel { 0% { background-position: 200% 0; } 100% { background-position: -200% 0; } }

/* ─── PAGINATION ─── */
.pagination { display: flex; gap: 6px; justify-content: center; align-items: center; padding: 32px 0; }
.pagination button, .pagination a { width: 38px; height: 38px; border-radius: var(--r-md); display: inline-flex; align-items: center; justify-content: center; font-size: 14px; font-weight: 500; border: 1.5px solid var(--line); background: var(--bg-card); transition: background 0.15s, color 0.15s, border-color 0.15s; }
.pagination button:hover, .pagination a:hover { border-color: var(--accent); color: var(--accent); }
.pagination .is-active { background: var(--accent); color: #fff; border-color: var(--accent); }

/* ─── UTILITIES ─── */
.flex { display: flex; } .flex-col { flex-direction: column; } .items-center { align-items: center; } .justify-between { justify-content: space-between; } .gap-2 { gap: 8px; } .gap-3 { gap: 12px; } .gap-4 { gap: 16px; } .gap-6 { gap: 24px; }
.text-mute { color: var(--ink-mute); } .text-soft { color: var(--ink-soft); } .text-sm { font-size: 13px; } .text-xs { font-size: 11px; }
.mt-2 { margin-top: 8px; } .mt-4 { margin-top: 16px; } .mt-6 { margin-top: 24px; } .mt-8 { margin-top: 32px; }
.mb-2 { margin-bottom: 8px; } .mb-4 { margin-bottom: 16px; } .mb-6 { margin-bottom: 24px; } .mb-8 { margin-bottom: 32px; }
.grid { display: grid; } .hidden { display: none; }
@media (max-width: 760px) { .desktop-only { display: none !important; } }
@media (min-width: 761px) { .mobile-only { display: none !important; } }
@media print { .site-header, .site-footer, .floating-whatsapp, .mobile-cta-bar, .nav-toggle, .filter-bar { display: none !important; } }