/* ==========================================================================
   White RE — foglio di stile unico
   Palette: nero del marchio + bianco + avorio caldo, champagne solo per dettagli.
   Font self-hosted: Cormorant Garamond (titoli) + Jost (testo).
   ========================================================================== */
@font-face { font-family: 'Cormorant Garamond'; src: url('../fonts/cormorant-garamond-var.woff2') format('woff2'); font-weight: 300 700; font-style: normal; font-display: swap; }
@font-face { font-family: 'Cormorant Garamond'; src: url('../fonts/cormorant-garamond-italic.woff2') format('woff2'); font-weight: 300 700; font-style: italic; font-display: swap; }
@font-face { font-family: 'Jost'; src: url('../fonts/jost-variable.woff2') format('woff2'); font-weight: 300 700; font-style: normal; font-display: swap; }

:root {
  --ink: #111111; --ink-2: #1d1c1a; --text: #3b3833; --muted: #6f6a62;
  --bg: #ffffff; --bg-alt: #f6f3ee; --sand: #ece5d9; --line: #e4ddd1;
  --gold: #82653a; --gold-soft: #cdb894;
  --ok: #2f6b4f; --warn: #fff3b0;
  --font-display: 'Cormorant Garamond', 'Times New Roman', serif;
  --font-body: 'Jost', 'Helvetica Neue', Arial, sans-serif;
  --shadow-sm: 0 2px 10px rgba(17,17,17,.06);
  --shadow-md: 0 14px 40px rgba(17,17,17,.10);
  --shadow-lg: 0 30px 80px rgba(17,17,17,.22);
  --radius: 2px; --container: 1280px; --nav-h: 84px;
  --ease: cubic-bezier(.22,1,.36,1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 100px; -webkit-text-size-adjust: 100%; overflow-x: hidden; }
body { margin: 0; font-family: var(--font-body); font-weight: 350; font-size: 1.0625rem; line-height: 1.75; color: var(--text); background: var(--bg); -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 400; color: var(--ink); line-height: 1.12; margin: 0 0 .5em; letter-spacing: -.005em; }
h1 { font-size: clamp(2.5rem, 6.4vw, 5.4rem); font-weight: 300; }
h2 { font-size: clamp(2rem, 4.2vw, 3.4rem); font-weight: 300; }
h3 { font-size: clamp(1.4rem, 2.2vw, 1.75rem); }
h4 { font-family: var(--font-body); font-size: .78rem; letter-spacing: .24em; text-transform: uppercase; font-weight: 500; }
p { margin: 0 0 1.15em; }
em { font-style: italic; }
strong { font-weight: 500; color: var(--ink); }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--ink); color: #fff; padding: 10px 16px; z-index: 200; }
.skip:focus { left: 8px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.container { width: min(100% - 32px, var(--container)); margin-inline: auto; }
.narrow { width: min(100% - 32px, 820px); margin-inline: auto; }
.section { padding: clamp(72px, 10vw, 140px) 0; }
.section-alt { background: var(--bg-alt); }
.section-dark { background: var(--ink); color: #d9d4cb; }
.section-dark h2, .section-dark h3 { color: #fff; }
.eyebrow { display: inline-flex; align-items: center; gap: 14px; font-size: .74rem; letter-spacing: .3em; text-transform: uppercase; font-weight: 500; color: var(--gold); margin-bottom: 22px; }
.eyebrow::before { content: ''; width: 34px; height: 1px; background: currentColor; }
.lead { font-size: clamp(1.1rem, 1.6vw, 1.3rem); line-height: 1.7; color: var(--text); font-weight: 300; }
.center { text-align: center; }
.center .eyebrow { justify-content: center; }
.head { max-width: 760px; margin-bottom: clamp(40px, 6vw, 72px); }
.head.center { margin-inline: auto; }
.da-completare { background: var(--warn); color: #5a4a00; padding: 0 .25em; }

/* ---------- pulsanti ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 12px; min-height: 52px; padding: 0 30px; border: 1px solid var(--ink); background: var(--ink); color: #fff; font: 500 .78rem/1 var(--font-body); letter-spacing: .22em; text-transform: uppercase; text-decoration: none; cursor: pointer; transition: background .35s var(--ease), color .35s var(--ease), border-color .35s var(--ease); border-radius: var(--radius); }
.btn:hover { background: transparent; color: var(--ink); }
.btn-light { background: #fff; color: var(--ink); border-color: #fff; }
.btn-light:hover { background: transparent; color: #fff; }
.btn-ghost { background: transparent; color: var(--ink); }
.btn-ghost:hover { background: var(--ink); color: #fff; }
.btn-ghost-light { background: transparent; color: #fff; border-color: rgba(255,255,255,.7); }
.btn-ghost-light:hover { background: #fff; color: var(--ink); }
.btn svg { width: 16px; height: 16px; }
.link-arrow { display: inline-flex; align-items: center; gap: 10px; font-size: .78rem; letter-spacing: .22em; text-transform: uppercase; font-weight: 500; text-decoration: none; color: var(--ink); border-bottom: 1px solid var(--gold); padding-bottom: 6px; transition: gap .3s var(--ease); }
.link-arrow:hover { gap: 16px; }
.btns { display: flex; flex-wrap: wrap; gap: 14px; }

/* ---------- header ---------- */
.site-header { position: fixed; inset: 0 0 auto 0; z-index: 90; height: var(--nav-h); color: #fff; transition: background .4s var(--ease), color .4s var(--ease), box-shadow .4s var(--ease), height .4s var(--ease); }
.site-header::before { content: ''; position: absolute; inset: 0 0 -40px 0; background: linear-gradient(rgba(0,0,0,.45), rgba(0,0,0,0)); pointer-events: none; transition: opacity .4s; }
.site-header.scrolled, .site-header.solid { background: #fff; color: var(--ink); box-shadow: 0 1px 0 var(--line); --nav-h: 72px; height: 72px; }
.site-header.scrolled::before, .site-header.solid::before { opacity: 0; }
.nav { position: relative; height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: flex; align-items: center; flex-shrink: 0; }
.brand img { width: 118px; height: auto; transition: width .4s var(--ease); }
.site-header.scrolled .brand img, .site-header.solid .brand img { width: 96px; }
.brand .logo-dark { display: none; }
.site-header.scrolled .logo-light, .site-header.solid .logo-light { display: none; }
.site-header.scrolled .logo-dark, .site-header.solid .logo-dark { display: block; }
.nav-menu { display: flex; align-items: center; gap: 4px; list-style: none; margin: 0; padding: 0; }
.nav-menu > li { position: relative; }
.nav-menu a, .nav-menu .sub-toggle { display: block; white-space: nowrap; padding: 10px 12px; font-size: .74rem; letter-spacing: .2em; text-transform: uppercase; font-weight: 500; text-decoration: none; color: inherit; background: none; border: 0; font-family: var(--font-body); cursor: pointer; }
.nav-menu a[aria-current="page"], .nav-menu .is-current > .sub-toggle { color: var(--gold-soft); }
.site-header.scrolled .nav-menu a[aria-current="page"], .site-header.solid .nav-menu a[aria-current="page"], .site-header.scrolled .is-current > .sub-toggle, .site-header.solid .is-current > .sub-toggle { color: var(--gold); }
.sub-toggle::after { content: ''; display: inline-block; width: 5px; height: 5px; border-right: 1px solid currentColor; border-bottom: 1px solid currentColor; transform: rotate(45deg) translate(-2px, -2px); margin-left: 8px; }
.submenu { list-style: none; margin: 0; padding: 14px 0; position: absolute; left: 0; top: 100%; min-width: 240px; background: #fff; color: var(--ink); box-shadow: var(--shadow-md); opacity: 0; visibility: hidden; transform: translateY(8px); transition: opacity .3s var(--ease), transform .3s var(--ease), visibility 0s linear .3s; }
.has-sub:hover > .submenu, .has-sub:focus-within > .submenu { opacity: 1; visibility: visible; transform: none; transition: opacity .3s var(--ease), transform .3s var(--ease), visibility 0s; }
.submenu a { padding: 10px 24px; letter-spacing: .14em; }
.submenu a:hover { color: var(--gold); }
.nav-tools { display: flex; align-items: center; gap: 18px; }
.lang { display: flex; gap: 2px; list-style: none; margin: 0; padding: 0; }
.lang a { display: block; padding: 6px 7px; font-size: .7rem; letter-spacing: .14em; text-decoration: none; opacity: .62; font-weight: 500; }
.lang a[aria-current="true"] { opacity: 1; border-bottom: 1px solid currentColor; }
.lang a:hover { opacity: 1; }
.nav-cta { display: inline-flex; }
.nav-cta .btn { min-height: 44px; padding: 0 20px; background: transparent; color: inherit; border-color: currentColor; }
.nav-cta .btn:hover { background: #fff; color: var(--ink); }
.site-header.scrolled .nav-cta .btn:hover, .site-header.solid .nav-cta .btn:hover { background: var(--ink); color: #fff; }
.nav-menu .menu-extra { display: none; }

/* menu mobile — dal template collaudato (SKILL sito-html, FASE 5-bis) */
body.is-locked { position: fixed; width: 100%; overflow: hidden; top: var(--scroll-lock-top, 0); overflow-anchor: none; }
.nav-overlay { display: none; }
.site-header.has-menu-open { background: #fff; color: var(--ink); }
.site-header.has-menu-open::before { opacity: 0; }
.site-header.has-menu-open .logo-light { display: none; }
.site-header.has-menu-open .logo-dark { display: block; }
.nav-toggle { display: none; width: 46px; height: 46px; border: 1px solid currentColor; border-radius: 50%; background: transparent; color: inherit; cursor: pointer; align-items: center; justify-content: center; flex-direction: column; gap: 5px; position: relative; z-index: 2; }
.nav-toggle span { display: block; width: 18px; height: 1.4px; background: currentColor; transition: transform .3s var(--ease), opacity .25s var(--ease); }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(6.4px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6.4px) rotate(-45deg); }

@media (max-width: 1360px) {
  .nav-cta { display: none; }
}
@media (max-width: 1180px) {
  .site-header { overflow: hidden; overflow: clip; }
  .site-header.has-menu-open { overflow: visible; }
  .nav-toggle { display: flex; }
  .nav-tools .lang { display: none; }
  .nav-overlay { display: block; position: fixed; inset: 0; z-index: 89; background: rgba(0,0,0,.5); border: 0; padding: 0; cursor: pointer; opacity: 0; visibility: hidden; transition: opacity .38s var(--ease), visibility 0s linear .38s; }
  .nav-overlay.is-open { opacity: 1; visibility: visible; transition: opacity .38s var(--ease), visibility 0s linear 0s; }
  .nav-menu { position: fixed; inset: 0 0 0 auto; width: min(88vw, 380px); background: #fff; color: var(--ink); flex-direction: column; align-items: stretch; justify-content: flex-start; gap: 0; padding: 96px 26px 40px; box-shadow: var(--shadow-lg); overflow-y: auto; overscroll-behavior: contain; transform: translateX(100%); visibility: hidden; transition: transform .38s var(--ease), visibility 0s linear .38s; z-index: 1; }
  .nav-menu.is-open { transform: none; visibility: visible; transition: transform .38s var(--ease), visibility 0s linear 0s; }
  .nav-menu a, .nav-menu .sub-toggle { padding: 13px 4px; font-size: .82rem; border-bottom: 1px solid var(--line); width: 100%; text-align: left; }
  .sub-toggle { pointer-events: none; color: var(--muted) !important; font-size: .7rem !important; border-bottom: 0 !important; padding-bottom: 2px !important; }
  .sub-toggle::after { display: none; }
  .submenu { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; padding: 0 0 8px; min-width: 0; }
  .submenu a { padding: 11px 4px 11px 16px; font-size: .8rem; }
  .nav-menu .menu-extra { display: block; margin-top: 22px; }
  .menu-extra .lang { justify-content: flex-start; gap: 8px; }
  .menu-extra .lang a { opacity: .7; border: 1px solid var(--line); padding: 8px 12px; font-size: .74rem; }
  .menu-extra .lang a[aria-current="true"] { opacity: 1; border-color: var(--ink); }
  .nav-menu .menu-extra .btn { width: 100%; margin-top: 18px; padding: 0 20px; border: 1px solid var(--ink); background: var(--ink); color: #fff; text-align: center; display: flex; font-size: .74rem; }
  .menu-extra .menu-contact { margin-top: 20px; font-size: .9rem; line-height: 1.8; color: var(--muted); }
  .menu-extra .menu-contact a { border: 0; padding: 0; font-size: .9rem; letter-spacing: 0; text-transform: none; display: inline; }
}
@media (prefers-reduced-motion: reduce) { .nav-menu, .nav-overlay { transition: none; } }

/* ---------- hero ---------- */
.hero { position: relative; min-height: 100svh; display: flex; align-items: flex-end; color: #fff; overflow: hidden; background: var(--ink); }
.hero-media, .hero-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero-media img { animation: heroZoom 18s var(--ease) both; }
@keyframes heroZoom { from { transform: scale(1.08); } to { transform: scale(1); } }
.hero::after { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(0,0,0,.5) 0%, rgba(0,0,0,.18) 60%, rgba(0,0,0,0) 100%), linear-gradient(180deg, rgba(0,0,0,.2) 0%, rgba(0,0,0,.15) 35%, rgba(0,0,0,.72) 100%); }
@media (max-width: 640px) { .hero::after { background: linear-gradient(180deg, rgba(0,0,0,.35) 0%, rgba(0,0,0,.45) 40%, rgba(0,0,0,.78) 100%); } }
.hero-inner { position: relative; z-index: 1; padding: calc(var(--nav-h) + 48px) 0 clamp(48px, 8vh, 100px); }
.hero h1 { color: #fff; max-width: 17ch; margin-bottom: 22px; font-size: clamp(2.4rem, 5.2vw, 4.4rem); }
.hero h1 em { font-style: italic; color: #f1e6d2; }
.hero .lead { color: rgba(255,255,255,.88); max-width: 600px; margin-bottom: 36px; }
.hero .eyebrow { color: #e9dcc3; }
.hero-meta { display: flex; flex-wrap: wrap; gap: 10px 34px; margin-top: 36px; padding-top: 22px; border-top: 1px solid rgba(255,255,255,.25); font-size: .74rem; letter-spacing: .24em; text-transform: uppercase; color: rgba(255,255,255,.8); }
.scroll-cue { position: absolute; right: max(16px, calc((100vw - var(--container)) / 2)); bottom: 40px; z-index: 1; writing-mode: vertical-rl; font-size: .66rem; letter-spacing: .3em; text-transform: uppercase; color: rgba(255,255,255,.8); display: flex; align-items: center; gap: 14px; }
.scroll-cue::after { content: ''; width: 1px; height: 60px; background: rgba(255,255,255,.6); }

.page-hero { position: relative; min-height: clamp(440px, 64vh, 640px); display: flex; align-items: flex-end; color: #fff; background: var(--ink); overflow: hidden; }
.page-hero.slim { min-height: 360px; }
.page-hero img.bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.page-hero::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,.35), rgba(0,0,0,.62)); }
.page-hero .container { position: relative; z-index: 1; padding-bottom: clamp(44px, 7vw, 80px); padding-top: 130px; }
.page-hero h1 { color: #fff; font-size: clamp(2.3rem, 5.4vw, 4.4rem); max-width: 20ch; }
.page-hero .lead { color: rgba(255,255,255,.86); max-width: 640px; margin: 0; }
.page-hero .eyebrow { color: #e9dcc3; }
.crumbs { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; margin: 0 0 26px; padding: 0; font-size: .72rem; letter-spacing: .18em; text-transform: uppercase; color: rgba(255,255,255,.75); }
.crumbs li + li::before { content: '/'; margin-right: 8px; opacity: .6; }
.crumbs a { text-decoration: none; }
.crumbs a:hover { color: #fff; }

/* ---------- motto ---------- */
.motto { text-align: center; }
.motto .motto-h { margin: 0 auto; max-width: 980px; font-weight: 300; font-size: clamp(1.9rem, 4.4vw, 3.6rem); line-height: 1.18; }
.motto .motto-h em { color: var(--gold); }
.motto p { max-width: 720px; margin: 30px auto 0; }
.pillars { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); margin-top: clamp(48px, 7vw, 84px); text-align: left; }
.pillar { background: #fff; padding: clamp(28px, 4vw, 46px); }
.pillar .num { font-family: var(--font-display); font-size: 2.6rem; color: var(--gold); line-height: 1; margin-bottom: 18px; display: block; }
.pillar h3 { margin-bottom: 10px; }
.pillar p { margin: 0; font-size: 1rem; }

/* ---------- card immobili ---------- */
.filters { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 40px; }
.filters .group { display: flex; flex-wrap: wrap; gap: 8px; margin-right: 24px; }
.chip { border: 1px solid var(--line); background: #fff; color: var(--text); padding: 10px 18px; font: 500 .72rem/1 var(--font-body); letter-spacing: .16em; text-transform: uppercase; cursor: pointer; border-radius: 40px; transition: all .25s; }
.chip:hover { border-color: var(--ink); }
.chip[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: #fff; }
.grid-props { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(22px, 3vw, 40px); }
.prop-card { position: relative; display: flex; flex-direction: column; background: #fff; text-decoration: none; color: inherit; }
.prop-card[hidden] { display: none; }
.prop-media { position: relative; aspect-ratio: 4 / 3; overflow: hidden; background: var(--sand); }
.prop-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.prop-card:hover .prop-media img { transform: scale(1.06); }
.badge { position: absolute; top: 16px; left: 16px; z-index: 1; background: rgba(255,255,255,.94); color: var(--ink); padding: 7px 12px; font-size: .64rem; letter-spacing: .2em; text-transform: uppercase; font-weight: 500; }
.badge.sold { background: var(--ink); color: #fff; }
.prop-card.is-sold .prop-media img { filter: grayscale(.6) brightness(.85); }
.prop-body { padding: 22px 2px 0; display: flex; flex-direction: column; flex: 1; }
.prop-loc { font-size: .7rem; letter-spacing: .22em; text-transform: uppercase; color: var(--gold); font-weight: 500; margin-bottom: 8px; }
.prop-card h3 { font-size: 1.5rem; margin-bottom: 14px; }
.prop-specs { display: flex; flex-wrap: wrap; gap: 6px 18px; font-size: .86rem; color: var(--muted); margin: 0 0 16px; padding: 0; list-style: none; }
.prop-specs li { display: inline-flex; align-items: center; gap: 7px; }
.prop-specs svg { width: 16px; height: 16px; stroke: var(--gold); fill: none; stroke-width: 1.3; }
.prop-price { margin-top: auto; padding-top: 14px; border-top: 1px solid var(--line); font-family: var(--font-display); font-size: 1.35rem; color: var(--ink); display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.prop-price span { font-family: var(--font-body); font-size: .7rem; letter-spacing: .2em; text-transform: uppercase; color: var(--muted); }
.empty { padding: 48px; text-align: center; border: 1px dashed var(--line); color: var(--muted); }
.grid-footer { margin-top: 56px; display: flex; justify-content: center; gap: 14px; flex-wrap: wrap; }

/* ---------- split / home staging ---------- */
.split { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(40px, 7vw, 110px); align-items: center; }
.split.rev > :first-child { order: 2; }
.split-media { position: relative; }
.split-media img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.split-media .tag { position: absolute; right: -1px; bottom: -1px; background: #fff; padding: 22px 26px; font-family: var(--font-display); font-size: 1.3rem; color: var(--ink); max-width: 260px; line-height: 1.3; }
.check { list-style: none; padding: 0; margin: 0 0 32px; }
.check li { position: relative; padding: 12px 0 12px 34px; border-bottom: 1px solid var(--line); }
.check li::before { content: ''; position: absolute; left: 2px; top: 22px; width: 14px; height: 1px; background: var(--gold); }
.section-dark .check li { border-color: rgba(255,255,255,.14); }

.ba { position: relative; aspect-ratio: 3 / 2; overflow: hidden; background: #222; user-select: none; --pos: 50%; }
.ba img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.ba .ba-after { clip-path: inset(0 0 0 var(--pos)); }
.ba .ba-line { position: absolute; top: 0; bottom: 0; left: var(--pos); width: 2px; margin-left: -1px; background: #fff; pointer-events: none; }
.ba .ba-line::after { content: '‹ ›'; position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); width: 52px; height: 52px; border-radius: 50%; background: #fff; color: var(--ink); display: grid; place-items: center; font-size: 1.1rem; letter-spacing: .1em; box-shadow: var(--shadow-md); }
.ba input { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; cursor: ew-resize; margin: 0; }
.ba .ba-lab { position: absolute; top: 16px; z-index: 1; background: rgba(17,17,17,.75); color: #fff; font-size: .66rem; letter-spacing: .22em; text-transform: uppercase; padding: 7px 12px; pointer-events: none; }
.ba .ba-lab.l { left: 16px; } .ba .ba-lab.r { right: 16px; }
.ba-wrap { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.ba-cap { font-size: .9rem; color: var(--muted); margin-top: 12px; }

/* ---------- destinazioni ---------- */
.dest { display: grid; grid-template-columns: 1.4fr 1fr 1fr; grid-template-rows: 300px 300px; gap: 14px; }
.dest a { position: relative; overflow: hidden; color: #fff; text-decoration: none; display: flex; align-items: flex-end; padding: 26px; background: var(--ink); }
.dest a:first-child { grid-row: span 2; }
.dest img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); opacity: .82; }
.dest a::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 45%, rgba(0,0,0,.7)); }
.dest a:hover img { transform: scale(1.06); }
.dest span { position: relative; z-index: 1; }
.dest strong { display: block; font-family: var(--font-display); font-weight: 400; font-size: clamp(1.6rem, 2.6vw, 2.3rem); color: #fff; line-height: 1.1; }
.dest small { font-size: .7rem; letter-spacing: .22em; text-transform: uppercase; opacity: .85; }

/* ---------- servizi ---------- */
.services { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); }
.service { background: #fff; padding: clamp(30px, 4vw, 48px); display: flex; flex-direction: column; }
.section-alt .service { background: var(--bg-alt); }
.service svg { width: 40px; height: 40px; stroke: var(--gold); fill: none; stroke-width: 1.1; margin-bottom: 26px; }
.service h3 { margin-bottom: 12px; }
.service p { font-size: 1rem; margin-bottom: 0; }
.service .link-arrow { margin-top: 24px; align-self: flex-start; }
.service-long { display: grid; grid-template-columns: 90px 1fr; gap: 30px; padding: clamp(34px, 5vw, 56px) 0; border-top: 1px solid var(--line); }
.service-long:last-child { border-bottom: 1px solid var(--line); }
.service-long .num { font-family: var(--font-display); font-size: 3rem; color: var(--gold); line-height: 1; }
.service-long ul { margin: 0 0 1em; padding-left: 1.1em; }

/* ---------- numeri / steps ---------- */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; counter-reset: s; }
.step { border-top: 1px solid rgba(255,255,255,.2); padding-top: 24px; }
.section:not(.section-dark) .step { border-color: var(--line); }
.step::before { counter-increment: s; content: '0' counter(s); font-family: var(--font-display); font-size: 2.4rem; color: var(--gold-soft); display: block; line-height: 1; margin-bottom: 16px; }
.section:not(.section-dark) .step::before { color: var(--gold); }
.step h3 { font-size: 1.35rem; }
.step p { font-size: .98rem; margin: 0; }
.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); margin: 40px 0; }
.stat { background: #fff; padding: 30px; }
.stat b { display: block; font-family: var(--font-display); font-weight: 400; font-size: clamp(2.4rem, 4vw, 3.4rem); color: var(--ink); line-height: 1; margin-bottom: 10px; }
.stat span { font-size: .92rem; color: var(--muted); }

/* ---------- partner ---------- */
.partners { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.partner { position: relative; padding: clamp(32px, 5vw, 56px); border: 1px solid rgba(255,255,255,.16); text-decoration: none; display: flex; flex-direction: column; transition: background .4s var(--ease); }
.partner:hover { background: rgba(255,255,255,.04); }
.partner small { font-size: .7rem; letter-spacing: .24em; text-transform: uppercase; color: var(--gold-soft); }
.partner h3 { font-size: clamp(1.8rem, 3vw, 2.4rem); margin: 14px 0; }
.partner p { margin-bottom: 26px; }
.partner .link-arrow { color: #fff; margin-top: auto; align-self: flex-start; }
.partner-cta { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px; padding: clamp(30px, 5vw, 52px); background: var(--ink); color: #fff; margin: 48px 0; }
.partner-cta p { margin: 0; font-family: var(--font-display); font-size: clamp(1.5rem, 2.6vw, 2.1rem); line-height: 1.25; max-width: 640px; }
.partner-cta small { display: block; font-family: var(--font-body); font-size: .72rem; letter-spacing: .22em; text-transform: uppercase; color: var(--gold-soft); margin-bottom: 8px; }
.prose h2 { font-size: clamp(1.8rem, 3.2vw, 2.6rem); margin-top: 1.6em; }
.prose h2:first-child { margin-top: 0; }
.prose h3 { margin-top: 1.4em; }
.prose ul { padding-left: 1.2em; }
.prose li { margin-bottom: .5em; }
.prose a { text-decoration-color: var(--gold); text-underline-offset: 3px; }
.faq details { border-bottom: 1px solid var(--line); padding: 4px 0; }
.faq summary { cursor: pointer; list-style: none; padding: 20px 40px 20px 0; position: relative; font-family: var(--font-display); font-size: 1.35rem; color: var(--ink); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; position: absolute; right: 4px; top: 16px; font-size: 1.6rem; color: var(--gold); transition: transform .3s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { padding-bottom: 12px; }

/* ---------- chi siamo ---------- */
.values { display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; }
.value h3 { font-size: 1.4rem; }
.value p { font-size: .98rem; }
.team-roles { display: flex; flex-wrap: wrap; gap: 10px; margin: 28px 0 0; padding: 0; list-style: none; }
.team-roles li { border: 1px solid var(--line); padding: 9px 16px; font-size: .76rem; letter-spacing: .14em; text-transform: uppercase; }

/* ---------- contatti ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1.25fr; gap: clamp(40px, 6vw, 90px); }
.offices { display: grid; gap: 1px; background: var(--line); border: 1px solid var(--line); margin-bottom: 28px; }
.office { background: #fff; padding: 26px 28px; }
.office h3 { font-size: 1.45rem; margin-bottom: 6px; }
.office p { margin: 0; }
.office a { text-decoration: none; border-bottom: 1px solid var(--gold); }
.contact-lines { list-style: none; padding: 0; margin: 0 0 28px; }
.contact-lines li { display: flex; gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.contact-lines b { min-width: 92px; font-weight: 500; font-size: .74rem; letter-spacing: .2em; text-transform: uppercase; color: var(--muted); padding-top: 4px; }
.contact-lines a { text-decoration: none; color: var(--ink); }
.form { display: grid; grid-template-columns: 1fr 1fr; gap: 18px 20px; }
.form .full { grid-column: 1 / -1; }
.form label { display: block; font-size: .72rem; letter-spacing: .18em; text-transform: uppercase; font-weight: 500; color: var(--muted); margin-bottom: 8px; }
.form input, .form select, .form textarea { width: 100%; border: 0; border-bottom: 1px solid #cfc7b9; background: transparent; padding: 12px 2px; font: 400 1rem var(--font-body); color: var(--ink); border-radius: 0; }
.form textarea { min-height: 130px; resize: vertical; border: 1px solid #cfc7b9; padding: 12px; }
.form input:focus, .form select:focus, .form textarea:focus { outline: none; border-color: var(--ink); }
.form .privacy { display: flex; gap: 12px; align-items: flex-start; font-size: .9rem; text-transform: none; letter-spacing: 0; color: var(--text); }
.form .privacy input { width: 18px; height: 18px; margin-top: 4px; flex-shrink: 0; accent-color: var(--ink); }
.form .hp { position: absolute; left: -5000px; }
.form-status { grid-column: 1 / -1; min-height: 1.5em; font-size: .95rem; }
.form-status.ok { color: var(--ok); } .form-status.err { color: #9b2c2c; }
.map-box { margin-top: 28px; aspect-ratio: 16 / 9; background: var(--bg-alt); border: 1px solid var(--line); display: grid; place-items: center; text-align: center; padding: 24px; font-size: .95rem; }
.map-box iframe { width: 100%; height: 100%; border: 0; }

/* ---------- scheda immobile ---------- */
.gallery { position: relative; display: grid; grid-template-columns: 2fr 1fr 1fr; grid-template-rows: 1fr 1fr; gap: 8px; height: min(78vh, 680px); margin-top: var(--nav-h); }
.gallery a { position: relative; overflow: hidden; display: block; background: var(--sand); }
.gallery a:first-child { grid-row: span 2; }
.gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); }
.gallery a:hover img { transform: scale(1.04); }
.gallery .more { position: absolute; z-index: 2; right: 16px; bottom: 16px; background: #fff; color: var(--ink); border: 0; cursor: pointer; font-family: var(--font-body); padding: 12px 18px; font-size: .7rem; letter-spacing: .2em; text-transform: uppercase; font-weight: 500; }
.gallery.n1 { grid-template-columns: 1fr; } .gallery.n1 a:first-child { grid-row: span 2; }
.gallery.n2, .gallery.n3, .gallery.n4 { grid-template-columns: 2fr 1fr; }
.gallery .extra { display: none; }
.prop-head { padding: 44px 0 10px; }
.prop-head .crumbs { color: var(--muted); }
.prop-head .crumbs a:hover { color: var(--ink); }
.prop-head h1 { font-size: clamp(2.1rem, 4.6vw, 3.8rem); max-width: 24ch; }
.prop-layout { display: grid; grid-template-columns: 1fr 380px; gap: clamp(40px, 6vw, 90px); align-items: start; padding-bottom: clamp(70px, 9vw, 120px); }
.prop-desc { font-size: 1.08rem; }
.prop-desc h2 { font-size: 2rem; margin-top: 1.4em; }
.prop-aside { position: sticky; top: 100px; border: 1px solid var(--line); padding: 32px; background: #fff; }
.prop-aside .price { font-family: var(--font-display); font-size: 2.2rem; color: var(--ink); line-height: 1.1; margin-bottom: 4px; }
.prop-aside .price-note { font-size: .72rem; letter-spacing: .2em; text-transform: uppercase; color: var(--muted); }
.facts { list-style: none; padding: 0; margin: 24px 0; display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background: var(--line); border: 1px solid var(--line); }
.facts li { background: #fff; padding: 14px 16px; }
.facts b { display: block; font-family: var(--font-display); font-size: 1.45rem; font-weight: 400; color: var(--ink); }
.facts span { font-size: .68rem; letter-spacing: .18em; text-transform: uppercase; color: var(--muted); }
.prop-aside .btn { width: 100%; margin-top: 10px; }
.status-pill { display: inline-block; margin-bottom: 14px; font-size: .66rem; letter-spacing: .22em; text-transform: uppercase; padding: 6px 12px; border: 1px solid var(--line); }
.status-pill.sold { background: var(--ink); color: #fff; border-color: var(--ink); }
.lightbox { position: fixed; inset: 0; z-index: 300; background: rgba(10,10,10,.96); display: none; align-items: center; justify-content: center; }
.lightbox.is-open { display: flex; }
.lightbox img { max-width: 92vw; max-height: 84vh; width: auto; height: auto; object-fit: contain; }
.lightbox button { position: absolute; background: none; border: 1px solid rgba(255,255,255,.4); color: #fff; width: 52px; height: 52px; border-radius: 50%; font-size: 1.3rem; cursor: pointer; }
.lightbox .lb-close { top: 20px; right: 20px; }
.lightbox .lb-prev { left: 20px; top: 50%; transform: translateY(-50%); }
.lightbox .lb-next { right: 20px; top: 50%; transform: translateY(-50%); }
.lightbox .lb-count { position: absolute; bottom: 22px; left: 0; right: 0; text-align: center; color: rgba(255,255,255,.7); font-size: .8rem; letter-spacing: .2em; }

/* ---------- CTA + footer ---------- */
.cta-band { position: relative; color: #fff; text-align: center; overflow: hidden; background: var(--ink); }
.cta-band img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .38; }
.cta-band .container { position: relative; }
.cta-band h2 { color: #fff; max-width: 18ch; margin-inline: auto; }
.cta-band p { max-width: 620px; margin: 0 auto 36px; color: rgba(255,255,255,.85); }
.cta-band .btns { justify-content: center; }
.site-footer { background: var(--ink-2); color: #b9b3a9; padding: clamp(64px, 8vw, 100px) 0 0; font-size: .95rem; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 44px; padding-bottom: 60px; }
.footer-brand img { width: 150px; margin-bottom: 22px; }
.footer-brand p { max-width: 320px; }
.site-footer .foot-h { font-family: var(--font-body); font-size: .78rem; letter-spacing: .24em; text-transform: uppercase; font-weight: 500; color: #fff; margin-bottom: 20px; }
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li { margin-bottom: 9px; }
.site-footer a { text-decoration: none; color: #d8d2c8; }
.site-footer a:hover { color: #fff; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.1); padding: 24px 0 30px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 24px; font-size: .82rem; color: #8f897f; }
.footer-bottom a { color: #b9b3a9; }
.footer-bottom nav { display: flex; flex-wrap: wrap; gap: 6px 20px; }
.footer-bottom button { background: none; border: 0; padding: 0; color: #b9b3a9; font: inherit; cursor: pointer; text-decoration: underline; text-underline-offset: 3px; }

/* ---------- cookie banner ---------- */
.cookie { position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 250; max-width: 520px; background: #fff; color: var(--text); box-shadow: var(--shadow-lg); padding: 24px 26px; font-size: .92rem; line-height: 1.6; border-top: 2px solid var(--gold); }
.cookie[hidden] { display: none; }
.cookie h2 { font-size: 1.4rem; margin-bottom: 8px; }
.cookie p { margin-bottom: 16px; }
.cookie .btns { gap: 10px; }
.cookie .btn { min-height: 44px; padding: 0 18px; font-size: .7rem; }

/* ---------- reveal ---------- */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity 1s var(--ease), transform 1s var(--ease); }
.reveal.is-visible { opacity: 1; transform: none; }
.no-js .reveal { opacity: 1; transform: none; }

/* ---------- 404 / legali ---------- */
.legal { padding: clamp(60px, 8vw, 100px) 0; }
.legal h2 { font-size: 1.9rem; margin-top: 1.6em; }
.legal table { width: 100%; border-collapse: collapse; font-size: .95rem; margin: 1em 0 1.6em; }
.legal th, .legal td { border: 1px solid var(--line); padding: 10px 12px; text-align: left; vertical-align: top; }

/* ---------- responsive ---------- */
@media (max-width: 1100px) {
  .grid-props { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .values, .steps { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 900px) {
  .split, .contact-grid, .prop-layout { grid-template-columns: 1fr; }
  .split.rev > :first-child { order: 0; }
  .split-media img { aspect-ratio: 4 / 3; }
  .pillars, .services { grid-template-columns: 1fr 1fr; }
  .partners, .ba-wrap { grid-template-columns: 1fr; }
  .dest { grid-template-columns: 1fr 1fr; grid-template-rows: 340px 220px 220px; }
  .dest a:first-child { grid-column: span 2; grid-row: auto; }
  .prop-aside { position: static; }
  .gallery { grid-template-columns: 1fr 1fr; grid-template-rows: 2fr 1fr; height: 70vh; }
  .gallery a:first-child { grid-column: span 2; grid-row: auto; }
  .gallery a:nth-child(n+4) { display: none; }
  .stats { grid-template-columns: 1fr; }
  .scroll-cue { display: none; }
}
@media (max-width: 640px) {
  body { font-size: 1rem; }
  .grid-props, .pillars, .services, .values, .steps { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 36px; }
  .form { grid-template-columns: 1fr; }
  .dest { grid-template-columns: 1fr; grid-template-rows: repeat(5, 220px); }
  .dest a:first-child { grid-column: auto; }
  .service-long { grid-template-columns: 1fr; gap: 10px; }
  .hero-meta { gap: 8px 20px; font-size: .64rem; }
  .brand img { width: 100px; }
  .gallery { height: 56vh; grid-template-rows: 1fr; grid-template-columns: 1fr; }
  .gallery a:not(:first-child) { display: none; }
  .gallery a:first-child { grid-column: auto; }
  .btns .btn { width: 100%; }
  .filters .group { margin-right: 0; }
  .facts { grid-template-columns: 1fr 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
}
