/* =========================================================
   La Nave di Napoli · stile "Mediterraneo puro"
   bianco calce · blu Posillipo · giallo limone · maiolica
   ========================================================= */

@font-face { font-family: "Cormorant"; src: url("assets/font/cormorant.woff2") format("woff2"); font-weight: 300 700; font-style: normal; font-display: swap; }
@font-face { font-family: "Cormorant"; src: url("assets/font/cormorant-corsivo.woff2") format("woff2"); font-weight: 500; font-style: italic; font-display: swap; }
@font-face { font-family: "Manrope"; src: url("assets/font/manrope.woff2") format("woff2"); font-weight: 400 700; font-style: normal; font-display: swap; }

:root {
  --calce: #FBF8F2;
  --sabbia: #F3ECDF;
  --sabbia-scura: #E8DEC9;
  --blu: #123E6B;
  --blu-notte: #0B2745;
  --azzurro: #2F74B5;
  --cielo: #DCE9F5;
  --limone: #F4C430;
  --limone-chiaro: #FFE58A;
  --foglia: #3F6B3A;
  --inchiostro: #16222E;
  --grigio: #556270;
  --linea: rgba(18, 62, 107, .14);
  --ombra: 0 18px 50px -24px rgba(11, 39, 69, .35);
  --ombra-forte: 0 30px 80px -30px rgba(11, 39, 69, .55);
  --raggio: 22px;
  --serif: "Cormorant", "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --sans: "Manrope", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --curva: cubic-bezier(.2, .7, .2, 1);
  --testata: 72px;
  color-scheme: light;
}

/* Lingua: si mostra solo il testo della lingua attiva */
html[lang="it"] body [lang="en"],
html[lang="en"] body [lang="it"] { display: none !important; }

[hidden] { display: none !important; }
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: var(--testata); -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--calce);
  color: var(--inchiostro);
  font-family: var(--sans);
  font-size: 16.5px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  font-variant-numeric: lining-nums;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
button { font: inherit; color: inherit; cursor: pointer; }
h1, h2, h3 { margin: 0; font-weight: 500; }
p { margin: 0 0 1em; }
figure { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.ic { width: 1.25em; height: 1.25em; flex: none; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.ic-grande { width: 44px; height: 44px; stroke-width: 1.3; }

.salta { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--blu); color: #fff; padding: 10px 16px; border-radius: 10px; }
.salta:focus { top: 12px; }
:focus-visible { outline: 3px solid var(--limone); outline-offset: 3px; border-radius: 6px; }

.contenitore { width: 100%; max-width: 1200px; margin-inline: auto; padding-inline: 20px; }
.sezione { padding-block: clamp(76px, 10vw, 140px); position: relative; }

/* --------- Tipografia ricorrente --------- */
.occhiello {
  display: inline-flex; align-items: center; gap: 12px;
  font-size: .78rem; font-weight: 700; letter-spacing: .2em; text-transform: uppercase;
  color: var(--azzurro); margin-bottom: 18px;
}
.occhiello::before {
  content: ""; width: 14px; height: 14px; flex: none;
  background: url("assets/maiolica.svg") center / 28px;
  border-radius: 50%; box-shadow: 0 0 0 2px var(--calce), 0 0 0 3px var(--limone);
}
.titolo {
  font-family: var(--serif); font-weight: 500;
  font-size: clamp(2.5rem, 7vw, 4.4rem); line-height: 1.02; letter-spacing: -.01em;
  color: var(--blu); margin-bottom: 26px; text-wrap: balance;
}
.sottotitolo { font-size: 1.08rem; color: var(--grigio); max-width: 640px; }
.intestazione { margin-bottom: clamp(40px, 6vw, 64px); }
strong, b { font-weight: 700; }

/* --------- Pulsanti --------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 0 26px; border-radius: 999px; border: 0;
  font-weight: 700; font-size: .98rem; letter-spacing: .01em; text-decoration: none;
  transition: transform .35s var(--curva), box-shadow .35s var(--curva), background-color .25s;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0) scale(.98); }
.btn-piccolo { min-height: 44px; padding: 0 20px; font-size: .92rem; }
.btn-limone { background: var(--limone); color: var(--blu-notte); box-shadow: 0 12px 30px -12px rgba(244, 196, 48, .9); }
.btn-limone:hover { background: var(--limone-chiaro); }
.btn-blu { background: var(--blu); color: #fff; }
.btn-blu:hover { background: var(--azzurro); }
.btn-vetro { background: rgba(255, 255, 255, .14); color: #fff; border: 1px solid rgba(255, 255, 255, .45); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
.btn-vetro:hover { background: rgba(255, 255, 255, .24); }
.btn-contorno { background: transparent; color: var(--blu); border: 1.5px solid var(--blu); }
.btn-contorno:hover { background: var(--cielo); }
.btn-whatsapp { background: #1FAF54; color: #fff; }
.btn-whatsapp:hover { background: #179746; }
.btn .ic { width: 20px; height: 20px; }

.tondo {
  width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center;
  border: 1px solid var(--linea); background: #fff; color: var(--blu);
  transition: background-color .25s, transform .3s var(--curva);
}
.tondo:hover { background: var(--limone); transform: scale(1.06); }

/* =========================================================
   TESTATA
   ========================================================= */
.testata {
  position: fixed; inset: 0 0 auto 0; z-index: 50; height: var(--testata);
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 0 max(16px, env(safe-area-inset-left)) 0 max(16px, env(safe-area-inset-left));
  color: #fff;
  transition: background-color .4s, color .4s, box-shadow .4s, height .4s;
}
.testata.solida {
  background: rgba(251, 248, 242, .9);
  backdrop-filter: blur(14px) saturate(1.3); -webkit-backdrop-filter: blur(14px) saturate(1.3);
  color: var(--blu); box-shadow: 0 1px 0 var(--linea);
}
.logo { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; }
.logo-segno { width: 42px; height: 42px; flex: none; }
.logo-sole { fill: var(--limone); }
.logo-scafo { fill: currentColor; }
.logo-linea { fill: none; stroke: currentColor; stroke-width: 2.6; stroke-linejoin: round; }
.logo-testo { display: flex; flex-direction: column; line-height: 1; }
.logo-testo b { font-family: var(--serif); font-weight: 600; font-size: 1.62rem; letter-spacing: .01em; }
.logo-testo small { font-size: .62rem; font-weight: 700; letter-spacing: .22em; text-transform: uppercase; opacity: .85; margin-top: 3px; }

.menu-largo { display: none; gap: 30px; }
.menu-largo a { text-decoration: none; font-weight: 600; font-size: .93rem; position: relative; padding: 6px 0; }
.menu-largo a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: var(--limone); transform: scaleX(0); transform-origin: left; transition: transform .35s var(--curva); }
.menu-largo a:hover::after { transform: scaleX(1); }

.testata-destra { display: flex; align-items: center; gap: 10px; }
.lingue { display: flex; border: 1px solid currentColor; border-radius: 999px; padding: 3px; opacity: .92; }
.lingue button { border: 0; background: transparent; padding: 5px 10px; border-radius: 999px; font-size: .74rem; font-weight: 700; letter-spacing: .06em; }
.lingue button[aria-pressed="true"] { background: var(--limone); color: var(--blu-notte); }
.hamburger { width: 46px; height: 46px; border-radius: 50%; border: 0; background: rgba(255, 255, 255, .16); display: grid; place-items: center; }
.testata.solida .hamburger { background: var(--cielo); }
.hamburger .ic { width: 24px; height: 24px; }
.solo-largo { display: none; }

/* Menu telefono */
.menu-mobile {
  position: fixed; inset: 0; z-index: 80; color: #fff;
  display: flex; flex-direction: column; justify-content: center; padding: 90px 28px 40px;
  opacity: 0; transition: opacity .4s var(--curva);
}
.menu-mobile.aperto { opacity: 1; }
.menu-mobile-fondo { position: absolute; inset: 0; background: var(--blu-notte); z-index: -1; }
.menu-mobile-fondo::after { content: ""; position: absolute; right: -60px; top: -60px; width: 240px; height: 240px; border-radius: 50%; background: url("assets/maiolica.svg") 0 0 / 80px; opacity: .9; }
.menu-chiudi { position: absolute; top: 14px; right: 16px; width: 48px; height: 48px; border-radius: 50%; border: 0; background: var(--limone); color: var(--blu-notte); display: grid; place-items: center; z-index: 2; }
.menu-chiudi .ic { width: 24px; height: 24px; }
.menu-mobile nav { display: flex; flex-direction: column; }
.menu-mobile nav a {
  font-family: var(--serif); font-size: clamp(2rem, 9vw, 2.6rem); line-height: 1.15; text-decoration: none; padding: 6px 0;
  transform: translateY(16px); opacity: 0; transition: transform .5s var(--curva), opacity .5s var(--curva), color .2s;
}
.menu-mobile.aperto nav a { transform: none; opacity: 1; }
.menu-mobile nav a:hover { color: var(--limone); }
.menu-mobile-contatti { margin-top: 34px; display: grid; gap: 10px; font-size: .95rem; opacity: .9; }
.menu-mobile-contatti a { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; }

/* =========================================================
   APERTURA
   ========================================================= */
.eroe { position: relative; height: 100vh; height: 100svh; min-height: 620px; color: #fff; overflow: hidden; isolation: isolate; background: var(--blu-notte); }
.eroe-foto, .eroe-foto img { position: absolute; inset: 0; width: 100%; height: 100%; }
.eroe-foto img { object-fit: cover; object-position: 50% 40%; animation: avvicina 18s var(--curva) both; transform-origin: 60% 40%; }
@keyframes avvicina { from { transform: scale(1.14); } to { transform: scale(1); } }
.eroe-velo {
  position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(11, 39, 69, .55) 0%, rgba(11, 39, 69, 0) 22%),
    linear-gradient(0deg, rgba(8, 30, 54, .92) 0%, rgba(11, 39, 69, .55) 34%, rgba(11, 39, 69, 0) 62%);
}
.eroe-contenuto { position: absolute; left: 0; right: 0; bottom: 0; padding-bottom: clamp(72px, 11vh, 120px); }
.eroe-sopra { font-size: .8rem; font-weight: 700; letter-spacing: .22em; text-transform: uppercase; margin-bottom: 14px; opacity: .92; }
.eroe-titolo { font-family: var(--serif); font-weight: 500; line-height: .86; letter-spacing: -.02em; margin-bottom: 22px; }
.eroe-titolo .riga { display: block; }
.eroe-titolo span.riga { font-size: clamp(4.6rem, 21vw, 11rem); }
.eroe-titolo em.riga { font-style: italic; color: var(--limone-chiaro); font-size: clamp(2.6rem, 11vw, 5.6rem); margin-top: .06em; padding-left: .08em; }
.eroe-testo { font-size: clamp(1.02rem, 2.6vw, 1.22rem); max-width: 520px; opacity: .95; margin-bottom: 28px; text-wrap: pretty; }
.eroe-azioni { display: flex; flex-wrap: wrap; gap: 12px; }
.eroe-scorri { position: absolute; left: 50%; bottom: 18px; translate: -50% 0; width: 44px; height: 44px; display: grid; place-items: center; color: #fff; opacity: .8; animation: galleggia 2.4s ease-in-out infinite; }
@keyframes galleggia { 50% { transform: translateY(6px); } }

/* comparsa in sequenza dei testi dell'apertura */
.js .eroe-sopra, .js .eroe-titolo .riga, .js .eroe-testo, .js .eroe-azioni, .js .meteo:not([hidden]) {
  animation: sale 1.1s var(--curva) both;
}
.js .eroe-titolo span.riga { animation-delay: .15s; }
.js .eroe-titolo em.riga { animation-delay: .3s; }
.js .eroe-testo { animation-delay: .45s; }
.js .eroe-azioni { animation-delay: .6s; }
@keyframes sale { from { opacity: 0; transform: translateY(26px); } to { opacity: 1; transform: none; } }

/* Meteo in tempo reale */
.meteo {
  position: absolute; left: 20px; right: 20px; top: calc(var(--testata) + 10px);
  display: flex; align-items: center; gap: 9px; width: fit-content; max-width: calc(100% - 40px); white-space: nowrap;
  padding: 8px 14px; border-radius: 999px; font-size: .76rem; line-height: 1.3;
  background: rgba(255, 255, 255, .14); border: 1px solid rgba(255, 255, 255, .28);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
}
.meteo b { font-weight: 700; font-size: .9rem; }
.meteo-punto { width: 8px; height: 8px; border-radius: 50%; background: #5BE38B; box-shadow: 0 0 0 0 rgba(91, 227, 139, .7); animation: vivo 2s infinite; }
@keyframes vivo { 70% { box-shadow: 0 0 0 8px rgba(91, 227, 139, 0); } 100% { box-shadow: 0 0 0 0 rgba(91, 227, 139, 0); } }
.meteo-sep { width: 1px; height: 14px; background: rgba(255, 255, 255, .35); }

.fascia-maiolica { height: 36px; background: url("assets/maiolica.svg") 0 0 / 36px repeat-x; box-shadow: inset 0 6px 10px -8px rgba(0, 0, 0, .35); }

/* =========================================================
   BENVENUTI
   ========================================================= */
.benvenuti-griglia { display: grid; gap: 56px; align-items: center; }
.benvenuti-testo p { font-size: 1.06rem; color: #2B3946; }
.collage { position: relative; padding-bottom: 70px; }
.collage-grande img, .collage-piccola img { width: 100%; height: 100%; object-fit: cover; }
.collage-grande { border-radius: var(--raggio); overflow: hidden; aspect-ratio: 4 / 3.1; box-shadow: var(--ombra); }
.collage-piccola { position: absolute; right: -6px; bottom: 0; width: 58%; aspect-ratio: 16 / 10; border-radius: 18px; overflow: hidden; border: 6px solid var(--calce); box-shadow: var(--ombra-forte); }
.timbro { position: absolute; left: -8px; bottom: 6px; width: 132px; height: 132px; border-radius: 50%; background: var(--calce); box-shadow: var(--ombra); display: grid; place-items: center; }
.timbro svg { position: absolute; inset: 6px; width: calc(100% - 12px); height: calc(100% - 12px); animation: gira 28s linear infinite; }
.timbro text { font-family: var(--sans); font-size: 10.4px; font-weight: 700; letter-spacing: .12em; fill: var(--blu); }
.timbro img { width: 54px; }
@keyframes gira { to { transform: rotate(360deg); } }

.numeri { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px; margin-top: clamp(60px, 8vw, 96px); background: var(--linea); border: 1px solid var(--linea); border-radius: var(--raggio); overflow: hidden; }
.numeri li { background: var(--calce); padding: 24px 18px; display: flex; flex-direction: column; gap: 4px; }
.numeri b { font-family: var(--serif); font-weight: 500; font-size: clamp(2.3rem, 7vw, 3.4rem); line-height: 1; color: var(--blu); }
.numeri span { font-size: .88rem; color: var(--grigio); line-height: 1.35; }

/* =========================================================
   CAMERE
   ========================================================= */
.camere { background: var(--sabbia); }
.camere::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 1px; background: var(--linea); }
.camere-griglia { display: grid; gap: 26px; }
.camera { background: var(--calce); border-radius: var(--raggio); overflow: hidden; box-shadow: var(--ombra); display: flex; flex-direction: column; transition: transform .5s var(--curva), box-shadow .5s var(--curva); }
.camera-speciale { background: var(--blu); color: #fff; }
.camera-speciale h3 { color: #fff !important; }
.camera-speciale p { color: rgba(255, 255, 255, .86) !important; }
.camera-speciale .dotazioni li { background: rgba(255, 255, 255, .1); color: #fff; }
.camera-speciale .prezzo b { color: var(--limone) !important; }

.carosello { position: relative; }
.carosello-binario { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; aspect-ratio: 16 / 10.4; overscroll-behavior-x: contain; }
.carosello-binario::-webkit-scrollbar { display: none; }
.carosello-binario img { flex: 0 0 100%; width: 100%; height: 100%; object-fit: cover; scroll-snap-align: start; cursor: zoom-in; }
.carosello-punti { position: absolute; left: 0; right: 0; bottom: 14px; display: flex; justify-content: center; gap: 7px; pointer-events: none; }
.carosello-punti button { pointer-events: auto; width: 8px; height: 8px; padding: 0; border-radius: 99px; border: 0; background: rgba(255, 255, 255, .6); transition: width .35s var(--curva), background-color .3s; }
.carosello-punti button[aria-current="true"] { width: 24px; background: #fff; }
.carosello-frecce { position: absolute; inset: 50% 10px auto 10px; translate: 0 -50%; display: none; justify-content: space-between; pointer-events: none; }
.carosello-frecce .tondo { pointer-events: auto; width: 40px; height: 40px; background: rgba(255, 255, 255, .9); border: 0; }
.camera-etichetta { position: absolute; left: 14px; top: 14px; display: inline-flex; align-items: center; gap: 7px; padding: 7px 12px; border-radius: 999px; background: rgba(251, 248, 242, .94); color: var(--blu); font-size: .8rem; font-weight: 700; box-shadow: 0 6px 18px -8px rgba(0, 0, 0, .4); }
.camera-etichetta .ic { width: 16px; height: 16px; }
.camera-corpo { padding: 24px 22px 22px; display: flex; flex-direction: column; flex: 1; }
.camera h3 { font-family: var(--serif); font-size: 2rem; line-height: 1.05; color: var(--blu); margin-bottom: 10px; }
.camera p { color: #3A4855; font-size: .98rem; }
.dotazioni { display: flex; flex-wrap: wrap; gap: 8px; margin: 4px 0 22px; }
.dotazioni li { display: inline-flex; align-items: center; gap: 7px; padding: 7px 12px; border-radius: 999px; background: var(--cielo); color: var(--blu); font-size: .82rem; font-weight: 600; }
.dotazioni .ic { width: 17px; height: 17px; }
.camera-piede { margin-top: auto; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding-top: 18px; border-top: 1px solid var(--linea); }
.camera-speciale .camera-piede { border-color: rgba(255, 255, 255, .18); }
.prezzo { margin: 0; line-height: 1.2; }
.prezzo b { font-family: var(--serif); font-size: 2rem; font-weight: 600; color: var(--blu); }
.prezzo small { font-size: .82rem; color: var(--grigio); }
.camera-speciale .prezzo small { color: rgba(255, 255, 255, .7); }

/* =========================================================
   GIARDINO
   ========================================================= */
.giardino { overflow: hidden; }
.giardino-griglia { display: grid; gap: 50px; align-items: center; }
.giardino-testo > p { font-size: 1.06rem; color: #2B3946; }
.elenco-icone { display: grid; grid-template-columns: 1fr 1fr; gap: 12px 16px; margin: 26px 0 30px; }
.elenco-icone li { display: flex; align-items: center; gap: 10px; font-weight: 600; font-size: .93rem; color: var(--blu); }
.elenco-icone .ic { width: 38px; height: 38px; padding: 8px; border-radius: 12px; background: var(--limone-chiaro); color: var(--blu-notte); stroke-width: 1.7; }
.nota-limone { display: flex; gap: 14px; align-items: center; padding: 16px 18px; border-radius: 18px; background: var(--sabbia); font-size: .92rem; color: #3A4855; margin: 0; }
.nota-limone img { width: 52px; flex: none; transform: rotate(-12deg); }
.limone-deco { position: absolute; pointer-events: none; opacity: .9; }
.limone-1 { display: none; width: 170px; right: -40px; top: 40px; transform: rotate(18deg); }

.mosaico { display: grid; grid-template-columns: 1.2fr 1fr; grid-template-rows: auto auto; gap: 12px; }
.mosaico figure { border-radius: 18px; overflow: hidden; box-shadow: var(--ombra); cursor: zoom-in; }
.mosaico img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--curva); }
.mosaico figure:hover img { transform: scale(1.05); }
.mosaico-a { grid-column: 1 / -1; aspect-ratio: 16 / 8.6; }
.mosaico-b, .mosaico-c { aspect-ratio: 4 / 3; }

/* =========================================================
   COLAZIONE
   ========================================================= */
.colazione { background: linear-gradient(180deg, var(--calce) 0%, var(--cielo) 100%); }
.colazione-griglia { display: grid; gap: 48px; align-items: center; }
.cornice-maiolica { padding: 14px; border-radius: 30px; background: url("assets/maiolica.svg") 0 0 / 60px; box-shadow: var(--ombra-forte); rotate: -1.5deg; }
.cornice-maiolica img { border-radius: 18px; width: 100%; aspect-ratio: 4 / 3.2; object-fit: cover; }
.colazione-testo > p { font-size: 1.06rem; color: #2B3946; }
.orari { display: grid; gap: 10px; margin-top: 26px; }
.orari > div { display: grid; grid-template-columns: auto 1fr; column-gap: 14px; align-items: center; padding: 14px 16px; border-radius: 16px; background: rgba(255, 255, 255, .7); border: 1px solid var(--linea); }
.orari .ic { grid-row: span 2; width: 26px; height: 26px; color: var(--azzurro); }
.orari b { color: var(--blu); font-size: 1rem; }
.orari span { font-size: .88rem; color: var(--grigio); }

/* =========================================================
   SERVIZI
   ========================================================= */
.servizi-griglia { display: grid; gap: 18px; }
.servizi-gruppo { padding: 28px 24px; border-radius: var(--raggio); background: #fff; border: 1px solid var(--linea); position: relative; overflow: hidden; }
.servizi-gruppo::after { content: ""; position: absolute; right: -34px; top: -34px; width: 90px; height: 90px; border-radius: 50%; background: url("assets/maiolica.svg") 0 0 / 60px; opacity: .9; }
.servizi-gruppo h3 { font-family: var(--serif); font-size: 1.8rem; color: var(--blu); margin-bottom: 16px; }
.servizi-gruppo li { display: flex; align-items: center; gap: 12px; padding: 9px 0; border-bottom: 1px dashed var(--linea); font-size: .95rem; }
.servizi-gruppo li:last-child { border-bottom: 0; }
.servizi-gruppo .ic { width: 22px; height: 22px; color: var(--azzurro); }

/* =========================================================
   POSILLIPO
   ========================================================= */
.posillipo { background: var(--blu-notte); color: #fff; overflow: hidden; }
.posillipo::before { content: ""; position: absolute; inset: 0; background: url("assets/maiolica.svg") 0 0 / 140px; opacity: .045; pointer-events: none; }
.intestazione-chiara .titolo { color: #fff; }
.intestazione-chiara .sottotitolo { color: rgba(255, 255, 255, .78); }
.intestazione-chiara .occhiello { color: var(--limone); }
.intestazione-chiara .occhiello::before { box-shadow: 0 0 0 2px var(--blu-notte), 0 0 0 3px var(--limone); }

.luoghi {
  display: grid; grid-auto-flow: column; grid-auto-columns: min(78vw, 360px); gap: 16px;
  overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none;
  padding: 6px max(20px, calc((100vw - 1200px) / 2 + 20px)) 18px;
  scroll-padding-inline: max(20px, calc((100vw - 1200px) / 2 + 20px));
  position: relative;
}
.luoghi::-webkit-scrollbar { display: none; }
.luogo { scroll-snap-align: start; border-radius: var(--raggio); overflow: hidden; background: #fff; color: var(--inchiostro); display: flex; flex-direction: column; box-shadow: 0 20px 50px -25px rgba(0, 0, 0, .8); }
.luogo img { aspect-ratio: 4 / 3; object-fit: cover; width: 100%; cursor: zoom-in; transition: transform 1s var(--curva); }
.luogo:hover img { transform: scale(1.04); }
.luogo > div { padding: 18px 20px 20px; position: relative; background: #fff; }
.luogo h3 { font-family: var(--serif); font-size: 1.6rem; line-height: 1.1; color: var(--blu); margin-bottom: 6px; }
.luogo p { font-size: .92rem; color: #3A4855; margin: 0; }
.luoghi-comandi { display: none; justify-content: flex-end; gap: 10px; margin-top: 8px; }
.luoghi-comandi .tondo { background: transparent; color: #fff; border-color: rgba(255, 255, 255, .35); }
.luoghi-comandi .tondo:hover { background: var(--limone); color: var(--blu-notte); }

.posillipo-extra { display: grid; gap: 18px; margin-top: 44px; position: relative; }
.riquadro-bus { display: flex; gap: 18px; align-items: flex-start; padding: 26px 24px; border-radius: var(--raggio); background: var(--limone); color: var(--blu-notte); }
.riquadro-bus h3 { font-family: var(--serif); font-size: 1.75rem; line-height: 1.1; margin-bottom: 8px; }
.riquadro-bus p { margin: 0; font-size: .96rem; }
.riquadro-elenco { padding: 26px 24px; border-radius: var(--raggio); border: 1px solid rgba(255, 255, 255, .18); background: rgba(255, 255, 255, .04); }
.riquadro-elenco h3 { font-family: var(--serif); font-size: 1.75rem; margin-bottom: 14px; }
.pillole { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 18px; }
.pillole li { padding: 7px 13px; border-radius: 999px; background: rgba(255, 255, 255, .1); font-size: .84rem; }
.in-zona { margin: 0; font-size: .9rem; color: rgba(255, 255, 255, .75); }
.in-zona b { color: #fff; }

/* =========================================================
   COME ARRIVARE
   ========================================================= */
.arrivare-griglia { display: grid; gap: 30px; }
.schede { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; padding: 6px; border-radius: 18px; background: var(--sabbia); margin-bottom: 24px; }
.schede button { border: 0; background: transparent; border-radius: 13px; padding: 10px 4px; display: flex; flex-direction: column; align-items: center; gap: 4px; font-size: .82rem; font-weight: 700; color: var(--grigio); transition: background-color .3s, color .3s; }
.schede button .ic { width: 22px; height: 22px; }
.schede button[aria-selected="true"] { background: #fff; color: var(--blu); box-shadow: 0 6px 18px -10px rgba(11, 39, 69, .5); }
.tappe { counter-reset: tappa; position: relative; }
.tappe li { counter-increment: tappa; position: relative; padding: 0 0 22px 52px; font-size: 1rem; color: #2B3946; }
.tappe li::before { content: counter(tappa); position: absolute; left: 0; top: -2px; width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; background: var(--blu); color: #fff; font-weight: 700; font-size: .85rem; }
.tappe li::after { content: ""; position: absolute; left: 16.5px; top: 36px; bottom: 2px; border-left: 2px dotted rgba(18, 62, 107, .3); }
.tappe li:last-child::after { display: none; }
.tappe li:last-child::before { background: var(--limone); color: var(--blu-notte); }
.tappe[hidden] { display: none; }

.mappa { border-radius: var(--raggio); overflow: hidden; aspect-ratio: 4 / 3.3; box-shadow: var(--ombra); background: var(--cielo); }
.mappa iframe { width: 100%; height: 100%; border: 0; display: block; }
.indirizzo { display: grid; grid-template-columns: auto 1fr; gap: 6px 14px; align-items: center; margin-top: 14px; padding: 18px; border-radius: 18px; background: #fff; border: 1px solid var(--linea); }
.indirizzo > .ic { width: 28px; height: 28px; color: var(--azzurro); }
.indirizzo > div b { display: block; color: var(--blu); }
.indirizzo > div span { font-size: .92rem; color: var(--grigio); }
.indirizzo .btn { grid-column: 1 / -1; margin-top: 8px; }

/* =========================================================
   PRENOTA
   ========================================================= */
.prenota { background: var(--blu); color: #fff; overflow: hidden; }
.prenota::before { content: ""; position: absolute; inset: 0; background: url("assets/maiolica.svg") 0 0 / 120px; opacity: .07; pointer-events: none; }
.prenota-griglia { display: grid; gap: 40px; position: relative; align-items: start; }
.tariffe .titolo { color: #fff; }
.tariffe .occhiello { color: var(--limone); }
.tariffe .occhiello::before { box-shadow: 0 0 0 2px var(--blu), 0 0 0 3px var(--limone); }
.tariffe > p { color: rgba(255, 255, 255, .82); }
.tariffe table { width: 100%; border-collapse: collapse; margin: 22px 0 26px; font-size: .98rem; }
.tariffe th { text-align: left; font-size: .72rem; letter-spacing: .16em; text-transform: uppercase; color: var(--limone); font-weight: 700; padding: 0 0 10px; }
.tariffe th:not(:first-child), .tariffe td:not(:first-child) { text-align: right; white-space: nowrap; }
.tariffe td { padding: 13px 0; border-top: 1px solid rgba(255, 255, 255, .16); }
.tariffe td:not(:first-child) { font-family: var(--serif); font-size: 1.35rem; font-weight: 600; padding-left: 14px; }
.garanzie { display: grid; gap: 10px; }
.garanzie li { display: flex; align-items: center; gap: 10px; font-weight: 600; font-size: .95rem; }
.garanzie .ic { width: 24px; height: 24px; padding: 4px; border-radius: 50%; background: var(--limone); color: var(--blu-notte); stroke-width: 2.4; }

.modulo { background: var(--calce); color: var(--inchiostro); border-radius: 28px; padding: 28px 20px 24px; box-shadow: var(--ombra-forte); position: relative; }
.modulo::before { content: ""; position: absolute; left: 24px; right: 24px; top: -10px; height: 20px; border-radius: 99px; background: url("assets/maiolica.svg") 0 0 / 20px; }
.modulo h3 { font-family: var(--serif); font-size: 2.2rem; line-height: 1.05; color: var(--blu); margin-bottom: 6px; }
.modulo-intro { font-size: .92rem; color: var(--grigio); margin-bottom: 20px; }
.campi-due { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.campo { display: flex; flex-direction: column; gap: 6px; margin-bottom: 14px; min-width: 0; }
.campo > span { font-size: .76rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--blu); }
.campo input, .campo textarea {
  width: 100%; min-width: 0; font: inherit; font-size: 1rem; color: var(--inchiostro);
  padding: 12px 14px; border-radius: 14px; border: 1.5px solid var(--sabbia-scura); background: #fff;
  transition: border-color .25s, box-shadow .25s; -webkit-appearance: none; appearance: none; min-height: 50px;
}
.campo textarea { resize: vertical; min-height: 64px; }
.campo input:focus, .campo textarea:focus { outline: none; border-color: var(--azzurro); box-shadow: 0 0 0 4px rgba(47, 116, 181, .15); }
.contatore { display: flex; align-items: center; justify-content: space-between; border: 1.5px solid var(--sabbia-scura); background: #fff; border-radius: 14px; padding: 4px; min-height: 50px; }
.contatore button { width: 40px; height: 40px; border-radius: 10px; border: 0; background: var(--cielo); color: var(--blu); font-size: 1.3rem; font-weight: 700; line-height: 1; }
.contatore button:disabled { opacity: .35; cursor: default; }
.contatore output { font-weight: 700; font-size: 1.1rem; color: var(--blu); }
.scelte { border: 0; padding: 0; margin: 0 0 14px; display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.scelte legend { font-size: .76rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--blu); margin-bottom: 6px; padding: 0; }
.scelte label, .spunte label { position: relative; cursor: pointer; }
.scelte input, .spunte input { position: absolute; opacity: 0; pointer-events: none; }
.scelte label > span { display: flex; align-items: center; justify-content: center; text-align: center; min-height: 48px; padding: 8px; border-radius: 14px; border: 1.5px solid var(--sabbia-scura); background: #fff; font-weight: 600; font-size: .92rem; transition: all .25s; }
.scelte input:checked + span { border-color: var(--blu); background: var(--blu); color: #fff; }
.scelte input:focus-visible + span, .spunte input:focus-visible + span { outline: 3px solid var(--limone); outline-offset: 2px; }
.spunte { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 14px; }
.spunte label > span { display: inline-flex; align-items: center; gap: 8px; padding: 9px 14px 9px 10px; border-radius: 999px; border: 1.5px solid var(--sabbia-scura); background: #fff; font-size: .88rem; font-weight: 600; transition: all .25s; }
.spunte label > span::before { content: ""; width: 18px; height: 18px; border-radius: 6px; border: 1.5px solid var(--sabbia-scura); background: #fff center / 14px no-repeat; transition: all .25s; }
.spunte input:checked + span { border-color: var(--azzurro); background: var(--cielo); color: var(--blu); }
.spunte input:checked + span::before { background-color: var(--azzurro); border-color: var(--azzurro); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7'/%3E%3C/svg%3E"); }
.riepilogo { border-radius: 16px; background: var(--sabbia); padding: 14px 16px; margin: 4px 0 14px; font-size: .92rem; color: #2B3946; }
.riepilogo:empty { display: none; }
.riepilogo b { color: var(--blu); }
.riepilogo .stima { display: block; font-family: var(--serif); font-size: 1.6rem; font-weight: 600; color: var(--blu); line-height: 1.2; margin-top: 2px; }
.riepilogo small { display: block; color: var(--grigio); font-size: .78rem; margin-top: 4px; }
.errore { color: #B3261E; font-weight: 600; font-size: .9rem; margin-bottom: 12px; }
.modulo-azioni { display: grid; gap: 10px; }
.modulo-azioni .btn { width: 100%; }
.modulo-chiama { text-align: center; font-size: .88rem; color: var(--grigio); margin: 14px 0 0; }
.modulo-chiama a { color: var(--blu); font-weight: 700; }

/* =========================================================
   INFORMAZIONI UTILI
   ========================================================= */
.info-griglia { display: grid; gap: 14px; }
.info-voce { padding: 22px 20px; border-radius: 18px; background: #fff; border: 1px solid var(--linea); display: grid; grid-template-columns: auto 1fr; column-gap: 14px; align-content: start; }
.info-voce .ic { grid-row: span 2; width: 42px; height: 42px; padding: 9px; border-radius: 12px; background: var(--cielo); color: var(--blu); }
.info-voce h3 { font-family: var(--serif); font-size: 1.5rem; color: var(--blu); line-height: 1.2; margin-bottom: 4px; }
.info-voce p { margin: 0; font-size: .93rem; color: #3A4855; }

/* =========================================================
   PIÈ DI PAGINA
   ========================================================= */
.piede { background: var(--blu-notte); color: rgba(255, 255, 255, .86); padding-bottom: calc(96px + env(safe-area-inset-bottom)); }
.piede-griglia { display: grid; gap: 36px; padding-block: 56px 36px; }
.piede h3 { font-size: .74rem; letter-spacing: .2em; text-transform: uppercase; font-weight: 700; color: var(--limone); margin-bottom: 16px; }
.logo-chiaro { color: #fff; margin-bottom: 16px; }
.piede-marchio p { max-width: 320px; font-size: .95rem; }
.piede-contatti li { display: flex; gap: 12px; align-items: flex-start; padding: 6px 0; }
.piede-contatti .ic { margin-top: 3px; color: var(--limone); }
.piede a { text-decoration: none; }
.piede a:hover { color: var(--limone); }
.piede-link { display: grid; gap: 8px; }
.piede-fondo { border-top: 1px solid rgba(255, 255, 255, .14); padding-block: 22px; font-size: .82rem; display: grid; gap: 10px; color: rgba(255, 255, 255, .6); }
.piede-fondo p { margin: 0; }
.crediti summary { cursor: pointer; }
.crediti p { margin-top: 8px; max-width: 760px; }

/* Barra rapida (telefono) */
.barra-rapida {
  position: fixed; left: 12px; right: 12px; bottom: calc(12px + env(safe-area-inset-bottom)); z-index: 40;
  display: grid; grid-template-columns: 1fr 1fr 1.3fr; gap: 6px; padding: 6px;
  border-radius: 20px; background: rgba(11, 39, 69, .92); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 18px 40px -16px rgba(0, 0, 0, .6);
  transform: translateY(140%); transition: transform .5s var(--curva);
}
.barra-rapida.visibile { transform: none; }
.barra-rapida a { display: flex; align-items: center; justify-content: center; gap: 8px; min-height: 50px; border-radius: 15px; color: #fff; text-decoration: none; font-weight: 700; font-size: .9rem; }
.barra-rapida a:active { background: rgba(255, 255, 255, .1); }
.barra-rapida .barra-prenota { background: var(--limone); color: var(--blu-notte); }

/* Visore foto */
.visore { position: fixed; inset: 0; z-index: 90; background: rgba(8, 26, 46, .96); display: grid; place-items: center; padding: 70px 12px; opacity: 0; transition: opacity .35s; touch-action: pan-y; }
.visore.aperto { opacity: 1; }
.visore figure { max-width: min(1200px, 100%); display: flex; flex-direction: column; align-items: center; gap: 14px; }
.visore img { max-height: 76vh; width: auto; max-width: 100%; border-radius: 14px; box-shadow: 0 30px 80px rgba(0, 0, 0, .5); }
.visore figcaption { color: rgba(255, 255, 255, .85); font-size: .92rem; text-align: center; }
.visore .tondo { position: absolute; background: rgba(255, 255, 255, .12); border-color: rgba(255, 255, 255, .25); color: #fff; }
.visore .tondo:hover { background: var(--limone); color: var(--blu-notte); }
.visore-chiudi { top: 14px; right: 14px; }
.visore-prec { left: 12px; top: 50%; translate: 0 -50%; }
.visore-succ { right: 12px; top: 50%; translate: 0 -50%; }

/* Comparsa allo scorrimento (solo se JS attivo) */
.js .rivela { opacity: 0; transform: translateY(34px); transition: opacity 1s var(--curva), transform 1s var(--curva); }
.js .rivela.visto { opacity: 1; transform: none; }

/* =========================================================
   TABLET E COMPUTER
   ========================================================= */
@media (min-width: 640px) {
  .numeri { grid-template-columns: repeat(4, 1fr); }
  .camere-griglia { grid-template-columns: 1fr 1fr; }
  .info-griglia { grid-template-columns: 1fr 1fr; }
  .modulo { padding: 34px 30px 28px; }
  .modulo-azioni { grid-template-columns: 1fr 1fr; }
  .meteo { left: 28px; }
}

@media (min-width: 761px) {
  .eroe-foto img { object-position: 50% 45%; }
}

@media (min-width: 900px) {
  :root { --testata: 82px; }
  .contenitore { padding-inline: 32px; }
  .testata { padding-inline: 32px; }
  .benvenuti-griglia { grid-template-columns: 1fr 1.05fr; gap: 80px; }
  .giardino-griglia { grid-template-columns: 1fr 1.15fr; gap: 72px; }
  .colazione-griglia { grid-template-columns: 1.05fr 1fr; gap: 80px; }
  .servizi-griglia { grid-template-columns: repeat(3, 1fr); }
  .posillipo-extra { grid-template-columns: 1fr 1.4fr; }
  .arrivare-griglia { grid-template-columns: 1fr 1.1fr; gap: 56px; align-items: start; }
  .prenota-griglia { grid-template-columns: 1fr 1.05fr; gap: 72px; }
  .piede-griglia { grid-template-columns: 1.4fr 1fr 1fr; }
  .piede-fondo { grid-template-columns: auto 1fr; justify-items: end; align-items: start; }
  .piede { padding-bottom: 0; }
  .eroe-contenuto { padding-bottom: 110px; }
  .eroe-testo { max-width: 560px; }
  .meteo { left: auto; right: 32px; top: calc(var(--testata) + 18px); }
  .luoghi { grid-auto-columns: 360px; gap: 22px; }
  .luoghi-comandi { display: flex; }
  .carosello-frecce { display: flex; }
  .info-griglia { grid-template-columns: repeat(4, 1fr); }
  .info-voce { grid-template-columns: 1fr; row-gap: 12px; }
  .info-voce .ic { grid-row: auto; }
  .limone-1 { display: block; width: 220px; right: -60px; top: 36px; }
  .barra-rapida { display: none; }
}

@media (min-width: 1080px) {
  .menu-largo { display: flex; }
  .hamburger { display: none; }
  .solo-largo { display: inline-flex; }
  .camere-griglia { gap: 32px; }
}

@media (hover: hover) {
  .camera:hover { transform: translateY(-6px); box-shadow: var(--ombra-forte); }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  html { scroll-behavior: auto; }
}
