/* ==========================================================================
   Montiruju Hotel — proposta 02
   Mix: animazioni ispirate a Rosa Hotels (smooth scroll, cerchio che si
   apre, riquadro che si espande, gallery a colonne, card ovali) e a Hotel
   Aurelia (intro, camere, footer, titoli che salgono sfocati).
   Font: solo Italiana (titoli) e Montserrat (testi e UI), installati in fonts/.
   ========================================================================== */

/* Font installati in locale (fonts/): solo Italiana (titoli) e Montserrat variabile 300–600 (testi e UI) */
/* latin */
@font-face {
  font-family: 'Italiana';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(../fonts/italiana-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* latin-ext */
@font-face {
  font-family: 'Montserrat';
  font-style: normal;
  font-weight: 300 600;
  font-display: swap;
  src: url(../fonts/montserrat-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Montserrat';
  font-style: normal;
  font-weight: 300 600;
  font-display: swap;
  src: url(../fonts/montserrat-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  /* Palette: blu petrolio profondo (da #0D2933, scurito) + oro Pantone 465 C su fondi avorio */
  --cream: #FBF9F4;        /* fondo chiaro avorio */
  --paper: #FDFCF9;        /* fondo pagina */
  --sand: #F6F2EA;
  --sand-deep: #E4D9C8;
  --ink: #0A1F27;          /* primario: blu petrolio profondo (#0D2933 scurito) */
  --ink-2: #06151B;        /* superfici scure (footer, gallery) */
  --moss: #33464D;         /* testo secondario, blu ardesia */
  --moss-btn: #0A1F27;     /* bottoni pieni: primario */
  --clay: #B9975B;         /* accento: oro Pantone 465 C */
  --clay-dark: #7E6130;    /* oro scuro per testi piccoli su chiaro (contrasto AA) */
  --clay-light: #D6BD8A;   /* oro chiaro per testi su scuro */
  --focus: var(--clay-dark);  /* anello di focus: oro scuro su fondo chiaro (≥ 3:1); sulle sezioni scure diventa oro chiaro */
  --stone: #5E6B6F;
  --bone: #FBFAF8;         /* testo su foto */
  --line: rgba(10, 31, 39, .14);
  --line-light: rgba(245, 240, 228, .22);

  /* Tipografia: Italiana (titoli, un solo peso, niente corsivo) + Montserrat (testi e UI) */
  --head: "Italiana", Georgia, serif;
  --serif: var(--head);
  --sans: "Montserrat", system-ui, sans-serif;

  /* Scala dei titoli: solo tre misure in tutto il sito */
  --t-xl: clamp(40px, 5.6vw, 88px);   /* hero e intro */
  --t-l: clamp(36px, 5vw, 76px);      /* titoli di sezione */
  --t-card: clamp(30px, 3vw, 44px);   /* nomi nelle card grandi (camere, appartamenti, offerte) e titoli "altre…" */
  --t-m: clamp(24px, 2.2vw, 34px);    /* nomi nelle card (camere, servizi, dintorni, articoli) */
  --t-s: clamp(20px, 1.6vw, 24px);    /* piccoli titoli in Italiana: valori, domande, passi, filtri */
  --t-lead: clamp(17px, 1.4vw, 21px); /* paragrafo introduttivo sotto i titoli (Montserrat 300) */
  /* testo 16px, testo piccolo 14–15px, etichette in maiuscoletto 11px */

  --gutter: clamp(20px, 4vw, 56px);
  --maxw: 1320px;
  --section: clamp(88px, 12vw, 168px);
  --ease: cubic-bezier(.22, .61, .36, 1);
  --expo: cubic-bezier(.16, 1, .3, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-stopped { overflow: hidden; }
body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font: 300 16px/1.8 var(--sans);
  -webkit-font-smoothing: antialiased;
}
main { overflow-x: clip; }  /* gallery e carousel non allargano la pagina prima di assestarsi */
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
figure { margin: 0; }
button { font: inherit; color: inherit; }
h1, h2, h3, h4 { font-weight: 300; margin: 0; }
p { margin: 0 0 1em; font-family: var(--sans); font-weight: 300; font-size: 16px; line-height: 1.8; }
:focus-visible { outline: 2px solid var(--focus); outline-offset: 3px; }
/* sezioni scure o su foto: anello di focus in oro chiaro */
.hero, .header:not(.is-solid), .booking:not(.is-dark), .stay, .dine, .look, .lb, .banner, .terme__sticky, .rd-card { --focus: var(--clay-light); }
.bk-pop { --focus: var(--clay-dark); }

.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 var(--gutter); }
.section { padding: var(--section) 0; }

/* Contenitori immagine: colore di attesa finché la foto non carica */
.hero__media, .terme__media, .dine__media, .banner__media { background: var(--ink-2); }
.hero__media img, .terme__media img, .dine__media img,
.banner__media img, .banner__media video { width: 100%; height: 100%; object-fit: cover; }

/* ---------- Tipografia ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 12px;
  font: 400 11px/1.6 var(--sans);
  letter-spacing: .3em;
  text-transform: uppercase;
  color: var(--clay-dark);
  margin-bottom: 22px;
}
.eyebrow::before { content: none; }
.eyebrow--light { color: rgba(245, 240, 228, .8); }

/* Titoli in Italiana, maiuscole/minuscole; la parte in <em> resta nello stesso font, senza corsivo */
.display {
  font-family: var(--head);
  font-size: var(--t-l);
  font-weight: 500;
  line-height: 1.02;
  letter-spacing: -.02em;
}
.display em, .subhead em, .hero__title em, .terr__title em, .terr__sub em, .stay__card h3 em, .exp__title em, .wed__title em {
  font-family: inherit; font-style: normal; font-weight: inherit; letter-spacing: inherit;
}
h1 em, h2 em, h3 em { font-style: normal; }
.display--light { color: var(--cream); }
.subhead { font: 400 var(--t-m)/1.1 var(--head); letter-spacing: .01em; margin-bottom: 24px; }
.lead { font-size: 16px; font-weight: 300; line-height: 1.85; color: var(--moss); max-width: 62ch; margin: 32px auto 0; }

.center-head { text-align: center; }
.center-head .display { margin: 0 auto; }

/* Titoli divisi in parole che salgono sfocate (Aurelia) */
.w { display: inline-block; }
.wi {
  display: inline-block; opacity: 0; transform: translate3d(0, .6em, 0); filter: blur(8px);
  transition: opacity .9s var(--expo), transform .9s var(--expo), filter .9s var(--expo);
  transition-delay: calc(var(--i) * 70ms);
}
[data-split].is-visible .wi { opacity: 1; transform: none; filter: none; }

/* ---------- Bottoni e link ---------- */
.button {
  display: inline-flex; align-items: center; justify-content: center;
  height: 52px; padding: 0 30px;
  font: 500 11px/1 var(--sans); letter-spacing: .24em; text-transform: uppercase;
  border: 1px solid currentColor; border-radius: 999px; background: none;
  cursor: pointer; transition: background .4s var(--expo), color .4s var(--expo), border-color .4s var(--expo), transform .4s var(--expo);
}
.button:active { transform: scale(.97); }
.button--small { height: 42px; padding: 0 22px; font-size: 11px; }
.button--accent { background: var(--clay); border-color: var(--clay); color: var(--ink); }  /* testo blu sull'oro: contrasto ≈ 6:1 */
.button--accent:hover { background: var(--ink); border-color: var(--ink); color: var(--cream); }
.button--moss { background: var(--moss-btn); border-color: var(--moss-btn); color: var(--cream); }
.button--moss:hover { background: var(--moss); border-color: var(--moss); }
.button--light { color: var(--cream); }
.button--light:hover { background: var(--cream); color: var(--ink); }
.button--outline-light { color: var(--cream); border-color: rgba(245, 240, 228, .7); }
.button--outline-light:hover { background: var(--cream); color: var(--ink); }
.button--sand { background: var(--sand); border-color: var(--sand); color: var(--ink); }
.button--sand:hover { background: var(--ink); border-color: var(--ink); color: var(--cream); }

/* Link con rombo (Rosa "◆ Descubre más") */
.link-diamond {
  display: inline-flex; align-items: center; gap: 12px; min-height: 44px;
  font: 500 11px/1 var(--sans); letter-spacing: .24em; text-transform: uppercase;
}
.link-diamond::before {
  content: ""; width: 7px; height: 7px; background: currentColor; transform: rotate(45deg);
  transition: transform .6s var(--expo);
}
.link-diamond:hover::before { transform: rotate(225deg) scale(1.3); }

/* ---------- Header (stile Hotel Aurelia) ----------
   Sulla hero: trasparente, menu diviso ai lati del marchio centrato, maiuscoletto spaziato.
   Allo scroll diventa una capsula chiara sospesa che si restringe e si riallarga. */
:root { --gold: #B9975B; }
.header {
  position: fixed; inset: 0 0 auto; z-index: 50; color: var(--cream);
  transition: transform .7s var(--expo), background-color .4s, color .4s, box-shadow .4s;
}
.header__inner {
  position: relative; display: grid; grid-template-columns: 1fr auto auto; align-items: center;
  width: 100%; margin: 0 auto; height: 84px; padding: 0 var(--gutter); transition: height .5s var(--expo);
}
/* Dopo la hero: scendendo la navbar si nasconde, risalendo ricompare chiara con il logo a sinistra */
.header.is-solid {
  color: var(--ink); background: rgba(251, 249, 244, .95); backdrop-filter: blur(14px) saturate(1.1);
  box-shadow: 0 1px 0 var(--line), 0 10px 30px rgba(6, 21, 27, .06);
}
.header.is-solid .header__inner { height: 84px; }
.header.is-solid .header__logo { left: var(--gutter); transform: translate(0, -50%); }
.header.is-solid .header__logo img { height: 52px; }
.header.is-solid .header__sep { background: var(--line); }
/* Allo scroll la navbar diventa una capsula chiara sospesa; scendendo si restringe a destra (solo Prenota + menu),
   risalendo si riallarga verso sinistra e le voci ricompaiono una dopo l'altra. */
.header.is-solid { color: var(--ink); background: none; backdrop-filter: none; box-shadow: none; }
.header.is-solid .header__inner {
  /* aperta: barra a tutto schermo, senza margini; ristretta: pillola attorno a Prenota + menu */
  width: 100%; height: 84px; margin-top: 0; padding: 0 var(--gutter); border-radius: 0;
  background: var(--paper); backdrop-filter: blur(14px) saturate(1.1);  /* barra avorio (#FDFCF9) allo scroll */
  clip-path: inset(0 0 0 0 round 0);
  transition: width .6s var(--expo), height .5s var(--expo), margin .5s var(--expo), padding .5s var(--expo), clip-path 1s var(--expo), background-color .4s;
}
.header.is-solid .header__logo { left: var(--gutter); }
.header.is-solid .burger { display: block; margin-right: 0; margin-left: -10px; }  /* hamburger vicino a Prenota */
/* ristretta: il bianco abbraccia Prenota + menu con circa 9px di margine (valori misurati in main.js, measureCompact) */
.header.is-compact .header__inner { clip-path: inset(var(--ct, 10px) var(--cr, 6px) var(--ct, 10px) var(--cl, calc(100% - 190px)) round 999px); }
.header .header__nav a, .header .lang, .header .header__sep, .header .header__logo { transition: opacity .5s var(--expo), transform .6s var(--expo), left .6s var(--expo); }
.header.is-solid:not(.is-compact) .header__nav a, .header.is-solid:not(.is-compact) .lang, .header.is-solid:not(.is-compact) .header__sep { transition-delay: calc(var(--k, 0) * 45ms + 120ms); }
.header.is-compact .header__nav a, .header.is-compact .lang, .header.is-compact .header__sep { opacity: 0; transform: translate3d(14px, 0, 0); transition-delay: 0s; }
.header.is-compact .header__logo { opacity: 0; }
/* Allo scroll i due menu si uniscono a destra (l'animazione è in main.js, tecnica FLIP) */
.header.is-solid .header__inner { grid-template-columns: 1fr auto auto; }
.header.is-solid .header__nav--left { grid-column: 2; margin-right: 32px; }
.header.is-solid .header__nav { gap: 30px; }
.header.is-solid .header__right { grid-column: 3; gap: 20px; }
.header__nav--left.is-moving { transition: transform .9s var(--expo); }
.header__nav { display: flex; gap: 36px; font: 500 12px/1 var(--sans); letter-spacing: .2em; text-transform: uppercase; white-space: nowrap; }
.header__nav--left { grid-column: 2; margin-right: 32px; }  /* in cima: logo a sinistra, tutte le voci a destra */
.header__nav a { position: relative; padding: 8px 0; }
/* tra 1101 e 1260px le sei voci stanno strette: spazi e spaziatura delle lettere un po' ridotti, così non toccano il logo */
@media (min-width: 1101px) and (max-width: 1260px) {
  .header__nav, .header.is-solid .header__nav { gap: 22px; letter-spacing: .14em; }
  .header__right, .header.is-solid .header__right { gap: 16px; letter-spacing: .14em; }
}
.header__nav a::after {
  content: ""; position: absolute; left: 0; right: .2em; bottom: 0; height: 1px;
  background: var(--gold); transform: scaleX(0); transform-origin: right; transition: transform .5s var(--expo);
}
.header__nav a:hover::after { transform: scaleX(1); transform-origin: left; }

.header__logo { position: absolute; top: 50%; left: var(--gutter); transform: translate(0, -50%); transition: left .6s var(--expo), transform .6s var(--expo); }
/* stessa altezza della barra in cima e allo scroll: il monogramma resta fermo e si rimpicciolisce appena (64 → 52px) */
.header__logo img { width: auto; height: 64px; transition: height .6s var(--expo); }
/* Accanto al monogramma la scritta "Montiruju Hotel" in Italiana, come nel logo del footer: chiara sulla foto, blu sulla barra */
.header__logo { display: flex; align-items: center; gap: 16px; }
.header__word { font: 400 32px/1 var(--head); letter-spacing: .03em; white-space: nowrap; transition: font-size .6s var(--expo), opacity .5s var(--expo); }
.header.is-solid .header__word { font-size: 28px; }
/* dove le voci del menu occupano lo spazio della scritta resta solo il monogramma (sulla barra chiara il menu si allarga a sinistra) */
@media (min-width: 1101px) and (max-width: 1259px) { .header__word { display: none; } }
@media (min-width: 1101px) and (max-width: 1379px) { .header.is-solid .header__word { display: none; } }
@media (max-width: 359px) { .header .header__logo { gap: 10px; } .header .header__word, .header.is-solid .header__logo .header__word { font-size: 19px; } }  /* 320px: resta spazio per il burger */

.header__right { grid-column: 3; justify-self: stretch; display: flex; align-items: center; gap: 22px; font: 500 12px/1 var(--sans); letter-spacing: .2em; text-transform: uppercase; }
.header__sep { width: 1px; height: 18px; background: rgba(245, 240, 228, .35); }
.lang { display: flex; align-items: center; gap: 2px; }
.lang a { display: inline-block; padding: 8px 4px; opacity: .8; transition: opacity .3s; }  /* area di tocco ≥ 24px */
.lang a[aria-current], .lang a:hover { opacity: 1; }
.lang span { opacity: .35; }
/* Prenota: sulla hero trasparente con solo il bordo; nella navbar chiara identico al bottone blu della pillola (btn--small btn--moss) */
.header__book {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px; height: 42px; padding: 0 22px; margin-left: auto;
  border: 1px solid currentColor; border-radius: 999px; background: none; color: inherit;
  font: 500 11px/1 var(--sans); letter-spacing: .24em; text-transform: uppercase;
  transition: background .4s var(--expo), color .4s var(--expo), border-color .4s var(--expo), transform .4s var(--expo);
}
.header__book:hover { background: var(--cream); border-color: var(--cream); color: var(--ink); }
.header__book:active { transform: scale(.97); }
.header.is-solid .header__book { background: var(--moss-btn); border-color: var(--moss-btn); color: var(--cream); }
.header.is-solid .header__book:hover { background: var(--moss); border-color: var(--moss); color: var(--cream); }
.header.is-solid .header__book i { display: none; }
/* Sulla barra trasparente niente Prenota (la barra di prenotazione è già sulla hero). Allo scroll la pillola si apre
   da destra (larghezza, ritaglio e sfocatura) e la scritta si posa; tornando in cima si richiude verso destra e le voci
   del menu scivolano al suo posto. */
.header__book {
  max-width: 200px; overflow: hidden; white-space: nowrap; clip-path: inset(0 0 0 0 round 999px);
  transition: background .4s var(--expo), color .4s var(--expo), border-color .4s var(--expo), transform .4s var(--expo),
    max-width .9s var(--expo), padding .9s var(--expo), margin .9s var(--expo), border-width .9s var(--expo),
    clip-path .9s var(--expo), opacity .6s var(--ease), filter .7s var(--ease), letter-spacing .9s var(--expo), visibility 0s;
}
.header:not(.is-solid) .header__book {
  max-width: 0; padding-inline: 0; margin-right: -22px; border-width: 0; letter-spacing: .6em;
  clip-path: inset(0 0 0 100% round 999px); opacity: 0; filter: blur(6px); visibility: hidden; pointer-events: none;
  transition-delay: 0s, 0s, 0s, 0s, .12s, .12s, .12s, .12s, 0s, 0s, 0s, 0s, .9s;  /* prima sfuma, poi si richiude */
}
/* entrata: prima si allarga la pillola, poi si apre il ritaglio e la scritta si mette a fuoco stringendo la spaziatura */
.header.is-solid .header__book {
  transition-duration: .4s, .4s, .4s, .4s, 1s, 1s, 1s, 1s, 1.2s, .8s, .9s, 1.2s, 0s;
  transition-timing-function: var(--expo), var(--expo), var(--expo), var(--expo), var(--ease), var(--ease), var(--ease), var(--ease), var(--expo), var(--ease), var(--ease), var(--expo), linear;
  transition-delay: 0s, 0s, 0s, 0s, 0s, 0s, 0s, 0s, .15s, .3s, .3s, .3s, 0s;
}
.header__sep:nth-of-type(2) { transition: opacity .5s var(--expo), width .9s var(--expo), margin .9s var(--expo); }
.header:not(.is-solid) .header__sep:nth-of-type(2) { width: 0; margin-left: -22px; opacity: 0; }
@media (prefers-reduced-motion: reduce) { .header__book { filter: none !important; } }
.header__book i { width: 7px; height: 7px; border-radius: 50%; background: var(--gold); box-shadow: 0 0 0 0 rgba(185, 151, 91, .6); animation: bookPulse 2.6s ease-out infinite; }
@keyframes bookPulse { 70% { box-shadow: 0 0 0 8px rgba(185, 151, 91, 0); } 100% { box-shadow: 0 0 0 0 rgba(185, 151, 91, 0); } }

.burger { display: none; width: 44px; height: 44px; background: none; border: 0; cursor: pointer; position: relative; color: inherit; padding: 0; margin-right: -10px; }
.burger span { position: absolute; left: 10px; right: 10px; height: 1px; background: currentColor; transition: transform .5s var(--expo), top .5s var(--expo); }
.burger span:first-child { top: 18px; }
.burger span:last-child { top: 25px; }
.menu-open .burger span:first-child { top: 22px; transform: rotate(45deg); }
.menu-open .burger span:last-child { top: 22px; transform: rotate(-45deg); }
.header.is-open .burger span:first-child { top: 22px; transform: rotate(45deg); }
.header.is-open .burger span:last-child { top: 22px; transform: rotate(-45deg); }

/* Logo fisso a sinistra mentre si scorre, senza sfondo né ombra */
.brand {
  position: fixed; z-index: 70; top: 16px; left: var(--gutter);
  display: grid; place-items: center; height: 52px;
  opacity: 0; pointer-events: none; transition: none;
}
/* .brand è una copia del monogramma posata esattamente sopra quello della barra (dopo lo zoom out): quando la barra
   si restringe il monogramma resta fermo al suo posto */
.brand img { width: auto; height: 52px; }
.brand.is-visible { opacity: 1; pointer-events: auto; transition: opacity 0s .65s; }
.menu-open .brand { transition: none; }  /* con il menu aperto il monogramma resta visibile */
.brand { transform-origin: 0 0; }
/* agganciato al logo del footer (main.js, dockBrand): il monogramma fisso sparisce, quello del footer fa un piccolo scatto */
.brand.is-visible.is-docked { opacity: 0; pointer-events: none; transition: none; }
.foot__logo img.is-docked { animation: footDock .7s var(--expo); }
@keyframes footDock { 0% { transform: scale(1); } 35% { transform: scale(1.07); } 100% { transform: scale(1); } }
@media (prefers-reduced-motion: reduce) { .foot__logo img.is-docked { animation: none; } }
.menu-open .header { z-index: 80; }  /* il burger resta sopra il menu aperto per chiuderlo */

/* ---------- Menu full screen ---------- */
.menu {
  position: fixed; inset: 0; z-index: 60;
  background: #fff; color: var(--ink);
  display: grid; grid-template-columns: 2fr 1fr; align-items: end; gap: 40px;
  padding: 120px var(--gutter) 56px;
  /* chiuso: un velo bianco arrotolato in alto; si srotola con il bordo inferiore curvo che si distende */
  clip-path: inset(0 0 100% 0 round 0 0 50% 50%); visibility: hidden;
  transition: clip-path .8s cubic-bezier(.76, 0, .24, 1) .1s, visibility 0s .9s;
}
.menu-open .menu { clip-path: inset(0 0 0 0 round 0); visibility: visible; transition: clip-path 1s cubic-bezier(.76, 0, .24, 1), visibility 0s; }
.menu:focus { outline: none; }  /* riceve il focus solo come contenitore, aprendo il menu con mouse o dito */
.menu__links { display: flex; flex-direction: column; }
.menu__links a {
  font: 400 clamp(30px, 4.6vw, 60px)/1.2 var(--head); letter-spacing: .01em; display: flex; align-items: baseline;
  transition: color .3s, padding .6s var(--expo), opacity .7s var(--expo), transform .9s var(--expo), filter .9s var(--expo);
}
.menu__links a:hover { color: var(--clay-dark); padding-left: 14px; }
/* all'apertura le voci salgono una dopo l'altra */
.menu__links a, .menu__side { opacity: 0; transform: translate3d(0, 24px, 0); filter: blur(6px); }
.menu-open .menu__links a, .menu-open .menu__side { opacity: 1; transform: none; filter: none; }
.menu-open .menu__links a { transition-delay: 0s, 0s, calc(var(--n, 0) * 60ms + 380ms), calc(var(--n, 0) * 60ms + 380ms), calc(var(--n, 0) * 60ms + 380ms); }
.menu-open .menu__side { transition: opacity .9s var(--expo) .8s, transform 1s var(--expo) .8s, filter 1s var(--expo) .8s; }
.menu__side { font-size: 15px; color: var(--moss); }
.menu__contact a { border-bottom: 1px solid var(--line); }
/* sopra il menu bianco l'header diventa blu (burger, Prenota, voci) */
.menu-open .header { color: var(--ink); }
.menu-open .header__book { border-color: var(--ink); }
.menu__side p { font-size: inherit; line-height: inherit; }
.menu__contact { margin-top: 40px; line-height: 1.8; }

/* ---------- Loader: monogramma che si compone, poi il velo si alza ----------
   L'animazione del monogramma è dentro img/svg/logo-loader.svg (circa 2.5s), poi resta fermo un attimo; qui solo l'uscita. */
.loader {
  position: fixed; inset: 0; z-index: 200; display: grid; place-items: center; pointer-events: none;
  background: var(--cream); animation: loaderOut 1.1s cubic-bezier(.76, 0, .24, 1) 2.95s forwards;
}
.loader__mark { width: clamp(104px, 11vw, 148px); height: auto; animation: loaderMark .9s cubic-bezier(.65, 0, .35, 1) 2.8s forwards; }
/* finché il monogramma non è carico (js/loader.js) velo, hero, barra ed etichetta WhatsApp restano in pausa, ritardi compresi */
.is-loading .loader, .is-loading .loader__mark, .is-loading .hero__content > *, .is-loading .booking, .is-loading .wa { animation-play-state: paused; }
@keyframes loaderOut { to { clip-path: inset(0 0 100% 0); visibility: hidden; } }
@keyframes loaderMark { to { opacity: 0; transform: translate3d(0, -18px, 0) scale(.96); } }

/* ---------- Hero (invariata, solo il font) ---------- */
.hero { position: relative; height: 100svh; min-height: 620px; color: var(--cream); overflow: hidden; }
.hero__media { position: absolute; inset: 0; }
.hero__media img { animation: heroZoom 18s var(--ease) both; }
.hero__video { width: 100%; height: 100%; object-fit: cover; display: block; animation: heroZoom 18s var(--ease) both; }
/* Gradiente leggero in moltiplica sopra (navbar) e sotto (prenotazione) */
.hero::after {
  content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background:
    linear-gradient(180deg, rgba(6, 21, 27, .7) 0%, rgba(6, 21, 27, .25) 16%, rgba(6, 21, 27, 0) 32%),
    linear-gradient(0deg, rgba(6, 21, 27, .7) 0%, rgba(6, 21, 27, .25) 18%, rgba(6, 21, 27, 0) 36%),
    rgba(6, 21, 27, .12);
}
/* Testo centrato nella hero */
.hero__content {
  position: absolute; z-index: 2; inset: 0; margin: 0 auto; padding: 0 var(--gutter);
  max-width: 1280px; display: flex; flex-direction: column; align-items: center; justify-content: center;
  text-align: center;
}
.hero__content .eyebrow { margin-bottom: 22px; }
/* titolo e barra salgono quando il velo del loader si alza */
.hero__content > * { animation: rise 1.2s var(--ease) 3.4s both; }
.hero__content > *:nth-child(2) { animation-delay: 3.55s; }
.hero__title { font: 400 var(--t-xl)/1 var(--head); letter-spacing: .01em; text-shadow: 0 2px 30px rgba(20, 16, 12, .35); }

.booking {
  position: absolute; z-index: 3; left: var(--gutter); right: var(--gutter); bottom: 40px;
  margin: 0 auto; max-width: var(--maxw);
  display: grid; grid-template-columns: repeat(4, 1fr) auto; align-items: stretch;
  background: rgba(245, 240, 228, .14); backdrop-filter: blur(18px) saturate(1.2);
  border: 1px solid rgba(245, 240, 228, .28); border-radius: 999px; padding: 8px;
  animation: rise 1.2s 3.75s var(--ease) both;
  transition: transform 1.1s cubic-bezier(.22, .61, .36, 1), opacity .9s ease, filter .9s ease;  /* risale piano tornando sulla hero */
}
.booking.is-risen { animation: none; }
.booking__field { min-width: 0; display: flex; flex-direction: column; justify-content: center; padding: 6px 28px; border-right: 1px solid rgba(245, 240, 228, .22); }
.booking__label { font-size: 11px; letter-spacing: .2em; text-transform: uppercase; opacity: .9; }
/* Campi separati da linee dritte; al clic il campo attivo si gonfia in una pillola e le linee accanto svaniscono */
.booking__field { position: relative; z-index: 0; cursor: pointer; border-radius: 0; transition: border-color .4s; }  /* niente raggio: le linee restano dritte */
.booking__field::before {
  content: ""; position: absolute; z-index: -1; inset: 0; border-radius: 999px; background: rgba(255, 255, 255, .12);
  opacity: 0; transform: scale(.82, .55); transition: opacity .35s, transform .6s var(--expo), border-radius .6s var(--expo);
}
.booking.is-dark .booking__field::before { background: rgba(185, 151, 91, .12); }
.booking__field.is-active::before { opacity: 1; transform: none; }
.booking__field.is-active, .booking__field:has(+ .booking__field.is-active),
.booking.is-dark .booking__field.is-active, .booking.is-dark .booking__field:has(+ .booking__field.is-active) { border-right-color: transparent; }
.booking__field:hover .booking__value { opacity: 1; }
.booking__value {
  display: flex; align-items: center; justify-content: space-between; gap: 10px; width: 100%; min-width: 0;
  padding: 4px 0 0; background: none; border: 0; color: inherit; font: 400 16px var(--sans); text-align: left; cursor: pointer; white-space: nowrap;
}
.booking__value b { font-weight: 400; overflow: hidden; text-overflow: ellipsis; }
.booking__value.is-empty { opacity: .85; }
.booking__value:focus-visible { outline: 2px solid var(--focus); outline-offset: 4px; border-radius: 4px; }
.booking__chev { display: block; width: 12px; height: 12px; flex: none; opacity: .7; background: url("../img/svg/icon-chevron-down-light.svg") center / contain no-repeat; transition: transform .4s var(--expo); }
.booking.is-dark .booking__chev { background-image: url("../img/svg/icon-chevron-down-dark.svg"); }
.booking__field.is-active .booking__chev { transform: rotate(180deg); }

/* Tendina della prenotazione: si apre sopra la barra, crema con bordo sottile, angoli morbidi */
.bk-pop {
  position: absolute; bottom: calc(100% + 14px); left: 0; z-index: 6; color: var(--ink); cursor: default;
  background: var(--cream); border: 1px solid rgba(10, 31, 39, .08); border-radius: 28px;
  box-shadow: 0 30px 70px rgba(6, 21, 27, .2), 0 2px 8px rgba(6, 21, 27, .05); padding: 26px 28px 20px;
  opacity: 0; visibility: hidden; transform: translate3d(0, 10px, 0); transform-origin: 20% 100%;
  transition: opacity .3s, transform .5s var(--expo), visibility 0s .3s;
}
.bk-pop.is-on { opacity: 1; visibility: visible; transform: none; transition: opacity .35s, transform .55s var(--expo), visibility 0s; }
.bk-pop__foot { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-top: 18px; padding-top: 16px; border-top: 1px solid var(--line); font-size: 12px; color: var(--stone); }
.bk-pop__link { background: none; border: 0; padding: 4px 0; cursor: pointer; font: 500 11px/1 var(--sans); letter-spacing: .22em; text-transform: uppercase; color: var(--clay-dark); border-bottom: 1px solid currentColor; }
.bk-pop__link:hover { color: var(--ink); }

/* calendario */
.bk-cal { position: relative; }
.bk-cal__months { display: grid; grid-template-columns: repeat(2, 280px); gap: 44px; }
.bk-cal__title { margin: 0 0 16px; text-align: center; font: 400 24px/1.2 var(--head); letter-spacing: .02em; }
.bk-cal__title span { color: var(--clay-dark); }
.bk-cal__nav {
  position: absolute; top: 0; width: 32px; height: 32px; display: grid; place-items: center; padding: 0; cursor: pointer;
  border: 1px solid rgba(10, 31, 39, .14); border-radius: 50%; background: none; color: var(--ink); transition: background-color .3s, border-color .3s, color .3s;
}
.bk-cal__nav::before { content: ""; width: 12px; height: 12px; background: center / contain no-repeat; }
.bk-cal__nav--prev::before { background-image: url("../img/svg/icon-chevron-left-dark.svg"); }
.bk-cal__nav--next::before { background-image: url("../img/svg/icon-chevron-right-dark.svg"); }
.bk-cal__nav--prev:hover:not(:disabled)::before { background-image: url("../img/svg/icon-chevron-left-light.svg"); }
.bk-cal__nav--next:hover:not(:disabled)::before { background-image: url("../img/svg/icon-chevron-right-light.svg"); }
.bk-cal__nav--prev { left: 0; }
.bk-cal__nav--next { right: 0; }
.bk-cal__nav:hover:not(:disabled) { background: var(--ink); border-color: var(--ink); color: var(--cream); }
.bk-cal__nav:disabled { opacity: .25; cursor: default; }
.bk-cal__grid { display: grid; grid-template-columns: repeat(7, 40px); row-gap: 2px; }
.bk-cal__wd { height: 28px; display: grid; place-items: center; font: 500 11px/1 var(--sans); letter-spacing: .14em; color: var(--stone); }
.bk-cal__day {
  position: relative; z-index: 0; width: 40px; height: 40px; padding: 0; border: 0; background: none; cursor: pointer;
  font: 400 14px/1 var(--sans); color: var(--ink); border-radius: 50%;
}
.bk-cal__day::before { content: ""; position: absolute; z-index: -1; inset: 4px 0; background: transparent; }  /* fascia del soggiorno */
.bk-cal__day::after { content: ""; position: absolute; z-index: -1; inset: 2px; border-radius: 50%; transition: background-color .25s, box-shadow .25s; }
.bk-cal__day:hover:not(:disabled)::after { box-shadow: inset 0 0 0 1px var(--clay); }
.bk-cal__day:disabled { color: rgba(10, 31, 39, .22); cursor: default; }
.bk-cal__day.is-today { font-weight: 600; }
.bk-cal__day.is-today:not(.is-start):not(.is-end)::after { background: radial-gradient(circle at 50% 84%, var(--clay) 0 1.6px, transparent 2px); }
.bk-cal__day.is-range::before, .bk-cal__day.is-preview::before { background: rgba(185, 151, 91, .13); }
.bk-cal__day.is-start::after, .bk-cal__day.is-end::after, .bk-cal__day.is-preview-end::after { background: var(--clay); }
.bk-cal__day.is-start, .bk-cal__day.is-end, .bk-cal__day.is-preview-end { color: #fff; font-weight: 500; }
.bk-cal__day.is-start.is-linked::before { left: 50%; background: rgba(185, 151, 91, .13); }  /* la fascia parte dal giorno di arrivo */
.bk-cal__day.is-end::before, .bk-cal__day.is-preview-end::before { right: 50%; background: rgba(185, 151, 91, .13); }

/* ospiti */
.bk-guests { width: 300px; }
.bk-count { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 12px 0; }
.bk-count + .bk-count { border-top: 1px solid var(--line); }
.bk-count p { margin: 0; display: flex; flex-direction: column; gap: 4px; line-height: 1.2; }
.bk-count b { font: 500 14px/1.2 var(--sans); }
.bk-count p span { font-size: 11px; color: var(--stone); }
.bk-count__ctrl { display: flex; align-items: center; gap: 6px; }
.bk-count__ctrl button {
  width: 34px; height: 34px; display: grid; place-items: center; padding: 0; cursor: pointer; border-radius: 50%;
  border: 1px solid rgba(10, 31, 39, .16); background: none; color: var(--ink); font: 300 18px/1 var(--sans); transition: background-color .3s, border-color .3s, color .3s;
}
.bk-count__ctrl button:hover:not(:disabled) { border-color: var(--clay); color: var(--clay-dark); }
.bk-count__ctrl button:disabled { opacity: .25; cursor: default; }
.bk-count__ctrl output { min-width: 26px; text-align: center; font: 400 16px/1 var(--sans); }

/* camere */
.bk-list { list-style: none; margin: -10px -12px -8px; padding: 0; width: 220px; }
.bk-list button {
  width: 100%; display: flex; align-items: center; justify-content: space-between; padding: 13px 16px; cursor: pointer;
  border: 0; border-radius: 999px; background: none; color: var(--ink); font: 400 14px/1 var(--sans); text-align: left; transition: background-color .25s;
}
.bk-list button:hover { background: var(--sand); }
.bk-list button::after { content: ""; width: 12px; height: 12px; background: url("../img/svg/icon-check-gold.svg") center / contain no-repeat; opacity: 0; transition: opacity .25s; }
.bk-list button[aria-selected="true"] { background: rgba(185, 151, 91, .12); font-weight: 500; }
.bk-list button[aria-selected="true"]::after { opacity: 1; }
.booking__submit { margin-left: 8px; align-self: center; color: #fff; font-weight: 600; }  /* testo bianco, un filo più deciso */
.bk-steps { display: none; }
.booking__submit:hover { background: var(--ink); border-color: var(--ink); color: var(--cream); }
/* Toolbar: la barra resta fissa in basso mentre si scorre (stessa posizione che ha sulla hero, quindi nessuno scatto);
   dopo la hero diventa scura e compatta, vicino al footer o con il menu aperto scende fuori schermo */
.booking.is-docked { position: fixed; z-index: 45; animation: none; transition: transform .8s var(--expo), opacity .5s, background-color .5s, border-color .5s, padding .5s var(--expo), filter .8s; }
/* dopo la hero: stessa barra dell'apertura, in vetro chiaro (testo blu) per leggersi su qualsiasi sezione */
.booking.is-dark { background: rgba(251, 249, 244, .78); border-color: rgba(10, 31, 39, .1); color: var(--ink); box-shadow: 0 18px 44px rgba(6, 21, 27, .12); bottom: 20px; }
.booking.is-dark .booking__field { border-right-color: rgba(10, 31, 39, .12); }
.booking.is-dark .booking__field input, .booking.is-dark .booking__field select { color: var(--ink); color-scheme: light; }
/* Barra aperta da "Prenota": filo d'oro che scorre lungo il bordo + un fascio di luce leggero che la attraversa */
@property --book-a { syntax: '<angle>'; inherits: false; initial-value: 0deg; }
.booking::before, .booking__submit::after { content: ""; position: absolute; border-radius: inherit; pointer-events: none; opacity: 0; }
.booking::before {
  inset: -1px; padding: 1.5px;
  background: conic-gradient(from var(--book-a), transparent 0 62%, rgba(214, 189, 138, .9) 78%, var(--gold) 84%, transparent 96%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor;
  mask: linear-gradient(#000 0 0) content-box exclude, linear-gradient(#000 0 0);
}
/* fascio di luce solo sul bottone Prenota */
.booking__submit { position: relative; overflow: hidden; }
.booking__submit::after {
  inset: 0;
  background: linear-gradient(105deg, transparent 30%, rgba(255, 248, 230, .18) 42%, rgba(255, 252, 242, .55) 50%, rgba(255, 248, 230, .18) 58%, transparent 70%) no-repeat;
  background-size: 250% 100%; background-position: 160% 0;
}
.booking::before { transition: opacity .8s; }
.booking.is-open::before { opacity: 1; transition: opacity .6s .3s; animation: bookBorder 5s linear infinite; }
.booking.is-open .booking__submit::after { animation: bookBeam 3s .1s cubic-bezier(.45, .05, .55, .95) both; }  /* fascio lento e trasparente */
@keyframes bookBorder { to { --book-a: 360deg; } }
@keyframes bookBeam { 0% { opacity: 1; background-position: 160% 0; } 85% { opacity: 1; } 100% { opacity: 0; background-position: -60% 0; } }
@media (prefers-reduced-motion: reduce) { .booking.is-open::before, .booking.is-open .booking__submit::after, .booking.is-flip .booking__field { animation: none; } }
/* sfumatura leggera sotto la barra aperta fuori dalla hero, per staccarla dal contenuto */
.booking-fade {
  position: fixed; z-index: 44; left: 0; right: 0; bottom: 0; height: 200px; pointer-events: none;
  background: linear-gradient(0deg, rgba(6, 21, 27, .3) 0%, rgba(6, 21, 27, .12) 45%, rgba(6, 21, 27, 0) 100%);
  opacity: 0; transition: opacity .8s var(--ease);
}
.booking.is-dark + .booking-fade { opacity: 1; }
.menu-open .booking-fade { opacity: 0; }
@media (max-width: 820px) { .booking-fade { height: 230px; } }
/* scendendo la barra scivola giù piano, sfuma e si sfoca */
.booking.is-away, .menu-open .booking.is-docked {
  transform: translate3d(0, 130%, 0) scale(.97); opacity: 0; filter: blur(6px); pointer-events: none;
  transition: transform 1.2s cubic-bezier(.22, .61, .36, 1), opacity 1s ease, filter 1s ease, background-color .5s, border-color .5s;
}

.hero__scroll { position: absolute; z-index: 2; right: var(--gutter); bottom: 200px; width: 1px; height: 72px; background: rgba(245, 240, 228, .3); overflow: hidden; }
.hero__scroll span { position: absolute; inset: 0; background: var(--cream); animation: scrollLine 2.2s var(--ease) infinite; }

/* ---------- Intro (stile Hotel Aurelia "our story") ---------- */
.story {
  position: relative; overflow: hidden; background: var(--cream);
  clip-path: inset(18% 12% round 32px); opacity: 0; transform: scale(.96);
  transition: clip-path 1.5s var(--expo), opacity 1.2s var(--expo), transform 1.5s var(--expo);
}
.story.in { clip-path: inset(0); opacity: 1; transform: none; }
.story__text { opacity: 0; filter: blur(10px); transition: opacity 1.1s var(--expo), transform 1.1s var(--expo), filter 1.1s var(--expo); }
.story__text { position: relative; max-width: 1320px; margin: 0 auto; padding: clamp(96px, 10vw, 160px) var(--gutter); text-align: center; transform: translateY(50px); transition-delay: .35s; }
.story.in .story__text { opacity: 1; transform: none; filter: none; }
.story__title { display: flex; flex-direction: column; align-items: center; color: var(--ink); font-size: var(--t-xl); line-height: 1.02; }
.story__title em { white-space: nowrap; }
.story__title > span { white-space: nowrap; }
.story__text p { margin: clamp(40px, 4vw, 56px) auto 0; max-width: 62ch; font-size: var(--t-lead); line-height: 1.75; font-weight: 300; color: var(--moss); }
.story__text .link-diamond { margin-top: 32px; color: var(--clay-dark); }

/* linea sottile che si disegna in cima alla sezione */
.filament { position: absolute; top: 0; left: 50%; z-index: 2; width: 0; height: 1px; transform: translateX(-50%); pointer-events: none; background: linear-gradient(90deg, transparent, rgba(185, 151, 91, .55), transparent); transition: width 1.4s var(--expo); }
.in > .filament { width: 70%; }

/* ---------- Camere: stile Hotel Aurelia "Odalar & Süitler" ---------- */
.stay { background: var(--ink-2); color: var(--cream); }
.stay__stage { position: relative; height: 100vh; height: 100svh; min-height: 680px; overflow: hidden; }
.stay__bg, .stay__set, .stay__shade { position: absolute; inset: 0; }
/* la tipologia attiva è visibile, le altre sfumano; dentro, Swiper cambia foto in dissolvenza (1.1s) con zoom lento (6s) */
.stay__set { z-index: 0; opacity: 0; pointer-events: none; transition: opacity 1.1s var(--ease); }
.stay__set.is-active { opacity: 1; pointer-events: auto; }
.stay__set .swiper-slide { transition-timing-function: var(--ease); }
.stay__set img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transform: scale(1.08); transition: transform 6s var(--ease); }
.stay__set.is-active .swiper-slide-active img { transform: scale(1.02); }
.stay__shade { background: linear-gradient(180deg, rgba(0, 0, 0, .55) 0%, rgba(0, 0, 0, .22) 48%, rgba(0, 0, 0, .62) 100%); pointer-events: none; }

.stay__eyebrow {
  position: absolute; z-index: 20; top: 134px; left: 48px; margin: 0;
  display: flex; align-items: center; gap: 12px;
  font: 600 11px/1 var(--sans); letter-spacing: .45em; text-transform: uppercase;
}
.stay__eyebrow span { width: 6px; height: 6px; border-radius: 50%; background: var(--clay-light); }

/* pannello per tipologia (contiene la scheda) */
.stay__panel { position: absolute; inset: 0; z-index: 20; pointer-events: none; }
.stay__panel[hidden] { display: none; }

/* pillole tipologia (vetro) */
.stay__tabs {
  position: absolute; z-index: 21; top: 118px; left: 50%; transform: translateX(-50%);
  display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; width: max-content; max-width: calc(100% - 48px);
}
.stay__tab {
  padding: 11px 22px; border-radius: 999px; cursor: pointer;
  font: 600 11px/1 var(--sans); letter-spacing: .28em; text-transform: uppercase;
  color: var(--cream); background: rgba(6, 21, 27, .35); border: 1px solid rgba(245, 240, 228, .3);
  backdrop-filter: blur(14px) saturate(140%); -webkit-backdrop-filter: blur(14px) saturate(140%);
  transition: background .3s, color .3s, border-color .3s, transform .4s var(--expo);
}
.stay__tab:hover { border-color: rgba(245, 240, 228, .7); }
.stay__tab:active { transform: scale(.96); }
.stay__tab[aria-selected="true"] { background: rgba(245, 240, 228, .92); color: var(--ink); border-color: rgba(245, 240, 228, .95); }
.stay__select { display: none; }
/* Tendina della tipologia (mobile): bottone bianco con ombra delicata, elenco che si apre sotto */
/* Tendina della tipologia (mobile): su fondo chiaro, etichetta in maiuscoletto oro e nome in Italiana come i campi della prenotazione */
.stay__select-btn {
  display: grid; grid-template-columns: 1fr auto; align-items: center; column-gap: 16px; row-gap: 8px; width: 100%; padding: 0 0 16px;
  border: 0; border-bottom: 1px solid var(--line); border-radius: 0; background: none; color: var(--ink); cursor: pointer; text-align: left;
}
.stay__select-label { grid-column: 1; font: 500 11px/1 var(--sans); letter-spacing: .26em; text-transform: uppercase; color: var(--clay-dark); }
.stay__select-value { grid-column: 1; font: 400 32px/1 var(--head); letter-spacing: .01em; }
.stay__select-chev {
  grid-column: 2; grid-row: 1 / 3; width: 44px; height: 44px; border: 1px solid var(--line); border-radius: 50%;
  background: url("../img/svg/icon-chevron-down-dark.svg") center / 12px no-repeat; transition: transform .5s var(--expo), border-color .3s;
}
.stay__select-btn:hover .stay__select-chev { border-color: var(--clay); }
.stay__select-btn:focus-visible { outline: 2px solid var(--focus); outline-offset: 6px; }
.stay__select.is-open .stay__select-chev { transform: rotate(180deg); border-color: var(--clay); }
.stay__options {
  position: absolute; left: 20px; right: 20px; top: calc(100% - 8px); margin: 0; padding: 6px 22px; list-style: none;
  background: #fff; border-radius: 22px; color: var(--ink);
  box-shadow: 0 24px 60px rgba(6, 21, 27, .16), 0 2px 8px rgba(6, 21, 27, .05);
  opacity: 0; visibility: hidden; transform: translate3d(0, -10px, 0); transform-origin: 50% 0; clip-path: inset(0 0 60% 0 round 22px);
  transition: opacity .3s, transform .5s var(--expo), clip-path .55s var(--expo), visibility 0s .5s;
}
.stay__select.is-open .stay__options { opacity: 1; visibility: visible; transform: none; clip-path: inset(0 0 0 0 round 22px); transition: opacity .3s, transform .55s var(--expo), clip-path .6s var(--expo), visibility 0s; }
.stay__options:focus { outline: none; }
.stay__options li {
  display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 18px 0; cursor: pointer;
  font: 400 26px/1 var(--head); letter-spacing: .01em; transition: color .25s, padding .4s var(--expo);
  opacity: 0; transform: translate3d(0, 6px, 0);
}
.stay__options li + li { border-top: 1px solid var(--line); }
.stay__select.is-open .stay__options li { opacity: 1; transform: none; transition: color .25s, padding .4s var(--expo), opacity .5s var(--expo), transform .6s var(--expo); }
.stay__select.is-open .stay__options li:nth-child(2) { transition-delay: 0s, 0s, 50ms, 50ms; }
.stay__select.is-open .stay__options li:nth-child(3) { transition-delay: 0s, 0s, 100ms, 100ms; }
.stay__options li::after { content: ""; width: 12px; height: 12px; background: url("../img/svg/icon-check-gold.svg") center / contain no-repeat; opacity: 0; transition: opacity .25s; }
.stay__options li[aria-selected="true"]::after { opacity: 1; }
.stay__options li[aria-selected="true"] { color: var(--clay-dark); }
.stay__options li:hover, .stay__options li.is-active { padding-left: 8px; }
.stay__options:focus-visible li.is-active { outline: 2px solid var(--focus); outline-offset: -1px; border-radius: 8px; padding-left: 12px; padding-right: 12px; }

/* frecce con testo e linea */
.stay__arrow {
  position: absolute; z-index: 21; top: 50%; transform: translateY(-50%);
  display: flex; align-items: center; gap: 12px; min-height: 44px; padding: 0 8px;
  background: none; border: 0; cursor: pointer; color: rgba(245, 240, 228, .85); transition: color .3s;
}
.stay__arrow:hover { color: var(--cream); }
.stay__arrow--prev { left: 24px; }
.stay__arrow--next { right: 24px; }
.stay__arrow-txt { font: 600 11px/1 var(--sans); letter-spacing: .35em; text-transform: uppercase; }
.stay__chev { width: 10px; height: 10px; border-left: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; }
.stay__arrow--prev .stay__chev { transform: rotate(45deg); }
.stay__arrow--next .stay__chev { transform: rotate(-135deg); }
.stay__arrow-line { display: block; width: 64px; height: 1px; background: rgba(245, 240, 228, .4); transition: width .5s var(--expo), background .5s; }
.stay__arrow:hover .stay__arrow-line { width: 96px; background: var(--cream); }

/* scheda in vetro */
.stay__card {
  position: absolute; left: 48px; bottom: 64px; width: min(420px, calc(100% - 32px));
  padding: 28px; border-radius: 18px; pointer-events: auto;
  background: rgba(6, 21, 27, .32); border: 1px solid rgba(245, 240, 228, .18);
  backdrop-filter: blur(22px) saturate(140%); -webkit-backdrop-filter: blur(22px) saturate(140%);
}
.stay__panel.is-active .stay__card { animation: stayUp .7s var(--expo) both; }
.stay__card h3 { font: 400 var(--t-m)/1.1 var(--head); letter-spacing: .01em; }
.stay__desc { margin: 8px 0 0; font-size: 13px; line-height: 1.7; color: rgba(245, 240, 228, .85); }
.stay__label { margin: 18px 0 12px; font: 600 11px/1 var(--sans); letter-spacing: .32em; text-transform: uppercase; color: rgba(245, 240, 228, .7); }
.stay__chips { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.stay__chips li { padding: 7px 13px; border-radius: 999px; font-size: 13px; background: rgba(245, 240, 228, .12); border: 1px solid rgba(245, 240, 228, .2); }
.stay__incl-toggle { display: none; }
.stay__book {
  display: inline-flex; align-items: center; gap: 10px; margin-top: 20px; min-height: 44px;
  font: 600 11px/1 var(--sans); letter-spacing: .24em; text-transform: uppercase; color: var(--cream);
}
.stay__book::after { content: ""; width: 28px; height: 1px; background: currentColor; transition: width .5s var(--expo); }
.stay__book:hover::after { width: 48px; }

.stay__count { position: absolute; z-index: 21; right: 48px; bottom: 56px; margin: 0; font: 400 34px/1 var(--serif); text-shadow: 0 4px 22px rgba(0, 0, 0, .55); }
.stay__count-tot { color: rgba(245, 240, 228, .45); }
.stay__dots { position: absolute; z-index: 21; bottom: 24px; left: 50%; transform: translateX(-50%); display: flex; gap: 8px; }
.stay__dot { position: relative; width: 22px; height: 2px; padding: 0; border: 0; border-radius: 2px; cursor: pointer; background: rgba(245, 240, 228, .35); transition: width .5s var(--expo), background .3s; }
.stay__dot::before { content: ""; position: absolute; inset: -12px -2px; }
.stay__dot[aria-current="true"] { width: 56px; background: var(--cream); }


@keyframes stayUp { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }

/* ---------- Territorio: Rosa "Una nueva dimensión de bienestar" ----------
   Misure di Rosa a 1440px: titolo in 65vw con 10vw sopra e 5vw sotto;
   collage 80×45vw (grande 65×40vw a destra, piccola 20×25vw con cornice 2.5vw);
   due colonne da 45vw: foto 45×70vw + piccola 25×15vw che sporge di 17.5vw,
   testi larghi 35vw distanziati di 35vw. */
.terr { --bg: var(--paper); background: var(--bg); padding-bottom: 10vw; }
.terr__head { width: 65vw; margin: 0 auto; padding: 10vw 0 5vw; text-align: center; }
.terr__title { font: 400 var(--t-l)/1.05 var(--head); letter-spacing: .01em; }

.terr__comp { padding-top: 10vw; }
.terr__group { position: relative; width: 80vw; height: 45vw; margin-left: 20vw; }
.terr__large { width: 65vw; height: 40vw; margin: 0 0 0 auto; overflow: hidden; background: var(--sand-deep); }
.terr__small { position: absolute; left: 2.5vw; top: 2.5vw; width: 20vw; height: 25vw; }
.terr__small figure { width: 100%; height: 100%; outline: 2.5vw solid var(--bg); background: var(--sand-deep); will-change: transform; }

.terr__cols { display: flex; justify-content: space-between; padding-top: 5vw; }
.terr__col { width: 45vw; }
.terr__col--l { padding-top: 10vw; }
.terr__group2 { position: relative; width: 45vw; height: 70vw; }
.terr__large2 { width: 45vw; height: 70vw; overflow: hidden; background: var(--sand-deep); }
.terr__small2 { position: absolute; right: -17.5vw; top: 52%; width: 25vw; height: 15vw; transform: translateY(-50%); z-index: 2; }
.terr__small2 figure { width: 100%; height: 100%; outline: 2.5vw solid var(--bg); background: var(--sand-deep); will-change: transform; }
.terr img { width: 100%; height: 100%; object-fit: cover; display: block; }

.terr__text { width: 35vw; }
.terr__text--0 { margin-bottom: 35vw; }
.terr__sub { font: 400 var(--t-m)/1.1 var(--head); letter-spacing: .01em; }
.terr__text p { width: 30vw; margin: 2.5vw 0 0; font-size: clamp(15px, 1vw, 16px); line-height: 1.85; color: var(--moss); }
.terr__text .link-diamond { margin-top: 2.5vw; color: var(--ink); }

@media (max-width: 1100px) and (orientation: portrait), (max-width: 820px) {
  .terr { padding-bottom: 20vw; }
  .terr__head { width: 90vw; padding: 24vw 0 8vw; }
  .terr__comp { padding-top: 6vw; }
  .terr__group { width: 100%; height: 105vw; margin: 0; }
  .terr__large { position: absolute; left: 0; bottom: 0; width: 100%; height: 65vw; }
  .terr__small { left: 10vw; top: 0; width: 40vw; height: 50vw; }
  .terr__small figure { outline: none; }
  .terr__cols { flex-direction: column; width: 90vw; margin: 0 auto; padding-top: 16vw; }
  .terr__col { width: 100%; }
  .terr__col--l { padding-top: 0; }
  .terr__group2 { width: 90vw; height: 160vw; }
  .terr__large2 { width: 90vw; height: 130vw; }
  .terr__small2 { top: auto; bottom: 0; right: 0; width: 70vw; height: 50vw; transform: none; }
  .terr__small2 figure { outline-width: 5vw; }
  .terr__col--r { padding-top: 16vw; }
  .terr__text, .terr__text p { width: 100%; }
  .terr__text--0 { margin-bottom: 16vw; }
  .terr__text p { margin-top: 20px; }
  .terr__text .link-diamond { margin-top: 16px; }
}

/* ---------- Terme: cerchio che si apre (Rosa) ---------- */
.terme { background: var(--paper); padding-top: var(--section); }
.terme__stage { position: relative; height: 320vh; margin-top: clamp(48px, 6vw, 80px); }
.terme__sticky { position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden; }
.terme__media { position: absolute; inset: 0; background: var(--paper); clip-path: ellipse(23.1vw 40vh at 50% 50%); will-change: clip-path; }
.terme__media img, .terme__media video { transform: scale(1.2); will-change: transform; }
.terme__media video { width: 100%; height: 100%; object-fit: cover; object-position: 50% 50%; display: block; }
/* Titolo sul video del mare: compare quando il cerchio si è aperto */
.terme__panel {
  position: absolute; z-index: 2; inset: 0; display: grid; place-items: center; padding: 0 var(--gutter);
  text-align: center; color: var(--cream); pointer-events: none;
  opacity: 0; transform: translate3d(0, 40px, 0); transition: opacity .9s var(--expo), transform 1.1s var(--expo);
}
.terme__panel::before { content: ""; position: absolute; inset: 0; background: rgba(6, 21, 27, .28); }
.terme__panel.is-on { opacity: 1; transform: none; }
.terme__title { position: relative; font: 400 var(--t-l)/1.05 var(--head); letter-spacing: .01em; text-shadow: 0 2px 30px rgba(6, 21, 27, .35); }
.terme__title em { font-style: normal; }
.terme__cta { position: relative; display: flex; flex-direction: column; align-items: center; }
.terme__btn { margin-top: clamp(28px, 3vw, 44px); pointer-events: auto; backdrop-filter: blur(6px); background: rgba(6, 21, 27, .18); }

/* ---------- Ristorante: riquadro che si espande (Rosa) ---------- */
/* Ristorante come Aurelia "Aurelia Bar": metà foto, metà pannello con i locali che si alternano */
.filament {
  position: absolute; z-index: 2; top: 0; left: 50%; width: 0; height: 1px; pointer-events: none; transform: translateX(-50%);
  background: linear-gradient(90deg, transparent, rgba(185, 151, 91, .55), transparent); transition: width 1.4s var(--expo);
}
.filament.is-visible { width: 70%; }
.dine { position: relative; display: flex; min-height: 100vh; min-height: 100svh; color: #fff; background: var(--ink); }
.dine__media { position: relative; width: 50%; height: auto; overflow: hidden; }
.dine__media img, .dine__media video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.dine__media img { animation: dineDrift 18s ease-in-out infinite alternate; }
@keyframes dineDrift { from { transform: scale(1.02); } to { transform: scale(1.1); } }
.dine__panel {
  width: 50%; display: flex; flex-direction: column; align-items: center; justify-content: center;
  padding: 96px 64px; text-align: center; background: var(--ink);
}
.dine__eyebrow { margin: 0; font: 600 11px/1.6 var(--sans); letter-spacing: .45em; text-transform: uppercase; color: rgba(255, 255, 255, .6); }
.dine__title { margin-top: 20px; font: 400 var(--t-l)/1.05 var(--head); letter-spacing: .01em; }
.dine__frame { position: relative; width: 280px; aspect-ratio: 3 / 4; margin-top: 40px; overflow: hidden; }
.dine__frame .swiper-slide { transition-timing-function: var(--expo); }
.dine__frame img { width: 100%; height: 100%; object-fit: cover; }
.dine__text { margin: 40px auto 0; max-width: 52ch; font-size: 16px; line-height: 1.85; color: rgba(255, 255, 255, .8); }
.dine__fade.is-anim { animation: dineFade .7s var(--expo) both; }
@keyframes dineFade { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
.dine__dots { display: flex; align-items: center; margin-top: 32px; }
.dine__dots button {
  position: relative; width: 8px; height: 6px; margin: 0 8px; padding: 0; border: 0; border-radius: 999px; cursor: pointer;
  background: rgba(255, 255, 255, .25); transition: width .5s, background .5s;
}
.dine__dots button::before { content: ""; position: absolute; inset: -19px -8px; }  /* area di tocco 24 × 44px */
.dine__dots button.is-on { width: 28px; background: #fff; }
.dine__link {
  margin-top: 40px; padding-bottom: 4px; border-bottom: 1px solid;
  font: 600 11px/1.6 var(--sans); letter-spacing: .35em; text-transform: uppercase; transition: color .3s;
}
.dine__link:hover { color: rgba(255, 255, 255, .7); }

/* Matrimoni come Aurelia: foto larga in parallasse con leggera inclinazione, testo centrato */
.wed { position: relative; color: var(--ink); background: #f3ece2; }
.wed__wrap { max-width: 1400px; margin: 0 auto; padding: 48px 40px 0; }
.wed__media { position: relative; aspect-ratio: 21 / 9; overflow: hidden; border-radius: 2px; perspective: 1200px; }
.wed__media img { width: 100%; height: 100%; object-fit: cover; will-change: transform; }
.wed__media.is-tilt { transition: transform .8s var(--expo); }
.wed__body { max-width: 980px; margin: 0 auto; padding: 96px 40px; text-align: center; }
.wed__eyebrow {
  display: flex; align-items: center; justify-content: center; gap: 12px; margin: 0;
  font: 600 12px/1.6 var(--sans); letter-spacing: .45em; text-transform: uppercase; color: var(--clay-dark);
}
.wed__eyebrow::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--clay); }
.wed__title { margin-top: 24px; color: var(--ink); font: 400 var(--t-l)/1.05 var(--head); letter-spacing: .01em; }
.wed__title em { display: block; }
.wed__text { margin: 32px auto 0; max-width: 72ch; font-size: 16px; line-height: 1.9; color: var(--moss); }
.wed__rule { display: block; width: 96px; height: 1px; margin: 40px auto 0; background: rgba(10, 31, 39, .2); }
.wed__sub { margin-top: 32px; font: 400 18px/1.3 var(--serif); color: var(--ink); }
.wed__facts { margin: 16px 0 0; padding: 0; list-style: none; font-size: 14px; line-height: 1.8; color: var(--moss); }
.wed__facts li + li { margin-top: 8px; }

@media (max-width: 1023px) {
  .dine { flex-direction: column; min-height: 0; }
  .dine__media { width: 100%; height: 55vh; }
  .dine__panel { width: 100%; padding: 80px 32px; }
}
@media (max-width: 767px) {
  .dine__frame { width: 220px; }
  .wed__wrap { padding: 32px 24px 0; }
  .wed__media { aspect-ratio: 16 / 10; }
  .wed__body { padding: 64px 24px; }
}

/* ---------- Servizi ---------- */
/* Servizi: intestazione centrata e griglia con linee sottili, come il resto del sito */
.services { position: relative; padding: var(--section) 0; background: var(--paper); }
.services__head { max-width: 960px; margin: 0 auto clamp(48px, 5vw, 72px); text-align: center; }
.services__head .eyebrow { margin-bottom: 18px; }
.services__title { font: 400 var(--t-l)/1.05 var(--head); letter-spacing: .01em; }
.services__lead { margin: 20px auto 0; max-width: 54ch; font-size: 16px; line-height: 1.85; color: var(--moss); }
.services__list {
  list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, 1fr); gap: 1px;
  background: var(--line); border-block: 1px solid var(--line);
}
.services__list li { padding: clamp(36px, 3.6vw, 56px) clamp(18px, 2vw, 32px); background: var(--paper); text-align: center; }
.services__list img { width: 30px; height: 30px; margin: 0 auto; opacity: .85; }
.services__list h3 { margin: 22px 0 10px; font: 400 var(--t-m)/1.1 var(--head); letter-spacing: .02em; }
.services__list p { margin: 0 auto; max-width: 24ch; font-size: 14px; line-height: 1.75; color: var(--stone); }
/* Entrata: la griglia di linee si apre dal centro verso i lati, poi ogni cella compone icona, nome e testo, una colonna dopo l'altra */
/* le linee sono lo sfondo della lista (visibile nei gap e sotto i bordi trasparenti): si allarga dal centro */
.services__list[data-stagger] {
  border-block-color: transparent;
  background: linear-gradient(var(--line), var(--line)) 50% 0 / 0 100% no-repeat border-box;
  transition: background-size 1.6s var(--expo);
}
.services__list[data-stagger].is-visible { background-size: 100% 100%; }
.services__list[data-stagger] li > * { opacity: 0; }
.services__list li:nth-child(1) { --i: 0; } .services__list li:nth-child(2) { --i: 1; } .services__list li:nth-child(3) { --i: 2; }
.services__list li:nth-child(4) { --i: 3; } .services__list li:nth-child(5) { --i: 4; }
.services__list[data-stagger].is-visible li > img { animation: svcIcon 1.1s var(--expo) calc(var(--i) * 110ms + 450ms) both; }
.services__list[data-stagger].is-visible li > h3 { animation: svcText 1.1s var(--expo) calc(var(--i) * 110ms + 560ms) both; }
.services__list[data-stagger].is-visible li > p { animation: svcText 1.1s var(--expo) calc(var(--i) * 110ms + 660ms) both; }
@keyframes svcIcon { from { opacity: 0; transform: scale(.6) rotate(-8deg); } to { opacity: .85; transform: none; } }
@keyframes svcText { from { opacity: 0; transform: translate3d(0, 22px, 0); filter: blur(6px); } to { opacity: 1; transform: none; filter: none; } }
@media (prefers-reduced-motion: reduce) { .services__list[data-stagger] { background-size: 100% 100%; } .services__list[data-stagger] li > * { opacity: 1; } .services__list[data-stagger] li > img { opacity: .85; } }
/* passaggio del mouse: l'icona sale appena */
@media (hover: hover) {
  .services__list li > img { transition: translate .6s var(--expo); }
  .services__list li:hover > img { translate: 0 -5px; }
}

/* ---------- Gallery: carosello Rosa "Una mirada hacia lo sublime" ----------
   5 colonne fisse: centro 25×45vw, laterali 22.5×40vw e 17.5×35vw allineate
   in basso, opacità .2. Su mobile (portrait ≤1100px) restano 3 colonne. */
.look { --swiper-wrapper-transition-timing-function: cubic-bezier(.87, 0, .13, 1); background: var(--ink-2); color: var(--cream); padding: 8vw 0 7vw; overflow: hidden; }
.look__title { line-height: 1.05; margin-bottom: 4vw !important; white-space: nowrap; }  /* su una riga */
.look__sliders { position: relative; width: 25vw; height: 45vw; margin: 0 auto; }
.look__col { position: absolute; bottom: 0; width: 25vw; height: 45vw; }
.look__col--center { position: relative; }
.look__col--left-side  { left: -50vw;   width: 17.5vw; height: 35vw; opacity: .2; }
.look__col--left       { left: -27.5vw; width: 22.5vw; height: 40vw; opacity: .2; }
.look__col--right      { right: -27.5vw; width: 22.5vw; height: 40vw; opacity: .2; }
.look__col--right-side { right: -50vw;  width: 17.5vw; height: 35vw; opacity: .2; }
.look__inner { position: relative; width: 100%; height: 100%; }
.look__col--center .look__inner { touch-action: pan-y; user-select: none; }
.look__item { overflow: hidden; }
.look [data-swiper-parallax] { transition-timing-function: cubic-bezier(.87, 0, .13, 1); }
.look__media { position: absolute; inset: 0; background: var(--ink); overflow: hidden; will-change: transform; }
.look__media img, .look__media video { width: 100%; height: 100%; object-fit: cover; will-change: transform; -webkit-user-drag: none; }

/* barre di avanzamento stile "stories" */
.look__dots { position: absolute; top: 100%; left: 0; width: 100%; display: flex; gap: .208vw; margin-top: 12px; }
.look__dot {
  position: relative; flex: 1; height: 2px; padding: 0; border: 0; cursor: pointer;
  background: rgba(255, 255, 255, .2); transition: background-color .6s var(--expo);
}
.look__dot::before { content: ""; position: absolute; inset: -11px 0; } /* area di tocco alta 24px */
.look__dot:hover { background: rgba(255, 255, 255, .4); }
.look__dot span { position: absolute; inset: 0; background: #fff; transform: scaleX(0); transform-origin: 0 50%; }

/* frecce: sopra le colonne laterali */
.look__nav { position: absolute; top: 50%; left: 50%; width: 60vw; transform: translate(-50%, -50%); display: flex; justify-content: space-between; pointer-events: none; }
.look__arrow {
  width: max(2.5vw, 44px); height: max(2.5vw, 44px); border-radius: 50%; border: 1px solid #fff; padding: 0;
  background: url("../img/svg/icon-arrow-light.svg") center / 45% auto no-repeat; cursor: pointer; pointer-events: auto;
  transform: scale(1); transition: transform .4s var(--expo);
}
.look__arrow--prev { transform: rotate(180deg); }
.look__arrow:hover { transform: scale(.9); }
.look__arrow--prev:hover { transform: rotate(180deg) scale(.9); }


@media (max-width: 1100px) and (orientation: portrait) {
  .look { padding: 18vw 0 16vw; }
  .look__title { margin-bottom: 8vw !important; font-size: min(var(--t-l), 7.4vw); }
  .look__sliders, .look__col--center { width: 61.875vw; height: 110vw; }
  .look__col--left, .look__col--right { width: 61.875vw; height: 110vw; }
  .look__col--left  { left: -66.667vw; }
  .look__col--right { right: -66.667vw; left: auto; }
  .look__col--left-side, .look__col--right-side, .look__nav { display: none; }
  .look__dots { gap: 10px; margin-top: 16px; left: 50%; width: calc(100vw - 2 * var(--gutter)); transform: translateX(-50%); }  /* più larghe: area di tocco adeguata */
}

/* ---------- Banner offerte ---------- */
.banner { position: relative; min-height: 88vh; min-height: 88svh; display: grid; place-items: center; text-align: center; color: var(--cream); overflow: hidden; }
.banner__media { position: absolute; inset: -20% 0; }
.banner::after { content: ""; position: absolute; inset: 0; background: rgba(6, 21, 27, .42); }
.banner__content { position: relative; z-index: 1; padding: 0 var(--gutter); }
.banner .display { margin-bottom: 44px; }

/* ---------- Dintorni: Rosa "Experiencias" (carosello trascinabile) ----------
   Card 30×35vw con bordi sottili, ovale 25×30vw, testo a 5vw dal fondo,
   icona a rombo 1.9vw, rombi di navigazione sopra il carosello. */
.exp { background: var(--paper); padding: 10vw 0 0; overflow: hidden; }
.exp__head { max-width: 760px; margin: 0 auto 10vw; padding: 0 24px; text-align: center; }
.exp__head .eyebrow { margin-bottom: 2.5vw; }
.exp__title { font: 400 var(--t-l)/1.05 var(--head); letter-spacing: .01em; }
.exp__lead { width: min(100%, 520px); margin: 2.5vw auto 0; font-size: clamp(15px, 1vw, 16px); line-height: 1.85; color: var(--moss); }

.exp__drag { position: relative; }
.exp__swiper { --swiper-wrapper-transition-timing-function: var(--expo); }
.exp__dots { position: absolute; top: -2.5vw; left: 50%; transform: translate(-50%, -100%); display: flex; align-items: center; gap: 1.5vw; }
.exp__dot {
  width: max(.417vw, 7px); height: max(.417vw, 7px); padding: 0; cursor: pointer; background: none;
  border: 1px solid var(--ink); transform: rotate(45deg) scale(1); transition: transform .2s ease-out, background .2s ease-out;
  position: relative;
}
.exp__dot::before { content: ""; position: absolute; inset: -10px; }
.exp__dot:hover, .exp__dot.is-active { background: var(--ink); transform: rotate(45deg) scale(2); }

.exp__item { display: block; width: auto; height: auto; -webkit-user-drag: none; opacity: 0; transform: translate3d(25vw, 0, 0); transition: opacity 1.4s var(--expo), transform 1.4s var(--expo); transition-delay: calc(var(--i) * .1s); }
.exp.is-in .exp__item { opacity: 1; transform: none; }
.exp__card {
  position: relative; width: 30vw; height: 35vw; padding: 2.5vw; display: flex; justify-content: center;
  border: 1px solid var(--line); border-right: 0;
}
.exp__item:last-child .exp__card { border-right: 1px solid var(--line); }
/* la foto occupa tutta la card; la maschera ovale (25×30vw) si apre fino ai bordi all'hover */
.exp__img {
  position: absolute; inset: 0; margin: 0; overflow: hidden; background: var(--sand-deep);
  clip-path: inset(2.5vw round 50%); transition: clip-path 1.2s var(--expo);
}
.exp__img img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.1); transition: transform 4s var(--expo); -webkit-user-drag: none; }
.exp__txt { position: absolute; left: 50%; bottom: 5vw; transform: translateX(-50%); width: 20vw; text-align: center; color: #fff; display: flex; flex-direction: column; align-items: center; }
.exp__txt h3 { font: 400 var(--t-m)/1.1 var(--head); letter-spacing: .01em; text-shadow: 0 2px 18px rgba(6, 21, 27, .35); }
.exp__img::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(6, 21, 27, .55), rgba(6, 21, 27, 0) 50%); pointer-events: none; }  /* velo per leggere il nome sulla foto */
.exp__icon { display: grid; place-items: center; margin-top: 2.5vw; width: max(1.9vw, 26px); height: max(1.9vw, 26px); transition: transform 1.2s var(--expo); }
.exp__icon > span { display: grid; place-items: center; width: 100%; height: 100%; border: 1px solid #fff; transform: rotate(45deg); }
.exp__icon > span::after { content: ""; width: 15px; height: 15px; background: url("../img/svg/icon-arrow-right-white.svg") center / contain no-repeat; transform: rotate(-45deg); }
/* hover: l'ovale si apre fino a riempire la card, la foto torna a scala 1, il rombo si stringe */
.exp__item:hover .exp__img, .exp__item:focus-visible .exp__img { clip-path: inset(0 round 0); }
.exp__item:hover .exp__img img, .exp__item:focus-visible .exp__img img { transform: scale(1); }
.exp__item:hover .exp__icon { transform: scale(.9); }

@media (max-width: 1100px) and (orientation: portrait), (max-width: 820px) {
  .exp { padding-top: 24vw; }
  .exp__head { margin-bottom: 24vw; }
  .exp__head .eyebrow { margin-bottom: 16px; }
  .exp__lead { margin-top: 16px; }
  .exp__dots { top: -12.5vw; gap: 5vw; }
  .exp__dot { width: 9px; height: 9px; }
  .exp__dot.is-active { transform: rotate(45deg) scale(1.5); }
  .exp__card { width: 90vw; height: 130vw; padding: 5vw; flex-direction: column; align-items: center; }
  .exp__img { position: relative; inset: auto; width: 80vw; height: 90vw; flex: none; clip-path: inset(0 round 50%); }
  .exp__img::after { display: none; }
  .exp__item:hover .exp__img, .exp__item:focus-visible .exp__img { clip-path: inset(0 round 50%); }
  .exp__txt { position: relative; left: auto; bottom: auto; transform: none; width: 90%; margin: 6vw auto 0; color: var(--ink); }
  .exp__txt h3 { text-shadow: none; }
  .exp__img::after { display: none; }  /* su mobile il nome sta sotto la foto */
  .exp__icon { margin-top: 4vw; }
  .exp__icon > span { border-color: var(--ink); }
  .exp__icon > span::after { background-image: url("../img/svg/icon-arrow-right-dark.svg"); }
}

/* ---------- Contatti ---------- */
.contact__grid { text-align: center; }
.contact .display { margin-bottom: 40px; }
address { font-style: normal; color: var(--moss); line-height: 1.8; }
address a { border-bottom: 1px solid var(--line); }
.contact__map { aspect-ratio: 16 / 11; border-radius: 4px; overflow: hidden; filter: grayscale(.7) sepia(.15); }
.contact__map iframe { width: 100%; height: 100%; border: 0; }

/* ---------- Footer: logo e contatti a sinistra, tre colonne di link, barra legale ---------- */
.foot { --foot-bg: #F0EBE3; padding: 0 var(--gutter) 32px; background: var(--foot-bg); color: var(--ink); }
.foot ul { margin: 0; padding: 0; list-style: none; }
.foot__main {
  display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 2fr); gap: 48px;
  max-width: var(--maxw); margin: 0 auto; padding: clamp(72px, 8vw, 104px) 0 72px;
}
.foot__logo { display: inline-flex; align-items: center; gap: 18px; }
.foot__logo img { width: auto; height: 52px; }
.foot__brand { font: 400 34px/1 var(--head); letter-spacing: .03em; }
.foot__contact { display: flex; flex-direction: column; align-items: flex-start; gap: 6px; margin-top: 32px; font: 400 15px/1.7 var(--sans); color: var(--moss); }
.foot__contact span { margin-bottom: 8px; }
.foot__contact a { border: 0; }  /* annulla la riga di "address a" */
.foot__cols { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px; }
.foot__label { margin: 0 0 18px; font: 500 11px/1 var(--sans); letter-spacing: .24em; text-transform: uppercase; color: var(--clay-dark); }

/* link: 15px, righe alte 34px (area di clic ampia), sottolineatura oro che si allunga al passaggio */
.foot__cols a, .foot__contact a, .foot__small a {
  display: inline-block; padding: 5px 0; font: 400 15px/24px var(--sans); color: var(--ink); overflow-wrap: anywhere;
  background: linear-gradient(var(--clay), var(--clay)) 0 calc(100% - 2px) / 0 1px no-repeat;
  transition: background-size .45s var(--expo), color .3s;
}
.foot__cols a:hover, .foot__contact a:hover, .foot__small a:hover { background-size: 100% 1px; color: var(--clay-dark); }
.foot__cols a[aria-current="page"] { color: var(--clay-dark); background-size: 100% 1px; }

.foot__bar {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 32px;
  max-width: var(--maxw); margin: 0 auto; padding-top: 24px; border-top: 1px solid rgba(10, 31, 39, .18);
}
.foot__legal { margin: 0; font: 400 13px/1.6 var(--sans); color: var(--stone); }
.foot__small { display: flex; gap: 28px; }
.foot__small a { display: inline-block; padding: 6px 0; font-size: 14px; color: var(--stone); }
.foot__lang { display: flex; gap: 4px; margin: 0; }
.foot__lang a {
  display: grid; place-items: center; min-width: 40px; height: 32px; border-radius: 999px;
  font: 500 11px/1 var(--sans); letter-spacing: .16em; color: var(--stone); transition: background .3s, color .3s;
}
.foot__lang a:hover { color: var(--ink); }
.foot__lang a[aria-current] { background: var(--ink); color: var(--cream); }

@media (max-width: 1100px) {
  .foot__main { grid-template-columns: 1fr; gap: 56px; }
}
@media (max-width: 600px) {
  .foot { padding-bottom: 170px; }  /* spazio per la barra di prenotazione fissa in basso */
  .foot__main { gap: 44px; padding: 64px 0 52px; }
  .foot__brand { font-size: 30px; }
  .foot__cols { grid-template-columns: 1fr 1fr; row-gap: 40px; }
  .foot__bar { flex-direction: column; align-items: flex-start; gap: 16px; }
}

/* ---------- Reveal on scroll ---------- */
.reveal { opacity: 0; transform: translate3d(0, 32px, 0); transition: opacity 1.1s var(--expo), transform 1.3s var(--expo); }
.reveal.is-visible { opacity: 1; transform: none; }

@keyframes heroZoom { from { transform: scale(1.12); } to { transform: scale(1); } }
@keyframes bkFlip { from { opacity: 0; transform: rotateX(-90deg); } to { opacity: 1; transform: none; } }
@keyframes rise { from { opacity: 0; transform: translateY(40px); } to { opacity: 1; transform: none; } }
@keyframes scrollLine { 0% { transform: translateY(-100%); } 100% { transform: translateY(100%); } }

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
  .header__nav, .header__sep, .lang { display: none; }
  .header__inner { grid-template-columns: 1fr auto; height: 84px; }
  .header__right { grid-column: 2; }
  .header__logo { left: var(--gutter); transform: translate(0, -50%); }
  .header__logo img { height: 60px; }
  .header .burger { display: block; }
  .services__list { grid-template-columns: repeat(3, 1fr); }
  .services__list li:nth-child(4) { grid-column: span 2; }  /* niente celle vuote */
}

/* Camere: su tablet/mobile menu a tendina al posto delle pillole, servizi a scomparsa */
@media (max-width: 820px) {
  .stay__eyebrow { display: none; }
  .stay__tabs { display: none; }
  /* Camere su mobile: tendina bianca sopra la foto; foto verticale con la scheda in vetro sovrapposta in basso */
  .stay__select { display: block; position: relative; z-index: 30; padding: 8px 20px 28px; background: var(--cream); color: var(--ink); }
  .stay__stage { height: min(86svh, 780px); min-height: 600px; }
  .stay__card { left: 16px; right: 16px; bottom: 48px; width: auto; padding: 20px; }
  .stay__dots { bottom: 20px; }
  .stay__arrow { left: 8px; }
  .stay__arrow--next { left: auto; right: 8px; }
  .stay__arrow-txt, .stay__arrow-line { display: none; }
  .stay__card h3 { font-size: 24px; }
  .stay__desc { font-size: 13px; }
  .stay__incl-toggle {
    display: inline-flex; align-items: center; gap: 8px; margin-top: 12px; min-height: 36px; padding: 0;
    background: none; border: 0; cursor: pointer; color: rgba(245, 240, 228, .8);
    font: 600 11px/1 var(--sans); letter-spacing: .28em; text-transform: uppercase;
  }
  .stay__incl-toggle::after { content: ""; width: 6px; height: 6px; border-right: 1.4px solid currentColor; border-bottom: 1.4px solid currentColor; transform: translateY(-2px) rotate(45deg); transition: transform .3s; }
  .stay__incl-toggle[aria-expanded="true"]::after { transform: translateY(1px) rotate(-135deg); }
  .stay__incl { display: grid; grid-template-rows: 0fr; opacity: 0; transition: grid-template-rows .3s, opacity .3s; }
  .stay__incl > * { overflow: hidden; }
  .stay__incl .stay__label { display: none; }
  .stay__incl.is-open { grid-template-rows: 1fr; opacity: 1; }
  .stay__chips { min-height: 0; padding-top: 4px; }
  .stay__chips li { font-size: 12px; padding: 5px 10px; }
  .stay__book { margin-top: 8px; }
  .stay__count { display: none; }
}

@media (max-width: 1280px) {
  .stay__eyebrow { display: none; }
}

@media (max-width: 1100px) {
}

@media (max-width: 820px) {
  .story__text { padding: 88px 20px; }
  .story__title { font-size: 8.4vw; }  /* resta su due righe anche su mobile */
  .eyebrow { letter-spacing: .22em; }
  .header__book { display: none; }
  /* su mobile niente Prenota nell'header: la barra di prenotazione resta fissa in basso */
  .header__inner, .header.is-solid .header__inner { height: 72px; }
  .header__logo img, .header.is-solid .header__logo img { height: 40px; }  /* logo più piccolo su mobile */
  .header__logo { gap: 10px; }
  .header__word, .header.is-solid .header__word { font-size: 21px; }
  .brand { top: 16px; height: 40px; }
  .brand img { height: 40px; }
  /* menu mobile: voci più ariose separate da una linea sottile, contatti sotto */
  .menu { grid-template-columns: 1fr; align-content: start; align-items: start; gap: 36px; overflow-y: auto; padding: 104px 24px 40px; }
  .menu__links a { position: relative; font-size: 32px; line-height: 1.15; padding: 13px 0; }
  /* linea sottile sotto ogni voce che si disegna da sinistra all'apertura */
  .menu__links a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: var(--line); transform: scaleX(0); transform-origin: 0 50%; transition: transform 1s var(--expo); }
  .menu-open .menu__links a::after { transform: scaleX(1); transition-delay: calc(var(--n, 0) * 60ms + 500ms); }
  .menu__links a:hover { padding-left: 0; }
  .menu__side { font-size: 14px; line-height: 1.7; }
  .menu__side p { margin-bottom: 4px; }
  .menu__contact { margin-top: 20px; }

  .hero__content { padding-bottom: 120px; }
  .hero__content .eyebrow { display: block; line-height: 1.8; }
  .hero__content .eyebrow::before { display: none; }
  .hero__scroll { display: none; }
  .booking {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); border-radius: 20px; bottom: 20px; padding: 6px;
  }
  .booking__field { padding: 10px 16px; border-right: 0; }
  /* due campi alla volta: date, poi ospiti e camere. Il passaggio ruota i campi come un cartellino */
  .booking { touch-action: pan-y; }  /* swipe orizzontale per ruotare tra le due coppie di campi */
  .booking__field:nth-of-type(n+3), .booking.is-p2 .booking__field:nth-of-type(-n+2) { display: none; }
  .booking.is-p2 .booking__field:nth-of-type(n+3) { display: flex; }
  .booking__field { transform-origin: 50% 50% -20px; }
  .booking.is-flip .booking__field { animation: bkFlip .8s var(--expo) both; }
  .booking.is-flip .booking__field:nth-of-type(2n) { animation-delay: 70ms; }
  .booking__submit { grid-column: 1 / -1; margin: 6px 0 0; height: 50px; }

  /* nella tendina: frecce per passare da una voce all'altra (arrivo, partenza, ospiti, camere) */
  .bk-steps { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin: -6px 0 18px; padding-bottom: 14px; border-bottom: 1px solid var(--line); }
  .bk-steps__title { display: flex; align-items: baseline; gap: 10px; margin: 0; font: 400 24px/1 var(--head); }
  .bk-steps__title span { font: 500 11px/1 var(--sans); letter-spacing: .2em; color: var(--clay-dark); }
  .bk-steps__nav { display: flex; gap: 8px; }
  .bk-steps__btn {
    width: 40px; height: 40px; display: grid; place-items: center; padding: 0; cursor: pointer;
    border: 1px solid var(--line); border-radius: 50%; background: none; transition: background-color .3s, border-color .3s;
  }
  .bk-steps__btn::before { content: ""; width: 16px; height: 16px; background: url("../img/svg/icon-arrow-dark.svg") center / contain no-repeat; }
  .bk-steps__btn--prev::before { transform: scaleX(-1); }
  .bk-steps__btn:hover:not(:disabled) { border-color: var(--clay); }
  .bk-steps__btn:disabled { opacity: .25; cursor: default; }
  .booking__field::before { border-radius: 14px; }
  .bk-pop { left: 0 !important; right: 0; padding: 20px 16px 14px; border-radius: 22px; }
  .bk-cal__months { grid-template-columns: 1fr; }
  .bk-cal__grid { grid-template-columns: repeat(7, 1fr); }
  .bk-cal__day { width: 100%; height: 42px; }
  .bk-cal__day::after { inset: 2px calc(50% - 19px); }
  .bk-guests, .bk-list { width: auto; }



  .terme__stage { height: 260vh; }

  .services__list { grid-template-columns: 1fr 1fr; }
  .services__list li:nth-child(4) { grid-column: auto; }
  .services__list li:last-child { grid-column: 1 / -1; }


  .contact__grid { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  .loader { display: none; }
  .menu__links a, .menu__side { opacity: 1; transform: none; filter: none; }
  .exp__item { opacity: 1 !important; transform: none !important; }
  .story, .story__text { clip-path: none !important; opacity: 1 !important; transform: none !important; filter: none !important; }
  .wi { opacity: 1; filter: none; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
  .wi { transform: none; }
  .terme__stage { height: auto; }
  .terme__sticky { position: relative; height: 80vh; }
  .terme__media { clip-path: none; }
  .terme__media img, .terme__media video { transform: none; }
  .dine__media img { animation: none; }
  .dine__fade.is-anim { animation: none; }
  .terme__panel { opacity: 1; transform: none; }
}

/* ---------- Appartamenti: carosello Lingers "Suites and apartments" ----------
   Slide larga min(720px, 80vw), la prima centrata; la successiva si intravede a destra.
   Barra a segmenti sotto il titolo: il segmento della slide attiva diventa oro. */
.apt { --slide: min(720px, 80vw); --gap: clamp(20px, 6vw, 90px); --swiper-wrapper-transition-timing-function: var(--expo); padding: clamp(64px, 7vw, 112px) 0; background: var(--sand); overflow: hidden; }
.apt__title { font-weight: 400; }
.apt__head { margin-bottom: clamp(36px, 4vw, 64px); }
.apt__head .lead { margin-top: 20px; }
/* frecce come la gallery, chiare, sui lati della foto in primo piano (centrate sulla sua altezza: 3:2 → slide/3) */
.apt__arrow {
  position: absolute; z-index: 10; top: calc(var(--slide) / 3); width: max(2.5vw, 44px); height: max(2.5vw, 44px);
  margin-top: calc(max(2.5vw, 44px) / -2); border-radius: 50%; border: 1px solid rgba(255, 255, 255, .9); padding: 0;
  background: rgba(6, 21, 27, .3) url("../img/svg/icon-arrow-light.svg") center / 45% auto no-repeat;
  backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); box-shadow: 0 6px 18px rgba(6, 21, 27, .18);
  cursor: pointer; transform: scale(1); transition: transform .4s var(--expo), opacity .4s;
}
.apt__arrow--prev { left: calc(50% - var(--slide) / 2 + 20px); transform: rotate(180deg); }
.apt__arrow--next { right: calc(50% - var(--slide) / 2 + 20px); }
.apt__arrow:hover:not(:disabled) { transform: scale(.9); }
.apt__arrow--prev:hover:not(:disabled) { transform: rotate(180deg) scale(.9); }
.apt__arrow:disabled { opacity: 0; pointer-events: none; }
/* sotto il carosello: barra a segmenti */
.apt__controls { display: flex; justify-content: center; margin-top: clamp(32px, 4vw, 52px); padding: 0 var(--gutter); }
.apt__bar { display: flex; gap: 6px; width: min(360px, 60vw); }
.apt__seg { position: relative; flex: 1; height: 2px; padding: 0; border: 0; background: var(--line); cursor: pointer; transition: background .5s var(--expo); }
.apt__seg::before { content: ""; position: absolute; inset: -14px 0; }
.apt__seg.is-active { background: var(--clay); }
.apt__slide { width: var(--slide); height: auto; flex: none; opacity: .5; transition: opacity .8s var(--expo); }
.apt__slide.swiper-slide-active { opacity: 1; }
.apt__img { position: relative; aspect-ratio: 3 / 2; overflow: hidden; background: var(--sand-deep); }
.apt__img img { width: 100%; height: 100%; object-fit: cover; pointer-events: none; transition: transform 1.4s var(--expo); }
.apt__slide.swiper-slide-active:hover .apt__img img { transform: scale(1.03); }
.apt__meta {
  position: absolute; right: 20px; bottom: 18px; display: flex; align-items: center; gap: 12px;
  font: 400 15px/1 var(--sans); color: var(--bone); text-shadow: 0 2px 14px rgba(0, 0, 0, .45);
}
.apt__plus { width: 22px; height: 22px; flex: none; background: url("../img/svg/icon-plus-circle-light.svg") center / contain no-repeat; }
.apt__name { margin-top: 26px; font: 400 var(--t-m)/1.1 var(--head); letter-spacing: .01em; }
.apt__price { margin: 8px 0 0; font-size: 14px; color: var(--moss); }
.apt__actions { display: flex; align-items: center; margin-top: 16px; }
.apt__more {
  display: inline-flex; align-items: center; gap: 10px; min-height: 42px; margin-left: 8px;
  font: 600 11px/1 var(--sans); letter-spacing: .24em; text-transform: uppercase; color: var(--ink);
}
.apt__actions .apt__more { margin-left: 0; }
.apt__more::after { content: ""; width: 28px; height: 1px; background: currentColor; transition: width .5s var(--expo); }
.apt__more:hover::after { width: 48px; }
@media (max-width: 820px) {
  .apt { --slide: calc(100vw - 56px); --gap: 14px; }
  .apt__meta { right: 14px; bottom: 12px; font-size: 13px; }
  .apt__more { margin-left: 0; }
}

/* ---------- Accessibilità: elementi che compaiono solo da tastiera ----------
   Skip link, pausa dello scorrimento automatico e frecce dei caroselli senza frecce nel design.
   Nascosti con .visually-hidden-focusable di Bootstrap: visibili solo quando ricevono il focus. */
.skip-link:focus, .skip-link:focus-visible {
  position: fixed !important; z-index: 100; top: 12px; left: 12px; padding: 14px 22px; border-radius: 999px;
  background: var(--ink); color: var(--cream); font: 500 12px/1 var(--sans); letter-spacing: .2em; text-transform: uppercase;
}
main:focus { outline: none; }  /* destinazione dello skip link */
.carousel-pause:focus, .carousel-pause:focus-visible,
.swiper-nav:focus, .swiper-nav:focus-visible {
  position: absolute !important; z-index: 40; top: 16px; padding: 12px 20px; border: 0; border-radius: 999px;
  background: var(--cream); color: var(--ink); font: 500 11px/1 var(--sans); letter-spacing: .16em; text-transform: uppercase;
}
.carousel-pause:focus, .carousel-pause:focus-visible { left: 50%; transform: translateX(-50%); }
.stay .carousel-pause:focus, .stay .carousel-pause:focus-visible { top: auto; bottom: 64px; }
.dine .carousel-pause:focus, .dine .carousel-pause:focus-visible { position: relative !important; top: 0; left: 0; transform: none; margin-top: 16px; }
.swiper-nav--prev:focus, .swiper-nav--prev:focus-visible { left: 16px; }
.swiper-nav--next:focus, .swiper-nav--next:focus-visible { right: 16px; }

/* schermi molto stretti: il claim della hero resta su due righe */
@media (max-width: 360px) { .hero__title { font-size: 34px; } }

/* ---------- Etichetta WhatsApp: linguetta bianca fissa sul lato destro, testo verticale in maiuscoletto ----------
   Sopra la barra di prenotazione e sotto l'header; si nasconde con il menu aperto. */
.wa {
  position: fixed; z-index: 47; right: 0; top: 50%; display: flex; flex-direction: column; align-items: center; gap: 12px;
  padding: 16px 10px 18px; border-radius: 14px 0 0 14px; background: #fff; color: var(--ink);
  box-shadow: 0 12px 34px rgba(6, 21, 27, .14), 0 1px 3px rgba(6, 21, 27, .06);
  transform: translate3d(0, -50%, 0); transition: background-color .4s var(--expo), color .4s var(--expo), padding .5s var(--expo), opacity .4s;
  animation: waIn 1s var(--expo) 4.2s both;  /* compare dopo il loader */
}
.wa__icon { width: 20px; height: 20px; }
.wa__label { writing-mode: vertical-rl; transform: rotate(180deg); white-space: nowrap; font: 500 11px/1 var(--sans); letter-spacing: .26em; text-transform: uppercase; }
.wa:hover { background: var(--ink); color: var(--cream); padding-right: 14px; }
.menu-open .wa { opacity: 0; pointer-events: none; }
@keyframes waIn { from { opacity: 0; transform: translate3d(100%, -50%, 0); } to { opacity: 1; transform: translate3d(0, -50%, 0); } }
@media (max-width: 820px) {
  /* su mobile resta a metà pagina, un po' più sottile */
  .wa { gap: 12px; padding: 14px 10px 16px; border: 1px solid rgba(185, 151, 91, .55); border-right: 0; border-radius: 12px 0 0 12px; }
  .wa__icon { width: 20px; height: 20px; }
  .wa__label { font-size: 11.5px; letter-spacing: .22em; }
}
@media (prefers-reduced-motion: reduce) { .wa { animation: none; } }

/* ==========================================================================
   PAGINE INTERNE
   Stesso header, menu, barra di prenotazione e footer della home. Niente loader:
   titolo, barra ed etichetta WhatsApp compaiono subito.
   ========================================================================== */
.page-inner .hero__content > * { animation-delay: .25s; }
.page-inner .hero__content > *:nth-child(2) { animation-delay: .4s; }
.page-inner .booking { animation-delay: .6s; }
.page-inner .wa { animation-delay: 1.2s; }
/* Home già vista in questa sessione (js/head.js): niente loader, la hero compare subito come nelle pagine interne */
.skip-loader .loader { display: none; }
.skip-loader .hero__content > * { animation-delay: .25s; }
.skip-loader .hero__content > *:nth-child(2) { animation-delay: .4s; }
.skip-loader .booking { animation-delay: .6s; }
.skip-loader .wa { animation-delay: 1.2s; }
/* Senza JavaScript (classe no-js sull'<html>, tolta da js/head.js): niente loader, contenuto animato già visibile */
.no-js .loader { display: none; }
.no-js .hero__content > *, .no-js .booking, .no-js .wa { animation-delay: 0s; }
.no-js .reveal, .no-js .services__list[data-stagger] li > *, .no-js .exp__item { opacity: 1; transform: none; }
.no-js .services__list[data-stagger] { background-size: 100% 100%; }
/* voce della pagina aperta, nel menu e nell'header */
.header__nav a[aria-current="page"]::after { transform: scaleX(1); }
.menu__links a[aria-current="page"] { color: var(--clay-dark); }

/* Hero di pagina: più bassa della home, foto con zoom lento */
.hero--page { height: 78svh; min-height: 560px; }
.hero--page .hero__content { justify-content: center; padding-bottom: 60px; }
.hero__crumb { display: flex; align-items: center; gap: 12px; margin: 0 0 22px; font: 500 11px/1 var(--sans); letter-spacing: .3em; text-transform: uppercase; color: rgba(245, 240, 228, .85); }
.hero__crumb a { padding: 10px 0; border-bottom: 1px solid transparent; transition: border-color .3s; }
.hero__crumb a:hover { border-color: currentColor; }
.hero__crumb span { opacity: .5; }

/* ---------- Intro (Rosa Fariones): testo grande centrato e titolo che si accende scorrendo ---------- */
.pintro { padding: clamp(96px, 11vw, 170px) 0 clamp(72px, 8vw, 120px); background: var(--paper); text-align: center; }
.pintro__text { max-width: 1040px; margin: clamp(48px, 5vw, 72px) auto 0; font: 300 var(--t-lead)/1.75 var(--sans); color: var(--ink); }
.pintro__title { margin: 0; font: 400 var(--t-xl)/1.02 var(--head); letter-spacing: .01em; color: var(--ink); }
/* parole del titolo: spente, si accendono una alla volta con lo scroll (main.js, data-fill) */
.fw { opacity: .14; transition: opacity .5s var(--ease); }
.fw.is-lit { opacity: 1; }

/* ---------- Camere: carosello con la camera grande al centro e le due vicine che escono dai bordi ---------- */
.rooms { --w: min(58vw, 920px); padding: clamp(88px, 10vw, 150px) 0 clamp(72px, 8vw, 120px); background: var(--sand); overflow: hidden; }
.rooms__head { margin-bottom: clamp(56px, 6vw, 88px); }
.rooms__title { color: var(--ink); }
.rooms__slider { overflow: visible; }
.rooms__slide { width: var(--w); }
/* foto: le laterali più piccole e velate, si allargano verso il centro quando arrivano */
.rooms__media {
  display: block; aspect-ratio: 3 / 2; overflow: hidden; background: var(--sand-deep);
  transform: scale(.84); opacity: .45; transition: transform 1.1s var(--expo), opacity 1.1s var(--expo);
}
.swiper-slide-prev .rooms__media { transform-origin: 100% 50%; }
.swiper-slide-next .rooms__media { transform-origin: 0 50%; }
.swiper-slide-active .rooms__media { transform: none; opacity: 1; }
.rooms__media img { width: 100%; height: 100%; object-fit: cover; }
.rooms__slide:not(.swiper-slide-active) { cursor: pointer; }
/* testo sotto la foto: compare solo sulla camera al centro */
.rooms__info { max-width: 560px; margin: 0 auto; padding-top: 36px; text-align: center; opacity: 0; transform: translate3d(0, 18px, 0); transition: opacity .5s, transform .8s var(--expo); }
.swiper-slide-active .rooms__info { opacity: 1; transform: none; transition-delay: .35s; }
.rooms__name { margin: 0; font: 400 var(--t-card)/1 var(--head); letter-spacing: .01em; color: var(--ink); }
.rooms__text { margin: 18px 0 0; font-size: 16px; font-weight: 300; line-height: 1.8; color: var(--moss); }
.rooms__link { margin-top: 18px; color: var(--clay-dark); }
/* frecce rotonde avorio sui bordi della foto centrale, a metà altezza */
.rooms__arrow {
  position: absolute; z-index: 10; top: calc(var(--w) / 3); width: 56px; height: 56px; margin-top: -28px; padding: 0; cursor: pointer;
  border: 0; border-radius: 50%; background: var(--paper) url("../img/svg/icon-arrow-dark.svg") center / 20px no-repeat;
  box-shadow: 0 14px 34px rgba(6, 21, 27, .16); transition: transform .5s var(--expo), box-shadow .5s var(--expo);
}
.rooms__arrow--prev { left: calc(50% - var(--w) / 2 - 28px); transform: rotate(180deg); }
.rooms__arrow--next { right: calc(50% - var(--w) / 2 - 28px); }
.rooms__arrow:hover { transform: scale(1.08); box-shadow: 0 18px 40px rgba(6, 21, 27, .22); }
.rooms__arrow--prev:hover { transform: rotate(180deg) scale(1.08); }
.rooms__arrow:focus-visible { outline: 2px solid var(--focus); outline-offset: 4px; }
/* contatore con barra che avanza */
.rooms__foot { display: flex; align-items: center; justify-content: center; gap: 18px; margin-top: 44px; font: 500 11px/1 var(--sans); letter-spacing: .24em; color: var(--ink); }
.rooms__bar { position: relative; width: 120px; height: 1px; background: var(--line); overflow: hidden; }
.rooms__bar i { position: absolute; inset: 0; background: var(--clay); transform: scaleX(.333); transform-origin: 0 50%; transition: transform 1.1s var(--expo); }

/* ---------- Editoriale 1 (Rosa "Wellness"): testo, foto grande a filo destro, collage sovrapposto ---------- */
.edit { padding: clamp(96px, 11vw, 170px) 0; background: var(--paper); overflow: hidden; }
.edit__grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 24px; padding-left: var(--gutter); }
.edit :where(figure) { margin: 0; overflow: hidden; background: var(--sand); }
.edit :where(figure) img { width: 100%; height: 100%; object-fit: cover; }
.edit__title { margin: 0 0 28px; color: var(--ink); }
.edit p { max-width: 42ch; margin: 0; font-size: 16px; font-weight: 300; line-height: 1.85; color: var(--moss); }
.edit__text--a { grid-column: 1 / 6; grid-row: 1; padding-left: max(0px, calc((100vw - var(--maxw)) / 2)); }
.edit__big { grid-column: 7 / 13; grid-row: 1 / 3; margin-top: 120px; aspect-ratio: 5 / 4; }
.edit__s1 { grid-column: 5 / 8; grid-row: 2; align-self: end; z-index: 1; aspect-ratio: 4 / 3; margin-bottom: -6%; box-shadow: 0 30px 60px rgba(6, 21, 27, .12); }
.edit__s2 { grid-column: 3 / 6; grid-row: 3; z-index: 2; aspect-ratio: 4 / 5; margin-top: -14%; box-shadow: 0 30px 60px rgba(6, 21, 27, .14); }
.edit__text--b { grid-column: 8 / 12; grid-row: 3; align-self: end; padding-top: 80px; }
.edit__list { display: grid; grid-template-columns: 1fr 1fr; gap: 0 28px; margin: 0; padding: 0; list-style: none; border-top: 1px solid var(--line); }
.edit__list li { display: flex; align-items: center; gap: 12px; padding: 14px 0; border-bottom: 1px solid var(--line); font: 400 var(--t-s)/1.2 var(--head); color: var(--ink); }
.edit__list li::before { content: ""; flex: none; width: 5px; height: 5px; background: var(--clay); transform: rotate(45deg); }

/* ---------- Foto incorniciata (Rosa): sfondo a tutto schermo, foto in cornice avorio al centro ---------- */
.framed { position: relative; display: grid; place-items: center; height: clamp(560px, 100vh, 980px); overflow: hidden; }
.framed__bg { position: absolute; inset: -15% 0; }
.framed__bg img { width: 100%; height: 100%; object-fit: cover; filter: brightness(.85) saturate(.9); }
.framed__pic { position: relative; width: min(52vw, 760px); margin: 0; padding: clamp(14px, 2.6vw, 44px); background: var(--paper); box-shadow: 0 40px 90px rgba(6, 21, 27, .25); }
.framed__pic img { display: block; width: 100%; height: auto; aspect-ratio: 3 / 2; object-fit: cover; }

/* ---------- Editoriale 2 (Rosa "Circuito wellness"): foto verticale a filo sinistro, dettaglio, due testi ---------- */
.edit2 { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 24px; padding-right: var(--gutter); }
.edit2__big { grid-column: 1 / 6; grid-row: 1 / 4; aspect-ratio: 4 / 5; }
.edit2__small { grid-column: 5 / 8; grid-row: 2; align-self: center; z-index: 1; aspect-ratio: 3 / 2; border: 14px solid var(--paper); }
.edit2__text--a { grid-column: 8 / 12; grid-row: 1; padding-bottom: 40px; }
.edit2__text--b { grid-column: 8 / 12; grid-row: 3; align-self: end; }
.edit2__text--b .link-diamond { margin-top: 24px; color: var(--clay-dark); }

/* ---------- Chiusura (Rosa): foto a tutto schermo con titolo e contatti ---------- */
.pbanner { position: relative; display: grid; place-items: center; min-height: 88svh; padding: 120px var(--gutter); overflow: hidden; text-align: center; color: var(--cream); }
.pbanner__media { position: absolute; inset: -15% 0; }
.pbanner__media img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 60%; }
.pbanner::after { content: ""; position: absolute; inset: 0; background: rgba(6, 21, 27, .45); }
.pbanner__content { position: relative; z-index: 1; max-width: 640px; }
.pbanner p { margin: 32px auto 0; max-width: 46ch; font-size: 16px; font-weight: 300; line-height: 1.85; color: rgba(245, 240, 228, .9); }
.pbanner__actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; margin-top: 40px; }

@media (max-width: 820px) {
  .pintro__text { text-align: left; }
  .rooms { --w: 80vw; }
  .rooms__arrow { width: 44px; height: 44px; margin-top: -22px; background-size: 16px; }
  .rooms__arrow--prev { left: calc(50% - var(--w) / 2 - 12px); }
  .rooms__arrow--next { right: calc(50% - var(--w) / 2 - 12px); }
  .rooms__info { padding: 28px 8px 0; }
  /* editoriali impilati: testo, foto grande, due foto sovrapposte, testo */
  .edit__grid, .edit2 { grid-template-columns: repeat(6, minmax(0, 1fr)); column-gap: 12px; padding: 0 var(--gutter); }
  .edit__text--a { grid-column: 1 / -1; grid-row: auto; padding: 0 0 40px; }
  .edit__big { grid-column: 1 / -1; grid-row: auto; margin: 0 calc(var(--gutter) * -1) 0 0; }
  .edit__s1 { grid-column: 1 / 5; grid-row: auto; margin: -40px 0 0; }
  .edit__s2 { grid-column: 3 / 7; grid-row: auto; margin: -50px 0 0; }
  .edit__text--b { grid-column: 1 / -1; grid-row: auto; padding-top: 56px; }
  .framed { height: 72svh; min-height: 480px; }
  .framed__pic { width: 82vw; }
  .edit2__big { grid-column: 1 / 6; grid-row: auto; margin-left: calc(var(--gutter) * -1); }
  .edit2__small { grid-column: 3 / 7; grid-row: auto; margin-top: -30%; border-width: 8px; }
  .edit2__text--a, .edit2__text--b { grid-column: 1 / -1; grid-row: auto; padding: 48px 0 0; }
}

/* ---------- Domande: titolo a sinistra, risposte a fisarmonica a destra ---------- */
.faq { padding: clamp(88px, 10vw, 150px) 0; background: var(--paper); border-top: 1px solid var(--line); }
.faq__inner { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.5fr); gap: 40px clamp(40px, 8vw, 120px); align-items: start; }
.faq__title { margin: 0; color: var(--ink); }
.faq__list { border-top: 1px solid var(--line); }
.faq__item { border-bottom: 1px solid var(--line); }
.faq__item summary {
  position: relative; display: block; padding: 26px 56px 26px 0; cursor: pointer; list-style: none;
  font: 400 var(--t-s)/1.3 var(--head); color: var(--ink); transition: color .3s;
}
.faq__item summary::-webkit-details-marker { display: none; }
/* più che diventa meno */
.faq__item summary::before, .faq__item summary::after {
  content: ""; position: absolute; right: 14px; top: 50%; width: 14px; height: 1px; background: var(--clay-dark); transition: transform .5s var(--expo);
}
.faq__item summary::after { transform: rotate(90deg); }
.faq__item[open] summary::after { transform: rotate(0); }
.faq__item summary:hover { color: var(--clay-dark); }
.faq__item summary:focus-visible { outline: 2px solid var(--focus); outline-offset: 4px; }
.faq__answer { padding: 0 56px 28px 0; }
.faq__answer p { margin: 0; font-size: 16px; font-weight: 300; line-height: 1.85; color: var(--moss); }
.faq__item[open] .faq__answer { animation: faqIn .6s var(--expo); }
@keyframes faqIn { from { opacity: 0; transform: translate3d(0, -8px, 0); } to { opacity: 1; transform: none; } }

@media (max-width: 820px) {
  .hero--page { height: 88svh; }
  .hero--page .hero__content { padding-bottom: 160px; }
  .faq__inner { grid-template-columns: 1fr; }
  .faq__item summary { padding-right: 44px; }
  .faq__answer { padding-right: 0; }
  .page-inner .foot { padding-bottom: 170px; }
}

/* ==========================================================================
   DETTAGLIO CAMERA (camera-classic.html)
   ========================================================================== */
/* hero della camera: foto chiara, un velo in più perché percorso e nome si leggano */
.hero--page.hero--room { height: 100svh; min-height: 620px; }
.hero--room::after, .hero--dim::after { background: linear-gradient(180deg, rgba(6, 21, 27, .7) 0%, rgba(6, 21, 27, .25) 16%, rgba(6, 21, 27, 0) 32%), linear-gradient(0deg, rgba(6, 21, 27, .7) 0%, rgba(6, 21, 27, .25) 18%, rgba(6, 21, 27, 0) 36%), rgba(6, 21, 27, .3); }

/* intro centrata: titolo, testo, dati e azioni */
.rd-intro { padding: clamp(96px, 11vw, 170px) 0 clamp(80px, 9vw, 140px); background: var(--paper); text-align: center; }
.rd-intro__inner { max-width: 1040px; }
.rd-intro__title { margin: 0; font: 400 var(--t-xl)/1.02 var(--head); letter-spacing: .01em; color: var(--ink); }
.rd-intro__text { max-width: 62ch; margin: clamp(40px, 4vw, 56px) auto 0; font: 300 var(--t-lead)/1.75 var(--sans); color: var(--moss); }
.rd-facts { display: grid; grid-template-columns: repeat(4, 1fr); max-width: 820px; margin: 48px auto 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.rd-facts div { padding: 20px 12px; }
.rd-facts div + div { border-left: 1px solid var(--line); }
.rd-facts dt { margin-bottom: 10px; font: 500 11px/1 var(--sans); letter-spacing: .24em; text-transform: uppercase; color: var(--clay-dark); }
.rd-facts dd { margin: 0; font: 400 var(--t-s)/1.2 var(--head); color: var(--ink); }
.rd-intro__actions { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 16px 32px; margin-top: 44px; }
.rd-intro__actions .link-diamond { color: var(--clay-dark); }

/* foto: nastro allineato al contenitore a sinistra che esce dal bordo destro; orizzontali e verticali alternate */
.rd-gal { --h: clamp(340px, 60vh, 620px); padding: 0 0 clamp(88px, 10vw, 150px); background: var(--paper); overflow: hidden; }
.rd-gal__head { display: flex; align-items: flex-end; justify-content: space-between; gap: 32px; margin-bottom: clamp(36px, 4vw, 56px); }
.rd-gal__title { margin: 0; color: var(--ink); }
.rd-gal__nav { display: flex; align-items: center; gap: 12px; }
.rd-gal__count { margin-right: 12px; font: 500 11px/1 var(--sans); letter-spacing: .24em; color: var(--ink); }
.rd-gal__arrow {
  width: 52px; height: 52px; padding: 0; cursor: pointer; border: 1px solid var(--line); border-radius: 50%;
  background: transparent url("../img/svg/icon-arrow-dark.svg") center / 18px no-repeat; transition: border-color .4s, background-color .4s, opacity .4s;
}
.rd-gal__arrow--prev { transform: rotate(180deg); }
.rd-gal__arrow:hover:not(:disabled) { border-color: var(--clay); background-color: var(--sand); }
.rd-gal__arrow:disabled { opacity: .3; cursor: default; }
.rd-gal__arrow:focus-visible { outline: 2px solid var(--focus); outline-offset: 4px; }
.rd-gal__slider { overflow: visible; }
.rd-gal__slide { width: auto; height: var(--h); aspect-ratio: 3 / 2; }
.rd-gal__slide--tall { aspect-ratio: 4 / 5; }
.rd-gal__open { position: relative; display: block; width: 100%; height: 100%; padding: 0; border: 0; overflow: hidden; background: var(--sand); cursor: zoom-in; }
.rd-gal__open img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.04); transition: transform 1.4s var(--expo); }
.rd-gal__open:hover img { transform: scale(1); }
.rd-gal__open:focus-visible { outline: 2px solid var(--focus); outline-offset: 4px; }
/* più in un cerchio avorio che compare al passaggio */
.rd-gal__zoom { position: absolute; right: 20px; bottom: 20px; width: 48px; height: 48px; border-radius: 50%; background: var(--paper); opacity: 0; transform: scale(.8); transition: opacity .4s, transform .5s var(--expo); }
.rd-gal__zoom::before, .rd-gal__zoom::after { content: ""; position: absolute; left: 50%; top: 50%; width: 14px; height: 1px; background: var(--ink); transform: translate(-50%, -50%); }
.rd-gal__zoom::after { transform: translate(-50%, -50%) rotate(90deg); }
.rd-gal__open:hover .rd-gal__zoom, .rd-gal__open:focus-visible .rd-gal__zoom { opacity: 1; transform: none; }
.rd-gal__bar { position: relative; height: 1px; margin-top: 36px; background: var(--line); overflow: hidden; }
.rd-gal__bar i { position: absolute; inset: 0; background: var(--clay); transform: scaleX(0); transform-origin: 0 50%; transition: transform .8s var(--expo); }

/* servizi: icone in griglia con linee sottili */
.rd-amen { position: relative; padding: clamp(88px, 10vw, 150px) 0; background: var(--sand); overflow: hidden; }
.rd-amen__title { margin: 0 0 clamp(28px, 4vw, 52px); color: var(--ink); text-align: center; }
.rd-amen__label { margin: 0 0 18px; font: 500 11px/1 var(--sans); letter-spacing: .3em; text-transform: uppercase; color: var(--clay-dark); }
.rd-amen__title { white-space: nowrap; }
/* Servizi: scheda fissa in tre gruppi su carta avorio. Etichetta oro con filo, poi le voci in righe separate da linee sottili:
   tutto leggibile in un colpo d'occhio, senza scorrimento (le voci non sono cliccabili, quindi niente effetti al passaggio) */
.rd-amen__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(14px, 2vw, 24px); align-items: start; }
.rd-amen__group { padding: clamp(24px, 3vw, 36px) clamp(22px, 2.6vw, 34px) clamp(14px, 2vw, 22px); background: var(--paper); border-radius: 18px; }
.rd-amen__group .rd-amen__label { display: flex; align-items: center; gap: 14px; margin: 0 0 10px; }
.rd-amen__group .rd-amen__label::after { content: ""; flex: 1; height: 1px; background: rgba(185, 151, 91, .45); }
.rd-amen__list { margin: 0; padding: 0; list-style: none; }
.rd-amen__item { display: flex; align-items: center; gap: 16px; padding: 14px 0; font: 400 20px/1.2 var(--head); color: var(--ink); }
.rd-amen__item + .rd-amen__item { border-top: 1px solid var(--line); }
.rd-amen__item img { box-sizing: content-box; flex: none; width: 24px; height: 24px; padding: 10px; border: 1px solid rgba(185, 151, 91, .55); border-radius: 50%; background: rgba(185, 151, 91, .08); }

/* informazioni utili: tre colonne con linee sottili */
.rd-info { padding: clamp(72px, 8vw, 120px) 0; background: var(--paper); }
.rd-info__grid { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); }
.rd-info__item { padding: 36px clamp(20px, 3vw, 44px) 8px 0; }
.rd-info__item + .rd-info__item { padding-left: clamp(20px, 3vw, 44px); border-left: 1px solid var(--line); }
.rd-info__k { margin: 0 0 16px; font: 500 11px/1 var(--sans); letter-spacing: .3em; text-transform: uppercase; color: var(--clay-dark); }
.rd-info__v { margin: 0; font: 400 var(--t-s)/1.25 var(--head); color: var(--ink); }
.rd-info__note { margin: 14px 0 0; font-size: 16px; font-weight: 300; line-height: 1.75; color: var(--moss); }

/* le altre camere: due foto grandi affiancate a tutta larghezza, testo sovrapposto */
.rd-more { padding: clamp(88px, 10vw, 150px) 0; background: var(--paper); border-top: 1px solid var(--line); }
.rd-more__title { margin: 0 0 clamp(40px, 5vw, 64px); color: var(--ink); text-align: center; }
/* titolo unico per tutti i blocchi "altre…" (camere, sistemazioni, offerte, articoli) */
.rd-more__title, .ar-more__title { font: 400 var(--t-card)/1.1 var(--head); letter-spacing: .01em; }
/* titolo con link (Altre offerte): centrati, il link sotto */
.rd-more__head { display: flex; flex-direction: column; align-items: center; gap: 6px; margin-bottom: clamp(40px, 5vw, 64px); }
.rd-more__head .rd-more__title { margin: 0; }
.rd-more__head .link-diamond { color: var(--clay-dark); }
/* tre card (offerte): verticali, stesse card delle camere */
.rd-more--3 .rd-more__grid { grid-template-columns: repeat(3, 1fr); }
.rd-more--3 .rd-card { aspect-ratio: 4 / 5; }
.rd-more--3 .rd-card__body { right: 112px; }
.rd-more--3 .rd-card__num { text-transform: uppercase; }  /* qui è la categoria dell'offerta */
.rd-more--3 .rd-card::after { background: linear-gradient(0deg, rgba(6, 21, 27, .78) 0%, rgba(6, 21, 27, .25) 50%, rgba(6, 21, 27, 0) 75%); }
.rd-more--3 .rd-card__name { font-size: var(--t-m); line-height: 1.1; }
.rd-more__grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(16px, 2vw, 28px); padding: 0 var(--gutter); }  /* più larghe del contenitore */
.rd-card { position: relative; display: block; aspect-ratio: 3 / 2; overflow: hidden; color: var(--cream); isolation: isolate; }
.rd-card__img { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; transform: scale(1.06); transition: transform 1.6s var(--expo); }
.rd-card::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(0deg, rgba(6, 21, 27, .62) 0%, rgba(6, 21, 27, .1) 45%, rgba(6, 21, 27, 0) 70%); transition: background-color .6s; }
.rd-card:hover .rd-card__img { transform: scale(1); }
.rd-card__body { position: absolute; left: clamp(24px, 3vw, 48px); right: 120px; bottom: clamp(28px, 3.4vw, 52px); display: flex; flex-direction: column; gap: 12px; }
.rd-card__num { font: 500 11px/1 var(--sans); letter-spacing: .3em; color: var(--clay-light); }
.rd-card__name { font: 400 var(--t-card)/1 var(--head); letter-spacing: .01em; }
.rd-card__text { font-size: 15px; font-weight: 300; color: rgba(245, 240, 228, .9); }
.rd-card__go {
  position: absolute; right: clamp(24px, 3vw, 48px); bottom: clamp(28px, 3.4vw, 52px); width: 54px; height: 54px; border-radius: 50%;
  border: 1px solid rgba(245, 240, 228, .7); background: url("../img/svg/icon-arrow-light.svg") center / 18px no-repeat;
  transition: background-color .5s, border-color .5s, transform .6s var(--expo);
}
.rd-card:hover .rd-card__go { background-color: rgba(245, 240, 228, .16); border-color: var(--cream); transform: translateX(6px); }
.rd-card:focus-visible { outline: 2px solid var(--focus); outline-offset: -8px; }

/* ---------- Lightbox: Swiper dentro un <dialog>, foto intere su fondo scuro ---------- */
.lb { width: 100vw; max-width: none; height: 100dvh; max-height: none; margin: 0; padding: 0; border: 0; background: var(--ink-2); color: var(--cream); }
.lb::backdrop { background: rgba(6, 21, 27, .6); }
.lb[open] { animation: lbIn .5s var(--expo); }
@keyframes lbIn { from { opacity: 0; } to { opacity: 1; } }
.lb__top { position: absolute; z-index: 3; inset: 0 0 auto; display: flex; align-items: center; justify-content: space-between; padding: 20px var(--gutter); }
.lb__count { font: 500 11px/1 var(--sans); letter-spacing: .24em; }
.lb__close { position: relative; width: 52px; height: 52px; padding: 0; cursor: pointer; border: 1px solid rgba(245, 240, 228, .5); border-radius: 50%; background: none; transition: border-color .3s, transform .5s var(--expo); }
.lb__close::before, .lb__close::after { content: ""; position: absolute; left: 50%; top: 50%; width: 18px; height: 1px; background: var(--cream); transform: translate(-50%, -50%) rotate(45deg); }
.lb__close::after { transform: translate(-50%, -50%) rotate(-45deg); }
.lb__close:hover { border-color: var(--cream); transform: rotate(90deg); }
.lb__swiper { width: 100%; height: 100%; }
.lb__slide { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 18px; padding: 92px var(--gutter) 40px; }
.lb__slide img { max-width: 100%; max-height: calc(100dvh - 190px); width: auto; height: auto; object-fit: contain; }
.lb__cap { max-width: 60ch; margin: 0; text-align: center; font-size: 14px; font-weight: 300; color: rgba(245, 240, 228, .8); }
.lb__arrow {
  position: absolute; z-index: 3; top: 50%; width: 56px; height: 56px; margin-top: -28px; padding: 0; cursor: pointer;
  border: 1px solid rgba(245, 240, 228, .5); border-radius: 50%; background: url("../img/svg/icon-arrow-light.svg") center / 20px no-repeat;
  transition: border-color .3s, opacity .3s;
}
.lb__arrow--prev { left: var(--gutter); transform: rotate(180deg); }
.lb__arrow--next { right: var(--gutter); }
.lb__arrow:hover:not(:disabled) { border-color: var(--cream); }
.lb__arrow:disabled { opacity: .2; cursor: default; }
.lb button:focus-visible { outline: 2px solid var(--focus); outline-offset: 4px; }

@media (max-width: 1100px) {
}
@media (max-width: 820px) {
  .rd-facts { grid-template-columns: 1fr 1fr; }
  .rd-facts div:nth-child(3) { border-left: 0; }
  .rd-facts div:nth-child(n+3) { border-top: 1px solid var(--line); }
  .rd-gal { --h: 300px; }
  .rd-gal__head { align-items: flex-start; flex-direction: column; }
  .rd-amen__title { white-space: normal; }
  .rd-amen__grid { grid-template-columns: 1fr; }
  .rd-amen__list { display: grid; grid-template-columns: 1fr 1fr; column-gap: 24px; }
  .rd-amen__item + .rd-amen__item { border-top: 0; }
  .rd-amen__item { border-bottom: 1px solid var(--line); }
  .rd-amen__item:nth-last-child(-n+2):nth-child(odd), .rd-amen__item:last-child { border-bottom: 0; }
  .rd-info__grid, .rd-more__grid, .rd-more--3 .rd-more__grid { grid-template-columns: 1fr; }
  .rd-more--3 .rd-card { aspect-ratio: 3 / 2; }
  .rd-info__item, .rd-info__item + .rd-info__item { padding: 28px 0; border-left: 0; }
  .rd-info__item + .rd-info__item { border-top: 1px solid var(--line); }
  .rd-card__body { right: 84px; gap: 8px; }
  .rd-card__text { display: none; }  /* card più bassa: restano numero e nome */
  .rd-card::after { background: linear-gradient(0deg, rgba(6, 21, 27, .7) 0%, rgba(6, 21, 27, .15) 55%, rgba(6, 21, 27, 0) 80%); }
  .rd-card__go { width: 46px; height: 46px; background-size: 16px; }
  .lb__arrow { top: auto; bottom: 24px; margin: 0; }
  .lb__slide { padding-bottom: 100px; }
}

/* ==========================================================================
   APPARTAMENTI (appartamenti.html, sul modello Tengile "Accommodation") e dettaglio
   (appartamento-bilocale.html, sul modello "Rattray's Lodge"). Classi tg-*; il dettaglio riusa anche rd-*.
   ========================================================================== */
/* intro centrata con filo d'oro tra i due testi */
.tg-intro { padding: clamp(96px, 11vw, 170px) 0 clamp(72px, 8vw, 120px); background: var(--paper); text-align: center; }
.tg-intro__inner { max-width: 980px; }
.tg-intro__title { margin: 0; color: var(--ink); }
.tg-intro__text { max-width: 60ch; margin: clamp(36px, 4vw, 52px) auto 0; font: 300 var(--t-lead)/1.75 var(--sans); color: var(--ink); }
.tg-line { display: block; width: 120px; height: 1px; margin: 44px auto; background: linear-gradient(90deg, transparent, var(--clay), transparent); }
.tg-intro__sub { max-width: 56ch; margin: 0 auto; font-size: 16px; font-weight: 300; line-height: 1.85; color: var(--moss); }

/* gruppo di card (Tengile "Lodges"): etichetta e testo, poi card verticali */
.tg-group { padding: 0 0 clamp(88px, 10vw, 150px); background: var(--paper); }
.tg-group__head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); gap: 24px 48px; align-items: baseline; padding-top: 28px; margin-bottom: clamp(32px, 4vw, 56px); border-top: 1px solid var(--line); }
.tg-group__label { margin: 0; font: 500 11px/1 var(--sans); letter-spacing: .3em; text-transform: uppercase; color: var(--clay-dark); }
.tg-group__text { margin: 0; max-width: 56ch; font-size: 16px; font-weight: 300; line-height: 1.85; color: var(--moss); }
.tg-cards.swiper { overflow: visible; }
.tg-cards__track { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(20px, 3vw, 40px); }  /* da tablet in su: due card affiancate */
.tg-cards__controls { display: none; }
.tg-card { display: block; color: var(--ink); }
.tg-card__count { display: block; margin-bottom: 14px; font: 500 11px/1 var(--sans); letter-spacing: .26em; text-transform: uppercase; color: var(--clay-dark); }
.tg-card__img { display: block; aspect-ratio: 4 / 5; overflow: hidden; background: var(--sand); }
.tg-card__img img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.04); transition: transform 1.6s var(--expo); }
.tg-card:hover .tg-card__img img { transform: none; }
.tg-card__row { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-top: 22px; }
.tg-card__name { font: 400 var(--t-card)/1 var(--head); }
.tg-card__go { flex: none; width: 54px; height: 54px; border: 1px solid var(--line); border-radius: 50%; background: url("../img/svg/icon-arrow-dark.svg") center / 18px no-repeat; transition: border-color .4s, transform .6s var(--expo); }
.tg-card:hover .tg-card__go { border-color: var(--clay); transform: translateX(6px); }
.tg-card:focus-visible { outline: 2px solid var(--focus); outline-offset: 8px; }

/* la residenza (Tengile: mappa): titolo e legenda, foto dal drone a tutta larghezza */
.tg-map { padding: clamp(88px, 10vw, 150px) 0 0; background: var(--sand); }
.tg-map__head { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 32px 64px; align-items: end; margin-bottom: clamp(40px, 5vw, 72px); }
.tg-map__title { margin: 0; color: var(--ink); }
.tg-map__legend { margin: 0; padding: 0; list-style: none; border-top: 1px solid var(--line); }
.tg-map__legend li { display: flex; align-items: center; gap: 14px; padding: 14px 0; border-bottom: 1px solid var(--line); font: 400 var(--t-s)/1.2 var(--head); color: var(--ink); }
.tg-map__legend li::before { content: ""; flex: none; width: 8px; height: 8px; border-radius: 50%; background: var(--clay); box-shadow: 0 0 0 4px rgba(185, 151, 91, .2); }
.tg-map__media { height: clamp(420px, 80vh, 820px); margin: 0; overflow: hidden; }
.tg-map__media img { width: 100%; height: 100%; object-fit: cover; }

/* gli spazi (Tengile "Experiences"): testo centrato e fila di foto ad altezze sfalsate */
.tg-strip { padding: clamp(88px, 10vw, 150px) 0; background: var(--paper); overflow: hidden; }
.tg-strip__head { max-width: 720px; margin-bottom: clamp(48px, 6vw, 80px); text-align: center; }
.tg-strip__title { margin: 0; color: var(--ink); }
.tg-strip__head p { margin: 28px auto 32px; font-size: 16px; font-weight: 300; line-height: 1.85; color: var(--moss); }
/* nastro di foto verticali che scorre da solo (data-photostrip), altezze sfalsate */
.tg-strip__row .swiper-wrapper { align-items: flex-start; transition-timing-function: linear; }
.tg-ph { width: clamp(240px, 22vw, 380px); margin: 0; aspect-ratio: 3 / 4; overflow: hidden; background: var(--sand-deep); }
.tg-ph img { width: 100%; height: 100%; object-fit: cover; }
.tg-ph:nth-child(even) { margin-top: 64px; }
.tg-ph:nth-child(3n) { aspect-ratio: 3 / 4.6; }

/* consiglio (Tengile "Do you need some advice?") */
.tg-advice { padding: clamp(88px, 10vw, 150px) 0; background: var(--sand); }
.tg-advice__title { color: var(--ink); }
.tg-advice__actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; margin-top: 40px; }
.tg-advice__wa { color: var(--ink); }
.tg-advice__wa:hover { background: var(--ink); border-color: var(--ink); color: var(--cream); }

/* dettaglio: dove e in breve (Rattray's "Location" e "Highlights") con due foto verticali */
.tg-facts { padding: 0 0 clamp(88px, 10vw, 150px); background: var(--paper); }
.tg-facts__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); gap: 32px 64px; padding-top: 32px; border-top: 1px solid var(--line); }
.tg-facts__k { margin: 0 0 16px; font: 500 11px/1 var(--sans); letter-spacing: .3em; text-transform: uppercase; color: var(--clay-dark); }
.tg-facts__v { margin: 0; font: 400 var(--t-s)/1.35 var(--head); color: var(--ink); }
.tg-facts__list { display: flex; flex-wrap: wrap; gap: 10px; margin: 0; padding: 0; list-style: none; }
.tg-facts__list li { padding: 12px 20px; border: 1px solid var(--line); border-radius: 999px; font: 400 18px/1 var(--head); color: var(--ink); }
.tg-pair { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(16px, 2vw, 28px); margin-top: clamp(56px, 7vw, 104px); }
.tg-pair figure { margin: 0; aspect-ratio: 4 / 5; overflow: hidden; background: var(--sand); }
.tg-pair figure:last-child { margin-top: 12%; }
.tg-pair img { width: 100%; height: 100%; object-fit: cover; }

/* dettaglio: la piscina (Rattray's "Dining"): testo a sinistra, tre foto in composizione */
.tg-feature { padding: clamp(88px, 10vw, 150px) 0; background: var(--paper); }
.tg-feature__grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); grid-template-rows: auto auto; gap: 20px; align-items: start; }
.tg-feature__text { grid-column: 1 / 5; grid-row: 1 / 3; align-self: center; }
.tg-feature__title { margin: 0 0 24px; color: var(--ink); }
.tg-feature__text p { margin: 0; font-size: 16px; font-weight: 300; line-height: 1.85; color: var(--moss); }
.tg-feature figure { margin: 0; overflow: hidden; background: var(--sand); }
.tg-feature figure img { width: 100%; height: 100%; object-fit: cover; }
.tg-feature__a { grid-column: 6 / 13; grid-row: 1; aspect-ratio: 16 / 9; }
.tg-feature__b { grid-column: 6 / 9; grid-row: 2; aspect-ratio: 4 / 5; }
.tg-feature__c { grid-column: 9 / 13; grid-row: 2; aspect-ratio: 4 / 3; }
.rd-info__title { margin: 0 0 clamp(36px, 4vw, 56px); color: var(--ink); }

@media (max-width: 820px) {
  .tg-group__head, .tg-map__head, .tg-facts__grid { grid-template-columns: 1fr; }
  /* su mobile le tipologie sono un carosello come gli appartamenti della home: slide centrata, la vicina si intravede */
  .tg-group { overflow: hidden; }
  .tg-cards.swiper { margin-inline: calc(50% - 50vw); }
  .tg-cards__track { display: flex; gap: 0; }
  .tg-cards .tg-card { width: calc(100vw - 56px); height: auto; flex: none; }
  .tg-cards.swiper-initialized .tg-card { transition: opacity .8s var(--expo), transform 1.3s var(--expo); }
  .tg-cards.swiper-initialized .tg-card:not(.swiper-slide-active) .tg-card__img { opacity: .5; }  /* si attenua solo la foto: il testo resta leggibile */
  .tg-cards.swiper-initialized .tg-card__img { transition: opacity .8s var(--expo); }
  .tg-cards__controls { display: flex; }
  .tg-ph { width: 62vw; }
  .tg-ph:nth-child(even) { margin-top: 32px; }
  .tg-map__media { height: 56svh; }
  .tg-pair { gap: 10px; }
  .tg-feature__text, .tg-feature__a { grid-column: 1 / -1; grid-row: auto; }
  .tg-feature__b { grid-column: 1 / 7; grid-row: auto; }
  .tg-feature__c { grid-column: 7 / 13; grid-row: auto; }
  .tg-facts__list li { font-size: 16px; padding: 10px 16px; }
}

/* ==========================================================================
   CHI SIAMO (chi-siamo.html, sul modello Rosa Hotels "Acerca de")
   ========================================================================== */
/* parte alta chiara: header scuro finché non diventa la barra bianca */
.page-light { background: var(--sand); }
.page-light .header:not(.is-solid) { color: var(--ink); }
.page-light .header:not(.is-solid) .header__book { border-color: rgba(10, 31, 39, .35); }
.page-light .header:not(.is-solid) .header__sep { background: var(--line); }
/* la barra di prenotazione non ha una hero dove stare: prima che main.js la agganci in basso resta nascosta */
.page-light .booking:not(.is-docked) { visibility: hidden; }

/* hero: titolo e bottone centrati, sotto una fila di foto verticali sfalsate che esce dai bordi */
.ab-hero { position: relative; padding: clamp(150px, 16vw, 220px) 0 0; background: var(--sand); overflow: hidden; text-align: center; }
.ab-hero__crumb { justify-content: center; color: var(--clay-dark); }
.ab-hero__crumb span { color: var(--stone); }
.ab-hero__title { margin: 0; font: 400 var(--t-xl)/1.02 var(--head); letter-spacing: .01em; color: var(--ink); animation: rise 1.2s var(--ease) .2s both; }
.ab-hero__cta { margin-top: 40px; animation: rise 1.2s var(--ease) .4s both; }
.ab-hero__row { margin-top: clamp(64px, 8vw, 120px); animation: rise 1.4s var(--ease) .5s both; }
.ab-hero__row .swiper-wrapper { align-items: flex-start; transition-timing-function: linear; }
.ab-ph { width: clamp(280px, 34vw, 560px); margin: 0; aspect-ratio: 4 / 5; overflow: hidden; background: var(--sand-deep); }
.ab-ph img { width: 100%; height: 100%; object-fit: cover; }
.ab-ph--1 { margin-top: 40px; }
.ab-ph--2 { aspect-ratio: 3 / 4; }
.ab-ph--3 { margin-top: 70px; }
.ab-ph--4 { margin-top: 10px; aspect-ratio: 3 / 4; }
.ab-ph--5 { margin-top: 56px; }

/* intro: stesso stile della pagina Hotel, su fondo sabbia */
.ab-intro { background: var(--sand); padding-top: 0; }
.ab-intro .pintro__text { margin-top: clamp(36px, 3.5vw, 52px); }  /* testo vicino alle foto */  /* testo vicino alle foto */
.ab-intro .pintro__title { margin-top: clamp(72px, 9vw, 140px); }

/* foto incorniciata con il video dell'hotel */
.framed__pic video { display: block; width: 100%; aspect-ratio: 16 / 9; object-fit: cover; background: var(--ink-2); }

/* testo sotto la gallery dei momenti (chi-siamo.html) */
.stories__text { max-width: 60ch; margin: clamp(56px, 7vw, 96px) auto 0; text-align: center; font: 300 var(--t-lead)/1.75 var(--sans); color: rgba(245, 240, 228, .88); }

@media (max-width: 820px) {
  .ab-ph { width: 74vw; }
}

/* ==========================================================================
   RISTORANTE, OFFERTE, BLOG, ARTICOLO, CONTATTI
   ========================================================================== */
/* testata chiara senza foto (blog, articolo, contatti): come la parte alta di Chi siamo */
.lt-hero { padding: clamp(150px, 16vw, 220px) 0 clamp(56px, 6vw, 96px); background: var(--sand); text-align: center; }
.lt-hero__lead { max-width: 56ch; margin: 28px auto 0; font: 300 var(--t-lead)/1.75 var(--sans); color: var(--moss); animation: rise 1.2s var(--ease) .4s both; }

/* ristorante: tre momenti in colonna, foto verticale, numero, titolo, testo */
.rs-moments { padding: 0 0 clamp(88px, 10vw, 150px); background: var(--paper); }
.rs-moments__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(20px, 3vw, 44px); align-items: start; }
.rs-moment:nth-child(2) { margin-top: clamp(40px, 6vw, 96px); }
.rs-moment__img { margin: 0 0 24px; aspect-ratio: 4 / 5; overflow: hidden; background: var(--sand); }
.rs-moment__img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.6s var(--expo); }
.rs-moment:hover .rs-moment__img img { transform: scale(1.04); }
.rs-moment__num { margin: 0 0 10px; font: 500 11px/1 var(--sans); letter-spacing: .3em; color: var(--clay-dark); }
.rs-moment__title { margin: 0 0 14px; font: 400 var(--t-m)/1.1 var(--head); color: var(--ink); }
.rs-moment p:not(.rs-moment__num) { margin: 0; font-size: 16px; font-weight: 300; line-height: 1.8; color: var(--moss); }

/* offerte: card orizzontali, foto e testo affiancati */
.of-list { padding: 0 0 clamp(88px, 10vw, 150px); background: var(--paper); }
.of-grid { display: grid; gap: clamp(20px, 3vw, 36px); }
.of-card { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); background: var(--sand); overflow: hidden; }
.of-card:nth-child(even) .of-card__img { order: 2; }
.of-card__img { margin: 0; min-height: 360px; overflow: hidden; }
.of-card__img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.6s var(--expo); }
.of-card:hover .of-card__img img { transform: scale(1.04); }
.of-card__body { display: flex; flex-direction: column; justify-content: center; padding: clamp(32px, 4vw, 64px); }
.of-card__tag { margin: 0 0 16px; font: 500 11px/1 var(--sans); letter-spacing: .3em; text-transform: uppercase; color: var(--clay-dark); }
.of-card__title { margin: 0; font: 400 var(--t-card)/1.05 var(--head); color: var(--ink); }
.of-card__text { margin: 20px 0 0; font-size: 16px; font-weight: 300; line-height: 1.8; color: var(--moss); }
.of-card__meta { margin: 14px 0 0; font-size: 13px; color: var(--stone); }
.of-card__link { margin-top: 22px; color: var(--clay-dark); align-self: flex-start; }
.of-card { position: relative; cursor: pointer; }
.of-card__link::after { content: ""; position: absolute; inset: 0; z-index: 1; }  /* tutta la card è cliccabile (::before è il rombo) */
.of-card:hover .of-card__link::before { transform: rotate(225deg) scale(1.3); }
.of-card__link:focus-visible { outline: 0; }
.of-card:has(.of-card__link:focus-visible) { outline: 2px solid var(--focus); outline-offset: 6px; }
.of-card__title { transition: color .4s var(--expo); }
.of-card:hover .of-card__title { color: var(--clay-dark); }

/* blog: in evidenza */
.bl-feat { padding: 0 0 clamp(72px, 8vw, 120px); background: var(--sand); }
.bl-feat__link { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 80px); align-items: center; color: var(--ink); }
.bl-feat__img { display: block; aspect-ratio: 4 / 3; overflow: hidden; background: var(--sand-deep); }
.bl-feat__img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.6s var(--expo); }
.bl-feat__link:hover .bl-feat__img img { transform: scale(1.04); }
.bl-feat__body { display: flex; flex-direction: column; gap: 18px; }
.bl-feat__title { font: 400 clamp(32px, 3.4vw, 52px)/1.05 var(--head); }
.bl-feat__more { color: var(--clay-dark); }
.bl-feat__link:focus-visible, .bl-card__link:focus-visible { outline: 2px solid var(--focus); outline-offset: 8px; }
/* blog: elenco con filtri */
.bl-list { padding: clamp(88px, 10vw, 150px) 0; background: var(--paper); }
.bl-list__head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 24px 40px; margin-bottom: clamp(36px, 4vw, 56px); }
.bl-list__title { margin: 0; color: var(--ink); }
.bl-list--more .link-diamond { color: var(--clay-dark); }
.bl-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.bl-chip { min-height: 44px; padding: 0 20px; border: 1px solid var(--line); border-radius: 999px; background: none; cursor: pointer; font: 500 11px/1 var(--sans); letter-spacing: .2em; text-transform: uppercase; color: var(--ink); transition: background-color .3s, border-color .3s, color .3s; }
.bl-chip:hover { border-color: var(--clay); }
.bl-chip[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: var(--cream); }
.bl-chip:focus-visible { outline: 2px solid var(--focus); outline-offset: 3px; }
.bl-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(32px, 4vw, 56px) clamp(20px, 2.5vw, 36px); }
.bl-card[hidden] { display: none; }
.bl-card__link { display: flex; flex-direction: column; gap: 14px; color: var(--ink); }
.bl-card__img { display: block; aspect-ratio: 4 / 3; overflow: hidden; background: var(--sand); margin-bottom: 6px; }
.bl-card__img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.6s var(--expo); }
.bl-card__link:hover .bl-card__img img { transform: scale(1.05); }
.bl-card__meta { display: flex; gap: 10px; font: 500 11px/1 var(--sans); letter-spacing: .22em; text-transform: uppercase; color: var(--stone); }
.bl-card__cat { color: var(--clay-dark); }
.bl-card__title { font: 400 clamp(22px, 1.9vw, 28px)/1.2 var(--head); transition: color .3s; }
.bl-card__link:hover .bl-card__title { color: var(--clay-dark); }
.bl-card__text { font-size: 16px; font-weight: 300; line-height: 1.75; color: var(--moss); }

/* articolo */
.ar__title { max-width: 18ch; margin: 0 auto; }
.ar__meta { display: flex; justify-content: center; gap: 12px; margin: 28px 0 0; font: 500 11px/1 var(--sans); letter-spacing: .22em; text-transform: uppercase; color: var(--stone); }
.ar__cover { height: clamp(380px, 76vh, 760px); margin: 0; overflow: hidden; background: var(--sand-deep); }
.ar__cover img { width: 100%; height: 100%; object-fit: cover; }
/* testo dell'articolo: contenitore più largo e solo tre misure
   L = titoletti e citazione (Italiana), M = tutto il testo, S = etichette e didascalie (maiuscoletto) */
.ar__body { --ar-l: clamp(30px, 2.8vw, 42px); --ar-m: 19px; --ar-s: 11px; max-width: 960px; margin: 0 auto; padding: clamp(64px, 8vw, 120px) var(--gutter) clamp(40px, 5vw, 72px); }
.ar__body p { margin: 0 0 26px; font-size: var(--ar-m); font-weight: 300; line-height: 1.85; color: var(--moss); }
.ar__body .ar__lead { color: var(--ink); font-weight: 400; }
.ar__body h2 { margin: 56px 0 20px; font: 400 var(--ar-l)/1.1 var(--head); color: var(--ink); }
.ar__quote { margin: 56px 0; padding: 40px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); text-align: center; }
.ar__body .ar__quote p { margin: 0; font: 400 var(--ar-l)/1.2 var(--head); color: var(--ink); }
.ar__quote footer { margin-top: 18px; font: 500 var(--ar-s)/1 var(--sans); letter-spacing: .26em; text-transform: uppercase; color: var(--clay-dark); }
.ar__fig { margin: 56px 0; }
.ar__fig img { width: 100%; height: auto; aspect-ratio: 3 / 2; object-fit: cover; }
.ar__fig figcaption { margin-top: 14px; font: 500 var(--ar-s)/1.6 var(--sans); letter-spacing: .2em; text-transform: uppercase; color: var(--stone); }
.ar__share { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; margin-top: 56px; padding-top: 24px; border-top: 1px solid var(--line); font: 500 var(--ar-s)/1 var(--sans); letter-spacing: .24em; text-transform: uppercase; color: var(--stone); }
.ar__share .link-diamond { font-size: var(--ar-s); }
.ar__share .link-diamond { color: var(--clay-dark); }

/* contatti: recapiti */
.ct-info { padding: 0 0 clamp(72px, 8vw, 120px); background: var(--sand); }
.ct-info__grid { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line); }
.ct-info__item { display: flex; flex-direction: column; align-items: flex-start; gap: 14px; padding: 36px clamp(16px, 2vw, 32px) 8px 0; }
.ct-info__item + .ct-info__item { padding-left: clamp(16px, 2vw, 32px); border-left: 1px solid var(--line); }
.ct-info__item img { width: 30px; height: 30px; opacity: .85; }
.ct-info__k { margin: 6px 0 0; font: 500 11px/1 var(--sans); letter-spacing: .3em; text-transform: uppercase; color: var(--clay-dark); }
.ct-info__v { margin: 0; font: 400 var(--t-s)/1.4 var(--head); color: var(--ink); overflow-wrap: anywhere; }
.ct-info__v a { border-bottom: 1px solid transparent; transition: border-color .3s; }
.ct-info__v a:hover { border-color: currentColor; }
.ct-info__item .link-diamond { color: var(--clay-dark); }
/* contatti: modulo */
.ct-form { padding: clamp(88px, 10vw, 150px) 0; background: var(--paper); }
.ct-form__grid { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 48px clamp(48px, 7vw, 120px); align-items: start; }
.ct-form__title { margin: 0 0 24px; color: var(--ink); }
.ct-form__intro p { margin: 0; font-size: 16px; font-weight: 300; line-height: 1.85; color: var(--moss); }
.ct-form__img { margin: 40px 0 0; aspect-ratio: 4 / 5; overflow: hidden; }
.ct-form__img img { width: 100%; height: 100%; object-fit: cover; }
.form__note { margin: 0 0 24px; font-size: 13px; color: var(--stone); }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 0 20px; }
.form__row--3 { grid-template-columns: 2fr 1fr 1fr; }
.field { margin-bottom: 22px; }
.field label { display: block; margin-bottom: 8px; font: 500 11px/1.4 var(--sans); letter-spacing: .22em; text-transform: uppercase; color: var(--ink); }
.field input, .field select, .field textarea {
  width: 100%; min-height: 52px; padding: 14px 16px; border: 1px solid rgba(10, 31, 39, .2); border-radius: 12px; background: #fff;
  font: 400 16px/1.4 var(--sans); color: var(--ink); transition: border-color .3s, box-shadow .3s;
}
.field textarea { resize: vertical; min-height: 120px; }
.field input:hover, .field select:hover, .field textarea:hover { border-color: rgba(10, 31, 39, .4); }
.field input:focus-visible, .field select:focus-visible, .field textarea:focus-visible { outline: none; border-color: var(--clay); box-shadow: 0 0 0 3px rgba(185, 151, 91, .25); }
.field [aria-invalid="true"] { border-color: #A3361F; }
.field__err { margin: 8px 0 0; font-size: 13px; color: #A3361F; }
.field__opt { font-weight: 400; letter-spacing: .08em; text-transform: none; color: var(--stone); }
.field__help { margin: 8px 0 0; font-size: 14px; line-height: 1.5; color: var(--stone); }
.field--check { display: grid; grid-template-columns: auto 1fr; gap: 6px 14px; align-items: start; }
.field--check input { width: 22px; min-height: 22px; height: 22px; margin: 2px 0 0; padding: 0; accent-color: var(--ink); }
.field--check label { margin: 0; font: 400 14px/1.6 var(--sans); letter-spacing: 0; text-transform: none; color: var(--moss); }
.field--check label a { text-decoration: underline; }
.field--check .field__err { grid-column: 2; margin: 0; }
.form__submit { margin-top: 8px; }
.form__submit:focus-visible { outline: 2px solid var(--focus); outline-offset: 4px; }
.form__done { margin: 18px 0 0; font: 400 20px/1.4 var(--head); color: var(--ink); }
.form__done:empty { display: none; }
.ct-map { padding-top: clamp(88px, 10vw, 150px); }

@media (max-width: 1100px) {
  .ct-info__grid { grid-template-columns: 1fr 1fr; }
  .ct-info__item:nth-child(3) { padding-left: 0; border-left: 0; }
  .ct-info__item:nth-child(n+3) { border-top: 1px solid var(--line); margin-top: 28px; }
  .bl-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 820px) {
  .rs-moments__grid { grid-template-columns: 1fr; }
  .rs-moment:nth-child(2) { margin-top: 0; }
  .of-card { grid-template-columns: 1fr; }
  .of-card:nth-child(even) .of-card__img { order: 0; }
  .of-card__img { min-height: 0; aspect-ratio: 3 / 2; }
  .bl-feat__link, .ct-form__grid { grid-template-columns: 1fr; }
  .bl-grid { grid-template-columns: 1fr; }
  .ct-info__grid { grid-template-columns: 1fr; }
  .ct-info__item, .ct-info__item + .ct-info__item { padding: 28px 0; border-left: 0; margin: 0; }
  .ct-info__item + .ct-info__item { border-top: 1px solid var(--line); }
  .form__row, .form__row--3 { grid-template-columns: 1fr; }
  .ct-form__img { display: none; }
  .ar__cover { height: 56svh; }
}
/* offerte senza hero: l'elenco parte subito sotto la testata chiara */
.of-list--light { background: var(--sand); }
.of-list--light .of-card { background: var(--paper); }
/* Prova (offerte-prova.html): niente pagina di dettaglio, la card contiene servizi, condizioni, prezzo e Prenota */
.of-card--full { cursor: auto; }
.of-card--full:hover .of-card__title { color: var(--ink); }
.of-card--full:hover .of-card__img img { transform: none; }
.of-card--full .of-card__body { justify-content: flex-start; }
.of-card__inc { display: flex; flex-wrap: wrap; gap: 8px; margin: 24px 0 0; padding: 0; list-style: none; }
.of-card__inc li { display: inline-flex; align-items: center; gap: 8px; padding: 7px 14px 7px 8px; border: 1px solid rgba(185, 151, 91, .45); border-radius: 999px; font-size: 13px; line-height: 1.2; color: var(--ink); }
.of-card__inc img { width: 20px; height: 20px; }
.of-card__cond { margin: 24px 0 0; border-top: 1px solid var(--line); }
.of-card__cond div { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); gap: 16px; padding: 11px 0; border-bottom: 1px solid var(--line); }
.of-card__cond dt { font: 500 11px/1.8 var(--sans); letter-spacing: .2em; text-transform: uppercase; color: var(--stone); }
.of-card__cond dd { margin: 0; font-size: 16px; line-height: 1.45; color: var(--ink); }
.of-card__foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 18px 24px; margin-top: 28px; }
.of-card__price { display: flex; align-items: baseline; gap: 8px; margin: 0; font: 400 28px/1 var(--head); color: var(--ink); }
.of-card__price b { font-weight: 400; }
.of-card__price span { font: 500 11px/1 var(--sans); letter-spacing: .2em; text-transform: uppercase; color: var(--stone); }
.of-card__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 26px; }
.of-card__ask { color: var(--clay-dark); }
@media (max-width: 575px) { .of-card__cond div { grid-template-columns: 1fr; gap: 2px; } .of-card__actions, .of-card__book { width: 100%; } }

@media (max-width: 479px) {
  .rd-amen__list { grid-template-columns: 1fr; }
  .rd-amen__item:nth-last-child(-n+2):nth-child(odd) { border-bottom: 1px solid var(--line); }
  .rd-amen__list .rd-amen__item:last-child { border-bottom: 0; }
  .rd-amen__item { font-size: 18px; padding: 12px 0; }
}
/* ---------- Dettaglio offerta (offerta-*.html): contenuto a sinistra, riepilogo fisso a destra ---------- */
.hero--room .hero__title em { font-style: normal; }
.od { padding: clamp(88px, 10vw, 150px) 0; background: var(--paper); }
.od__grid { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(300px, 1fr); gap: 48px clamp(48px, 7vw, 120px); align-items: start; }
.od__lead { margin: 0 0 clamp(40px, 5vw, 64px); font: 300 var(--t-lead)/1.75 var(--sans); color: var(--ink); }
.od__h { margin: 0 0 20px; font: 500 11px/1 var(--sans); letter-spacing: .3em; text-transform: uppercase; color: var(--clay-dark); }
.od__inc { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin: 0 0 56px; padding: 0; list-style: none; }
.od__inc li { display: flex; align-items: center; gap: 16px; padding: 16px 18px; background: var(--sand); font: 400 var(--t-s)/1.25 var(--head); color: var(--ink); }
.od__inc img { box-sizing: content-box; flex: none; width: 24px; height: 24px; padding: 11px; border: 1px solid rgba(185, 151, 91, .55); border-radius: 50%; background: var(--paper); }
.od__cond { margin: 0 0 56px; border-top: 1px solid var(--line); }
.od__cond div { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); gap: 16px; padding: 18px 0; border-bottom: 1px solid var(--line); }
.od__cond dt { font: 500 11px/1.6 var(--sans); letter-spacing: .22em; text-transform: uppercase; color: var(--stone); }
.od__cond dd { margin: 0; font: 400 var(--t-s)/1.35 var(--head); color: var(--ink); }
.od__steps { counter-reset: step; display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin: 0; padding: 0; list-style: none; }
.od__steps li { counter-increment: step; display: flex; flex-direction: column; gap: 8px; padding-top: 18px; border-top: 1px solid var(--line); }
.od__steps li::before { content: "0" counter(step); font: 500 11px/1 var(--sans); letter-spacing: .3em; color: var(--clay-dark); }
.od__steps b { font: 400 var(--t-s)/1.2 var(--head); color: var(--ink); }
.od__steps span { font-size: 16px; font-weight: 300; line-height: 1.7; color: var(--moss); }
/* riepilogo: resta visibile mentre si scorre */
.od__card { position: sticky; top: 110px; display: flex; flex-direction: column; padding: clamp(28px, 3vw, 44px); background: var(--sand); }
.od__tag { margin: 0 0 14px; font: 500 11px/1 var(--sans); letter-spacing: .3em; text-transform: uppercase; color: var(--clay-dark); }
.od__card-title { margin: 0; font: 400 var(--t-m)/1.1 var(--head); color: var(--ink); }
.od__price { display: flex; align-items: baseline; gap: 8px; margin: 26px 0 0; padding-top: 22px; border-top: 1px solid var(--line); font: 400 30px/1 var(--head); color: var(--ink); }
.od__price b { font-weight: 400; }
.od__price span { font: 500 11px/1 var(--sans); letter-spacing: .2em; text-transform: uppercase; color: var(--stone); }
.od__valid { margin: 12px 0 26px; font-size: 14px; color: var(--stone); }
.od__btn { width: 100%; }
.od__btn + .od__btn { margin-top: 10px; }
.od__btn--ghost { color: var(--ink); }
.od__btn--ghost:hover { background: var(--ink); border-color: var(--ink); color: var(--cream); }
.od__wa {
  display: inline-flex; align-items: center; gap: 10px; align-self: center; min-height: 44px; margin-top: 12px;
  font: 500 11px/1 var(--sans); letter-spacing: .24em; text-transform: uppercase; color: var(--clay-dark);
}
.od__wa img { width: 20px; height: 20px; transition: transform .5s var(--expo); }
.od__wa:hover img { transform: scale(1.12); }
.od .button:focus-visible { outline: 2px solid var(--focus); outline-offset: 4px; }
@media (max-width: 1000px) {
  .od__grid { grid-template-columns: 1fr; }
  .od__card { position: static; }
}
@media (max-width: 600px) {
  .od__inc, .od__steps { grid-template-columns: 1fr; }
  .od__cond div { grid-template-columns: 1fr; gap: 6px; }
}

/* ---------- Articolo: foto principale che si allarga scorrendo (clip-path aggiornato in main.js) ---------- */
.ar__cover { height: clamp(420px, 92vh, 900px); }
.ar__cover[data-expand] { clip-path: inset(0 var(--ex, 10vw) round var(--er, 28px)); will-change: clip-path; }
.ar__cover[data-expand] img { transform: scale(var(--es, 1.15)); transform-origin: 50% 50%; }
.ar__tag { color: var(--clay-dark); }
@media (prefers-reduced-motion: reduce) { .ar__cover[data-expand] { clip-path: none; } .ar__cover[data-expand] img { transform: none; } }

/* ==========================================================================
   MAGAZINE (magazine.html): impaginazione da rivista, classica
   ========================================================================== */
/* testata: nome grande e una riga sottile con tre voci, come la testata di una rivista */
.mz-head { padding: clamp(150px, 16vw, 220px) 0 clamp(40px, 4vw, 64px); background: var(--sand); text-align: center; }
.mz-meta { display: flex; flex-wrap: wrap; gap: 10px; font: 500 11px/1 var(--sans); letter-spacing: .22em; text-transform: uppercase; color: var(--stone); }
.mz-cat { color: var(--clay-dark); }

/* ultimi articoli: titolo con le categorie a destra, griglia a tre colonne */
.mz-list { padding: clamp(56px, 6vw, 88px) 0 clamp(72px, 8vw, 120px); background: var(--paper); }
.mz-list > .container { max-width: 1640px; }
.mz-list__head { margin-bottom: clamp(36px, 4vw, 56px); }
.mz-list__title { margin: 0; font: 400 clamp(32px, 3vw, 46px)/1 var(--head); color: var(--ink); }
.mz-tabs { display: flex; flex-wrap: wrap; justify-content: center; gap: 4px clamp(28px, 3.4vw, 56px); margin-top: clamp(36px, 4vw, 60px); padding-top: 24px; border-top: 1px solid var(--line); animation: rise 1.2s var(--ease) .3s both; }
.mz-tab { position: relative; min-height: 52px; padding: 0; border: 0; background: none; cursor: pointer; font: 400 var(--t-s)/1 var(--head); letter-spacing: .02em; color: var(--stone); transition: color .3s; }
.mz-tab::after { content: ""; position: absolute; left: 0; right: 0; bottom: 6px; height: 1px; background: var(--clay); transform: scaleX(0); transform-origin: 0 50%; transition: transform .5s var(--expo); }
.mz-tab:hover { color: var(--ink); }
.mz-tab[aria-pressed="true"] { color: var(--ink); }
.mz-tab[aria-pressed="true"]::after { transform: none; }
.mz-tab:focus-visible { outline: 2px solid var(--focus); outline-offset: 4px; }
.mz-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(48px, 5vw, 80px) clamp(24px, 2.8vw, 44px); }
.mz-grid [hidden] { display: none; }
.mz-card__link { display: flex; flex-direction: column; gap: 14px; color: var(--ink); }
.mz-card__img { display: block; aspect-ratio: 4 / 3; overflow: hidden; margin-bottom: 6px; background: var(--sand); }
.mz-card__img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.6s var(--expo); }
.mz-card__link:hover .mz-card__img img { transform: scale(1.05); }
.mz-card__title { font: 400 var(--t-m)/1.15 var(--head); transition: color .3s; }
.mz-card__link:hover .mz-card__title { color: var(--clay-dark); }
.mz-card__text { font-size: 16px; font-weight: 300; line-height: 1.75; color: var(--moss); }
.mz-card__link:focus-visible { outline: 2px solid var(--focus); outline-offset: 8px; }

/* i più letti: fascia blu con elenco numerato */
.mz-pop { padding: clamp(88px, 10vw, 140px) 0; background: var(--ink-2); color: var(--cream); }
.mz-pop__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); gap: 40px clamp(48px, 7vw, 120px); align-items: start; }
.mz-pop__head { margin: 0; }
.mz-pop__list { margin: 0; padding: 0; list-style: none; border-top: 1px solid var(--line-light); }
.mz-pop__list a { display: grid; grid-template-columns: 80px 1fr; gap: 20px; align-items: baseline; padding: 26px 0; border-bottom: 1px solid var(--line-light); color: var(--cream); }
.mz-pop__n { font: 400 44px/1 var(--head); color: var(--clay-light); }
.mz-pop__body { display: flex; flex-direction: column; gap: 10px; }
.mz-pop .mz-cat { font: 500 11px/1 var(--sans); letter-spacing: .22em; text-transform: uppercase; color: var(--clay-light); }
.mz-pop__title { font: 400 var(--t-s)/1.2 var(--head); transition: color .3s; }
.mz-pop__list a:hover .mz-pop__title { color: var(--clay-light); }
.mz-pop__list a:focus-visible { outline: 2px solid var(--focus); outline-offset: 4px; }

@media (max-width: 1100px) { .mz-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 820px) {
  /* su mobile le categorie restano su una riga e scorrono di lato, con una sfumatura sul bordo destro */
  .mz-tabs {
    flex-wrap: nowrap; justify-content: flex-start; gap: 0 24px; overflow-x: auto; overscroll-behavior-x: contain;
    margin-inline: calc(var(--bs-gutter-x, 1.5rem) * -.5); padding-inline: calc(var(--bs-gutter-x, 1.5rem) * .5); scroll-padding-inline: 24px;
    scrollbar-width: none; -webkit-mask-image: linear-gradient(90deg, #000 calc(100% - 48px), transparent); mask-image: linear-gradient(90deg, #000 calc(100% - 48px), transparent);
  }
  .mz-tabs::-webkit-scrollbar { display: none; }
  .mz-tabs.is-end { -webkit-mask-image: none; mask-image: none; }
  .mz-tab { flex: none; white-space: nowrap; }
  .mz-tab:last-child { margin-right: 24px; }
  .mz-pop__grid { grid-template-columns: 1fr; }
  .mz-grid { grid-template-columns: 1fr; }
  .mz-pop__list a { grid-template-columns: 56px 1fr; }
  .mz-pop__n { font-size: 34px; }
}

/* ---------- Articolo: "Continua a leggere", carosello di card grandi che esce dal bordo destro ---------- */
.ar-more { padding: clamp(72px, 8vw, 120px) 0; background: var(--paper); border-top: 1px solid var(--line); overflow: hidden; }
.ar-more__head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px; margin-bottom: clamp(32px, 4vw, 52px); }
.ar-more__title { margin: 0; color: var(--ink); }
.ar-more__nav { display: flex; align-items: center; gap: 12px; }
.ar-more__nav .link-diamond { margin-right: 16px; color: var(--clay-dark); }
.ar-more__slider { overflow: visible; }
.ar-more__slide { width: clamp(300px, 36vw, 560px); }
.ar-more .rd-gal__bar { margin-top: 44px; }
@media (max-width: 820px) {
  .ar-more__slide { width: 80vw; }
  .ar-more__nav .link-diamond { margin-right: 0; }
}

/* ==========================================================================
   VIDEO DI SFONDO: pulsante per fermarli tutti (main.js, "Video di sfondo"; WCAG 2.2.2)
   Cerchio scuro in vetro con l'icona pausa / play, in un angolo di ogni sezione con video.
   ========================================================================== */
.vid-toggle {
  position: absolute; z-index: 6; right: 20px; bottom: 20px; width: 44px; height: 44px; padding: 0;
  border: 1px solid rgba(245, 240, 228, .6); border-radius: 50%; cursor: pointer;
  background: rgba(6, 21, 27, .5) url("../img/svg/icon-pause-light.svg") center / 18px no-repeat;
  backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
  transition: background-color .3s, border-color .3s, transform .4s var(--expo);
}
.vid-toggle:hover { background-color: rgba(6, 21, 27, .75); border-color: var(--cream); transform: scale(1.06); }
.vid-toggle:active { transform: scale(.96); }
.vid-toggle.is-off { background-image: url("../img/svg/icon-play-light.svg"); }
.vid-toggle:focus-visible { outline: 2px solid var(--cream); outline-offset: 3px; }
.vid-toggle--hero { top: 104px; bottom: auto; right: var(--gutter); }
.terme__sticky .vid-toggle { right: auto; left: var(--gutter); bottom: 24px; }
.framed__pic .vid-toggle { right: calc(clamp(14px, 2.6vw, 44px) + 14px); bottom: calc(clamp(14px, 2.6vw, 44px) + 14px); }
@media (max-width: 820px) { .vid-toggle--hero { top: 88px; } }
@media (prefers-reduced-motion: reduce) { .vid-toggle { display: none; } }  /* i video restano fermi sul poster */
