/* ==========================================================================
   DABEX Trading Company SARL: theme styles (site + block editor).
   Palette from the logo: deep forest green, emerald, refined gold, ivory.
   Sections: tokens · base · layout · buttons · header · hero · search ·
   section heads · property cards · tiles & places · cards · stats ·
   text+media · team · CTA · posts · contact & forms · page hero ·
   property page · lightbox · FAQ · share · footer · misc · responsive.
   ========================================================================== */

:root {
	--forest: #0F2A23;
	--forest-2: #16382F;
	--forest-3: #1F4A3E;
	--emerald: #127A55;
	--emerald-l: #E3F1EA;
	--gold: #C9A24A;
	--gold-l: #E7CC85;
	--gold-d: #8F6E25;
	--ink: #15211D;
	--muted: #5D6B65;
	--line: #E7E2D6;
	--line-2: #D9D2C2;
	--ivory: #F7F4EC;
	--sand: #EFE9DC;
	--white: #FFFFFF;
	--wa: #128C4A;
	--danger: #A8322D;
	--serif: "Playfair Display", Georgia, "Times New Roman", serif;
	--sans: "Manrope", system-ui, -apple-system, "Segoe UI", sans-serif;
	--radius: 6px;
	--radius-l: 12px;
	--shadow: 0 1px 2px rgba(15, 42, 35, .06), 0 8px 24px rgba(15, 42, 35, .08);
	--shadow-l: 0 2px 6px rgba(15, 42, 35, .08), 0 24px 48px rgba(15, 42, 35, .14);
	--gutter: 24px;
	--section: clamp(64px, 8vw, 112px);
	--ease: cubic-bezier(.2, .7, .2, 1);
}

/* ---------- Base ---------- */

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
	margin: 0;
	background: var(--white);
	color: var(--ink);
	font-family: var(--sans);
	font-size: 1.02rem;
	line-height: 1.7;
	-webkit-font-smoothing: antialiased;
	text-rendering: optimizeLegibility;
}
html.menu-open { overflow: hidden; }
/* Safety net against sideways scrolling on phones ("clip" keeps the sticky header working). */
html, body { overflow-x: clip; }
img, svg, video, iframe { max-width: 100%; }
img { height: auto; display: block; }
a { color: var(--emerald); text-decoration-thickness: 1px; text-underline-offset: 3px; transition: color .2s; }
a:hover { color: var(--forest); }
h1, h2, h3, h4 { font-family: var(--serif); font-weight: 500; line-height: 1.16; color: var(--forest); margin: 0 0 .5em; letter-spacing: -.01em; }
h1 { font-size: clamp(2.2rem, 5vw, 3.9rem); }
h2 { font-size: clamp(1.85rem, 3.4vw, 2.75rem); }
h3 { font-size: 1.3rem; }
h1 em, h2 em, h3 em { font-style: italic; color: var(--gold-d); font-weight: 500; }
p { margin: 0 0 1em; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }
.icon { width: 1.15em; height: 1.15em; flex: none; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; vertical-align: -.18em; }
.icon-fill { fill: currentColor; stroke: none; }
.screen-reader-text { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(1px, 1px, 1px, 1px); white-space: nowrap; }
.skip-link { position: absolute; left: 12px; top: -60px; z-index: 1000; background: var(--gold); color: var(--forest); padding: 10px 16px; font-weight: 700; border-radius: var(--radius); }
.skip-link:focus { top: 12px; }
.hp { position: absolute; left: -9999px; }

/* ---------- Layout ---------- */

.wrap { width: 100%; max-width: 1240px; margin: 0 auto; padding: 0 var(--gutter); }
.wrap.narrow { max-width: 820px; }
.site-main { display: block; }
/* Sections sit edge to edge: no WordPress block gap between header, main, sections and footer. */
.wp-site-blocks > *, .site-main > *, .dbx-content > [class*="wp-block-dbx-"] { margin-block-start: 0; margin-block-end: 0; }
.dbx-section { padding: var(--section) 0; position: relative; }
.bg-white { background: var(--white); }
.bg-ivory { background: var(--ivory); }
.bg-forest { background: var(--forest); color: #DCE5E0; }
.bg-forest h2, .bg-forest h3 { color: var(--white); }
.bg-forest h2 em, .bg-forest h3 em { color: var(--gold-l); }
.bg-white + .bg-white, .bg-ivory + .bg-ivory, .bg-forest + .bg-forest { padding-top: 0; }
.dbx-content > * + * { margin-top: 0; }
/* Plain WordPress blocks typed straight onto a page get a readable width. */
.dbx-content > :not([class*="wp-block-dbx-"]):not(.alignfull):not(.alignwide):not(.dbx-section) { max-width: 776px; margin-left: auto; margin-right: auto; padding-left: var(--gutter); padding-right: var(--gutter); }
.dbx-content > .alignwide { max-width: 1240px; margin-left: auto; margin-right: auto; padding: 0 var(--gutter); }
.dbx-prose { padding: 56px 0 72px; }
.dbx-content > .dbx-prose { max-width: none; padding-left: 0; padding-right: 0; }
.dbx-content > .dbx-prose.has-ivory-background-color { background: var(--ivory); }
.dbx-prose > h2:first-child { margin-top: 0; }
.dbx-prose .lede { font-size: 1.14rem; color: var(--forest); }
.dbx-prose > * { max-width: 776px; margin-left: auto; margin-right: auto; padding-left: var(--gutter); padding-right: var(--gutter); }
.dbx-prose h2 { font-size: clamp(1.5rem, 2.6vw, 2rem); margin-top: 1.6em; }
.dbx-prose h3 { margin-top: 1.4em; }
.dbx-prose ul, .dbx-prose ol, .prose ul, .prose ol { padding-left: 1.3em; }
.dbx-prose li, .prose li { margin-bottom: .4em; }
.dbx-prose li::marker, .prose li::marker { color: var(--gold-d); }
.dbx-prose img { border-radius: var(--radius); }
.dbx-prose .wp-block-image figcaption { color: var(--muted); font-size: .88rem; }
.prose p:last-child { margin-bottom: 0; }

/* ---------- Buttons & links ---------- */

.btn {
	display: inline-flex; align-items: center; justify-content: center; gap: 10px;
	min-height: 48px; padding: 12px 24px;
	border: 1px solid transparent; border-radius: 4px;
	font: 700 .9rem/1.2 var(--sans); letter-spacing: .02em; text-decoration: none; cursor: pointer;
	transition: background .2s, color .2s, border-color .2s, transform .2s var(--ease), box-shadow .2s;
}
.btn:hover { transform: translateY(-1px); }
.btn .icon { width: 1.2em; height: 1.2em; }
.btn.is-large { min-height: 54px; padding: 14px 30px; font-size: .95rem; }
.btn.is-block { display: flex; width: 100%; }
.btn-gold { background: var(--gold); color: var(--forest); }
.btn-gold:hover { background: var(--gold-l); color: var(--forest); }
.btn-dark { background: var(--forest); color: var(--white); }
.btn-dark:hover { background: var(--emerald); color: var(--white); }
.btn-light { background: var(--white); color: var(--forest); }
.btn-light:hover { background: var(--ivory); color: var(--forest); }
.btn-ghost { background: transparent; color: var(--forest); border-color: var(--line-2); }
.btn-ghost:hover { border-color: var(--forest); color: var(--forest); }
.bg-forest .btn-ghost, .is-dark .btn-ghost, .hero .btn-ghost { color: var(--white); border-color: rgba(255, 255, 255, .35); }
.btn-whatsapp { background: var(--wa); color: var(--white); }
.btn-whatsapp:hover { background: #0E7A40; color: var(--white); }
.btn-row, .hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 28px 0 0; }
.link-arrow { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; font-size: .92rem; color: var(--forest); text-decoration: none; border-bottom: 1px solid var(--gold); padding-bottom: 2px; }
.link-arrow span { transition: transform .2s var(--ease); }
.link-arrow:hover span { transform: translateX(4px); }
.bg-forest .link-arrow { color: var(--gold-l); }
.section-cta { text-align: center; margin: 48px 0 0; }

/* ---------- Eyebrows & section heads ---------- */

.eyebrow {
	display: inline-flex; align-items: center; gap: 12px;
	font: 700 .74rem/1.4 var(--sans); text-transform: uppercase; letter-spacing: .18em;
	color: var(--emerald); margin-bottom: 16px;
}
.eyebrow::before { content: ""; width: 28px; height: 1px; background: var(--gold); }
.bg-forest .eyebrow, .is-dark .eyebrow, .hero .eyebrow, .tone-forest .eyebrow { color: var(--gold-l); }
.section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 32px; margin-bottom: 48px; }
.section-head__text { max-width: 720px; }
.section-head h2 { margin-bottom: 0; }
.section-intro { color: var(--muted); font-size: 1.06rem; margin: 16px 0 0; max-width: 640px; }
.bg-forest .section-intro { color: #B9C7C0; }
.section-head.is-center { justify-content: center; text-align: center; }
.section-head.is-center .section-head__text { margin: 0 auto; }
.section-head.is-center .section-intro { margin-left: auto; margin-right: auto; }
.section-head.is-center .eyebrow::after { content: ""; width: 28px; height: 1px; background: var(--gold); }

/* ---------- Header ---------- */

.site-header-part { position: sticky; top: 0; z-index: 100; }
.topbar { background: var(--forest); color: #C8D4CE; font-size: .8rem; }
.topbar .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 40px; }
.topbar__text { letter-spacing: .04em; }
.topbar__links { display: flex; align-items: center; gap: 22px; margin-left: auto; }
.topbar__links a { color: #E6EDE9; text-decoration: none; display: inline-flex; align-items: center; gap: 7px; }
.topbar__links a:hover { color: var(--gold-l); }
.topbar__links .icon { color: var(--gold); }
.social { display: flex; gap: 10px; }
.social a { display: inline-flex; color: inherit; }
.topbar__social .icon { width: 15px; height: 15px; }
.header { background: rgba(255, 255, 255, .97); backdrop-filter: saturate(1.4) blur(8px); border-bottom: 1px solid var(--line); transition: box-shadow .25s; }
.header.is-scrolled { box-shadow: 0 8px 24px rgba(15, 42, 35, .08); }
.header .wrap { display: flex; align-items: center; gap: 28px; min-height: 84px; }
.brand { display: flex; align-items: center; flex: none; }
.brand img { width: auto; height: 50px; }
.nav-wrap { margin-left: auto; }
.nav { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; gap: 4px; }
.nav > li { position: relative; }
.nav a { display: flex; align-items: center; gap: 6px; padding: 10px 12px; color: var(--ink); text-decoration: none; font-weight: 600; font-size: .92rem; border-radius: 4px; }
.nav > li > a:hover, .nav > .current-menu-item > a, .nav > .current-menu-ancestor > a, .nav > .current_page_parent > a { color: var(--emerald); }
.nav > .current-menu-item > a::after, .nav > .current-menu-ancestor > a::after { content: ""; position: absolute; left: 12px; right: 12px; bottom: 2px; height: 2px; background: var(--gold); }
.caret { width: 7px; height: 7px; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: rotate(45deg) translateY(-2px); margin-left: 2px; }
.nav .sub-menu {
	position: absolute; top: calc(100% + 6px); left: 0; min-width: 260px; list-style: none; margin: 0; padding: 10px;
	background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-l);
	opacity: 0; visibility: hidden; transform: translateY(6px); transition: opacity .2s, transform .2s var(--ease), visibility .2s;
}
.nav li:hover > .sub-menu, .nav li:focus-within > .sub-menu { opacity: 1; visibility: visible; transform: none; }
.nav .sub-menu a { display: block; padding: 10px 12px; font-weight: 600; }
.nav .sub-menu a:hover { background: var(--ivory); color: var(--forest); }
.nav .sub-menu small { display: block; font-weight: 500; font-size: .78rem; color: var(--muted); }
.header-cta { display: flex; align-items: center; gap: 12px; }
.header-cta .btn { min-height: 44px; padding: 10px 18px; font-size: .86rem; }
.nav-mobile-extra { display: none; }
.burger { display: none; width: 44px; height: 44px; border: 1px solid var(--line-2); border-radius: 4px; background: transparent; padding: 12px 10px; cursor: pointer; flex-direction: column; justify-content: space-between; }
.burger span { display: block; height: 2px; background: var(--forest); transition: transform .25s, opacity .25s; }
.header.is-open .burger span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.header.is-open .burger span:nth-child(2) { opacity: 0; }
.header.is-open .burger span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

/* ---------- Hero ---------- */

.hero { position: relative; isolation: isolate; background: var(--forest); color: #E3EAE6; padding: clamp(72px, 9vw, 128px) 0 0; overflow: hidden; }
.hero__bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.hero__shade { position: absolute; inset: 0; z-index: -1; background: linear-gradient(100deg, rgba(10, 30, 25, .94) 0%, rgba(10, 30, 25, .82) 42%, rgba(10, 30, 25, .35) 100%), linear-gradient(0deg, rgba(10, 30, 25, .9) 0%, rgba(10, 30, 25, 0) 40%); }
.hero:not(.has-photo) .hero__shade { background: radial-gradient(circle at 85% 20%, rgba(201, 162, 74, .18), transparent 45%), radial-gradient(circle at 10% 90%, rgba(18, 122, 85, .35), transparent 50%); }
.hero__inner { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(260px, 340px); gap: 48px; align-items: end; }
.hero h1 { color: var(--white); font-size: clamp(2.3rem, 5.2vw, 4.1rem); max-width: 14em; }
.hero h1 em { color: var(--gold-l); }
.hero .lead { font-size: clamp(1.05rem, 1.5vw, 1.2rem); color: #D5DED9; max-width: 36em; }
.hero__points { list-style: none; margin: 28px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px 26px; font-weight: 600; font-size: .92rem; }
.hero__points li { display: flex; align-items: center; gap: 8px; }
.hero__points .icon { color: var(--gold); stroke-width: 2.4; }
.hero__card { display: block; background: var(--white); color: var(--ink); text-decoration: none; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-l); transition: transform .3s var(--ease); position: relative; }
.hero__card:hover { transform: translateY(-4px); color: var(--ink); }
.hero__card img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
.hero__card-tag { position: absolute; top: 12px; left: 12px; display: inline-flex; align-items: center; gap: 6px; background: var(--gold); color: var(--forest); font: 700 .72rem/1 var(--sans); letter-spacing: .08em; text-transform: uppercase; padding: 7px 10px; border-radius: 3px; }
.hero__card-tag .icon { width: 13px; height: 13px; fill: currentColor; }
.hero__card-body { display: block; padding: 16px 18px 18px; }
.hero__card-body strong { display: block; font-family: var(--serif); font-weight: 500; font-size: 1.1rem; color: var(--forest); line-height: 1.3; }
.hero__card-body small { display: flex; align-items: center; gap: 6px; color: var(--muted); margin-top: 6px; }
.hero__card-price { display: block; margin-top: 10px; font-weight: 800; color: var(--emerald); }
.hero__search { position: relative; margin-top: clamp(48px, 6vw, 72px); padding-bottom: 40px; }
.hero__links { display: flex; flex-wrap: wrap; gap: 8px 18px; margin: 18px 0 0; font-size: .88rem; }
.hero__links span { color: #A9BAB2; }
.hero__links a { color: var(--white); font-weight: 600; text-decoration: none; border-bottom: 1px solid rgba(201, 162, 74, .6); }
.hero__links a:hover { color: var(--gold-l); }

/* ---------- Property search form ---------- */

.psearch { position: relative; }
.psearch__tabs { display: inline-flex; background: rgba(255, 255, 255, .1); border-radius: 6px 6px 0 0; padding: 6px 6px 0; gap: 4px; }
.psearch__tabs label { cursor: pointer; }
.psearch__tabs input { position: absolute; opacity: 0; pointer-events: none; }
.psearch__tabs span { display: block; padding: 10px 22px; border-radius: 4px 4px 0 0; color: #E6EDE9; font-weight: 700; font-size: .88rem; }
.psearch__tabs input:checked + span { background: var(--white); color: var(--forest); }
.psearch__tabs input:focus-visible + span { outline: 2px solid var(--gold); }
.psearch__fields { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 12px; align-items: end; background: var(--white); padding: 18px; border-radius: var(--radius); box-shadow: var(--shadow-l); }
.psearch.is-hero .psearch__fields { border-top-left-radius: 0; grid-template-columns: repeat(3, minmax(0, 1fr)) auto; }
.psearch.is-panel .psearch__fields { box-shadow: var(--shadow); border: 1px solid var(--line); }
.psearch__field { display: flex; flex-direction: column; gap: 6px; font: 700 .7rem/1.2 var(--sans); text-transform: uppercase; letter-spacing: .12em; color: var(--muted); min-width: 0; }
.psearch__field select, .psearch__field input {
	width: 100%; min-height: 48px; padding: 10px 36px 10px 14px; border: 1px solid var(--line-2); border-radius: 4px; background: var(--ivory);
	font: 600 .95rem/1.2 var(--sans); color: var(--ink); text-transform: none; letter-spacing: 0; appearance: none;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%230F2A23' stroke-width='1.6'/%3E%3C/svg%3E");
	background-repeat: no-repeat; background-position: right 14px center; background-size: 11px;
}
.psearch__field input { background-image: none; padding-right: 14px; }
.psearch__field select:focus, .psearch__field input:focus { border-color: var(--emerald); outline: none; box-shadow: 0 0 0 3px rgba(18, 122, 85, .15); }
.psearch__go { min-height: 48px; padding: 10px 26px; }
.psearch__more { grid-column: 1 / -1; margin-top: 12px; }
.psearch__more summary { display: inline-flex; align-items: center; gap: 8px; cursor: pointer; font-weight: 700; font-size: .88rem; color: var(--forest); list-style: none; }
.psearch__more summary::-webkit-details-marker { display: none; }
.psearch__fields.is-more { margin-top: 12px; box-shadow: none; border: 1px dashed var(--line-2); background: var(--white); }
.psearch__check { display: flex; align-items: center; gap: 10px; min-height: 48px; font-weight: 600; font-size: .92rem; cursor: pointer; }
.psearch__check input { width: 18px; height: 18px; accent-color: var(--emerald); }
.search-section .psearch { max-width: 1040px; margin: 0 auto; }

/* ---------- Results bar & empty states ---------- */

.results-bar { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin: 28px 0 24px; }
.results-bar__count { margin: 0; font-weight: 700; color: var(--forest); }
.results-bar__reset { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; font-size: .9rem; }
.empty-box { text-align: center; padding: 56px 24px; border: 1px dashed var(--line-2); border-radius: var(--radius-l); background: var(--white); }
.empty-box > .icon { width: 40px; height: 40px; color: var(--gold-d); margin-bottom: 12px; }
.empty-box p { max-width: 560px; margin: 0 auto 1em; color: var(--muted); }
.empty-box__actions { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; margin-top: 20px !important; }
.empty-note { color: var(--muted); }

/* ---------- Property cards ---------- */

.pgrid { display: grid; gap: 28px; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.pgrid.cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.pgrid.cols-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 22px; }
.pcard { position: relative; display: flex; flex-direction: column; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; transition: box-shadow .3s var(--ease), transform .3s var(--ease), border-color .3s; }
.pcard:hover { box-shadow: var(--shadow-l); transform: translateY(-4px); border-color: transparent; }
.pcard__media { position: relative; display: block; aspect-ratio: 3 / 2; background: var(--sand); overflow: hidden; }
.pcard__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.pcard:hover .pcard__media img { transform: scale(1.04); }
.pcard__ph { display: grid; place-items: center; height: 100%; color: var(--gold-d); background: linear-gradient(135deg, var(--sand), var(--ivory)); }
.pcard__ph .icon { width: 48px; height: 48px; stroke-width: 1.2; }
.pcard__badges { position: absolute; top: 12px; left: 12px; display: flex; flex-wrap: wrap; gap: 6px; }
.pcard__count { position: absolute; right: 12px; bottom: 12px; display: inline-flex; align-items: center; gap: 6px; padding: 5px 9px; border-radius: 3px; background: rgba(15, 42, 35, .72); color: var(--white); font-size: .78rem; font-weight: 700; }
.pcard__body { display: flex; flex-direction: column; gap: 6px; padding: 20px 20px 18px; flex: 1; }
.pcard__price { margin: 0; font-weight: 800; font-size: 1.15rem; color: var(--emerald); letter-spacing: -.01em; }
.pcard__price small { font-weight: 600; font-size: .82rem; color: var(--muted); }
.pcard__title { font-size: 1.14rem; line-height: 1.3; margin: 2px 0 0; }
.pcard__title a { color: var(--forest); text-decoration: none; }
.pcard__title a::after { content: ""; position: absolute; inset: 0; }
.pcard__title a:hover { color: var(--emerald); }
.pcard__place { display: flex; align-items: flex-start; gap: 6px; margin: 0; color: var(--muted); font-size: .88rem; }
.pcard__place .icon { margin-top: .2em; color: var(--gold-d); }
.pcard__facts { list-style: none; margin: auto 0 0; padding: 14px 0 0; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; gap: 8px 18px; font-size: .86rem; font-weight: 600; color: var(--ink); }
.pcard__facts li { display: inline-flex; align-items: center; gap: 6px; }
.pcard__facts .icon { color: var(--gold-d); }
/* Sold / rented: photo stays in colour (the site shows its track record), a red badge says it. */
.pcard.is-closed .pcard__price { color: var(--muted); }
.badge { display: inline-flex; align-items: center; gap: 5px; padding: 6px 10px; border-radius: 3px; font: 700 .7rem/1 var(--sans); letter-spacing: .08em; text-transform: uppercase; background: var(--white); color: var(--forest); }
.badge .icon { width: 12px; height: 12px; }
.badge-sale { background: var(--forest); color: var(--white); }
.badge-rent { background: var(--emerald); color: var(--white); }
.badge-featured { background: var(--gold); color: var(--forest); }
.badge-guest { background: var(--gold-l); color: var(--forest); }
.badge-featured .icon { fill: currentColor; }
.badge-status { background: var(--danger); color: var(--white); }
.badge-doc { background: var(--emerald-l); color: var(--emerald); }

/* ---------- Type tiles & places ---------- */

.type-tiles { display: grid; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); gap: 18px; }
.type-tile { position: relative; display: flex; flex-direction: column; gap: 4px; padding: 26px 24px; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); text-decoration: none; color: var(--ink); transition: border-color .25s, box-shadow .25s, transform .25s var(--ease); }
.type-tile:hover { border-color: var(--gold); box-shadow: var(--shadow); transform: translateY(-3px); color: var(--ink); }
.type-tile__icon { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 50%; background: var(--ivory); color: var(--emerald); margin-bottom: 14px; transition: background .25s, color .25s; }
.type-tile:hover .type-tile__icon { background: var(--forest); color: var(--gold-l); }
.type-tile__icon .icon { width: 24px; height: 24px; }
.type-tile strong { font-family: var(--serif); font-weight: 500; font-size: 1.2rem; color: var(--forest); }
.type-tile small { color: var(--muted); font-weight: 600; }
.type-tile__go { position: absolute; top: 24px; right: 22px; color: var(--gold-d); opacity: 0; transform: translateX(-6px); transition: .25s var(--ease); }
.type-tile:hover .type-tile__go { opacity: 1; transform: none; }
.places { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); grid-auto-rows: 260px; gap: 18px; }
.places.count-4 .place.is-first, .places.count-5 .place.is-first, .places.count-6 .place.is-first { grid-row: span 2; }
.place { position: relative; display: block; overflow: hidden; border-radius: var(--radius); color: var(--white); text-decoration: none; background: var(--forest-2); isolation: isolate; }
.place img, .place__ph { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform .7s var(--ease); }
.place__ph { background: radial-gradient(circle at 80% 10%, rgba(201, 162, 74, .3), transparent 55%), linear-gradient(160deg, var(--forest-3), var(--forest)); }
.place::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(0deg, rgba(10, 30, 25, .88) 0%, rgba(10, 30, 25, .15) 60%); }
.place:hover img { transform: scale(1.05); }
.place__text { position: absolute; left: 22px; right: 22px; bottom: 20px; }
.place__text small { display: block; font: 700 .7rem/1.4 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--gold-l); }
.place__text strong { display: block; font-family: var(--serif); font-weight: 500; font-size: 1.6rem; line-height: 1.2; }
.place__text span { display: inline-flex; align-items: center; gap: 8px; margin-top: 6px; font-weight: 600; font-size: .9rem; color: #D5DED9; }
.place:hover { color: var(--white); }

/* ---------- Cards (services, reasons, steps, photos) ---------- */

.cards { display: grid; gap: 24px; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.cards.cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.cards.cols-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.card { display: flex; flex-direction: column; gap: 18px; color: inherit; text-decoration: none; }
.card h3 { margin: 0 0 8px; }
.card p { margin: 0 0 14px; color: var(--muted); }
.bg-forest .card p { color: #B9C7C0; }
.card__body { display: flex; flex-direction: column; align-items: flex-start; flex: 1; }
.card__body .link-arrow { margin-top: auto; }
.cards.is-cards .card { padding: 34px 30px; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); transition: box-shadow .3s, transform .3s var(--ease), border-color .3s; }
.bg-white .cards.is-cards .card { background: var(--ivory); border-color: transparent; }
.bg-forest .cards.is-cards .card { background: var(--forest-2); border-color: rgba(255, 255, 255, .08); }
.cards.is-cards .card:hover { box-shadow: var(--shadow-l); transform: translateY(-4px); }
.card__icon { display: grid; place-items: center; width: 58px; height: 58px; border-radius: 50%; border: 1px solid var(--gold); color: var(--gold-d); }
.bg-forest .card__icon { color: var(--gold-l); }
.card__icon .icon { width: 26px; height: 26px; }
.cards.is-icons .card { flex-direction: row; gap: 18px; }
.cards.is-icons .card__icon { width: 48px; height: 48px; background: var(--emerald-l); border: 0; color: var(--emerald); flex: none; }
.bg-forest .cards.is-icons .card__icon { background: rgba(201, 162, 74, .12); color: var(--gold-l); }
.cards.is-steps { counter-reset: step; }
.cards.is-steps .card { position: relative; padding-top: 6px; }
.card__num { font-family: var(--serif); font-size: 3rem; line-height: 1; color: var(--gold); font-style: italic; }
.cards.is-steps .card::before { content: ""; position: absolute; top: 26px; left: 76px; right: -12px; height: 1px; background: linear-gradient(90deg, var(--line-2), transparent); }
.cards.is-steps .card:last-child::before { display: none; }
.cards.is-photos .card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; gap: 0; }
.cards.is-photos .card__body { padding: 24px; }
.card__photo { display: block; aspect-ratio: 3 / 2; overflow: hidden; background: var(--sand); }
.card__photo img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.card:hover .card__photo img { transform: scale(1.04); }
.card__photo-ph { display: grid; place-items: center; height: 100%; color: var(--gold-d); }
.card__photo-ph .icon { width: 44px; height: 44px; }
a.card:hover h3 { color: var(--emerald); }

/* ---------- Stats ---------- */

.stats-band { padding: 56px 0; }
.stats-band.is-overlap { margin-top: -1px; }
.stats { display: grid; grid-template-columns: repeat(var(--n, 4), minmax(0, 1fr)); gap: 24px; }
.stat { text-align: center; padding: 8px 12px; position: relative; }
.stat + .stat::before { content: ""; position: absolute; left: -12px; top: 15%; bottom: 15%; width: 1px; background: currentColor; opacity: .16; }
.stat b { display: block; font: 500 clamp(2.4rem, 4.4vw, 3.4rem)/1 var(--serif); color: var(--forest); }
.stat sup { color: var(--gold-d); font-size: .55em; }
.stat span { display: block; margin-top: 10px; font-size: .9rem; color: var(--muted); font-weight: 600; }
.bg-forest .stat b { color: var(--white); }
.bg-forest .stat sup { color: var(--gold-l); }
.bg-forest .stat span { color: #B9C7C0; }

/* ---------- Text + media ---------- */

.text-media__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(40px, 6vw, 88px); align-items: center; }
.text-media.is-left .text-media__media { order: -1; }
.text-media__text .prose { color: var(--muted); font-size: 1.04rem; }
.bg-forest .text-media__text .prose { color: #C8D4CE; }
.ticks { list-style: none; margin: 24px 0 0; padding: 0; display: grid; gap: 12px; }
.ticks li { display: flex; gap: 12px; align-items: flex-start; font-weight: 600; }
.ticks .icon { flex: none; width: 22px; height: 22px; padding: 4px; border-radius: 50%; background: var(--emerald-l); color: var(--emerald); stroke-width: 2.6; margin-top: 2px; }
.bg-forest .ticks .icon { background: rgba(201, 162, 74, .16); color: var(--gold-l); }
.text-media__frame { position: relative; }
.text-media__frame::before { content: ""; position: absolute; inset: 22px -22px -22px 22px; border: 1px solid var(--gold); border-radius: var(--radius); z-index: 0; }
.text-media.is-left .text-media__frame::before { inset: 22px 22px -22px -22px; }
.text-media__frame img { position: relative; z-index: 1; width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--radius); box-shadow: var(--shadow-l); }
.figure-panel { position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; aspect-ratio: 4 / 3; padding: 40px; border-radius: var(--radius); color: var(--white); overflow: hidden; background: radial-gradient(circle at 85% 15%, rgba(201, 162, 74, .28), transparent 50%), linear-gradient(150deg, var(--forest-3), var(--forest)); }
.figure-panel::after { content: ""; position: absolute; inset: 18px; border: 1px solid rgba(201, 162, 74, .4); border-radius: 4px; pointer-events: none; }
.figure-panel img { width: 120px; margin-bottom: 18px; }
.figure-panel b { font: 500 clamp(2.4rem, 5vw, 3.6rem)/1 var(--serif); color: var(--gold-l); letter-spacing: .06em; }
.figure-panel span { margin-top: 14px; max-width: 22em; color: #C8D4CE; font-weight: 600; }

/* ---------- Team ---------- */

.team { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 28px; }
.member { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; }
.member__photo { aspect-ratio: 6 / 7; background: linear-gradient(160deg, var(--forest-3), var(--forest)); overflow: hidden; }
.member__photo img { width: 100%; height: 100%; object-fit: cover; object-position: center 20%; }
.member__init { display: grid; place-items: center; height: 100%; font: 500 3rem/1 var(--serif); color: var(--gold-l); letter-spacing: .06em; }
.member__text { padding: 18px 20px 20px; }
.member h3 { font-size: 1.12rem; margin: 0; }
.member__role { margin: 4px 0 0; font: 700 .72rem/1.4 var(--sans); letter-spacing: .12em; text-transform: uppercase; color: var(--gold-d); }
.member__bio { margin: 10px 0 0; font-size: .9rem; color: var(--muted); }
.member__links { display: flex; gap: 8px; margin: 14px 0 0; }
.member__links a { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: var(--ivory); color: var(--forest); }
.member__links a:hover { background: var(--forest); color: var(--gold-l); }
.member__links .icon { width: 15px; height: 15px; }

/* ---------- Call to action ---------- */

.cta { padding: 0 0 var(--section); }
.bg-ivory + .cta, .bg-forest + .cta { padding-top: var(--section); }
.wp-block-dbx-cta-banner:first-child, .dbx-prose + .cta, .entry-footer + .cta { padding-top: 0; }
.cta-box { position: relative; isolation: isolate; overflow: hidden; display: grid; grid-template-columns: minmax(0, 1.4fr) auto; align-items: center; gap: 40px; padding: clamp(40px, 5vw, 64px); border-radius: var(--radius-l); }
.cta-box__bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.cta-box.has-photo::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(10, 30, 25, .95), rgba(10, 30, 25, .7)); }
.cta-box h2 { margin-bottom: 12px; font-size: clamp(1.7rem, 3vw, 2.4rem); }
.cta-box p { margin: 0; max-width: 38em; }
.cta-box__actions { display: flex; flex-direction: column; gap: 12px; }
.tone-forest { background: radial-gradient(circle at 92% 0%, rgba(201, 162, 74, .25), transparent 40%), var(--forest); color: #C8D4CE; }
.tone-forest h2 { color: var(--white); }
.tone-forest h2 em { color: var(--gold-l); }
.tone-gold { background: linear-gradient(120deg, var(--gold), var(--gold-l)); color: var(--forest); }
.tone-gold h2, .tone-gold h2 em { color: var(--forest); }
.tone-gold .eyebrow { color: var(--forest); }
.tone-gold .eyebrow::before { background: var(--forest); }
.tone-ivory { background: var(--ivory); border: 1px solid var(--line); }

/* ---------- Posts ---------- */

.posts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; }
.post-card { position: relative; display: flex; flex-direction: column; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; transition: box-shadow .3s, transform .3s var(--ease); }
.post-card:hover { box-shadow: var(--shadow-l); transform: translateY(-4px); }
.post-card__media { display: block; aspect-ratio: 3 / 2; background: var(--sand); overflow: hidden; }
.post-card__media img { width: 100%; height: 100%; object-fit: cover; }
.post-card__ph { display: grid; place-items: center; height: 100%; color: var(--gold-d); background: linear-gradient(135deg, var(--sand), var(--ivory)); }
.post-card__ph .icon { width: 42px; height: 42px; stroke-width: 1.2; }
.post-card__body { padding: 22px 22px 24px; display: flex; flex-direction: column; flex: 1; }
.post-card__cat { font: 700 .7rem/1.4 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--emerald); margin-bottom: 8px; }
.post-card h3 { font-size: 1.2rem; margin: 0 0 10px; }
.post-card h3 a { color: var(--forest); text-decoration: none; }
.post-card h3 a::after { content: ""; position: absolute; inset: 0; }
.post-card p { color: var(--muted); font-size: .94rem; }
.post-card time { margin-top: auto; font-size: .82rem; color: var(--muted); font-weight: 600; }
.pagination { display: flex; justify-content: center; flex-wrap: wrap; gap: 8px; margin-top: 48px; }
.pagination .page-numbers { display: inline-grid; place-items: center; min-width: 44px; height: 44px; padding: 0 14px; border: 1px solid var(--line-2); border-radius: 4px; text-decoration: none; color: var(--forest); font-weight: 700; background: var(--white); }
.pagination .page-numbers.current { background: var(--forest); color: var(--white); border-color: var(--forest); }
.pagination a.page-numbers:hover { border-color: var(--gold); }

/* ---------- Contact & forms ---------- */

.contact-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: clamp(40px, 6vw, 80px); align-items: start; }
.contact-grid.no-form { grid-template-columns: 1fr; }
.contact-quick { margin: 24px 0 8px; }
.contact-list { list-style: none; margin: 24px 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.contact-list li { display: flex; gap: 14px; align-items: flex-start; }
.contact-list small { display: block; font: 700 .68rem/1.4 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.contact-list a { color: var(--forest); font-weight: 700; text-decoration: none; }
.contact-list__ic { display: grid; place-items: center; width: 42px; height: 42px; flex: none; border-radius: 50%; background: var(--ivory); color: var(--emerald); }
.offices { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; margin: 8px 0 24px; }
.office { padding: 20px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--white); }
.office h3 { display: flex; align-items: center; gap: 8px; font-size: 1.05rem; margin-bottom: 8px; }
.office h3 .icon { color: var(--gold-d); }
.office p { margin: 0 0 10px; color: var(--muted); font-size: .94rem; }
.social--round a { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--line-2); color: var(--forest); }
.social--round a:hover { background: var(--forest); color: var(--gold-l); border-color: var(--forest); }
.social--round .icon { width: 17px; height: 17px; }
.contact-form { background: var(--ivory); border-radius: var(--radius-l); padding: clamp(28px, 4vw, 44px); border-top: 3px solid var(--gold); }
.bg-ivory .contact-form { background: var(--white); }
.contact-form h3 { margin-bottom: 20px; font-size: 1.5rem; }
.contact-form label { display: block; margin-bottom: 16px; font-weight: 700; font-size: .86rem; color: var(--forest); }
.contact-form input:not([type="checkbox"]):not([type="radio"]):not([type="submit"]), .contact-form select, .contact-form textarea {
	display: block; width: 100%; margin-top: 6px; min-height: 48px; padding: 12px 14px; border: 1px solid var(--line-2); border-radius: 4px; background: var(--white);
	font: 500 1rem/1.4 var(--sans); color: var(--ink);
}
.contact-form textarea { min-height: 130px; resize: vertical; }
.contact-form input:focus, .contact-form select:focus, .contact-form textarea:focus { outline: none; border-color: var(--emerald); box-shadow: 0 0 0 3px rgba(18, 122, 85, .15); }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-consent { font-size: .86rem; color: var(--muted); }
.form-consent label, .form-consent .wpcf7-list-item-label { font-weight: 500; color: var(--muted); }
.wpcf7-list-item { margin: 0; }
.contact-form input[type="checkbox"] { width: 18px; height: 18px; accent-color: var(--emerald); vertical-align: -3px; margin-right: 8px; }
.contact-form .wpcf7-submit, .contact-form button[type="submit"] { display: inline-flex; align-items: center; justify-content: center; min-height: 52px; padding: 12px 32px; border: 0; border-radius: 4px; background: var(--forest); color: var(--white); font: 700 .95rem/1 var(--sans); cursor: pointer; transition: background .2s; }
.contact-form .wpcf7-submit:hover, .contact-form button[type="submit"]:hover { background: var(--emerald); }
.wpcf7-not-valid-tip { color: var(--danger); font-size: .82rem; font-weight: 600; margin-top: 4px; }
.wpcf7 form .wpcf7-response-output { margin: 18px 0 0; padding: 12px 16px; border-radius: 4px; font-weight: 600; font-size: .92rem; }
.wpcf7 .wpcf7-spinner { margin: 0 0 0 12px; vertical-align: middle; }
.form-notice { padding: 12px 16px; border-radius: 4px; font-weight: 600; }
.form-notice.is-ok { background: var(--emerald-l); color: var(--emerald); }
.form-notice.is-error { background: #F8E6E4; color: var(--danger); }

/* ---------- Page hero & breadcrumbs ---------- */

.page-hero { position: relative; isolation: isolate; overflow: hidden; padding: clamp(56px, 7vw, 96px) 0 clamp(52px, 6vw, 80px); }
.page-hero.is-dark { background: var(--forest); color: #C8D4CE; }
.page-hero.is-dark h1 { color: var(--white); }
.page-hero.is-dark h1 em { color: var(--gold-l); }
.page-hero.is-light { background: var(--ivory); }
.page-hero h1 { font-size: clamp(2.1rem, 4.6vw, 3.5rem); max-width: 18em; margin-bottom: 14px; }
.page-hero .lead { font-size: 1.12rem; max-width: 42em; margin: 0; }
.page-hero.is-dark .lead { color: #C8D4CE; }
.page-hero__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.page-hero.has-image::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(10, 30, 25, .94), rgba(10, 30, 25, .6)); }
.page-hero__pattern { position: absolute; inset: 0; z-index: -1; opacity: .55; background: radial-gradient(circle at 92% 10%, rgba(201, 162, 74, .25), transparent 38%), repeating-linear-gradient(135deg, rgba(255, 255, 255, .025) 0 1px, transparent 1px 22px); }
.page-hero.is-light .page-hero__pattern { background: radial-gradient(circle at 92% 10%, rgba(201, 162, 74, .2), transparent 40%); }
.page-hero.has-image .page-hero__pattern { display: none; }
.crumbs { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin-bottom: 22px; font-size: .82rem; font-weight: 600; color: var(--muted); }
.crumbs a { color: inherit; text-decoration: none; }
.crumbs a:hover { color: var(--emerald); }
.crumbs span[aria-hidden] { color: var(--gold); }
.is-dark .crumbs, .bg-forest .crumbs { color: #A9BAB2; }
.is-dark .crumbs a:hover { color: var(--gold-l); }
.entry-header.is-post { padding-bottom: 0; }
.entry-header.is-post h1 { font-size: clamp(2rem, 4.2vw, 3.1rem); }
.entry-date { margin: 18px 0 0; color: var(--muted); font-weight: 600; font-size: .9rem; }
.entry-image { margin-top: 40px; max-width: 1040px; }
.entry-image img { width: 100%; max-height: 560px; object-fit: cover; border-radius: var(--radius-l) var(--radius-l) 0 0; }
.entry-header.is-post .lead { color: var(--muted); }

/* ---------- Property page ---------- */

.prop-head { background: var(--ivory); padding: 36px 0 40px; }
.prop-head__row { display: flex; align-items: flex-end; justify-content: space-between; gap: 32px; margin-bottom: 28px; }
.prop-head h1 { font-size: clamp(1.9rem, 3.8vw, 3rem); margin: 12px 0 10px; max-width: 20em; }
.prop-badges { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.prop-ref { font-size: .82rem; font-weight: 700; color: var(--muted); margin-left: 6px; }
.prop-place { display: flex; gap: 8px; align-items: flex-start; margin: 0; color: var(--muted); font-weight: 600; }
.prop-place .icon { color: var(--gold-d); margin-top: .2em; }
.prop-price { text-align: right; flex: none; }
.prop-price__main { margin: 0; font: 800 clamp(1.6rem, 3vw, 2.3rem)/1.1 var(--sans); color: var(--emerald); letter-spacing: -.02em; }
.prop-price__main small { font-size: .5em; font-weight: 700; color: var(--muted); letter-spacing: 0; }
.prop-price__total, .prop-price__neg { margin: 6px 0 0; font-weight: 600; color: var(--muted); font-size: .9rem; }
.prop-price__neg { color: var(--gold-d); }
.prop-gallery { position: relative; display: grid; gap: 10px; grid-template-columns: 2fr 1fr 1fr; grid-template-rows: 230px 230px; border-radius: var(--radius-l); overflow: hidden; }
.prop-gallery__item { position: relative; padding: 0; border: 0; background: var(--sand); cursor: zoom-in; overflow: hidden; }
.prop-gallery__item img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease), filter .3s; }
.prop-gallery__item:hover img { transform: scale(1.04); filter: brightness(1.05); }
.prop-gallery__item:first-child { grid-row: span 2; }
.prop-gallery.count-1 { grid-template-columns: 1fr; grid-template-rows: clamp(280px, 48vw, 520px); }
.prop-gallery.count-2 { grid-template-columns: 2fr 1fr; grid-template-rows: 460px; }
.prop-gallery.count-2 .prop-gallery__item:first-child { grid-row: auto; }
.prop-gallery.count-3 { grid-template-columns: 2fr 1fr; }
.prop-gallery.count-4 { grid-template-columns: 2fr 1fr 1fr; }
.prop-gallery.count-4 .prop-gallery__item:nth-child(4) { grid-column: span 2; }
.prop-gallery__more { position: absolute; inset: 0; display: grid; place-items: center; background: rgba(15, 42, 35, .6); color: var(--white); font-weight: 800; font-size: 1.1rem; }
.prop-gallery__all { position: absolute; right: 16px; bottom: 16px; display: inline-flex; align-items: center; gap: 8px; padding: 10px 16px; border: 0; border-radius: 4px; background: var(--white); color: var(--forest); font: 700 .86rem/1 var(--sans); cursor: pointer; box-shadow: var(--shadow); }
.prop-gallery.is-empty { display: grid; place-items: center; height: 220px; grid-template-columns: 1fr; grid-template-rows: auto; background: linear-gradient(135deg, var(--sand), var(--white)); color: var(--muted); font-weight: 700; }
.prop-gallery.is-empty span { display: inline-flex; align-items: center; gap: 10px; }
.prop-layout { display: grid; grid-template-columns: minmax(0, 1fr) 380px; gap: 56px; padding-top: 48px; padding-bottom: var(--section); align-items: start; }
.prop-keyfacts { list-style: none; margin: 0 0 40px; padding: 22px; display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 18px; border: 1px solid var(--line); border-radius: var(--radius); }
.prop-keyfacts li { display: flex; align-items: center; gap: 12px; }
.prop-keyfacts .icon { width: 40px; height: 40px; padding: 9px; border-radius: 50%; background: var(--ivory); color: var(--emerald); }
.prop-keyfacts strong { display: block; font-size: 1.05rem; color: var(--forest); }
.prop-keyfacts small { display: block; font-size: .78rem; color: var(--muted); font-weight: 600; }
.prop-section { margin-bottom: 44px; }
.prop-section h2 { font-size: 1.6rem; padding-bottom: 12px; margin-bottom: 20px; border-bottom: 1px solid var(--line); position: relative; }
.prop-section h2::after { content: ""; position: absolute; left: 0; bottom: -1px; width: 56px; height: 2px; background: var(--gold); }
.prop-section .prose { color: #2E3B36; }
.prop-details { margin: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 32px; }
.prop-details div { display: flex; justify-content: space-between; gap: 16px; padding: 12px 0; border-bottom: 1px dashed var(--line-2); }
.prop-details dt { display: flex; align-items: center; gap: 10px; color: var(--muted); font-weight: 600; font-size: .92rem; }
.prop-details dt .icon { color: var(--gold-d); }
.prop-details dd { margin: 0; text-align: right; font-weight: 700; color: var(--forest); font-size: .94rem; }
.prop-features { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 12px; }
.prop-features li { display: flex; align-items: center; gap: 10px; font-weight: 600; }
.prop-features .icon { width: 22px; height: 22px; padding: 4px; border-radius: 50%; background: var(--emerald-l); color: var(--emerald); stroke-width: 2.6; }
.video-lite { position: relative; display: block; width: 100%; aspect-ratio: 16 / 9; padding: 0; border: 0; border-radius: var(--radius); overflow: hidden; background: #000; cursor: pointer; }
.video-lite img { width: 100%; height: 100%; object-fit: cover; opacity: .85; }
.video-lite__play { position: absolute; inset: 0; display: grid; place-items: center; color: var(--white); }
.video-lite__play .icon { width: 76px; height: 76px; stroke-width: 1.2; fill: rgba(15, 42, 35, .6); transition: transform .25s var(--ease); }
.video-lite:hover .video-lite__play .icon { transform: scale(1.08); }
.video-frame, .map-frame { display: block; width: 100%; aspect-ratio: 16 / 9; border: 0; border-radius: var(--radius); }
.map-frame { aspect-ratio: 16 / 10; margin-bottom: 12px; }
.prop-maptext { display: flex; gap: 8px; align-items: flex-start; font-weight: 600; }
.prop-maptext .icon { color: var(--gold-d); margin-top: .25em; }
.prop-maptext small { color: var(--muted); font-weight: 500; }
.map-lite { display: flex; flex-wrap: wrap; gap: 12px; padding: 24px; border-radius: var(--radius); background: radial-gradient(circle at 20% 30%, rgba(18, 122, 85, .12), transparent 40%), repeating-linear-gradient(0deg, transparent 0 28px, rgba(15, 42, 35, .05) 28px 29px), repeating-linear-gradient(90deg, transparent 0 28px, rgba(15, 42, 35, .05) 28px 29px), var(--ivory); }
.map-lite .map-frame { flex-basis: 100%; }
.prop-aside { position: sticky; top: 140px; }
.contact-card { padding: 28px; border-radius: var(--radius-l); background: var(--white); border: 1px solid var(--line); box-shadow: var(--shadow); border-top: 3px solid var(--gold); }
.contact-card__price { margin: 0; font: 800 1.6rem/1.1 var(--sans); color: var(--emerald); }
.contact-card__price small { font-size: .55em; color: var(--muted); }
.contact-card__ref { margin: 6px 0 18px; color: var(--muted); font-size: .88rem; }
.contact-card__agent { display: flex; align-items: center; gap: 14px; padding: 14px 0; margin-bottom: 18px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.contact-card__agent img { width: 56px; height: auto; }
.contact-card__agent strong { display: block; color: var(--forest); font-size: .96rem; }
.contact-card__agent small { display: block; color: var(--muted); font-size: .82rem; }
.contact-card__actions { display: grid; gap: 10px; }
.booking { margin-bottom: 6px; }
.booking__title { font-size: 1.25rem; margin: 0 0 14px; }
.booking label { display: block; margin-bottom: 12px; font-weight: 700; font-size: .8rem; color: var(--forest); }
.booking input:not([type="submit"]), .booking textarea { display: block; width: 100%; margin-top: 5px; min-height: 44px; padding: 10px 12px; border: 1px solid var(--line-2); border-radius: 4px; background: var(--ivory); font: 500 .95rem/1.3 var(--sans); color: var(--ink); }
.booking textarea { min-height: 70px; resize: vertical; }
.booking input:focus, .booking textarea:focus { outline: none; border-color: var(--emerald); box-shadow: 0 0 0 3px rgba(18, 122, 85, .15); background: var(--white); }
.booking .field-row { gap: 10px; }
.booking .wpcf7-submit { width: 100%; min-height: 50px; border: 0; border-radius: 4px; background: var(--gold); color: var(--forest); font: 700 .95rem/1 var(--sans); cursor: pointer; }
.booking .wpcf7-submit:hover { background: var(--gold-l); }
.booking .wpcf7-spinner { display: block; margin: 8px auto 0; }
.booking__or { display: flex; align-items: center; gap: 12px; margin: 14px 0; color: var(--muted); font-size: .8rem; font-weight: 700; text-transform: uppercase; letter-spacing: .12em; }
.booking__or::before, .booking__or::after { content: ""; flex: 1; height: 1px; background: var(--line); }
.contact-card__closed { padding: 10px 12px; border-radius: 4px; background: #F8E6E4; color: var(--danger); font-weight: 600; font-size: .9rem; }
.contact-card__note { display: flex; gap: 10px; margin: 18px 0 0; font-size: .84rem; color: var(--muted); }
.contact-card__note .icon { color: var(--emerald); flex: none; margin-top: .15em; }
.share { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.share.is-compact { margin-top: 18px; padding-top: 16px; border-top: 1px solid var(--line); }
.share.is-compact > span { font-weight: 700; font-size: .82rem; color: var(--muted); margin-right: 4px; }
.share__btn { position: relative; display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; border: 1px solid var(--line-2); background: var(--white); color: var(--forest); cursor: pointer; padding: 0; }
.share__btn:hover { background: var(--forest); color: var(--gold-l); border-color: var(--forest); }
.share__btn .icon { width: 16px; height: 16px; }
.share__copied { position: absolute; bottom: calc(100% + 6px); left: 50%; transform: translateX(-50%); white-space: nowrap; background: var(--forest); color: var(--white); font-size: .74rem; padding: 4px 8px; border-radius: 3px; }
.prop-similar { padding-top: var(--section); }

/* ---------- Lightbox ---------- */

.lightbox { width: 100vw; height: 100vh; max-width: none; max-height: none; margin: 0; padding: 0; border: 0; background: rgba(8, 22, 18, .96); color: var(--white); }
.lightbox::backdrop { background: rgba(8, 22, 18, .9); }
.lightbox[open] { display: grid; place-items: center; }
.lightbox__figure { margin: 0; display: flex; flex-direction: column; align-items: center; gap: 12px; max-width: 92vw; }
.lightbox__figure img { max-width: 92vw; max-height: 82vh; width: auto; height: auto; object-fit: contain; border-radius: 4px; }
.lightbox__figure figcaption { font-weight: 700; font-size: .9rem; color: #C8D4CE; }
.lightbox__btn { position: fixed; display: grid; place-items: center; width: 52px; height: 52px; border: 1px solid rgba(255, 255, 255, .25); border-radius: 50%; background: rgba(15, 42, 35, .6); color: var(--white); cursor: pointer; }
.lightbox__btn:hover { background: var(--gold); color: var(--forest); border-color: var(--gold); }
.lightbox__btn .icon { width: 22px; height: 22px; }
.lightbox__btn.is-prev { left: 20px; top: 50%; transform: translateY(-50%); }
.lightbox__btn.is-next { right: 20px; top: 50%; transform: translateY(-50%); }
.lightbox__btn.is-close { right: 20px; top: 20px; }

/* ---------- FAQ ---------- */

.faq-grid { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(32px, 5vw, 72px); align-items: start; }
.faq-grid .section-head { margin-bottom: 0; position: sticky; top: 150px; }
.faq__item { border-bottom: 1px solid var(--line-2); }
.faq__item:first-child { border-top: 1px solid var(--line-2); }
.faq__item summary { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 22px 0; cursor: pointer; list-style: none; font: 500 1.16rem/1.35 var(--serif); color: var(--forest); }
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary i { position: relative; flex: none; width: 30px; height: 30px; border-radius: 50%; border: 1px solid var(--gold); }
.faq__item summary i::before, .faq__item summary i::after { content: ""; position: absolute; left: 50%; top: 50%; width: 11px; height: 1.5px; background: var(--gold-d); transform: translate(-50%, -50%); transition: transform .25s; }
.faq__item summary i::after { transform: translate(-50%, -50%) rotate(90deg); }
.faq__item[open] summary i::after { transform: translate(-50%, -50%) rotate(0deg); }
.faq__answer { padding: 0 48px 22px 0; color: var(--muted); }
.bg-forest .faq__item summary { color: var(--white); }
.bg-forest .faq__answer { color: #B9C7C0; }
.bg-forest .faq__item { border-color: rgba(255, 255, 255, .14); }

/* ---------- Entry footer ---------- */

.entry-footer { padding: 0 0 56px; }
.entry-footer__inner { max-width: 776px; margin: 0 auto; padding: 24px var(--gutter) 0; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 20px; border-top: 1px solid var(--line); }
.entry-footer__label { font: 700 .72rem/1.4 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin-right: 6px; }
.entry-tags { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.tag-chip { padding: 6px 12px; border-radius: 999px; background: var(--ivory); color: var(--forest); font-size: .84rem; font-weight: 600; text-decoration: none; }

/* ---------- Footer ---------- */

.footer { background: var(--forest); color: #AFC0B8; font-size: .92rem; border-top: 3px solid var(--gold); }
.footer__top { display: grid; grid-template-columns: 1.4fr repeat(3, minmax(0, .8fr)) 1.3fr; gap: 40px; padding-top: 72px; padding-bottom: 56px; }
.footer__logo { width: 210px; margin-bottom: 20px; }
.footer__about p { max-width: 26em; }
.footer .social--round a { border-color: rgba(255, 255, 255, .18); color: var(--white); }
.footer .social--round a:hover { background: var(--gold); color: var(--forest); border-color: var(--gold); }
.footer-h { font: 700 .74rem/1.4 var(--sans); letter-spacing: .16em; text-transform: uppercase; color: var(--gold-l); margin: 0 0 18px; }
.footer-menu { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.footer-menu a, .footer__contact a { color: #DCE5E0; text-decoration: none; }
.footer-menu a:hover, .footer__contact a:hover { color: var(--gold-l); }
.footer__contact p { display: flex; gap: 10px; margin: 0 0 12px; }
.footer__contact .icon { color: var(--gold); margin-top: .25em; }
.footer__contact small { color: #8FA39A; }
.footer__office { margin-top: 18px !important; padding-top: 16px; border-top: 1px solid rgba(255, 255, 255, .1); }
.footer__office strong { color: var(--white); }
.footer__bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 32px; padding-top: 22px; padding-bottom: 28px; border-top: 1px solid rgba(255, 255, 255, .1); font-size: .82rem; }
.footer__small { color: #8FA39A; max-width: 46em; }

/* ---------- WhatsApp floating button ---------- */

.wa-float { position: fixed; right: 20px; bottom: 20px; z-index: 90; display: inline-flex; align-items: center; gap: 10px; padding: 12px 18px 12px 14px; border-radius: 999px; background: var(--wa); color: var(--white); font-weight: 700; font-size: .9rem; text-decoration: none; box-shadow: 0 10px 28px rgba(18, 140, 74, .4); transition: transform .25s var(--ease), box-shadow .25s; }
.wa-float:hover { color: var(--white); transform: translateY(-3px); box-shadow: 0 14px 34px rgba(18, 140, 74, .5); }
.wa-float .icon { width: 24px; height: 24px; }
html.menu-open .wa-float { display: none; }

/* ---------- Plain WordPress blocks ---------- */

.wp-block-button__link { border-radius: 4px; }
.wp-block-table table { border-collapse: collapse; width: 100%; }
.wp-block-table td, .wp-block-table th { border: 1px solid var(--line-2); padding: 10px 12px; }
.wp-block-table thead { background: var(--ivory); }
.wp-block-separator { border: 0; border-top: 1px solid var(--line-2); }
blockquote { margin: 1.6em 0; }

/* ---------- Responsive ---------- */

@media (max-width: 1180px) {
	.nav a { padding: 10px 9px; font-size: .88rem; }
	.footer__top { grid-template-columns: repeat(3, minmax(0, 1fr)); }
	.footer__about { grid-column: 1 / -1; }
	.pgrid.cols-4 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
	.prop-layout { grid-template-columns: minmax(0, 1fr) 340px; gap: 40px; }
}

@media (max-width: 1024px) {
	.topbar__text { display: none; }
	.header .wrap { min-height: 72px; }
	.brand img { height: 42px; }
	.burger { display: flex; margin-left: auto; }
	.header-cta { margin-left: auto; }
	.header-cta .btn { display: none; }
	/* No backdrop-filter here: it would make the header the containing block of the fixed menu panel. */
	.header { backdrop-filter: none; background: var(--white); }
	.nav-wrap { position: fixed; top: var(--nav-top, 112px); left: 0; right: 0; bottom: 0; z-index: 99; margin: 0; padding: 12px var(--gutter) 40px; background: var(--white); border-top: 1px solid var(--line); overflow-y: auto; overscroll-behavior: contain; transform: translateX(100%); visibility: hidden; transition: transform .3s var(--ease), visibility .3s; }
	.header.is-open .nav-wrap { transform: none; visibility: visible; }
	.nav { flex-direction: column; align-items: stretch; gap: 0; }
	.nav > li { border-bottom: 1px solid var(--line); }
	.nav a { padding: 16px 4px; font-size: 1.05rem; justify-content: space-between; }
	.nav > .current-menu-item > a::after, .nav > .current-menu-ancestor > a::after { display: none; }
	.nav .sub-menu { position: static; display: none; min-width: 0; padding: 0 0 12px 12px; border: 0; box-shadow: none; opacity: 1; visibility: visible; transform: none; }
	.nav li.is-expanded > .sub-menu { display: block; }
	.nav li:hover > .sub-menu { display: none; }
	.nav li.is-expanded:hover > .sub-menu { display: block; }
	.nav-mobile-extra { display: grid; gap: 10px; margin-top: 24px; }
	.hero__inner { grid-template-columns: 1fr; }
	.hero__card { display: none; }
	.psearch.is-hero .psearch__fields { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.psearch.is-hero .psearch__go { grid-column: 1 / -1; }
	.pgrid, .pgrid.cols-4, .posts, .cards, .cards.cols-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.places { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-rows: 220px; }
	.text-media__grid, .contact-grid, .faq-grid { grid-template-columns: 1fr; }
	.text-media.is-left .text-media__media { order: 0; }
	.faq-grid .section-head { position: static; }
	.prop-layout { grid-template-columns: 1fr; }
	.prop-aside { position: static; }
	.prop-gallery { grid-template-rows: 180px 180px; }
	.cards.is-steps .card::before { display: none; }
	.cta-box { grid-template-columns: 1fr; }
	.cta-box__actions { flex-direction: row; flex-wrap: wrap; }
}

@media (max-width: 700px) {
	:root { --gutter: 16px; }
	body { font-size: 1rem; }
	/* Phones: the top bar becomes three round icon buttons (call, WhatsApp, email);
	   the numbers stay in the link text for screen readers. */
	.topbar__social { display: none; }
	.topbar .wrap { min-height: 44px; justify-content: flex-end; }
	.topbar__links { gap: 10px; margin: 0; }
	.topbar__links a { display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; border: 1px solid rgba(201, 162, 74, .45); }
	.topbar__links a .icon { width: 16px; height: 16px; }
	.topbar__links a span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
	.header .wrap { gap: 16px; min-height: 66px; }
	.brand img { height: 38px; }
	.section-head { flex-direction: column; align-items: flex-start; gap: 16px; margin-bottom: 32px; }
	.pgrid, .pgrid.cols-2, .pgrid.cols-4, .posts, .cards, .cards.cols-2, .cards.cols-4, .places { grid-template-columns: 1fr; }
	.places .place.is-first { grid-row: auto !important; }
	.psearch.is-hero .psearch__fields, .psearch__fields { grid-template-columns: 1fr; }
	.psearch__tabs span { padding: 10px 16px; }
	.hero { padding-top: 56px; }
	.hero__search { padding-bottom: 28px; }
	.stats { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 32px; }
	.stat:nth-child(odd)::before { display: none; }
	.prop-head__row { flex-direction: column; align-items: flex-start; gap: 16px; }
	.prop-price { text-align: left; }
	.prop-gallery, .prop-gallery.count-2, .prop-gallery.count-3, .prop-gallery.count-4 { grid-template-columns: 1fr 1fr; grid-template-rows: 240px 120px; }
	.prop-gallery__item:first-child { grid-column: 1 / -1; grid-row: auto; }
	.prop-gallery__item:nth-child(n+4) { display: none; }
	.prop-gallery.count-1 { grid-template-rows: 260px; }
	.prop-gallery.count-2 .prop-gallery__item:nth-child(2) { grid-column: 1 / -1; }
	.prop-details { grid-template-columns: 1fr; }
	.contact-list, .offices, .field-row { grid-template-columns: 1fr; }
	.footer__top { grid-template-columns: 1fr 1fr; gap: 32px; }
	.footer__contact { grid-column: 1 / -1; }
	.wa-float span { display: none; }
	.wa-float { padding: 14px; right: 16px; bottom: 16px; }
	.lightbox__btn.is-prev, .lightbox__btn.is-next { top: auto; bottom: 20px; transform: none; }
	.cards.is-icons .card { flex-direction: column; }
}

@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; scroll-behavior: auto !important; }
}

@media print {
	.site-top, .header, .footer, .wa-float, .prop-aside .share, .hero__search { display: none !important; }
}
