/* =========================================================================
   CASE DA SOGNO IN SICILIA - assets/site.css
   DESIGN SYSTEM estratto dal template donatore (2a categoria).

   Sorgenti (ritagli 1:1, riordinati - nessuna riscrittura a memoria):
     index.html <style>          -> token, reset, tipografia, nav, hero, sezioni,
                                    card, gallery, lightbox, form, modali, footer
     camere.html <style>         -> .rm-hero, .room-row (righe alternate)
     dintorni.html <style>       -> .breadcrumb, .mag-* (griglia magazine), .dest-*
     l-appartamento.html <style> -> .lst-* (pagina dettaglio + sticky card)
     assets/blog.css             -> .to-top, componenti editoriali (.blog-*, .prose,
                                    .callout, .article-*)

   COSA E' STATO TOLTO (impianto ricettivo, o vietato dal BRIEF):
     - .qty (stepper adulti/bambini)                 -> prenotazione
     - .lst-booking-dates / .lst-date-box
       .lst-guests* / .lst-counter                   -> check-in / check-out / ospiti
     - .lst-sleep-card                               -> "dove dormirai"
     - tema Flatpickr (calendario date)              -> prenotazione
     - .map-blocked / .btn-consent-map
       .map-policy-link                              -> gate di consenso Google Maps:
                                                        vietato, la mappa e' Leaflet+OSM
     - widget chat #azc-* (2 <style> di index.html)  -> non fa parte della veste
     - img.broken::after { content: "<brand>" }      -> stringa di brand del donatore

   DIVERGENZE INTENZIONALI (marcate [DIVERGENZA] dove compaiono):
     1. html, body -> overflow-x: clip via @supports (BRIEF regola 5, sticky card)
     2. cursor: none scoped a body.custom-cursor (altrimenti una pagina senza i div
        .cursor-dot/.cursor-ring restava senza alcun cursore)
     3. blocco MAPPA riscritto per Leaflet: l'originale era un iframe Google Maps

   FONT: Fraunces + Inter da Google Fonts, da linkare nell'<head> di ogni pagina:
   <link rel="preconnect" href="https://fonts.googleapis.com">
   <link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
   <link rel="stylesheet" href="https://fonts.googleapis.com/css2?family=Fraunces:ital,opsz,wght@0,9..144,300;0,9..144,400;0,9..144,500;0,9..144,600;0,9..144,700;1,9..144,300;1,9..144,400;1,9..144,500&family=Inter:wght@300;400;500;600&display=swap">
========================================================================= */

/* =========================================================
   1. TOKEN
   Palette ink/paper/bone/gold/lake, font, --max, --gutter, --ease.
   Unica fonte di verita' del sistema: non scrivere colori letterali altrove.
========================================================= */
:root {
  --ink: #141311;
  --ink-80: rgba(20, 19, 17, 0.82);
  --ink-60: rgba(20, 19, 17, 0.58);
  --ink-40: rgba(20, 19, 17, 0.38);
  --ink-20: rgba(20, 19, 17, 0.18);
  --ink-10: rgba(20, 19, 17, 0.10);

  --paper: #F4EEE3;
  --paper-2: #EDE4D3;
  --paper-3: #E3D7C0;
  --bone: #FAF6EC;
  --bone-2: #F0EAD6;

  --gold: #A37E3F;
  --gold-2: #8A682F;
  --gold-soft: #E8C98A;
  --lake: #1B2A3A;
  --lake-2: #0F1B29;

  --font-display: 'Fraunces', 'Times New Roman', serif;
  --font-sans: 'Inter', -apple-system, system-ui, sans-serif;

  --max: 1480px;
  --gutter: clamp(20px, 4vw, 64px);

  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-power: cubic-bezier(0.65, 0, 0.35, 1);
}

/* =========================================================
   2. RESET + BASE DI PAGINA
   Include il full-bleed dei figli diretti di body (nav/main/section/footer)
   e l'override overflow-x: clip richiesto dalla sticky card.
========================================================= */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: auto; }

html, body {
  margin: 0 !important;
  padding: 0 !important;
  max-width: 100vw !important;
  width: 100% !important;
  overflow-x: hidden !important;
}
/* [DIVERGENZA] BRIEF regola 5: la sticky card richiede clip, non hidden. */
@supports (overflow-x: clip) {
  html, body { overflow-x: clip !important; }
}
main {
  display: block;
  width: 100%;
  max-width: 100vw;
  margin: 0;
  padding: 0;
}
body > nav,
body > main,
body > main > section,
body > main > header,
body > main > div.marquee-strip,
body > footer {
  width: 100vw !important;
  max-width: 100vw !important;
  margin-left: calc(50% - 50vw) !important;
  margin-right: calc(50% - 50vw) !important;
  position: relative;
}
body > main > * { box-sizing: border-box; }
html.lenis { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-smooth [data-lenis-prevent] { overscroll-behavior: contain; }
.lenis.lenis-stopped { overflow: hidden; }
body {
  font-family: var(--font-sans);
  background: var(--paper);
  color: var(--ink);
  font-weight: 400;
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}
body.no-scroll { overflow: hidden; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; background: none; border: 0; color: inherit; cursor: pointer; }
input, select, textarea { font: inherit; color: inherit; }

/* Grain overlay (solo desktop) */
@media (min-width: 901px) {
  body::after {
    content: "";
    position: fixed;
    inset: 0;
    pointer-events: none;
    background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='160' height='160'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.06 0'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
    z-index: 9998;
    mix-blend-mode: multiply;
    opacity: 0.55;
  }
}

img { background: var(--paper-3); }
img.broken {
  background: linear-gradient(135deg, var(--paper-2) 0%, var(--paper-3) 100%);
  position: relative;
}
::selection { background: var(--gold); color: var(--bone); }

/* =========================================================
   3. LOADER (opzionale)
========================================================= */
.loader {
  position: fixed;
  inset: 0;
  z-index: 10000;
  background: var(--ink);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 24px;
  transition: opacity 0.8s var(--ease) 0.4s, visibility 0.8s 1.2s;
}
.loader.hide { opacity: 0; visibility: hidden; }
.loader-mark {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 300;
  font-size: clamp(2.5rem, 6vw, 4rem);
  color: var(--bone);
  letter-spacing: 0.02em;
  opacity: 0;
  transform: translateY(20px);
  animation: loaderIn 1s var(--ease) 0.2s forwards;
}
.loader-bar {
  width: 220px; height: 1px;
  background: rgba(250,246,236,0.2);
  position: relative;
  overflow: hidden;
}
.loader-bar::after {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--gold);
  transform-origin: left;
  animation: loaderBar 1.4s var(--ease) 0.4s forwards;
}
.loader-percent {
  font-size: 11px;
  letter-spacing: 0.3em;
  color: rgba(250,246,236,0.6);
  opacity: 0;
  animation: loaderIn 0.6s var(--ease) 1s forwards;
}
@keyframes loaderIn { to { opacity: 1; transform: translateY(0); } }
@keyframes loaderBar { from { transform: scaleX(0); } to { transform: scaleX(1); } }

/* =========================================================
   4. BARRA DI PROGRESSO (opzionale)
========================================================= */
.progress {
  position: fixed;
  top: 0; left: 0;
  height: 2px;
  background: var(--gold);
  z-index: 999;
  width: 0%;
  transition: width 0.1s linear;
}

/* =========================================================
   5. CURSORE CUSTOM (opzionale, opt-in)
========================================================= */
.cursor-dot, .cursor-ring {
  position: fixed;
  top: 0; left: 0;
  pointer-events: none;
  z-index: 9999;
  transform: translate(-50%, -50%);
}
.cursor-dot {
  width: 6px; height: 6px;
  background: var(--ink);
  border-radius: 50%;
}
.cursor-ring {
  width: 36px; height: 36px;
  border: 1px solid var(--ink-40);
  border-radius: 50%;
  transition: width 0.3s var(--ease), height 0.3s var(--ease), border-color 0.3s var(--ease), background 0.3s var(--ease);
}
body.dark-cursor .cursor-dot { background: var(--bone); }
body.dark-cursor .cursor-ring { border-color: rgba(250, 246, 236, 0.4); }
body.cursor-hover .cursor-ring {
  width: 64px; height: 64px;
  background: var(--ink);
  border-color: var(--ink);
  mix-blend-mode: difference;
}
body.cursor-view .cursor-ring {
  width: 90px; height: 90px;
  background: var(--gold);
  border-color: var(--gold);
}
body.cursor-view .cursor-ring::after {
  content: "OPEN";
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 10px;
  letter-spacing: 0.2em;
  color: var(--ink);
  font-weight: 600;
}
@media (pointer: coarse) {
  body { cursor: auto; }
  .cursor-dot, .cursor-ring { display: none; }
}
/* [DIVERGENZA] scoped a body.custom-cursor: senza i div .cursor-dot/.cursor-ring
   la regola originale lasciava la pagina senza alcun cursore. */
@media (min-width: 901px) {
  body.custom-cursor { cursor: none; }
  body.custom-cursor * { cursor: none !important; }
}

/* =========================================================
   6. TIPOGRAFIA
   .eyebrow .display .h1/.h2/.h3 .lead .body-text .link-u .split-line
========================================================= */
.eyebrow {
  font-family: var(--font-sans);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--ink-60);
  display: inline-flex;
  align-items: center;
  gap: 12px;
}
.eyebrow::before {
  content: "";
  width: 28px; height: 1px;
  background: currentColor;
  display: inline-block;
}
.display {
  font-family: var(--font-display);
  font-weight: 300;
  letter-spacing: -0.02em;
  line-height: 0.98;
  font-variation-settings: "opsz" 144;
}
.display em {
  font-style: italic;
  font-weight: 300;
  color: var(--gold);
}
.h1 { font-size: clamp(3.2rem, 9vw, 8.8rem); }
.h2 { font-size: clamp(2.4rem, 6vw, 5.4rem); }
.h3 { font-size: clamp(1.6rem, 2.8vw, 2.6rem); }
.lead {
  font-family: var(--font-display);
  font-weight: 300;
  font-size: clamp(1.15rem, 1.6vw, 1.55rem);
  line-height: 1.45;
  color: var(--ink-80);
  font-variation-settings: "opsz" 48;
}
.body-text { color: var(--ink-80); max-width: 60ch; }

.link-u {
  position: relative;
  display: inline-block;
  padding-bottom: 2px;
}
.link-u::after {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  width: 100%; height: 1px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.5s var(--ease);
}
.link-u:hover::after {
  transform: scaleX(1);
  transform-origin: left;
}

.split-line {
  display: block;
  overflow: hidden;
}
.split-line > span {
  display: inline-block;
  transform: translateY(110%);
}
.split-line.in > span {
  transform: translateY(0);
  transition: transform 1.1s var(--ease);
}
.split-line:nth-child(2).in > span { transition-delay: 0.08s; }
.split-line:nth-child(3).in > span { transition-delay: 0.16s; }
.split-line:nth-child(4).in > span { transition-delay: 0.24s; }

/* =========================================================
   7. NAV + SELETTORE LINGUA + MENU MOBILE
========================================================= */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 22px var(--gutter);
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: background 0.4s var(--ease), padding 0.4s var(--ease), border-color 0.4s var(--ease), backdrop-filter 0.4s var(--ease);
  border-bottom: 1px solid transparent;
}
.nav.at-top { color: #fff; }
.nav.scrolled {
  background: rgba(244, 238, 227, 0.86);
  backdrop-filter: blur(16px) saturate(140%);
  -webkit-backdrop-filter: blur(16px) saturate(140%);
  border-bottom-color: var(--ink-10);
  padding: 14px var(--gutter);
  color: var(--ink);
}
.nav.scrolled .nav-brand small { opacity: 0.55; }

.nav-brand {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 18px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}
.nav-brand small {
  font-size: 9px;
  letter-spacing: 0.32em;
  opacity: 0.7;
  margin-top: 3px;
  font-family: var(--font-sans);
  transition: opacity 0.3s var(--ease);
}
.nav-menu {
  display: flex;
  gap: 36px;
  list-style: none;
}
.nav-menu a {
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-weight: 500;
}
.nav-cta {
  padding: 12px 22px;
  border: 1px solid currentColor;
  border-radius: 999px;
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  font-weight: 500;
  transition: background 0.4s var(--ease), color 0.4s var(--ease), transform 0.4s var(--ease);
}
.nav.at-top .nav-cta:hover { background: #fff; color: var(--ink); }
.nav.scrolled .nav-cta { background: var(--ink); color: var(--bone); border-color: var(--ink); }
.nav.scrolled .nav-cta:hover { background: var(--gold); border-color: var(--gold); transform: translateY(-2px); }

.nav-burger { display: none; flex-direction: column; gap: 5px; padding: 10px; min-width: 44px; min-height: 44px; align-items: flex-end; justify-content: center; }
.nav-burger span { width: 22px; height: 1px; background: currentColor; display: block; transition: transform 0.4s var(--ease), opacity 0.3s; }
@media (max-width: 900px) {
  .nav-menu li:not(.nav-lang) { display: none; }
  .nav-menu { gap: 0; }
  .nav-burger { display: flex; }
  .nav-cta { display: none; }
  .nav { padding: 16px var(--gutter); }
  .nav.scrolled { padding: 10px var(--gutter); }
  .nav-brand { font-size: 15px; }
  .nav-brand small { font-size: 8px; }
}

/* Language switcher — palette: gold / lake / paper / bone */
.lang-switch { position: relative; display: inline-flex; }
.lang-btn { display: inline-flex; align-items: center; gap: 6px; padding: 8px 14px; border-radius: 999px; font-family: var(--font-sans); font-size: 11px; font-weight: 500; letter-spacing: 0.2em; text-transform: uppercase; color: inherit; border: 1px solid currentColor; background: transparent; cursor: pointer; transition: background 0.4s var(--ease), color 0.4s var(--ease), border-color 0.4s var(--ease); }
.nav.scrolled .lang-btn { border-color: var(--ink-20); }
.lang-btn:hover { background: var(--gold); border-color: var(--gold); color: var(--bone); }
.lang-cur { font-weight: 600; }
.lang-arr { font-size: 8px; transition: transform 0.3s; opacity: 0.6; }
.lang-switch.open .lang-arr { transform: rotate(180deg); }
.lang-dropdown { position: absolute; top: calc(100% + 12px); right: 0; background: var(--bone); border-radius: 4px; padding: 6px; min-width: 190px; box-shadow: 0 30px 60px -20px rgba(0,0,0,0.4); display: flex; flex-direction: column; gap: 2px; opacity: 0; visibility: hidden; transform: translateY(-6px); transition: opacity 0.3s var(--ease), transform 0.3s var(--ease), visibility 0.3s; z-index: 200; border: 1px solid var(--ink-10); }
.lang-switch.open .lang-dropdown { opacity: 1; visibility: visible; transform: translateY(0); }
.lang-dropdown button { text-align: left; padding: 11px 14px; border-radius: 2px; font-family: var(--font-display); font-size: 16px; font-weight: 400; color: var(--ink); background: transparent; border: 0; cursor: pointer; display: flex; justify-content: space-between; align-items: center; transition: background 0.3s var(--ease), color 0.3s; font-variation-settings: "opsz" 48; }
.lang-dropdown button .code { font-family: var(--font-sans); font-size: 10px; letter-spacing: 0.24em; opacity: 0.5; font-weight: 500; }
.lang-dropdown button:hover { background: var(--paper); color: var(--gold); }
.lang-dropdown button.active { background: var(--gold); color: var(--ink); }
.lang-dropdown button.active .code { color: var(--ink); opacity: 0.7; }

/* Google Translate chrome cleanup */
.skiptranslate { display: none !important; }
body { top: 0 !important; }
.goog-te-banner-frame, .goog-te-balloon-frame, .goog-tooltip, .goog-tooltip:hover { display: none !important; background: transparent !important; box-shadow: none !important; }
#goog-gt-tt { display: none !important; }
.goog-te-gadget { font-size: 0 !important; height: 0 !important; overflow: hidden !important; }
font[style*="background-color"], font.goog-text-highlight { background: transparent !important; box-shadow: none !important; }

.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 99;
  background: var(--ink);
  color: var(--bone);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 32px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.5s var(--ease), visibility 0.5s;
}
.mobile-menu.open { opacity: 1; visibility: visible; }
.mobile-menu a {
  font-family: var(--font-display);
  font-size: clamp(2rem, 7vw, 3.5rem);
  font-weight: 300;
  font-style: italic;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.5s var(--ease), transform 0.5s var(--ease);
}
.mobile-menu.open a { opacity: 1; transform: translateY(0); }
.mobile-menu.open a:nth-child(1) { transition-delay: 0.1s; }
.mobile-menu.open a:nth-child(2) { transition-delay: 0.18s; }
.mobile-menu.open a:nth-child(3) { transition-delay: 0.26s; }
.mobile-menu.open a:nth-child(4) { transition-delay: 0.34s; }
.mobile-menu.open a:nth-child(5) { transition-delay: 0.42s; }
.mobile-menu.open a:nth-child(6) { transition-delay: 0.50s; }
.menu-open .nav-burger span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.menu-open .nav-burger span:nth-child(2) { opacity: 0; }
.menu-open .nav-burger span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* =========================================================
   8. HERO
========================================================= */
.hero {
  position: relative;
  height: 100vh;
  height: 100dvh;
  min-height: 600px;
  overflow: hidden;
  color: #fff;
}
@media (max-width: 700px) {
  .hero { min-height: 600px; height: auto; }
  .hero-content { padding: 88px var(--gutter) 130px; justify-content: flex-start; }
  .hero-title { font-size: clamp(3.2rem, 11vw, 5rem); max-width: 14ch; }
  .hero-meta { margin-top: 28px; }
  .hero-kicker { margin-bottom: 14px; }
}
.hero-media {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
}
.hero-media img {
  width: 100%; height: 110%;
  object-fit: cover;
  transform: scale(1.1);
  will-change: transform;
}
.hero-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(0,0,0,0.5) 0%, rgba(0,0,0,0.15) 25%, rgba(0,0,0,0.3) 55%, rgba(0,0,0,0.78) 100%),
    rgba(0,0,0,0.18);
}
.hero-content {
  position: relative;
  z-index: 2;
  height: 100%;
  padding: 140px var(--gutter) 80px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}
@media (max-height: 820px) {
  .hero-title { font-size: clamp(2.4rem, 5.5vw, 4.8rem) !important; }
  .hero-meta { margin-top: 36px !important; }
}
@media (max-height: 700px) {
  .hero-title { font-size: clamp(2.2rem, 4.6vw, 3.8rem) !important; }
  .hero-content { padding: 110px var(--gutter) 56px; }
  .hero-meta { margin-top: 24px !important; }
  .hero-kicker { margin-bottom: 20px !important; }
}
.hero-kicker {
  font-size: 11px;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  font-weight: 500;
  margin-bottom: 32px;
  opacity: 0;
  transform: translateY(20px);
}
.hero-title {
  font-size: clamp(2.6rem, 7vw, 6.4rem);
  font-weight: 300;
  line-height: 1;
  letter-spacing: -0.025em;
  max-width: 16ch;
  font-family: var(--font-display);
}
.hero-title em { font-style: italic; color: var(--gold-soft); font-weight: 300; }

.hero-meta {
  margin-top: 56px;
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 40px;
  flex-wrap: wrap;
  opacity: 0;
  transform: translateY(20px);
}
.hero-meta p {
  max-width: 32ch;
  font-family: var(--font-display);
  font-weight: 300;
  font-size: clamp(1rem, 1.3vw, 1.25rem);
  line-height: 1.5;
  opacity: 0.9;
}
.hero-scroll {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  font-size: 11px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  font-weight: 500;
}
.hero-scroll .line {
  width: 48px; height: 1px;
  background: #fff;
  position: relative;
  overflow: hidden;
}
.hero-scroll .line::after {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--gold);
  animation: scrollLine 2s var(--ease) infinite;
}
@keyframes scrollLine {
  0% { transform: translateX(-100%); }
  100% { transform: translateX(100%); }
}
.hero-index {
  position: absolute;
  top: 50%;
  right: var(--gutter);
  transform: translateY(-50%) rotate(90deg);
  transform-origin: right center;
  font-size: 11px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  font-weight: 500;
  z-index: 2;
  opacity: 0;
}
@media (max-width: 700px) {
  .hero-meta { flex-direction: column; align-items: flex-start; }
}

/* =========================================================
   9. BASE DI SEZIONE
   section, .container (max 1480px + --gutter), .chapter + .chapter-num
========================================================= */
section {
  position: relative;
  padding: clamp(80px, 12vw, 180px) 0;
}
.container {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 var(--gutter);
}
.chapter {
  display: flex;
  align-items: baseline;
  gap: 24px;
  margin-bottom: 56px;
}
.chapter-num {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 300;
  font-size: 14px;
  color: var(--gold);
}

/* =========================================================
   10. BLOCCO INTRO (testo + coppia di immagini)
========================================================= */
.intro { background: var(--paper); }
.intro-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(40px, 8vw, 140px);
  align-items: center;
}
.intro-text h2 { margin-bottom: 40px; }
.intro-text .lead { margin-bottom: 32px; }
.intro-media { position: relative; }
.intro-media .primary {
  aspect-ratio: 4/5;
  overflow: hidden;
  border-radius: 2px;
  position: relative;
}
.intro-media .primary img {
  width: 100%; height: 100%;
  object-fit: cover;
  transform: scale(1.02);
  transition: transform 1.6s var(--ease);
}
.intro-media .primary:hover img { transform: scale(1.06); }
.intro-media .secondary {
  position: absolute;
  right: -8%;
  bottom: -14%;
  width: 46%;
  aspect-ratio: 3/4;
  border-radius: 2px;
  overflow: hidden;
  box-shadow: 0 40px 80px -40px rgba(0,0,0,0.4);
}
.intro-media .secondary img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 1.4s var(--ease);
}
.intro-media .secondary:hover img { transform: scale(1.06); }
.intro-signature {
  margin-top: 48px;
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 300;
  color: var(--gold);
  font-size: 20px;
}
@media (max-width: 900px) {
  .intro-grid { grid-template-columns: 1fr; }
  .intro-media { margin-top: 40px; padding-bottom: 0; }
  .intro-media .secondary {
    position: relative;
    right: auto; bottom: auto;
    width: 60%;
    margin: -40px 0 0 auto;
    box-shadow: 0 20px 40px -20px rgba(0,0,0,0.3);
  }
}
@media (max-width: 600px) {
  .intro-media .secondary { width: 65%; margin-top: -32px; }
}

/* =========================================================
   11. BARRA NUMERI
========================================================= */
.numbers {
  border-top: 1px solid var(--ink-20);
  border-bottom: 1px solid var(--ink-20);
  padding: 64px 0;
  background: var(--paper);
}
.numbers-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
}
.num {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 0 16px;
  border-left: 1px solid var(--ink-20);
}
.num:first-child { border-left: 0; }
.num .val {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 5vw, 4.4rem);
  font-weight: 300;
  line-height: 1;
  letter-spacing: -0.02em;
}
.num .val em { font-style: italic; color: var(--gold); }
.num .lab {
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  font-weight: 500;
  color: var(--ink-60);
}
@media (max-width: 700px) {
  .numbers-grid { grid-template-columns: repeat(2, 1fr); gap: 40px 16px; }
  .num:nth-child(3) { border-left: 0; }
}

/* =========================================================
   12. MARQUEE
========================================================= */
.marquee-strip {
  background: var(--ink);
  color: var(--bone);
  padding: 36px 0;
  overflow: hidden;
  border-top: 1px solid var(--ink);
}
.marquee-track {
  display: flex;
  white-space: nowrap;
  gap: 48px;
  animation: marquee 38s linear infinite;
  width: max-content;
}
.marquee-track span {
  font-family: var(--font-display);
  font-weight: 300;
  font-size: clamp(1.4rem, 2.4vw, 2.2rem);
  display: inline-flex;
  align-items: center;
  gap: 48px;
}
.marquee-track span em {
  font-style: italic;
  color: var(--gold-soft);
}
.marquee-track .dot {
  display: inline-block;
  width: 6px; height: 6px;
  background: var(--gold);
  border-radius: 50%;
}
@keyframes marquee {
  to { transform: translateX(-50%); }
}

/* =========================================================
   13. ELENCO NUMERATO + MEDIA (experience)
========================================================= */
.experience { background: var(--bone); }
.experience-grid {
  display: grid;
  grid-template-columns: 5fr 7fr;
  gap: clamp(48px, 7vw, 120px);
  align-items: stretch;
}
.experience-media {
  position: relative;
  aspect-ratio: 4/5;
  overflow: hidden;
  border-radius: 2px;
  z-index: 1;
}
.experience-media img {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
}
.experience-list {
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: relative;
  z-index: 2;
  min-width: 0;
}
.experience-list h2 {
  word-break: normal;
  overflow-wrap: break-word;
  hyphens: none;
}
@media (min-width: 1101px) {
  .experience-list {
    background: var(--bone);
    padding: 48px 56px 48px 64px;
    margin-left: -32px;
    border-radius: 2px;
    box-shadow: -20px 20px 60px -30px rgba(0, 0, 0, 0.15);
  }
}
.experience-list .chapter { margin-bottom: 40px; }
.experience-list h2 { margin-bottom: 56px; }
.exp-item {
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: 20px;
  padding: 24px 0;
  border-top: 1px solid var(--ink-20);
  transition: padding 0.4s var(--ease), background 0.4s var(--ease);
  cursor: pointer;
  align-items: center;
}
.exp-item:last-child { border-bottom: 1px solid var(--ink-20); }
.exp-item:hover { padding-left: 8px; }
.exp-item:hover .exp-num { background: var(--gold); color: var(--bone); border-color: var(--gold); }
.exp-num {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 400;
  font-size: 16px;
  color: var(--gold);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--bone);
  border: 1px solid var(--ink-20);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: background 0.4s var(--ease), color 0.4s var(--ease), border-color 0.4s var(--ease);
  flex-shrink: 0;
}
.exp-item h3 {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(1.3rem, 2vw, 1.7rem);
  line-height: 1.15;
  margin-bottom: 8px;
  transition: color 0.3s var(--ease);
}
.exp-item:hover h3 { color: var(--gold); }
.exp-item p { font-size: 15px; color: var(--ink-60); max-width: 48ch; }
@media (max-width: 1100px) {
  .experience-grid { grid-template-columns: 1fr; gap: 40px; }
  .experience-media { aspect-ratio: 16/10; max-width: 700px; }
}

/* =========================================================
   14. BANNER CITAZIONE FULL-BLEED
========================================================= */
.banner {
  position: relative;
  height: 90vh;
  min-height: 600px;
  overflow: hidden;
}
.banner-media { position: absolute; inset: 0; }
.banner-media img {
  width: 100%; height: 100%; object-fit: cover;
  transform: scale(1.1);
}
.banner-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0.3) 0%, rgba(0,0,0,0.5) 100%);
}
.banner-content {
  position: relative;
  z-index: 2;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: #fff;
  padding: 0 var(--gutter);
}
.banner-content blockquote {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 300;
  font-size: clamp(1.5rem, 4.2vw, 3.6rem);
  line-height: 1.2;
  max-width: 26ch;
  letter-spacing: -0.01em;
}
@media (max-width: 700px) {
  .banner { height: 70vh; min-height: 460px; }
  .banner-content cite { margin-top: 24px; font-size: 11px; }
}
.banner-content cite {
  display: block;
  margin-top: 40px;
  font-style: normal;
  font-size: 12px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  opacity: 0.8;
}

/* =========================================================
   15. GRIGLIA DI CARD (.room-card)
   Card foto + occhiello + titolo + descrizione + riga meta.
   Sul sito agenzia: card immobile o card servizio. Il nome della classe
   e' ereditato dal donatore: e' un nome di VESTE, non di contenuto.
========================================================= */
.rooms { background: var(--paper); }
.rooms-head {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 32px;
  align-items: end;
  margin-bottom: 72px;
}
.rooms-head h2 { max-width: 18ch; }
.rooms-head .head-cta { font-size: 11px; letter-spacing: 0.24em; text-transform: uppercase; font-weight: 500; padding: 14px 24px; border: 1px solid var(--ink); border-radius: 999px; transition: background 0.3s var(--ease), color 0.3s var(--ease); white-space: nowrap; }
.rooms-head .head-cta:hover { background: var(--ink); color: var(--bone); }

.rooms-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(20px, 2.5vw, 32px);
}
.room-card {
  background: var(--bone);
  border: 1px solid var(--ink-10);
  border-radius: 2px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.5s var(--ease), box-shadow 0.5s var(--ease), border-color 0.5s var(--ease);
}
.room-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 40px 80px -40px rgba(0,0,0,0.25);
  border-color: var(--ink-20);
}
.room-card .img-wrap {
  aspect-ratio: 4/3;
  overflow: hidden;
  position: relative;
}
.room-card .img-wrap img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 1.4s var(--ease);
}
.room-card:hover .img-wrap img { transform: scale(1.06); }
.room-card .img-wrap::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 60%, rgba(0,0,0,0.3));
  opacity: 0;
  transition: opacity 0.5s var(--ease);
}
.room-card:hover .img-wrap::after { opacity: 1; }
.room-card .body {
  padding: clamp(24px, 2.6vw, 36px);
  display: flex;
  flex-direction: column;
  flex: 1;
  gap: 14px;
}
.room-card .room-eyebrow {
  font-family: var(--font-sans);
  font-size: 10px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 500;
}
.room-card h3 {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(1.5rem, 2.2vw, 1.9rem);
  letter-spacing: -0.01em;
  line-height: 1.1;
}
.room-card h3 em { font-style: italic; color: var(--gold); font-weight: 400; }
.room-card .desc {
  font-family: var(--font-display);
  font-weight: 300;
  font-style: italic;
  font-size: 15px;
  line-height: 1.55;
  color: var(--ink-60);
  flex: 1;
}
.room-card .meta {
  display: flex;
  gap: 18px;
  padding-top: 18px;
  margin-top: auto;
  border-top: 1px solid var(--ink-20);
  font-size: 12px;
  letter-spacing: 0.06em;
  color: var(--ink-80);
  font-family: var(--font-sans);
  font-weight: 500;
}
.room-card .meta span {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}
.room-card .meta svg {
  width: 14px; height: 14px;
  color: var(--gold);
  flex-shrink: 0;
}

/* =========================================================
   16. CALLOUT IN EVIDENZA (.villa-callout)
   Striscia scura con barra oro, stat e CTA.
   Sul sito agenzia: immobile di punta / servizio di punta.
========================================================= */
/* Whole-villa callout (luxury strip) */
.villa-callout {
  margin-top: clamp(40px, 5vw, 64px);
  background: var(--ink);
  color: var(--bone);
  border-radius: 2px;
  overflow: hidden;
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  align-items: stretch;
  position: relative;
}
.villa-callout::before {
  content: "";
  position: absolute;
  top: 0; left: 0;
  width: 4px; height: 100%;
  background: var(--gold);
}
.villa-callout .vc-body {
  padding: clamp(36px, 5vw, 64px);
  display: flex;
  flex-direction: column;
  gap: 20px;
  justify-content: center;
}
.villa-callout .vc-eyebrow {
  font-size: 10px;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--gold-soft);
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  gap: 12px;
}
.villa-callout .vc-eyebrow::before {
  content: "";
  width: 28px; height: 1px;
  background: var(--gold);
}
.villa-callout h3 {
  font-family: var(--font-display);
  font-weight: 300;
  font-size: clamp(1.8rem, 3.2vw, 2.6rem);
  line-height: 1.1;
  letter-spacing: -0.015em;
}
.villa-callout h3 em { font-style: italic; color: var(--gold-soft); font-weight: 300; }
.villa-callout .vc-desc {
  font-family: var(--font-display);
  font-weight: 300;
  font-size: 16px;
  line-height: 1.55;
  color: rgba(250, 246, 236, 0.78);
  max-width: 42ch;
}
.villa-callout .vc-stats {
  display: flex;
  gap: 28px;
  padding: 18px 0;
  border-top: 1px solid rgba(250, 246, 236, 0.15);
  border-bottom: 1px solid rgba(250, 246, 236, 0.15);
  margin: 6px 0;
}
.villa-callout .vc-stat {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.villa-callout .vc-stat .k {
  font-size: 9px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: rgba(250, 246, 236, 0.5);
  font-weight: 500;
}
.villa-callout .vc-stat .v {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 400;
  color: var(--bone);
}
.villa-callout .vc-stat .v em { font-style: italic; color: var(--gold-soft); }
.villa-callout .vc-cta {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  align-self: flex-start;
  padding: 14px 26px;
  background: var(--gold);
  color: var(--ink);
  border-radius: 999px;
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  font-weight: 500;
  margin-top: 8px;
  transition: background 0.4s var(--ease), transform 0.4s var(--ease);
}
.villa-callout .vc-cta:hover { background: var(--bone); transform: translateY(-2px); }
.villa-callout .vc-cta .arr { width: 18px; height: 1px; background: currentColor; position: relative; }
.villa-callout .vc-cta .arr::after { content: ""; position: absolute; right: 0; top: -3px; width: 6px; height: 6px; border-top: 1px solid currentColor; border-right: 1px solid currentColor; transform: rotate(45deg); }
.villa-callout .vc-img {
  position: relative;
  overflow: hidden;
  min-height: 320px;
}
.villa-callout .vc-img img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 1.6s var(--ease);
}
.villa-callout:hover .vc-img img { transform: scale(1.05); }
.villa-callout .vc-img .vc-badge {
  position: absolute;
  top: 20px; right: 20px;
  padding: 8px 14px;
  background: var(--gold);
  color: var(--ink);
  font-size: 10px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  font-weight: 600;
  border-radius: 999px;
}

@media (max-width: 1100px) { .rooms-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 900px) {
  .rooms-head { grid-template-columns: 1fr; gap: 20px; }
  .rooms-head .head-cta { justify-self: flex-start; }
  .villa-callout { grid-template-columns: 1fr; }
  .villa-callout .vc-img { min-height: 240px; aspect-ratio: 16/10; order: -1; }
}
@media (max-width: 640px) {
  .rooms-grid { grid-template-columns: 1fr; }
}

/* =========================================================
   17. SHOWCASE + BOTTONI (.btn, .btn-ghost, .cta-row)
   Qui vivono .btn e .btn-ghost: sono i bottoni di TUTTO il sistema.
========================================================= */
.showcase { background: var(--paper); }
.showcase-hero {
  position: relative;
  aspect-ratio: 16/9;
  overflow: hidden;
  margin-bottom: 80px;
  border-radius: 2px;
}
.showcase-hero img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 12s var(--ease);
}
.showcase-hero:hover img { transform: scale(1.06); }
.showcase-hero .label {
  position: absolute;
  top: 32px; left: 32px;
  background: rgba(250, 246, 236, 0.92);
  backdrop-filter: blur(10px);
  padding: 14px 20px;
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  font-weight: 500;
}
.showcase-grid {
  display: grid;
  grid-template-columns: 5fr 6fr;
  gap: clamp(40px, 8vw, 120px);
  align-items: start;
}
.showcase-text h2 { margin-bottom: 40px; }
.showcase-text .body-text { margin-bottom: 32px; font-size: 17px; }
.showcase-features {
  list-style: none;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  border-top: 1px solid var(--ink-20);
  margin-top: 48px;
}
.showcase-features li {
  padding: 18px 0;
  border-bottom: 1px solid var(--ink-20);
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 14px;
  color: var(--ink-80);
}
.showcase-features li:nth-child(odd) { padding-right: 24px; border-right: 1px solid var(--ink-20); }
.showcase-features li:nth-child(even) { padding-left: 24px; }
.showcase-features .dot {
  width: 5px; height: 5px; background: var(--gold); border-radius: 50%;
  flex-shrink: 0;
}
.showcase-side {
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.showcase-side .thumb {
  aspect-ratio: 4/3;
  overflow: hidden;
  border-radius: 2px;
  cursor: pointer;
}
.showcase-side .thumb img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 1.2s var(--ease);
}
.showcase-side .thumb:hover img { transform: scale(1.08); }
.showcase-side .thumb:nth-child(2) { margin-left: 15%; }

.cta-row {
  margin-top: 56px;
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  align-items: center;
}
.btn {
  display: inline-flex;
  align-items: center;
  gap: 16px;
  padding: 18px 32px;
  background: var(--ink);
  color: var(--bone);
  border-radius: 999px;
  font-size: 12px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  font-weight: 500;
  transition: background 0.4s var(--ease), transform 0.4s var(--ease);
  position: relative;
  overflow: hidden;
}
.btn:hover { background: var(--gold); transform: translateY(-2px); }
.btn .arrow {
  width: 20px; height: 1px; background: currentColor;
  position: relative;
  transition: width 0.4s var(--ease);
}
.btn:hover .arrow { width: 28px; }
.btn .arrow::after {
  content: "";
  position: absolute;
  right: 0; top: -3px;
  width: 6px; height: 6px;
  border-top: 1px solid currentColor;
  border-right: 1px solid currentColor;
  transform: rotate(45deg);
}
.btn-ghost { background: transparent; color: var(--ink); border: 1px solid var(--ink); }
.btn-ghost:hover { background: var(--ink); color: var(--bone); }

@media (max-width: 900px) {
  .showcase-grid { grid-template-columns: 1fr; gap: 40px; }
  .showcase-features { grid-template-columns: 1fr; }
  .showcase-features li:nth-child(odd) { padding-right: 0; border-right: 0; }
  .showcase-features li:nth-child(even) { padding-left: 0; }
  .showcase-side { flex-direction: row; flex-wrap: wrap; gap: 12px; }
  .showcase-side .thumb { flex: 1 1 calc(50% - 6px); aspect-ratio: 1; }
  .showcase-side .thumb:nth-child(2) { margin-left: 0; }
  .showcase-side .thumb:nth-child(3) { flex-basis: 100%; aspect-ratio: 16/10; }
  .showcase-hero .label {
    top: 16px; left: 16px;
    padding: 10px 14px;
    font-size: 10px;
  }
}

/* =========================================================
   18. GALLERIA A TRASCINAMENTO
========================================================= */
.gallery {
  background: var(--ink);
  color: var(--bone);
  padding: clamp(80px, 10vw, 140px) 0;
  overflow: hidden;
}
.gallery .chapter-num { color: var(--gold); }
.gallery .eyebrow { color: rgba(250, 246, 236, 0.6); }
.gallery h2 {
  margin-bottom: 64px;
  padding: 0 var(--gutter);
  max-width: 900px;
}
.gallery h2 em { color: var(--gold); }
.gallery .container { max-width: none; padding: 0; }
.gallery .chapter { padding: 0 var(--gutter); }

.gallery-track {
  display: flex;
  gap: 24px;
  padding: 0 var(--gutter);
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  cursor: grab;
}
.gallery-track::-webkit-scrollbar { display: none; }
.gallery-track.grabbing { cursor: grabbing; }
.g-item {
  flex-shrink: 0;
  scroll-snap-align: start;
  position: relative;
  overflow: hidden;
  border-radius: 2px;
  cursor: pointer;
}
.g-item img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 1.4s var(--ease);
}
.g-item:hover img { transform: scale(1.07); }
.g-item::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 60%, rgba(0,0,0,0.5) 100%);
  opacity: 0;
  transition: opacity 0.4s var(--ease);
}
.g-item:hover::after { opacity: 1; }
.g-item .caption {
  position: absolute;
  bottom: 24px; left: 24px; right: 24px;
  z-index: 2;
  font-family: var(--font-display);
  font-style: italic;
  font-size: 18px;
  color: #fff;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.4s var(--ease), transform 0.4s var(--ease);
}
.g-item:hover .caption {
  opacity: 1;
  transform: translateY(0);
}
.g-item.tall { width: 380px; height: 560px; }
.g-item.wide { width: 640px; height: 420px; }
.g-item.sq { width: 420px; height: 420px; }
@media (max-width: 700px) {
  .g-item.tall { width: 240px; height: 360px; }
  .g-item.wide { width: 320px; height: 220px; }
  .g-item.sq { width: 240px; height: 240px; }
  .g-item .caption { font-size: 14px; bottom: 16px; left: 16px; right: 16px; }
}
@media (max-width: 480px) {
  .g-item.tall { width: 78vw; height: 110vw; }
  .g-item.wide { width: 80vw; height: 56vw; }
  .g-item.sq { width: 78vw; height: 78vw; }
}
.gallery-foot {
  margin-top: 48px;
  padding: 0 var(--gutter);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  font-size: 12px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(250, 246, 236, 0.6);
  flex-wrap: wrap;
}
.drag-hint {
  display: flex; align-items: center; gap: 12px;
}
.drag-hint .l { width: 40px; height: 1px; background: currentColor; }
.gallery-foot .btn { background: var(--gold); color: var(--ink); }
.gallery-foot .btn:hover { background: var(--bone); color: var(--ink); }

/* =========================================================
   19. LIGHTBOX
========================================================= */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 9997;
  background: rgba(15, 27, 41, 0.96);
  backdrop-filter: blur(20px);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.5s var(--ease), visibility 0.5s;
}
.lightbox.open { opacity: 1; visibility: visible; }
.lightbox-stage {
  position: relative;
  width: 90vw;
  height: 85vh;
  display: flex;
  align-items: center;
  justify-content: center;
}
.lightbox-img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  border-radius: 2px;
  box-shadow: 0 60px 120px -40px rgba(0,0,0,0.7);
  transform: scale(0.95);
  transition: transform 0.6s var(--ease), opacity 0.4s var(--ease);
  opacity: 0;
}
.lightbox.open .lightbox-img { transform: scale(1); opacity: 1; }
.lightbox-close {
  position: absolute;
  top: 24px; right: 24px;
  width: 56px; height: 56px;
  border: 1px solid rgba(250,246,236,0.3);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--bone);
  font-size: 0;
  transition: background 0.3s var(--ease), border-color 0.3s;
  z-index: 2;
}
.lightbox-close::before, .lightbox-close::after {
  content: "";
  position: absolute;
  width: 18px; height: 1px;
  background: currentColor;
}
.lightbox-close::before { transform: rotate(45deg); }
.lightbox-close::after { transform: rotate(-45deg); }
.lightbox-close:hover { background: var(--gold); border-color: var(--gold); }
.lightbox-arrow {
  position: absolute;
  top: 50%;
  width: 56px; height: 56px;
  border: 1px solid rgba(250,246,236,0.3);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--bone);
  transform: translateY(-50%);
  transition: background 0.3s var(--ease), border-color 0.3s, transform 0.3s var(--ease);
  z-index: 2;
}
.lightbox-arrow.prev { left: 32px; }
.lightbox-arrow.next { right: 32px; }
.lightbox-arrow svg { width: 18px; height: 18px; }
.lightbox-arrow:hover { background: var(--gold); border-color: var(--gold); }
.lightbox-arrow.prev:hover { transform: translateY(-50%) translateX(-4px); }
.lightbox-arrow.next:hover { transform: translateY(-50%) translateX(4px); }
.lightbox-counter {
  position: absolute;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  color: var(--bone);
  font-size: 12px;
  letter-spacing: 0.24em;
  font-weight: 500;
  opacity: 0.6;
}
.lightbox-thumbs {
  position: absolute;
  bottom: 64px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 6px;
  max-width: 80vw;
  overflow-x: auto;
  padding: 8px;
  scrollbar-width: none;
}
.lightbox-thumbs::-webkit-scrollbar { display: none; }
.lightbox-thumbs button {
  width: 50px; height: 50px;
  border-radius: 2px;
  overflow: hidden;
  flex-shrink: 0;
  opacity: 0.4;
  transition: opacity 0.3s var(--ease), transform 0.3s var(--ease);
  border: 1px solid transparent;
}
.lightbox-thumbs button img {
  width: 100%; height: 100%; object-fit: cover;
}
.lightbox-thumbs button:hover { opacity: 0.8; }
.lightbox-thumbs button.active {
  opacity: 1;
  border-color: var(--gold);
  transform: scale(1.1);
}
@media (max-width: 700px) {
  .lightbox-thumbs { display: none; }
  .lightbox-arrow.prev { left: 12px; }
  .lightbox-arrow.next { right: 12px; }
}

/* =========================================================
   20. GRIGLIA TILE CON OVERLAY (.around-card)
   Tile foto con gradiente e badge. Sul sito agenzia: zone, quartieri, categorie.
========================================================= */
.around { background: var(--paper-2); }
.around-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin-top: 56px;
}
.around-card {
  position: relative;
  aspect-ratio: 4/5;
  overflow: hidden;
  border-radius: 2px;
  cursor: pointer;
}
.around-card img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 1.4s var(--ease);
}
.around-card:hover img { transform: scale(1.08); }
.around-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0) 40%, rgba(0,0,0,0.78) 100%);
  transition: background 0.4s var(--ease);
}
.around-card:hover::after { background: linear-gradient(180deg, rgba(0,0,0,0) 30%, rgba(0,0,0,0.85) 100%); }
.around-card .info {
  position: absolute;
  bottom: 32px; left: 32px; right: 32px;
  z-index: 2;
  color: #fff;
  transform: translateY(0);
  transition: transform 0.5s var(--ease);
}
.around-card:hover .info { transform: translateY(-6px); }
.around-card .distance {
  display: inline-block;
  padding: 6px 12px;
  background: rgba(255,255,255,0.14);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255,255,255,0.25);
  border-radius: 999px;
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  font-weight: 500;
  margin-bottom: 12px;
}
.around-card h3 {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(1.4rem, 2vw, 1.9rem);
  line-height: 1.1;
  margin-bottom: 6px;
}
.around-card .sub {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 300;
  font-size: 14px;
  opacity: 0.85;
}
@media (max-width: 900px) { .around-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .around-grid { grid-template-columns: 1fr; } }

/* =========================================================
   21. TESTIMONIANZE
========================================================= */
.testi {
  background: var(--lake-2);
  color: var(--bone);
  overflow: hidden;
}
.testi .chapter-num { color: var(--gold); }
.testi .eyebrow { color: rgba(250, 246, 236, 0.6); }
.testi h2 em { color: var(--gold); }
.testi-slider { margin-top: 64px; position: relative; }
.testi-track {
  display: flex;
  gap: 32px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  padding-bottom: 40px;
  cursor: grab;
}
.testi-track::-webkit-scrollbar { display: none; }
.testi-card {
  flex: 0 0 min(620px, 85vw);
  scroll-snap-align: center;
  padding: 48px;
  border: 1px solid rgba(250, 246, 236, 0.15);
  border-radius: 2px;
  background: rgba(250, 246, 236, 0.03);
  transition: transform 0.5s var(--ease), background 0.5s var(--ease);
}
.testi-card:hover {
  transform: translateY(-6px);
  background: rgba(250, 246, 236, 0.06);
}
.testi-card .quote-mark {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 96px;
  line-height: 0.6;
  color: var(--gold);
  margin-bottom: 16px;
  opacity: 0.5;
}
.testi-card p {
  font-family: var(--font-display);
  font-weight: 300;
  font-style: italic;
  font-size: clamp(1.1rem, 1.6vw, 1.4rem);
  line-height: 1.5;
  margin-bottom: 32px;
}
.testi-card .who {
  display: flex;
  align-items: center;
  gap: 14px;
  padding-top: 24px;
  border-top: 1px solid rgba(250, 246, 236, 0.15);
}
.testi-card .avatar {
  width: 48px; height: 48px;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(232, 201, 138, 0.18) 0%, rgba(163, 126, 63, 0.28) 100%);
  border: 1px solid rgba(163, 126, 63, 0.45);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.testi-card .avatar svg {
  width: 28px; height: 28px;
  color: var(--gold-soft);
}
.testi-card .name { font-weight: 500; font-size: 14px; letter-spacing: 0.04em; }
.testi-card .date {
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(250, 246, 236, 0.5);
}

/* =========================================================
   22. FAQ (accordion)
========================================================= */
.faq { background: var(--paper); }
.faq-wrap {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: clamp(40px, 8vw, 120px);
}
.faq-head h2 { margin-bottom: 16px; }
.faq-head p { color: var(--ink-60); font-size: 15px; max-width: 30ch; }
.faq-list { border-top: 1px solid var(--ink-20); }
.faq-item { border-bottom: 1px solid var(--ink-20); }
.faq-q {
  width: 100%;
  text-align: left;
  padding: 28px 0;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 24px;
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(1.1rem, 1.5vw, 1.35rem);
  line-height: 1.3;
  transition: color 0.3s var(--ease);
}
.faq-q:hover { color: var(--gold); }
.faq-q .plus {
  flex-shrink: 0;
  width: 20px; height: 20px;
  position: relative;
  margin-top: 6px;
  transition: transform 0.4s var(--ease);
}
.faq-q .plus::before, .faq-q .plus::after {
  content: ""; position: absolute; background: currentColor;
  transition: opacity 0.4s var(--ease);
}
.faq-q .plus::before { top: 50%; left: 0; right: 0; height: 1px; transform: translateY(-50%); }
.faq-q .plus::after { left: 50%; top: 0; bottom: 0; width: 1px; transform: translateX(-50%); }
.faq-item.open .faq-q .plus { transform: rotate(45deg); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height 0.5s var(--ease); }
.faq-a-inner {
  padding: 0 0 28px;
  color: var(--ink-60);
  font-size: 15px;
  max-width: 62ch;
}
.faq-item.open .faq-a { max-height: 400px; }
@media (max-width: 900px) { .faq-wrap { grid-template-columns: 1fr; } }

/* =========================================================
   23. SEZIONE CONTATTO + FORM
   Colonna sinistra contatti, colonna destra form su fondo lake.
   .field / .field-row / .field-row-3 sono i campi di TUTTI i form del sistema.
========================================================= */
.booking { background: var(--lake-2); color: var(--bone); }
.booking-grid {
  display: grid;
  grid-template-columns: 4fr 5fr;
  gap: clamp(40px, 6vw, 100px);
}
.booking-intro .chapter-num { color: var(--gold); }
.booking-intro .eyebrow { color: rgba(250, 246, 236, 0.6); }
.booking-intro h2 em { color: var(--gold); }
.booking-intro .lead { color: rgba(250, 246, 236, 0.8); margin: 32px 0; }
.booking-contacts {
  margin-top: 48px;
  padding-top: 32px;
  border-top: 1px solid rgba(250, 246, 236, 0.2);
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.booking-contacts .line { display: flex; flex-direction: column; gap: 4px; }
.booking-contacts .line small {
  font-size: 10px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: rgba(250, 246, 236, 0.5);
}
.booking-contacts .line span,
.booking-contacts .line a {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 300;
}
.booking-form {
  background: rgba(250, 246, 236, 0.04);
  border: 1px solid rgba(250, 246, 236, 0.12);
  padding: clamp(28px, 4vw, 48px);
  border-radius: 2px;
}
.booking-form .form-title {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 400;
  margin-bottom: 32px;
}
.field { display: flex; flex-direction: column; gap: 10px; margin-bottom: 24px; }
.field label {
  font-size: 10px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: rgba(250, 246, 236, 0.6);
}
.field input, .field select {
  background: transparent;
  border: 0;
  border-bottom: 1px solid rgba(250, 246, 236, 0.25);
  color: var(--bone);
  padding: 12px 0;
  font-size: 15px;
  outline: none;
  font-family: var(--font-display);
  font-weight: 300;
  transition: border-color 0.3s var(--ease);
}
.field input:focus, .field select:focus { border-color: var(--gold); }
.field input::placeholder { color: rgba(250, 246, 236, 0.3); }
.field select { appearance: none; background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='10' height='6' viewBox='0 0 10 6'><path fill='none' stroke='%23FAF6EC' stroke-opacity='0.5' stroke-width='1' d='M1 1l4 4 4-4'/></svg>"); background-repeat: no-repeat; background-position: right 0 center; padding-right: 20px; }
.field select option { background: var(--lake-2); color: var(--bone); }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.field-row-3 { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 24px; }
.booking-form .btn {
  width: 100%;
  justify-content: center;
  margin-top: 16px;
  background: var(--gold);
  color: var(--ink);
}
.booking-form .btn:hover { background: var(--bone); color: var(--ink); }
.form-disclaimer {
  margin-top: 16px;
  font-size: 11px;
  letter-spacing: 0.04em;
  color: rgba(250, 246, 236, 0.45);
  text-align: center;
}
@media (max-width: 900px) { .booking-grid { grid-template-columns: 1fr; } }
@media (max-width: 500px) {
  .field-row { grid-template-columns: 1fr; }
  .field-row-3 { grid-template-columns: 1fr; }
}

/* =========================================================
   24. HERO DI ELENCO + RIGHE ALTERNATE MEDIA/TESTO (.room-row)
   Da camere.html. Sul sito agenzia: elenco servizi o elenco immobili in riga.
========================================================= */
.rm-hero { background: var(--paper); padding: clamp(150px, 18vw, 210px) 0 clamp(60px, 8vw, 100px); }
.rm-hero h1 { max-width: 20ch; margin-top: 8px; }
.rm-hero .lead { max-width: 56ch; margin-top: 28px; }

/* =========================================================
   ROOMS LIST — righe orizzontali alternate (diverso dalla home)
========================================================= */
.rooms-list-sec { background: var(--paper); padding-top: 0; }
.room-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(32px, 6vw, 90px);
  align-items: center;
  padding: clamp(48px, 7vw, 88px) 0;
  border-bottom: 1px solid var(--ink-10);
}
.rooms-list-sec .container > .room-row:first-child { padding-top: 0; }
.room-row.reverse .room-row-media { order: 2; }
.room-row.reverse .room-row-body { order: 1; }
.room-row-media {
  position: relative;
  aspect-ratio: 4/3;
  overflow: hidden;
  border-radius: 2px;
}
.room-row-media img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 1.3s var(--ease);
}
.room-row:hover .room-row-media img { transform: scale(1.06); }
.room-row-index {
  position: absolute;
  top: 16px; left: 16px;
  width: 40px; height: 40px;
  border-radius: 50%;
  background: rgba(250,246,236,0.92);
  backdrop-filter: blur(6px);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display);
  font-style: italic;
  font-size: 15px;
  color: var(--gold-2);
}
.room-row-body .room-eyebrow {
  font-family: var(--font-sans);
  font-size: 10px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 500;
  display: block;
  margin-bottom: 14px;
}
.room-row-body h2 { margin-bottom: 20px; }
.room-row-body h2 em { font-style: italic; color: var(--gold); font-weight: 300; }
.room-row-body .lead { margin-bottom: 24px; }
.room-row-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 22px;
  padding: 20px 0 28px;
  margin-bottom: 8px;
  border-top: 1px solid var(--ink-20);
  border-bottom: 1px solid var(--ink-20);
  font-size: 13px;
  letter-spacing: 0.04em;
  color: var(--ink-80);
  font-family: var(--font-sans);
  font-weight: 500;
}
.room-row-meta span { display: inline-flex; align-items: center; gap: 8px; }
.room-row-meta svg { width: 15px; height: 15px; color: var(--gold); flex-shrink: 0; }
.room-row-link {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 12px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  font-weight: 500;
  color: var(--ink);
}
.room-row-link .arrow { width: 20px; height: 1px; background: currentColor; position: relative; transition: width 0.4s var(--ease); }
.room-row-link .arrow::after { content: ""; position: absolute; right: 0; top: -3px; width: 6px; height: 6px; border-top: 1px solid currentColor; border-right: 1px solid currentColor; transform: rotate(45deg); }
.room-row-link:hover .arrow { width: 30px; }
.room-row-link:hover { color: var(--gold-2); }

@media (max-width: 860px) {
  .room-row, .room-row.reverse { grid-template-columns: 1fr; }
  .room-row.reverse .room-row-media { order: 0; }
  .room-row.reverse .room-row-body { order: 0; }
  .room-row-meta { gap: 16px 20px; }
}

/* =========================================================
   25. HERO DI PAGINA INTERNA (.dn-hero)
========================================================= */
.dn-hero { background: var(--paper); padding: clamp(150px, 18vw, 210px) 0 clamp(60px, 8vw, 100px); }
.dn-hero h1 { max-width: 22ch; margin-top: 8px; }
.dn-hero .lead { max-width: 60ch; margin-top: 28px; }

/* =========================================================
   26. BREADCRUMB
========================================================= */
.breadcrumb { display: inline-flex; align-items: center; gap: 8px; font-size: 12px; font-weight: 500; letter-spacing: 0.12em; text-transform: uppercase; color: var(--ink-60); margin-bottom: 24px; transition: color 0.3s; }
.breadcrumb::before { content: '\2190'; color: var(--gold); transition: transform 0.3s; display: inline-block; }
.breadcrumb:hover { color: var(--gold-2); }
.breadcrumb:hover::before { transform: translateX(-3px); }

/* =========================================================
   27. GRIGLIA MAGAZINE (.mag-card)
   Card di solo testo con badge e categoria, senza foto.
========================================================= */
/* Griglia magazine con badge distanza */
.mag-grid-sec { background: var(--paper); padding-top: 0; }
.mag-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px; }
.mag-card { background: var(--bone); border: 1px solid var(--ink-10); border-radius: 4px; padding: clamp(28px, 3vw, 40px); display: flex; flex-direction: column; transition: transform 0.5s var(--ease), box-shadow 0.5s var(--ease), border-color 0.3s; }
.mag-card:hover { transform: translateY(-6px); box-shadow: 0 40px 80px -40px rgba(20,19,17,0.25); border-color: var(--ink-20); }
.mag-card-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 18px; }
.mag-cat { font-size: 10px; font-weight: 500; letter-spacing: 0.2em; text-transform: uppercase; color: var(--gold-2); }
.mag-badge { flex-shrink: 0; padding: 6px 14px; border-radius: 999px; background: var(--ink); color: var(--bone); font-size: 11px; font-weight: 600; letter-spacing: 0.06em; }
.mag-card h3 { font-family: var(--font-display); font-weight: 400; font-size: clamp(1.5rem, 2.2vw, 1.9rem); color: var(--ink); line-height: 1.15; letter-spacing: -0.01em; }
.mag-card h3 em { font-style: italic; color: var(--gold); font-weight: 400; }
.mag-card p { margin-top: 14px; color: var(--ink-80); font-size: 14.5px; flex: 1; line-height: 1.6; }
.mag-card .go { margin-top: 22px; padding-top: 18px; border-top: 1px solid var(--ink-10); font-size: 12px; letter-spacing: 0.16em; text-transform: uppercase; font-weight: 500; color: var(--ink); display: inline-flex; align-items: center; gap: 10px; }
.mag-card .go .arrow { width: 18px; height: 1px; background: currentColor; position: relative; transition: width 0.4s var(--ease); }
.mag-card .go .arrow::after { content: ""; position: absolute; right: 0; top: -3px; width: 6px; height: 6px; border-top: 1px solid currentColor; border-right: 1px solid currentColor; transform: rotate(45deg); }
.mag-card:hover .go { color: var(--gold-2); }
.mag-card:hover .go .arrow { width: 26px; }
@media (max-width: 800px) { .mag-grid { grid-template-columns: 1fr; } }

/* =========================================================
   28. PAGINA DI DETTAGLIO TESTUALE (.dest-*)
========================================================= */
/* Hero tipografico (pagine dettaglio, senza foto) */
.dest-hero { background: var(--paper); padding: clamp(150px, 18vw, 210px) 0 56px; border-bottom: 1px solid var(--ink-10); }
.dest-hero .mag-badge { display: inline-block; margin-top: 22px; }
.dest-body { background: var(--paper); padding: clamp(56px, 8vw, 90px) 0; }
.dest-body .prose { max-width: 68ch; }
.dest-body .prose p { font-size: 16px; color: var(--ink-80); line-height: 1.75; }
.dest-body .prose p + p { margin-top: 20px; }
.dest-tips { margin-top: 48px; max-width: 68ch; padding: 26px 28px; background: var(--bone); border-left: 3px solid var(--gold); border-radius: 2px; }
.dest-tips h4 { font-family: var(--font-display); font-weight: 400; font-size: 20px; color: var(--ink); margin-bottom: 14px; }
.dest-tips ul { display: flex; flex-direction: column; gap: 10px; list-style: none; }
.dest-tips li { padding-left: 22px; position: relative; font-size: 14.5px; color: var(--ink-80); line-height: 1.6; }
.dest-tips li::before { content: '\2014'; position: absolute; left: 0; color: var(--gold-2); }
.dest-cta { margin-top: 48px; }

/* =========================================================
   29. PAGINA DI DETTAGLIO CON MOSAICO FOTO E STICKY CARD (.lst-*)
   Da l-appartamento.html. E' l'ossatura giusta per la scheda immobile:
   mosaico foto, colonna testo, card sticky di contatto, barra mobile.
========================================================= */
.lst-hero-sec { padding: 128px 0 0; background: var(--paper); }
.lst-subline { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-top: 18px; font-size: 15px; color: var(--ink-80); font-family: var(--font-sans); }
.lst-subline .dot { color: var(--ink-40); }
.lst-badge { margin-left: 6px; padding: 5px 12px; background: var(--paper-3); border: 1px solid var(--ink-10); border-radius: 999px; font-size: 11.5px; font-weight: 600; color: var(--gold-2); letter-spacing: 0.02em; }

.lst-mosaic-sec { padding: 26px 0 0; background: var(--paper); }
.lst-mosaic { position: relative; display: grid; grid-template-columns: 1.4fr 1fr; gap: 8px; border-radius: 4px; overflow: hidden; aspect-ratio: 16/7.4; }
.lst-mosaic-main, .lst-mosaic-cell { position: relative; overflow: hidden; cursor: pointer; background: var(--paper-3); display: block; border: 0; padding: 0; }
.lst-mosaic-main img, .lst-mosaic-cell img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 0.6s var(--ease); }
.lst-mosaic-main:hover img, .lst-mosaic-cell:hover img { transform: scale(1.05); }
.lst-mosaic-grid { display: grid; grid-template-columns: 1fr 1fr; grid-template-rows: 1fr 1fr; gap: 8px; }
.lst-show-all { margin-top: 18px; display: inline-flex; align-items: center; gap: 10px; padding: 12px 20px; border: 1px solid var(--ink); border-radius: 999px; font-size: 12px; letter-spacing: 0.16em; text-transform: uppercase; font-weight: 500; transition: background 0.3s var(--ease), color 0.3s var(--ease); background: transparent; color: var(--ink); }
.lst-show-all svg { width: 15px; height: 15px; }
.lst-show-all:hover { background: var(--ink); color: var(--bone); }
@media (max-width: 900px) { .lst-mosaic { grid-template-columns: 1fr; aspect-ratio: 4/3; } .lst-mosaic-grid { display: none; } }

.lst-body-sec { padding: 54px 0 8px; background: var(--paper); }
.lst-body-grid { display: grid; grid-template-columns: 1fr 380px; gap: 72px; align-items: start; }
.lst-col-main { min-width: 0; }
.lst-divider { height: 1px; background: var(--ink-10); margin: 32px 0; }

.lst-host-row { display: flex; align-items: center; gap: 16px; }
.lst-host-avatar { width: 50px; height: 50px; border-radius: 50%; object-fit: contain; background: var(--ink); padding: 9px; flex: none; }
.lst-host-row b { display: block; font-family: var(--font-display); font-size: 19px; font-weight: 400; color: var(--ink); letter-spacing: -0.01em; }
.lst-host-row span { font-size: 13px; color: var(--ink-60); }

.lst-highlights { display: flex; flex-direction: column; gap: 22px; }
.lst-highlight { display: flex; gap: 16px; align-items: flex-start; }
.lst-highlight .ico { flex: none; width: 40px; height: 40px; border-radius: 50%; background: var(--paper-3); color: var(--gold-2); display: flex; align-items: center; justify-content: center; }
.lst-highlight .ico svg { width: 19px; height: 19px; }
.lst-highlight b { display: block; font-size: 15px; font-weight: 600; color: var(--ink); margin-bottom: 3px; }
.lst-highlight p { font-size: 13.5px; color: var(--ink-60); line-height: 1.5; }

.lst-section h3 { font-family: var(--font-display); font-weight: 400; font-size: clamp(21px, 2.3vw, 27px); color: var(--ink); letter-spacing: -0.01em; margin-bottom: 16px; }
.lst-section .prose p { font-size: 15.5px; color: var(--ink-80); line-height: 1.7; }
.lst-section .prose p + p { margin-top: 16px; }

.lst-amenities { display: grid; grid-template-columns: 1fr 1fr; gap: 16px 24px; }
.lst-amenity { display: flex; align-items: center; gap: 14px; font-size: 14.5px; color: var(--ink-80); }
.lst-amenity .ico { flex: none; width: 28px; height: 28px; color: var(--gold-2); display: flex; align-items: center; justify-content: center; }
.lst-amenity .ico svg { width: 19px; height: 19px; }
@media (max-width: 520px) { .lst-amenities { grid-template-columns: 1fr; } }

.lst-col-side { position: relative; align-self: stretch; }
.lst-booking-card { position: sticky; top: 108px; border: 1px solid var(--ink-10); border-radius: 4px; padding: 26px; background: var(--bone); box-shadow: 0 30px 60px -30px rgba(20,19,17,0.25); }
.lst-booking-title { font-family: var(--font-display); font-size: 19px; font-weight: 400; color: var(--ink); margin-bottom: 18px; }
.lst-cta { width: 100%; margin-top: 18px; background: var(--ink); color: var(--bone); border-radius: 999px; padding: 15px 18px; font-size: 14.5px; font-weight: 600; display: flex; align-items: center; justify-content: center; gap: 10px; transition: background 0.3s, transform 0.3s, box-shadow 0.3s; box-shadow: 0 14px 30px -12px rgba(20,19,17,0.4); border: 0; cursor: pointer; letter-spacing: 0.01em; }
.lst-cta:hover { background: var(--gold); transform: translateY(-2px); }
.lst-cta svg { width: 16px; height: 16px; fill: #25D366; }
.lst-note { margin-top: 12px; font-size: 11.5px; color: var(--ink-60); text-align: center; line-height: 1.5; }

.lst-know-sec { padding: 60px 0 110px; background: var(--paper-2); border-top: 1px solid var(--ink-10); margin-top: 44px; }
.lst-know-title { font-family: var(--font-display); font-weight: 400; font-size: clamp(24px, 3vw, 32px); color: var(--ink); margin-bottom: 36px; letter-spacing: -0.015em; }
.lst-know-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; align-items: stretch; }
.lst-know-card { background: var(--bone); border: 1px solid var(--ink-10); border-radius: 4px; padding: 30px 28px 22px; box-shadow: 0 18px 40px -30px rgba(20,19,17,0.18); }
.lst-know-ico { width: 46px; height: 46px; border-radius: 50%; background: var(--paper-3); border: 1px solid var(--ink-10); display: flex; align-items: center; justify-content: center; color: var(--gold-2); margin-bottom: 16px; }
.lst-know-ico svg { width: 21px; height: 21px; }
.lst-know-grid h4 { font-family: var(--font-display); font-weight: 400; font-size: 19px; color: var(--ink); padding-bottom: 14px; border-bottom: 1px solid var(--ink-10); }
.lst-know-grid ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; }
.lst-know-grid li { font-size: 14px; color: var(--ink-80); line-height: 1.55; padding: 12px 0 12px 24px; position: relative; border-bottom: 1px dashed var(--ink-10); }
.lst-know-grid li:last-child { border-bottom: 0; padding-bottom: 2px; }
.lst-know-grid li::before { content: ''; position: absolute; left: 4px; top: 19px; width: 6px; height: 6px; border-radius: 50%; background: var(--gold); }
@media (max-width: 900px) { .lst-know-grid { grid-template-columns: 1fr; gap: 18px; } }

.lst-mobile-bar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 90; background: var(--bone); border-top: 1px solid var(--ink-10); box-shadow: 0 -12px 30px rgba(20,19,17,0.14); padding: 12px var(--gutter); display: none; align-items: center; justify-content: space-between; gap: 14px; }
.lst-mobile-bar-dates { font-size: 12px; color: var(--ink-60); line-height: 1.3; }
.lst-mobile-bar-dates b { display: block; font-size: 13.5px; color: var(--ink); }
.lst-mobile-bar-btn { flex: none; background: var(--ink); color: var(--bone); padding: 13px 20px; border-radius: 999px; font-size: 13px; font-weight: 600; border: 0; cursor: pointer; }
@media (max-width: 1000px) {
  .lst-mobile-bar { display: flex; }
  body { padding-bottom: 78px; }
  .lst-body-grid { grid-template-columns: 1fr; gap: 44px; }
  .lst-col-side { align-self: auto; }
  .lst-booking-card { position: relative; top: auto; }
}

/* =========================================================
   30. COMPONENTI EDITORIALI (.blog-*, .prose, .callout, .article-*)
   Da assets/blog.css. Per news, guide, approfondimenti.
========================================================= */
/* --- Pillola categoria (card, hero articolo) --- */
.blog-pill {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 10.5px; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--gold-2); background: var(--paper-2); border: 1px solid var(--ink-10);
  border-radius: 999px; padding: 7px 14px;
}

/* --- Header pagina blog.html --- */
.blog-hero { padding: clamp(140px, 18vw, 190px) 0 8px; background: var(--paper); }
.blog-hero .lead { margin-top: 20px; }

/* --- Filtri categoria (pillole cliccabili, JS vanilla) --- */
.blog-filters { display: flex; flex-wrap: wrap; gap: 10px; margin: 44px 0 8px; }
.blog-filters button {
  font-family: var(--font-sans); font-size: 12px; font-weight: 500; letter-spacing: 0.03em;
  color: var(--ink-80); background: var(--bone); border: 1px solid var(--ink-10); border-radius: 999px;
  padding: 10px 18px; transition: background 0.3s var(--ease), color 0.3s var(--ease), border-color 0.3s var(--ease);
}
.blog-filters button:hover { border-color: var(--gold); color: var(--gold-2); }
.blog-filters button.active { background: var(--ink); color: var(--bone); border-color: var(--ink); }

/* --- Featured article (card grande in evidenza) --- */
.blog-featured {
  display: block; position: relative; overflow: hidden;
  background: var(--ink); color: var(--bone); border-radius: 2px;
  padding: clamp(36px, 5vw, 64px);
  transition: transform 0.5s var(--ease), box-shadow 0.5s var(--ease);
}
.blog-featured::before {
  content: ''; position: absolute; right: -160px; top: -160px; width: 420px; height: 420px; border-radius: 50%;
  background: radial-gradient(circle, rgba(163,126,63,0.28), transparent 68%);
}
.blog-featured:hover { transform: translateY(-4px); box-shadow: 0 40px 80px -30px rgba(20,19,17,0.45); }
.blog-featured .kicker {
  position: relative; z-index: 1; display: inline-flex; align-items: center; gap: 10px;
  font-size: 11px; font-weight: 600; letter-spacing: 0.24em; text-transform: uppercase; color: var(--gold-soft);
  margin-bottom: 24px;
}
.blog-featured h2 {
  position: relative; z-index: 1;
  font-family: var(--font-display); font-weight: 300;
  font-size: clamp(2rem, 4.4vw, 3.4rem); line-height: 1.08; letter-spacing: -0.02em;
  max-width: 19ch; color: var(--bone);
}
.blog-featured h2 em { font-style: italic; color: var(--gold-soft); font-weight: 300; }
.blog-featured .excerpt { position: relative; z-index: 1; margin-top: 18px; max-width: 58ch; font-size: 15.5px; color: rgba(250,246,236,0.82); line-height: 1.6; }
.blog-featured .meta { position: relative; z-index: 1; display: flex; gap: 16px; flex-wrap: wrap; margin-top: 26px; font-size: 11.5px; letter-spacing: 0.08em; text-transform: uppercase; color: rgba(250,246,236,0.6); }
.blog-featured .go { position: relative; z-index: 1; margin-top: 28px; display: inline-flex; align-items: center; gap: 10px; font-size: 13px; font-weight: 500; color: var(--bone); border-bottom: 1px solid rgba(250,246,236,0.4); padding-bottom: 4px; transition: gap 0.3s var(--ease), border-color 0.3s var(--ease); }
.blog-featured .go::after { content: ''; width: 14px; height: 1px; background: currentColor; position: relative; margin-left: 8px; transition: width 0.3s var(--ease); }
.blog-featured:hover .go::after { width: 22px; }

/* --- Griglia magazine + card articolo --- */
.blog-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.blog-card {
  display: flex; flex-direction: column;
  background: var(--bone); border: 1px solid var(--ink-10); border-radius: 2px; padding: 30px 28px;
  transition: transform 0.5s var(--ease), box-shadow 0.5s var(--ease), border-color 0.3s var(--ease);
}
.blog-card:hover { transform: translateY(-6px); box-shadow: 0 30px 60px -30px rgba(20,19,17,0.22); border-color: var(--ink-20); }
.blog-card .blog-pill { align-self: flex-start; margin-bottom: 16px; }
.blog-card h3 { font-family: var(--font-display); font-weight: 400; font-size: clamp(19px, 1.9vw, 23px); color: var(--ink); line-height: 1.22; letter-spacing: -0.01em; }
.blog-card .excerpt {
  margin-top: 12px; color: var(--ink-60); font-size: 14px; line-height: 1.55; flex: 1;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.blog-card .blog-meta { margin-top: 16px; display: flex; gap: 12px; flex-wrap: wrap; font-size: 11px; color: var(--ink-40); letter-spacing: 0.05em; }
.blog-card .go { margin-top: 16px; padding-top: 16px; border-top: 1px solid var(--ink-10); font-size: 12.5px; font-weight: 500; color: var(--gold-2); display: inline-flex; align-items: center; gap: 8px; transition: gap 0.3s var(--ease); }
.blog-card .go::after { content: ''; width: 12px; height: 1px; background: currentColor; margin-left: 6px; transition: width 0.3s var(--ease); }
.blog-card:hover .go::after { width: 20px; }
.blog-card[hidden] { display: none; }

@media (max-width: 1000px) { .blog-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .blog-grid { grid-template-columns: 1fr; } }

/* --- Hero tipografico (pagina articolo singolo, senza foto) --- */
.article-hero { padding: clamp(150px, 20vw, 200px) 0 48px; background: var(--paper); }
.article-hero .blog-pill { margin-bottom: 26px; }
.article-hero h1 {
  font-family: var(--font-display); font-weight: 300;
  font-size: clamp(2.3rem, 5.4vw, 4.2rem); line-height: 1.06; letter-spacing: -0.025em;
  color: var(--ink); max-width: 19ch;
}
.article-hero h1 em { font-style: italic; color: var(--gold); font-weight: 300; }
.article-hero .subtitle { margin-top: 22px; font-family: var(--font-display); font-weight: 300; font-size: clamp(1.05rem, 1.3vw, 1.25rem); color: var(--ink-80); max-width: 62ch; line-height: 1.55; }
.article-meta { margin-top: 30px; display: flex; align-items: center; gap: 14px; flex-wrap: wrap; font-size: 11.5px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink-60); }
.article-meta .sep { width: 3px; height: 3px; border-radius: 50%; background: var(--ink-40); }

/* --- Corpo articolo (prose) --- */
.article-body { padding: clamp(56px, 8vw, 90px) 0; }
.prose { max-width: 70ch; }
.prose p { font-size: 16px; line-height: 1.8; color: var(--ink-80); }
.prose p + p { margin-top: 20px; }
.prose h2 {
  font-family: var(--font-display); font-weight: 400; font-size: clamp(24px, 3vw, 32px);
  color: var(--ink); letter-spacing: -0.015em; margin-top: 48px; margin-bottom: 18px; line-height: 1.2;
}
.prose h2 em { font-style: italic; color: var(--gold); font-weight: 400; }
.prose ul { margin: 22px 0; padding-left: 22px; display: flex; flex-direction: column; gap: 8px; }
.prose li { font-size: 15.5px; color: var(--ink-80); line-height: 1.65; }
.prose strong { color: var(--ink); font-weight: 600; }

/* --- Callout (box evidenza dentro il testo) --- */
.callout { background: var(--paper-2); border-left: 3px solid var(--gold); padding: 18px 22px; border-radius: 2px; font-size: 14.5px; color: var(--ink-80); line-height: 1.65; margin: 32px 0; max-width: 70ch; }
.callout strong { color: var(--ink); }

/* --- Box CTA soggiorno (dentro / fine articolo) --- */
.blog-cta {
  margin: 48px 0; max-width: 70ch; position: relative; overflow: hidden;
  background: var(--ink); color: var(--bone); border-radius: 2px; padding: clamp(32px, 4vw, 44px);
}
.blog-cta::before { content: ''; position: absolute; right: -140px; top: -140px; width: 340px; height: 340px; border-radius: 50%; background: radial-gradient(circle, rgba(163,126,63,0.28), transparent 68%); }
.blog-cta h4 { position: relative; z-index: 1; font-family: var(--font-display); font-weight: 400; font-size: clamp(21px, 2.4vw, 28px); color: var(--bone); letter-spacing: -0.015em; max-width: 24ch; }
.blog-cta p { position: relative; z-index: 1; margin-top: 12px; font-size: 14.5px; color: rgba(250,246,236,0.8); max-width: 48ch; line-height: 1.6; }
.blog-cta .actions { position: relative; z-index: 1; display: flex; align-items: center; gap: 24px; flex-wrap: wrap; margin-top: 26px; }
.blog-cta .actions .link { font-size: 13.5px; font-weight: 500; color: var(--gold-soft); border-bottom: 1px solid rgba(232,201,138,0.4); padding-bottom: 3px; transition: color 0.3s var(--ease), border-color 0.3s var(--ease); }
.blog-cta .actions .link:hover { color: var(--bone); border-bottom-color: var(--bone); }

/* --- Articoli correlati --- */
.blog-related { padding: clamp(56px, 8vw, 90px) 0; background: var(--bone-2); border-top: 1px solid var(--ink-10); }
.blog-related .h2 { font-size: clamp(1.7rem, 3.2vw, 2.4rem); }
.blog-related-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 40px; }
.blog-related-grid .blog-card { background: var(--paper); }
@media (max-width: 900px) { .blog-related-grid { grid-template-columns: 1fr; } }

@media (max-width: 900px) { .article-hero { padding-top: 160px; } }

/* --- Foto articolo (Wikimedia Commons, credito in didascalia) --- */
.article-figure { margin: 38px 0 8px; }
.article-figure img { width: 100%; height: auto; max-height: 520px; object-fit: cover; border-radius: 2px; display: block; }
.article-figure figcaption { margin-top: 10px; font-size: 12px; color: var(--ink-60); letter-spacing: 0.02em; }
.article-figure figcaption a { color: inherit; text-decoration: underline; text-underline-offset: 2px; }
.prose .article-figure { margin: 34px 0; }

/* =========================================================
   31. MODALE LEGALE (privacy / cookie / termini)
========================================================= */
.policy-modal {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: none;
  align-items: center;
  justify-content: center;
  padding: clamp(16px, 3vw, 48px);
  background: rgba(20, 19, 17, 0.72);
  backdrop-filter: saturate(1.1) blur(6px);
  -webkit-backdrop-filter: saturate(1.1) blur(6px);
  opacity: 0;
  transition: opacity .35s var(--ease);
}
.policy-modal.open {
  display: flex;
  opacity: 1;
}
.policy-card {
  background: var(--bone);
  color: var(--ink);
  width: 100%;
  max-width: 880px;
  max-height: 92vh;
  border-radius: 4px;
  box-shadow: 0 40px 120px rgba(0,0,0,0.45), 0 0 0 1px rgba(20,19,17,0.08);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  transform: translateY(16px) scale(0.98);
  transition: transform .45s var(--ease);
}
.policy-modal.open .policy-card { transform: translateY(0) scale(1); }

.policy-head {
  padding: 28px clamp(24px, 4vw, 48px) 20px;
  border-bottom: 1px solid var(--ink-10);
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
  background: var(--bone);
  position: sticky;
  top: 0;
  z-index: 2;
}
.policy-head .kicker {
  font-size: 10px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 500;
  margin-bottom: 8px;
  display: block;
}
.policy-head h3 {
  font-family: var(--font-display);
  font-weight: 300;
  font-size: clamp(1.6rem, 3.2vw, 2.1rem);
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: var(--ink);
}
.policy-head h3 em { font-style: italic; color: var(--gold); font-weight: 300; }
.policy-head .updated {
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-40);
  margin-top: 6px;
}
.policy-close {
  position: relative;
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid var(--ink-20);
  background: transparent;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--ink);
  transition: background .2s ease, border-color .2s ease, transform .2s ease;
}
.policy-close:hover { background: var(--ink); color: var(--bone); border-color: var(--ink); transform: rotate(90deg); }
.policy-close::before, .policy-close::after {
  content: '';
  position: absolute;
  width: 14px;
  height: 1px;
  background: currentColor;
}
.policy-close::before { transform: rotate(45deg); }
.policy-close::after { transform: rotate(-45deg); }

.policy-body {
  padding: 28px clamp(24px, 4vw, 48px) clamp(32px, 5vw, 56px);
  overflow-y: auto;
  flex: 1;
  font-size: 14.5px;
  line-height: 1.7;
  color: var(--ink-80);
  scroll-behavior: smooth;
  overscroll-behavior: contain;
}
.policy-body::-webkit-scrollbar { width: 8px; }
.policy-body::-webkit-scrollbar-track { background: transparent; }
.policy-body::-webkit-scrollbar-thumb { background: var(--ink-20); border-radius: 4px; }
.policy-body::-webkit-scrollbar-thumb:hover { background: var(--ink-40); }

.policy-body .lead {
  font-size: 15px;
  color: var(--ink-80);
  margin-bottom: 28px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--ink-10);
}
.policy-body h4 {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 1.25rem;
  line-height: 1.25;
  color: var(--ink);
  margin-top: 32px;
  margin-bottom: 12px;
  letter-spacing: -0.01em;
  scroll-margin-top: 120px;
}
.policy-body h4:first-of-type { margin-top: 0; }
.policy-body h5 {
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink);
  margin-top: 22px;
  margin-bottom: 10px;
}
.policy-body p { margin-bottom: 12px; }
.policy-body p strong, .policy-body li strong { color: var(--ink); font-weight: 600; }
.policy-body ul, .policy-body ol { padding-left: 20px; margin-bottom: 14px; }
.policy-body li { margin-bottom: 6px; }
.policy-body a { color: var(--gold-2); text-decoration: underline; text-underline-offset: 3px; }
.policy-body a:hover { color: var(--gold); }

.policy-body .callout {
  background: var(--bone-2);
  border-left: 3px solid var(--gold);
  padding: 14px 18px;
  margin: 18px 0;
  border-radius: 2px;
  font-size: 14px;
}
.policy-body .callout strong { color: var(--ink); }

.policy-body .placeholder {
  display: inline-block;
  background: rgba(163, 126, 63, 0.14);
  color: var(--gold-2);
  padding: 1px 8px;
  border-radius: 3px;
  font-weight: 500;
  font-size: 0.95em;
  letter-spacing: 0.02em;
  border: 1px dashed var(--gold);
}

.policy-body table {
  width: 100%;
  border-collapse: collapse;
  margin: 14px 0 22px;
  font-size: 13.5px;
}
.policy-body table th, .policy-body table td {
  text-align: left;
  padding: 10px 12px;
  border-bottom: 1px solid var(--ink-10);
  vertical-align: top;
}
.policy-body table th {
  font-weight: 600;
  color: var(--ink);
  background: var(--bone-2);
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.policy-body table td { color: var(--ink-80); }

.policy-body .cookie-block {
  background: #fff;
  border: 1px solid var(--ink-10);
  border-radius: 4px;
  padding: 18px 22px;
  margin: 16px 0;
}
.policy-body .cookie-block h5 { margin-top: 0; margin-bottom: 8px; }
.policy-body .cookie-block .tag {
  display: inline-block;
  font-size: 9px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 2px 8px;
  border-radius: 999px;
  margin-left: 6px;
  font-weight: 500;
  vertical-align: 1px;
}
.policy-body .tag-tech { background: rgba(27, 42, 58, 0.1); color: var(--ink); }
.policy-body .tag-third { background: rgba(163, 126, 63, 0.15); color: var(--gold-2); }
.policy-body .cookie-block dl { margin-top: 8px; font-size: 13px; }
.policy-body .cookie-block dl div {
  display: grid;
  grid-template-columns: 150px 1fr;
  padding: 6px 0;
  border-bottom: 1px dashed var(--ink-10);
}
.policy-body .cookie-block dl div:last-child { border-bottom: 0; }
.policy-body .cookie-block dl dt { font-weight: 600; color: var(--ink); font-size: 12px; letter-spacing: 0.02em; }
.policy-body .cookie-block dl dd { color: var(--ink-80); font-size: 13px; }

.policy-body .foot-note {
  margin-top: 32px;
  padding-top: 18px;
  border-top: 1px solid var(--ink-10);
  font-size: 12.5px;
  color: var(--ink-60);
  font-style: italic;
}

@media (max-width: 600px) {
  .policy-head { padding: 20px 20px 16px; }
  .policy-body { padding: 22px 20px 32px; font-size: 14px; }
  .policy-body .cookie-block dl div { grid-template-columns: 1fr; gap: 2px; padding: 8px 0; }
  .policy-close { width: 36px; height: 36px; }
}
body.no-scroll { overflow: hidden; }

/* =========================================================
   32. COOKIE BANNER + PREFERENZE + TOGGLE
========================================================= */
/* Cookie banner */
.cookie-banner {
  position: fixed;
  left: clamp(16px, 3vw, 32px);
  right: clamp(16px, 3vw, 32px);
  bottom: clamp(16px, 3vw, 32px);
  z-index: 150;
  background: var(--ink);
  color: var(--bone);
  border-radius: 6px;
  box-shadow: 0 30px 80px rgba(0,0,0,0.5), 0 0 0 1px rgba(250,246,236,0.06);
  padding: clamp(20px, 2.5vw, 28px) clamp(22px, 3vw, 36px);
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 24px;
  align-items: center;
  transform: translateY(24px);
  opacity: 0;
  pointer-events: none;
  transition: transform .5s var(--ease), opacity .4s var(--ease);
  max-width: 1080px;
  margin: 0 auto;
}
.cookie-banner.visible {
  transform: translateY(0);
  opacity: 1;
  pointer-events: auto;
}
.cookie-banner-text {
  font-size: 13.5px;
  line-height: 1.6;
  color: rgba(250, 246, 236, 0.88);
}
.cookie-banner-text h5 {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 18px;
  color: var(--bone);
  margin-bottom: 6px;
  letter-spacing: -0.01em;
}
.cookie-banner-text h5 em { color: var(--gold-soft); font-style: italic; }
.cookie-banner-text a {
  color: var(--gold-soft);
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: color .2s ease;
}
.cookie-banner-text a:hover { color: var(--bone); }
.cookie-banner-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
}
.cookie-btn {
  font-family: var(--font-sans);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  padding: 11px 20px;
  border-radius: 999px;
  cursor: pointer;
  transition: all .2s ease;
  font-weight: 500;
  border: 1px solid transparent;
  white-space: nowrap;
}
.cookie-btn.ghost {
  background: transparent;
  color: rgba(250, 246, 236, 0.78);
  border-color: rgba(250, 246, 236, 0.24);
}
.cookie-btn.ghost:hover { color: var(--bone); border-color: var(--bone); }
.cookie-btn.primary {
  background: var(--gold);
  color: var(--ink);
  border-color: var(--gold);
}
.cookie-btn.primary:hover { background: var(--gold-soft); border-color: var(--gold-soft); }
.cookie-btn.link {
  background: transparent;
  color: rgba(250, 246, 236, 0.6);
  border: 0;
  padding: 11px 12px;
  text-decoration: underline;
  text-underline-offset: 4px;
}
.cookie-btn.link:hover { color: var(--bone); }

@media (max-width: 820px) {
  .cookie-banner {
    grid-template-columns: 1fr;
    gap: 18px;
    padding: 22px 22px 20px;
  }
  .cookie-banner-actions { justify-content: flex-start; }
  .cookie-btn { flex: 1 1 calc(50% - 5px); text-align: center; padding: 12px 14px; }
  .cookie-btn.link { flex-basis: 100%; }
}

/* Cookie preferences modal */
.cookie-prefs {
  position: fixed;
  inset: 0;
  z-index: 210;
  display: none;
  align-items: center;
  justify-content: center;
  padding: clamp(16px, 3vw, 48px);
  background: rgba(20, 19, 17, 0.72);
  backdrop-filter: saturate(1.1) blur(6px);
  -webkit-backdrop-filter: saturate(1.1) blur(6px);
  opacity: 0;
  transition: opacity .35s var(--ease);
}
.cookie-prefs.open {
  display: flex;
  opacity: 1;
}
.cookie-prefs-card {
  background: var(--bone);
  color: var(--ink);
  width: 100%;
  max-width: 620px;
  max-height: 90vh;
  border-radius: 4px;
  box-shadow: 0 40px 120px rgba(0,0,0,0.45), 0 0 0 1px rgba(20,19,17,0.08);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  transform: translateY(16px) scale(0.98);
  transition: transform .45s var(--ease);
}
.cookie-prefs.open .cookie-prefs-card { transform: translateY(0) scale(1); }
.cookie-prefs-head {
  padding: 26px 32px 18px;
  border-bottom: 1px solid var(--ink-10);
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 20px;
}
.cookie-prefs-head .kicker {
  font-size: 10px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 500;
  display: block;
  margin-bottom: 6px;
}
.cookie-prefs-head h3 {
  font-family: var(--font-display);
  font-weight: 300;
  font-size: 1.6rem;
  letter-spacing: -0.01em;
  line-height: 1.1;
}
.cookie-prefs-head h3 em { font-style: italic; color: var(--gold); font-weight: 300; }
.cookie-prefs-body {
  padding: 20px 32px 8px;
  overflow-y: auto;
  flex: 1;
  font-size: 14px;
  line-height: 1.6;
  color: var(--ink-80);
}
.cookie-prefs-body p { margin-bottom: 12px; }
.cookie-prefs-body a { color: var(--gold-2); text-decoration: underline; text-underline-offset: 3px; }

.cookie-category {
  padding: 18px 0;
  border-bottom: 1px solid var(--ink-10);
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 18px;
  align-items: flex-start;
}
.cookie-category:last-of-type { border-bottom: 0; }
.cookie-category-title {
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: 14px;
  color: var(--ink);
  margin-bottom: 4px;
}
.cookie-category-desc {
  font-size: 13px;
  color: var(--ink-60);
  line-height: 1.55;
}
.cookie-category .status {
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-40);
  margin-top: 6px;
  font-weight: 500;
}

/* Toggle switch */
.switch { position: relative; width: 46px; height: 26px; flex-shrink: 0; }
.switch input { opacity: 0; width: 0; height: 0; position: absolute; }
.switch .slider {
  position: absolute;
  inset: 0;
  background: var(--ink-20);
  border-radius: 999px;
  cursor: pointer;
  transition: background .2s ease;
}
.switch .slider::before {
  content: '';
  position: absolute;
  left: 3px;
  top: 3px;
  width: 20px;
  height: 20px;
  background: var(--bone);
  border-radius: 50%;
  transition: transform .2s var(--ease);
}
.switch input:checked + .slider { background: var(--gold); }
.switch input:checked + .slider::before { transform: translateX(20px); }
.switch input:disabled + .slider { background: rgba(163, 126, 63, 0.5); cursor: not-allowed; }
.switch input:disabled + .slider::before { background: rgba(250, 246, 236, 0.8); }

.cookie-prefs-foot {
  padding: 18px 32px 26px;
  border-top: 1px solid var(--ink-10);
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: flex-end;
}
.cookie-prefs-foot .cookie-btn.ghost { color: var(--ink-60); border-color: var(--ink-20); }
.cookie-prefs-foot .cookie-btn.ghost:hover { color: var(--ink); border-color: var(--ink); }
.cookie-prefs-foot .cookie-btn.primary { background: var(--ink); color: var(--bone); border-color: var(--ink); }
.cookie-prefs-foot .cookie-btn.primary:hover { background: var(--gold-2); border-color: var(--gold-2); }
@media (max-width: 500px) {
  .cookie-prefs-head, .cookie-prefs-body, .cookie-prefs-foot { padding-left: 20px; padding-right: 20px; }
  .cookie-prefs-foot { flex-direction: column; }
  .cookie-prefs-foot .cookie-btn { width: 100%; text-align: center; }
}

/* =========================================================
   33. MAPPA LEAFLET
   [DIVERGENZA] blocco nuovo: il donatore usava un iframe Google Maps con gate
   di consenso, vietato dal BRIEF. Qui: Leaflet 1.9.4 + tile OpenStreetMap.
========================================================= */
.map-section { padding: 0; background: var(--paper); }
#mapContainer, .map-container { width: 100%; aspect-ratio: 21/9; min-height: 320px; }
/* OBBLIGATORIO (BRIEF regola 1): senza isolation i pane Leaflet (z-index fino a
   1000) coprono nav, cookie banner e modali legali. */
#mapContainer, .map-container, .map-section { position: relative; z-index: 0; isolation: isolate; }
.leaflet-container { font-family: var(--font-sans); border-radius: 2px; }
.leaflet-popup-content-wrapper { border-radius: 3px; background: var(--bone); color: var(--ink); }
.leaflet-popup-content { font-size: 13.5px; line-height: 1.5; margin: 12px 14px; }
.leaflet-popup-content b { font-family: var(--font-display); font-weight: 400; font-size: 15px; }
.leaflet-popup-tip { background: var(--bone); }
.leaflet-control-attribution { font-size: 10px; background: rgba(250, 246, 236, 0.85); }
@media (max-width: 700px) {
  #mapContainer, .map-container { aspect-ratio: 4/3; }
}

/* =========================================================
   34. FOOTER
========================================================= */
footer {
  background: var(--ink);
  color: var(--bone);
  padding: 80px 0 32px;
  overflow: hidden;
}
.footer-wordmark {
  font-family: var(--font-display);
  font-weight: 300;
  font-size: clamp(4rem, 18vw, 18rem);
  line-height: 0.8;
  letter-spacing: -0.04em;
  text-align: center;
  white-space: nowrap;
  padding: 0 var(--gutter);
}
.footer-wordmark em { font-style: italic; color: var(--gold); font-weight: 300; }
.footer-meta {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: clamp(32px, 5vw, 80px);
  padding: 0 var(--gutter);
  font-size: 14px;
  color: rgba(250, 246, 236, 0.75);
}
.footer-meta a:hover { color: var(--gold-soft); }
.footer-meta h4 {
  font-size: 10px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: rgba(250, 246, 236, 0.45);
  margin-bottom: 12px;
  font-weight: 500;
}
.footer-meta a { display: block; margin-bottom: 6px; }
.footer-legal {
  margin-top: 48px;
  padding: 20px var(--gutter) 0;
  border-top: 1px solid rgba(250, 246, 236, 0.12);
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 28px;
  flex-wrap: wrap;
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(250, 246, 236, 0.7);
}
.footer-legal a {
  color: rgba(250, 246, 236, 0.7);
  text-decoration: none;
  transition: color .2s ease;
  border-bottom: 1px solid transparent;
  padding-bottom: 2px;
}
.footer-legal a:hover { color: var(--gold-soft); border-bottom-color: var(--gold-soft); }
.footer-legal .sep {
  width: 3px;
  height: 3px;
  background: rgba(250, 246, 236, 0.3);
  border-radius: 50%;
}
.footer-bottom {
  margin-top: 20px;
  padding: 20px var(--gutter) 0;
  border-top: 1px solid rgba(250, 246, 236, 0.08);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(250, 246, 236, 0.45);
  flex-wrap: wrap;
}
@media (max-width: 700px) {
  .footer-meta { grid-template-columns: 1fr 1fr; gap: 32px; }
  .footer-legal { gap: 14px; font-size: 10px; letter-spacing: 0.12em; }
  .footer-legal .sep { display: none; }
  .footer-bottom { flex-direction: column; align-items: flex-start; gap: 8px; }
  .footer-wordmark { font-size: clamp(3rem, 22vw, 7rem); }
}

/* =========================================================
   35. CTA FLOTTANTE + TORNA SU
   .floating-book e' un nome ereditato: e' una pill flottante generica.
========================================================= */
.floating-book {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 90;
  background: var(--ink);
  color: var(--bone);
  padding: 16px 24px;
  border-radius: 999px;
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  box-shadow: 0 20px 40px -10px rgba(0,0,0,0.3);
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.4s var(--ease), transform 0.4s var(--ease), background 0.3s var(--ease);
}
.floating-book.show { opacity: 1; transform: translateY(0); }
.floating-book:hover { background: var(--gold); }
.floating-book .pulse {
  width: 8px; height: 8px;
  background: var(--gold);
  border-radius: 50%;
  position: relative;
}
.floating-book .pulse::after {
  content: "";
  position: absolute;
  inset: -4px;
  border: 1px solid var(--gold);
  border-radius: 50%;
  animation: pulse 1.6s ease-out infinite;
}
.floating-book:hover .pulse { background: var(--bone); }
.floating-book:hover .pulse::after { border-color: var(--bone); }
@keyframes pulse {
  0% { transform: scale(0.8); opacity: 1; }
  100% { transform: scale(2); opacity: 0; }
}
@media (max-width: 600px) {
  .floating-book { padding: 12px 18px; font-size: 10px; }
}


.to-top {
  position: fixed; bottom: 24px; right: 24px; z-index: 90;
  width: 48px; height: 48px; border-radius: 50%;
  background: var(--ink); color: var(--bone);
  display: flex; align-items: center; justify-content: center;
  opacity: 0; pointer-events: none; transform: translateY(16px);
  transition: opacity 0.4s var(--ease), transform 0.4s var(--ease), background 0.3s var(--ease);
  box-shadow: 0 20px 40px -10px rgba(0,0,0,0.3);
}
.to-top.in { opacity: 1; pointer-events: auto; transform: none; }
.to-top:hover { background: var(--gold); }

/* =========================================================
   36. ANIMAZIONI E REVEAL
   .reveal / .reveal-stagger / .clip-reveal / .split-line +
   fallback prefers-reduced-motion e .no-js.
========================================================= */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 1s var(--ease), transform 1s var(--ease);
}
.reveal.in { opacity: 1; transform: translateY(0); }
.reveal-stagger > * {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
}
.reveal-stagger.in > * { opacity: 1; transform: translateY(0); }
.reveal-stagger.in > *:nth-child(1) { transition-delay: 0.05s; }
.reveal-stagger.in > *:nth-child(2) { transition-delay: 0.15s; }
.reveal-stagger.in > *:nth-child(3) { transition-delay: 0.25s; }
.reveal-stagger.in > *:nth-child(4) { transition-delay: 0.35s; }
.reveal-stagger.in > *:nth-child(5) { transition-delay: 0.45s; }
.reveal-stagger.in > *:nth-child(6) { transition-delay: 0.55s; }


/* Image clip reveal */
.clip-reveal {
  clip-path: inset(0 100% 0 0);
  transition: clip-path 1.4s var(--ease-power);
}
.clip-reveal.in { clip-path: inset(0 0 0 0); }

/* SAFETY FALLBACK */
@media (prefers-reduced-motion: reduce) {
  .reveal, .reveal-stagger, .reveal-stagger > *, .clip-reveal, .split-line > span {
    opacity: 1 !important;
    transform: none !important;
    clip-path: none !important;
    transition: none !important;
    animation: none !important;
  }
}
.no-js .reveal, .no-js .reveal-stagger, .no-js .reveal-stagger > *,
.no-js .clip-reveal, .no-js .split-line > span {
  opacity: 1 !important;
  transform: none !important;
  clip-path: none !important;
}
