/* ==========================================================================
   Miglioquadro — Property Management Genova
   Foglio di stile unico. Royaletiger.
   ========================================================================== */

/* Font self-hosted (nessuna richiesta a terzi) */
@font-face{font-family:'Cormorant Garamond';font-style:normal;font-weight:500 600;font-display:swap;src:url('../fonts/cormorant.woff2') format('woff2');unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}
@font-face{font-family:'Cormorant Garamond';font-style:italic;font-weight:500;font-display:swap;src:url('../fonts/cormorant-italic.woff2') format('woff2');unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}
@font-face{font-family:'Inter';font-style:normal;font-weight:400 600;font-display:swap;src:url('../fonts/inter.woff2') format('woff2');unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}

:root {
  /* palette: inchiostro del logo + sabbia dei palazzi genovesi + terracotta per le azioni */
  --ink: #1d2a35;
  --ink-2: #2b3b48;
  --text: #34414b;
  --muted: #5f6b74;
  --bg: #faf7f2;
  --bg-alt: #f2ece2;
  --sand: #e7dccb;
  --line: #e3dacb;
  --white: #fff;
  --accent: #9e5a2f;
  --accent-dark: #834820;
  --gold: #c9a66b;

  --font-display: 'Cormorant Garamond', Georgia, serif;
  --font-body: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;

  --shadow-sm: 0 2px 8px rgba(29,42,53,.06);
  --shadow-md: 0 12px 32px rgba(29,42,53,.10);
  --shadow-lg: 0 24px 60px rgba(29,42,53,.18);
  --radius: 14px;
  --radius-lg: 22px;
  --container: 1240px;
  --nav-h: 78px;
  --ease: cubic-bezier(.22,1,.36,1);
}

/* ---------- Base ---------- */
*,*::before,*::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 96px; -webkit-text-size-adjust: 100%; overflow-x: hidden; overflow-x: clip; }
body {
  margin: 0; background: var(--bg); color: var(--text);
  font-family: var(--font-body); font-size: 1.0625rem; line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden; overflow-x: clip;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1,h2,h3,h4 { font-family: var(--font-display); color: var(--ink); font-weight: 600; line-height: 1.12; margin: 0 0 .5em; letter-spacing: -.005em; }
h1 { font-size: clamp(2.6rem, 6vw, 4.8rem); }
h2 { font-size: clamp(2.1rem, 4.2vw, 3.3rem); }
h3 { font-size: clamp(1.45rem, 2.2vw, 1.8rem); }
h4 { font-family: var(--font-body); font-size: .78rem; letter-spacing: .16em; text-transform: uppercase; font-weight: 600; }
p { margin: 0 0 1.1em; }
em.serif, .serif-it { font-family: var(--font-display); font-style: italic; font-weight: 500; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 4px; }
.skip-link { position: absolute; left: -999px; top: 8px; background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 8px; z-index: 200; }
.skip-link:focus { left: 16px; }

.container { width: min(100% - 40px, var(--container)); margin-inline: auto; }
.container-narrow { width: min(100% - 40px, 820px); margin-inline: auto; }
.section { padding: clamp(72px, 10vw, 128px) 0; }
.section-alt { background: var(--bg-alt); }
.section-dark { background: var(--ink); color: #d9dee2; }
.section-dark h2, .section-dark h3 { color: #fff; }
.section-head { max-width: 720px; margin-bottom: clamp(36px, 5vw, 60px); }
.section-head.center { margin-inline: auto; text-align: center; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 12px;
  font-size: .75rem; font-weight: 600; letter-spacing: .2em; text-transform: uppercase;
  color: var(--accent); margin-bottom: 18px;
}
.eyebrow::before { content: ""; width: 28px; height: 1px; background: currentColor; }
.section-dark .eyebrow, .hero .eyebrow { color: var(--gold); }
.lead { font-size: clamp(1.1rem, 1.6vw, 1.25rem); color: var(--muted); max-width: 62ch; }
.section-dark .lead { color: #b9c2c9; }

/* ---------- Bottoni ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 15px 28px; border-radius: 999px; border: 1px solid transparent;
  font: 600 .95rem/1 var(--font-body); letter-spacing: .02em; text-decoration: none; cursor: pointer;
  transition: background .3s var(--ease), color .3s var(--ease), border-color .3s var(--ease), transform .3s var(--ease), box-shadow .3s var(--ease);
}
.btn svg { width: 18px; height: 18px; flex: none; }
.btn-primary { background: var(--accent); color: #fff; box-shadow: 0 10px 24px rgba(158,90,47,.25); }
.btn-primary:hover { background: var(--accent-dark); transform: translateY(-2px); }
.btn-outline { border-color: currentColor; color: var(--ink); background: transparent; }
.btn-outline:hover { background: var(--ink); color: #fff; border-color: var(--ink); }
.btn-light { border-color: rgba(255,255,255,.6); color: #fff; }
.btn-light:hover { background: #fff; color: var(--ink); border-color: #fff; }
.btn-block { width: 100%; }
.link-arrow { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; color: var(--accent); text-decoration: none; font-size: .95rem; }
.link-arrow::after { content: "→"; transition: transform .3s var(--ease); }
.link-arrow:hover::after { transform: translateX(4px); }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 90; height: var(--nav-h);
  background: rgba(250,247,242,.86);
  backdrop-filter: saturate(1.4) blur(14px); -webkit-backdrop-filter: saturate(1.4) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .3s, box-shadow .3s, background .3s;
}
.site-header.scrolled { border-bottom-color: var(--line); box-shadow: var(--shadow-sm); }
.nav-inner { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.nav-brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--ink); }
.nav-brand img { width: 82px; height: auto; }
.brand-text { display: flex; flex-direction: column; line-height: 1; }
.brand-name { font-family: var(--font-display); font-size: 1.6rem; font-weight: 600; letter-spacing: .01em; }
.brand-tag { font-size: .62rem; letter-spacing: .22em; text-transform: uppercase; color: var(--muted); margin-top: 5px; }
.nav-menu { display: flex; align-items: center; gap: 4px; list-style: none; margin: 0; padding: 0; }
.nav-menu a { display: block; white-space: nowrap; padding: 10px 14px; text-decoration: none; font-size: .93rem; font-weight: 500; color: var(--ink); border-radius: 10px; transition: color .2s, background .2s; }
.nav-menu a:hover { color: var(--accent); }
.nav-menu a[aria-current="page"] { color: var(--accent); }
.nav-menu .nav-cta { margin-left: 10px; }
.nav-menu .nav-cta .btn { padding: 12px 22px; color: #fff; }

/* Menu mobile (template Royaletiger, soglia 1080px = SOGLIA in main.js) */
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 { backdrop-filter: none; -webkit-backdrop-filter: none; background: var(--bg); }
.nav-toggle {
  display: none; width: 46px; height: 46px; border: 1px solid var(--line); border-radius: 12px;
  background: transparent; cursor: pointer; align-items: center; justify-content: center; flex-direction: column; gap: 5px;
  position: relative; z-index: 5;
}
.nav-toggle span { display: block; width: 20px; height: 1.6px; background: var(--ink); transition: transform .3s var(--ease), opacity .25s var(--ease); }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(6.6px) 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.6px) rotate(-45deg); }

@media (max-width: 1080px) {
  .nav-toggle { display: flex; }
  .nav-overlay {
    display: block; position: fixed; inset: 0; z-index: 89; background: rgba(29,42,53,.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; z-index: 1; width: min(86vw, 360px); background: var(--bg);
    flex-direction: column; align-items: stretch; justify-content: flex-start; gap: 4px;
    padding: 100px 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;
  }
  .nav-menu.is-open { transform: none; visibility: visible; transition: transform .38s var(--ease), visibility 0s linear 0s; }
  .nav-menu a { padding: 14px 16px; font-size: 1.05rem; border-bottom: 1px solid var(--line); border-radius: 0; }
  .nav-menu .nav-cta { margin: 18px 0 0; }
  .nav-menu .nav-cta a { border: 0; }
  .nav-menu .nav-cta .btn { width: 100%; border-radius: 999px; }
}

/* ---------- Hero ---------- */
.hero { position: relative; min-height: min(88vh, 820px); display: flex; align-items: flex-end; color: #fff; overflow: hidden; margin-top: calc(var(--nav-h) * -1); }
.hero-media { position: absolute; inset: 0; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; }
.hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(20,30,38,.45) 0%, rgba(20,30,38,.35) 40%, rgba(20,30,38,.85) 100%), linear-gradient(90deg, rgba(20,30,38,.55) 0%, rgba(20,30,38,0) 70%); }
.hero-content { position: relative; z-index: 1; padding: calc(var(--nav-h) + 80px) 0 clamp(56px, 8vw, 96px); }
.hero h1 { color: #fff; max-width: 15ch; }
.hero h1 em { font-style: italic; font-weight: 500; color: #f3e3c8; }
.hero .lead { color: rgba(255,255,255,.88); }
.hero-cta { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 30px; }
.hero-badges { display: flex; flex-wrap: wrap; gap: 10px 28px; margin-top: 44px; padding-top: 26px; border-top: 1px solid rgba(255,255,255,.22); font-size: .9rem; color: rgba(255,255,255,.85); }
.hero-badges span { display: inline-flex; align-items: center; gap: 10px; }
.hero-badges svg { width: 18px; height: 18px; color: var(--gold); }

/* Hero pagine interne */
.page-hero { padding: clamp(56px, 8vw, 96px) 0 clamp(40px, 6vw, 72px); background: var(--bg-alt); border-bottom: 1px solid var(--line); }
.page-hero.has-image { position: relative; color: #fff; background: var(--ink); border: 0; overflow: hidden; }
.page-hero.has-image img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .38; }
.page-hero.has-image .container { position: relative; }
.page-hero.has-image h1, .page-hero.has-image .breadcrumb a, .page-hero.has-image .breadcrumb { color: #fff; }
.page-hero.has-image .lead { color: rgba(255,255,255,.85); }
.page-hero h1 { font-size: clamp(2.4rem, 5vw, 4rem); max-width: 18ch; }
.breadcrumb { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; padding: 0; margin: 0 0 22px; font-size: .82rem; color: var(--muted); }
.breadcrumb li + li::before { content: "/"; margin-right: 8px; opacity: .5; }
.breadcrumb a { text-decoration: none; }
.breadcrumb a:hover { text-decoration: underline; }

/* ---------- Placeholder bozza: foto e testi da completare ---------- */
.ph {
  position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px;
  width: 100%; height: 100%; min-height: 160px; text-align: center;
  background:
    repeating-linear-gradient(135deg, rgba(29,42,53,.035) 0 12px, transparent 12px 24px),
    linear-gradient(160deg, #efe7da, #e6dccb);
  color: #8a7a64; border: 1.5px dashed #cbbba3; border-radius: inherit;
  font-size: .78rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase;
}
.ph svg { width: 34px; height: 34px; opacity: .7; }
.ph small { font-weight: 500; letter-spacing: .04em; text-transform: none; font-size: .78rem; opacity: .85; }
.fill {
  background: rgba(201,166,107,.18); border-bottom: 1.5px dashed var(--gold);
  padding: 0 .25em; border-radius: 3px; color: inherit; font-style: normal;
}
.section-dark .fill, .page-hero.has-image .fill, .hero .fill { background: rgba(201,166,107,.22); }
.draft-note {
  display: flex; gap: 14px; align-items: flex-start;
  margin: 28px 0 0; padding: 16px 18px; border-radius: 12px;
  background: #fff8e9; border: 1px dashed #d8b46c; color: #6b5226; font-size: .9rem; line-height: 1.55;
}
.draft-note svg { width: 20px; height: 20px; flex: none; margin-top: 2px; color: #b8893a; }
.draft-note strong { color: #57401a; }
.draft-note p { margin: 0; }

/* ---------- Split / chi siamo ---------- */
.split { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(36px, 6vw, 88px); align-items: center; }
.split.reverse > :first-child { order: 2; }
.split-media { position: relative; }
.split-media img { width: 100%; border-radius: var(--radius-lg); aspect-ratio: 4/5; object-fit: cover; box-shadow: var(--shadow-md); }
.split-media .media-accent {
  position: absolute; right: -22px; bottom: -22px; width: 44%; border-radius: var(--radius);
  border: 6px solid var(--bg); aspect-ratio: 1; object-fit: cover; box-shadow: var(--shadow-md);
}
.section-alt .split-media .media-accent { border-color: var(--bg-alt); }
.signature { font-family: var(--font-display); font-style: italic; font-size: 1.6rem; color: var(--ink); margin-top: 8px; }

/* ---------- Doppio percorso: ospiti / proprietari ---------- */
.paths { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.path-card {
  position: relative; display: flex; flex-direction: column; justify-content: flex-end; min-height: 380px;
  padding: 36px; border-radius: var(--radius-lg); overflow: hidden; color: #fff; text-decoration: none; isolation: isolate;
}
.path-card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform .8s var(--ease); }
.path-card::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(20,30,38,.05) 20%, rgba(20,30,38,.86) 100%); }
.path-card:hover img { transform: scale(1.04); }
.path-card .kicker { font-size: .72rem; letter-spacing: .2em; text-transform: uppercase; color: var(--gold); font-weight: 600; margin-bottom: 10px; }
.path-card h3 { color: #fff; font-size: clamp(1.8rem, 3vw, 2.4rem); margin-bottom: 10px; }
.path-card p { color: rgba(255,255,255,.85); max-width: 42ch; margin-bottom: 20px; }
.path-card .link-arrow { color: #fff; }

/* ---------- Card strutture ---------- */
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px; }
.property-card { display: flex; flex-direction: column; background: var(--white); border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-sm); border: 1px solid var(--line); transition: transform .4s var(--ease), box-shadow .4s var(--ease); }
.property-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.property-media { aspect-ratio: 4/3; border-radius: 0; }
.property-media .ph { border-width: 0 0 1.5px; border-radius: 0; }
.property-body { padding: 24px 24px 26px; display: flex; flex-direction: column; flex: 1; }
.property-loc { font-size: .78rem; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin-bottom: 6px; display: flex; align-items: center; gap: 6px; }
.property-loc svg { width: 14px; height: 14px; }
.property-body h3 { margin-bottom: 10px; }
.property-body h3 a { text-decoration: none; }
.property-facts { display: flex; flex-wrap: wrap; gap: 8px 16px; font-size: .86rem; color: var(--muted); margin: 0 0 18px; padding: 0; list-style: none; }
.property-facts li { display: inline-flex; align-items: center; gap: 6px; }
.property-facts svg { width: 16px; height: 16px; color: var(--accent); }
.property-actions { margin-top: auto; display: flex; gap: 10px; flex-wrap: wrap; }
.property-actions .btn { padding: 12px 18px; font-size: .88rem; flex: 1; }
.tag-example { position: absolute; top: 14px; left: 14px; z-index: 2; background: var(--ink); color: #fff; font-size: .7rem; letter-spacing: .14em; text-transform: uppercase; padding: 6px 10px; border-radius: 999px; font-weight: 600; }
.property-card .property-media { position: relative; }

/* ---------- Feature ---------- */
.feature { padding: 34px 30px; background: var(--white); border-radius: var(--radius-lg); border: 1px solid var(--line); height: 100%; }
.feature-icon { width: 54px; height: 54px; border-radius: 50%; display: grid; place-items: center; background: var(--bg-alt); color: var(--accent); margin-bottom: 22px; }
.feature-icon svg { width: 26px; height: 26px; }
.feature p { color: var(--muted); margin: 0; }
.section-dark .feature { background: rgba(255,255,255,.04); border-color: rgba(255,255,255,.1); }
.section-dark .feature p { color: #b9c2c9; }
.section-dark .feature-icon { background: rgba(201,166,107,.14); color: var(--gold); }

/* ---------- Guida digitale (promo) ---------- */
.guide-promo { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 6vw, 96px); align-items: center; }
.check-list { list-style: none; padding: 0; margin: 24px 0 32px; display: grid; gap: 12px; }
.check-list li { display: flex; gap: 12px; align-items: flex-start; }
.check-list svg { width: 22px; height: 22px; flex: none; color: var(--gold); margin-top: 3px; }
.phone {
  position: relative; width: min(320px, 82vw); margin-inline: auto; aspect-ratio: 9/18.5;
  border-radius: 44px; background: #0f171e; padding: 12px; box-shadow: 0 40px 80px rgba(0,0,0,.35), inset 0 0 0 2px #2b3843;
}
.phone::before { content: ""; position: absolute; top: 20px; left: 50%; transform: translateX(-50%); width: 92px; height: 24px; border-radius: 20px; background: #0f171e; z-index: 2; }
.phone-screen { height: 100%; border-radius: 34px; overflow: hidden; background: var(--bg); color: var(--text); display: flex; flex-direction: column; }
.phone-cover { height: 34%; border-radius: 0; }
.phone-cover .ph { border-width: 0; font-size: .6rem; }
.phone-cover .ph svg { width: 24px; height: 24px; }
.phone-body { padding: 16px 16px 0; }
.phone-body .t1 { font-family: var(--font-display); font-size: 1.35rem; font-weight: 600; color: var(--ink); line-height: 1.1; margin: 0 0 4px; }
.phone-body .t2 { font-size: .68rem; color: var(--muted); letter-spacing: .1em; text-transform: uppercase; margin: 0 0 14px; }
.phone-tiles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.phone-tiles span { display: flex; flex-direction: column; align-items: center; gap: 5px; padding: 10px 4px; border-radius: 12px; background: #fff; border: 1px solid var(--line); font-size: .58rem; font-weight: 600; color: var(--ink); text-align: center; line-height: 1.2; }
.phone-tiles svg { width: 18px; height: 18px; color: var(--accent); }

/* ---------- Recensioni ---------- */
.review { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 32px 30px; display: flex; flex-direction: column; height: 100%; }
.stars { display: flex; gap: 3px; color: var(--gold); margin-bottom: 18px; }
.stars svg { width: 18px; height: 18px; }
.review blockquote { margin: 0 0 24px; font-family: var(--font-display); font-size: 1.32rem; line-height: 1.4; color: var(--ink); font-style: italic; }
.review-ph-lines { display: grid; gap: 10px; margin-bottom: 26px; }
.review-ph-lines i { display: block; height: 10px; border-radius: 6px; background: var(--bg-alt); }
.review-ph-lines i:nth-child(2) { width: 92%; } .review-ph-lines i:nth-child(3) { width: 70%; }
.review footer { margin-top: auto; display: flex; align-items: center; gap: 12px; font-size: .9rem; }
.review .avatar { width: 42px; height: 42px; border-radius: 50%; background: var(--sand); display: grid; place-items: center; font-weight: 600; color: var(--ink); }
.review .source { display: block; color: var(--muted); font-size: .8rem; }

/* ---------- Galleria ---------- */
.gallery { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 220px; gap: 14px; }
.gallery figure { margin: 0; border-radius: var(--radius); overflow: hidden; position: relative; }
.gallery figure.tall { grid-row: span 2; }
.gallery figure.wide { grid-column: span 2; }
.gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.gallery figure:hover img { transform: scale(1.05); }

/* ---------- Servizi ---------- */
.service { display: grid; grid-template-columns: 110px 1fr; gap: 26px; padding: 32px 0; border-top: 1px solid var(--line); }
.service:last-child { border-bottom: 1px solid var(--line); }
.service-num { font-family: var(--font-display); font-size: 3rem; line-height: 1; color: var(--gold); }
.service .kicker { font-size: .74rem; letter-spacing: .18em; text-transform: uppercase; color: var(--accent); font-weight: 600; margin-bottom: 6px; display: block; }
.service p { color: var(--muted); margin: 0; max-width: 70ch; }
.service-mini { padding: 28px; border-radius: var(--radius-lg); background: var(--white); border: 1px solid var(--line); height: 100%; }
.service-mini .kicker { font-size: .72rem; letter-spacing: .18em; text-transform: uppercase; color: var(--accent); font-weight: 600; display: block; margin-bottom: 8px; }
.service-mini p { color: var(--muted); margin: 0; font-size: .97rem; }

/* ---------- Numeri / valori ---------- */
.values { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; border-top: 1px solid var(--line); }
.value { padding: 34px 30px 10px 0; }
.value + .value { padding-left: 30px; border-left: 1px solid var(--line); }
.value h3 { font-size: 1.6rem; }
.value p { color: var(--muted); }

/* ---------- CTA banner ---------- */
.cta-banner { position: relative; border-radius: var(--radius-lg); overflow: hidden; padding: clamp(48px, 7vw, 88px) clamp(28px, 6vw, 80px); color: #fff; isolation: isolate; }
.cta-banner img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.cta-banner::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(100deg, rgba(20,30,38,.92) 0%, rgba(20,30,38,.65) 60%, rgba(20,30,38,.35) 100%); }
.cta-banner h2 { color: #fff; max-width: 18ch; }
.cta-banner p { color: rgba(255,255,255,.85); max-width: 52ch; }
.cta-banner .hero-cta { margin-top: 24px; }

/* ---------- Scheda struttura ---------- */
.property-gallery { display: grid; grid-template-columns: 2fr 1fr 1fr; grid-template-rows: 230px 230px; gap: 12px; border-radius: var(--radius-lg); overflow: hidden; }
.property-gallery > div:first-child { grid-row: span 2; }
.property-gallery .ph { border-radius: 0; }
.property-layout { display: grid; grid-template-columns: 1fr 380px; gap: clamp(32px, 5vw, 72px); align-items: start; }
.property-header { margin: 36px 0 28px; }
.property-header h1 { font-size: clamp(2.4rem, 5vw, 3.6rem); margin-bottom: 10px; }
.facts-row { display: flex; flex-wrap: wrap; gap: 10px; list-style: none; padding: 0; margin: 0 0 8px; }
.facts-row li { display: inline-flex; align-items: center; gap: 8px; padding: 9px 14px; border-radius: 999px; background: var(--white); border: 1px solid var(--line); font-size: .9rem; }
.facts-row svg { width: 17px; height: 17px; color: var(--accent); }
.prop-section { padding: 36px 0; border-top: 1px solid var(--line); }
.prop-section h2 { font-size: clamp(1.8rem, 3vw, 2.3rem); }
.amenities { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px 28px; list-style: none; padding: 0; margin: 0; }
.amenities li { display: flex; gap: 12px; align-items: center; }
.amenities svg { width: 22px; height: 22px; color: var(--accent); flex: none; }
.map-ph { aspect-ratio: 16/8; border-radius: var(--radius-lg); }

.booking-card { position: sticky; top: calc(var(--nav-h) + 24px); background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg); box-shadow: var(--shadow-md); padding: 28px; margin-top: 36px; }
.booking-card h2 { font-size: 1.9rem; margin-bottom: 4px; }
.booking-card .sub { color: var(--muted); font-size: .92rem; margin-bottom: 20px; }
.field { display: flex; flex-direction: column; gap: 6px; margin-bottom: 14px; }
.field label { font-size: .74rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--ink); }
.field input, .field select, .field textarea {
  width: 100%; font: inherit; font-size: 1rem; color: var(--ink); background: var(--bg);
  border: 1px solid var(--line); border-radius: 12px; padding: 13px 14px; transition: border-color .2s, box-shadow .2s;
}
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px rgba(158,90,47,.15); }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.field-row > *, .field input { min-width: 0; }
.booking-perks { list-style: none; padding: 0; margin: 18px 0 0; display: grid; gap: 8px; font-size: .88rem; color: var(--muted); }
.booking-perks li { display: flex; gap: 10px; align-items: center; }
.booking-perks svg { width: 16px; height: 16px; color: var(--accent); flex: none; }
.form-status { font-size: .88rem; margin: 12px 0 0; min-height: 1.4em; color: var(--accent-dark); }
.powered svg { width: 14px; height: 14px; flex: none; }
.powered { display: flex; align-items: center; justify-content: center; gap: 6px; margin-top: 14px; font-size: .74rem; color: var(--muted); letter-spacing: .04em; }
.mobile-book { display: none; }

/* ---------- Contatti ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: clamp(36px, 6vw, 80px); align-items: start; }
.contact-list { list-style: none; padding: 0; margin: 0 0 30px; display: grid; gap: 18px; }
.contact-list li { display: flex; gap: 16px; align-items: flex-start; }
.contact-list .ic { width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center; background: var(--white); border: 1px solid var(--line); color: var(--accent); flex: none; }
.contact-list svg { width: 20px; height: 20px; }
.contact-list strong { display: block; font-size: .74rem; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); font-weight: 600; }
.contact-list a { text-decoration: none; font-size: 1.08rem; color: var(--ink); font-weight: 500; }
.contact-list a:hover { color: var(--accent); }
.form-card { background: var(--white); border-radius: var(--radius-lg); padding: clamp(26px, 4vw, 44px); border: 1px solid var(--line); box-shadow: var(--shadow-sm); }
.radio-row { display: flex; gap: 10px; flex-wrap: wrap; }
.radio-row label { flex: 1; min-width: 150px; display: flex; gap: 10px; align-items: center; padding: 12px 14px; border: 1px solid var(--line); border-radius: 12px; background: var(--bg); cursor: pointer; font-size: .95rem; text-transform: none; letter-spacing: 0; font-weight: 500; }
.radio-row input { accent-color: var(--accent); width: auto; }
.check { display: flex; gap: 10px; align-items: flex-start; font-size: .88rem; color: var(--muted); margin: 6px 0 20px; }
.check input { margin-top: 4px; accent-color: var(--accent); }

/* ---------- Testi legali ---------- */
.prose h2 { font-size: 1.9rem; margin-top: 1.6em; }
.prose h3 { font-size: 1.35rem; margin-top: 1.2em; }
.prose ul { padding-left: 1.2em; }
.prose a { color: var(--accent); }

/* ---------- Footer ---------- */
.site-footer { background: var(--ink); color: #b9c2c9; padding: 84px 0 0; font-size: .95rem; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 40px; padding-bottom: 56px; }
.footer-logo { width: 190px; height: auto; margin-bottom: 18px; }
.footer-brand { font-family: var(--font-display); font-size: 1.9rem; color: #fff; margin: 0 0 6px; font-weight: 600; }
.site-footer h4 { color: var(--gold); margin-bottom: 18px; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.site-footer a { text-decoration: none; color: #d9dee2; transition: color .2s; }
.site-footer a:hover { color: #fff; }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 24px; padding: 24px 0 28px; border-top: 1px solid rgba(255,255,255,.1); font-size: .84rem; color: #8f9ba4; }
.footer-bottom p { margin: 0; }
.footer-bottom a { color: #b9c2c9; }

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

/* ==========================================================================
   GUIDA DIGITALE OSPITI (pagina mobile-first, guida-esempio.html)
   ========================================================================== */
.guide-body { background: var(--bg); }
.guide-top { position: sticky; top: 0; z-index: 50; background: rgba(250,247,242,.94); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border-bottom: 1px solid var(--line); }
.guide-top-inner { display: flex; align-items: center; justify-content: space-between; height: 62px; gap: 12px; }
.guide-top .nav-brand img { width: 58px; }
.guide-top .brand-name { font-size: 1.3rem; }
.guide-call { display: inline-flex; align-items: center; gap: 8px; padding: 9px 14px; border-radius: 999px; background: var(--accent); color: #fff; text-decoration: none; font-size: .85rem; font-weight: 600; }
.guide-call svg { width: 16px; height: 16px; }
.guide-chips { display: flex; gap: 8px; overflow-x: auto; padding: 10px 0 12px; scrollbar-width: none; }
.guide-chips::-webkit-scrollbar { display: none; }
.guide-chips a { flex: none; padding: 8px 14px; border-radius: 999px; border: 1px solid var(--line); background: #fff; font-size: .82rem; font-weight: 500; text-decoration: none; color: var(--ink); white-space: nowrap; }
.guide-chips a.is-active { background: var(--ink); color: #fff; border-color: var(--ink); }
.guide-wrap { width: min(100% - 32px, 760px); margin-inline: auto; }
.guide-cover { margin-top: 20px; border-radius: var(--radius-lg); overflow: hidden; aspect-ratio: 16/10; }
.guide-hello { padding: 28px 0 8px; }
.guide-hello h1 { font-size: clamp(2.2rem, 7vw, 3.2rem); margin-bottom: 8px; }
.guide-hello p { color: var(--muted); }
.guide-tiles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin: 18px 0 8px; }
.guide-tiles a { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px; padding: 18px 8px; background: #fff; border: 1px solid var(--line); border-radius: 16px; text-decoration: none; color: var(--ink); font-size: .82rem; font-weight: 600; text-align: center; line-height: 1.25; transition: transform .25s var(--ease), box-shadow .25s var(--ease); }
.guide-tiles a:hover { transform: translateY(-2px); box-shadow: var(--shadow-sm); }
.guide-tiles svg { width: 26px; height: 26px; color: var(--accent); }
.g-section { padding: 30px 0 6px; scroll-margin-top: 130px; }
.g-section > h2 { display: flex; align-items: center; gap: 12px; font-size: clamp(1.8rem, 5vw, 2.3rem); }
.g-section > h2 .g-ic { width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; background: var(--bg-alt); color: var(--accent); flex: none; }
.g-section > h2 svg { width: 22px; height: 22px; }
.g-card { background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 20px; margin-bottom: 12px; }
.g-card h3 { font-family: var(--font-body); font-size: 1rem; font-weight: 600; margin: 0 0 8px; color: var(--ink); line-height: 1.4; }
.g-card p:last-child, .g-card ul:last-child, .g-card ol:last-child { margin-bottom: 0; }
.g-card ol, .g-card ul { padding-left: 1.2em; margin: 0 0 1em; }
.g-card li { margin-bottom: 6px; }
.g-times { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-bottom: 12px; }
.g-time { background: var(--ink); color: #fff; border-radius: 18px; padding: 18px; }
.g-time > span { display: block; font-size: .7rem; letter-spacing: .16em; text-transform: uppercase; color: var(--gold); font-weight: 600; }
.g-time strong { font-family: var(--font-display); font-size: 2rem; font-weight: 600; line-height: 1.2; }
.g-photo { aspect-ratio: 16/9; border-radius: 14px; margin: 12px 0; }
.g-photo .ph { min-height: 0; }
details.g-acc { background: #fff; border: 1px solid var(--line); border-radius: 18px; margin-bottom: 10px; overflow: hidden; }
details.g-acc summary { list-style: none; cursor: pointer; padding: 18px 20px; display: flex; align-items: center; justify-content: space-between; gap: 12px; font-weight: 600; color: var(--ink); }
details.g-acc summary::-webkit-details-marker { display: none; }
details.g-acc summary::after { content: "+"; font-size: 1.4rem; font-weight: 400; color: var(--accent); transition: transform .3s var(--ease); }
details.g-acc[open] summary::after { transform: rotate(45deg); }
details.g-acc .acc-body { padding: 0 20px 20px; }
.g-tip { display: grid; grid-template-columns: 84px 1fr; gap: 14px; align-items: center; background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 12px; margin-bottom: 10px; }
.g-tip .ph { min-height: 84px; height: 84px; border-radius: 12px; font-size: .5rem; gap: 4px; letter-spacing: .08em; }
.g-tip .ph svg { width: 18px; height: 18px; }
.g-tip h3 { font-family: var(--font-body); font-size: .98rem; font-weight: 600; margin: 0 0 2px; }
.g-tip p { margin: 0; font-size: .86rem; color: var(--muted); line-height: 1.45; }
.g-tip .g-cat { font-size: .66rem; letter-spacing: .14em; text-transform: uppercase; color: var(--accent); font-weight: 600; }
.g-sub { font-family: var(--font-body); font-size: .76rem; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); font-weight: 600; margin: 22px 0 10px; }
.g-contacts { display: grid; gap: 10px; }
.g-contact { display: flex; align-items: center; justify-content: space-between; gap: 12px; background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 16px 18px; text-decoration: none; color: var(--ink); }
.g-contact small { display: block; color: var(--muted); font-size: .8rem; }
.g-contact .go { width: 40px; height: 40px; border-radius: 50%; background: var(--bg-alt); display: grid; place-items: center; color: var(--accent); flex: none; }
.g-contact .go svg { width: 18px; height: 18px; }
.g-contact.urgent { background: var(--ink); color: #fff; border-color: var(--ink); }
.g-contact.urgent small { color: #b9c2c9; }
.g-contact.urgent .go { background: var(--accent); color: #fff; }
.guide-foot { text-align: center; padding: 40px 0 110px; color: var(--muted); font-size: .84rem; }
.guide-foot img { width: 120px; margin: 0 auto 12px; opacity: .85; }
.guide-fab { position: fixed; left: 50%; bottom: 18px; transform: translateX(-50%); z-index: 60; display: flex; gap: 8px; padding: 6px; background: var(--ink); border-radius: 999px; box-shadow: var(--shadow-lg); }
.guide-fab a { display: inline-flex; align-items: center; gap: 8px; padding: 11px 16px; border-radius: 999px; color: #fff; text-decoration: none; font-size: .86rem; font-weight: 600; white-space: nowrap; }
.guide-fab a.primary { background: var(--accent); }
.guide-fab svg { width: 17px; height: 17px; }

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .property-layout { grid-template-columns: 1fr 340px; }
  .gallery { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 900px) {
  .split, .guide-promo, .contact-grid, .property-layout { grid-template-columns: 1fr; }
  .split.reverse > :first-child { order: 0; }
  .split-media .media-accent { right: 12px; bottom: -18px; width: 38%; }
  .grid-3 { grid-template-columns: 1fr 1fr; }
  .values { grid-template-columns: 1fr; }
  .value + .value { padding-left: 0; border-left: 0; border-top: 1px solid var(--line); }
  .booking-card { position: static; }
  .mobile-book { display: flex; position: fixed; left: 0; right: 0; bottom: 0; z-index: 70; padding: 12px 16px calc(12px + env(safe-area-inset-bottom)); background: rgba(250,247,242,.96); border-top: 1px solid var(--line); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); align-items: center; justify-content: space-between; gap: 12px; }
  .mobile-book .btn { padding: 13px 20px; }
  .mobile-book small { display: block; color: var(--muted); font-size: .78rem; }
  .mobile-book strong { font-family: var(--font-display); font-size: 1.2rem; color: var(--ink); }
  .has-mobile-book .site-footer { padding-bottom: 70px; }
}
@media (max-width: 768px) {
  .paths, .grid-2 { grid-template-columns: 1fr; }
  .path-card { min-height: 320px; padding: 28px; }
  .property-gallery { grid-template-columns: 1fr 1fr; grid-template-rows: 240px 130px 130px; }
  .property-gallery > div:first-child { grid-column: span 2; grid-row: auto; }
  .amenities { grid-template-columns: 1fr; }
  .service { grid-template-columns: 1fr; gap: 6px; }
  .service-num { font-size: 2.2rem; }
}
@media (max-width: 640px) {
  .grid-3 { grid-template-columns: 1fr; }
  .gallery { grid-template-columns: 1fr 1fr; grid-auto-rows: 160px; }
  .gallery figure.wide { grid-column: span 2; }
  .footer-grid { grid-template-columns: 1fr; }
  .brand-tag { display: none; }
  .hero h1 { font-size: 2.55rem; }
  .field-row { grid-template-columns: 1fr; }
  .hero-cta .btn { flex: 1 1 100%; }
}
@media (max-width: 480px) {
  .container, .container-narrow { width: min(100% - 32px, var(--container)); }
  .nav-brand img { width: 64px; }
  .brand-name { font-size: 1.4rem; }
  .guide-tiles { grid-template-columns: repeat(2, 1fr); }
  .g-times { grid-template-columns: 1fr 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
}
@media print {
  .guide-top, .guide-fab, .site-header, .site-footer { display: none; }
}
.split-media > .ph { aspect-ratio: 4/5; border-radius: var(--radius-lg); }
.property-media img, .phone-cover img { width: 100%; height: 100%; object-fit: cover; }
.property-excerpt { color: var(--muted); font-size: .95rem; margin-bottom: 14px; }

/* ---------- Scheda struttura reale ---------- */
.property-gallery img { width: 100%; height: 100%; object-fit: cover; }
.room-card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; height: 100%; }
.room-media { aspect-ratio: 4/3; overflow: hidden; }
.room-media img { width: 100%; height: 100%; object-fit: cover; }
.room-media .ph { border-radius: 0; border-width: 0 0 1.5px; }
.room-body { padding: 22px 24px 24px; }
.room-body .kicker { font-size: .72rem; letter-spacing: .18em; text-transform: uppercase; color: var(--accent); font-weight: 600; display: block; margin-bottom: 6px; }
.room-body p { color: var(--muted); margin: 0; }

/* ---------- Guida: codice d'accesso personale ---------- */
.guide-cover img { width: 100%; height: 100%; object-fit: cover; }
.code-card { margin: 8px 0 0; padding: 22px; border-radius: 20px; background: var(--ink); color: #fff; box-shadow: var(--shadow-md); }
.code-head { display: flex; gap: 14px; align-items: center; }
.code-head strong { display: block; font-size: 1.02rem; }
.code-head small { color: #b9c2c9; font-size: .82rem; }
.code-ic { width: 44px; height: 44px; border-radius: 12px; background: rgba(201,166,107,.16); color: var(--gold); display: grid; place-items: center; flex: none; }
.code-ic svg { width: 22px; height: 22px; }
.code-digits { display: flex; gap: 10px; margin: 18px 0 14px; }
.code-digits span { flex: 1; max-width: 64px; aspect-ratio: 4/5; display: grid; place-items: center; border-radius: 12px; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.14); font-family: var(--font-display); font-size: 2rem; color: var(--gold); }
.code-when { display: flex; gap: 8px; align-items: center; margin: 0; font-size: .86rem; color: #d9dee2; }
.code-when svg { width: 16px; height: 16px; color: var(--gold); flex: none; }
.code-card .fill { background: rgba(201,166,107,.22); }
.g-steps { counter-reset: s; list-style: none; padding: 0 !important; margin: 0 0 6px; display: grid; gap: 12px; }
.g-steps li { counter-increment: s; position: relative; padding-left: 42px; min-height: 30px; margin: 0; }
.g-steps li::before { position: absolute; left: 0; top: -1px; content: counter(s); width: 30px; height: 30px; border-radius: 50%; background: var(--bg-alt); color: var(--accent); font-weight: 600; font-size: .85rem; display: grid; place-items: center; }
.g-keys { list-style: none; padding: 0 !important; margin: 0; display: grid; gap: 14px; }
.g-keys li { display: grid; grid-template-columns: 18px 1fr; gap: 12px; margin: 0; }
.key-dot { width: 14px; height: 14px; border-radius: 50%; margin-top: 6px; }

/* ---------- WhatsApp ---------- */
.wa-float { position: fixed; right: 20px; bottom: 20px; z-index: 80; display: inline-flex; align-items: center; gap: 10px; padding: 12px 18px 12px 14px; border-radius: 999px; background: #25d366; color: #0b3d1f; font-weight: 600; font-size: .92rem; text-decoration: none; box-shadow: 0 12px 30px rgba(0,0,0,.22); transition: transform .3s var(--ease), box-shadow .3s var(--ease); }
.wa-float:hover { transform: translateY(-3px); box-shadow: 0 16px 36px rgba(0,0,0,.28); }
.wa-float svg { width: 26px; height: 26px; }
.btn-wa { background: #25d366; color: #0b3d1f; }
.btn-wa:hover { background: #1fb957; transform: translateY(-2px); }
.booking-card .btn-wa { margin-top: 16px; padding: 13px 18px; font-size: .88rem; }
@media (max-width: 640px) {
  .wa-float { right: 14px; bottom: 14px; padding: 13px; }
  .wa-float span { display: none; }
}
@media (max-width: 900px) { .has-mobile-book .wa-float { bottom: 88px; } }

/* ---------- Google Maps con consenso ---------- */
.map-embed { position: relative; aspect-ratio: 16/9; border-radius: var(--radius-lg); overflow: hidden; background: linear-gradient(160deg, #efe7da, #e6dccb); border: 1px solid var(--line); margin-top: 6px; }
.map-embed iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.map-consent { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px; padding: 24px; text-align: center; color: var(--text); }
.map-consent > svg { width: 34px; height: 34px; color: var(--accent); }
.map-consent p { margin: 0; font-size: .92rem; max-width: 40ch; }
.map-actions { display: flex; gap: 10px; flex-wrap: wrap; justify-content: center; margin-top: 6px; }
.map-actions .btn { padding: 11px 18px; font-size: .86rem; }
@media (max-width: 480px) { .map-embed { aspect-ratio: 4/5; } }

/* ---------- Banner cookie ---------- */
.cookie-banner { position: fixed; left: 20px; bottom: 20px; z-index: 95; width: min(420px, calc(100% - 40px)); background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); padding: 20px 22px; font-size: .9rem; }
.cookie-banner p { margin: 0 0 14px; color: var(--text); }
.cookie-banner a { color: var(--accent); }
.cookie-actions { display: flex; gap: 10px; }
.cookie-actions .btn { flex: 1; padding: 12px 14px; font-size: .86rem; }
@media (max-width: 640px) { .cookie-banner { left: 12px; right: 12px; bottom: 12px; width: auto; } }
.field-label { font-size: .74rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--ink); }
