/* ==========================================================================
   Attica Real Estate — stile
   Colori dal logo: blu notte e rame su avorio.
   ========================================================================== */

@font-face { font-family: "Cormorant Garamond"; font-weight: 400; font-style: normal; font-display: swap; src: url(../fonts/cormorant-garamond-latin-400-normal.woff2) format("woff2"); }
@font-face { font-family: "Cormorant Garamond"; font-weight: 400; font-style: italic; font-display: swap; src: url(../fonts/cormorant-garamond-latin-400-italic.woff2) format("woff2"); }
@font-face { font-family: "Cormorant Garamond"; font-weight: 500; font-style: normal; font-display: swap; src: url(../fonts/cormorant-garamond-latin-500-normal.woff2) format("woff2"); }
@font-face { font-family: "Cormorant Garamond"; font-weight: 500; font-style: italic; font-display: swap; src: url(../fonts/cormorant-garamond-latin-500-italic.woff2) format("woff2"); }
@font-face { font-family: "Cormorant Garamond"; font-weight: 600; font-style: normal; font-display: swap; src: url(../fonts/cormorant-garamond-latin-600-normal.woff2) format("woff2"); }
@font-face { font-family: "Cormorant Garamond"; font-weight: 600; font-style: italic; font-display: swap; src: url(../fonts/cormorant-garamond-latin-600-italic.woff2) format("woff2"); }
@font-face { font-family: "Manrope"; font-weight: 300; font-display: swap; src: url(../fonts/manrope-latin-300-normal.woff2) format("woff2"); }
@font-face { font-family: "Manrope"; font-weight: 400; font-display: swap; src: url(../fonts/manrope-latin-400-normal.woff2) format("woff2"); }
@font-face { font-family: "Manrope"; font-weight: 500; font-display: swap; src: url(../fonts/manrope-latin-500-normal.woff2) format("woff2"); }
@font-face { font-family: "Manrope"; font-weight: 600; font-display: swap; src: url(../fonts/manrope-latin-600-normal.woff2) format("woff2"); }
@font-face { font-family: "Cinzel"; font-weight: 400; font-display: swap; src: url(../fonts/cinzel-latin-400-normal.woff2) format("woff2"); }
@font-face { font-family: "Cinzel"; font-weight: 500; font-display: swap; src: url(../fonts/cinzel-latin-500-normal.woff2) format("woff2"); }

:root {
	--navy: #1b2642;
	--navy-2: #243152;
	--ink: #121a2e;
	--copper: #c49a77;
	--copper-2: #a97c5a;
	--copper-light: #e3c6ab;
	--ivory: #f7f3ed;
	--sand: #eee7dc;
	--white: #fff;
	--text: #262c3a;
	--muted: #6a6f7c;
	--line: rgba(27, 38, 66, .13);
	--line-light: rgba(255, 255, 255, .18);
	--serif: "Cormorant Garamond", "Times New Roman", serif;
	--sans: "Manrope", system-ui, -apple-system, "Segoe UI", sans-serif;
	--caps: "Cinzel", "Cormorant Garamond", serif;
	--wrap: 1280px;
	--gutter: clamp(20px, 5vw, 64px);
	--radius: 2px;
	--ease: cubic-bezier(.2, .7, .2, 1);
	--header-h: 84px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: var(--header-h); }
body {
	margin: 0;
	background: var(--ivory);
	color: var(--text);
	font-family: var(--sans);
	font-size: 16px;
	line-height: 1.65;
	font-weight: 400;
	-webkit-font-smoothing: antialiased;
	text-rendering: optimizeLegibility;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 3px; }
button, input, select, textarea { font: inherit; color: inherit; }
::selection { background: var(--copper); color: var(--white); }
:focus-visible { outline: 2px solid var(--copper); outline-offset: 3px; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.wrap.narrow { max-width: 860px; }
.screen-reader-text, .hp { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: absolute; left: -9999px; top: 8px; z-index: 1000; background: var(--navy); color: var(--white); padding: 10px 16px; }
.skip-link:focus { left: 8px; }

/* ---------- Tipografia ---------- */
.display, h1, h2, h3 { font-family: var(--serif); font-weight: 500; line-height: 1.04; letter-spacing: -.01em; color: var(--navy); margin: 0; }
.display { font-size: clamp(2.4rem, 5.2vw, 4.6rem); }
.display em, h1 em, h2 em { font-style: italic; color: var(--copper-2); font-weight: 400; }
.display-sm { font-family: var(--serif); font-size: clamp(1.6rem, 3vw, 2.2rem); color: var(--navy); line-height: 1.15; margin: 0 0 12px; }
.h-small { font-family: var(--serif); font-size: 1.75rem; font-weight: 500; margin: 0 0 18px; }
.eyebrow {
	display: flex; align-items: center; gap: 14px;
	font-family: var(--sans); font-size: .72rem; font-weight: 600; letter-spacing: .22em; text-transform: uppercase;
	color: var(--copper-2); margin: 0 0 22px;
}
.eyebrow .line { display: inline-block; width: 44px; height: 1px; background: currentColor; }
.eyebrow-copper { color: var(--copper); }
.lead { font-size: 1.12rem; line-height: 1.7; color: var(--muted); max-width: 56ch; }
.prose { max-width: 68ch; }
.prose p { margin: 0 0 1.1em; }
.prose h2 { font-size: 2rem; margin: 1.6em 0 .5em; }
.prose h3 { font-size: 1.5rem; margin: 1.4em 0 .4em; }
.prose a { color: var(--copper-2); }

/* ---------- Pulsanti ---------- */
.btn {
	display: inline-flex; align-items: center; justify-content: center; gap: 10px;
	min-height: 50px; padding: 0 28px; border: 1px solid transparent; border-radius: var(--radius);
	font-size: .78rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; text-decoration: none;
	cursor: pointer; transition: background .3s var(--ease), color .3s var(--ease), border-color .3s var(--ease), transform .3s var(--ease);
	white-space: nowrap;
}
.btn span { transition: transform .3s var(--ease); }
.btn:hover span { transform: translateX(4px); }
.btn-primary { background: var(--navy); color: var(--white); }
.btn-primary:hover { background: var(--copper-2); }
.btn-copper { background: linear-gradient(120deg, var(--copper-2), var(--copper) 50%, var(--copper-light)); color: var(--ink); }
.btn-copper:hover { filter: brightness(1.06); }
.btn-outline { border-color: var(--navy); color: var(--navy); background: transparent; }
.btn-outline:hover { background: var(--navy); color: var(--white); }
.btn-ghost-light { border-color: var(--line-light); color: var(--white); background: transparent; }
.btn-ghost-light:hover { border-color: var(--copper); color: var(--copper-light); }
.btn-sm { min-height: 40px; padding: 0 18px; font-size: .7rem; }
.btn-row { display: flex; flex-wrap: wrap; gap: 14px; }
.link-arrow {
	display: inline-flex; align-items: center; gap: 10px; font-size: .75rem; font-weight: 600; letter-spacing: .18em; text-transform: uppercase;
	text-decoration: none; color: var(--navy); padding-bottom: 6px; border-bottom: 1px solid var(--copper);
}
.link-arrow::after { content: "→"; transition: transform .3s var(--ease); }
.link-arrow:hover::after { transform: translateX(5px); }

/* ---------- Header ---------- */
.site-header {
	position: sticky; top: 0; z-index: 100; height: var(--header-h);
	background: rgba(247, 243, 237, .92); backdrop-filter: saturate(140%) blur(14px); -webkit-backdrop-filter: saturate(140%) blur(14px);
	border-bottom: 1px solid var(--line);
	transition: background .4s var(--ease), border-color .4s var(--ease), transform .4s var(--ease);
}
.header-inner { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 32px; max-width: 1440px; }
.brand { position: relative; display: block; width: 150px; flex: none; }
.brand .logo { width: 150px; height: auto; transition: opacity .35s var(--ease); }
.brand .logo-light { position: absolute; inset: 0; opacity: 0; }
.main-nav .menu { list-style: none; margin: 0; padding: 0; display: flex; gap: 34px; }
.main-nav a {
	position: relative; text-decoration: none; font-size: .78rem; font-weight: 500; letter-spacing: .14em; text-transform: uppercase; color: var(--navy);
	padding: 8px 0;
}
.main-nav a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: var(--copper); transform: scaleX(0); transform-origin: left; transition: transform .35s var(--ease); }
.main-nav a:hover::after, .main-nav .current-menu-item a::after { transform: scaleX(1); }
.nav-mobile-extra { display: none; }
.header-actions { display: flex; align-items: center; gap: 22px; }
.header-phone { display: inline-flex; align-items: center; gap: 8px; text-decoration: none; font-size: .85rem; font-weight: 500; color: var(--navy); }
.header-phone svg { color: var(--copper-2); }
.nav-toggle { display: none; width: 44px; height: 44px; border: 0; background: none; cursor: pointer; position: relative; }
.nav-toggle span { position: absolute; left: 10px; right: 10px; height: 1.5px; background: var(--navy); transition: transform .35s var(--ease), top .35s var(--ease), background .3s; }
.nav-toggle span:first-child { top: 17px; }
.nav-toggle span:last-child { top: 26px; }
.nav-open .nav-toggle span:first-child { top: 21px; transform: rotate(45deg); }
.nav-open .nav-toggle span:last-child { top: 21px; transform: rotate(-45deg); }

/* Header trasparente sopra le hero scure */
.has-dark-hero .site-header:not(.is-scrolled) { background: transparent; border-color: transparent; backdrop-filter: none; -webkit-backdrop-filter: none; }
.has-dark-hero .site-header:not(.is-scrolled) .logo-light { opacity: 1; }
.has-dark-hero .site-header:not(.is-scrolled) .logo-dark { opacity: 0; }
.has-dark-hero .site-header:not(.is-scrolled) .main-nav a,
.has-dark-hero .site-header:not(.is-scrolled) .header-phone { color: var(--white); }
.has-dark-hero .site-header:not(.is-scrolled) .header-phone svg { color: var(--copper-light); }
.has-dark-hero .site-header:not(.is-scrolled) .btn-outline { border-color: rgba(255,255,255,.55); color: var(--white); }
.has-dark-hero .site-header:not(.is-scrolled) .btn-outline:hover { background: var(--white); color: var(--navy); }
.has-dark-hero .site-header:not(.is-scrolled) .nav-toggle span { background: var(--white); }
.has-dark-hero .site-main { margin-top: calc(var(--header-h) * -1); }

/* ---------- Hero ---------- */
.hero { position: relative; min-height: 100vh; min-height: 100svh; display: flex; align-items: flex-end; color: var(--white); overflow: hidden; background: var(--ink); }
.hero-media { position: absolute; inset: 0; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; object-position: 60% 50%; transform: scale(1.06); animation: heroZoom 14s var(--ease) forwards; }
.hero-media::after {
	content: ""; position: absolute; inset: 0;
	background:
		linear-gradient(180deg, rgba(12, 18, 34, .55) 0%, rgba(12, 18, 34, 0) 22%),
		linear-gradient(90deg, rgba(12, 18, 34, .88) 0%, rgba(12, 18, 34, .55) 42%, rgba(12, 18, 34, .05) 75%),
		linear-gradient(0deg, rgba(12, 18, 34, .75) 0%, rgba(12, 18, 34, 0) 45%);
}
@keyframes heroZoom { to { transform: scale(1); } }
@keyframes heroFade { from { opacity: 0; transform: scale(1.03); } to { opacity: 1; transform: none; } }
.hero-content { position: relative; z-index: 2; padding-top: calc(var(--header-h) + 60px); padding-bottom: clamp(48px, 9vh, 110px); max-width: 1440px; }
.hero .eyebrow { color: var(--copper-light); }
.hero-title { color: var(--white); font-size: clamp(2.8rem, 6.6vw, 6rem); max-width: 13ch; line-height: .98; }
.hero-title em { color: var(--copper-light); }
.hero-sub { font-size: clamp(1rem, 1.4vw, 1.18rem); font-weight: 300; max-width: 52ch; color: rgba(255,255,255,.86); margin: 26px 0 36px; }
.hero-links { margin: 22px 0 0; }
.hero-links a { color: var(--white); font-size: .9rem; text-decoration: none; border-bottom: 1px solid var(--copper); padding-bottom: 3px; }
.hero-links a:hover { color: var(--copper-light); }
.hero-scroll { position: absolute; right: var(--gutter); bottom: 44px; z-index: 2; width: 1px; height: 70px; background: rgba(255,255,255,.25); overflow: hidden; }
.hero-scroll span { position: absolute; left: 0; top: -40%; width: 1px; height: 40%; background: var(--copper-light); animation: scrollLine 2.2s var(--ease) infinite; }
@keyframes scrollLine { to { top: 100%; } }
.hero-page { min-height: 72vh; min-height: 72svh; }
.hero-page .hero-title { max-width: 16ch; }

/* ---------- Ricerca ---------- */
.search-bar { max-width: 980px; }
.search-toggle { border: 0; padding: 0; margin: 0 0 -1px; display: inline-flex; }
.search-toggle label { cursor: pointer; }
.search-toggle input { position: absolute; opacity: 0; pointer-events: none; }
.search-toggle span {
	display: block; padding: 12px 26px; font-size: .74rem; font-weight: 600; letter-spacing: .18em; text-transform: uppercase;
	background: rgba(255,255,255,.12); color: rgba(255,255,255,.8); transition: background .3s, color .3s;
}
.search-toggle input:checked + span { background: var(--ivory); color: var(--navy); }
.search-toggle input:focus-visible + span { outline: 2px solid var(--copper); }
.search-fields { display: flex; align-items: stretch; background: var(--ivory); box-shadow: 0 30px 60px -30px rgba(0,0,0,.5); }
.sf { flex: 1; min-width: 0; display: flex; flex-direction: column; justify-content: center; padding: 14px 22px; border-right: 1px solid var(--line); }
.sf span { font-size: .66rem; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; color: var(--copper-2); }
.sf select {
	appearance: none; -webkit-appearance: none; border: 0; background: transparent; padding: 4px 22px 2px 0; color: var(--navy); font-size: 1rem; font-weight: 500; cursor: pointer;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6'%3E%3Cpath d='M1 1l4 4 4-4' fill='none' stroke='%231b2642' stroke-width='1.3'/%3E%3C/svg%3E");
	background-repeat: no-repeat; background-position: right 2px center;
}
.sf select:focus { outline: none; }
.sf:focus-within { background: var(--white); }
.search-submit { min-height: 76px; padding: 0 42px; border-radius: 0; }
.search-archive { margin-top: 36px; }
.search-archive .search-toggle span { background: var(--sand); color: var(--muted); }
.search-archive .search-toggle input:checked + span { background: var(--white); color: var(--navy); }
.search-archive .search-fields { background: var(--white); box-shadow: 0 20px 50px -35px rgba(27,38,66,.45); }

/* ---------- Sezioni ---------- */
.section { padding: clamp(80px, 11vw, 150px) 0; }
.section-tight { padding: clamp(48px, 6vw, 80px) 0; }
.section-soft { background: var(--sand); }
.section-dark { background: var(--navy); color: rgba(255,255,255,.82); }
.section-dark .display, .section-dark h2, .section-dark h3 { color: var(--white); }
.section-dark .display em { color: var(--copper-light); }
.section-dark .lead { color: rgba(255,255,255,.7); }
.section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 32px; margin-bottom: clamp(40px, 5vw, 64px); }
.section-head .display { max-width: 18ch; }
.section-head .link-arrow { flex: none; }

/* ---------- Schede immobili ---------- */
.grid-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(20px, 2.4vw, 36px); }
.card-immobile { position: relative; background: var(--white); display: flex; flex-direction: column; transition: transform .5s var(--ease), box-shadow .5s var(--ease); }
.card-immobile:hover { transform: translateY(-6px); box-shadow: 0 30px 60px -40px rgba(27,38,66,.55); }
.card-media { position: relative; display: block; aspect-ratio: 4 / 3; overflow: hidden; background: var(--navy); }
.card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.card-immobile:hover .card-media img { transform: scale(1.05); }
.card-placeholder { position: absolute; inset: 0; display: grid; place-items: center; background: radial-gradient(circle at 50% 40%, var(--navy-2), var(--ink)); }
.card-placeholder img { width: 40%; height: auto; opacity: .45; }
.badges { position: absolute; top: 16px; left: 16px; display: flex; gap: 6px; flex-wrap: wrap; }
.badge { display: inline-block; padding: 6px 10px; font-size: .62rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; background: var(--ivory); color: var(--navy); }
.badge-affitto { background: var(--navy); color: var(--white); }
.badge-prestige { background: linear-gradient(120deg, var(--copper-2), var(--copper-light)); color: var(--ink); }
.badge-closed { background: rgba(18,26,46,.8); color: var(--white); }
.card-body { padding: 24px 26px 28px; display: flex; flex-direction: column; flex: 1; }
.card-place { margin: 0 0 6px; font-size: .7rem; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; color: var(--copper-2); }
.card-title { font-size: 1.6rem; line-height: 1.12; margin: 0 0 14px; }
.card-title a { text-decoration: none; }
.card-title a::after { content: ""; position: absolute; inset: 0; }
.card-specs { list-style: none; margin: 0 0 18px; padding: 0; display: flex; flex-wrap: wrap; gap: 6px 18px; font-size: .88rem; color: var(--muted); }
.card-specs li + li::before { content: "·"; margin-right: 18px; margin-left: -10px; color: var(--copper); }
.card-price { margin: auto 0 0; padding-top: 16px; border-top: 1px solid var(--line); font-family: var(--serif); font-size: 1.5rem; font-weight: 600; color: var(--navy); }
.is-closed .card-media img { filter: grayscale(.6); }
.empty-state { text-align: center; max-width: 640px; margin: 0 auto; padding: 56px 32px; border: 1px solid var(--line); background: rgba(255,255,255,.5); }
.empty-state p { color: var(--muted); }
.empty-state .btn { margin-top: 12px; }
.results-count { color: var(--muted); font-size: .9rem; margin: 0 0 24px; }
.pagination { margin-top: 56px; display: flex; justify-content: center; }
.pagination .nav-links { display: flex; gap: 8px; }
.pagination .page-numbers { display: grid; place-items: center; min-width: 44px; height: 44px; border: 1px solid var(--line); text-decoration: none; color: var(--navy); }
.pagination .current { background: var(--navy); color: var(--white); }

/* ---------- Prestige ---------- */
.prestige { position: relative; overflow: hidden; }
.prestige::before {
	content: ""; position: absolute; top: 0; left: 50%; width: min(70%, 900px); height: 1px; transform: translateX(-50%);
	background: linear-gradient(90deg, transparent, var(--copper), transparent);
}
.prestige-head { max-width: 760px; margin-bottom: 56px; }
.prestige-head .lead { margin-top: 24px; }
.grid-prestige { margin-bottom: 48px; }
.grid-prestige .card-immobile { background: var(--navy-2); }
.grid-prestige .card-title, .grid-prestige .card-price { color: var(--white); }
.grid-prestige .card-specs { color: rgba(255,255,255,.6); }
.grid-prestige .card-price { border-color: var(--line-light); }
.prestige-cta { display: grid; grid-template-columns: 1fr 1fr; border: 1px solid var(--line-light); }
.prestige-cta > div { padding: clamp(32px, 4vw, 56px); }
.prestige-cta > div + div { border-left: 1px solid var(--line-light); }
.prestige-cta h3 { font-size: 1.9rem; margin-bottom: 10px; }
.prestige-cta p { margin: 0 0 28px; color: rgba(255,255,255,.68); }

/* ---------- Servizi ---------- */
.services-grid { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line); }
.service { position: relative; padding: 40px 30px 44px 0; text-decoration: none; display: flex; flex-direction: column; border-right: 1px solid var(--line); padding-left: 30px; transition: background .4s var(--ease); }
.service:first-child { padding-left: 0; }
.service:last-child { border-right: 0; }
.service:hover { background: rgba(255,255,255,.5); }
.service .num { font-family: var(--serif); font-style: italic; font-size: 1.1rem; color: var(--copper-2); }
.service h3 { font-size: 1.9rem; margin: 18px 0 12px; }
.service p { color: var(--muted); font-size: .95rem; margin: 0 0 28px; }
.service .link-arrow { margin-top: auto; align-self: flex-start; font-size: .68rem; }

/* ---------- Split ---------- */
.split { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(40px, 7vw, 110px); align-items: center; }
.split-reverse { grid-template-columns: 1fr .9fr; }
.split-media { position: relative; overflow: hidden; }
.split-media img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.split-media.tall img { aspect-ratio: 4 / 5; object-position: 50% 30%; }
.split-media::after { content: ""; position: absolute; inset: 18px; border: 1px solid rgba(255,255,255,.35); pointer-events: none; }
.split-text .display { margin-bottom: 28px; }
.split-text .lead { margin-bottom: 32px; }
.split-form { align-items: start; grid-template-columns: 1fr 1fr; }
.steps { list-style: none; counter-reset: step; margin: 0 0 40px; padding: 0; }
.steps li { counter-increment: step; position: relative; padding: 20px 0 20px 64px; border-bottom: 1px solid var(--line); }
.steps li::before { content: "0" counter(step); position: absolute; left: 0; top: 16px; font-family: var(--serif); font-style: italic; font-size: 1.7rem; color: var(--copper-2); }
.steps strong { display: block; font-family: var(--serif); font-size: 1.4rem; font-weight: 500; color: var(--navy); }
.steps span { color: var(--muted); font-size: .95rem; }
.stats { display: grid; grid-template-columns: repeat(4, 1fr); margin-top: clamp(64px, 8vw, 110px); border-top: 1px solid var(--line); }
.stat { padding: 32px 24px 0 0; }
.stat-num { display: block; font-family: var(--serif); font-size: clamp(2.6rem, 5vw, 4rem); line-height: 1; color: var(--navy); }
.stat-txt { display: block; margin-top: 10px; font-size: .85rem; color: var(--muted); }
.values { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; }
.values h3 { font-size: 1.9rem; margin-bottom: 10px; }
.values p { color: var(--muted); margin: 0; }
.wide-photo img { width: 100%; aspect-ratio: 21 / 9; object-fit: cover; }

/* ---------- Team ---------- */
.team-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(20px, 2.4vw, 36px); }
.team-photo { position: relative; aspect-ratio: 3 / 4; overflow: hidden; background: var(--navy); margin-bottom: 22px; }
.team-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 20%; filter: grayscale(.15); transition: transform 1.2s var(--ease), filter .6s var(--ease); }
.team-card:hover .team-photo img { transform: scale(1.04); filter: none; }
.team-card h3 { font-size: 1.7rem; margin-bottom: 4px; }
.team-role { margin: 0 0 12px; font-size: .7rem; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; color: var(--copper-2); }
.team-bio { font-size: .95rem; color: var(--muted); }
.team-bio p { margin: 0 0 .8em; }
@media (max-width: 1024px) { .team-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .team-grid { grid-template-columns: 1fr; } }

/* ---------- Scheda immobile: ingresso, ambienti, planimetria ---------- */
.immobile .intro, .residenze-head .intro { animation: fadeUp 1s var(--ease) both; animation-delay: var(--d, 0s); }
.intro-mask { overflow: hidden; padding-bottom: .08em; }
.intro-mask > span { display: inline-block; animation: maskUp 1.25s var(--ease) .18s both; }
@keyframes maskUp { from { transform: translateY(105%); opacity: 0; } to { transform: none; opacity: 1; } }
.gallery-cine .gallery-item { animation: curtain 1.3s var(--ease) both; }
.gallery-cine .gallery-item:nth-child(1) { animation-delay: .35s; }
.gallery-cine .gallery-item:nth-child(2) { animation-delay: .55s; }
.gallery-cine .gallery-item:nth-child(3) { animation-delay: .7s; }
.gallery-cine .gallery-item:first-child img { animation: kenBurns 7s var(--ease) .35s backwards; }
@keyframes curtain { from { clip-path: inset(0 0 100% 0); } to { clip-path: inset(0 0 0 0); } }
@keyframes kenBurns { from { transform: scale(1.16); } to { transform: scale(1); } }

.strip { background: var(--navy); color: var(--white); padding: clamp(64px, 9vw, 120px) 0 clamp(48px, 6vw, 80px); overflow: hidden; }
.strip-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; margin-bottom: 40px; }
.strip .eyebrow { color: var(--copper-light); }
.strip .display { color: var(--white); margin: 0; }
.strip .display em { color: var(--copper-light); }
.strip-nav { display: flex; gap: 10px; }
.strip-nav button { width: 52px; height: 52px; border-radius: 50%; border: 1px solid var(--line-light); background: transparent; color: var(--white); font-size: 1.1rem; cursor: pointer; transition: background .3s, color .3s, border-color .3s; }
.strip-nav button:hover { background: var(--copper); border-color: var(--copper); color: var(--ink); }
.strip-track { display: flex; gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 0 max(var(--gutter), calc((100vw - var(--wrap)) / 2)); scrollbar-width: none; cursor: grab; overscroll-behavior-x: contain; }
.strip-track::-webkit-scrollbar { display: none; }
.strip-track.is-grabbing { cursor: grabbing; scroll-snap-type: none; }
.strip-track.is-grabbing img { pointer-events: none; }
.strip-item { flex: 0 0 auto; height: clamp(280px, 62vh, 620px); scroll-snap-align: center; overflow: hidden; background: var(--navy-2); opacity: 0; transform: scale(.94); transition: opacity 1s var(--ease), transform 1.2s var(--ease); }
.strip-item.is-in { opacity: 1; transform: none; }
.strip-item img { height: 100%; width: auto; max-width: none; display: block; transition: transform 1.2s var(--ease); -webkit-user-drag: none; user-select: none; }
.strip-item:hover img { transform: scale(1.04); }
.strip-progress { margin-top: 32px; height: 1px; background: var(--line-light); }
.strip-progress span { display: block; height: 100%; background: var(--copper); transform-origin: left; transform: scaleX(.06); transition: transform .2s linear; }

.plan { margin-top: 64px; }
.plan-head { display: flex; justify-content: space-between; align-items: center; gap: 16px; }
.plan-head .h-small { margin: 0; }
.plan-toggle { display: inline-flex; border: 1px solid var(--line); }
.plan-toggle button, .plan-tabs button { font: 600 .72rem/1 var(--sans); letter-spacing: .16em; text-transform: uppercase; padding: 11px 16px; border: 0; background: transparent; color: var(--muted); cursor: pointer; transition: background .3s, color .3s; }
.plan-toggle button.is-active { background: var(--navy); color: var(--white); }
.plan-tabs { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 16px; }
.plan-tabs button { border: 1px solid var(--line); }
.plan-tabs button.is-active { border-color: var(--copper); color: var(--navy); }
.plan-stage { position: relative; margin-top: 20px; background: radial-gradient(ellipse at 50% 40%, #fff 0%, var(--sand) 75%); height: clamp(340px, 58vw, 560px); overflow: hidden; perspective: 1600px; touch-action: pan-y; cursor: grab; user-select: none; }
.plan.is-2d .plan-stage { cursor: default; }
.plan-scene { position: absolute; inset: 0; display: grid; place-items: center; transform-style: preserve-3d; }
.plan-model { --rx: 0deg; --rz: 0deg; --gap: 1.3px; position: relative; width: min(78%, 640px); transform-style: preserve-3d; transform: rotateX(var(--rx)) rotateZ(var(--rz)); transition: transform 1.8s var(--ease); }
.plan.is-turning .plan-model { transition: none; }
.plan-floor { display: block; width: 100%; height: auto; box-shadow: 0 40px 60px -30px rgba(18, 26, 46, .45); pointer-events: none; -webkit-user-drag: none; }
.plan-wall { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; transform: translateZ(0); filter: brightness(calc(var(--shade) * 1.6)); transition: transform 1.6s var(--ease); transition-delay: calc(var(--z) * 22ms + .5s); }
.plan-model.is-risen .plan-wall { transform: translateZ(calc(var(--z) * var(--gap))); }
.plan-top { filter: sepia(1) saturate(2.2) hue-rotate(-12deg) brightness(1.7); }
.plan.is-2d .plan-wall { transform: translateZ(0); transition-delay: 0s; opacity: 0; }
.plan-hint { position: absolute; left: 50%; bottom: 14px; transform: translateX(-50%); margin: 0; font-size: .72rem; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); pointer-events: none; transition: opacity .4s; }
.plan.is-2d .plan-hint, .plan-flat .plan-hint { opacity: 0; }
.plan-note { margin: 10px 0 0; font-size: .8rem; color: var(--muted); }
.plan.is-2d .plan-stage { height: auto; padding: clamp(16px, 3vw, 32px); background: var(--white); border: 1px solid var(--line); perspective: none; cursor: zoom-in; touch-action: auto; }
.plan.is-2d .plan-scene { position: static; display: block; }
.plan.is-2d .plan-model { width: auto !important; transform: none; }
.plan.is-2d .plan-floor { width: auto; max-width: 100%; max-height: 78vh; margin: 0 auto; box-shadow: none; }
.plan-open { display: block; }

.video { margin-top: clamp(40px, 5vw, 64px); }
.video-frame, .video iframe { position: relative; display: block; width: 100%; aspect-ratio: 16 / 9; border: 0; padding: 0; background: var(--ink); cursor: pointer; overflow: hidden; }
.video-frame img { width: 100%; height: 100%; object-fit: cover; opacity: .85; transition: transform 1.2s var(--ease), opacity .6s var(--ease); }
.video-frame:hover img { transform: scale(1.04); opacity: 1; }
.video-play { position: absolute; left: 50%; top: 50%; width: 76px; height: 76px; margin: -38px 0 0 -38px; border: 1px solid rgba(255,255,255,.8); border-radius: 50%; background: rgba(18,26,46,.35); backdrop-filter: blur(4px); transition: background .4s var(--ease); }
.video-play::after { content: ""; position: absolute; left: 31px; top: 25px; border-style: solid; border-width: 13px 0 13px 20px; border-color: transparent transparent transparent var(--white); }
.video-frame:hover .video-play { background: var(--copper); border-color: var(--copper); }

/* ---------- Pagina Immobili (residenze) ---------- */
.residenze-head { padding: calc(var(--header-h) * .2 + clamp(56px, 8vw, 120px)) 0 clamp(24px, 3vw, 40px); text-align: center; }
.residenze-title { margin: 0; font-weight: 400; line-height: 1; color: var(--navy); }
.residenze-caps { display: block; font-family: var(--caps); font-size: clamp(2rem, 4.6vw, 3.6rem); letter-spacing: .16em; text-transform: uppercase; padding-left: .14em; }
.residenze-title em { display: block; margin-top: .2em; font-family: var(--serif); font-size: clamp(1.3rem, 2.4vw, 1.9rem); font-style: italic; color: var(--copper-2); }
.residenze-filters, .residenze-zone { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px clamp(20px, 3vw, 44px); }
.residenze-filters { margin-top: 28px; }
.residenze-rule { width: min(100%, 1060px); height: 1px; margin: clamp(28px, 3.5vw, 44px) auto 0; background: var(--line); border: 0; }
.residenze-filters a, .residenze-zone a { position: relative; padding: 6px 0; font-size: .74rem; font-weight: 600; letter-spacing: .24em; text-transform: uppercase; text-decoration: none; color: var(--muted); transition: color .3s var(--ease); }
.residenze-filters a::after, .residenze-zone a::after { content: ""; position: absolute; left: 0; right: .24em; bottom: 0; height: 1px; background: var(--copper); transform: scaleX(0); transform-origin: left; transition: transform .5s var(--ease); }
.residenze-filters a:hover, .residenze-filters a.is-active, .residenze-zone a:hover, .residenze-zone a.is-active { color: var(--navy); }
.residenze-filters a:hover::after, .residenze-filters a.is-active::after, .residenze-zone a:hover::after, .residenze-zone a.is-active::after { transform: scaleX(1); }
.residenze-zone { margin-top: 14px; }
.residenze-zone a { font-size: .66rem; letter-spacing: .2em; font-weight: 500; }
.residenze-search { margin: 26px auto 0; max-width: 1100px; text-align: left; }
.residenze-search summary { width: max-content; margin: 0 auto; cursor: pointer; list-style: none; font-size: .72rem; letter-spacing: .16em; text-transform: uppercase; color: var(--copper-2); }
.residenze-search summary::-webkit-details-marker { display: none; }
.residenze-search summary::after { content: " +"; }
.residenze-search[open] summary::after { content: " −"; }
.residenze-search .search-archive { margin-top: 22px; }
.residenze-list { padding-top: clamp(24px, 3vw, 48px); }
.grid-residenze { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(48px, 5.5vw, 84px) clamp(20px, 2.6vw, 38px); max-width: 1060px; margin: 0 auto; }
.residenza { position: relative; text-align: center; }
.residenza-media { position: relative; display: block; aspect-ratio: 4 / 3; overflow: hidden; background: var(--navy); }
.residenza-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.6s var(--ease), filter 1s var(--ease); }
.residenza-media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(18,26,46,.55), rgba(18,26,46,0) 45%); opacity: 0; transition: opacity .7s var(--ease); }
.residenza:hover .residenza-media img { transform: scale(1.06); }
.residenza:hover .residenza-media::after { opacity: 1; }
.residenza-cta { position: absolute; left: 50%; bottom: 26px; z-index: 1; transform: translate(-50%, 12px); opacity: 0; color: var(--white); font-size: .72rem; font-weight: 600; letter-spacing: .28em; text-transform: uppercase; padding-bottom: 6px; border-bottom: 1px solid var(--copper-light); transition: opacity .6s var(--ease), transform .6s var(--ease); }
.residenza:hover .residenza-cta { opacity: 1; transform: translate(-50%, 0); }
.residenza-tag { position: absolute; top: 16px; left: 16px; z-index: 1; padding: 7px 12px; background: rgba(247,243,237,.92); color: var(--navy); font-size: .62rem; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; }
.residenza-media .card-placeholder { position: absolute; inset: 0; display: grid; place-items: center; }
.residenza-media .card-placeholder img { width: 38%; height: auto; object-fit: contain; opacity: .7; }
.residenza-body { padding-top: 24px; }
.residenza-zona { margin: 0 0 10px; font-size: .66rem; font-weight: 600; letter-spacing: .22em; text-transform: uppercase; color: var(--copper-2); }
.residenza-title { margin: 0 auto; max-width: 26ch; font-family: var(--sans); font-size: clamp(.98rem, 1.2vw, 1.1rem); font-weight: 500; line-height: 1.4; letter-spacing: .06em; text-transform: uppercase; color: var(--ink); min-height: 2.8em; display: flex; align-items: center; justify-content: center; }
.residenza-title a { text-decoration: none; color: inherit; }
.residenza-title a::after { content: ""; position: absolute; inset: 0; }
.residenza-specs { list-style: none; display: flex; justify-content: center; gap: clamp(18px, 2vw, 28px); margin: 12px 0 0; padding: 0; }
.residenza-specs li { display: inline-flex; align-items: center; gap: 9px; font-size: .84rem; color: var(--muted); }
.residenza-specs svg { width: 20px; height: 20px; fill: none; stroke: var(--navy); stroke-width: 1.2; stroke-linecap: round; stroke-linejoin: round; }
.residenza-price { margin: 14px 0 0; font-family: var(--serif); font-size: 1.3rem; font-weight: 500; color: var(--navy); }
.residenza.is-closed .residenza-media img { filter: grayscale(.7); }
.grid-residenze .residenza:nth-child(3n+2) { transition-delay: .12s; }
.grid-residenze .residenza:nth-child(3n) { transition-delay: .24s; }
.residenze-pager { display: flex; justify-content: space-between; margin-top: clamp(56px, 7vw, 96px); padding-top: 24px; border-top: 1px solid var(--line); }
.residenze-pager a { font-size: .72rem; font-weight: 600; letter-spacing: .24em; text-transform: uppercase; text-decoration: none; color: var(--navy); }
.residenze-pager a:hover { color: var(--copper-2); }

/* ---------- Pagine interne ---------- */
.page-hero { padding: calc(var(--header-h) * .2 + clamp(56px, 8vw, 110px)) 0 clamp(32px, 4vw, 56px); }
.page-hero .display { max-width: 20ch; }
.page-hero-dark { background: var(--navy); }
.page-hero-dark .display { color: var(--white); }
.filter-note { margin: 18px 0 0; font-size: .85rem; }
.filter-note a { color: var(--copper-2); }

/* ---------- Scheda immobile ---------- */
.immobile-top { padding-top: 36px; }
.back-link { display: inline-block; font-size: .8rem; letter-spacing: .08em; color: var(--muted); text-decoration: none; margin-bottom: 28px; }
.back-link:hover { color: var(--navy); }
.immobile-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 32px; margin-bottom: 36px; }
.immobile-head .eyebrow { gap: 12px; }
.immobile-head .display { font-size: clamp(2.2rem, 4.4vw, 3.8rem); max-width: 22ch; }
.immobile-price { margin: 0; font-family: var(--serif); font-size: clamp(1.8rem, 3vw, 2.6rem); font-weight: 600; color: var(--navy); white-space: nowrap; }
.gallery { display: grid; gap: 10px; }
.gallery-3 { grid-template-columns: 2fr 1fr; grid-template-rows: 1fr 1fr; height: clamp(320px, 62vh, 640px); }
.gallery-3 .gallery-item:first-child { grid-row: span 2; }
.gallery-2 { grid-template-columns: 2fr 1fr; height: clamp(300px, 56vh, 560px); }
.gallery-1 { height: clamp(300px, 64vh, 680px); }
.gallery-item { position: relative; overflow: hidden; display: block; background: var(--sand); }
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); }
.gallery-item:hover img { transform: scale(1.03); }
.gallery-more { position: absolute; inset: 0; display: grid; place-items: center; background: rgba(18,26,46,.55); color: var(--white); font-size: .85rem; letter-spacing: .18em; text-transform: uppercase; }
.immobile-body { display: grid; grid-template-columns: 1fr 400px; gap: clamp(40px, 6vw, 96px); padding-top: 56px; padding-bottom: 96px; align-items: start; }
.key-specs { list-style: none; margin: 0 0 40px; padding: 0 0 32px; display: flex; flex-wrap: wrap; gap: 16px 48px; border-bottom: 1px solid var(--line); color: var(--muted); }
.key-specs strong { font-family: var(--serif); font-size: 2.2rem; font-weight: 500; color: var(--navy); margin-right: 6px; }
.spec-table { display: grid; grid-template-columns: 1fr 1fr; gap: 0 40px; margin: 0; }
.spec-table div { display: flex; justify-content: space-between; gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.spec-table dt { color: var(--muted); }
.spec-table dd { margin: 0; font-weight: 500; color: var(--navy); text-align: right; }
.immobile-main .h-small { margin-top: 48px; }
.immobile-aside { position: sticky; top: calc(var(--header-h) + 24px); }
.contact-card, .form-card { background: var(--white); padding: clamp(28px, 3vw, 40px); box-shadow: 0 30px 70px -50px rgba(27,38,66,.6); }
.contact-quick { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-bottom: 26px; }
.contact-quick .btn { padding: 0 12px; }

/* ---------- Moduli ---------- */
.attica-form .form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { display: flex; flex-direction: column; gap: 6px; }
.field.full { grid-column: 1 / -1; }
.field span { font-size: .7rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.field input, .field select, .field textarea {
	width: 100%; border: 1px solid var(--line); border-radius: var(--radius); background: var(--ivory); padding: 13px 14px; font-size: 1rem; color: var(--navy);
	transition: border-color .25s, background .25s;
}
.field textarea { resize: vertical; min-height: 110px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--copper); background: var(--white); }
.check { display: flex; gap: 10px; align-items: flex-start; margin: 18px 0 22px; font-size: .85rem; color: var(--muted); }
.check input { margin-top: 4px; accent-color: var(--navy); }
.check a { color: var(--navy); }
.attica-form .btn { width: 100%; }
.form-notice { padding: 14px 16px; margin-bottom: 20px; font-size: .92rem; }
.is-success { background: #e9f1ea; color: #23452b; }
.is-error { background: #f6e6e3; color: #6b2a20; }
.contact-info { display: grid; gap: 40px; }
.contact-block .h-small { font-size: 1rem; font-family: var(--sans); font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--copper-2); margin-bottom: 8px; }
.big-link { display: block; font-family: var(--serif); font-size: clamp(1.8rem, 3vw, 2.4rem); color: var(--navy); text-decoration: none; margin-bottom: 16px; word-break: break-word; }
.big-link:hover { color: var(--copper-2); }

/* ---------- Footer ---------- */
.site-footer { background: var(--ink); color: rgba(255,255,255,.66); }
.footer-cta { padding-top: clamp(80px, 10vw, 140px); padding-bottom: clamp(64px, 8vw, 110px); border-bottom: 1px solid var(--line-light); }
.footer-cta .eyebrow { color: var(--copper); }
.footer-cta .display { color: var(--white); margin-bottom: 40px; }
.footer-cta .display em { color: var(--copper-light); }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; padding-top: 64px; padding-bottom: 56px; }
.footer-grid h3 { font-family: var(--sans); font-size: .7rem; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; color: var(--copper); margin-bottom: 18px; }
.footer-grid p { margin: 0 0 12px; font-size: .92rem; }
.footer-grid a { text-decoration: none; }
.footer-grid a:hover { color: var(--white); }
.footer-brand img { width: 170px; margin-bottom: 22px; }
.footer-brand p { max-width: 34ch; }
.footer-grid .menu { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; font-size: .92rem; }
.socials { display: flex; gap: 16px; }
.footer-legal { display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; padding-top: 24px; padding-bottom: 32px; border-top: 1px solid var(--line-light); font-size: .78rem; color: rgba(255,255,255,.45); }
.footer-legal a { color: inherit; }

/* WhatsApp */
.wa-float {
	position: fixed; right: 22px; bottom: 22px; z-index: 90; width: 56px; height: 56px; border-radius: 50%;
	display: grid; place-items: center; background: #25d366; color: var(--white); box-shadow: 0 14px 30px -10px rgba(0,0,0,.45);
	transition: transform .3s var(--ease);
}
.wa-float:hover { transform: scale(1.07); }

/* Lightbox */
.lightbox { position: fixed; inset: 0; z-index: 200; background: rgba(10,14,26,.94); display: grid; place-items: center; }
.lightbox[hidden] { display: none; }
.lightbox img { max-width: 90vw; max-height: 86vh; object-fit: contain; }
.lightbox button { position: absolute; background: none; border: 0; color: var(--white); font-size: 2rem; cursor: pointer; padding: 16px; }
.lb-close { top: 10px; right: 16px; }
.lb-prev { left: 10px; top: 50%; transform: translateY(-50%); }
.lb-next { right: 10px; top: 50%; transform: translateY(-50%); }

/* Animazioni di comparsa */
.reveal { transition: opacity 1s var(--ease), transform 1s var(--ease); }
.reveal-ready .reveal:not(.is-in):not(.hero .reveal) { opacity: 0; transform: translateY(26px); }
.hero .reveal { animation: fadeUp 1.1s var(--ease) both; }
.hero .reveal:nth-child(2) { animation-delay: .12s; }
.hero .reveal:nth-child(3) { animation-delay: .24s; }
.hero .reveal:nth-child(4) { animation-delay: .36s; }
.hero .reveal:nth-child(5) { animation-delay: .48s; }
@keyframes fadeUp { from { opacity: 0; transform: translateY(26px); } to { opacity: 1; transform: none; } }
.admin-bar .site-header { top: 32px; }
@media (max-width: 782px) { .admin-bar .site-header { top: 46px; } }
@media (max-width: 600px) { .admin-bar .site-header { top: 0; } }
.no-js .reveal { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after { animation: none !important; transition: none !important; }
	.reveal { opacity: 1; transform: none; }
	html { scroll-behavior: auto; }
}

/* ---------- Responsive ---------- */
@media (max-width: 1180px) {
	.main-nav .menu { gap: 22px; }
	.header-phone span { display: none; }
}
@media (max-width: 1024px) {
	:root { --header-h: 72px; }
	.brand, .brand .logo { width: 128px; }
	.nav-toggle { display: block; }
	.header-actions .btn, .header-phone { display: none; }
	.main-nav {
		position: fixed; inset: 0; z-index: -1; background: var(--navy); padding: calc(var(--header-h) + 40px) var(--gutter) 40px;
		display: flex; flex-direction: column; justify-content: space-between;
		opacity: 0; visibility: hidden; transition: opacity .4s var(--ease), visibility .4s;
	}
	.nav-open .main-nav { opacity: 1; visibility: visible; }
	.main-nav .menu { flex-direction: column; gap: 4px; }
	.main-nav .menu a { display: block; font-family: var(--serif); font-size: 2.2rem; letter-spacing: 0; text-transform: none; color: var(--white) !important; padding: 8px 0; }
	.main-nav a::after { display: none; }
	.nav-mobile-extra { display: grid; gap: 18px; }
	.nav-mobile-extra .btn { background: var(--copper); color: var(--ink); }
	.nav-phone { color: var(--white) !important; font-size: 1.1rem; letter-spacing: 0 !important; text-transform: none !important; }
	.nav-open .site-header { background: transparent !important; border-color: transparent !important; backdrop-filter: none !important; }
	.nav-open .logo-light { opacity: 1 !important; }
	.nav-open .logo-dark { opacity: 0 !important; }
	.nav-open .nav-toggle span { background: var(--white) !important; }
	.nav-open { overflow: hidden; }
	.grid-cards { grid-template-columns: repeat(2, 1fr); }
	.grid-residenze { grid-template-columns: repeat(2, 1fr); }
	.services-grid { grid-template-columns: repeat(2, 1fr); }
	.service:nth-child(2) { border-right: 0; }
	.service:nth-child(3) { padding-left: 0; }
	.service:nth-child(n+3) { border-top: 1px solid var(--line); }
	.immobile-body { grid-template-columns: 1fr; }
	.immobile-aside { position: static; }
	.footer-grid { grid-template-columns: 1fr 1fr; }
	.stats { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 760px) {
	body { font-size: 15.5px; }
	.search-fields { flex-direction: column; }
	.sf { border-right: 0; border-bottom: 1px solid var(--line); padding: 12px 18px; }
	.search-submit { min-height: 56px; }
	.search-toggle { display: flex; width: 100%; }
	.search-toggle label { flex: 1; text-align: center; }
	.hero { display: block; min-height: 0; }
	.hero-media { position: relative; inset: auto; aspect-ratio: var(--m-ratio, 3 / 2); }
	.hero-media picture { display: block; height: 100%; }
	.hero-media img { object-position: 50% 50%; transform: none; animation: heroFade 1.6s var(--ease) both; }
	.hero-media::after { background: linear-gradient(0deg, var(--ink) 0%, rgba(18,26,46,.55) 22%, rgba(18,26,46,0) 48%), linear-gradient(180deg, rgba(12,18,34,.55) 0%, rgba(12,18,34,0) 26%); }
	.hero-content { margin-top: -16vw; padding-top: 0; padding-bottom: 52px; }
	.hero-home .hero-media img { object-position: 71% 50%; }
	.hero-home .hero-media::after { background: linear-gradient(0deg, var(--ink) 0%, rgba(18,26,46,.5) 12%, rgba(18,26,46,0) 30%), linear-gradient(180deg, rgba(12,18,34,.55) 0%, rgba(12,18,34,0) 22%); }
	.hero-home .hero-content { margin-top: -4vw; }
	.hero-page .hero-media { margin-top: var(--header-h); }
	.hero-page .hero-content { margin-top: -8vw; }
	.strip-head { flex-direction: column; align-items: flex-start; margin-bottom: 28px; }
	.strip-nav { display: none; }
	.strip-item { height: 54vw; min-height: 220px; }
	.plan-model { width: 86%; }
	.plan-stage { height: 92vw; }
	.plan.is-2d .plan-stage { height: auto; }
	.hero-scroll { display: none; }
	.section-head { flex-direction: column; align-items: flex-start; }
	.grid-cards { grid-template-columns: 1fr; }
	.grid-residenze { grid-template-columns: 1fr; gap: 48px; }
	.residenza-media { aspect-ratio: 4 / 4.4; }
	.residenza-cta { opacity: 1; transform: translate(-50%, 0); }
	.residenza-media::after { opacity: 1; }
	.residenze-filters { gap: 8px 22px; }
	.services-grid { grid-template-columns: 1fr; }
	.service, .service:first-child, .service:nth-child(3) { padding: 32px 0; border-right: 0; border-top: 1px solid var(--line); }
	.service:first-child { border-top: 0; }
	.split, .split-reverse, .split-form { grid-template-columns: 1fr; }
	.split-reverse .split-media { order: -1; }
	.prestige-cta { grid-template-columns: 1fr; }
	.prestige-cta > div + div { border-left: 0; border-top: 1px solid var(--line-light); }
	.values { grid-template-columns: 1fr; gap: 28px; }
	.immobile-head { flex-direction: column; align-items: flex-start; }
	.gallery-3, .gallery-2 { grid-template-columns: 1fr; grid-template-rows: none; height: auto; }
	.gallery-3 .gallery-item:first-child { grid-row: auto; }
	.gallery-item { aspect-ratio: 4 / 3; }
	.gallery-3 .gallery-item:nth-child(n+2), .gallery-2 .gallery-item:nth-child(n+2) { display: none; }
	.gallery-1 { height: auto; }
	.spec-table { grid-template-columns: 1fr; }
	.attica-form .form-grid { grid-template-columns: 1fr; }
	.footer-grid { grid-template-columns: 1fr; gap: 32px; }
	.wide-photo img { aspect-ratio: 4 / 3; }
	.wa-float { right: 16px; bottom: 16px; width: 52px; height: 52px; }
}
