/* ====================================================================
   Guillermo Costablanca — Editorial Mediterranean design system
   ==================================================================== */
:root {
  --ink:      #20201c;   /* warm near-black */
  --ink-soft: #6c665b;   /* muted warm gray */
  --paper:    #f4f0e8;   /* warm bone */
  --paper-2:  #ebe4d6;   /* deeper sand (alt sections) */
  --card:     #fbf9f4;   /* soft warm white */
  --brand:    #14403c;   /* deep pine-teal */
  --brand-2:  #0e322f;
  --brand-3:  #0a2724;
  --accent:   #bf6b43;   /* refined clay */
  --accent-2: #a6552f;
  --gold:     #ac8a55;
  --line:     #e3dccd;   /* warm hairline */
  --line-2:   #d4cab6;
  --ok:       #3e8e6f;
  --shadow-sm:  0 1px 2px rgba(20,40,40,.05), 0 2px 6px rgba(20,40,40,.05);
  --shadow:     0 18px 50px -22px rgba(16,40,40,.30);
  --shadow-lg:  0 40px 90px -30px rgba(14,40,40,.40);
  --radius:     14px;
  --radius-sm:  9px;
  --maxw:       1240px;
  --header-h:   76px;
  --font-sans:  'Inter', system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  --font-disp:  'Fraunces', Georgia, 'Times New Roman', serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0; font-family: var(--font-sans); color: var(--ink); background: var(--paper);
  line-height: 1.6; -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4 { font-family: var(--font-disp); font-weight: 400; line-height: 1.06; margin: 0; letter-spacing: -.018em; }
h1 em, h2 em, h3 em { font-style: italic; font-weight: 400; }
.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 32px; }
.muted { color: var(--ink-soft); }

/* Editorial kicker / eyebrow */
.eyebrow { display: inline-flex; align-items: center; gap: .7rem; text-transform: uppercase; letter-spacing: .24em; font-size: .72rem; font-weight: 500; color: var(--accent-2); }
.eyebrow::before { content: ""; width: 26px; height: 1px; background: currentColor; opacity: .6; }

/* Scroll reveal */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .8s cubic-bezier(.2,.7,.2,1), transform .8s cubic-bezier(.2,.7,.2,1); }
.reveal.in { opacity: 1; transform: none; }
.prop-grid > .reveal:nth-child(2), .zonas-grid > .reveal:nth-child(2), .why-grid > .reveal:nth-child(2) { transition-delay: .07s; }
.prop-grid > .reveal:nth-child(3), .zonas-grid > .reveal:nth-child(3), .why-grid > .reveal:nth-child(3) { transition-delay: .14s; }
.prop-grid > .reveal:nth-child(4), .zonas-grid > .reveal:nth-child(4) { transition-delay: .21s; }
.prop-grid > .reveal:nth-child(5) { transition-delay: .28s; }
.prop-grid > .reveal:nth-child(6) { transition-delay: .35s; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } }

/* ===== Buttons ===== */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55rem;
  font-family: var(--font-sans); font-weight: 500; font-size: .92rem; letter-spacing: .01em;
  padding: .85rem 1.5rem; border-radius: 999px; border: 1px solid transparent;
  cursor: pointer; transition: all .2s ease; white-space: nowrap; background: none;
}
.btn-primary { background: var(--accent); color: #fff; }
.btn-primary:hover { background: var(--accent-2); transform: translateY(-2px); }
.btn-dark { background: var(--brand); color: #fff; }
.btn-dark:hover { background: var(--brand-2); transform: translateY(-2px); }
.btn-ghost { border-color: var(--line-2); color: var(--ink); background: transparent; }
.btn-ghost:hover { border-color: var(--ink); }
.btn-wa { background: #25D366; color: #fff; border-color: #25D366; }
.btn-wa:hover { background: #1da851; border-color: #1da851; color: #fff; transform: translateY(-2px); }
.btn-wa svg { width: 16px; height: 16px; }
/* Floating WhatsApp button — always visible bottom-right */
.wa-fab { position: fixed; bottom: 22px; right: 22px; width: 58px; height: 58px; border-radius: 50%; background: #25D366; color: #fff; display: grid; place-items: center; box-shadow: 0 8px 24px rgba(37,211,102,.45), 0 4px 12px rgba(0,0,0,.18); z-index: 120; transition: transform .2s, box-shadow .2s; }
.wa-fab:hover { transform: scale(1.08); color: #fff; box-shadow: 0 10px 30px rgba(37,211,102,.55), 0 6px 16px rgba(0,0,0,.22); }
.wa-fab svg { width: 30px; height: 30px; }
body.admin-mode .wa-fab, body.bio-mode .wa-fab { display: none; }
@media (max-width: 680px) { .wa-fab { width: 54px; height: 54px; bottom: 18px; right: 18px; } .wa-fab svg { width: 28px; height: 28px; } }
.btn-light { background: rgba(255,255,255,.14); color: #fff; border-color: rgba(255,255,255,.35); backdrop-filter: blur(6px); }
.btn-light:hover { background: rgba(255,255,255,.26); }
.btn-sm { padding: .58rem 1.05rem; font-size: .85rem; }
.btn-block { width: 100%; }
.link-arrow { display: inline-flex; align-items: center; gap: .5rem; font-weight: 500; font-size: .92rem; color: var(--ink); position: relative; }
.link-arrow svg { width: 16px; height: 16px; transition: transform .25s; }
.link-arrow:hover svg { transform: translateX(4px); }
.link-arrow::after { content: ""; position: absolute; left: 0; bottom: -3px; height: 1px; width: 100%; background: currentColor; transform: scaleX(0); transform-origin: left; transition: transform .3s; }
.link-arrow:hover::after { transform: scaleX(1); }

/* ===== Header ===== */
.site-header {
  position: sticky; top: 0; z-index: 100; height: var(--header-h);
  background: rgba(244,240,232,0); transition: background .3s, border-color .3s, box-shadow .3s;
  border-bottom: 1px solid transparent;
}
.site-header.scrolled { background: rgba(244,240,232,.88); backdrop-filter: blur(14px); border-bottom-color: var(--line); }
.header-inner { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; }
.brand { display: inline-flex; align-items: center; gap: .75rem; }
.brand-mark {
  width: 42px; height: 42px; border-radius: 50%; flex: none; background: var(--accent);
  color: #fff; font-family: var(--font-disp); font-weight: 500; font-size: 1rem;
  display: grid; place-items: center; letter-spacing: .02em; overflow: hidden;
}
.brand-mark img { width: 100%; height: 100%; object-fit: cover; object-position: center 22%; display: block; }
.brand-text { display: flex; flex-direction: column; line-height: 1.04; }
.brand-text strong { font-family: var(--font-disp); font-weight: 500; font-size: 1.18rem; color: var(--ink); letter-spacing: -.01em; }
.brand-text small { font-size: .62rem; letter-spacing: .2em; text-transform: uppercase; color: var(--ink-soft); margin-top: 2px; }
.main-nav { display: flex; gap: 2.2rem; margin-left: auto; }
.main-nav a { font-weight: 400; font-size: .96rem; color: var(--ink); position: relative; padding: .3rem 0; }
.main-nav a::after { content: ""; position: absolute; left: 0; bottom: 0; height: 1px; width: 0; background: var(--accent); transition: width .25s; }
.main-nav a:hover::after, .main-nav a.active::after { width: 100%; }
.header-actions { display: flex; align-items: center; gap: .8rem; }
.nav-toggle { display: none; flex-direction: column; gap: 5px; background: none; border: 0; cursor: pointer; padding: 6px; }
.nav-toggle span { width: 24px; height: 1.5px; background: var(--ink); transition: .2s; }

/* Language switcher */
.lang-switch { position: relative; }
.lang-btn { display: inline-flex; align-items: center; gap: .4rem; padding: .42rem .6rem; border: 1px solid var(--line-2); border-radius: 999px; background: transparent; cursor: pointer; font-family: inherit; font-size: .82rem; font-weight: 600; letter-spacing: .02em; color: var(--ink); transition: border-color .15s, background .15s; }
.lang-btn:hover { border-color: var(--brand); }
.lang-btn img { width: 22px; height: 16px; border-radius: 2px; object-fit: cover; display: block; box-shadow: 0 0 0 1px rgba(0,0,0,.06); }
.lang-caret { width: 13px; height: 13px; opacity: .55; transition: transform .2s; }
.lang-switch.open .lang-caret { transform: rotate(180deg); }
.lang-menu { position: absolute; top: calc(100% + 8px); right: 0; min-width: 178px; background: var(--card); border: 1px solid var(--line-2); border-radius: 13px; box-shadow: var(--shadow); padding: .35rem; display: none; z-index: 200; }
.lang-switch.open .lang-menu { display: block; animation: langIn .16s ease; }
@keyframes langIn { from { opacity: 0; transform: translateY(-4px); } to { opacity: 1; transform: none; } }
.lang-opt { display: flex; align-items: center; gap: .65rem; width: 100%; padding: .52rem .6rem; border: 0; background: none; border-radius: 9px; cursor: pointer; font-family: inherit; font-size: .9rem; color: var(--ink); text-align: left; transition: background .12s; }
.lang-opt:hover { background: var(--paper-2); }
.lang-opt.active { color: var(--brand); font-weight: 600; }
.lang-opt img { width: 24px; height: 17px; border-radius: 2px; object-fit: cover; box-shadow: 0 0 0 1px rgba(0,0,0,.06); }

/* ===== Loading ===== */
.loading-screen { min-height: 76vh; display: grid; place-content: center; justify-items: center; gap: 1.1rem; color: var(--ink-soft); }
.spinner { width: 40px; height: 40px; border: 2px solid var(--line-2); border-top-color: var(--brand); border-radius: 50%; animation: spin 1s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

/* ===== Hero ===== */
.hero { position: relative; min-height: 90vh; display: flex; align-items: flex-end; color: #fff; overflow: hidden; }
.hero-slides { position: absolute; inset: 0; }
.hero-bg { position: absolute; inset: 0; background-size: cover; background-position: center; opacity: 0; transition: opacity 1.8s ease; }
.hero-bg.active { opacity: 1; animation: heroZoom 7s ease-out forwards; }
@keyframes heroZoom { from { transform: scale(1.02); } to { transform: scale(1.12); } }
.hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(195deg, rgba(10,39,36,.25) 0%, rgba(10,39,36,.12) 40%, rgba(10,39,36,.82) 100%); }
.hero-inner { position: relative; z-index: 2; width: 100%; padding: 0 0 6vh; }
.hero-kicker { display: inline-flex; align-items: center; gap: .8rem; text-transform: uppercase; letter-spacing: .26em; font-size: .72rem; font-weight: 500; color: rgba(255,255,255,.92); margin-bottom: 1.6rem; }
.hero-kicker::before { content: ""; width: 34px; height: 1px; background: var(--accent); }
.hero h1 { font-size: clamp(3rem, 8.5vw, 6.4rem); font-weight: 300; letter-spacing: -.03em; max-width: 14ch; text-shadow: 0 4px 40px rgba(0,0,0,.25); }
.hero h1 em { color: #f0c9b3; }
.hero .lede { font-size: clamp(1.05rem, 1.5vw, 1.3rem); max-width: 46ch; opacity: .92; margin: 1.5rem 0 0; font-weight: 300; }
.hero-meta { display: flex; align-items: center; gap: 1.4rem; margin-top: 2.4rem; flex-wrap: wrap; font-size: .95rem; font-weight: 300; }
.hero-meta b { font-family: var(--font-disp); font-weight: 400; font-size: 1.15rem; }
.hero-meta .dot { width: 4px; height: 4px; border-radius: 50%; background: var(--accent); }

/* ===== Search card ===== */
.search-card {
  position: relative; z-index: 5; margin: -44px auto 0; max-width: 1080px;
  background: var(--card); border-radius: var(--radius); box-shadow: var(--shadow-lg);
  padding: 1.1rem; border: 1px solid var(--line);
}
.search-grid { display: grid; grid-template-columns: repeat(5, 1fr) auto; gap: .7rem; align-items: end; }
.field { display: flex; flex-direction: column; gap: .4rem; }
.field label { font-size: .68rem; font-weight: 500; text-transform: uppercase; letter-spacing: .14em; color: var(--ink-soft); }
.field select, .field input {
  font-family: inherit; font-size: .95rem; color: var(--ink); padding: .8rem .85rem;
  border: 1px solid var(--line-2); border-radius: var(--radius-sm); background: #fff; width: 100%;
  appearance: none; transition: border-color .15s, box-shadow .15s;
}
.field select:focus, .field input:focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 3px rgba(20,64,60,.1); }

/* ===== Marquee ===== */
.marquee { background: var(--brand); color: #fff; overflow: hidden; border-top: 1px solid var(--brand-2); }
.marquee-track { display: inline-flex; align-items: center; gap: 2.6rem; white-space: nowrap; padding: 1.1rem 0; animation: marquee 38s linear infinite; }
.marquee span { text-transform: uppercase; letter-spacing: .22em; font-size: .78rem; font-weight: 500; opacity: .92; }
.marquee i { color: var(--accent); font-style: normal; }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ===== Sections ===== */
section { padding: 116px 0; }
.section-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 2rem; margin-bottom: 3.2rem; }
.section-head h2 { font-size: clamp(2.1rem, 4.5vw, 3.4rem); font-weight: 300; max-width: 18ch; }
.section-head .eyebrow { margin-bottom: 1.1rem; }
.section-head p { color: var(--ink-soft); max-width: 50ch; margin: 1rem 0 0; font-size: 1.02rem; }
.section-alt { background: var(--paper-2); }
.section-dark { background: var(--brand-3); color: #fff; }

/* ===== Stats band ===== */
.stats-strip { background: var(--brand-3); color: #fff; padding: 0; }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.stat { padding: 3rem 1.5rem; text-align: center; border-right: 1px solid rgba(255,255,255,.1); }
.stat:last-child { border-right: 0; }
.stat b { display: block; font-family: var(--font-disp); font-weight: 300; font-size: 2.8rem; line-height: 1; margin-bottom: .55rem; }
.stat span { opacity: .72; font-size: .78rem; letter-spacing: .14em; text-transform: uppercase; }

/* ===== Property grid + cards ===== */
.prop-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.8rem; }
.prop-card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; cursor: pointer; display: flex; flex-direction: column; box-shadow: var(--shadow-sm); transition: transform .25s, box-shadow .25s; }
.prop-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.prop-media { position: relative; aspect-ratio: 4 / 3; overflow: hidden; background: var(--paper-2); }
.prop-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s cubic-bezier(.2,.7,.2,1); }
.prop-card:hover .prop-media img { transform: scale(1.06); }
.prop-flags { position: absolute; top: 12px; left: 12px; display: flex; gap: .4rem; flex-wrap: wrap; }
/* Subtle photo-flip arrows on card covers */
.card-arrow { position: absolute; top: 50%; transform: translateY(-50%); width: 34px; height: 34px; border-radius: 50%; border: 0; background: rgba(255,255,255,.5); color: var(--brand); display: grid; place-items: center; cursor: pointer; opacity: 0; transition: opacity .2s, background .2s; z-index: 3; backdrop-filter: blur(3px); box-shadow: 0 2px 8px rgba(0,0,0,.12); }
.card-arrow.prev { left: 10px; }
.card-arrow.next { right: 10px; }
.card-arrow:hover { background: rgba(255,255,255,.92); }
.card-arrow svg { width: 18px; height: 18px; }
.prop-card:hover .card-arrow { opacity: 1; }
@media (hover: none) { .card-arrow { opacity: .72; } }
/* Photo counter "X/Y" (bottom-right of the cover) */
.img-counter { position: absolute; bottom: 12px; right: 12px; background: rgba(10,39,36,.78); color: #fff; font-size: .72rem; font-weight: 500; letter-spacing: .02em; padding: .22rem .6rem; border-radius: 999px; backdrop-filter: blur(3px); pointer-events: none; z-index: 2; }
.listing-grid .img-counter { bottom: 16px; right: 16px; }
/* Favourite heart on cards */
.fav-btn { position: absolute; top: 12px; right: 12px; width: 36px; height: 36px; border-radius: 50%; border: 0; background: rgba(255,255,255,.85); color: var(--ink-soft); display: grid; place-items: center; cursor: pointer; z-index: 4; transition: transform .15s, background .15s, color .15s; box-shadow: 0 2px 8px rgba(0,0,0,.14); -webkit-backdrop-filter: blur(3px); backdrop-filter: blur(3px); }
.fav-btn svg { width: 19px; height: 19px; fill: none; }
.fav-btn:hover { transform: scale(1.1); background: #fff; }
.fav-btn.active { color: #e0245e; }
.fav-btn.active svg { fill: #e0245e; }
.listing-grid .fav-btn { top: 16px; right: 16px; }
/* Favourites link in the header */
.fav-link { position: relative; display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px; border-radius: 50%; color: var(--ink); transition: color .15s, background .15s; }
.fav-link:hover { color: #e0245e; background: var(--paper-2); }
.fav-link svg { width: 21px; height: 21px; fill: none; }
.fav-count { position: absolute; top: 1px; right: 0; min-width: 16px; height: 16px; padding: 0 4px; border-radius: 999px; background: var(--accent); color: #fff; font-size: .6rem; font-weight: 600; display: grid; place-items: center; line-height: 1; }
.chip { font-size: .66rem; font-weight: 500; letter-spacing: .08em; text-transform: uppercase; padding: .32rem .65rem; border-radius: 999px; background: rgba(251,249,244,.94); color: var(--brand); backdrop-filter: blur(4px); }
.prop-price-tag { position: absolute; bottom: 12px; left: 12px; background: rgba(10,39,36,.9); color: #fff; padding: .5rem .85rem; border-radius: 10px; font-family: var(--font-disp); font-weight: 500; font-size: 1.1rem; backdrop-filter: blur(3px); }
.prop-price-tag.promo { display: flex; flex-direction: column; align-items: flex-start; gap: 0; line-height: 1.18; }
.prop-price-tag.promo .pt-from { display: block; }
.prop-price-tag.promo .pt-upto { font-family: var(--font-sans); font-weight: 400; font-size: .68rem; opacity: .82; letter-spacing: .01em; }
.listing-grid .prop-price-tag.promo .pt-upto { font-size: .76rem; }
.chip.chip-count { background: var(--brand); color: #fff; }
.prop-body { padding: 1.1rem 1.2rem 1.3rem; display: flex; flex-direction: column; gap: .42rem; flex: 1; }
.prop-price-body { font-family: var(--font-disp); font-weight: 500; font-size: 1.45rem; color: var(--brand); line-height: 1.1; }
.prop-price-body small { font-family: var(--font-sans); font-size: .72rem; font-weight: 400; color: var(--ink-soft); text-transform: uppercase; letter-spacing: .04em; }
.listing-grid .prop-price-body { font-size: 1.7rem; }
.prop-title { font-family: var(--font-disp); font-size: 1.3rem; font-weight: 400; transition: color .2s; }
.prop-card:hover .prop-title { color: var(--accent-2); }
.prop-loc { display: flex; align-items: center; gap: .35rem; color: var(--ink-soft); font-size: .88rem; }
.prop-loc svg { width: 15px; height: 15px; }
.prop-specs { display: flex; gap: 1.1rem; margin-top: auto; padding-top: .85rem; border-top: 1px solid var(--line); color: var(--ink); font-size: .88rem; }
.prop-specs span { display: inline-flex; align-items: center; gap: .4rem; }
.prop-specs svg { color: var(--brand); opacity: .85; }
.ico { width: 17px; height: 17px; flex: none; }

/* Premium 2-up listing grid (Propiedades page only) */
.listing-grid { grid-template-columns: repeat(2, 1fr); gap: 2.2rem; }
.listing-grid .prop-media { aspect-ratio: 16 / 10; }
.listing-grid .prop-flags { top: 16px; left: 16px; gap: .45rem; }
.listing-grid .chip { font-size: .68rem; padding: .38rem .8rem; }
.listing-grid .prop-price-tag { bottom: 16px; left: 16px; font-size: 1.4rem; padding: .58rem 1.1rem; border-radius: 12px; }
.listing-grid .prop-body { padding: 1.5rem 1.7rem 1.7rem; gap: .55rem; }
.listing-grid .prop-title { font-size: 1.7rem; }
.listing-grid .prop-loc { font-size: .96rem; }
.listing-grid .prop-loc svg { width: 17px; height: 17px; }
.listing-grid .prop-specs { font-size: .95rem; gap: 1.6rem; padding-top: 1.1rem; }
.listing-grid .prop-specs svg { width: 19px; height: 19px; }
.listing-grid .prop-card:hover { transform: translateY(-6px); }
@media (max-width: 720px) {
  .listing-grid { grid-template-columns: 1fr; gap: 1.4rem; }
  .listing-grid .prop-title { font-size: 1.45rem; }
}

/* ===== Zonas ===== */
.zonas-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.1rem; }
.zona-card { position: relative; aspect-ratio: 3 / 4.2; border-radius: var(--radius); overflow: hidden; cursor: pointer; }
.zona-card img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s cubic-bezier(.2,.7,.2,1); }
.zona-card:hover img { transform: scale(1.07); }
.zona-card::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 35%, rgba(10,39,36,.9)); }
.zona-meta { position: absolute; left: 18px; bottom: 18px; right: 18px; z-index: 2; color: #fff; display: flex; justify-content: space-between; align-items: flex-end; }
.zona-meta b { font-family: var(--font-disp); font-weight: 400; font-size: 1.4rem; display: block; }
.zona-meta span { font-size: .76rem; opacity: .8; letter-spacing: .05em; }
.zona-meta .za { width: 34px; height: 34px; border-radius: 50%; border: 1px solid rgba(255,255,255,.4); display: grid; place-items: center; flex: none; transition: background .25s, color .25s; }
.zona-card:hover .za { background: #fff; color: var(--brand); }
.zona-meta .za svg { width: 15px; height: 15px; }

/* ===== About Guillermo ===== */
.about { display: grid; grid-template-columns: .85fr 1.15fr; gap: 4rem; align-items: center; }
.about-photo { position: relative; aspect-ratio: 4 / 5; border-radius: var(--radius); background: var(--paper-2); overflow: hidden; }
.about-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 20%; }
.about-body h2 { font-size: clamp(2rem, 4vw, 3rem); font-weight: 300; margin: 1rem 0 1.2rem; }
.about-body p { color: var(--ink-soft); font-size: 1.06rem; max-width: 52ch; margin: 0 0 1.1rem; }
.about-sign { font-family: var(--font-disp); font-style: italic; font-size: 1.7rem; color: var(--brand); margin-top: 1.4rem; }
.about-actions { display: flex; gap: .8rem; margin-top: 1.8rem; flex-wrap: wrap; }

/* ===== Costa Blanca page ===== */
.cb-hero { position: relative; min-height: 80vh; display: flex; align-items: flex-end; color: #fff; overflow: hidden; }
.cb-hero .hero-bg { position: absolute; inset: 0; background-size: cover; background-position: center; opacity: 1; animation: heroZoom 9s ease-out forwards; }
.cb-hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(195deg, rgba(10,39,36,.25) 0%, rgba(10,39,36,.15) 40%, rgba(10,39,36,.8) 100%); }
.cb-hero-in { position: relative; z-index: 2; padding: 0 0 6vh; }
.cb-hero h1 { font-size: clamp(2.8rem, 7.5vw, 5.6rem); font-weight: 300; letter-spacing: -.03em; margin-bottom: 1.3rem; }
.cb-hero h1 em { color: #f0c9b3; }
.cb-hero .lede { font-size: clamp(1.05rem, 1.4vw, 1.25rem); max-width: 54ch; opacity: .94; font-weight: 300; margin: 0; }
.cb-intro { max-width: 840px; }
.cb-intro h2 { font-size: clamp(1.9rem, 3.4vw, 2.8rem); font-weight: 300; margin: 1rem 0 1.4rem; }
.cb-intro p { color: var(--ink-soft); font-size: 1.12rem; line-height: 1.85; margin: 0; }
.cb-row { display: grid; grid-template-columns: 1fr 1fr; gap: 3.5rem; align-items: center; margin-bottom: 5rem; }
.cb-row:last-child { margin-bottom: 0; }
.cb-row-img { aspect-ratio: 4 / 3; border-radius: var(--radius); background: var(--paper-2) center/cover no-repeat; box-shadow: var(--shadow); }
.cb-row.flip .cb-row-img { order: 2; }
.cb-row-text h3 { font-family: var(--font-disp); font-size: clamp(1.6rem, 2.6vw, 2.3rem); font-weight: 400; margin: 1rem 0 1rem; line-height: 1.15; }
.cb-row-text p { color: var(--ink-soft); font-size: 1.06rem; line-height: 1.8; margin: 0; max-width: 46ch; }
.cb-band { position: relative; min-height: 58vh; display: flex; align-items: center; color: #fff; overflow: hidden; }
.cb-band .hero-bg { position: absolute; inset: 0; background-size: cover; background-position: center; opacity: 1; }
.cb-band::after { content: ""; position: absolute; inset: 0; background: rgba(10,39,36,.62); }
.cb-band-in { position: relative; z-index: 2; }
.cb-quote { font-family: var(--font-disp); font-weight: 300; font-style: italic; font-size: clamp(1.8rem, 3.8vw, 3.1rem); line-height: 1.25; max-width: 24ch; margin: 0; }
.cb-facts { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; }
.cb-fact { text-align: center; }
.cb-fact-ico { width: 50px; height: 50px; border-radius: 50%; border: 1px solid var(--line-2); color: var(--accent-2); display: grid; place-items: center; margin: 0 auto .9rem; }
.cb-fact-ico svg { width: 22px; height: 22px; }
.cb-fact b { display: block; font-family: var(--font-disp); font-weight: 400; font-size: 1.35rem; color: var(--brand); margin-bottom: .25rem; }
.cb-fact > span:last-child { font-size: .88rem; color: var(--ink-soft); }
.cb-invest-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 4.5rem; align-items: center; }
.cb-invest-intro h2 { color: #fff; font-size: clamp(1.9rem, 3.4vw, 2.8rem); font-weight: 300; margin: 1.1rem 0 1.3rem; }
.cb-invest-intro p { color: rgba(255,255,255,.7); font-size: 1.05rem; line-height: 1.8; margin: 0 0 1.1rem; }
.cb-invest-forecast { color: rgba(255,255,255,.88) !important; }
.cb-invest-link { color: #fff !important; margin-top: .5rem; }
.cb-invest-stats { display: flex; flex-direction: column; }
.cb-stat { display: flex; align-items: baseline; gap: 1.4rem; padding: 1.5rem 0; border-bottom: 1px solid rgba(255,255,255,.16); }
.cb-stat:first-child { border-top: 1px solid rgba(255,255,255,.16); }
.cb-stat > b { font-family: var(--font-disp); font-weight: 300; font-size: clamp(2.3rem, 3.6vw, 3.2rem); color: #e7a987; line-height: 1; min-width: 4.6ch; }
.cb-stat > div { display: flex; flex-direction: column; }
.cb-stat-label { color: #fff; font-weight: 500; font-size: 1.02rem; }
.cb-stat-ctx { color: rgba(255,255,255,.58); font-size: .9rem; margin-top: .25rem; }
.cb-invest .cb-disclaimer { color: rgba(255,255,255,.45); margin-top: 2.6rem; }
.cb-disclaimer { font-size: .8rem; color: var(--ink-soft); opacity: .75; max-width: 82ch; margin: 1.6rem 0 0; line-height: 1.5; }
.cb-cta { text-align: center; max-width: 660px; margin: 0 auto; }
.cb-cta h2 { font-size: clamp(2rem, 4vw, 3rem); font-weight: 300; margin: 1rem 0 1rem; }
.cb-cta p { color: var(--ink-soft); font-size: 1.08rem; margin: 0 0 1.9rem; }
.cb-cta-actions { display: flex; gap: .8rem; justify-content: center; flex-wrap: wrap; }

/* ===== Why us ===== */
.why-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.why-card { padding: 2rem 0 0; border-top: 1px solid var(--ink); }
.why-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 1.6rem; }
.why-ico { width: 48px; height: 48px; border-radius: 50%; border: 1px solid var(--line-2); display: grid; place-items: center; color: var(--accent-2); }
.why-ico svg { width: 22px; height: 22px; }
.why-num { font-family: var(--font-disp); font-size: 1.05rem; color: var(--accent-2); }
.why-card h3 { font-size: 1.5rem; font-weight: 400; margin-bottom: .7rem; }
.why-card p { color: var(--ink-soft); margin: 0; font-size: .98rem; }
.section-dark .why-card { border-top-color: rgba(255,255,255,.3); }
.section-dark .why-ico { border-color: rgba(255,255,255,.28); color: #e7a987; }
.section-dark .why-num { color: #e7a987; }
.section-dark .why-card p { color: rgba(255,255,255,.66); }
.section-dark .why-card h3 { color: #fff; }
.section-dark .section-head h2 { color: #fff; }

/* "Buy with confidence" — elegant staggered scroll-in */
.why-grid > .why-card.reveal { transform: translateY(42px); transition-duration: .9s; }
.why-grid > .why-card.reveal:nth-child(2) { transition-delay: .15s; }
.why-grid > .why-card.reveal:nth-child(3) { transition-delay: .3s; }
.section-dark .why-card { border-top: 0; position: relative; transition: opacity .9s cubic-bezier(.2,.7,.2,1), transform .9s cubic-bezier(.2,.7,.2,1); }
.section-dark .why-card::before { content: ""; position: absolute; top: 0; left: 0; width: 100%; height: 1px; background: rgba(255,255,255,.28); transform: scaleX(0); transform-origin: left; transition: transform 1.1s cubic-bezier(.2,.7,.2,1); transition-delay: inherit; }
.section-dark .why-card.in::before { transform: scaleX(1); }
.section-dark .why-card.in .why-ico { animation: whyIcoIn .85s cubic-bezier(.34,1.45,.5,1) both; animation-delay: .25s; }
@keyframes whyIcoIn { from { opacity: 0; transform: scale(.5) rotate(-6deg); } to { opacity: 1; transform: scale(1) rotate(0); } }
.section-dark .why-ico { transition: border-color .3s, background .3s, color .3s; }
.section-dark .why-num { opacity: 0; transform: translateY(-8px); transition: opacity .6s ease, transform .6s ease; transition-delay: .38s; }
.section-dark .why-card.in .why-num { opacity: 1; transform: none; }
.section-dark .why-card h3 { transition: color .3s; }
.section-dark .why-card:hover .why-ico { border-color: #e7a987; color: #fff; background: rgba(231,169,135,.16); }
.section-dark .why-card:hover h3 { color: #f0d9c9; }
@media (prefers-reduced-motion: reduce) {
  .section-dark .why-card::before { transform: scaleX(1); }
  .section-dark .why-card.in .why-ico, .section-dark .why-ico { animation: none; opacity: 1; }
  .section-dark .why-num { opacity: 1; transform: none; }
}

/* ===== CTA / Contact ===== */
.cta-band { background: var(--brand); color: #fff; border-radius: var(--radius); padding: 4rem; display: grid; grid-template-columns: 1.05fr 1fr; gap: 3.5rem; align-items: center; position: relative; overflow: hidden; }
.cta-band .eyebrow { color: #f0c9b3; }
.cta-band h2 { font-size: clamp(2rem, 3.5vw, 3rem); font-weight: 300; margin: 1rem 0 1rem; }
.cta-band p { opacity: .82; margin: 0; font-size: 1.05rem; }
.contact-form { display: grid; grid-template-columns: 1fr 1fr; gap: .8rem; }
.contact-form .full { grid-column: 1 / -1; }
.contact-form input, .contact-form textarea {
  width: 100%; font-family: inherit; font-size: .95rem; padding: .9rem 1rem; border-radius: var(--radius-sm);
  border: 1px solid rgba(255,255,255,.22); background: rgba(255,255,255,.07); color: #fff;
}
.contact-form input::placeholder, .contact-form textarea::placeholder { color: rgba(255,255,255,.6); }
.contact-form input:focus, .contact-form textarea:focus { outline: none; border-color: rgba(255,255,255,.7); background: rgba(255,255,255,.12); }
.contact-form textarea { min-height: 92px; resize: vertical; }

/* ===== Page header (sub pages) ===== */
.page-head { background: var(--brand-3); color: #fff; padding: 26px 0 24px; }
.breadcrumb { display: flex; gap: .5rem; align-items: center; font-size: .72rem; letter-spacing: .04em; text-transform: uppercase; opacity: .6; margin-bottom: .7rem; }
.breadcrumb a:hover { color: var(--accent); }
.page-head h1 { font-size: clamp(1.5rem, 2.6vw, 2.05rem); font-weight: 300; line-height: 1.12; }
.page-head p { margin: .35rem 0 0; opacity: .7; font-size: .92rem; font-weight: 300; }

/* ===== Listings ===== */
.listing-layout { padding: 28px 0 100px; }
.list-head { margin-bottom: 1.3rem; }
.list-head .breadcrumb { opacity: 1; color: var(--ink-soft); margin-bottom: .5rem; }
.list-head h1 { font-family: var(--font-disp); font-weight: 300; font-size: clamp(1.5rem, 2.6vw, 2.05rem); line-height: 1.1; }
.filters-bar {
  position: sticky; top: var(--header-h); z-index: 40; background: rgba(244,240,232,.92); backdrop-filter: blur(12px);
  border: 1px solid var(--line); border-radius: var(--radius); padding: 1.1rem 1.2rem; margin-bottom: 2rem; box-shadow: var(--shadow-sm);
}
.filters-toggle { display: none; }
.filters-grid { display: grid; grid-template-columns: 1.4fr repeat(6, 1fr) auto; gap: .6rem; align-items: end; }
.filters-grid .field label { font-size: .62rem; }
.filters-grid .field input, .filters-grid .field select { padding: .65rem .7rem; font-size: .9rem; }
.filters-foot { display: flex; justify-content: space-between; align-items: center; margin-top: 1rem; gap: 1rem; flex-wrap: wrap; }
.results-count { font-size: .92rem; color: var(--ink-soft); }
.results-count b { color: var(--ink); font-weight: 500; }
.toolbar-right { display: flex; align-items: center; gap: .8rem; }
.checkbox { display: inline-flex; align-items: center; gap: .45rem; font-size: .9rem; cursor: pointer; user-select: none; }
.checkbox input { width: 16px; height: 16px; accent-color: var(--brand); }
.sort-select { padding: .58rem .85rem; border: 1px solid var(--line-2); border-radius: var(--radius-sm); background: #fff; font-family: inherit; font-size: .9rem; }
.load-more-wrap { text-align: center; margin-top: 3rem; }
.empty-state { text-align: center; padding: 5rem 1rem; color: var(--ink-soft); }
.empty-state h3 { font-size: 1.6rem; font-weight: 400; color: var(--ink); margin-bottom: .5rem; }

/* ===== Map view ===== */
.view-toggle { display: inline-flex; background: var(--paper-2); border: 1px solid var(--line-2); border-radius: 999px; padding: 3px; }
.view-toggle button { border: 0; background: none; padding: .48rem .9rem; border-radius: 999px; font-family: inherit; font-weight: 500; font-size: .85rem; cursor: pointer; color: var(--ink-soft); display: inline-flex; align-items: center; gap: .35rem; }
.view-toggle button svg { width: 15px; height: 15px; }
.view-toggle button.active { background: #fff; color: var(--brand); box-shadow: var(--shadow-sm); }
.map-tools { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: .2rem .2rem 1rem; flex-wrap: wrap; }
.map-count { font-size: .92rem; color: var(--ink-soft); }
.map-count b { color: var(--ink); }
#leafletMap { height: 640px; border-radius: var(--radius); border: 1px solid var(--line); z-index: 1; }
.price-pin span { display: inline-block; transform: translate(-50%, -50%); background: var(--brand); color: #fff; font-weight: 500; font-size: .78rem; line-height: 1; padding: .38rem .6rem; border-radius: 999px; white-space: nowrap; box-shadow: 0 3px 8px rgba(10,39,36,.4); border: 2px solid #fff; cursor: pointer; }
.price-pin:hover span { background: var(--accent); z-index: 5; }
.marker-cluster-small, .marker-cluster-medium, .marker-cluster-large { background: rgba(20,64,60,.22) !important; }
.marker-cluster-small div, .marker-cluster-medium div, .marker-cluster-large div { background: var(--brand) !important; }
.marker-cluster span { color: #fff !important; font-weight: 500; }
.map-pop { display: flex; gap: .7rem; cursor: pointer; width: 244px; }
.map-pop-img { width: 86px; height: 74px; border-radius: 8px; background-size: cover; background-position: center; flex: none; background-color: var(--paper-2); }
.map-pop-body { display: flex; flex-direction: column; gap: .12rem; min-width: 0; }
.map-pop-body b { font-size: 1.05rem; color: var(--brand); font-family: var(--font-disp); font-weight: 500; }
.map-pop-body span { font-size: .86rem; font-weight: 500; color: var(--ink); }
.map-pop-body small { color: var(--ink-soft); font-size: .74rem; display: flex; align-items: center; gap: .25rem; }
.map-pop-body small svg { width: 12px; height: 12px; flex: none; }
.map-pop-link { color: var(--accent-2) !important; font-weight: 500; font-size: .8rem !important; margin-top: .2rem; }
.leaflet-popup-content { margin: 12px 14px; }
.leaflet-popup-content-wrapper { border-radius: 12px; }
@media (max-width: 680px) { #leafletMap { height: 460px; } }

/* ===== Detail ===== */
.detail { padding: 32px 0 100px; }
.detail-gallery { margin-bottom: 2.6rem; }
.detail-gallery .g-main { margin: 0; aspect-ratio: 16 / 9; border-radius: var(--radius); overflow: hidden; cursor: pointer; background: var(--paper-2); }
.detail-gallery .g-main img { width: 100%; height: 100%; object-fit: cover; object-position: center; transition: transform .6s; }
.detail-gallery .g-main:hover img { transform: scale(1.04); }
.g-thumbs { display: grid; grid-template-columns: repeat(5, 1fr); gap: 10px; margin-top: 10px; }
.g-thumbs figure { margin: 0; aspect-ratio: 4 / 3; border-radius: 10px; overflow: hidden; cursor: pointer; position: relative; background: var(--paper-2); }
.g-thumbs img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.g-thumbs figure:hover img { transform: scale(1.06); }
.g-more { position: absolute; inset: 0; background: rgba(10,39,36,.55); color: #fff; display: grid; place-items: center; font-weight: 500; font-size: 1.1rem; }

/* Detail split hero: gallery + info panel */
.detail-head { display: grid; grid-template-columns: 1.6fr 1fr; gap: 2.2rem; align-items: start; margin-bottom: 3rem; }
.detail-head .detail-gallery { margin-bottom: 0; }
.detail-aside .enquiry-card { position: sticky; top: calc(var(--header-h) + 16px); padding: 1.7rem; }
.detail-aside .prop-kicker { font-size: .72rem; }
.detail-h1 { font-family: var(--font-disp); font-size: clamp(1.5rem, 2vw, 1.95rem); font-weight: 400; line-height: 1.15; margin: .5rem 0 .55rem; }
.detail-aside .detail-loc { font-size: .9rem; margin: 0 0 1.1rem; }
.detail-aside .detail-price { font-size: 2.1rem; margin: 0; }
.detail-aside .detail-price small { display: inline; text-align: left; font-family: var(--font-sans); font-size: .7rem; font-weight: 500; letter-spacing: .06em; text-transform: uppercase; color: var(--ink-soft); margin-left: .4rem; }
.detail-quick { display: flex; flex-wrap: wrap; gap: .55rem 1.1rem; margin: 1.1rem 0 1.3rem; padding: 1.05rem 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); font-size: .9rem; color: var(--ink); }
.detail-quick span { display: inline-flex; align-items: center; gap: .4rem; }
.detail-quick svg { color: var(--brand); width: 17px; height: 17px; }
.detail-body { max-width: 920px; }
.detail-cols { display: grid; grid-template-columns: minmax(0, 1fr) 390px; gap: 2.4rem; align-items: start; }
.detail-main .detail-gallery { margin-bottom: 2rem; }
.detail-title-row { display: flex; justify-content: space-between; gap: 1.5rem; align-items: flex-start; flex-wrap: wrap; margin-bottom: 1.2rem; }
.detail-title-row h1 { font-size: clamp(1.9rem, 3.2vw, 2.7rem); font-weight: 300; }
.detail-loc { color: var(--ink-soft); display: flex; align-items: center; gap: .4rem; margin-top: .6rem; font-size: .98rem; }
.detail-price { font-family: var(--font-disp); font-size: 2.3rem; font-weight: 400; color: var(--brand); white-space: nowrap; }
.detail-price small { display: block; font-family: var(--font-sans); font-size: .72rem; font-weight: 500; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-soft); text-align: right; margin-top: .2rem; }
/* Summary header (title + price + key specs) shown above the gallery */
.detail-summary { margin-bottom: 1.7rem; }
.detail-summary .detail-h1 { font-family: var(--font-disp); font-size: clamp(1.7rem, 3.2vw, 2.5rem); font-weight: 400; line-height: 1.12; margin: 0 0 .5rem; }
.detail-summary .detail-loc { margin: 0 0 .9rem; }
.detail-summary .detail-price { display: flex; flex-wrap: wrap; align-items: baseline; gap: .15rem .55rem; white-space: normal; font-size: clamp(1.9rem, 4.5vw, 2.5rem); }
.detail-summary .detail-price small { display: inline; text-align: left; margin: 0; font-family: var(--font-sans); font-size: .74rem; font-weight: 500; letter-spacing: .06em; text-transform: uppercase; color: var(--ink-soft); }
.detail-summary .detail-quick { display: flex; flex-wrap: wrap; gap: .55rem 1.3rem; margin: 1.1rem 0 0; padding: 1.05rem 0 0; border-top: 1px solid var(--line); font-size: .95rem; color: var(--ink); }
.detail-summary .detail-quick span { display: inline-flex; align-items: center; gap: .4rem; }
.detail-summary .detail-quick svg { color: var(--brand); width: 18px; height: 18px; flex: none; }
.spec-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(110px, 1fr)); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; margin: 1.8rem 0 2.6rem; }
.spec-item { background: var(--card); padding: 1.3rem 1rem; text-align: center; }
.spec-item svg { color: var(--brand); margin-bottom: .5rem; }
.spec-item b { display: block; font-size: 1.2rem; font-family: var(--font-disp); font-weight: 500; }
.spec-item span { font-size: .72rem; color: var(--ink-soft); text-transform: uppercase; letter-spacing: .08em; }
.detail-block { margin-bottom: 2.8rem; }
.detail-block h2 { font-size: 1.7rem; font-weight: 400; margin-bottom: 1.1rem; }
.lang-toggle { display: inline-flex; gap: 4px; background: var(--paper-2); padding: 4px; border-radius: 999px; margin-left: 1rem; vertical-align: middle; }
.lang-toggle button { border: 0; background: none; padding: .32rem .85rem; border-radius: 999px; font-family: inherit; font-weight: 500; font-size: .8rem; cursor: pointer; color: var(--ink-soft); }
.lang-toggle button.active { background: #fff; color: var(--brand); box-shadow: var(--shadow-sm); }
.desc-text { color: #45433d; white-space: pre-line; line-height: 1.8; font-size: 1.02rem; }
.desc-text.clamped { display: -webkit-box; -webkit-line-clamp: 9; -webkit-box-orient: vertical; overflow: hidden; }
.read-more { margin-top: .9rem; color: var(--accent-2); font-weight: 500; cursor: pointer; background: none; border: 0; font-family: inherit; font-size: .95rem; padding: 0; }
.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: .8rem 1.4rem; }
.feature-grid li { list-style: none; display: flex; align-items: center; gap: .6rem; font-size: .96rem; color: #45433d; }
.feature-grid svg { color: var(--ok); flex: none; }
.detail-map { border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); height: 380px; }
.detail-map iframe { width: 100%; height: 100%; border: 0; }
/* Promotion units list */
.promo-units .punit-list { display: flex; flex-direction: column; gap: .6rem; }
.punit { display: flex; align-items: center; gap: 1rem; padding: .6rem .75rem; border: 1px solid var(--line); border-radius: var(--radius-sm); background: var(--card); transition: border-color .15s, box-shadow .15s, transform .15s; }
.punit:hover { border-color: var(--brand); box-shadow: var(--shadow-sm); transform: translateY(-1px); }
.punit-img { width: 78px; height: 60px; border-radius: 8px; background: var(--paper-2) center/cover no-repeat; flex: none; }
.punit-main { flex: 1; min-width: 0; }
.punit-main b { font-family: var(--font-disp); font-weight: 500; font-size: 1.08rem; display: block; color: var(--ink); }
.punit-specs { font-size: .85rem; color: var(--ink-soft); }
.punit-price { font-family: var(--font-disp); font-weight: 500; color: var(--brand); white-space: nowrap; display: inline-flex; align-items: center; gap: .3rem; }
.punit-arrow svg { width: 16px; height: 16px; color: var(--accent-2); }
.plans-list { display: flex; flex-wrap: wrap; gap: .7rem; }
.plan-link { display: inline-flex; align-items: center; gap: .5rem; padding: .75rem 1.1rem; border: 1px solid var(--line-2); border-radius: var(--radius-sm); font-weight: 500; font-size: .9rem; background: #fff; }
.plan-link:hover { border-color: var(--brand); color: var(--brand); }

/* Sidebar enquiry */
.enquiry-card { position: sticky; top: calc(var(--header-h) + 20px); background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); padding: 1.8rem; }
.enquiry-card .ref { font-size: .72rem; text-transform: uppercase; letter-spacing: .08em; color: var(--ink-soft); margin-bottom: 1rem; }
.enquiry-card h3 { font-size: 1.35rem; font-weight: 400; margin-bottom: 1.1rem; }
.enquiry-card .form-row { display: flex; flex-direction: column; gap: .55rem; margin-bottom: .7rem; }
.enquiry-card input, .enquiry-card textarea { font-family: inherit; font-size: .92rem; padding: .75rem .85rem; border: 1px solid var(--line-2); border-radius: var(--radius-sm); width: 100%; }
.enquiry-card input:focus, .enquiry-card textarea:focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 3px rgba(20,64,60,.1); }
.enquiry-actions { display: grid; gap: .55rem; margin-top: .5rem; }
.agent-line { display: flex; align-items: center; gap: .85rem; margin-bottom: 1.3rem; padding-bottom: 1.3rem; border-bottom: 1px solid var(--line); }
.agent-avatar { width: 50px; height: 50px; border-radius: 50%; overflow: hidden; background: var(--accent); color: #fff; display: grid; place-items: center; font-weight: 500; flex: none; }
.agent-avatar img { width: 100%; height: 100%; object-fit: cover; object-position: center top; border-radius: 50%; display: block; }
.agent-line b { display: block; font-size: 1rem; font-weight: 500; }
.agent-line span { font-size: .8rem; color: var(--ink-soft); }

/* ===== Lightbox ===== */
.lightbox { position: fixed; inset: 0; z-index: 200; background: rgba(8,26,24,.95); display: none; align-items: center; justify-content: center; }
.lightbox.open { display: flex; }
.lightbox img { max-width: 90vw; max-height: 84vh; border-radius: 6px; box-shadow: 0 20px 60px rgba(0,0,0,.5); }
.lb-close { position: absolute; top: 22px; right: 28px; font-size: 2.2rem; color: #fff; background: none; border: 0; cursor: pointer; line-height: 1; }
.lb-nav { position: absolute; top: 50%; transform: translateY(-50%); width: 54px; height: 54px; border-radius: 50%; background: rgba(255,255,255,.1); color: #fff; border: 0; font-size: 1.8rem; cursor: pointer; display: grid; place-items: center; transition: background .15s; }
.lb-nav:hover { background: rgba(255,255,255,.24); }
.lb-prev { left: 22px; } .lb-next { right: 22px; }
.lb-counter { position: absolute; bottom: 24px; left: 50%; transform: translateX(-50%); color: #fff; font-size: .85rem; letter-spacing: .05em; background: rgba(0,0,0,.4); padding: .35rem .9rem; border-radius: 999px; }

/* ===== Toast ===== */
.toast { position: fixed; bottom: 28px; left: 50%; transform: translateX(-50%) translateY(140%); background: var(--ink); color: var(--paper); padding: .95rem 1.5rem; border-radius: 12px; box-shadow: var(--shadow-lg); z-index: 300; transition: transform .4s cubic-bezier(.2,.9,.3,1.3); font-weight: 400; font-size: .94rem; max-width: 90vw; }
.toast.show { transform: translateX(-50%) translateY(0); }

/* ===== Footer ===== */
.site-footer { background: var(--brand-3); color: rgba(255,255,255,.7); padding: 80px 0 32px; }
.footer-word { font-family: var(--font-disp); font-weight: 300; font-size: clamp(2.4rem, 7vw, 5.5rem); color: #fff; letter-spacing: -.02em; line-height: 1; padding-bottom: 2.6rem; margin-bottom: 2.6rem; border-bottom: 1px solid rgba(255,255,255,.14); }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.2fr; gap: 2.4rem; padding-bottom: 2.8rem; border-bottom: 1px solid rgba(255,255,255,.12); }
.site-footer .brand-text strong { color: #fff; }
.site-footer .brand-text small { color: rgba(255,255,255,.55); }
.footer-brand p { margin: 1.1rem 0 0; font-size: .92rem; max-width: 36ch; line-height: 1.7; }
.footer-col h4 { color: #fff; font-family: var(--font-sans); font-weight: 500; font-size: .72rem; text-transform: uppercase; letter-spacing: .14em; margin-bottom: 1.1rem; }
.footer-col a { display: block; padding: .32rem 0; font-size: .92rem; color: rgba(255,255,255,.72); }
.footer-col a:hover { color: var(--accent); }
.footer-contact p { display: flex; align-items: center; gap: .6rem; margin: 0 0 1rem; font-size: .92rem; line-height: 1.3; }
.footer-contact p svg { width: 16px; height: 16px; flex: none; color: var(--accent); }
.footer-contact a { display: inline; color: rgba(255,255,255,.8); }
.footer-contact a:hover { color: var(--accent); }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; padding-top: 1.8rem; font-size: .8rem; color: rgba(255,255,255,.45); gap: 1rem; flex-wrap: wrap; }

/* ===== Bio landing (Instagram link-in-bio) ===== */
body.bio-mode .site-header, body.bio-mode .site-footer { display: none; }
body.bio-mode { background: var(--paper-2); }
.bio { max-width: 540px; margin: 0 auto; min-height: 100vh; padding-bottom: 82px; background: var(--paper); }
.bio-hero { background: linear-gradient(170deg, var(--brand), var(--brand-3)); color: #fff; padding: 3rem 1.7rem 2.4rem; text-align: center; border-radius: 0 0 34px 34px; position: relative; }
.bio-avatar { width: 144px; height: 144px; margin: 0 auto 1.3rem; border-radius: 50%; background: var(--accent); border: 4px solid rgba(255,255,255,.9); overflow: hidden; display: flex; align-items: center; justify-content: center; font-family: var(--font-disp); font-size: 2.4rem; color: #fff; box-shadow: var(--shadow); }
.bio-avatar img { width: 100%; height: 100%; object-fit: cover; object-position: center top; display: block; }
.bio-name { font-family: var(--font-disp); font-weight: 400; font-size: 2.1rem; line-height: 1.08; }
.bio-handle { display: inline-flex; align-items: center; gap: .4rem; color: rgba(255,255,255,.8); font-size: .96rem; margin-top: .5rem; }
.bio-handle svg { width: 16px; height: 16px; }
.bio-tagline { color: #f0c9b3; font-size: .92rem; letter-spacing: .04em; margin: .95rem 0 0; }
.bio-ctas { display: flex; flex-direction: column; gap: .7rem; margin-top: 1.9rem; }
.bio-cta { display: flex; align-items: center; justify-content: center; gap: .6rem; padding: 1rem; border-radius: 14px; font-weight: 500; font-size: 1rem; transition: transform .15s, opacity .15s; }
.bio-cta:hover { transform: translateY(-2px); opacity: .95; }
.bio-cta svg { width: 20px; height: 20px; }
.bio-cta.wa { background: #1fa855; color: #fff; }
.bio-cta.ig { background: #fff; color: var(--brand); }
.bio-cta.ig svg { color: #c13584; }
.bio-cta.call { background: transparent; color: #fff; border: 1.5px solid rgba(255,255,255,.5); }
.bio-props { padding: 1.9rem 1.2rem 2rem; }
.bio-props-head { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 1.1rem; }
.bio-props-head span { font-family: var(--font-disp); font-weight: 400; font-size: 1.4rem; }
.bio-props-head a { color: var(--accent-2); font-weight: 500; font-size: .9rem; display: inline-flex; align-items: center; gap: .3rem; }
.bio-props-head a svg { width: 15px; height: 15px; }
.bio-grid { grid-template-columns: 1fr 1fr; gap: 1rem; }
.bio-grid .prop-title { font-size: 1.05rem; }
.bio-grid .prop-price-tag { font-size: .92rem; padding: .4rem .6rem; }
.bio-grid .prop-specs { gap: .55rem; font-size: .76rem; flex-wrap: wrap; }
.bio-bar { position: fixed; bottom: 0; left: 0; right: 0; z-index: 120; display: flex; max-width: 540px; margin: 0 auto; background: var(--card); border-top: 1px solid var(--line); box-shadow: 0 -4px 20px rgba(10,39,36,.1); }
.bio-bar a { flex: 1; text-align: center; padding: .7rem 0 .58rem; font-size: .68rem; font-weight: 500; letter-spacing: .04em; color: var(--ink); display: flex; flex-direction: column; align-items: center; gap: 3px; }
.bio-bar a svg { width: 22px; height: 22px; }
.bio-bar .b-wa { color: #1fa855; }
.bio-bar .b-ig { color: #c13584; }
.bio-bar .b-call { color: var(--brand); }

/* ===== Admin panel ===== */
body.admin-mode .site-header, body.admin-mode .site-footer { display: none; }
body.admin-mode { background: var(--paper-2); }
.admin-wrap { max-width: 460px; margin: 0 auto; padding: 3.5rem 1.2rem; }
.admin-wrap.wide { max-width: 1000px; }
.admin-card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); padding: 2.2rem; text-align: center; }
.admin-login { display: flex; flex-direction: column; gap: .5rem; text-align: left; }
.admin-login h2 { text-align: center; font-weight: 400; }
.admin-login .muted { text-align: center; margin: 0 0 .7rem; font-size: .9rem; }
.admin-login label { font-size: .68rem; font-weight: 500; text-transform: uppercase; letter-spacing: .1em; color: var(--ink-soft); margin-top: .5rem; }
.admin-login input { font-family: inherit; font-size: .96rem; padding: .8rem .9rem; border: 1px solid var(--line-2); border-radius: var(--radius-sm); background: #fff; }
.admin-login input:focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 3px rgba(20,64,60,.12); }
.admin-login .btn { margin-top: .6rem; }
.admin-logo { width: 60px; height: 60px; margin: 0 auto 1.1rem; border-radius: 50%; background: var(--brand); color: #fff; font-family: var(--font-disp); font-weight: 500; font-size: 1.3rem; display: grid; place-items: center; }
.admin-logo.sm { width: 30px; height: 30px; font-size: .8rem; margin: 0; }
.admin-note { background: var(--paper-2); border: 1px solid var(--line); border-radius: var(--radius-sm); padding: .75rem .85rem; font-size: .88rem; color: var(--ink); }
.admin-back { display: inline-block; margin-top: 1.1rem; color: var(--ink-soft); font-size: .9rem; background: none; border: 0; padding: 0; cursor: pointer; font-family: inherit; }
.admin-back:hover { color: var(--brand); }
.admin-top { position: sticky; top: 0; z-index: 50; background: var(--brand); color: #fff; }
.admin-top-in { max-width: 1000px; margin: 0 auto; padding: .9rem 1.4rem; display: flex; justify-content: space-between; align-items: center; gap: 1rem; }
.admin-brand { display: flex; align-items: center; gap: .6rem; font-family: var(--font-disp); font-weight: 400; font-size: 1.1rem; }
.admin-top-actions { display: flex; gap: .55rem; }
.admin-top .btn-ghost { background: rgba(255,255,255,.12); border-color: rgba(255,255,255,.26); color: #fff; }
.admin-top .btn-ghost:hover { background: rgba(255,255,255,.22); border-color: rgba(255,255,255,.4); color: #fff; }
.admin-top .btn-ghost svg { width: 14px; height: 14px; }
.admin-head { display: flex; justify-content: space-between; align-items: center; gap: 1rem; margin-bottom: 1.4rem; flex-wrap: wrap; }
.admin-metrics { display: flex; gap: .7rem; }
.admin-metric { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius-sm); padding: .7rem 1.2rem; text-align: center; min-width: 78px; }
.admin-metric b { display: block; font-family: var(--font-disp); font-weight: 500; font-size: 1.5rem; color: var(--brand); }
.admin-metric span { font-size: .68rem; text-transform: uppercase; letter-spacing: .08em; color: var(--ink-soft); }
.admin-head .btn-primary svg { width: 16px; height: 16px; }
.admin-toolbar { display: flex; gap: .7rem; margin-bottom: 1.3rem; flex-wrap: wrap; align-items: center; }
.admin-search { flex: 1; min-width: 200px; font-family: inherit; font-size: .95rem; padding: .8rem .95rem; border: 1px solid var(--line-2); border-radius: var(--radius-sm); background: var(--card); }
.admin-search:focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 3px rgba(20,64,60,.12); }
.admin-filters { display: inline-flex; background: var(--card); border: 1px solid var(--line-2); border-radius: 999px; padding: 3px; }
.admin-filters button { border: 0; background: none; padding: .5rem .95rem; border-radius: 999px; font-family: inherit; font-weight: 500; font-size: .85rem; cursor: pointer; color: var(--ink-soft); }
.admin-filters button.active { background: var(--brand); color: #fff; }
.admin-list { display: flex; flex-direction: column; gap: .55rem; }
.admin-row { display: flex; align-items: center; gap: 1rem; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius-sm); padding: .65rem .85rem; transition: border-color .15s, box-shadow .15s; }
.admin-row:hover { border-color: var(--line-2); box-shadow: var(--shadow-sm); }
.admin-row.is-hidden { opacity: .55; }
.admin-row-img { width: 70px; height: 56px; border-radius: 8px; background: var(--paper-2) center/cover no-repeat; flex: none; }
.admin-row-main { flex: 1; min-width: 0; }
.admin-row-title { font-family: var(--font-disp); font-weight: 500; font-size: 1.05rem; display: flex; align-items: center; gap: .5rem; }
.admin-row-sub { font-size: .8rem; color: var(--ink-soft); margin-top: 3px; }
.admin-tag { font-size: .62rem; font-weight: 500; text-transform: uppercase; letter-spacing: .06em; background: var(--paper-2); color: var(--ink-soft); padding: .12rem .5rem; border-radius: 6px; }
.admin-row-price { font-family: var(--font-disp); font-weight: 500; font-size: 1.05rem; color: var(--brand); white-space: nowrap; }
.admin-row-actions { display: flex; gap: .3rem; flex: none; align-items: center; }
.admin-iconbtn { width: 34px; height: 34px; border-radius: 8px; border: 1px solid var(--line-2); background: #fff; color: var(--ink-soft); display: grid; place-items: center; cursor: pointer; transition: all .15s; }
.admin-iconbtn svg { width: 16px; height: 16px; }
.admin-iconbtn:hover { border-color: var(--brand); color: var(--brand); }
.admin-iconbtn.danger:hover { border-color: var(--accent-2); color: var(--accent-2); }
.admin-danger:hover { border-color: var(--accent-2); color: var(--accent-2); }
.admin-empty { text-align: center; padding: 3.5rem 1rem; color: var(--ink-soft); border: 1px dashed var(--line-2); border-radius: var(--radius); }
.admin-form { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.8rem; }
.af-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1rem; }
.af-field { display: flex; flex-direction: column; gap: .4rem; }
.af-field > span { font-size: .68rem; font-weight: 500; text-transform: uppercase; letter-spacing: .08em; color: var(--ink-soft); }
.af-field input, .af-field select, .af-field textarea { font-family: inherit; font-size: .95rem; padding: .75rem .85rem; border: 1px solid var(--line-2); border-radius: var(--radius-sm); background: #fff; width: 100%; }
.af-field input:focus, .af-field select:focus, .af-field textarea:focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 3px rgba(20,64,60,.12); }
.af-field { margin-top: 1.1rem; }
.af-grid .af-field { margin-top: 0; }
.af-checks { display: flex; gap: 1.8rem; margin-top: 1.2rem; }
.af-actions { display: flex; gap: .8rem; margin-top: 1.8rem; }
.af-section-title { font-family: var(--font-disp); font-weight: 500; font-size: 1.15rem; margin: 1.8rem 0 .3rem; }
.img-manager { margin-top: .8rem; }
.img-uploader { border: 1.5px dashed var(--line-2); border-radius: var(--radius-sm); padding: 1.3rem; text-align: center; color: var(--ink-soft); cursor: pointer; transition: border-color .15s, background .15s; font-size: .9rem; }
.img-uploader:hover, .img-uploader.drag { border-color: var(--brand); background: var(--paper); color: var(--brand); }
.img-uploader svg { width: 22px; height: 22px; margin-bottom: .3rem; }
.img-thumbs { display: grid; grid-template-columns: repeat(auto-fill, minmax(96px, 1fr)); gap: .6rem; margin-top: .9rem; }
.img-thumb { position: relative; aspect-ratio: 4/3; border-radius: 8px; overflow: hidden; background: var(--paper-2) center/cover no-repeat; border: 1px solid var(--line); }
.img-thumb.cover { outline: 2px solid var(--accent); outline-offset: -2px; }
.img-thumb .cover-tag { position: absolute; top: 4px; left: 4px; font-size: .58rem; font-weight: 600; text-transform: uppercase; letter-spacing: .05em; background: var(--accent); color: #fff; padding: .1rem .4rem; border-radius: 5px; }
.img-thumb .thumb-x { position: absolute; top: 4px; right: 4px; width: 22px; height: 22px; border-radius: 50%; border: 0; background: rgba(10,39,36,.78); color: #fff; cursor: pointer; display: grid; place-items: center; font-size: .9rem; line-height: 1; }
.img-thumb .thumb-cover-btn { position: absolute; bottom: 4px; left: 4px; right: 4px; font-size: .62rem; font-weight: 500; background: rgba(251,249,244,.92); border: 0; border-radius: 5px; padding: .15rem; cursor: pointer; color: var(--brand); opacity: 0; transition: opacity .15s; }
.img-thumb:hover .thumb-cover-btn { opacity: 1; }
.img-uploading { font-size: .82rem; color: var(--accent-2); margin-top: .5rem; }

/* ===== Admin filter bar ===== */
.admin-filterbar { display: flex; gap: .6rem; flex-wrap: wrap; align-items: center; margin: -.5rem 0 1.3rem; }
.admin-select { font-family: inherit; font-size: .88rem; padding: .58rem .8rem; border: 1px solid var(--line-2); border-radius: var(--radius-sm); background: var(--card); color: var(--ink); cursor: pointer; max-width: 220px; }
.admin-select:focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 3px rgba(20,64,60,.12); }
.admin-num { width: 96px; cursor: text; }
.admin-count { margin-left: auto; font-size: .85rem; color: var(--ink-soft); white-space: nowrap; }

/* ===== Feed sync ===== */
.sync-drop { border: 1.6px dashed var(--line-2); border-radius: var(--radius); padding: 2.4rem 1.4rem; text-align: center; color: var(--ink-soft); cursor: pointer; transition: border-color .15s, background .15s; }
.sync-drop:hover, .sync-drop.drag { border-color: var(--brand); background: var(--paper); color: var(--brand); }
.sync-drop svg { width: 30px; height: 30px; margin-bottom: .5rem; }
.sync-drop code { background: var(--paper-2); padding: .1rem .35rem; border-radius: 5px; font-size: .9em; }
.sync-hint { font-size: .8rem; opacity: .7; margin-top: .35rem; }
.sync-or { text-align: center; color: var(--ink-soft); font-size: .76rem; margin: 1rem 0; text-transform: uppercase; letter-spacing: .12em; }
.sync-url { display: flex; gap: .5rem; }
.sync-url input { flex: 1; font-family: inherit; font-size: .9rem; padding: .65rem .8rem; border: 1px solid var(--line-2); border-radius: var(--radius-sm); background: #fff; }
.sync-url input:focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 3px rgba(20,64,60,.12); }
.sync-summary { display: grid; grid-template-columns: repeat(4, 1fr); gap: .7rem; margin: 1.7rem 0 .6rem; }
.sync-stat { border: 1px solid var(--line); border-radius: var(--radius-sm); padding: .9rem; text-align: center; background: var(--card); }
.sync-stat b { display: block; font-family: var(--font-disp); font-weight: 500; font-size: 1.7rem; line-height: 1; }
.sync-stat span { font-size: .7rem; text-transform: uppercase; letter-spacing: .07em; color: var(--ink-soft); }
.sync-stat.add b { color: #2f7d4f; }
.sync-stat.upd b { color: var(--accent-2); }
.sync-stat.del b { color: #b5402f; }
.sync-stat.same b { color: var(--ink-soft); }
.sync-cat { border: 1px solid var(--line); border-radius: var(--radius-sm); margin-bottom: .55rem; background: var(--card); overflow: hidden; }
.sync-cat summary { cursor: pointer; padding: .8rem 1rem; font-weight: 500; display: flex; align-items: center; gap: .55rem; list-style: none; }
.sync-cat summary::-webkit-details-marker { display: none; }
.sync-cat summary b { margin-left: auto; font-family: var(--font-disp); color: var(--ink-soft); }
.sync-dot { width: 9px; height: 9px; border-radius: 50%; background: var(--ink-soft); flex: none; }
.sync-cat.add .sync-dot { background: #2f7d4f; }
.sync-cat.upd .sync-dot { background: var(--accent); }
.sync-cat.del .sync-dot { background: #b5402f; }
.sync-items { max-height: 280px; overflow: auto; border-top: 1px solid var(--line); }
.sync-item { display: flex; justify-content: space-between; gap: 1rem; padding: .55rem 1rem; font-size: .88rem; border-bottom: 1px solid var(--line); }
.sync-item:last-child { border-bottom: 0; }
.sync-change { color: var(--accent-2); white-space: nowrap; font-size: .82rem; }
.sync-price { color: var(--brand); white-space: nowrap; font-family: var(--font-disp); }
.sync-actions { display: flex; gap: .8rem; margin-top: 1.4rem; align-items: center; }
@media (max-width: 620px) { .sync-summary { grid-template-columns: repeat(2, 1fr); } .admin-count { margin-left: 0; width: 100%; } }

/* ===== Admin leads ===== */
.lead-list { display: flex; flex-direction: column; gap: .8rem; }
.lead-card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 1.1rem 1.2rem; }
.lead-card.is-handled { opacity: .6; }
.lead-top { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; margin-bottom: .55rem; }
.lead-name { font-family: var(--font-disp); font-weight: 500; font-size: 1.1rem; display: flex; align-items: center; gap: .5rem; }
.lead-date { font-size: .78rem; color: var(--ink-soft); white-space: nowrap; }
.admin-tag.new { background: var(--accent); color: #fff; }
.lead-meta { display: flex; flex-wrap: wrap; gap: .35rem 1.3rem; font-size: .88rem; color: var(--ink-soft); margin-bottom: .6rem; }
.lead-meta a { color: var(--brand); display: inline-flex; align-items: center; gap: .35rem; }
.lead-meta a:hover { color: var(--accent-2); }
.lead-meta svg { width: 14px; height: 14px; }
.lead-meta span { display: inline-flex; align-items: center; gap: .35rem; }
.lead-msg { background: var(--paper); border-radius: var(--radius-sm); padding: .75rem .9rem; font-size: .92rem; color: var(--ink); margin-bottom: .85rem; white-space: pre-line; line-height: 1.5; }
.lead-actions { display: flex; gap: .4rem; flex-wrap: wrap; }
.lead-actions svg { width: 15px; height: 15px; }

/* ===== Responsive ===== */
@media (max-width: 1000px) {
  .prop-grid, .why-grid { grid-template-columns: repeat(2, 1fr); }
  .cb-row { grid-template-columns: 1fr; gap: 1.6rem; }
  .cb-row.flip .cb-row-img { order: 0; }
  .cb-invest-grid { grid-template-columns: 1fr; gap: 2.6rem; }
  .cb-facts { grid-template-columns: repeat(2, 1fr); gap: 2rem; }
  .zonas-grid { grid-template-columns: repeat(2, 1fr); }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .stat:nth-child(2) { border-right: 0; }
  .detail-cols { grid-template-columns: 1fr; }
  .detail-aside { margin-top: 1.4rem; }
  .detail-head { grid-template-columns: 1fr; }
  .detail-aside .enquiry-card { position: static; }
  .enquiry-card { position: static; }
  .cta-band { grid-template-columns: 1fr; padding: 2.6rem; }
  .about { grid-template-columns: 1fr; gap: 2.2rem; }
  .about-photo { max-width: 360px; }
  .search-grid { grid-template-columns: repeat(2, 1fr); }
  .search-grid .btn { grid-column: 1 / -1; }
  .filters-grid { grid-template-columns: repeat(2, 1fr); }
  .feature-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 1.8rem; }
}
@media (max-width: 680px) {
  .container { padding: 0 22px; }
  .main-nav { position: fixed; inset: var(--header-h) 0 auto; flex-direction: column; gap: 0; background: var(--card); padding: 1rem 22px; box-shadow: var(--shadow); transform: translateY(-130%); transition: transform .28s; border-bottom: 1px solid var(--line); }
  .main-nav.open { transform: translateY(0); }
  .main-nav a { padding: .85rem 0; border-bottom: 1px solid var(--line); }
  .nav-toggle { display: flex; }
  #headerPhone { display: none; }
  #headerWa span { display: none; }
  #headerWa { padding: .5rem; width: 38px; height: 38px; border-radius: 50%; justify-content: center; }
  .header-actions { gap: .5rem; }
  .prop-grid, .why-grid, .zonas-grid, .stats-grid { grid-template-columns: 1fr; }
  /* Mobile filters: not sticky (so it never covers the listings) + collapsible */
  .filters-bar { position: static; padding: .8rem; margin-bottom: 1.4rem; }
  .filters-toggle { display: flex; align-items: center; gap: .55rem; width: 100%; padding: .85rem 1rem; background: var(--card); border: 1px solid var(--line-2); border-radius: var(--radius-sm); font-family: inherit; font-weight: 500; font-size: .95rem; color: var(--ink); cursor: pointer; }
  .filters-toggle svg { width: 18px; height: 18px; color: var(--brand); }
  .filters-toggle .filters-caret { margin-left: auto; opacity: .55; transition: transform .25s; }
  .filters-bar.filters-open .filters-toggle .filters-caret { transform: rotate(180deg); }
  .filters-grid { display: none; grid-template-columns: 1fr 1fr; gap: .7rem; margin-top: .85rem; }
  .filters-bar.filters-open .filters-grid { display: grid; }
  .filters-grid .field:first-child { grid-column: 1 / -1; }
  .filters-grid #clearFilters { grid-column: 1 / -1; width: 100%; }
  .filters-foot { flex-direction: column; align-items: stretch; gap: .85rem; margin-top: .9rem; }
  .toolbar-right { flex-wrap: wrap; gap: .6rem; }
  .toolbar-right .sort-select { flex: 1; min-width: 140px; }
  .view-toggle { flex: 1; justify-content: center; }
  .cb-facts { grid-template-columns: 1fr 1fr; }
  .bio-grid { grid-template-columns: 1fr 1fr; }
  .g-thumbs { grid-template-columns: repeat(3, 1fr); }
  .contact-form { grid-template-columns: 1fr; }
  .section-head { flex-direction: column; align-items: flex-start; }
  section { padding: 72px 0; }
  .footer-grid { grid-template-columns: 1fr; }
  .af-grid { grid-template-columns: 1fr; }
  .admin-row { flex-wrap: wrap; }
  .admin-row-actions { width: 100%; justify-content: flex-end; }
}
