/* ═══════════════════════════════════════════════════════════════
   ITALCASA PORTO MANTOVANO — main.css
   Palette vincolante dal sito italcasamantova.com
   Font self-hosted: Instrument Serif (display) + Inter Tight (testo)
   ═══════════════════════════════════════════════════════════════ */

/* ─── Font ─────────────────────────────────────────────────────── */
@font-face {
	font-family: "Instrument Serif";
	src: url("../fonts/instrument-serif-latin-400-normal.woff2") format("woff2");
	font-weight: 400;
	font-style: normal;
	font-display: swap;
}
@font-face {
	font-family: "Instrument Serif";
	src: url("../fonts/instrument-serif-latin-400-italic.woff2") format("woff2");
	font-weight: 400;
	font-style: italic;
	font-display: swap;
}
@font-face {
	font-family: "Inter Tight";
	src: url("../fonts/inter-tight-latin-wght-normal.woff2") format("woff2-variations"),
	     url("../fonts/inter-tight-latin-wght-normal.woff2") format("woff2");
	font-weight: 100 900;
	font-style: normal;
	font-display: swap;
}

/* ─── Token ────────────────────────────────────────────────────── */
:root {
	--gold: #c9a45c;
	--gold-dark: #8b6f47;
	--gold-soft: #e8d4a8;
	--ink: #1a1a1a;
	--ink-2: #2a2a2a;
	--text: #333333;
	--mute: #666666;
	--bg: #fafaf6;
	--bg-warm: #f1ede4;
	--white: #ffffff;
	--line: rgba(26, 26, 26, 0.12);
	--line-light: rgba(255, 255, 255, 0.16);
	--line-gold: rgba(201, 164, 92, 0.38);

	--serif: "Instrument Serif", "Iowan Old Style", Georgia, serif;
	--sans: "Inter Tight", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

	--wrap: 1320px;
	--gutter: clamp(18px, 4vw, 40px);
	--section: clamp(80px, 11vw, 150px);
	--radius: 6px;
	--radius-lg: 14px;
	--header-h: 84px;
	--ease: cubic-bezier(0.22, 1, 0.36, 1);
	--shadow: 0 18px 40px -18px rgba(26, 26, 26, 0.22);
}

/* ─── Reset essenziale ─────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }
body {
	margin: 0;
	font-family: var(--sans);
	font-size: 17px;
	line-height: 1.65;
	color: var(--text);
	background: var(--bg);
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	text-rendering: optimizeLegibility;
	overflow-x: clip;
}
body:not(.has-dark-hero) { padding-top: var(--header-h); }
body.menu-open { overflow: hidden; }
img, video, svg { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible, summary:focus-visible {
	outline: 2px solid var(--gold);
	outline-offset: 3px;
	border-radius: 4px;
}
h1, h2, h3, h4, h5, h6 {
	font-family: var(--serif);
	font-weight: 400;
	color: var(--ink);
	line-height: 1.04;
	letter-spacing: -0.015em;
	margin: 0;
	text-wrap: balance;
}
h1 em, h2 em, h3 em, .manifesto__text em, .help-band__text em, .cta-final__title em {
	font-style: italic;
	color: var(--gold-dark);
}
p { margin: 0; text-wrap: pretty; }
ul, ol { margin: 0; padding: 0; }
dl, dd { margin: 0; }
address { font-style: normal; }
button { font: inherit; color: inherit; cursor: pointer; }
.icon { width: 1.1em; height: 1.1em; flex-shrink: 0; }

.screen-reader-text {
	position: absolute !important;
	width: 1px; height: 1px;
	padding: 0; margin: -1px;
	overflow: hidden; clip: rect(0 0 0 0);
	white-space: nowrap; border: 0;
}
.skip-link {
	position: fixed; top: 12px; left: 12px; z-index: 1000;
	background: var(--ink); color: var(--white);
	padding: 12px 18px; border-radius: 999px;
	transform: translateY(-200px);
	transition: transform 0.25s var(--ease);
}
.skip-link:focus { transform: none; }
.site-main:focus { outline: none; }

/* ─── Layout ───────────────────────────────────────────────────── */
.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); }
.wrap--narrow { max-width: 860px; }
.section { padding-block: var(--section); }
.section--tight { padding-block: clamp(56px, 7vw, 96px); }
.bg-warm { background: var(--bg-warm); }

/* ─── Tipografia di sezione ────────────────────────────────────── */
.eyebrow {
	display: inline-flex;
	align-items: center;
	gap: 14px;
	font-family: var(--sans);
	font-size: 11px;
	font-weight: 600;
	letter-spacing: 0.26em;
	text-transform: uppercase;
	color: var(--gold-dark);
}
.eyebrow::before { content: ""; width: 32px; height: 1px; background: var(--gold); }
.section-head { margin-bottom: clamp(44px, 6vw, 80px); }
.section-head--center { text-align: center; }
.section-head--center .section-lead { margin-inline: auto; }
.section-head--split {
	display: grid;
	grid-template-columns: 1fr 1.1fr;
	gap: clamp(28px, 6vw, 96px);
	align-items: end;
}
.section-title {
	font-size: clamp(38px, 5.4vw, 76px);
	margin-top: 18px;
}
.section-lead {
	font-size: clamp(16px, 1.3vw, 19px);
	color: #555;
	max-width: 560px;
	margin-top: 16px;
}
.section-head--split .section-lead { margin-top: 0; }
.stars { color: var(--gold); letter-spacing: 4px; margin-top: 14px; }

/* ─── Bottoni ──────────────────────────────────────────────────── */
.btn {
	--btn-bg: var(--ink);
	--btn-fg: var(--white);
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 12px;
	min-height: 52px;
	padding: 0 30px;
	border: 1px solid transparent;
	border-radius: 999px;
	background: var(--btn-bg);
	color: var(--btn-fg);
	font-family: var(--sans);
	font-size: 13px;
	font-weight: 600;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	line-height: 1;
	white-space: nowrap;
	transition: background-color 0.3s var(--ease), color 0.3s var(--ease), transform 0.3s var(--ease), box-shadow 0.3s var(--ease), border-color 0.3s var(--ease);
}
.btn .icon { transition: transform 0.3s var(--ease); }
.btn:hover { transform: translateY(-2px); }
.btn:hover .icon { transform: translateX(3px); }
.btn--dark:hover { --btn-bg: var(--gold-dark); box-shadow: 0 12px 28px -10px rgba(139, 111, 71, 0.55); }
/* Oro con testo scuro: contrasto AA */
.btn--gold { --btn-bg: var(--gold); --btn-fg: var(--ink); }
.btn--gold:hover { --btn-bg: var(--gold-dark); --btn-fg: var(--white); box-shadow: 0 12px 28px -10px rgba(139, 111, 71, 0.55); }
.btn--glass {
	--btn-bg: rgba(255, 255, 255, 0.1);
	--btn-fg: var(--white);
	border-color: rgba(255, 255, 255, 0.42);
	backdrop-filter: blur(8px);
	-webkit-backdrop-filter: blur(8px);
}
.btn--glass:hover { --btn-bg: rgba(255, 255, 255, 0.2); border-color: rgba(255, 255, 255, 0.8); }
.btn--outline { --btn-bg: transparent; --btn-fg: var(--ink); border-color: var(--ink); }
.btn--outline:hover { --btn-bg: var(--ink); --btn-fg: var(--white); }
.btn--lg { min-height: 60px; padding: 0 36px; }
.btn--sm { min-height: 46px; padding: 0 22px; font-size: 11px; }
.btn--block { width: 100%; }

.link-arrow {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	font-size: 13px;
	font-weight: 600;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: var(--ink);
	border-bottom: 1px solid var(--gold);
	padding-bottom: 6px;
}
.link-arrow .icon { transition: transform 0.3s var(--ease); }
.link-arrow:hover .icon { transform: translateX(4px); }
.link-arrow--light { color: var(--white); }

/* ═══════════════════════════════════════════════════════════════
   HEADER
   ═══════════════════════════════════════════════════════════════ */
.site-header {
	position: fixed;
	inset: 0 0 auto;
	z-index: 100;
	height: var(--header-h);
	color: var(--ink);
	transition: background-color 0.4s var(--ease), box-shadow 0.4s var(--ease), color 0.4s var(--ease), transform 0.4s var(--ease);
}
body:not(.has-dark-hero) .site-header,
.site-header.is-scrolled {
	background: rgba(250, 250, 246, 0.88);
	backdrop-filter: blur(14px) saturate(1.3);
	-webkit-backdrop-filter: blur(14px) saturate(1.3);
	box-shadow: 0 1px 0 var(--line);
}
.has-dark-hero .site-header:not(.is-scrolled) { color: var(--white); }
.site-header.is-hidden { transform: translateY(-100%); }
.site-header__inner {
	height: 100%;
	max-width: 1480px;
	margin-inline: auto;
	padding-inline: var(--gutter);
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 24px;
}

.brand { display: inline-flex; flex-direction: column; line-height: 1; }
.brand__word {
	font-family: var(--serif);
	font-size: 30px;
	letter-spacing: -0.01em;
}
.brand__sub {
	font-size: 9.5px;
	font-weight: 600;
	letter-spacing: 0.32em;
	text-transform: uppercase;
	color: var(--gold);
	margin-top: 4px;
}
.has-dark-hero .site-header:not(.is-scrolled) .brand__sub { color: var(--gold-soft); }
.brand__logo { max-height: 52px; width: auto; }

/* Nav "a pillola" ispirata al reference */
.nav-pill {
	display: flex;
	align-items: center;
	gap: 4px;
	padding: 5px 5px 5px 22px;
	border-radius: 999px;
	background: rgba(255, 255, 255, 0.72);
	border: 1px solid rgba(255, 255, 255, 0.7);
	backdrop-filter: blur(14px);
	-webkit-backdrop-filter: blur(14px);
	box-shadow: 0 6px 20px -12px rgba(26, 26, 26, 0.35);
	color: var(--ink);
}
.nav-pill__menu { display: flex; align-items: center; gap: 2px; list-style: none; }
.nav-pill__menu > li { position: relative; }
.nav-pill__menu a {
	display: block;
	padding: 10px 14px;
	font-size: 14px;
	font-weight: 500;
	color: #4a4a4a;
	border-radius: 999px;
	transition: color 0.2s, background-color 0.2s;
}
.nav-pill__menu a:hover { color: var(--ink); }
.nav-pill__menu .current-menu-item > a,
.nav-pill__menu .current_page_item > a { color: var(--ink); font-weight: 650; }
.nav-pill__menu .current-menu-item > a::after,
.nav-pill__menu .current_page_item > a::after {
	content: ""; display: block; height: 1px; background: var(--gold); margin-top: 2px;
}
.nav-pill__menu .sub-menu {
	position: absolute;
	top: calc(100% + 10px);
	left: 0;
	min-width: 220px;
	list-style: none;
	padding: 8px;
	background: var(--white);
	border: 1px solid var(--line);
	border-radius: 12px;
	box-shadow: var(--shadow);
	opacity: 0;
	visibility: hidden;
	transform: translateY(6px);
	transition: all 0.25s var(--ease);
}
.nav-pill__menu li:hover > .sub-menu,
.nav-pill__menu li:focus-within > .sub-menu { opacity: 1; visibility: visible; transform: none; }
.nav-pill__cta {
	margin-left: 8px;
	padding: 11px 20px;
	border-radius: 999px;
	background: var(--ink);
	color: var(--white);
	font-size: 13.5px;
	font-weight: 600;
	transition: background-color 0.25s;
	white-space: nowrap;
}
.nav-pill__cta:hover { background: var(--gold-dark); }

.header-actions { display: flex; align-items: center; gap: 14px; }
.header-phone {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	font-size: 14px;
	font-weight: 600;
	letter-spacing: 0.02em;
	transition: opacity 0.2s;
}
.header-phone:hover { opacity: 0.75; }
.header-phone .icon { color: var(--gold); }

.menu-toggle {
	position: relative;
	display: none;
	width: 46px;
	height: 46px;
	border-radius: 50%;
	border: 1px solid rgba(255, 255, 255, 0.7);
	background: rgba(255, 255, 255, 0.72);
	backdrop-filter: blur(12px);
	-webkit-backdrop-filter: blur(12px);
	color: var(--ink);
	z-index: 120;
}
.menu-toggle .icon {
	position: absolute; inset: 0; margin: auto;
	width: 20px; height: 20px;
	transition: opacity 0.3s, transform 0.3s var(--ease);
}
.menu-toggle__close { opacity: 0; transform: rotate(-90deg) scale(0.5); }
.menu-open .menu-toggle__open { opacity: 0; transform: rotate(90deg) scale(0.5); }
.menu-open .menu-toggle__close { opacity: 1; transform: none; }

/* Drawer mobile */
.drawer-overlay {
	position: fixed; inset: 0; z-index: 105;
	background: rgba(26, 26, 26, 0.42);
	backdrop-filter: blur(3px);
	-webkit-backdrop-filter: blur(3px);
	opacity: 0;
	transition: opacity 0.3s;
}
.menu-open .drawer-overlay { opacity: 1; }
.drawer {
	position: fixed;
	top: 0; right: 0; bottom: 0;
	z-index: 110;
	width: min(88%, 420px);
	background: rgba(250, 250, 246, 0.98);
	transform: translateX(100%);
	visibility: hidden;
	transition: transform 0.55s var(--ease), visibility 0s linear 0.55s, box-shadow 0.55s;
	overflow-y: auto;
}
.menu-open .drawer {
	transform: none;
	visibility: visible;
	box-shadow: -20px 0 60px -20px rgba(0, 0, 0, 0.35);
	transition: transform 0.55s var(--ease), visibility 0s, box-shadow 0.55s;
}
.drawer__inner { min-height: 100%; display: flex; flex-direction: column; padding: 104px 32px 32px; }
.drawer__menu { list-style: none; }
.drawer__menu li { opacity: 0; transform: translateX(28px); transition: opacity 0.5s, transform 0.5s var(--ease); }
.menu-open .drawer__menu li { opacity: 1; transform: none; }
.menu-open .drawer__menu li:nth-child(1) { transition-delay: 0.15s; }
.menu-open .drawer__menu li:nth-child(2) { transition-delay: 0.22s; }
.menu-open .drawer__menu li:nth-child(3) { transition-delay: 0.29s; }
.menu-open .drawer__menu li:nth-child(4) { transition-delay: 0.36s; }
.menu-open .drawer__menu li:nth-child(5) { transition-delay: 0.43s; }
.menu-open .drawer__menu li:nth-child(n+6) { transition-delay: 0.5s; }
.drawer__menu a {
	display: block;
	padding: 16px 0;
	border-bottom: 1px solid var(--line);
	font-family: var(--serif);
	font-size: 32px;
	line-height: 1.1;
	color: var(--ink);
}
.drawer__menu .current-menu-item > a { color: var(--gold-dark); font-style: italic; }
.drawer__menu .sub-menu { list-style: none; padding-left: 16px; }
.drawer__menu .sub-menu a { font-size: 22px; }
.drawer__foot {
	margin-top: auto;
	padding-top: 32px;
	display: grid;
	gap: 18px;
	opacity: 0;
	transform: translateX(28px);
	transition: opacity 0.5s 0.45s, transform 0.5s 0.45s var(--ease);
}
.menu-open .drawer__foot { opacity: 1; transform: none; }
.drawer__sede { display: flex; justify-content: space-between; font-size: 15px; border-top: 1px solid var(--line); padding-top: 14px; }
.drawer__sede-name { font-size: 11px; letter-spacing: 0.22em; text-transform: uppercase; color: var(--mute); }
.drawer__sede a { font-weight: 600; color: var(--ink); }

/* ═══════════════════════════════════════════════════════════════
   HERO a tutto schermo
   ═══════════════════════════════════════════════════════════════ */
.hero {
	position: relative;
	min-height: max(640px, 100svh);
	display: flex;
	flex-direction: column;
	justify-content: flex-end;
	background: var(--ink);
	color: var(--white);
	isolation: isolate;
	overflow: hidden;
}
.hero__media { position: absolute; inset: 0; z-index: -2; }
.hero__img, .hero__video {
	width: 100%; height: 100%;
	object-fit: cover;
	object-position: center 35%;
	animation: heroZoom 18s var(--ease) both;
}
.hero__img--faces { object-position: center 18%; }
@keyframes heroZoom { from { transform: scale(1.08); } to { transform: scale(1); } }
.hero__veil {
	position: absolute; inset: 0; z-index: -1;
	background:
		linear-gradient(180deg, rgba(0, 0, 0, 0.45) 0%, transparent 26%),
		linear-gradient(180deg, transparent 38%, rgba(10, 10, 10, 0.82) 100%),
		linear-gradient(90deg, rgba(0, 0, 0, 0.5) 0%, rgba(0, 0, 0, 0.12) 50%, transparent 72%);
}
.hero__content { padding-top: calc(var(--header-h) + 60px); padding-bottom: 36px; }
.hero__marker {
	display: inline-flex;
	align-items: center;
	gap: 12px;
	font-size: 11.5px;
	font-weight: 600;
	letter-spacing: 0.22em;
	text-transform: uppercase;
	color: rgba(255, 255, 255, 0.92);
	margin-bottom: 26px;
}
.hero__marker--dark { color: var(--ink); }
.dot {
	width: 8px; height: 8px; border-radius: 50%;
	background: var(--gold);
	box-shadow: 0 0 0 4px rgba(201, 164, 92, 0.25);
	animation: pulse 2.4s ease-in-out infinite;
}
@keyframes pulse {
	0%, 100% { box-shadow: 0 0 0 4px rgba(201, 164, 92, 0.25); }
	50% { box-shadow: 0 0 0 9px rgba(201, 164, 92, 0.05); }
}
.hero__title {
	font-size: clamp(52px, 8.4vw, 136px);
	line-height: 0.92;
	letter-spacing: -0.03em;
	color: var(--white);
	max-width: 13ch;
}
.hero__title em { color: var(--gold); }
.hero__lead {
	margin-top: 26px;
	max-width: 480px;
	font-size: clamp(16px, 1.35vw, 19px);
	line-height: 1.6;
	color: rgba(255, 255, 255, 0.86);
}
.hero__ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 36px; }

.hero__aside {
	display: flex;
	justify-content: space-between;
	align-items: flex-end;
	gap: 24px;
	padding-top: 28px;
	padding-bottom: clamp(110px, 12vw, 170px);
	margin-top: 8px;
	position: relative;
}
.hero__aside::before {
	content: ""; position: absolute; top: 0; left: var(--gutter); right: var(--gutter);
	height: 1px; background: var(--line-light);
}
.hero__stats { display: flex; gap: clamp(24px, 4vw, 64px); }
.hero__stats > div { display: flex; flex-direction: column-reverse; }
.hero__stats dd {
	font-family: var(--serif);
	font-size: clamp(36px, 4vw, 58px);
	line-height: 1;
	color: var(--white);
}
.hero__stats dd span { color: var(--gold); }
.hero__stats dt {
	margin-top: 8px;
	font-size: 10.5px;
	font-weight: 600;
	letter-spacing: 0.2em;
	text-transform: uppercase;
	color: rgba(255, 255, 255, 0.66);
}
.hero__rating {
	display: inline-flex;
	align-items: center;
	gap: 14px;
	padding: 14px 20px;
	border-radius: 999px;
	background: rgba(255, 255, 255, 0.1);
	border: 1px solid var(--line-light);
	backdrop-filter: blur(10px);
	-webkit-backdrop-filter: blur(10px);
	font-size: 13px;
	color: rgba(255, 255, 255, 0.88);
}
.hero__rating strong { font-family: var(--serif); font-size: 22px; font-weight: 400; color: var(--white); margin-right: 4px; }
.hero__stars { color: var(--gold); letter-spacing: 2px; }

.hero--contact { min-height: max(600px, 88svh); }
.hero--contact .hero__content { padding-bottom: clamp(64px, 9vw, 110px); }

/* Animazioni d'ingresso */
.anim { animation: fadeUp 1s var(--ease) both; animation-delay: var(--d, 0ms); }
@keyframes fadeUp { from { opacity: 0; transform: translate3d(0, 26px, 0); } to { opacity: 1; transform: none; } }
/* Nascosti solo quando main.js è in esecuzione: se lo script è ritardato
   (plugin di cache/ottimizzazione) o non si carica, il contenuto resta visibile. */
.reveal { transition: opacity 0.9s var(--ease), transform 0.9s var(--ease); transition-delay: var(--d, 0ms); }
.reveal-ready .reveal:not(.is-visible) { opacity: 0; transform: translate3d(0, 30px, 0); }

/* ═══════════════════════════════════════════════════════════════
   RICERCA IMMOBILI (shortcode gestionale)
   ═══════════════════════════════════════════════════════════════ */
.search-section { position: relative; z-index: 5; padding-bottom: clamp(64px, 8vw, 110px); }
.search-section--overlap { margin-top: clamp(-120px, -9vw, -70px); }
.search-section--full { padding-top: 0; }
.search-head {
	display: flex;
	justify-content: space-between;
	align-items: flex-end;
	gap: 28px 40px;
	flex-wrap: wrap;
}
.search-head__title { font-size: clamp(36px, 5vw, 64px); margin-top: 12px; max-width: 700px; }
.search-head__meta { min-width: 180px; font-size: 13px; color: var(--mute); line-height: 1.5; text-align: right; }
.search-head__meta strong { display: block; font-family: var(--serif); font-size: 20px; font-weight: 400; color: var(--ink); margin-bottom: 4px; }
.search-section--card .search-head {
	margin-bottom: clamp(24px, 3vw, 40px);
	padding-bottom: clamp(20px, 2.4vw, 32px);
	border-bottom: 1px solid var(--line);
}
.search-section--classic { padding-top: clamp(56px, 7vw, 100px); }
.search-section--classic .search-head { margin-bottom: 48px; }

/* Stili minimi e non invasivi per l'output del plugin */
.estate-module,
.estate-form { font-family: var(--sans); color: var(--text); }
.estate-module form,
.estate-form form { margin: 0; }
.estate-module fieldset,
.estate-form fieldset { border: 0; padding: 0; margin: 0 0 16px; min-width: 0; }
.estate-module legend,
.estate-form legend { padding: 0; }
.estate-module label,
.estate-form label {
	display: block;
	font-size: 11px;
	font-weight: 600;
	letter-spacing: 0.16em;
	text-transform: uppercase;
	color: var(--gold-dark);
	margin-bottom: 6px;
}
.estate-module input[type="text"],
.estate-module input[type="number"],
.estate-module input[type="search"],
.estate-module input[type="email"],
.estate-module input[type="tel"],
.estate-module select,
.estate-module textarea,
.estate-form input[type="text"],
.estate-form input[type="number"],
.estate-form input[type="email"],
.estate-form input[type="tel"],
.estate-form select,
.estate-form textarea,
.itc-form input:not([type="checkbox"]):not([type="radio"]):not([type="hidden"]),
.itc-form select,
.itc-form textarea {
	width: 100%;
	min-height: 52px;
	padding: 12px 4px;
	border: 0;
	border-bottom: 1px solid rgba(26, 26, 26, 0.22);
	border-radius: 0;
	background: transparent;
	color: var(--ink);
	font-family: var(--sans);
	font-size: 16px;
	transition: border-color 0.25s;
}
.estate-module textarea,
.estate-form textarea,
.itc-form textarea { min-height: 110px; border: 1px solid rgba(26, 26, 26, 0.22); padding: 12px; border-radius: 4px; resize: vertical; }
.estate-module input:focus,
.estate-module select:focus,
.estate-module textarea:focus,
.estate-form input:focus,
.estate-form select:focus,
.estate-form textarea:focus,
.itc-form input:focus,
.itc-form select:focus,
.itc-form textarea:focus { border-color: var(--gold); outline: none; box-shadow: 0 1px 0 0 var(--gold); }
.estate-module select,
.estate-form select,
.itc-form select {
	appearance: none;
	-webkit-appearance: none;
	padding-right: 28px;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' fill='none' stroke='%238b6f47' stroke-width='1.6'%3E%3Cpath d='M1 1l5 5 5-5'/%3E%3C/svg%3E");
	background-repeat: no-repeat;
	background-position: right 6px center;
}
.estate-module button,
.estate-module input[type="submit"],
.estate-form button,
.estate-form input[type="submit"] {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 54px;
	margin-top: 18px;
	padding: 0 40px;
	border: 0;
	border-radius: 999px;
	background: var(--ink);
	color: var(--white);
	font-family: var(--sans);
	font-size: 13px;
	font-weight: 600;
	letter-spacing: 0.16em;
	text-transform: uppercase;
	cursor: pointer;
	transition: background-color 0.25s, transform 0.25s;
}
.estate-module button:hover,
.estate-module input[type="submit"]:hover,
.estate-form button:hover,
.estate-form input[type="submit"]:hover { background: var(--gold-dark); transform: translateY(-2px); }
.estate-module img { border-radius: var(--radius); }
.estate-module a:not([class*="btn"]):not(:has(img)) { color: var(--gold-dark); }
.estate-module a:not([class*="btn"]):hover { color: var(--ink); }
.estate-module h1, .estate-module h2, .estate-module h3, .estate-module h4 { margin: 0.4em 0; line-height: 1.15; }
.estate-module .select2-container, .estate-module .chosen-container { max-width: 100%; }
.select2-dropdown, .chosen-drop, .ui-selectmenu-menu { z-index: 9999 !important; }
.estate-missing {
	padding: 22px 24px;
	border: 1px dashed var(--line-gold);
	border-radius: var(--radius);
	background: #fffaf0;
	font-size: 15px;
}
.estate-missing a { color: var(--gold-dark); text-decoration: underline; }
.estate-missing code { font-size: 13px; background: var(--bg-warm); padding: 2px 6px; border-radius: 4px; }

/* ═══════════════════════════════════════════════════════════════
   MARQUEE
   ═══════════════════════════════════════════════════════════════ */
.marquee {
	background: #000;
	color: var(--white);
	padding: 28px 0;
	border-block: 1px solid var(--gold);
	overflow: hidden;
}
.marquee__prefix {
	text-align: center;
	font-size: 10px;
	font-weight: 600;
	letter-spacing: 0.32em;
	text-transform: uppercase;
	color: var(--gold);
	margin-bottom: 16px;
}
.marquee__viewport { display: flex; width: max-content; animation: marquee 50s linear infinite; }
.marquee:hover .marquee__viewport { animation-play-state: paused; }
.marquee__track { display: flex; list-style: none; flex-shrink: 0; }
.marquee__track li {
	display: inline-flex;
	align-items: center;
	font-family: var(--serif);
	font-size: clamp(24px, 3vw, 40px);
	white-space: nowrap;
}
.marquee__track li::after { content: "·"; color: var(--gold); margin: 0 clamp(20px, 3vw, 44px); }
.marquee__track li:nth-child(odd) { font-style: italic; color: var(--gold); }
@keyframes marquee { to { transform: translate3d(-50%, 0, 0); } }

/* ═══════════════════════════════════════════════════════════════
   MANIFESTO / PRINCIPI / ABOUT
   ═══════════════════════════════════════════════════════════════ */
.manifesto {
	position: relative;
	padding-block: var(--section);
	background: var(--bg-warm);
	overflow: hidden;
}
.manifesto::before {
	content: "“";
	position: absolute;
	top: -0.18em; left: 4%;
	font-family: var(--serif);
	font-size: clamp(240px, 34vw, 500px);
	line-height: 1;
	color: var(--gold);
	opacity: 0.16;
	pointer-events: none;
}
.manifesto .wrap { position: relative; }
.manifesto__text {
	margin-top: 26px;
	font-family: var(--serif);
	font-size: clamp(32px, 4.6vw, 64px);
	line-height: 1.12;
	letter-spacing: -0.015em;
	color: var(--ink);
	text-wrap: balance;
}

.principles-grid { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); }
.principle, .benefit { padding: clamp(36px, 4vw, 56px) clamp(24px, 3vw, 40px); border-right: 1px solid var(--line); transition: background-color 0.4s; }
.principle:last-child { border-right: 0; }
.principle:hover, .benefit:hover { background: var(--bg-warm); }
.principle__num {
	display: block;
	font-family: var(--serif);
	font-style: italic;
	font-size: clamp(48px, 5vw, 76px);
	line-height: 1;
	color: var(--gold);
	margin-bottom: 28px;
}
.principle h3, .benefit h3 { font-size: clamp(24px, 2.3vw, 32px); margin-bottom: 14px; }
.principle p, .benefit p { color: #555; font-size: 16px; }

.about {
	position: relative;
	padding-block: var(--section);
	background: var(--ink);
	color: #cfcabd;
}
.about::before {
	content: ""; position: absolute; inset: 0 0 auto; height: 1px;
	background: linear-gradient(90deg, transparent, var(--gold), transparent);
}
.about__grid { display: grid; grid-template-columns: 0.35fr 0.65fr; gap: clamp(32px, 6vw, 96px); align-items: start; }
.about__label {
	padding-top: 16px;
	border-top: 1px solid var(--line-gold);
	font-size: 11px;
	font-weight: 600;
	letter-spacing: 0.28em;
	text-transform: uppercase;
	color: var(--gold);
}
.about__title { font-size: clamp(36px, 4.6vw, 64px); color: var(--white); margin-bottom: 34px; }
.about__title em { color: var(--gold); }
.about__text { font-size: clamp(16px, 1.3vw, 19px); line-height: 1.75; color: #cfcabd; max-width: 720px; }
.about__text::first-letter {
	float: left;
	font-family: var(--serif);
	font-style: italic;
	font-size: 5.2em;
	line-height: 0.8;
	margin: 0.06em 0.12em 0 0;
	color: var(--gold);
}
.about__stats {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	margin-top: clamp(40px, 5vw, 64px);
	border-top: 1px solid var(--line-light);
}
.about__stats > div { padding: 24px 20px 0 0; display: flex; flex-direction: column; }
.about__stats > div + div { padding-left: 20px; border-left: 1px solid var(--line-light); }
.about__stats dd { font-family: var(--serif); font-size: clamp(40px, 4.4vw, 64px); line-height: 1; color: var(--white); }
.about__stats dt { margin-top: 10px; font-size: 10.5px; font-weight: 600; letter-spacing: 0.2em; text-transform: uppercase; color: #9a958a; }
.about__ctas { display: flex; flex-wrap: wrap; align-items: center; gap: 28px; margin-top: clamp(36px, 4vw, 52px); }

/* ═══════════════════════════════════════════════════════════════
   ZONE (SEO locale)
   ═══════════════════════════════════════════════════════════════ */
.zone__grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 7vw, 110px); align-items: start; }
.zone__text { position: sticky; top: calc(var(--header-h) + 32px); }
.zone__text p { margin: 24px 0 30px; color: #555; font-size: clamp(16px, 1.2vw, 18px); max-width: 520px; }
.zone__list { list-style: none; columns: 2; column-gap: 32px; }
.zone__list li {
	display: flex;
	align-items: baseline;
	gap: 14px;
	padding: 15px 0;
	border-bottom: 1px solid var(--line);
	break-inside: avoid;
	transition: padding 0.3s var(--ease);
}
.zone__list li:hover { padding-left: 8px; }
.zone__num { font-size: 11px; font-weight: 600; color: var(--gold); letter-spacing: 0.1em; font-variant-numeric: tabular-nums; }
.zone__name { font-family: var(--serif); font-size: clamp(21px, 1.9vw, 27px); color: var(--ink); line-height: 1.1; }

/* ═══════════════════════════════════════════════════════════════
   RECENSIONI
   ═══════════════════════════════════════════════════════════════ */
.reviews-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.review {
	margin: 0;
	display: flex;
	flex-direction: column;
	background: var(--white);
	border: 1px solid var(--line);
	border-radius: var(--radius);
	padding: 34px 30px 28px;
	transition: transform 0.45s var(--ease), border-color 0.45s, box-shadow 0.45s, opacity 0.9s var(--ease);
}
.review:hover { transform: translateY(-6px); border-color: var(--gold); box-shadow: var(--shadow); }
.review__mark { font-family: var(--serif); font-size: 66px; line-height: 0.6; color: var(--gold); opacity: 0.65; height: 30px; }
.review blockquote { margin: 0 0 26px; flex: 1; }
.review blockquote p { font-family: var(--serif); font-size: clamp(20px, 1.6vw, 23px); line-height: 1.32; color: var(--ink); }
.review figcaption { display: flex; align-items: center; gap: 12px; padding-top: 18px; border-top: 1px solid var(--line); }
.review__avatar {
	width: 38px; height: 38px; border-radius: 50%;
	display: grid; place-items: center;
	background: var(--gold-soft); color: var(--gold-dark);
	font-family: var(--serif); font-size: 18px;
}
.review figcaption strong { display: block; font-size: 14px; font-weight: 600; color: var(--ink); line-height: 1.3; }
.review figcaption small { font-size: 11.5px; color: #777; letter-spacing: 0.04em; }

/* ═══════════════════════════════════════════════════════════════
   SEDI
   ═══════════════════════════════════════════════════════════════ */
.locations { position: relative; }
.locations::before {
	content: ""; position: absolute; inset: 0 0 auto; height: 1px;
	background: linear-gradient(90deg, transparent, var(--gold), transparent);
}
.locations-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.loc {
	display: flex;
	flex-direction: column;
	background: var(--white);
	border: 1px solid var(--line);
	border-radius: var(--radius-lg);
	overflow: hidden;
	transition: transform 0.45s var(--ease), border-color 0.45s, box-shadow 0.45s, opacity 0.9s var(--ease);
}
.loc:hover { transform: translateY(-4px); border-color: var(--gold); box-shadow: var(--shadow); }
.loc__photo { position: relative; aspect-ratio: 16 / 10; overflow: hidden; background: var(--bg-warm); }
.loc__photo img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.8s var(--ease); }
.loc:hover .loc__photo img { transform: scale(1.04); }
.loc__photo-tag {
	position: absolute; left: 18px; bottom: 16px;
	padding: 7px 14px; border-radius: 999px;
	background: rgba(26, 26, 26, 0.6);
	border: 1px solid var(--line-gold);
	backdrop-filter: blur(8px);
	-webkit-backdrop-filter: blur(8px);
	color: var(--white);
	font-size: 10px; font-weight: 600; letter-spacing: 0.26em; text-transform: uppercase;
}
.loc__body { flex: 1; display: flex; flex-direction: column; padding: clamp(28px, 3.4vw, 44px); }
.loc__tag { font-size: 10px; font-weight: 600; letter-spacing: 0.28em; text-transform: uppercase; color: var(--gold-dark); margin-bottom: 14px; }
.loc__name { font-size: clamp(36px, 4vw, 52px); margin-bottom: 26px; }
.loc__info { display: grid; gap: 18px; padding-top: 24px; margin-bottom: 30px; border-top: 1px solid var(--line); }
.loc__row { display: grid; grid-template-columns: 22px 1fr; column-gap: 14px; }
.loc__row .icon { grid-row: span 2; color: var(--gold); margin-top: 3px; width: 18px; height: 18px; }
.loc__row dt { font-size: 10px; font-weight: 600; letter-spacing: 0.22em; text-transform: uppercase; color: #888; }
.loc__row dd { font-size: 15.5px; line-height: 1.5; color: #000; word-break: break-word; }
.loc__row dd a:hover { color: var(--gold-dark); }
.loc__cta { margin-top: auto; display: flex; gap: 10px; }
.loc__cta .btn { flex: 1; }

/* ═══════════════════════════════════════════════════════════════
   FAQ
   ═══════════════════════════════════════════════════════════════ */
.faq__grid { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: clamp(40px, 6vw, 96px); align-items: start; }
.faq__list { border-top: 1px solid var(--line); }
.faq__item { border-bottom: 1px solid var(--line); }
.faq__item summary {
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 20px;
	padding: 24px 0;
	list-style: none;
	cursor: pointer;
	font-family: var(--serif);
	font-size: clamp(21px, 1.9vw, 27px);
	line-height: 1.2;
	color: var(--ink);
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary .icon {
	width: 34px; height: 34px; padding: 8px;
	border: 1px solid var(--line-gold); border-radius: 50%;
	color: var(--gold-dark);
	transition: transform 0.35s var(--ease), background-color 0.3s;
}
.faq__item[open] summary .icon { transform: rotate(45deg); background: var(--gold-soft); }
.faq__item p { padding: 0 52px 26px 0; color: #555; }

/* ═══════════════════════════════════════════════════════════════
   CTA FINALE
   ═══════════════════════════════════════════════════════════════ */
.cta-final {
	position: relative;
	padding-block: clamp(90px, 11vw, 140px);
	background: var(--ink);
	text-align: center;
	overflow: hidden;
}
.cta-final::before {
	content: ""; position: absolute; inset: 0 0 auto; height: 1px;
	background: linear-gradient(90deg, transparent, var(--gold), transparent);
}
.cta-final::after {
	content: "";
	position: absolute;
	width: 70vmax; height: 70vmax;
	left: 50%; top: 100%;
	transform: translate(-50%, -30%);
	background: radial-gradient(circle, rgba(201, 164, 92, 0.16), transparent 60%);
	pointer-events: none;
}
.cta-final .wrap { position: relative; z-index: 1; }
.cta-final .eyebrow { color: var(--gold); }
.cta-final__title {
	max-width: 820px;
	margin: 22px auto 38px;
	font-size: clamp(32px, 4.4vw, 60px);
	line-height: 1.1;
	color: var(--white);
}
.cta-final__title em { color: var(--gold); }

/* ═══════════════════════════════════════════════════════════════
   PAGINE INTERNE
   ═══════════════════════════════════════════════════════════════ */
.page-head { padding: clamp(48px, 7vw, 100px) 0 clamp(36px, 5vw, 64px); }
.page-head__title { font-size: clamp(44px, 6.6vw, 104px); line-height: 0.98; letter-spacing: -0.025em; margin-top: 20px; max-width: 16ch; }
.page-head__lead { margin-top: 24px; max-width: 640px; font-size: clamp(16px, 1.35vw, 19px); color: #555; }
.breadcrumbs ol { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; font-size: 12.5px; color: var(--mute); margin-bottom: 26px; }
.breadcrumbs li + li::before { content: "/"; margin-right: 8px; color: var(--gold); }
.breadcrumbs a:hover { color: var(--gold-dark); }
.entry-meta { font-size: 13px; color: var(--mute); letter-spacing: 0.06em; margin-top: 12px; }

.help-band { background: var(--white); border-block: 1px solid var(--line); }
.help-band__inner { display: flex; align-items: center; justify-content: space-between; gap: 32px; flex-wrap: wrap; }
.help-band__text { margin-top: 12px; font-family: var(--serif); font-size: clamp(26px, 3vw, 40px); line-height: 1.12; color: var(--ink); max-width: 760px; }

/* Split hero (valutazione) */
.split-hero { padding: clamp(40px, 6vw, 80px) 0 clamp(70px, 9vw, 120px); }
.split-hero__grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: clamp(40px, 7vw, 100px); align-items: end; }
.split-hero__title { font-size: clamp(52px, 7.6vw, 124px); line-height: 0.94; letter-spacing: -0.03em; }
.split-hero__lead { margin: 28px 0 38px; max-width: 500px; font-size: clamp(16px, 1.35vw, 19px); }
.split-hero__media { position: relative; }
.split-hero__media img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: var(--radius); box-shadow: 0 30px 60px -28px rgba(26, 26, 26, 0.45); position: relative; z-index: 1; }
.split-hero__frame { position: absolute; inset: -18px -18px 18px 18px; border: 1px solid var(--gold); border-radius: var(--radius); }

.benefits-grid { display: grid; grid-template-columns: 1fr 1fr; border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.benefit { border-bottom: 1px solid var(--line); }

.services-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.service {
	display: flex; flex-direction: column; gap: 18px;
	background: var(--white);
	border: 1px solid var(--line);
	border-radius: var(--radius);
	padding: 32px 28px;
	transition: transform 0.45s var(--ease), border-color 0.45s, box-shadow 0.45s, opacity 0.9s var(--ease);
}
.service:hover { transform: translateY(-4px); border-color: var(--gold); box-shadow: var(--shadow); }
.service__icon { width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center; background: var(--gold-soft); color: var(--gold-dark); }
.service h3 { font-size: 24px; margin-bottom: 8px; }
.service p { font-size: 15px; color: #555; }

/* Form */
.form-section__grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: clamp(40px, 7vw, 100px); align-items: start; }
.form-section__intro { position: sticky; top: calc(var(--header-h) + 32px); }
.form-section__intro > p { margin: 22px 0 32px; color: #555; font-size: clamp(16px, 1.25vw, 18px); max-width: 480px; }
.check-list, .contact-list { list-style: none; display: grid; gap: 14px; }
.check-list li, .contact-list li { display: flex; align-items: center; gap: 14px; font-weight: 500; color: var(--ink); font-size: 15.5px; }
.check-list .icon { width: 28px; height: 28px; padding: 6px; border-radius: 50%; background: var(--gold-soft); color: var(--gold-dark); stroke-width: 2.2; }
.contact-list .icon { color: var(--gold); }
.contact-list a:hover { color: var(--gold-dark); }
.form-card {
	background: var(--white);
	border: 1px solid var(--line);
	border-top: 3px solid var(--gold);
	border-radius: var(--radius-lg);
	padding: clamp(26px, 4vw, 52px);
	box-shadow: 0 30px 70px -36px rgba(26, 26, 26, 0.3);
}
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 6px 24px; }
.field { display: flex; flex-direction: column; padding-top: 10px; }
.field--full { grid-column: 1 / -1; }
.itc-form label { font-size: 11px; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; color: var(--gold-dark); }
.field--check { flex-direction: row; align-items: flex-start; gap: 12px; padding-top: 18px; }
.field--check input { width: 20px; height: 20px; margin: 2px 0 0; accent-color: var(--gold-dark); flex-shrink: 0; }
.field--check label { text-transform: none; letter-spacing: 0; font-size: 13.5px; font-weight: 400; color: var(--text); line-height: 1.5; }
.field--check a { color: var(--gold-dark); text-decoration: underline; }
.itc-form .btn { margin-top: 26px; }
.form-small { margin-top: 14px; font-size: 12.5px; color: var(--mute); text-align: center; }
.hp-field { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.form-notice { padding: 16px 18px; border-radius: var(--radius); margin-bottom: 18px; font-size: 15px; }
.form-notice--success { background: #eef6ec; color: #1f5a2a; border: 1px solid #b9dcb5; }
.form-notice--error { background: #fbeeec; color: #8a2a1f; border: 1px solid #ebc0b8; }

/* Agenti */
.agents-grid { list-style: none; display: grid; grid-template-columns: repeat(5, 1fr); gap: 18px; }
.agent { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; transition: transform 0.45s var(--ease), border-color 0.45s, box-shadow 0.45s, opacity 0.9s var(--ease); }
.agent:hover { transform: translateY(-4px); border-color: var(--gold); box-shadow: var(--shadow); }
.agent__photo { --z: 1; aspect-ratio: 4 / 5; overflow: hidden; background: var(--bg-warm); }
.agent__photo.is-zoom { --z: 1.3; }
.agent__photo img { width: 100%; height: 100%; object-fit: cover; object-position: center top; transform: scale(var(--z)); transition: transform 0.8s var(--ease); }
.agent__photo.is-top img { object-position: center 15%; }
.agent:hover .agent__photo img { transform: scale(calc(var(--z) + 0.05)); }
.agent__name { padding: 20px 20px 24px; font-size: 22px; line-height: 1.15; }

/* Blog */
.post-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.post-card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; transition: transform 0.4s var(--ease), border-color 0.4s, opacity 0.9s var(--ease); }
.post-card:hover { transform: translateY(-4px); border-color: var(--gold); }
.post-card__thumb { aspect-ratio: 16 / 10; background: var(--bg-warm); overflow: hidden; }
.post-card__thumb img { width: 100%; height: 100%; object-fit: cover; }
.post-card__placeholder { display: grid; place-items: center; height: 100%; color: var(--gold); }
.post-card__placeholder .icon { width: 48px; height: 48px; }
.post-card__body { padding: 24px; }
.post-card__body time { font-size: 12px; color: var(--mute); letter-spacing: 0.06em; }
.post-card__body h2 { font-size: 26px; margin: 8px 0 10px; }
.post-card__body p { font-size: 15px; color: #555; }
.pagination, .nav-links { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; margin-top: 48px; }
.page-numbers { display: inline-grid; place-items: center; min-width: 44px; height: 44px; padding: 0 14px; border: 1px solid var(--line); border-radius: 999px; font-size: 14px; }
.page-numbers.current, .page-numbers:hover { background: var(--ink); color: var(--white); border-color: var(--ink); }
.post-navigation .nav-links { justify-content: space-between; border-top: 1px solid var(--line); padding-top: 28px; }
.post-navigation a { display: flex; flex-direction: column; font-family: var(--serif); font-size: 22px; color: var(--ink); max-width: 46%; }
.post-navigation a span { font-family: var(--sans); font-size: 11px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--gold-dark); margin-bottom: 4px; }

/* Contenuto editor */
.entry-thumb { margin: 0 0 40px; }
.entry-thumb img { border-radius: var(--radius); width: 100%; }
.entry-content { font-size: 18px; line-height: 1.75; }
.entry-content > * + * { margin-top: 1.2em; }
.entry-content h2 { font-size: clamp(32px, 3.4vw, 46px); margin-top: 1.6em; }
.entry-content h3 { font-size: clamp(26px, 2.6vw, 34px); margin-top: 1.4em; }
.entry-content a { color: var(--gold-dark); text-decoration: underline; text-underline-offset: 3px; }
.entry-content ul, .entry-content ol { padding-left: 1.3em; }
.entry-content blockquote { margin: 1.6em 0; padding-left: 24px; border-left: 2px solid var(--gold); font-family: var(--serif); font-size: 26px; line-height: 1.3; color: var(--ink); }
.entry-content img { border-radius: var(--radius); }
.entry-content .wp-block-button__link { background: var(--ink); color: var(--white); border-radius: 999px; padding: 16px 30px; text-decoration: none; font-weight: 600; }
.alignwide { max-width: 1100px; margin-inline: auto; }
.alignfull { width: 100vw; margin-inline: calc(50% - 50vw); max-width: none; }
.search-form { display: flex; gap: 10px; }
.search-form input { flex: 1; min-height: 46px; padding: 0 18px; border: 1px solid var(--line); border-radius: 999px; background: var(--white); font: inherit; }
.empty-state { text-align: center; display: grid; gap: 24px; justify-items: center; }
.comments { margin-top: 56px; padding-top: 40px; border-top: 1px solid var(--line); }

/* 404 */
.not-found { padding: clamp(80px, 12vw, 160px) 0; text-align: center; }
.not-found .page-head__title { margin-inline: auto; }
.not-found .page-head__lead { margin-inline: auto; }
.not-found__code { font-family: var(--serif); font-style: italic; font-size: clamp(120px, 20vw, 260px); line-height: 0.8; color: var(--gold); opacity: 0.4; }
.not-found__ctas { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; margin-top: 36px; }

/* ═══════════════════════════════════════════════════════════════
   FOOTER
   ═══════════════════════════════════════════════════════════════ */
.site-footer {
	position: relative;
	background: var(--ink);
	color: #a9a497;
	font-size: 14px;
}
.site-footer::before {
	content: ""; position: absolute; inset: 0 0 auto; height: 1px;
	background: linear-gradient(90deg, transparent, var(--line-gold), transparent);
}
.site-footer a { color: #e6e1d4; transition: color 0.2s; }
.site-footer a:hover { color: var(--gold); }
.footer-main {
	display: grid;
	grid-template-columns: auto 1fr auto;
	align-items: center;
	gap: 32px;
	padding: 44px 0 36px;
}
.brand--footer { color: var(--white); }
.brand--footer .brand__word { font-size: 32px; }
.footer-menu { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px 30px; list-style: none; }
.footer-menu a { font-size: 13px; font-weight: 500; letter-spacing: 0.08em; text-transform: uppercase; }
.footer-contact { display: flex; align-items: center; gap: 22px; font-size: 14px; }
.footer-social { display: flex; gap: 8px; list-style: none; }
.footer-social a { display: grid; place-items: center; width: 36px; height: 36px; border: 1px solid var(--line-light); border-radius: 50%; }
.footer-social a:hover { border-color: var(--gold); }
.footer-social .icon { width: 16px; height: 16px; }
.footer-legal { padding: 22px 0 30px; border-top: 1px solid var(--line-light); font-size: 12.5px; color: #8a867c; }
.footer-company { line-height: 1.7; }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 10px 28px; margin-top: 10px; }
.legal-menu { display: flex; flex-wrap: wrap; gap: 20px; list-style: none; }
.footer-credit a { text-decoration: underline; text-underline-offset: 3px; }

/* ═══════════════════════════════════════════════════════════════
   RESPONSIVE
   ═══════════════════════════════════════════════════════════════ */
@media (max-width: 1240px) {
	.header-phone span { display: none; }
	.agents-grid { grid-template-columns: repeat(3, 1fr); }
	.footer-main { grid-template-columns: 1fr; justify-items: center; text-align: center; gap: 22px; }
	.footer-contact { flex-wrap: wrap; justify-content: center; }
}

@media (max-width: 1080px) {
	:root { --header-h: 72px; }
	.nav-pill { display: none; }
	.menu-toggle { display: inline-grid; }
	body:not(.has-dark-hero) .menu-toggle, .site-header.is-scrolled .menu-toggle { border-color: var(--line); }
	.header-phone span { display: inline; }

	.section-head--split, .about__grid, .zone__grid, .faq__grid, .form-section__grid, .split-hero__grid { grid-template-columns: 1fr; }
	.zone__text, .form-section__intro { position: static; }
	.principles-grid { grid-template-columns: 1fr; }
	.principle { border-right: 0; border-bottom: 1px solid var(--line); }
	.principle:last-child { border-bottom: 0; }
	.reviews-grid, .services-grid, .post-grid { grid-template-columns: repeat(2, 1fr); }
	.locations-grid { grid-template-columns: 1fr; }
	.split-hero__media { max-width: 560px; }
	.split-hero__media img { aspect-ratio: 16 / 11; }
	.split-hero__frame { inset: -10px -10px 10px 10px; }
}

@media (max-width: 760px) {
	body { font-size: 16px; }
	.header-phone { display: none; }
	.hero { min-height: max(600px, 100svh); }
	.hero__content { padding-top: calc(var(--header-h) + 40px); padding-bottom: 28px; }
	.hero__title { font-size: clamp(46px, 13vw, 72px); }
	.hero__veil { background: linear-gradient(180deg, rgba(0, 0, 0, 0.45) 0%, rgba(0, 0, 0, 0.15) 30%, rgba(10, 10, 10, 0.86) 100%); }
	.hero__ctas { flex-direction: column; align-items: stretch; }
	.hero__ctas .btn { width: 100%; }
	.hero__aside { flex-direction: column; align-items: stretch; padding-bottom: 110px; }
	.hero__stats { justify-content: space-between; gap: 12px; }
	.hero__stats dt { font-size: 9px; letter-spacing: 0.12em; }
	.hero__rating { justify-content: center; }
	.search-section--overlap { margin-top: -80px; }
	.search-head { flex-direction: column; align-items: flex-start; gap: 12px; }
	.search-head__meta { text-align: left; min-width: 0; }
	.search-section--classic .search-head { margin-bottom: 32px; }
	.estate-module button, .estate-module input[type="submit"] { width: 100%; }

	.marquee { padding: 20px 0; }
	.marquee__viewport { animation-duration: 36s; }

	.about__stats { grid-template-columns: 1fr; }
	.about__stats > div + div { border-left: 0; padding-left: 0; border-top: 1px solid var(--line-light); margin-top: 20px; }
	.about__stats > div { padding-right: 0; }
	.zone__list { columns: 1; }
	.reviews-grid, .services-grid, .post-grid, .benefits-grid, .form-grid { grid-template-columns: 1fr; }
	.benefits-grid { border-left: 0; }
	.benefit { border-right: 0; padding-inline: 0; }
	.principle { padding-inline: 0; }
	.service { flex-direction: row; align-items: flex-start; padding: 24px 22px; }
	.service__icon { width: 40px; height: 40px; flex-shrink: 0; }
	.agents-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
	.agent__name { font-size: 19px; padding: 16px; }
	.loc__cta { flex-direction: column; }
	.faq__item p { padding-right: 0; }
	.help-band__inner .btn { width: 100%; }
	.footer-bottom { flex-direction: column; align-items: flex-start; }
	.review:hover, .loc:hover, .service:hover, .agent:hover { transform: none; }
}

@media (max-width: 420px) {
	.brand__word { font-size: 26px; }
	.agents-grid { grid-template-columns: 1fr 1fr; }
}

@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	*, *::before, *::after {
		animation-duration: 0.01ms !important;
		animation-iteration-count: 1 !important;
		transition-duration: 0.01ms !important;
		transition-delay: 0ms !important;
	}
	.reveal-ready .reveal:not(.is-visible) { opacity: 1; transform: none; }
	.marquee__viewport { animation: none; }
}

@media print {
	.site-header, .drawer, .drawer-overlay, .marquee, .cta-final, .hero__media, .hero__veil { display: none !important; }
	body { padding-top: 0; background: #fff; }
	.hero { min-height: 0; color: var(--ink); background: none; }
	.hero__title, .hero__lead { color: var(--ink); }
}

/* Header sopra il drawer quando il menu è aperto (pulsante di chiusura cliccabile) */
.menu-open .site-header { z-index: 115; transform: none; }
.brand, .header-phone { transition: opacity 0.3s; }
.menu-open .site-header .brand,
.menu-open .site-header .header-phone { opacity: 0; pointer-events: none; }
.menu-open .site-header { background: transparent; box-shadow: none; backdrop-filter: none; -webkit-backdrop-filter: none; }

/* ═══════════════════════════════════════════════════════════════
   SCHEDA IMMOBILE (vista di dettaglio del plugin del gestionale)
   Selettori sotto .estate-detail per prevalere sul CSS del plugin.
   ═══════════════════════════════════════════════════════════════ */
.icon--flip { transform: scaleX(-1); }

.estate-bar { padding: clamp(20px, 3vw, 32px) 0 0; }
.estate-bar__inner { display: flex; align-items: center; justify-content: space-between; gap: 12px 24px; flex-wrap: wrap; }
.estate-bar .breadcrumbs ol { margin: 0; }
.estate-back {
	display: inline-flex; align-items: center; gap: 10px;
	font-size: 12px; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink);
}
.estate-back .icon { color: var(--gold-dark); transition: transform 0.3s var(--ease); }
.estate-back:hover .icon { transform: scaleX(-1) translateX(4px); }

.estate-detail { padding: 0 0 clamp(64px, 8vw, 110px); }
.estate-detail .oo-detailview {
	display: grid;
	grid-template-columns: minmax(0, 1fr) 360px;
	column-gap: clamp(32px, 4vw, 64px);
	align-items: start;
}

/* Titolo e stato */
.estate-detail .oo-detailview > .oo-detailsheadline {
	grid-column: 1 / -1;
	display: flex; flex-wrap: wrap; align-items: center; gap: 14px 20px;
	padding: 0;
	margin: clamp(24px, 3vw, 40px) 0 clamp(24px, 3vw, 36px);
}
.estate-detail .oo-detailview > .oo-detailsheadline h1 {
	font-size: clamp(38px, 5.4vw, 80px);
	line-height: 0.98;
	letter-spacing: -0.025em;
	max-width: 18ch;
}
.estate-detail .oo-detailview > .oo-detailsheadline span {
	padding: 7px 14px !important; /* il plugin usa uno style inline */
	border-radius: 999px;
	background: var(--gold-soft);
	color: var(--gold-dark);
	font-size: 11px; font-weight: 600; letter-spacing: 0.18em; text-transform: uppercase;
}

/* Barra dei dati principali (generata da main.js dai dati della tabella) */
.itc-keyfacts {
	grid-column: 1 / -1;
	display: flex; flex-wrap: wrap;
	margin: 0 0 clamp(28px, 3.4vw, 44px);
	border-top: 1px solid var(--line);
	border-bottom: 1px solid var(--line);
}
.itc-keyfact { display: flex; flex-direction: column-reverse; justify-content: space-between; gap: 8px; padding: 20px clamp(18px, 2.4vw, 36px); border-left: 1px solid var(--line); }
.itc-keyfact:first-child { padding-left: 0; border-left: 0; }
.itc-keyfact dt { font-size: 10.5px; font-weight: 600; letter-spacing: 0.2em; text-transform: uppercase; color: var(--mute); }
.itc-keyfact dd { font-family: var(--serif); font-size: clamp(24px, 2.4vw, 34px); line-height: 1; color: var(--ink); white-space: nowrap; }
.itc-keyfact--price dd { color: var(--gold-dark); font-size: clamp(30px, 3vw, 42px); }

/* Colonna principale */
.estate-detail .oo-details-main { width: auto; padding: 0; min-width: 0; }
.estate-detail .oo-detailsgallery,
.estate-detail .oo-detailsgallery.slick-slider {
	position: relative;
	margin: 0 0 clamp(40px, 5vw, 64px);
	border-radius: var(--radius-lg);
	overflow: hidden;
	background: var(--bg-warm);
}
.estate-detail .oo-detailspicture { height: auto; aspect-ratio: 3 / 2; vertical-align: top; }
.estate-detail .oo-detailspicture picture,
.estate-detail .oo-detailspicture img { display: block; width: 100%; height: 100%; object-fit: cover; }
.estate-detail .oo-detailsgallery .slick-prev,
.estate-detail .oo-detailsgallery .slick-next {
	position: absolute; top: 50%; z-index: 5;
	width: 52px; height: 52px;
	margin: 0; padding: 0;
	transform: translateY(-50%);
	border: 1px solid rgba(255, 255, 255, 0.7);
	border-radius: 50%;
	background: rgba(250, 250, 246, 0.88) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231a1a1a' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12h14M13 6l6 6-6 6'/%3E%3C/svg%3E") center / 20px no-repeat;
	backdrop-filter: blur(8px);
	-webkit-backdrop-filter: blur(8px);
	box-shadow: 0 8px 22px -10px rgba(0, 0, 0, 0.45);
	cursor: pointer;
	transition: background-color 0.25s, transform 0.25s var(--ease);
}
.estate-detail .oo-detailsgallery .slick-prev { left: 18px; transform: translateY(-50%) scaleX(-1); }
.estate-detail .oo-detailsgallery .slick-next { right: 18px; }
.estate-detail .oo-detailsgallery .slick-prev:hover { background-color: var(--white); transform: translateY(-50%) scaleX(-1) scale(1.06); }
.estate-detail .oo-detailsgallery .slick-next:hover { background-color: var(--white); transform: translateY(-50%) scale(1.06); }
.estate-detail .oo-detailsgallery .slick-prev-icon,
.estate-detail .oo-detailsgallery .slick-next-icon { display: none; }
.itc-gallery-count {
	position: absolute; right: 16px; bottom: 16px; z-index: 5;
	padding: 6px 12px; border-radius: 999px;
	background: rgba(26, 26, 26, 0.62); color: var(--white);
	font-size: 12px; font-weight: 600; letter-spacing: 0.08em;
	pointer-events: none;
}

/* Tabelle dati */
.estate-detail .itc-facts-title,
.estate-detail .oo-details-highlights-headline,
.estate-detail .oo-detailsfreetext h2,
.estate-detail .oo-detailsmap h2,
.estate-detail .oo-area-butler h2,
.estate-detail .oo-details-energy-certificate h2,
.estate-detail .oo-detailspricecalculator h2 {
	font-family: var(--serif);
	font-size: clamp(28px, 2.6vw, 38px);
	font-weight: 400;
	line-height: 1.1;
	color: var(--ink);
	margin: 0 0 20px;
}
.estate-detail .oo-details-highlights-table {
	display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 12px;
	padding: 0; margin: 0 0 clamp(40px, 5vw, 56px); border: 0;
}
.estate-detail .oo-details-highlight { width: auto; padding: 18px 20px; background: var(--white); border: 1px solid var(--line); border-radius: 10px; }
.estate-detail .oo-details-highlight__label { font-size: 10.5px; font-weight: 600; letter-spacing: 0.18em; text-transform: uppercase; color: var(--mute); }
.estate-detail .oo-details-highlight__value { margin-top: 6px; font-family: var(--serif); font-size: 26px; font-weight: 400; color: var(--ink); }
.estate-detail .oo-detailstable {
	display: grid;
	grid-template-columns: minmax(110px, 0.8fr) minmax(0, 1.2fr) minmax(110px, 0.8fr) minmax(0, 1.2fr);
	column-gap: 0;
	margin: 0 0 clamp(40px, 5vw, 56px);
	border-top: 1px solid var(--line);
}
.estate-detail .oo-details-fact__label,
.estate-detail .oo-details-fact__value {
	width: auto;
	margin: 0;
	padding: 16px 0;
	border-bottom: 1px solid var(--line);
	display: flex; align-items: center;
}
.estate-detail .oo-details-fact__label { padding-right: 14px; font-size: 10.5px; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; color: var(--mute); line-height: 1.4; }
.estate-detail .oo-details-fact__value { padding-right: 24px; font-size: 16px; font-weight: 500; color: var(--ink); }

/* Testi descrittivi, mappa, extra */
.estate-detail .oo-detailsfreetext,
.estate-detail .oo-detailsmap,
.estate-detail .oo-area-butler,
.estate-detail .oo-details-energy-certificate,
.estate-detail .oo-detailspricecalculator {
	padding: clamp(36px, 4vw, 48px) 0;
	border: 0;
	border-top: 1px solid var(--line);
	font-size: 17px;
	line-height: 1.8;
	color: #444;
}
.estate-detail .oo-detailsmap #map,
.estate-detail .oo-detailsmap #gmap,
.estate-detail .oo-area-butler-iframe { width: 100%; min-height: 380px; border: 0; border-radius: var(--radius-lg); overflow: hidden; }

/* Sidebar contatto */
.estate-detail .oo-details-sidebar {
	width: auto; padding: 0;
	position: sticky; top: calc(var(--header-h) + 24px);
}
.estate-detail .oo-asp {
	margin: 0 0 18px;
	padding: 30px 28px;
	background: var(--white);
	border: 1px solid var(--line);
	border-top: 3px solid var(--gold);
	border-radius: var(--radius-lg);
	box-shadow: 0 30px 60px -40px rgba(26, 26, 26, 0.3);
}
.estate-detail .oo-asp h2 {
	font-family: var(--serif); font-size: 30px; font-weight: 400; line-height: 1.05;
	margin: 0 0 20px; padding-bottom: 18px; border-bottom: 1px solid var(--line);
}
.estate-detail .oo-aspinfo-wrapper + .oo-aspinfo-wrapper { margin-top: 20px; padding-top: 20px; border-top: 1px solid var(--line); }
.estate-detail .oo-contact-info { margin: 0 0 14px; }
.estate-detail .oo-contact-info p { margin: 0; font-size: 15.5px; line-height: 1.55; color: var(--ink); word-break: break-word; }
.estate-detail .oo-contact-info img { width: 84px; height: 84px; border-radius: 50%; object-fit: cover; }
.estate-detail .oo-field-label { margin-bottom: 2px; font-size: 10px; font-weight: 600; letter-spacing: 0.2em; text-transform: uppercase; color: #888; }
.estate-detail .oo-asp a:not(.btn) { color: var(--ink); border-bottom: 1px solid var(--line-gold); }
.estate-detail .oo-asp a:not(.btn):hover { color: var(--gold-dark); }
.itc-asp-actions { display: grid; gap: 10px; margin-top: 22px; }
.estate-detail .oo-detailsexpose a { display: inline-flex; align-items: center; min-height: 46px; padding: 0 22px; border: 1px solid var(--ink) !important; border-radius: 999px; font-size: 12px; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; }
.estate-detail .oo-video iframe { width: 100%; height: auto; aspect-ratio: 16 / 9; border-radius: 10px; }

/* Immobili simili e modulo del plugin */
.estate-detail .oo-similar { grid-column: 1 / -1; margin-top: clamp(48px, 6vw, 80px); padding-top: clamp(40px, 5vw, 64px); border-top: 1px solid var(--line); }
.estate-detail .oo-similar .oo-detailsheadline { padding: 0; margin-bottom: 28px; }
.estate-detail .oo-similar .oo-detailsheadline h2 { font-size: clamp(32px, 3.6vw, 52px); }
.estate-detail .oo-similar .oo-listobject { padding: 0 10px; }
.estate-detail .oo-similar .oo-listobjectwrap { height: 100%; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; }
.estate-detail .oo-similar .oo-listimage { display: block; position: relative; aspect-ratio: 3 / 2; overflow: hidden; }
.estate-detail .oo-similar .oo-listimage img { width: 100%; height: 100%; object-fit: cover; }
.estate-detail .oo-similar .oo-listinfo { padding: 20px 22px 24px; }
.estate-detail .oo-similar .oo-listtitle { font-family: var(--serif); font-size: 22px; line-height: 1.15; color: var(--ink); margin-bottom: 10px; }
.estate-detail .slick-dots li button .slick-dot-icon:before { color: var(--gold); }
.estate-detail .detail-contact-form {
	max-width: 860px; margin: clamp(48px, 6vw, 80px) auto 0;
	padding: clamp(26px, 4vw, 48px);
	background: var(--white); border: 1px solid var(--line); border-top: 3px solid var(--gold); border-radius: var(--radius-lg);
}

@media (max-width: 1080px) {
	.estate-detail .oo-detailview { grid-template-columns: minmax(0, 1fr); }
	.estate-detail .oo-details-sidebar { position: static; margin-top: 8px; max-width: 560px; }
}
@media (max-width: 760px) {
	.estate-bar .breadcrumbs { display: none; }
	.itc-keyfact { flex: 1 1 50%; padding: 16px 0; border-left: 0; border-top: 1px solid var(--line); }
	.itc-keyfact:nth-child(-n+2) { border-top: 0; }
	.itc-keyfact--price { flex-basis: 100%; }
	.itc-keyfact--price + .itc-keyfact { border-top: 1px solid var(--line); }
	.estate-detail .oo-detailspicture { aspect-ratio: 4 / 3; }
	.estate-detail .oo-detailsgallery .slick-prev,
	.estate-detail .oo-detailsgallery .slick-next { width: 42px; height: 42px; background-size: 16px; }
	.estate-detail .oo-detailsgallery .slick-prev { left: 10px; }
	.estate-detail .oo-detailsgallery .slick-next { right: 10px; }
	.estate-detail .oo-detailstable { grid-template-columns: minmax(110px, 0.9fr) minmax(0, 1.1fr); }
	.estate-detail .oo-details-fact__value { padding-right: 0; }
	.estate-detail .oo-detailsfreetext,
	.estate-detail .oo-detailsmap { font-size: 16px; }
}

/* ═══════════════════════════════════════════════════════════════
   RICERCA ED ELENCO IMMOBILI (output del plugin del gestionale)
   Lo shortcode stampa insieme modulo ed elenco: la card bianca va sul
   modulo, l'elenco scorre sullo sfondo della pagina.
   ═══════════════════════════════════════════════════════════════ */
.search-card { background: transparent; border: 0; padding: 0; box-shadow: none; border-radius: 0; }

.search-section--card .search-head {
	margin: 0;
	padding: clamp(26px, 4vw, 48px) clamp(26px, 4vw, 48px) clamp(18px, 2vw, 26px);
	background: var(--white);
	border: 1px solid var(--line);
	border-top: 3px solid var(--gold);
	border-bottom: 0;
	border-radius: var(--radius-lg) var(--radius-lg) 0 0;
}

.estate-module { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: end; column-gap: 24px; }
.estate-module > * { grid-column: 1 / -1; min-width: 0; }

/* Modulo */
.estate-module .oo-searchform {
	margin: 0 0 clamp(48px, 6vw, 72px);
	padding: clamp(24px, 3.4vw, 44px);
	background: var(--white);
	border: 1px solid var(--line);
	border-top: 3px solid var(--gold);
	border-radius: var(--radius-lg);
	box-shadow: 0 30px 70px -40px rgba(26, 26, 26, 0.3);
}
.search-section--card .estate-module .oo-searchform {
	padding-top: clamp(18px, 2vw, 26px);
	border-top: 0;
	border-radius: 0 0 var(--radius-lg) var(--radius-lg);
}
.estate-module .oo-searchformfieldwrap {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(210px, 1fr));
	gap: 24px 28px;
	align-items: end;
}
.estate-module .oo-searchformfield { width: auto; margin: 0; padding: 0; }
.estate-module .oo-searchformfield > label,
.estate-module .oo-searchrange legend {
	display: block; float: none; width: 100%;
	margin: 0 0 4px; padding: 0;
	font-size: 11px; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; color: var(--gold-dark);
}
.estate-module .oo-searchformfield > label input { display: block; margin-top: 4px !important; }
.estate-module .oo-searchrange { display: flex; gap: 14px; margin: 0; padding: 0; border: 0; min-width: 0; flex-wrap: wrap; }
.estate-module .oo-searchrange legend { flex-basis: 100%; }
.estate-module .oo-searchrange label {
	flex: 1 1 0; display: flex; align-items: center; gap: 8px;
	margin: 0; font-size: 12px; font-weight: 500; letter-spacing: 0; text-transform: none; color: var(--mute);
}
.estate-module .oo-searchrange label input { flex: 1; min-width: 0; }
.estate-module .oo-searchformfield .ts-wrapper { width: 100%; }
.estate-module .oo-searchformfield .ts-control {
	min-height: 52px; padding: 12px 28px 12px 4px;
	border: 0; border-bottom: 1px solid rgba(26, 26, 26, 0.22); border-radius: 0;
	background: transparent; box-shadow: none; font-family: var(--sans); font-size: 16px;
}
.estate-module .oo-searchformfield .ts-wrapper.focus .ts-control { border-color: var(--gold); box-shadow: 0 1px 0 0 var(--gold); }
.estate-module .ts-dropdown { z-index: 60; border: 1px solid var(--line); border-radius: 10px; box-shadow: var(--shadow); font-family: var(--sans); }
.estate-module .ts-dropdown .active { background: var(--bg-warm); color: var(--ink); }
.search-card .estate-module input[type="submit"],
.search-card .estate-module input[type="submit"].match {
	width: 100%; min-height: 54px; margin: 0 !important; padding: 0 22px;
	border: 0; border-radius: 999px;
	background: var(--ink); color: var(--white);
	font-family: var(--sans); font-size: 12.5px; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase;
	cursor: pointer;
}
.search-card .estate-module input[type="submit"]:hover { background: var(--gold-dark); transform: translateY(-2px); }
.estate-module #spinner { display: none; }

/* Intestazione elenco e ordinamento */
.estate-module .oo-listheadline { grid-column: 1; padding: 0; margin: 0 0 28px; }
.estate-module .oo-listheadline h1,
.estate-module .oo-listheadline h2 { font-family: var(--serif); font-size: clamp(30px, 3.4vw, 46px); font-weight: 400; line-height: 1.05; color: var(--ink); margin: 0; }
.estate-module .oo-listheadline p { margin-top: 8px; font-size: 14px; color: var(--mute); }
.estate-module .oo-estate-sort { grid-column: 2; padding: 0; margin: 0 0 30px; }
.estate-module .oo-estate-sort .col-lg-12 { width: auto; padding: 0; }
.estate-module .oo-estate-sort select { min-width: 240px; }
.estate-module .oo-estate-map { padding: 0; margin: 0 0 32px; border-radius: var(--radius-lg); overflow: hidden; }

/* Schede immobile in elenco */
.estate-module .oo-listframe { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; }
.estate-module .oo-listobject { width: auto; padding: 0; margin: 0; }
.estate-module .oo-listobjectwrap {
	display: flex; flex-direction: column; height: 100%;
	background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg);
	overflow: hidden; box-shadow: none;
	transition: transform 0.45s var(--ease), border-color 0.45s, box-shadow 0.45s;
}
.estate-module .oo-listobject:hover .oo-listobjectwrap { transform: translateY(-4px); border-color: var(--gold); box-shadow: var(--shadow); }
.estate-module .oo-listimage,
.estate-module a.estate-status.oo-listimage,
.estate-module div.estate-status.oo-listimage { display: block; position: relative; width: 100%; height: auto; aspect-ratio: 4 / 3; overflow: hidden; background: var(--bg-warm); }
.estate-module .oo-listobjectwrap > .oo-listimage ~ .oo-listimage { display: none; } /* una sola foto per scheda */
.estate-module .oo-listimage picture,
.estate-module .oo-listimage img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform 0.8s var(--ease); }
.estate-module .oo-listobject:hover .oo-listimage img { transform: scale(1.04); }
.estate-module a.estate-status > span,
.estate-module div.estate-status > span {
	top: 14px; left: 14px; width: auto; height: auto;
	padding: 6px 12px; transform: none;
	border: 0; border-radius: 999px;
	background: rgba(26, 26, 26, 0.72); color: var(--white);
	font-size: 10.5px; font-weight: 600; letter-spacing: 0.16em; line-height: 1.3; text-transform: uppercase;
	backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
}
.estate-module .oo-listinfo { display: flex; flex-direction: column; flex: 1; padding: 22px 24px 24px; }
.estate-module .oo-listtitle { height: auto; overflow: visible; margin: 0 0 14px; font-family: var(--serif); font-size: 23px; font-weight: 400; line-height: 1.15; text-align: left; color: var(--ink); }
.estate-module .oo-listinfotable,
.estate-module .oo-listinfotable.oo-listinfotableview { display: grid; grid-template-columns: auto minmax(0, 1fr); min-height: 0; padding: 0; margin: 0; font-size: 14px; }
.estate-module .oo-listtd { display: flex; align-items: center; width: auto; padding: 9px 0; border-bottom: 1px solid var(--line); }
.estate-module .oo-listtd:nth-child(odd) { padding-right: 12px; font-size: 11px; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--mute); }
.estate-module .oo-listtd:nth-child(even) { justify-content: flex-end; text-align: right; font-weight: 500; color: var(--ink); }
.estate-module .oo-listtd.--highlight { order: -1; }
.estate-module .oo-listtd.--highlight:nth-child(even) { font-family: var(--serif); font-size: 22px; font-weight: 400; color: var(--gold-dark); }
.estate-module .oo-detailslink { display: grid; gap: 8px; margin-top: auto; padding-top: 18px; }
.estate-module .oo-detailslink a,
.estate-module .favorize {
	display: flex; align-items: center; justify-content: center; min-height: 46px; padding: 0 20px;
	border: 1px solid var(--ink); border-radius: 999px;
	background: transparent; color: var(--ink) !important;
	font-family: var(--sans); font-size: 12px; font-weight: 600; letter-spacing: 0.14em; line-height: 1; text-transform: uppercase;
	opacity: 1;
}
.estate-module .oo-detailslink a:hover { background: var(--ink); color: var(--white) !important; opacity: 1; }
.estate-module .favorize { border-color: var(--line); font-size: 11px; color: var(--mute) !important; }

/* Paginazione */
.estate-module .oo-listpagination { margin-top: clamp(36px, 5vw, 56px); }
.estate-module .oo-post-nav-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; }
.estate-module .oo-post-nav-links > a,
.estate-module .oo-post-nav-links > span {
	display: inline-grid; place-items: center; min-width: 44px; height: 44px; padding: 0 14px;
	border: 1px solid var(--line); border-radius: 999px; font-size: 14px; color: var(--ink);
}
.estate-module .oo-post-nav-links > span.current,
.estate-module .oo-post-nav-links > a:hover { background: var(--ink); border-color: var(--ink); color: var(--white); }

@media (max-width: 1080px) {
	.estate-module .oo-listframe { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 640px) {
	.estate-module { grid-template-columns: minmax(0, 1fr); }
	.estate-module .oo-listheadline { margin-bottom: 16px; }
	.estate-module .oo-estate-sort { grid-column: 1; }
	.estate-module .oo-estate-sort select { min-width: 0; width: 100%; }
	.estate-module .oo-listframe { grid-template-columns: minmax(0, 1fr); gap: 20px; }
	.estate-module .oo-searchformfieldwrap { grid-template-columns: minmax(0, 1fr); gap: 18px; }
}

/* Agenti per sede */
.agents-group + .agents-group { margin-top: clamp(48px, 6vw, 72px); }
.agents-group__title {
	display: flex; align-items: center; gap: 18px;
	margin-bottom: 28px;
	font-family: var(--sans); font-size: 11px; font-weight: 600; letter-spacing: 0.26em; text-transform: uppercase; color: var(--gold-dark);
}
.agents-group__title::after { content: ""; flex: 1; height: 1px; background: var(--line-gold); }
.agent { display: flex; flex-direction: column; }
.agent__initials { display: grid; place-items: center; height: 100%; font-family: var(--serif); font-size: 64px; color: var(--gold); }
.agent__body { display: flex; flex-direction: column; gap: 4px; flex: 1; padding: 20px 20px 22px; }
.agent .agent__name { padding: 0; font-size: 22px; line-height: 1.15; }
.agent__role { font-size: 12px; letter-spacing: 0.08em; color: var(--mute); }
.agent__contacts { list-style: none; display: grid; gap: 6px; margin-top: 12px; padding-top: 12px; border-top: 1px solid var(--line); }
.agent__contacts a { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; color: var(--text); word-break: break-word; }
.agent__contacts a:hover { color: var(--gold-dark); }
.agent__contacts .icon { width: 14px; height: 14px; color: var(--gold); }
@media (max-width: 760px) { .agent__body { padding: 16px; } .agent .agent__name { font-size: 19px; } }
