/*
Theme Name: Mandacaru Fazendas
Theme URI: https://mandacarufazendas.cloudpixel.com.br
Author: STEP
Description: Tema custom para a Mandacaru Fazendas - plataforma imobiliaria premium para imoveis rurais e urbanos. Sem Elementor, sem page builder. Dados via JetEngine/Crocoblock.
Version: 1.0.0
Requires PHP: 8.0
Text Domain: mandacaru
*/

@font-face { font-family: 'Poppins'; font-style: normal; font-weight: 400; font-display: swap; src: url('assets/fonts/poppins-400.woff2') format('woff2'); }
@font-face { font-family: 'Poppins'; font-style: normal; font-weight: 500; font-display: swap; src: url('assets/fonts/poppins-500.woff2') format('woff2'); }
@font-face { font-family: 'Poppins'; font-style: normal; font-weight: 600; font-display: swap; src: url('assets/fonts/poppins-600.woff2') format('woff2'); }
@font-face { font-family: 'Poppins'; font-style: normal; font-weight: 700; font-display: swap; src: url('assets/fonts/poppins-700.woff2') format('woff2'); }
@font-face { font-family: 'Oswald'; font-style: normal; font-weight: 500; font-display: swap; src: url('assets/fonts/oswald-500-700.woff2') format('woff2'); }
@font-face { font-family: 'Oswald'; font-style: normal; font-weight: 600; font-display: swap; src: url('assets/fonts/oswald-500-700.woff2') format('woff2'); }
@font-face { font-family: 'Oswald'; font-style: normal; font-weight: 700; font-display: swap; src: url('assets/fonts/oswald-500-700.woff2') format('woff2'); }

:root {
  --bg: #F3F0E6; --bg-alt: #ECE7D8; --surface: #FBFAF5;
  --ink: #1C2117; --ink-soft: #4B5142; --ink-faint: #767A68;
  --green: #33422C; --green-deep: #1E2818;
  --clay: #A9805C; --clay-soft: #DCC7AE; --gold: #A5822E;
  --border: rgba(28, 33, 23, 0.13); --shadow: rgba(28, 33, 23, 0.16);
  --font-display: 'Oswald', -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --font-body: 'Poppins', -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --fs-eyebrow: 0.72rem; --fs-small: 0.875rem; --fs-body: 1rem; --fs-lead: 1.15rem;
  --fs-h2: clamp(1.7rem, 3vw, 2.4rem); --fs-h1: clamp(2.3rem, 5.4vw, 3.9rem);
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #14170F; --bg-alt: #1A1E13; --surface: #1E2317;
    --ink: #ECE8DA; --ink-soft: #BEC2AC; --ink-faint: #8B8F7B;
    --green: #8AA478; --green-deep: #0F1509;
    --clay: #CBA582; --clay-soft: #3A3323; --gold: #D3AF56;
    --border: rgba(236, 232, 218, 0.14); --shadow: rgba(0, 0, 0, 0.45);
  }
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--ink); font-family: var(--font-body); font-size: var(--fs-body); line-height: 1.6; }
a { color: inherit; }
img, svg { display: block; max-width: 100%; }
h1, h2, h3 { font-family: var(--font-display); font-weight: 600; text-wrap: balance; margin: 0; color: var(--ink); letter-spacing: 0.01em; line-height: 1.15; }
p { margin: 0; }
button { font: inherit; cursor: pointer; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }
.screen-reader-text { position: absolute; left: -9999px; }

.wrap { max-width: 1280px; margin: 0 auto; padding: 0 clamp(20px, 4vw, 48px); }
.eyebrow { font-size: var(--fs-eyebrow); text-transform: uppercase; letter-spacing: 0.14em; color: var(--gold); font-weight: 600; }
.section { padding: clamp(56px, 8vw, 96px) 0; }
.section-head { max-width: 640px; margin-bottom: clamp(32px, 5vw, 52px); }
.section-head p.lead { color: var(--ink-soft); font-size: var(--fs-lead); margin-top: 14px; }
.bg-alt { background: var(--bg-alt); }

.btn { display: inline-flex; align-items: center; gap: 8px; padding: 13px 26px; border-radius: 3px; font-size: var(--fs-small); font-weight: 600; text-decoration: none; border: 1px solid transparent; transition: transform 0.15s ease, background 0.15s ease, border-color 0.15s ease; }
.btn--primary { background: var(--green); color: #F6F3E8; }
.btn--primary:hover { background: var(--green-deep); }
.btn--ghost { background: transparent; color: var(--ink); border-color: var(--border); }
.btn--ghost:hover { border-color: var(--ink-soft); }
.btn--block { width: 100%; justify-content: center; }
@media (prefers-reduced-motion: no-preference) { .btn:hover { transform: translateY(-1px); } }

/* Header */
header.top { position: sticky; top: 0; z-index: 40; background: color-mix(in srgb, var(--bg) 88%, transparent); backdrop-filter: blur(10px); border-bottom: 1px solid var(--border); }
.top-row { display: grid; grid-template-columns: auto 1fr auto; align-items: center; max-width: 1280px; margin: 0 auto; padding: 16px clamp(20px, 4vw, 48px); gap: 24px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.brand svg { width: 30px; height: 30px; color: var(--green); flex-shrink: 0; }
.brand span { font-family: var(--font-display); font-size: 1.28rem; letter-spacing: 0.01em; color: var(--ink); }
.brand small { display: block; font-family: var(--font-body); font-size: 0.62rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--ink-faint); margin-top: -2px; }
nav.main { display: flex; justify-content: center; }
nav.main ul { list-style: none; display: flex; align-items: center; gap: 22px; margin: 0; padding: 0; }
nav.main a { font-size: var(--fs-small); text-decoration: none; color: var(--ink-soft); font-weight: 600; white-space: nowrap; }
nav.main .current-menu-item > a, nav.main a:hover { color: var(--ink); }
nav.main .menu-item-cta a { display: inline-flex; align-items: center; padding: 9px 18px; border-radius: 3px; background: var(--green); color: #F6F3E8; }
nav.main .menu-item-cta a:hover { background: var(--green-deep); color: #F6F3E8; }
.top-actions { display: flex; align-items: center; gap: 14px; }
.nav-toggle { display: none; background: none; border: 1px solid var(--border); border-radius: 3px; padding: 8px 10px; }
.nav-toggle svg { width: 18px; height: 18px; color: var(--ink); }

/* Hero (home) */
.hero { position: relative; }
.hero__banner { position: relative; overflow: hidden; }
.hero__scene { position: absolute; inset: 0; z-index: 0; overflow: hidden; background: var(--green-deep); }
.hero__scene img { width: 100%; height: 100%; object-fit: cover; object-position: center 42%; }
.hero__scrim {
  position: absolute; inset: 0;
  background:
    linear-gradient(55deg, rgba(30,40,24,0.96) 0%, rgba(30,40,24,0.84) 30%, rgba(30,40,24,0.52) 55%, rgba(30,40,24,0.1) 80%, rgba(30,40,24,0) 92%),
    linear-gradient(180deg, rgba(20,23,15,0.18) 0%, rgba(20,23,15,0.12) 45%, var(--bg) 100%);
}
.hero__inner { position: relative; z-index: 1; min-height: min(78vh, 720px); display: flex; flex-direction: column; justify-content: center; padding-top: clamp(90px, 14vw, 150px); }
.hero__content { max-width: 620px; padding-bottom: 46px; }
.hero__content .eyebrow { color: #F1CE83; font-size: 14px; text-shadow: 0 1px 3px rgba(10,12,7,0.85), 0 1px 14px rgba(10,12,7,0.6); }
.hero__content h1 { color: #FBF7EC; font-size: 36px; margin-top: 14px; text-shadow: 0 2px 6px rgba(10,12,7,0.7), 0 1px 20px rgba(10,12,7,0.5); }
.hero__content .hero__lead { color: rgba(251, 247, 236, 0.92); font-size: var(--fs-lead); margin-top: 16px; max-width: 52ch; text-shadow: 0 1px 4px rgba(10,12,7,0.7), 0 1px 14px rgba(10,12,7,0.5); }
.hero__actions { display: flex; gap: 14px; margin-top: 30px; flex-wrap: wrap; }
.hero__actions .btn--primary { background: #F6F3E8; color: var(--green-deep); }
.hero__actions .btn--primary:hover { background: #FFFFFF; }
.hero__actions .btn--ghost { border-color: rgba(251, 247, 236, 0.75); color: #FBF7EC; background: rgba(20,26,15,0.35); text-shadow: 0 1px 4px rgba(10,12,7,0.7); backdrop-filter: blur(2px); }
.hero__actions .btn--ghost:hover { border-color: #FBF7EC; background: rgba(20,26,15,0.5); }

.search-card { position: relative; z-index: 2; background: var(--surface); border: 1px solid var(--border); border-radius: 6px; box-shadow: 0 24px 48px -20px var(--shadow); padding: 22px; margin: 0 auto -64px; display: grid; grid-template-columns: repeat(4, 1fr) auto; gap: 14px; align-items: end; }
.field { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.field label { font-size: 0.68rem; text-transform: uppercase; letter-spacing: 0.1em; color: var(--ink-faint); font-weight: 600; }
.field select, .field input { font-family: -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif; font-size: var(--fs-small); padding: 10px; border-radius: 3px; border: 1px solid var(--border); background: var(--bg); color: var(--ink); width: 100%; }
.search-card .btn { height: 42px; padding: 0 22px; align-self: end; white-space: nowrap; }

/* Compact page banner (listagem / sobre) */
.page-banner { position: relative; height: clamp(220px, 30vw, 380px); overflow: hidden; }
.page-banner img { width: 100%; height: 100%; object-fit: cover; object-position: center 55%; }
.page-banner__scrim { position: absolute; inset: 0; background: linear-gradient(100deg, rgba(15,18,10,0.72) 0%, rgba(15,18,10,0.42) 45%, rgba(15,18,10,0.15) 100%); }
.page-banner__pattern { position: absolute; inset: 0; opacity: 0.5; background: linear-gradient(120deg, var(--green-deep) 0%, var(--green) 55%, #6B5A34 100%); }
.page-banner__content { position: absolute; inset: 0; display: flex; flex-direction: column; justify-content: center; }
.page-banner__content .eyebrow { color: #F1CE83; }
.page-banner__content h1 { color: #FBF7EC; margin-top: 10px; }
.breadcrumb { font-size: var(--fs-small); color: rgba(251,247,236,0.75); margin-top: 10px; }
.breadcrumb a { text-decoration: none; color: inherit; }
.breadcrumb a:hover { color: #FBF7EC; }

/* Property card (shared: destaques, listagem, semelhantes) */
.property-card { background: var(--surface); border: 1px solid var(--border); border-radius: 6px; overflow: hidden; display: flex; flex-direction: column; text-decoration: none; color: inherit; }
.property-card__media { position: relative; aspect-ratio: 4 / 3; background: linear-gradient(150deg, var(--clay-soft), var(--green) 120%); display: flex; align-items: flex-end; padding: 14px; }
.property-card__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.property-card__media svg { position: relative; width: 30px; height: 30px; color: rgba(255,255,255,0.9); }
.tag { position: absolute; top: 12px; left: 12px; z-index: 1; background: rgba(20, 23, 15, 0.55); color: #F6F3E8; font-size: 0.68rem; text-transform: uppercase; letter-spacing: 0.08em; padding: 5px 10px; border-radius: 2px; font-weight: 600; }
.tag--status { left: auto; right: 12px; background: rgba(165, 130, 46, 0.85); }
.property-card__body { padding: 16px; display: flex; flex-direction: column; gap: 7px; flex: 1; }
.property-card__price { font-family: var(--font-display); font-size: 1.25rem; font-variant-numeric: tabular-nums; }
.property-card__title { font-weight: 600; font-size: 0.95rem; }
.property-card__loc { color: var(--ink-faint); font-size: var(--fs-small); }
.property-card__meta { display: flex; gap: 12px; margin-top: auto; padding-top: 10px; border-top: 1px solid var(--border); color: var(--ink-soft); font-size: 0.82rem; font-variant-numeric: tabular-nums; }
.featured-grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr; grid-template-rows: auto auto; gap: 22px; }
.property-card.feature { grid-row: span 2; }
.property-card.feature .property-card__media { aspect-ratio: 4 / 3.4; }
.property-card.feature .property-card__price { font-size: 1.6rem; }

/* Categories */
.cat-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.cat-card { background: var(--surface); border: 1px solid var(--border); border-radius: 6px; padding: 26px; display: flex; flex-direction: column; gap: 14px; text-decoration: none; color: inherit; transition: border-color 0.15s ease; }
.cat-card:hover { border-color: var(--gold); }
.cat-card svg { width: 28px; height: 28px; color: var(--green); }
.cat-card h3 { font-size: 1.05rem; }
.cat-card .count { font-size: var(--fs-small); color: var(--ink-faint); font-variant-numeric: tabular-nums; }

/* Bank grid (Simule seu Financiamento) */
.bank-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.bank-card { background: var(--surface); border: 1px solid var(--border); border-radius: 6px; padding: 32px 24px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 18px; text-decoration: none; transition: border-color 0.15s ease, transform 0.15s ease; }
.bank-card:hover { border-color: var(--gold); transform: translateY(-2px); }
.bank-card img { max-width: 150px; max-height: 46px; object-fit: contain; }

/* Differentials / values / principles (icon grid) */
.diff-grid, .values-grid, .principles-grid { display: grid; gap: 28px; }
.diff-grid { grid-template-columns: repeat(4, 1fr); }
.values-grid { grid-template-columns: repeat(4, 1fr); }
.principles-grid { grid-template-columns: repeat(3, 1fr); }
.diff-item svg, .value-item svg, .principle-item svg { width: 26px; height: 26px; color: var(--gold); margin-bottom: 14px; }
.diff-item h3, .value-item h3, .principle-item h3 { font-size: 1.02rem; margin-bottom: 8px; }
.diff-item p, .value-item p, .principle-item p { color: var(--ink-soft); font-size: var(--fs-small); }

/* About / stats */
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.about-copy p { color: var(--ink-soft); margin-top: 16px; }
.pull-quote { border-left: 3px solid var(--gold); padding-left: 22px; margin-top: 26px; }
.pull-quote p { font-family: var(--font-display); font-size: 1.4rem; color: var(--ink); margin: 0; line-height: 1.35; }
.pull-quote span { display: block; margin-top: 10px; font-size: var(--fs-small); color: var(--ink-faint); font-family: var(--font-body); }
.stat-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.stat { border-left: 2px solid var(--gold); padding-left: 16px; }
.stat .num { font-family: var(--font-display); font-size: 2rem; font-variant-numeric: tabular-nums; }
.stat .label { font-size: var(--fs-small); color: var(--ink-faint); margin-top: 4px; }

/* Timeline */
.timeline { position: relative; padding-left: 28px; border-left: 2px solid var(--border); display: flex; flex-direction: column; gap: 34px; }
.timeline-item { position: relative; }
.timeline-item::before { content: ''; position: absolute; left: -34px; top: 4px; width: 10px; height: 10px; border-radius: 50%; background: var(--gold); }
.timeline-item .year { font-family: var(--font-display); font-size: 1.1rem; color: var(--gold); }
.timeline-item h3 { font-size: 1.05rem; margin-top: 4px; }
.timeline-item p { color: var(--ink-soft); font-size: var(--fs-small); margin-top: 6px; max-width: 60ch; }

/* Photo grid */
.photo-grid { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 130px; gap: 16px; }
.photo-tile { grid-column: span 1; grid-row: span 1; border-radius: 6px; overflow: hidden; position: relative; background: linear-gradient(155deg, var(--clay-soft), var(--green) 130%); display: flex; align-items: flex-end; }
.photo-tile--a { grid-column: span 2; grid-row: span 2; }
.photo-tile--b { grid-row: span 2; }
.photo-tile--c { grid-column: span 2; }
.photo-tile img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.photo-tile__label { position: relative; z-index: 1; display: flex; align-items: center; gap: 8px; padding: 12px 14px; font-size: 0.78rem; color: rgba(255,255,255,0.9); }
.photo-tile__label svg { width: 16px; height: 16px; flex-shrink: 0; }
.photo-grid-note { color: var(--ink-faint); font-size: var(--fs-small); margin-top: 16px; }

/* Team / brokers */
.team-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.broker-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.broker-card { background: var(--surface); border: 1px solid var(--border); border-radius: 6px; padding: 22px; text-align: left; }
.team-grid .broker-card { display: flex; gap: 20px; padding: 26px; }
.broker-avatar { width: 54px; height: 54px; border-radius: 50%; background: linear-gradient(140deg, var(--green), var(--clay)); color: #F6F3E8; display: flex; align-items: center; justify-content: center; font-family: var(--font-display); font-size: 1.1rem; margin-bottom: 14px; flex-shrink: 0; overflow: hidden; }
.broker-avatar--photo img { width: 100%; height: 100%; object-fit: cover; }
.team-grid .broker-avatar { width: 64px; height: 64px; font-size: 1.2rem; margin-bottom: 0; }
.broker-card__body { flex: 1; min-width: 0; }
.broker-card h3 { font-size: 1rem; }
.team-grid .broker-card h3 { font-size: 1.15rem; }
.broker-card .role { color: var(--gold); font-size: var(--fs-small); font-weight: 600; margin-top: 2px; }
.broker-card .creci { color: var(--ink-faint); font-size: 0.78rem; margin-top: 8px; }
.broker-card .bio { color: var(--ink-soft); font-size: var(--fs-small); margin-top: 12px; }
.broker-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.broker-tag { font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.06em; font-weight: 600; color: var(--green); background: var(--clay-soft); padding: 5px 10px; border-radius: 3px; }
.broker-contact { display: flex; gap: 10px; margin-top: 14px; align-items: center; flex-wrap: wrap; }
.broker-contact a { width: 30px; height: 30px; border: 1px solid var(--border); border-radius: 50%; display: flex; align-items: center; justify-content: center; }
.broker-contact svg { width: 14px; height: 14px; }
.broker-contact .btn { width: auto; height: auto; border-radius: 3px; padding: 8px 16px; font-size: 0.8rem; }
.team-teaser { display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.team-teaser__avatars { display: flex; }
.team-teaser__avatars .avatar { width: 54px; height: 54px; border-radius: 50%; background: linear-gradient(140deg, var(--green), var(--clay)); color: #F6F3E8; display: flex; align-items: center; justify-content: center; font-family: var(--font-display); font-size: 0.95rem; border: 3px solid var(--bg-alt); margin-left: -14px; }
.team-teaser__avatars .avatar:first-child { margin-left: 0; }

/* Listagem: sidebar filters */
.listing-layout { display: grid; grid-template-columns: 280px 1fr; gap: 40px; align-items: start; padding: clamp(32px, 5vw, 56px) 0; }
.filters { position: sticky; top: 92px; background: var(--surface); border: 1px solid var(--border); border-radius: 6px; padding: 20px; }
.filters__head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 6px; }
.filters__head h2 { font-size: 1.1rem; }
.filters details { border-top: 1px solid var(--border); padding: 14px 0; }
.filters details:first-of-type { border-top: none; }
.filters summary { font-weight: 600; font-size: var(--fs-small); cursor: pointer; list-style: none; display: flex; align-items: center; justify-content: space-between; }
.filters summary::-webkit-details-marker { display: none; }
.filters summary::after { content: '+'; color: var(--gold); font-size: 1.1rem; line-height: 1; }
.filters details[open] summary::after { content: '\2212'; }
.filter-group { display: flex; flex-direction: column; gap: 9px; margin-top: 14px; }
.filter-check { display: flex; align-items: center; gap: 9px; font-size: var(--fs-small); color: var(--ink-soft); }
.filter-check input { accent-color: var(--green); width: 16px; height: 16px; }
.filter-range { display: flex; align-items: center; gap: 8px; margin-top: 14px; }
.filter-range input { width: 100%; min-width: 0; font-family: -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif; font-size: var(--fs-small); padding: 8px 9px; border-radius: 3px; border: 1px solid var(--border); background: var(--bg); color: var(--ink); }
.filter-range span { color: var(--ink-faint); font-size: var(--fs-small); }
.filter-select { width: 100%; font-family: -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif; font-size: var(--fs-small); padding: 9px; border-radius: 3px; border: 1px solid var(--border); background: var(--bg); color: var(--ink); margin-top: 14px; }
.filters .btn { margin-top: 18px; }
.field-label { font-size: 0.68rem; text-transform: uppercase; letter-spacing: 0.08em; color: var(--ink-faint); font-weight: 600; display: block; margin-top: 14px; }
.listing-results__head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 22px; flex-wrap: wrap; gap: 12px; }
.listing-results__head p { color: var(--ink-soft); font-size: var(--fs-small); }
.listing-results__head p strong { color: var(--ink); font-variant-numeric: tabular-nums; }
.sort-select { font-family: -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif; font-size: var(--fs-small); padding: 9px 12px; border-radius: 3px; border: 1px solid var(--border); background: var(--surface); color: var(--ink); }
.listing-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.pagination { display: flex; justify-content: center; gap: 8px; margin-top: 40px; }
.pagination a, .pagination span { min-width: 38px; height: 38px; padding: 0 10px; display: flex; align-items: center; justify-content: center; border: 1px solid var(--border); border-radius: 3px; text-decoration: none; color: var(--ink-soft); font-size: var(--fs-small); font-weight: 600; }
.pagination .current { background: var(--green); color: #F6F3E8; border-color: var(--green); }
.pagination a:hover { border-color: var(--ink-soft); }
.empty-state { padding: 60px 20px; text-align: center; color: var(--ink-soft); }

/* Single imovel */
.gallery { display: grid; grid-template-columns: 3fr 1fr; gap: 12px; padding: 16px 0 0; }
.gallery__main { position: relative; border-radius: 6px; overflow: hidden; aspect-ratio: 16/9; background: var(--green-deep); }
.gallery__main img { width: 100%; height: 100%; object-fit: cover; }
.gallery__tag { position: absolute; top: 14px; left: 14px; background: rgba(20,23,15,0.6); color: #F6F3E8; font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.08em; padding: 6px 12px; border-radius: 2px; font-weight: 600; }
.gallery__thumbs { display: flex; flex-direction: column; gap: 12px; }
.thumb { border: 2px solid transparent; border-radius: 6px; overflow: hidden; padding: 0; aspect-ratio: 16/9; background: none; flex: 1; }
.thumb img { width: 100%; height: 100%; object-fit: cover; }
.thumb.active { border-color: var(--gold); }
.property-body { display: grid; grid-template-columns: 1fr 320px; gap: 48px; padding-top: 32px; align-items: start; }
.property-title-row { display: flex; justify-content: space-between; gap: 24px; flex-wrap: wrap; border-bottom: 1px solid var(--border); padding-bottom: 26px; margin-bottom: 26px; }
.property-title-row h1 { margin-top: 8px; font-size: var(--fs-h1); }
.property-loc { color: var(--ink-soft); margin-top: 8px; }
.property-price { font-family: var(--font-display); font-size: 1.9rem; font-variant-numeric: tabular-nums; }
.property-price-note { color: var(--ink-faint); font-size: var(--fs-small); margin-top: 2px; }
.quickfacts { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; padding: 22px 0; border-bottom: 1px solid var(--border); margin-bottom: 30px; }
.quickfacts div { text-align: center; }
.quickfacts strong { display: block; font-family: var(--font-display); font-size: 1.15rem; font-variant-numeric: tabular-nums; }
.quickfacts span { font-size: 0.78rem; color: var(--ink-faint); }
.property-section { margin-bottom: 38px; }
.property-section h2 { font-size: var(--fs-h2); margin-bottom: 14px; }
.property-section p { color: var(--ink-soft); }
.property-section p + p { margin-top: 12px; }
.feature-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 12px 20px; }
.feature-list li { display: flex; align-items: center; gap: 10px; font-size: var(--fs-small); color: var(--ink-soft); }
.feature-list svg { width: 18px; height: 18px; color: var(--gold); flex-shrink: 0; }
.doc-badges { display: flex; flex-wrap: wrap; gap: 10px; }
.doc-badge { display: flex; align-items: center; gap: 8px; background: var(--surface); border: 1px solid var(--border); border-radius: 4px; padding: 9px 14px; font-size: var(--fs-small); color: var(--ink-soft); }
.doc-badge svg { width: 16px; height: 16px; color: var(--green); }
.map-box { background: var(--surface); border: 1px solid var(--border); border-radius: 6px; padding: 24px; display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
.map-box__text { display: flex; align-items: center; gap: 12px; }
.map-box svg.pin { width: 22px; height: 22px; color: var(--gold); flex-shrink: 0; }
.map-box p { color: var(--ink-soft); font-size: var(--fs-small); }
.video-box { position: relative; aspect-ratio: 16/9; border-radius: 6px; overflow: hidden; background: linear-gradient(135deg, var(--green-deep), var(--clay)); }
.video-box iframe { width: 100%; height: 100%; border: 0; }
.video-box__play { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; background: none; border: none; }
.video-box__play span { width: 64px; height: 64px; border-radius: 50%; background: rgba(251,247,236,0.92); display: flex; align-items: center; justify-content: center; }
.video-box__play svg { width: 24px; height: 24px; color: var(--green-deep); margin-left: 3px; }
.property-side { display: flex; flex-direction: column; gap: 20px; position: sticky; top: 92px; }
.cta-box { background: var(--surface); border: 1px solid var(--border); border-radius: 6px; padding: 22px; }
.cta-box h3 { font-size: 1.05rem; margin-bottom: 8px; }
.cta-box p { color: var(--ink-soft); font-size: var(--fs-small); margin-bottom: 16px; }
.cta-box .btn { margin-bottom: 10px; }
.similar-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-top: 24px; }

/* CTA final */
.cta-final { background: var(--green-deep); color: #F3F0E6; text-align: center; padding: clamp(60px, 9vw, 96px) 0; }
.cta-final h2 { color: #FBF7EC; }
.cta-final p { color: rgba(243, 240, 230, 0.78); margin: 14px auto 30px; max-width: 46ch; }
.cta-final .btn--primary { background: var(--gold); color: #1E2818; }
.cta-final .btn--primary:hover { background: #BE9A46; }

/* Footer */
footer.site-foot { background: var(--bg-alt); border-top: 1px solid var(--border); padding: 56px 0 0; }
.foot-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 36px; padding-bottom: 40px; }
.foot-col h4 { font-size: var(--fs-small); text-transform: uppercase; letter-spacing: 0.1em; color: var(--ink-faint); margin-bottom: 16px; }
.foot-col a, .foot-col p { display: block; font-size: var(--fs-small); color: var(--ink-soft); text-decoration: none; margin-bottom: 9px; }
.foot-col a:hover { color: var(--ink); }
.foot-brand p { color: var(--ink-faint); max-width: 34ch; margin-top: 12px; }
.foot-bottom { border-top: 1px solid var(--border); padding: 18px 0; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; font-size: 0.8rem; color: var(--ink-faint); }
.foot-bottom a { text-decoration: underline; text-decoration-color: var(--border); text-underline-offset: 2px; }
.foot-bottom a:hover { color: var(--ink-soft); text-decoration-color: currentColor; }

.wa-float {
  position: fixed; right: 20px; bottom: 20px; z-index: 60;
  width: 48px; height: 48px; border-radius: 50%;
  background: #25D366; color: #fff;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 10px 24px -6px rgba(0, 0, 0, 0.4);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.wa-float svg { width: 24px; height: 24px; }
.wa-float:hover { transform: scale(1.06); box-shadow: 0 14px 30px -6px rgba(0, 0, 0, 0.45); }
@media (prefers-reduced-motion: no-preference) {
  .wa-float::before {
    content: ''; position: absolute; inset: 0; border-radius: 50%;
    background: #25D366; opacity: 0.55; z-index: -1;
    animation: wa-pulse 2.4s ease-out infinite;
  }
}
@keyframes wa-pulse {
  0% { transform: scale(1); opacity: 0.55; }
  100% { transform: scale(1.7); opacity: 0; }
}
@media (max-width: 640px) {
  .wa-float { right: 14px; bottom: 14px; width: 44px; height: 44px; }
  .wa-float svg { width: 22px; height: 22px; }
}

.reveal-init { opacity: 1; transform: none; }
@media (prefers-reduced-motion: no-preference) {
  .reveal-init { opacity: 0; transform: translateY(16px); transition: opacity 0.6s ease, transform 0.6s ease; }
  .reveal-init.reveal { opacity: 1; transform: none; }
}

@media (max-width: 1300px) {
  nav.main { display: none; }
  .nav-toggle { display: inline-flex; }
  nav.main.is-open {
    display: block; position: absolute; top: 64px; left: 0; right: 0; z-index: 39;
    background: var(--surface); padding: 16px 20px; border-bottom: 1px solid var(--border);
  }
  nav.main.is-open ul { flex-direction: column; gap: 14px; align-items: flex-start; }
  nav.main.is-open .menu-item-cta { margin-top: 4px; }
}
@media (max-width: 980px) {
  .top-actions .btn { display: none; }
  .search-card { grid-template-columns: 1fr 1fr; }
  .search-card .btn { grid-column: span 2; }
  .featured-grid { grid-template-columns: 1fr 1fr; }
  .property-card.feature { grid-column: span 2; grid-row: auto; }
  .diff-grid, .broker-grid, .values-grid { grid-template-columns: 1fr 1fr; }
  .principles-grid { grid-template-columns: 1fr 1fr; }
  .about-grid, .story { grid-template-columns: 1fr; gap: 32px; }
  .foot-grid { grid-template-columns: 1fr 1fr; }
  .listing-layout { grid-template-columns: 1fr; }
  .filters { position: static; }
  .listing-grid { grid-template-columns: 1fr 1fr; }
  .property-body { grid-template-columns: 1fr; }
  .property-side { position: static; }
  .quickfacts { grid-template-columns: repeat(3, 1fr); }
  .similar-grid { grid-template-columns: 1fr 1fr; }
  .team-grid { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .wrap { padding: 0 24px; }
  .hero__inner { min-height: auto; padding-top: 44px; }
  .hero__content { padding-right: 6px; padding-bottom: 16px; }
  .hero__content h1 { margin-top: 8px; }
  .hero__content .hero__lead { margin-top: 8px; }
  .hero__actions { gap: 10px; margin-top: 14px; }
  .search-card { grid-template-columns: 1fr 1fr; padding: 14px; gap: 8px; margin-bottom: -32px; }
  .search-card .btn { grid-column: span 2; }
  .cat-grid, .bank-grid { grid-template-columns: 1fr 1fr; }
  .diff-grid, .broker-grid, .foot-grid, .values-grid, .principles-grid { grid-template-columns: 1fr; }
  .stat-grid { grid-template-columns: 1fr; }
  .listing-grid { grid-template-columns: 1fr; }
  .gallery { grid-template-columns: 1fr; }
  .gallery__thumbs { flex-direction: row; }
  .feature-list { grid-template-columns: 1fr; }
  .quickfacts { grid-template-columns: 1fr 1fr; }
  .similar-grid { grid-template-columns: 1fr; }
  .photo-grid { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 150px; }
  .photo-tile--a, .photo-tile--b, .photo-tile--c { grid-column: span 2; grid-row: span 1; }
}
