:root {
  --ink: #16161a;
  --ink-soft: #3d3d45;
  --muted: #6b6b76;
  --line: #e6e4de;
  --bg: #ffffff;
  --bg-alt: #f7f6f2;
  --gold: #e8b400;
  --gold-dark: #c69700;
  --red: #c1272d;
  --whatsapp: #1fa855;
  --whatsapp-dark: #178a45;
  --radius: 14px;
  --radius-sm: 9px;
  --shadow: 0 12px 34px rgba(20, 20, 26, .09);
  --shadow-sm: 0 4px 16px rgba(20, 20, 26, .07);
  --container: 1220px;
  --font: "Lato", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --font-display: "Playfair Display", Georgia, "Times New Roman", serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.65;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4 { line-height: 1.3; margin: 0 0 .6em; font-weight: 700; }
h1 { font-family: var(--font); font-size: clamp(2.2rem, 4.5vw, 3.2rem); letter-spacing: -.02em; }
h2 { font-family: var(--font); font-size: clamp(1.7rem, 3.5vw, 2.4rem); }
h3 { font-size: 1.25rem; }
p { margin: 0 0 1em; }

.container { width: min(var(--container), 100% - 2.5rem); margin-inline: auto; }
.container-narrow { width: min(860px, 100% - 2.5rem); }

.skip-link {
  position: absolute; left: -9999px; top: 0;
  background: var(--ink); color: #fff; padding: .6rem 1rem; z-index: 999;
}
.skip-link:focus { left: 0; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  padding: .78rem 1.4rem; border-radius: 999px; border: 1.5px solid transparent;
  font-weight: 600; font-size: .95rem; cursor: pointer; text-align: center;
  transition: background .18s ease, color .18s ease, border-color .18s ease, transform .18s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--gold); color: var(--ink); }
.btn-primary:hover { background: var(--gold-dark); }
.btn-outline { background: transparent; border-color: var(--ink); color: var(--ink); }
.btn-outline:hover { background: var(--ink); color: #fff; }
.btn-light { background: #fff; color: var(--ink); }
.btn-ghost { background: transparent; color: var(--muted); border-color: var(--line); }
.btn-ghost:hover { color: var(--ink); border-color: var(--ink); }
.btn-whatsapp { background: var(--whatsapp); color: #fff; }
.btn-whatsapp:hover { background: var(--whatsapp-dark); }
.btn-block { width: 100%; }
.btn-sm { padding: .5rem .95rem; font-size: .86rem; }
.btn-danger { background: #fff; border-color: var(--red); color: var(--red); }
.btn-danger:hover { background: var(--red); color: #fff; }

/* ---------- Topbar / header ---------- */
.topbar { background: var(--ink); color: #d9d9de; font-size: .85rem; }
.topbar-inner { display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; padding: .45rem 0; }
.topbar-contacts, .topbar-right { display: flex; gap: 1.1rem; flex-wrap: wrap; }
.topbar a { color: #f2f2f4; }
.topbar a:hover { color: var(--gold); }

.site-header {
  position: sticky; top: 0; z-index: 60;
  background: rgba(255, 255, 255, .96);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
.header-inner { display: flex; align-items: center; gap: 1.5rem; padding: .7rem 0; }
.brand { display: inline-flex; align-items: center; }
.brand-logo { height: 58px; width: auto; object-fit: contain; }
.brand-text { font-family: var(--font-display); font-size: 1.35rem; font-weight: 700; }
.header-cta { margin-left: auto; }

.main-nav { margin-left: auto; }
.main-nav ul { list-style: none; display: flex; gap: 1.4rem; margin: 0; padding: 0; align-items: center; }
.main-nav > ul > li { position: relative; }
.main-nav a { font-weight: 600; font-size: .96rem; padding: .5rem 0; display: inline-block; position: relative; }
.main-nav > ul > li > a::after {
  content: ""; position: absolute; left: 0; bottom: .1rem; height: 2px; width: 0;
  background: var(--gold); transition: width .2s ease;
}
.main-nav > ul > li:hover > a::after,
.main-nav > ul > li.is-active > a::after { width: 100%; }
.main-nav .is-active > a { color: var(--ink); }

.sub-menu {
  position: absolute; top: 100%; left: -.8rem; min-width: 190px;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-sm);
  box-shadow: var(--shadow); padding: .5rem; opacity: 0; visibility: hidden;
  transform: translateY(8px); transition: all .18s ease; z-index: 70;
}
.has-sub:hover .sub-menu, .has-sub:focus-within .sub-menu { opacity: 1; visibility: visible; transform: translateY(0); }
.sub-menu a { display: block; padding: .5rem .7rem; border-radius: 7px; font-weight: 500; }
.sub-menu a:hover { background: var(--bg-alt); color: var(--gold-dark); }

.nav-toggle {
  display: none; flex-direction: column; gap: 5px; background: none; border: 0;
  padding: .5rem; cursor: pointer;
}
.nav-toggle span { width: 24px; height: 2.5px; background: var(--ink); border-radius: 2px; transition: .2s; }

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; background: rgba(10,10,12,.6); color: #fff; padding: 4.5rem 0 4rem; }
.hero-bg, .hero-overlay { position: absolute; inset: 0; }
.hero-image { width: 100%; height: 100%; object-fit: cover; opacity: .42; }
.hero-overlay { background: linear-gradient(180deg, rgba(10,10,12,.5) 0%, rgba(10,10,12,.3) 45%, rgba(10,10,12,.6) 100%); }
.hero-content { position: relative; z-index: 2; }
.hero-kicker { text-transform: uppercase; letter-spacing: .16em; font-size: .78rem; color: var(--gold); font-weight: 600; margin-bottom: .8rem; }
.hero h1 { color: #fff; max-width: 18ch; font-size: clamp(2.3rem, 5.5vw, 3.8rem); line-height: 1.2; }
.hero-sub { max-width: 55ch; color: #d5d5da; font-size: 1.05rem; }
.hero-pills { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: 1.4rem; }
.hero-pills a {
  font-size: .84rem; padding: .38rem .85rem; border: 1px solid rgba(255,255,255,.35);
  border-radius: 999px; color: #efeff2;
}
.hero-pills a:hover { background: #fff; color: var(--ink); border-color: #fff; }

.search-form { background: rgba(255,255,255,.97); border-radius: var(--radius); padding: 1.15rem; box-shadow: var(--shadow); color: var(--ink); margin-top: 1.8rem; }
.search-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: .8rem; }
.search-extras { display: flex; gap: .7rem; align-items: flex-end; margin-top: .9rem; flex-wrap: wrap; }
.search-extras .field { flex: 0 0 110px; margin: 0; }
.search-submit { margin-left: auto; }
.search-form .field span { font-size: .74rem; text-transform: uppercase; letter-spacing: .07em; color: var(--muted); }

/* ---------- Stats ---------- */
.stats-strip { background: var(--bg-alt); border-bottom: 1px solid var(--line); }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; padding: 1.6rem 0; }
.stat { text-align: center; }
.stat strong { display: block; font-family: var(--font-display); font-size: 1.9rem; line-height: 1.1; }
.stat span { font-size: .86rem; color: var(--muted); }

/* ---------- Sections ---------- */
.section { padding: 4rem 0; }
.section-featured, .section-news { background: var(--bg-alt); }
.section-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 1.5rem; margin-bottom: 2.2rem; flex-wrap: wrap; }
.section-kicker { text-transform: uppercase; letter-spacing: .16em; font-size: .76rem; font-weight: 700; color: var(--gold-dark); margin-bottom: .45rem; }
.section-head h2 { margin-bottom: 0; }
.page-head { background: var(--ink); color: #fff; padding: 3rem 0 2.6rem; }
.page-head h1 { color: #fff; margin-bottom: .3rem; }
.page-head-sub { color: #b9b9c2; margin: 0; }
.page-head-compact { padding: 2.2rem 0 2rem; }
.page-head-row { display: flex; justify-content: space-between; gap: 1.5rem; align-items: flex-end; flex-wrap: wrap; }
.page-head-price { font-family: var(--font-display); font-size: clamp(1.6rem, 3.4vw, 2.4rem); color: var(--gold); font-weight: 700; }
.breadcrumbs { font-size: .85rem; color: #9d9da8; margin-bottom: .9rem; display: flex; gap: .5rem; flex-wrap: wrap; }
.breadcrumbs a:hover { color: var(--gold); }

/* ---------- Property cards ---------- */
.prop-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.6rem; }
.prop-grid-3 { grid-template-columns: repeat(3, 1fr); }
.prop-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden; display: flex; flex-direction: column;
  transition: transform .2s ease, box-shadow .2s ease;
}
.prop-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.prop-media { position: relative; display: block; aspect-ratio: 4 / 3; background: #eceae4; overflow: hidden; }
.prop-image { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.prop-card:hover .prop-image { transform: scale(1.05); }
.prop-badges { position: absolute; top: .8rem; left: .8rem; display: flex; gap: .4rem; flex-wrap: wrap; z-index: 2; }
.prop-badges-inline { position: static; margin-bottom: .7rem; }
.badge {
  font-size: .72rem; font-weight: 700; padding: .3rem .65rem; border-radius: 999px;
  text-transform: uppercase; letter-spacing: .06em;
}
.badge-status { background: var(--ink); color: #fff; }
.badge-featured { background: var(--gold); color: var(--ink); }
.badge-type { background: #fff; color: var(--ink); border: 1px solid var(--line); }
.prop-price-overlay {
  position: absolute; bottom: 0; left: 0; background: rgba(22,22,26,.9); color: var(--gold);
  font-weight: 700; font-size: 1.02rem; padding: .45rem .9rem; border-top-right-radius: 10px;
}
.prop-body { padding: 1.05rem 1.15rem 1.25rem; display: flex; flex-direction: column; gap: .4rem; flex: 1; }
.prop-location { display: flex; align-items: center; gap: .35rem; color: var(--muted); font-size: .85rem; margin: 0; }
.prop-location svg { color: var(--red); flex: none; }
.prop-title { font-size: 1.05rem; margin: 0; line-height: 1.4; font-weight: 700; }
.prop-title a:hover { color: var(--gold-dark); }
.prop-price { color: var(--red); font-weight: 700; font-size: 1.18rem; font-family: var(--font-display); }
.prop-specs { display: flex; flex-wrap: wrap; gap: .9rem; margin-top: auto; padding-top: .85rem; border-top: 1px solid var(--line); font-size: .88rem; color: var(--ink-soft); }
.spec { display: inline-flex; align-items: center; gap: .3rem; font-weight: 600; }
.spec small { font-weight: 500; color: var(--muted); font-size: .74rem; }
.spec svg { color: var(--gold-dark); }
.spec-type { background: var(--bg-alt); padding: .2rem .6rem; border-radius: 999px; font-weight: 600; font-size: .8rem; }

/* ---------- Listing ---------- */
.listing-layout { display: grid; grid-template-columns: 300px 1fr; gap: 2.2rem; align-items: start; }
.listing-sidebar { position: sticky; top: 92px; }
.filter-form {
  background: var(--bg-alt); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 1.35rem; display: flex; flex-direction: column; gap: .95rem;
}
.filter-form h2 { font-size: 1.15rem; margin: 0; }
.field { display: flex; flex-direction: column; gap: .35rem; margin-bottom: .9rem; }
.field span { font-size: .78rem; font-weight: 600; letter-spacing: .05em; text-transform: uppercase; color: var(--muted); }
.filter-form .field { margin-bottom: 0; }
input[type="text"], input[type="email"], input[type="tel"], input[type="search"], input[type="password"], input[type="number"], input[type="url"], select, textarea {
  width: 100%; padding: .68rem .85rem; border: 1.5px solid var(--line); border-radius: var(--radius-sm);
  background: #fff; font: inherit; color: var(--ink); transition: border-color .15s ease, box-shadow .15s ease;
}
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--gold); box-shadow: 0 0 0 3px rgba(232,180,0,.18); }
textarea { resize: vertical; min-height: 110px; }
.field-pair { display: grid; grid-template-columns: 1fr 1fr; gap: .8rem; }
.field-pair .field { margin-bottom: 0; }
.field-error { color: var(--red); font-size: .8rem; }
.check { display: flex; align-items: center; gap: .55rem; font-size: .92rem; cursor: pointer; }
.check input { width: auto; accent-color: var(--gold-dark); }
.field-features { border: 0; padding: 0; margin: 0; display: flex; flex-direction: column; gap: .45rem; }
.field-features legend { font-size: .78rem; font-weight: 600; letter-spacing: .05em; text-transform: uppercase; color: var(--muted); padding: 0; margin-bottom: .4rem; }
.listing-main .prop-grid { grid-template-columns: repeat(3, 1fr); }
.category-nav { display: flex; flex-wrap: wrap; gap: .55rem; margin-bottom: 2rem; }
.category-nav a {
  padding: .42rem .95rem; border: 1.5px solid var(--line); border-radius: 999px;
  font-size: .88rem; font-weight: 600; background: #fff;
}
.category-nav a:hover, .category-nav a.is-active { background: var(--ink); color: #fff; border-color: var(--ink); }

/* ---------- Pagination ---------- */
.pagination { display: flex; flex-wrap: wrap; gap: .45rem; justify-content: center; margin-top: 2.5rem; }
.page-link {
  min-width: 42px; padding: .5rem .8rem; border: 1.5px solid var(--line); border-radius: var(--radius-sm);
  text-align: center; font-weight: 600; font-size: .92rem; background: #fff;
}
.page-link:hover { border-color: var(--ink); }
.page-link.is-current { background: var(--ink); color: #fff; border-color: var(--ink); }
.page-dots { padding: .5rem .2rem; color: var(--muted); }

/* ---------- Property detail ---------- */
.property-layout { display: grid; grid-template-columns: 1fr 340px; gap: 2.4rem; align-items: start; }
.property-aside { position: sticky; top: 92px; display: flex; flex-direction: column; gap: 1.2rem; }
.gallery { margin-bottom: 1.8rem; }
.gallery-main { position: relative; border-radius: var(--radius); overflow: hidden; background: #eceae4; aspect-ratio: 16 / 10; }
.gallery-image { width: 100%; height: 100%; object-fit: cover; }
.gallery-nav {
  position: absolute; top: 50%; transform: translateY(-50%); width: 44px; height: 44px;
  border-radius: 50%; border: 0; background: rgba(255,255,255,.9); color: var(--ink);
  font-size: 1.5rem; line-height: 1; cursor: pointer; display: grid; place-items: center;
  box-shadow: var(--shadow-sm);
}
.gallery-nav:hover { background: var(--gold); }
.gallery-prev { left: .9rem; }
.gallery-next { right: .9rem; }
.gallery-counter {
  position: absolute; right: .9rem; bottom: .9rem; background: rgba(22,22,26,.82); color: #fff;
  font-size: .82rem; padding: .3rem .7rem; border-radius: 999px;
}
.gallery-thumbs { display: grid; grid-template-columns: repeat(8, 1fr); gap: .55rem; margin-top: .6rem; }
.gallery-thumb { border: 2px solid transparent; padding: 0; border-radius: 9px; overflow: hidden; cursor: pointer; background: none; aspect-ratio: 4/3; }
.gallery-thumb.is-active { border-color: var(--gold); }
.gallery-thumb-image { width: 100%; height: 100%; object-fit: cover; }

.spec-bar {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(120px, 1fr)); gap: 1px;
  background: var(--line); border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden; margin-bottom: 2rem;
}
.spec-item { background: #fff; padding: 1rem; text-align: center; }
.spec-value { display: block; font-family: var(--font-display); font-size: 1.3rem; font-weight: 700; }
.spec-label { font-size: .78rem; color: var(--muted); text-transform: uppercase; letter-spacing: .07em; }

.property-block { margin-bottom: 2.3rem; }
.property-block h2 { font-size: 1.35rem; padding-bottom: .55rem; border-bottom: 2px solid var(--gold); display: inline-block; }
.feature-chips { list-style: none; display: flex; flex-wrap: wrap; gap: .55rem; padding: 0; margin: 0; }
.feature-chips li {
  background: var(--bg-alt); border: 1px solid var(--line); border-radius: 999px;
  padding: .4rem .95rem; font-size: .88rem; font-weight: 600;
}
.details-table { width: 100%; border-collapse: collapse; }
.details-table th, .details-table td { text-align: left; padding: .7rem .3rem; border-bottom: 1px solid var(--line); font-size: .95rem; }
.details-table th { width: 190px; color: var(--muted); font-weight: 600; }
.video-wrap, .map-wrap { position: relative; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); }
.video-wrap { aspect-ratio: 16 / 9; }
.video-wrap iframe, .map-wrap iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.map-wrap { height: 380px; }
.map-link { display: inline-block; margin-top: .6rem; font-weight: 600; color: var(--red); font-size: .9rem; }

.contact-card, .share-card {
  background: var(--bg-alt); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 1.4rem; display: flex; flex-direction: column; gap: .7rem;
}
.contact-price { font-family: var(--font-display); font-size: 1.7rem; font-weight: 700; margin: 0; color: var(--red); }
.contact-code { margin: 0; color: var(--muted); font-size: .85rem; }
.contact-agent { border-top: 1px dashed var(--line); padding-top: .9rem; margin-top: .4rem; display: flex; flex-direction: column; gap: .28rem; font-size: .92rem; }
.contact-agent .agent-role { font-size: .74rem; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); }
.contact-agent a { color: var(--ink-soft); }
.contact-agent a:hover { color: var(--gold-dark); }
.share-card h3 { font-size: 1rem; margin-bottom: .3rem; }
.share-links { display: flex; gap: .8rem; flex-wrap: wrap; font-weight: 600; font-size: .88rem; }
.share-links a { color: var(--red); }

/* ---------- Prose ---------- */
.prose { color: var(--ink-soft); overflow-wrap: break-word; }
.prose p { line-height: 1.75; }
.prose p, .prose ul, .prose ol, .prose figure, .prose table, .prose blockquote { margin: 0 0 1.1em; }
.prose ul, .prose ol { padding-left: 1.3rem; }
.prose li { margin-bottom: .35em; }
.prose h2, .prose h3, .prose h4 { margin-top: 1.5em; color: var(--ink); font-family: var(--font-display); }
.prose a { color: var(--red); text-decoration: underline; }
.prose strong { color: var(--ink); }
.prose img { border-radius: var(--radius-sm); margin: 1rem 0; }
.prose blockquote { border-left: 3px solid var(--gold); padding-left: 1rem; font-style: italic; color: var(--muted); }
.prose table { width: 100%; border-collapse: collapse; }
.prose th, .prose td { border: 1px solid var(--line); padding: .5rem .7rem; text-align: left; }
.prose-lg { font-size: 1.05rem; }
.prose-clamp { max-height: 340px; overflow: hidden; position: relative; }
.prose-clamp::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 90px;
  background: linear-gradient(180deg, rgba(247,246,242,0), var(--bg-alt));
}

/* ---------- About / partners / news ---------- */
.section-about { background: var(--bg-alt); }
.about-grid { display: grid; grid-template-columns: 1.35fr .85fr; gap: 2.6rem; align-items: start; }
.about-aside .aside-card {
  background: var(--ink); color: #fff; border-radius: var(--radius); padding: 1.7rem;
  display: flex; flex-direction: column; gap: .8rem;
}
.aside-card h3 { color: #fff; font-family: var(--font-display); font-size: 1.4rem; }
.aside-card p { color: #c8c8d0; margin: 0; }
.aside-agent { font-weight: 700; color: var(--gold) !important; }
.aside-phone { text-align: center; color: #c8c8d0; font-size: .92rem; }
.about-values { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.4rem; margin-top: 3rem; }
.value-card { background: var(--bg-alt); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.5rem; }
.value-card h3 { font-size: 1.05rem; }
.value-card p { color: var(--muted); margin: 0; font-size: .95rem; }

.partners-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 1.4rem; }
.partner {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 1.2rem; display: grid; place-items: center; min-height: 150px;
}
.partner-image { max-height: 110px; width: auto; object-fit: contain; filter: grayscale(.15); transition: filter .2s ease; }
.partner:hover .partner-image { filter: none; }
.partner-name { font-weight: 700; }

.news-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.6rem; }
.news-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden; display: flex; flex-direction: column; transition: box-shadow .2s ease, transform .2s ease;
}
.news-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.news-media { display: block; aspect-ratio: 16 / 10; background: #eceae4; overflow: hidden; }
.news-image { width: 100%; height: 100%; object-fit: cover; }
.news-body { padding: 1.15rem 1.2rem 1.4rem; display: flex; flex-direction: column; gap: .55rem; flex: 1; }
.news-meta { display: flex; gap: .8rem; font-size: .78rem; color: var(--muted); text-transform: uppercase; letter-spacing: .06em; }
.news-meta span, .news-meta a { color: var(--gold-dark); font-weight: 700; }
.news-body h2, .news-body h3 { font-size: 1.12rem; margin: 0; line-height: 1.35; }
.news-body h2 a:hover, .news-body h3 a:hover { color: var(--gold-dark); }
.news-body p { color: var(--muted); font-size: .94rem; margin: 0; }
.read-more { margin-top: auto; font-weight: 700; font-size: .9rem; color: var(--red); }

/* ---------- CTA ---------- */
.cta-band { background: var(--ink); color: #fff; padding: 3.2rem 0; }
.cta-inner { display: flex; justify-content: space-between; align-items: center; gap: 2rem; flex-wrap: wrap; }
.cta-band h2 { color: #fff; margin-bottom: .35rem; }
.cta-band p { color: #b9b9c2; margin: 0; }
.cta-actions { display: flex; gap: .8rem; flex-wrap: wrap; }
.cta-inline {
  margin-top: 3rem; background: var(--bg-alt); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 2rem; display: flex; justify-content: space-between;
  align-items: center; gap: 1.5rem; flex-wrap: wrap;
}
.cta-inline h2 { margin-bottom: .3rem; font-size: 1.5rem; }
.cta-inline p { margin: 0; color: var(--muted); }

/* ---------- Post / blog ---------- */
.post-header { margin-bottom: 1.8rem; }
.post-header h1 { font-size: clamp(1.7rem, 3.6vw, 2.5rem); }
.post-excerpt { font-size: 1.1rem; color: var(--muted); }
.post-cover { margin: 0 0 2rem; border-radius: var(--radius); overflow: hidden; }
.post-cover-image { width: 100%; height: auto; }
.post-footer { display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; margin-top: 2.5rem; padding-top: 1.6rem; border-top: 1px solid var(--line); }
.section-post { padding-top: 2.6rem; }

/* ---------- Contact ---------- */
.contact-layout { display: grid; grid-template-columns: 1fr 1.15fr; gap: 2.6rem; align-items: start; }
.contact-list { list-style: none; padding: 0; margin: 0 0 1.6rem; display: flex; flex-direction: column; gap: .9rem; }
.contact-list li { display: flex; flex-direction: column; border-bottom: 1px solid var(--line); padding-bottom: .7rem; }
.contact-label { font-size: .74rem; text-transform: uppercase; letter-spacing: .09em; color: var(--muted); }
.contact-list a, .contact-list strong { font-weight: 700; font-size: 1.02rem; }
.contact-list a:hover { color: var(--gold-dark); }
.contact-note { background: var(--bg-alt); border-radius: var(--radius); padding: 1.3rem; }
.contact-note h3 { font-size: 1.05rem; }
.contact-note p { margin: 0; color: var(--muted); font-size: .95rem; }
.contact-form-wrap { background: var(--bg-alt); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.8rem; }
.form .field { margin-bottom: 1rem; }

.alert { padding: .85rem 1.1rem; border-radius: var(--radius-sm); margin-bottom: 1.3rem; font-size: .95rem; }
.alert-success { background: #e7f7ec; border: 1px solid #b7e4c4; color: #14683a; }
.alert-error { background: #fdeaea; border: 1px solid #f4c2c2; color: #a32020; }
.alert-info { background: #fff6e0; border: 1px solid #f4dfaa; color: #7a5b06; }

.empty-state { text-align: center; padding: 3rem 1rem; background: var(--bg-alt); border-radius: var(--radius); border: 1px dashed var(--line); }
.empty-state h2 { font-size: 1.4rem; }
.empty-state p { color: var(--muted); }

.section-404 { text-align: center; padding: 5rem 0; }
.section-404 .cta-actions { justify-content: center; margin-top: 1.5rem; }

/* ---------- Footer ---------- */
.site-footer { background: var(--ink); color: #c9c9d1; margin-top: 3rem; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.2fr; gap: 2.2rem; padding: 3.4rem 0 2.6rem; }
.footer-col h3 { color: #fff; font-size: 1rem; text-transform: uppercase; letter-spacing: .1em; margin-bottom: 1.1rem; }
.footer-col ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: .55rem; font-size: .93rem; }
.footer-col a:hover { color: var(--gold); }
.footer-logo { height: 64px; width: auto; object-fit: contain; filter: brightness(0) invert(1); opacity: .95; margin-bottom: 1rem; }
.footer-about p { font-size: .93rem; }
.footer-social { display: flex; gap: 1rem; font-size: .88rem; font-weight: 600; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.12); }
.footer-bottom-inner { display: flex; justify-content: space-between; gap: 1rem; padding: 1.1rem 0; font-size: .84rem; flex-wrap: wrap; color: #8f8f9b; }

.floating-whatsapp {
  position: fixed; right: 1.2rem; bottom: 1.2rem; width: 54px; height: 54px;
  background: var(--whatsapp); color: #fff; border-radius: 50%; display: grid; place-items: center;
  box-shadow: 0 10px 26px rgba(31,168,85,.42); z-index: 90; transition: transform .2s ease;
}
.floating-whatsapp:hover { transform: scale(1.07); }

.img-placeholder { display: grid; place-items: center; background: linear-gradient(135deg, #eceae4, #dedbd3); width: 100%; height: 100%; }
.img-placeholder::after { content: "JI"; font-weight: 800; font-size: clamp(.75rem, 3vw, 1.5rem); letter-spacing: .14em; color: #bdb7a9; }

/* ---------- Admin shared ---------- */
.admin-body { background: #f2f3f5; font-family: var(--font); }

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
  .search-grid { grid-template-columns: repeat(3, 1fr); }
  .prop-grid, .prop-grid-3, .listing-main .prop-grid, .news-grid { grid-template-columns: repeat(2, 1fr); }
  .listing-layout { grid-template-columns: 260px 1fr; gap: 1.5rem; }
  .property-layout { grid-template-columns: 1fr 300px; gap: 1.6rem; }
  .gallery-thumbs { grid-template-columns: repeat(6, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 860px) {
  .header-cta { display: none; }
  .nav-toggle { display: flex; margin-left: auto; }
  .main-nav {
    position: absolute; top: 100%; left: 0; right: 0; background: #fff;
    border-bottom: 1px solid var(--line); box-shadow: var(--shadow);
    display: none; padding: .8rem 1.2rem 1.2rem;
  }
  .main-nav.is-open { display: block; }
  .main-nav ul { flex-direction: column; align-items: stretch; gap: 0; }
  .main-nav > ul > li { border-bottom: 1px solid var(--line); }
  .main-nav a { display: block; padding: .8rem 0; }
  .sub-menu { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; border: 0; padding: 0 0 .6rem; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 1.4rem; }
  .listing-layout, .property-layout, .contact-layout, .about-grid { grid-template-columns: 1fr; }
  .listing-sidebar, .property-aside { position: static; }
  .about-values { grid-template-columns: 1fr; }
  .section { padding: 2.8rem 0; }
}

@media (max-width: 620px) {
  .search-grid { grid-template-columns: 1fr 1fr; }
  .search-extras .field { flex: 1 1 90px; }
  .search-submit { width: 100%; margin-left: 0; }
  .prop-grid, .prop-grid-3, .listing-main .prop-grid, .news-grid { grid-template-columns: 1fr; }
  .field-pair { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 1.8rem; }
  .gallery-thumbs { grid-template-columns: repeat(4, 1fr); }
  .topbar-right { display: none; }
  .hero { padding: 3rem 0; }
  .brand-logo { height: 46px; }
}
