/* =========================================================
   TOUR RIDE – Stili del sito
   Concept "Midnight Quiet Luxury": sezioni notturne con cielo
   stellato alternate a sezioni chiare color seta.
   Indice:
   1. Variabili   2. Base   3. Pulsanti   4. Testata   5. Filo dorato
   6. Hero   7. Widget   8. Foglio prenotazione   9. Flotta + auto SVG
   10. Servizi   11. Tratte   12. Footer   13. Barra mobile
   14. Pagine legali   15. Animazioni   16. Responsive
   ========================================================= */

/* ---------- 1. Variabili ---------- */
:root {
  --notte: #07090E;            /* Notte Profonda */
  --notte-2: #0C0F17;
  --seta: #F8F7F4;             /* Seta Chiara */
  --seta-2: #F1EEE7;
  --inchiostro: #14171F;       /* testo su chiaro */
  --inchiostro-2: #4A4E58;     /* testo secondario su chiaro (7.7:1) */
  --oro: #D4B886;              /* Oro Champagne */
  --oro-chiaro: #E2CB9F;
  --whatsapp: #25D366;         /* verde WhatsApp (solo per i simboli WhatsApp) */
  --whatsapp-scuro: #1DA851;
  --oro-brunito: #7D5F2E;      /* oro leggibile su chiaro (5.5:1) */
  --stella: #EAE6DF;           /* Luce Stellare */
  --stella-2: rgba(234, 230, 223, 0.72);
  --vetro: rgba(18, 22, 33, 0.75);
  --vetro-bordo: rgba(212, 184, 134, 0.3);
  --linea-scura: rgba(234, 230, 223, 0.12);
  --linea-chiara: rgba(20, 23, 31, 0.12);
  --bordo-campo: #8C8A86;      /* bordo campi su chiaro (3.4:1) */
  --errore-chiaro: #8A2B1E;
  --errore-scuro: #F2C2B5;

  --serif: 'Cormorant Garamond', 'Cormorant', Garamond, 'Times New Roman', serif;
  --sans: 'Plus Jakarta Sans', 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;

  --testata-h: 76px;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

/* ---------- 2. Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-padding-top: calc(var(--testata-h) + 16px);
}
@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
}

body {
  margin: 0;
  background: var(--notte);
  color: var(--stella);
  font-family: var(--sans);
  font-size: 1rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}
body.menu-bloccato { overflow: hidden; }

img, svg { max-width: 100%; }
a { color: inherit; }
button, input, select { font: inherit; }
::selection { background: rgba(212, 184, 134, 0.38); color: inherit; }

:focus-visible { outline: 2px solid var(--oro); outline-offset: 3px; }
[data-tema="chiaro"] :focus-visible,
.foglio :focus-visible { outline-color: var(--oro-brunito); }

.sr-only {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0);
  white-space: nowrap; border: 0;
}


.salta {
  position: absolute; left: 16px; top: -60px; z-index: 100;
  background: var(--oro); color: var(--notte);
  padding: 10px 16px; border-radius: 4px; font-weight: 600; text-decoration: none;
}
.salta:focus { top: 12px; }

.notte { background: var(--notte); color: var(--stella); }

.contenitore {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 clamp(20px, 5vw, 56px);
}
.contenitore-stretto { max-width: 880px; }

.icona { width: 20px; height: 20px; flex: none; display: block; }

.titolo-sezione {
  font-family: var(--serif);
  font-weight: 300;
  font-size: clamp(2.5rem, 1.6rem + 3vw, 4rem);
  line-height: 1.05;
  letter-spacing: 0.02em;
  margin: 0;
}
.sezione-intro {
  margin: 16px 0 0;
  font-size: 1.0625rem;
  line-height: 1.65;
  max-width: 52ch;
  color: var(--inchiostro-2);
}
.notte .sezione-intro { color: var(--stella-2); }

/* ---------- 3. Pulsanti ---------- */
.btn {
  position: relative;
  overflow: hidden;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 26px;
  border: 1px solid transparent;
  border-radius: 4px;
  font-family: var(--sans);
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.02em;
  line-height: 1.2;
  text-decoration: none;
  cursor: pointer;
  transition: background-color .3s, color .3s, border-color .3s;
}
/* riflesso di luce dorata che attraversa il pulsante (shimmer) */
.btn::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(110deg, transparent 30%, rgba(255, 255, 255, 0.55) 48%, transparent 66%);
  transform: translateX(-120%);
  transition: transform .9s var(--ease);
  pointer-events: none;
}
.btn:hover::after, .btn:focus-visible::after { transform: translateX(120%); }

.btn-oro { background: var(--oro); color: var(--notte); }
.btn-oro:hover { background: var(--oro-chiaro); }

.btn-notte { background: var(--notte); color: var(--oro); border-color: var(--notte); }
.btn-notte::after { background: linear-gradient(110deg, transparent 30%, rgba(212, 184, 134, 0.35) 48%, transparent 66%); }
.btn-notte:hover { background: #151924; color: var(--oro-chiaro); }

.btn-linea { background: transparent; color: var(--inchiostro); border-color: var(--bordo-campo); }
.btn-linea::after { background: linear-gradient(110deg, transparent 30%, rgba(212, 184, 134, 0.3) 48%, transparent 66%); }
.btn-linea:hover { border-color: var(--inchiostro); }

.btn-piccolo { padding: 10px 18px; font-size: 14px; }

.btn-icona {
  display: grid;
  place-items: center;
  width: 40px; height: 40px;
  border-radius: 50%;
  border: 1px solid var(--vetro-bordo);
  color: var(--oro);
  transition: border-color .3s, background-color .3s, color .3s;
}
.btn-icona:hover { border-color: var(--oro); background: rgba(212, 184, 134, 0.1); }
.btn-icona .icona { width: 19px; height: 19px; }

.link-sottile {
  background: none;
  border: 0;
  padding: 6px 0;
  font-family: var(--sans);
  font-size: 14px;
  font-weight: 500;
  color: var(--oro-brunito);
  text-decoration: underline;
  text-underline-offset: 4px;
  cursor: pointer;
  white-space: nowrap;
}
.link-sottile:hover { color: var(--inchiostro); }

/* ---------- 4. Testata ---------- */
.testata {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 50;
  height: var(--testata-h);
  color: var(--stella);
  border-bottom: 1px solid transparent;
  transition: background-color .45s, border-color .45s, color .45s;
}
.testata.scorrendo {
  background: rgba(7, 9, 14, 0.72);
  -webkit-backdrop-filter: blur(16px) saturate(1.2);
  backdrop-filter: blur(16px) saturate(1.2);
  border-bottom-color: rgba(234, 230, 223, 0.08);
}
.testata.scorrendo.su-chiaro {
  background: rgba(248, 247, 244, 0.82);
  color: var(--inchiostro);
  border-bottom-color: rgba(20, 23, 31, 0.08);
}

.testata-riga {
  height: 100%;
  max-width: 1320px;
  margin: 0 auto;
  padding: 0 clamp(20px, 4vw, 48px);
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 24px;
}

.marchio {
  justify-self: start;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: inherit;
  text-decoration: none;
}
.marchio .emblema { width: 26px; height: 26px; color: var(--oro); transition: color .45s; }
.su-chiaro.scorrendo .marchio .emblema { color: var(--oro-brunito); }
.marchio-nome {
  font-family: var(--serif);
  font-size: 20px;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  white-space: nowrap;
}

.nav { display: flex; align-items: center; gap: 36px; }
.nav-link {
  position: relative;
  padding: 6px 0;
  color: var(--stella-2);
  font-size: 14.5px;
  font-weight: 500;
  letter-spacing: 0.01em;
  text-decoration: none;
  white-space: nowrap;
  transition: color .3s;
}
.nav-link::after {
  content: '';
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 1px;
  background: var(--oro);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .4s var(--ease);
}
.nav-link:hover { color: var(--stella); }
.nav-link:hover::after { transform: scaleX(1); }
.su-chiaro.scorrendo .nav-link { color: var(--inchiostro-2); }
.su-chiaro.scorrendo .nav-link:hover { color: var(--inchiostro); }
.su-chiaro.scorrendo .nav-link::after { background: var(--oro-brunito); }
.nav-prenota { display: none; }

.testata-azioni {
  justify-self: end;
  display: flex;
  align-items: center;
  gap: 14px;
}

/* menu delle lingue: si apre passando col mouse (o toccando / con la tastiera) */
.lingue { position: relative; }
.lingue-attuale {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 40px;
  padding: 6px 10px;
  background: none;
  border: 1px solid transparent;
  border-radius: 999px;
  color: var(--stella);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.08em;
  cursor: pointer;
  transition: border-color .3s, background-color .3s, color .3s;
}
.lingue-attuale .icona { width: 17px; height: 17px; color: var(--oro); }
.lingue-freccia { width: 11px; height: 11px; transition: transform .25s; }
.lingue-attuale:hover,
.lingue[data-aperto="true"] .lingue-attuale { border-color: rgba(212, 184, 134, 0.38); background: rgba(212, 184, 134, 0.08); }
.lingue[data-aperto="true"] .lingue-freccia { transform: rotate(180deg); }
.lingue-attuale:focus-visible { outline: 2px solid var(--oro); outline-offset: 3px; }

.lingue-lista {
  position: absolute;
  top: 100%;
  right: 0;
  z-index: 60;
  display: flex;
  flex-direction: column;
  min-width: 168px;
  margin: 0;
  padding: 14px 0 0;             /* fascia trasparente: il mouse passa dal pulsante al menu senza chiuderlo */
  list-style: none;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-6px);
  transition: opacity .2s, transform .2s, visibility .2s;
}
.lingue-lista::before {
  content: "";
  position: absolute;
  inset: 8px 0 0;
  z-index: -1;
  background: var(--notte-2);
  border: 1px solid rgba(212, 184, 134, 0.3);
  border-radius: 12px;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.45);
}
.lingue-lista li:last-child { padding-bottom: 6px; }
.lingue[data-aperto="true"] .lingue-lista { opacity: 1; visibility: visible; transform: none; transition: opacity .2s, transform .2s, visibility 0s; }
@media (hover: hover) {
  .lingue:not(.appena-scelta):hover .lingue-lista { opacity: 1; visibility: visible; transform: none; }
  .lingue:not(.appena-scelta):hover .lingue-freccia { transform: rotate(180deg); }
}
.lingua {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  padding: 10px 18px;
  background: none;
  border: 0;
  color: var(--stella-2);
  font-size: 14px;
  text-align: left;
  cursor: pointer;
  transition: color .2s, background-color .2s;
}
.lingua-codice { width: 22px; font-size: 11px; font-weight: 600; letter-spacing: 0.1em; color: var(--oro); }
.lingua:hover,
.lingua:focus-visible { color: var(--stella); background: rgba(212, 184, 134, 0.1); outline: none; }
.lingua[aria-pressed="true"] { color: var(--stella); font-weight: 500; }
.lingua[aria-pressed="true"]::after { content: "✓"; margin-left: auto; color: var(--oro); font-size: 13px; }
.su-chiaro.scorrendo .lingue-attuale { color: var(--inchiostro); }
.su-chiaro.scorrendo .lingue-attuale .icona { color: var(--oro-brunito); }

/* simboli WhatsApp: tondi pieni, verde WhatsApp, ben riconoscibili */
.btn-whatsapp,
.su-chiaro.scorrendo .btn-icona.btn-whatsapp {
  display: grid;
  place-items: center;
  border: 0;
  border-radius: 50%;
  background: var(--whatsapp);
  color: #fff;
  box-shadow: 0 0 0 4px rgba(37, 211, 102, 0.18), 0 6px 16px rgba(0, 0, 0, 0.25);
  transition: background-color .25s, transform .25s, box-shadow .25s;
}
.btn-whatsapp:hover,
.su-chiaro.scorrendo .btn-icona.btn-whatsapp:hover { background: var(--whatsapp-scuro); transform: scale(1.06); box-shadow: 0 0 0 6px rgba(37, 211, 102, 0.22), 0 8px 20px rgba(0, 0, 0, 0.3); }
.btn-whatsapp:focus-visible { outline: 2px solid #fff; outline-offset: 3px; }
.su-chiaro.scorrendo .btn-icona { color: var(--oro-brunito); border-color: rgba(125, 95, 46, 0.4); }

.menu-apri {
  display: none;
  width: 42px; height: 42px;
  padding: 0;
  border: 1px solid var(--vetro-bordo);
  border-radius: 50%;
  background: transparent;
  color: inherit;
  cursor: pointer;
  position: relative;
}
.menu-apri span {
  position: absolute;
  left: 12px; right: 12px;
  height: 1px;
  background: currentColor;
  transition: transform .35s var(--ease), top .35s var(--ease);
}
.menu-apri span:first-child { top: 17px; }
.menu-apri span:last-child { top: 24px; }
.menu-aperto .menu-apri span:first-child { top: 20.5px; transform: rotate(45deg); }
.menu-aperto .menu-apri span:last-child { top: 20.5px; transform: rotate(-45deg); }

/* ---------- 5. Filo dorato del percorso ---------- */
.rotta {
  position: fixed;
  left: clamp(18px, 2.2vw, 34px);
  top: 22vh;
  bottom: 22vh;
  width: 11px;
  z-index: 30;
  pointer-events: none;
  opacity: 0;
  transition: opacity .8s;
}
.rotta.pronta { opacity: 1; }
.rotta-binario {
  position: absolute;
  left: 5px; top: 0; bottom: 0;
  width: 1px;
  background: rgba(212, 184, 134, 0.22);
}
.rotta-luce {
  position: absolute;
  left: 5px; top: 0;
  width: 1px;
  height: calc(var(--avanzamento, 0) * 100%);
  background: linear-gradient(to bottom, rgba(212, 184, 134, 0), var(--oro));
  box-shadow: 0 0 6px rgba(212, 184, 134, 0.7);
}
.rotta-nodo {
  position: absolute;
  left: 1px;
  top: calc(var(--pos, 0) * 100%);
  width: 9px; height: 9px;
  margin-top: -4.5px;
  border-radius: 50%;
  border: 1px solid rgba(212, 184, 134, 0.6);
  background: var(--notte);
  transition: background-color .5s, box-shadow .5s, transform .5s var(--ease);
}
.rotta-nodo.acceso {
  background: var(--oro);
  box-shadow: 0 0 10px 2px rgba(212, 184, 134, 0.55);
}
.rotta-nodo.ultimo {
  left: 0;
  width: 11px; height: 11px;
  margin-top: -5.5px;
  border: 0;
  border-radius: 0;
  background: rgba(212, 184, 134, 0.5);
  clip-path: polygon(50% 0, 61% 39%, 100% 50%, 61% 61%, 50% 100%, 39% 61%, 0 50%, 39% 39%);
}
.rotta-nodo.ultimo.acceso { background: var(--oro); transform: scale(1.5); }

/* ---------- 6. Hero ---------- */
.hero {
  position: relative;
  z-index: 1;                  /* sopra la sezione successiva: i pannelli del widget possono uscire dalla hero */
  isolation: isolate;
  overflow: hidden;            /* browser vecchi */
  overflow: clip visible;      /* taglia solo ai lati (la luna); in basso pannelli e suggerimenti restano interi */
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: calc(var(--testata-h) + clamp(40px, 9vh, 110px)) clamp(16px, 4vw, 48px) clamp(64px, 9vw, 120px);
  background:
    linear-gradient(to bottom, rgba(7, 9, 14, 0) calc(100% - 90px), var(--notte) 100%),
    radial-gradient(120% 60% at 50% 108%, #131724 0%, rgba(7, 9, 14, 0) 62%),
    var(--notte);
}
.cielo {
  position: absolute;
  inset: 0;
  z-index: -2;
  display: block;
  width: 100%;
  height: 100%;
  pointer-events: none;
}
.hero-luna {
  position: absolute;
  z-index: -2;
  top: -14vw;
  right: -10vw;
  width: 62vw; height: 62vw;
  max-width: 860px; max-height: 860px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(234, 230, 223, 0.075) 0%, rgba(234, 230, 223, 0.025) 36%, transparent 66%);
  pointer-events: none;
}
.hero-contenuto {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 1180px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}
.hero-titolo {
  margin: 0;
  font-family: var(--serif);
  font-weight: 300;
  font-size: clamp(2.6rem, 1.3rem + 4.4vw, 5rem);
  line-height: 1.04;
  letter-spacing: 0.02em;
  text-wrap: balance;
}
.hero-sottotitolo {
  margin: 22px auto 0;
  max-width: 46ch;
  font-size: clamp(1rem, .92rem + .35vw, 1.1875rem);
  line-height: 1.6;
  color: var(--stella-2);
  text-wrap: pretty;
}

/* ---------- 7. Widget di prenotazione (vetro smerigliato) ---------- */
.widget {
  position: relative;
  z-index: 5;
  width: 100%;
  margin-top: clamp(32px, 5.5vh, 56px);
  padding: 14px;
  text-align: left;
  color-scheme: dark;
  background: var(--vetro);
  -webkit-backdrop-filter: blur(16px);
  backdrop-filter: blur(16px);
  border: 1px solid var(--vetro-bordo);
  border-radius: 20px;
  box-shadow: 0 30px 80px -30px rgba(0, 0, 0, 0.75), inset 0 1px 0 rgba(234, 230, 223, 0.06);
}
.widget.evidenzia { animation: evidenzia 1.1s var(--ease); }

.widget-testa {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px 24px;
  padding: 4px 6px 14px;
}

.modi {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px 0;
  margin: 0;
  padding: 0;
  border: 0;
}
.modo {
  position: relative;
  display: inline-flex;
  align-items: center;
  cursor: pointer;
}
.modo + .modo::before {
  content: '';
  width: 4px; height: 4px;
  margin: 0 14px;
  background: var(--oro);
  opacity: .6;
  transform: rotate(45deg);
}
.modo input { position: absolute; opacity: 0; width: 1px; height: 1px; pointer-events: none; }
.modo span {
  padding: 6px 0;
  font-size: 14.5px;
  font-weight: 500;
  color: var(--stella-2);
  border-bottom: 1px solid transparent;
  transition: color .3s, border-color .3s;
}
.modo:hover span { color: var(--stella); }
.modo input:checked + span { color: var(--stella); border-bottom-color: var(--oro); }
.modo input:focus-visible + span { outline: 2px solid var(--oro); outline-offset: 4px; border-radius: 2px; }

.widget-whatsapp {
  width: 44px;
  height: 44px;
  flex-shrink: 0;
  margin-left: auto;
}
.widget-whatsapp .icona { width: 24px; height: 24px; }
.testata-whatsapp { width: 42px; height: 42px; }
.testata-whatsapp .icona { width: 23px; height: 23px; }

/* barra dei campi: un'unica superficie divisa da linee sottili */
.campi {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1.2fr) minmax(0, 1.2fr) minmax(0, .95fr) auto;
  gap: 1px;
  background: rgba(234, 230, 223, 0.1);
  border: 1px solid rgba(234, 230, 223, 0.1);
  border-radius: 14px;
  overflow: hidden;
}
.widget[data-modo="ritorno"] .campi {
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 1.15fr) minmax(0, 1fr) minmax(0, 1fr) minmax(0, .9fr) auto;
}

.campo {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
  min-width: 0;
  padding: 13px 16px;
  background: rgba(9, 12, 19, 0.72);
  transition: background-color .25s, box-shadow .25s;
}
.campo:focus-within {
  background: rgba(22, 27, 40, 0.92);
  box-shadow: inset 0 -2px 0 var(--oro);
}
.campo label,
.campo-etichetta {
  font-size: 12.5px;
  font-weight: 500;
  letter-spacing: 0.02em;
  color: var(--stella-2);
}
.campo-riga {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
  color: var(--stella);
}
.campo-riga .icona { width: 18px; height: 18px; color: var(--oro); }
.campo input,
.campo select,
.ospiti-apri {
  width: 100%;
  min-width: 0;
  margin: 0;
  padding: 2px 0;
  border: 0;
  outline: none;
  background: transparent;
  color: var(--stella);
  font-size: 16px;
  line-height: 1.4;
}
.campo input::placeholder { color: rgba(234, 230, 223, 0.55); }
.campo input[aria-invalid="true"] { color: var(--errore-scuro); }
.campo:has([aria-invalid="true"]) { box-shadow: inset 0 -2px 0 var(--errore-scuro); }
.campo input::-webkit-calendar-picker-indicator { opacity: .7; cursor: pointer; }
.campo input::-webkit-date-and-time-value { text-align: left; }   /* iPhone: data e ora allineate a sinistra */
.campo select {
  appearance: none;
  -webkit-appearance: none;
  padding-right: 22px;
  cursor: pointer;
  background: transparent url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23D4B886' stroke-width='1.5'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E") no-repeat right center / 16px;
}
.campo select option { background: #10131c; color: var(--stella); }
.ospiti-apri { display: flex; align-items: center; gap: 10px; text-align: left; cursor: pointer; white-space: nowrap; }
.ospiti-apri span { overflow: hidden; text-overflow: ellipsis; }

.campo.lampeggia { animation: lampeggia 1s var(--ease); }
.campo-cta { padding: 8px; }
.widget-cta { width: 100%; height: 100%; min-height: 56px; padding: 0 26px; white-space: nowrap; }

/* elenchi di suggerimenti e pannello ospiti (posizionati da JS) */
.suggerimenti,
.ospiti-pannello {
  position: absolute;
  z-index: 20;
  margin: 0;
  background: rgba(13, 16, 24, 0.98);
  border: 1px solid rgba(212, 184, 134, 0.28);
  border-radius: 14px;
  box-shadow: 0 24px 60px -18px rgba(0, 0, 0, 0.85);
}
.suggerimenti {
  padding: 6px;
  list-style: none;
  max-height: 330px;
  overflow-y: auto;
  overscroll-behavior: contain;
}
.suggerimento {
  display: grid;
  grid-template-columns: 20px minmax(0, 1fr) auto;
  align-items: center;
  gap: 12px;
  padding: 10px 12px;
  border-radius: 8px;
  color: var(--stella);
  font-size: 15px;
  line-height: 1.35;
  cursor: pointer;
}
.suggerimento .icona { width: 18px; height: 18px; color: var(--oro); }
.suggerimento:hover,
.suggerimento[aria-selected="true"] { background: rgba(212, 184, 134, 0.13); }
.sugg-tipo { font-size: 12px; color: var(--stella-2); }
.suggerimento-libero {
  grid-template-columns: 20px minmax(0, 1fr);
  color: var(--stella-2);
  font-size: 13.5px;
  cursor: default;
}
.suggerimento-libero:hover { background: transparent; }

.ospiti-pannello { width: 300px; padding: 10px 18px 18px; }
.contatore {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 0;
  border-bottom: 1px solid var(--linea-scura);
}
.contatore-nome { display: flex; align-items: center; gap: 10px; font-size: 15px; }
.contatore-nome .icona { width: 18px; height: 18px; color: var(--oro); }
.contatore-controlli { display: flex; align-items: center; gap: 14px; }
.contatore-btn {
  width: 36px; height: 36px;
  padding: 0;
  border: 1px solid rgba(212, 184, 134, 0.45);
  border-radius: 50%;
  background: transparent;
  color: var(--stella);
  font-size: 18px;
  line-height: 1;
  cursor: pointer;
  transition: border-color .25s, background-color .25s;
}
.contatore-btn:hover:not([aria-disabled="true"]) { border-color: var(--oro); background: rgba(212, 184, 134, 0.1); }
.contatore-btn[aria-disabled="true"] { opacity: .35; cursor: not-allowed; }
.contatore-valore { min-width: 2ch; text-align: center; font-size: 16px; font-variant-numeric: tabular-nums; }
.ospiti-nota { margin: 14px 0; font-size: 13px; color: var(--stella-2); }
.ospiti-nota a { color: var(--oro); }
.ospiti-fatto {
  width: 100%;
  padding: 11px;
  border: 1px solid var(--vetro-bordo);
  border-radius: 4px;
  background: transparent;
  color: var(--stella);
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
}
.ospiti-fatto:hover { border-color: var(--oro); }

.widget-errore {
  margin: 12px 6px 2px;
  color: var(--errore-scuro);
  font-size: 14px;
}

/* ---------- 8. Foglio prenotazione (si espande sotto il widget) ---------- */
.foglio-esterno {
  width: 100%;
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows .7s var(--ease);
}
.foglio-esterno.aperto { grid-template-rows: 1fr; }
.foglio-interno { min-height: 0; overflow: hidden; }

.foglio {
  margin-top: 16px;
  padding: clamp(20px, 3vw, 36px);
  text-align: left;
  color: var(--inchiostro);
  color-scheme: light;
  background: var(--seta);
  border-radius: 20px;
  box-shadow: 0 40px 90px -40px rgba(0, 0, 0, 0.85);
  opacity: 0;
  transform: translateY(-10px);
  transition: opacity .5s .12s, transform .7s var(--ease);
  outline: none;
}
.aperto .foglio { opacity: 1; transform: none; }

.foglio-testa {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--linea-chiara);
}
.foglio-titolo {
  margin: 0 0 6px;
  font-family: var(--serif);
  font-size: 1.75rem;
  font-weight: 400;
  letter-spacing: 0.01em;
  line-height: 1.15;
}
.foglio-tratta { margin: 0 0 10px; font-size: 1.0625rem; font-weight: 500; }
.foglio-tratta .freccia { color: var(--oro-brunito); margin: 0 .35em; }
.foglio-dettagli {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 20px;
  margin: 0;
  padding: 0;
  list-style: none;
  font-size: 14px;
  color: var(--inchiostro-2);
}
.foglio-dettagli li { display: inline-flex; align-items: center; gap: 7px; }
.foglio-dettagli .icona { width: 16px; height: 16px; color: var(--oro-brunito); }

.passo { padding-top: 26px; }
.passo-titolo {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0 0 16px;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.01em;
}
.passo-num {
  display: grid;
  place-items: center;
  width: 26px; height: 26px;
  border: 1px solid var(--oro-brunito);
  border-radius: 50%;
  color: var(--oro-brunito);
  font-size: 13px;
  font-weight: 600;
}

.auto-scelte {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}
.auto-opzione {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 16px 18px 18px;
  background: #FFFFFF;
  border: 1px solid rgba(20, 23, 31, 0.14);
  border-radius: 14px;
  cursor: pointer;
  transition: border-color .25s, box-shadow .25s;
}
.auto-opzione:hover { border-color: rgba(125, 95, 46, 0.6); }
.auto-opzione input { position: absolute; opacity: 0; width: 1px; height: 1px; pointer-events: none; }
.auto-opzione:has(input:checked) {
  border-color: var(--oro-brunito);
  box-shadow: 0 0 0 3px rgba(212, 184, 134, 0.5);
}
.auto-opzione:has(input:focus-visible) { outline: 2px solid var(--oro-brunito); outline-offset: 3px; }
.auto-opzione.non-disponibile { cursor: not-allowed; opacity: .55; }
.auto-opzione.non-disponibile:hover { border-color: rgba(20, 23, 31, 0.14); }
.auto-opzione-figura { display: block; margin: -4px -6px 0; }
.auto-opzione-figura img { display: block; width: 100%; height: auto; }
/* un'auto sola: niente scelta, scheda larga con foto a sinistra */
.auto-scelte.una { grid-template-columns: 1fr; }
.auto-unica {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
  column-gap: 32px;
  cursor: default;
}
.auto-unica:hover { border-color: rgba(20, 23, 31, 0.14); }
.auto-unica > * { grid-column: 2; }
.auto-unica .auto-opzione-figura { grid-column: 1; grid-row: 1 / span 6; align-self: center; margin: 0; }
.auto-opzione-nome {
  display: block;
  font-family: var(--serif);
  font-size: 1.45rem;
  font-weight: 500;
  line-height: 1.1;
}
.auto-opzione-modello { display: block; margin-top: 2px; font-size: 13px; color: var(--inchiostro-2); }
.auto-opzione-desc { font-size: 14px; line-height: 1.5; color: var(--inchiostro-2); }
.auto-opzione-capienza { display: flex; gap: 16px; font-size: 13.5px; }
.auto-opzione-capienza span { display: inline-flex; align-items: center; gap: 6px; }
.auto-opzione-capienza .icona { width: 16px; height: 16px; color: var(--oro-brunito); }
.auto-opzione-inclusi {
  display: grid;
  gap: 4px;
  margin: 0;
  padding: 0;
  list-style: none;
  font-size: 13px;
  color: var(--inchiostro-2);
}
.incluso { display: flex; align-items: center; gap: 7px; }
.auto-opzione-inclusi .icona { width: 14px; height: 14px; color: var(--oro-brunito); }
.auto-opzione-avviso { margin: 0; font-size: 13px; color: var(--errore-chiaro); }

.dati-griglia {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px 18px;
}
.dato label { display: block; margin-bottom: 6px; font-size: 13.5px; font-weight: 500; }
.dato-opz { font-weight: 400; color: var(--inchiostro-2); }
.dato-largo { grid-column: 1 / -1; }
.dato input,
.dato textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--bordo-campo);
  border-radius: 8px;
  background: #FFFFFF;
  color: var(--inchiostro);
  font-size: 16px;
  transition: border-color .2s, box-shadow .2s;
}
.dato textarea { min-height: 84px; resize: vertical; font-family: inherit; line-height: 1.5; }
.dato input:focus,
.dato textarea:focus { outline: none; border-color: var(--oro-brunito); box-shadow: 0 0 0 3px rgba(212, 184, 134, 0.5); }
.dato input[aria-invalid="true"] { border-color: var(--errore-chiaro); }
.dato-errore { margin: 6px 0 0; font-size: 13px; color: var(--errore-chiaro); }
.dato-aiuto { margin: 6px 0 0; font-size: 12.5px; color: var(--inchiostro-2); }

.totale {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 24px;
  padding-top: 20px;
  border-top: 1px solid var(--linea-chiara);
}
.totale-testo { margin: 0; font-size: 15px; color: var(--inchiostro-2); }
.dati-privacy { margin: 14px 0 0; font-size: 12.5px; color: var(--inchiostro-2); }
.dati-privacy a { color: var(--oro-brunito); }

.passo-fine { padding: 34px 0 8px; text-align: center; outline: none; }
.passo-fine .emblema { width: 40px; height: 40px; margin: 0 auto 10px; color: var(--oro-brunito); display: block; }
.fine-titolo { margin: 0 0 10px; font-family: var(--serif); font-size: 2rem; font-weight: 400; line-height: 1.15; }
.fine-testo { max-width: 52ch; margin: 0 auto; line-height: 1.6; color: var(--inchiostro-2); }
.fine-codice { margin: 18px 0 20px; font-size: 14px; color: var(--inchiostro-2); }
.fine-codice strong { color: var(--inchiostro); letter-spacing: 0.08em; }
.fine-azioni { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }
.fine-nota { margin: 20px 0 6px; font-size: 14px; color: var(--inchiostro-2); }
.fine-nota a { color: var(--oro-brunito); white-space: nowrap; }

/* ---------- 9. La Flotta ---------- */
.flotta {
  position: relative;
  background: var(--seta);
  color: var(--inchiostro);
  padding: 0 0 clamp(80px, 10vw, 140px);
}
.alba {
  height: clamp(140px, 16vw, 220px);
  margin-bottom: clamp(24px, 4vw, 48px);
  background: linear-gradient(to bottom,
    #07090E 0%, #0F121A 20%, #2B2B2E 45%, #8F877B 70%, #E6E1D8 90%, #F8F7F4 100%);
}
.sezione-testa {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 24px 40px;
  margin-bottom: clamp(32px, 4vw, 52px);
}

.vista {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 8px 0;
  border: 0;
  background: none;
  color: var(--inchiostro-2);
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
}
.vista small { font-size: 12.5px; font-weight: 400; }
.vista-etichetta { transition: color .4s; }
.vista[aria-checked="false"] .vista-etichetta-giorno,
.vista[aria-checked="true"] .vista-etichetta-notte { color: var(--inchiostro); }
.vista-binario {
  position: relative;
  flex: none;
  width: 48px; height: 26px;
  border: 1px solid var(--bordo-campo);
  border-radius: 999px;
  background: #E8E4DC;
  transition: background-color .4s, border-color .4s;
}
.vista-pomello {
  position: absolute;
  top: 3px; left: 3px;
  width: 18px; height: 18px;
  border-radius: 50%;
  background: var(--oro-brunito);
  transition: transform .45s var(--ease), background-color .45s;
}
.vista[aria-checked="true"] .vista-binario { background: var(--notte); border-color: var(--notte); }
.vista[aria-checked="true"] .vista-pomello { transform: translateX(22px); background: var(--oro); box-shadow: 0 0 10px rgba(212, 184, 134, 0.7); }

.vetrina {
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 4fr);
  gap: clamp(28px, 4vw, 60px);
  align-items: start;
}

.palco {
  --mx: 50%;
  --my: 62%;
  --tono: 38;
  position: relative;
  isolation: isolate;
  overflow: hidden;
  display: grid;
  place-items: center;
  aspect-ratio: 16 / 10;
  border-radius: 24px;
  background: radial-gradient(120% 90% at 50% 85%, #FFFFFF 0%, #F2EFE9 55%, #E6E1D8 100%);
}
.palco::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -2;
  background: radial-gradient(120% 90% at 50% 80%, #171C2A 0%, #0B0E16 55%, #07090E 100%);
  opacity: 0;
  transition: opacity .8s var(--ease);
}
.flotta[data-vista="notte"] .palco::before { opacity: 1; }
/* bagliore ambientale: segue il mouse e cambia appena tonalità */
.bagliore {
  position: absolute;
  inset: -10%;
  z-index: -1;
  background: radial-gradient(38% 44% at var(--mx) var(--my), hsl(var(--tono) 62% 72% / .5), transparent 70%);
  filter: blur(26px);
  pointer-events: none;
}
.flotta[data-vista="notte"] .bagliore {
  background: radial-gradient(40% 46% at var(--mx) var(--my), hsl(calc(var(--tono) + 222) 62% 64% / .42), transparent 70%);
}
/* foto dell'auto: la sagoma è ritagliata (sfondo trasparente) */
.palco-figura {
  position: relative;
  width: 88%;
  margin: 0;
}
.palco-figura::after {          /* ombra a terra */
  content: '';
  position: absolute;
  z-index: -1;
  left: 5%; right: 7%; bottom: 1%;
  height: 9%;
  border-radius: 50%;
  background: radial-gradient(closest-side, rgba(20, 23, 31, 0.38), rgba(20, 23, 31, 0));
  filter: blur(6px);
  transition: background .8s;
}
.palco-foto {
  display: block;
  width: 100%;
  height: auto;
  transition: filter .8s var(--ease);
}
/* vista notte: auto più scura con un filo di luce sul profilo, fari accesi */
.flotta[data-vista="notte"] .palco-figura::after {
  background: radial-gradient(closest-side, rgba(0, 0, 0, 0.75), rgba(0, 0, 0, 0));
}
.flotta[data-vista="notte"] .palco-foto {
  filter: brightness(.8) contrast(1.08) saturate(.9)
    drop-shadow(0 0 1px rgba(234, 230, 223, 0.5))
    drop-shadow(0 -4px 18px rgba(212, 184, 134, 0.16));
}
.faro,
.faro-alone {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  opacity: 0;
  transform: translate(-50%, -50%) rotate(var(--r, 0deg));
  transition: opacity .9s .25s var(--ease);
}
.faro {
  background: radial-gradient(closest-side, rgba(246, 245, 255, 0.95), rgba(236, 238, 255, 0.5) 45%, rgba(236, 238, 255, 0));
  mix-blend-mode: screen;
}
.faro-principale { left: 67.4%; top: 56.5%; width: 12%; height: 10%; }
.faro-drl {                      /* striscia LED sopra il faro */
  left: 65.9%; top: 50.3%;
  width: 15%; height: 2.6%;
  --r: 14deg;
  background: radial-gradient(closest-side, rgba(252, 252, 255, 1), rgba(236, 240, 255, 0.75) 55%, rgba(236, 240, 255, 0));
  filter: blur(0.6px);
}
.faro-lontano { left: 96.6%; top: 54.5%; width: 3.6%; height: 11%; }
.faro-fendinebbia { left: 69.3%; top: 80.6%; width: 4.4%; height: 7.5%; }
.faro-alone {
  left: 84%; top: 64%;
  width: 46%; height: 42%;
  background: radial-gradient(closest-side, rgba(241, 240, 255, 0.2), rgba(241, 240, 255, 0));
  filter: blur(6px);
}
.flotta[data-vista="notte"] .faro,
.flotta[data-vista="notte"] .faro-alone { opacity: 1; }

.scheda { padding-top: 4px; }
.scheda-nome {
  margin: 0 0 4px;
  font-family: var(--serif);
  font-size: clamp(1.9rem, 1.5rem + 1vw, 2.4rem);
  font-weight: 400;
  line-height: 1.1;
}
.pannello-modello { margin: 0 0 10px; font-size: 14px; font-weight: 500; color: var(--oro-brunito); }
.pannello-testo { margin: 0 0 20px; line-height: 1.65; max-width: 46ch; }
.dati-auto {
  display: grid;
  grid-template-columns: repeat(3, auto);
  justify-content: start;
  gap: 10px 28px;
  margin: 0;
}
.dati-auto dt { margin-bottom: 3px; font-size: 12.5px; color: var(--inchiostro-2); }
.dati-auto dd { margin: 0; font-size: 15px; font-weight: 500; }

.dotazioni-blocco { margin-top: 24px; padding-top: 20px; border-top: 1px solid var(--linea-chiara); }
.dotazioni-titolo { margin: 0 0 10px; font-family: var(--serif); font-size: 1.25rem; font-style: italic; }
.dotazioni {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px 16px;
  margin: 0;
  padding: 0;
  list-style: none;
  font-size: 14.5px;
}
.dotazioni li { display: flex; align-items: center; gap: 8px; }
.dotazioni .icona { width: 16px; height: 16px; color: var(--oro-brunito); }

/* ---------- 10. L'Esperienza (servizi) ---------- */
.servizi { padding: clamp(90px, 11vw, 160px) 0; }
.servizi-griglia {
  display: grid;
  grid-template-columns: minmax(0, 4fr) minmax(0, 7fr);
  gap: clamp(32px, 6vw, 96px);
  align-items: start;
}
.servizi-testa { position: sticky; top: calc(var(--testata-h) + 40px); }
.pilastri { margin: 0; padding: 0; list-style: none; }
.pilastro {
  display: grid;
  grid-template-columns: 5.5rem minmax(0, 1fr);
  gap: 20px;
  padding: 34px 0;
  border-top: 1px solid var(--linea-scura);
}
.pilastro:last-child { border-bottom: 1px solid var(--linea-scura); }
.pilastro-num {
  font-family: var(--serif);
  font-size: 3.25rem;
  font-weight: 300;
  line-height: .9;
  letter-spacing: 0.02em;
  color: var(--oro);
}
.pilastro-titolo {
  margin: 0 0 12px;
  font-family: var(--serif);
  font-size: clamp(1.6rem, 1.2rem + 1vw, 2.1rem);
  font-weight: 400;
  line-height: 1.15;
  letter-spacing: 0.01em;
}
.pilastro p { margin: 0; max-width: 56ch; line-height: 1.7; color: var(--stella-2); }

/* ---------- 11. Come funziona il preventivo ---------- */
.procedura {
  background: var(--seta);
  color: var(--inchiostro);
  padding: clamp(90px, 11vw, 150px) 0;
}
.procedura .titolo-sezione,
.procedura .sezione-intro { text-align: center; margin-inline: auto; }
.procedura-passi {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(28px, 4vw, 56px);
  margin: clamp(40px, 5vw, 64px) 0 0;
  padding: 0;
  list-style: none;
}
.procedura-passo { padding-top: 22px; border-top: 1px solid var(--linea-chiara); }
.procedura-num {
  display: block;
  margin-bottom: 10px;
  font-family: var(--serif);
  font-size: 2.6rem;
  font-weight: 300;
  line-height: 1;
  color: var(--oro-brunito);
  font-variant-numeric: lining-nums;
}
.procedura-titolo {
  margin: 0 0 8px;
  font-family: var(--serif);
  font-size: clamp(1.35rem, 1.15rem + .6vw, 1.65rem);
  font-weight: 500;
  line-height: 1.2;
}
.procedura-passo p { margin: 0; line-height: 1.65; color: var(--inchiostro-2); }
.procedura-azione { margin-top: clamp(40px, 5vw, 60px); text-align: center; }

/* ---------- 12. Footer notturno ---------- */
.piede {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: clamp(100px, 12vw, 170px) 0 40px;
}
.piede .cielo { z-index: -1; }
.citazione { max-width: 840px; margin: 0 auto; text-align: center; }
.citazione .emblema { display: block; width: 30px; height: 30px; margin: 0 auto 26px; color: var(--oro); }
.citazione blockquote { margin: 0; }
.citazione p {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(1.9rem, 1.2rem + 2.4vw, 3rem);
  font-style: italic;
  font-weight: 300;
  line-height: 1.25;
  text-wrap: balance;
}
.contatti {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 32px 24px;
  margin: clamp(64px, 8vw, 110px) 0 clamp(56px, 7vw, 90px);
  text-align: center;
}
.contatto-tipo {
  margin: 0 0 10px;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.02em;
  color: var(--stella-2);
}
.contatto-valore {
  display: inline-block;
  padding-bottom: 2px;
  font-family: var(--serif);
  font-size: clamp(1.3rem, 1rem + .9vw, 1.6rem);
  color: var(--stella);
  text-decoration: none;
  overflow-wrap: anywhere;
  border-bottom: 1px solid rgba(212, 184, 134, 0.35);
  transition: color .3s, border-color .3s;
}
.contatto-valore:hover { color: var(--oro); border-color: var(--oro); }
.piede-fondo {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 14px 28px;
  padding-top: 26px;
  border-top: 1px solid var(--linea-scura);
  font-size: 13px;
  color: var(--stella-2);
}
.sicurezza { display: flex; align-items: center; gap: 8px; margin: 0; }
.sicurezza .icona { width: 16px; height: 16px; color: var(--oro); }
.legale { display: flex; flex-wrap: wrap; gap: 6px 22px; margin: 0; }
.legale-link { display: flex; gap: 20px; }
.legale-link a { color: var(--stella-2); text-underline-offset: 3px; }
.legale-link a:hover { color: var(--stella); }

/* ---------- 13. Barra contatti rapidi (smartphone) ---------- */
.barra-mobile { display: none; }

/* ---------- 14. Pagine legali ---------- */
.pagina-legale { min-height: 100vh; padding: calc(var(--testata-h) + 80px) 0 100px; }
.pagina-legale .testata { background: rgba(7, 9, 14, 0.9); }
.pagina-legale h1 { font-family: var(--serif); font-weight: 300; font-size: clamp(2.4rem, 1.6rem + 3vw, 3.6rem); margin: 0 0 24px; }
.pagina-legale p { color: var(--stella-2); line-height: 1.7; max-width: 62ch; }
.pagina-legale a { color: var(--oro); }
.pagina-legale h2 {
  margin: 48px 0 14px;
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(1.5rem, 1.25rem + .8vw, 1.9rem);
  color: var(--stella);
}
.pagina-legale h3 { margin: 26px 0 8px; font-size: 1.0625rem; font-weight: 600; color: var(--stella); }
.pagina-legale ul { max-width: 62ch; margin: 0 0 1em; padding-left: 1.2em; color: var(--stella-2); line-height: 1.7; }
.pagina-legale li { margin-bottom: .55em; }
.pagina-legale li::marker { color: var(--oro); }
.pagina-legale strong { color: var(--stella); font-weight: 600; }
.pagina-legale code { font-size: .92em; color: var(--oro); }
.legale-aggiornato { font-size: 14px; }
.legale-separatore { margin: 80px 0 64px; border: 0; border-top: 1px solid rgba(212, 184, 134, 0.25); }
.legale-ritorno { margin-top: 64px; }
.tabella-legale { overflow-x: auto; margin: 0 0 1.2em; }
.tabella-legale:focus-visible { outline: 2px solid var(--oro); outline-offset: 3px; }
.tabella-legale table { width: 100%; min-width: 520px; border-collapse: collapse; font-size: 15px; color: var(--stella-2); }
.tabella-legale th,
.tabella-legale td { padding: 12px 14px 12px 0; text-align: left; vertical-align: top; border-bottom: 1px solid rgba(212, 184, 134, 0.18); }
.tabella-legale th { font-weight: 600; color: var(--stella); }

/* ---------- 15. Animazioni ---------- */
@keyframes emergi {
  from { opacity: 0; filter: blur(8px); transform: translateY(8px); }
  to { opacity: 1; filter: blur(0); transform: none; }
}
@keyframes sali {
  from { opacity: 0; transform: translateY(16px); }
  to { opacity: 1; transform: none; }
}
@keyframes lampeggia {
  from { background-color: rgba(212, 184, 134, 0.24); }
  to { background-color: rgba(9, 12, 19, 0.72); }
}
@keyframes evidenzia {
  0% { box-shadow: 0 0 0 0 rgba(212, 184, 134, 0.55), 0 30px 80px -30px rgba(0, 0, 0, 0.75); }
  100% { box-shadow: 0 0 0 22px rgba(212, 184, 134, 0), 0 30px 80px -30px rgba(0, 0, 0, 0.75); }
}

/* un solo momento orchestrato: l'arrivo della pagina */
@media (prefers-reduced-motion: no-preference) {
  .hero-titolo { animation: emergi 1.6s var(--ease) both; }
  .hero-sottotitolo { animation: emergi 1.4s .35s var(--ease) both; }
  .widget { animation: sali 1.2s .6s var(--ease) both; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
}

/* ---------- 16. Responsive ---------- */
@media (max-width: 1179px) {
  .rotta { display: none; }
  .campi,
  .widget[data-modo="ritorno"] .campi { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .campo-cta { grid-column: 1 / -1; }
  .auto-scelte { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (max-width: 899px) {
  :root { --testata-h: 68px; }
  .testata-riga { grid-template-columns: 1fr auto; }
  .testata-whatsapp, .testata-prenota { display: none; }
  .menu-apri { display: block; }
  .nav {
    position: fixed;
    inset: var(--testata-h) 0 0 0;
    z-index: 49;
    flex-direction: column;
    justify-content: center;
    gap: 30px;
    padding: 40px 24px 120px;
    background: var(--notte);
    opacity: 0;
    visibility: hidden;
    transition: opacity .35s, visibility .35s;
  }
  .testata.menu-aperto {
    background: var(--notte);
    color: var(--stella);
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
  }
  .menu-aperto .nav { opacity: 1; visibility: visible; }
  .nav-link,
  .su-chiaro.scorrendo .nav-link {
    font-family: var(--serif);
    font-size: 2rem;
    font-weight: 400;
    color: var(--stella);
  }
  .nav-prenota { display: inline-flex; margin-top: 12px; }

  .vetrina { grid-template-columns: 1fr; }
  .servizi-griglia { grid-template-columns: 1fr; }
  .servizi-testa { position: static; }
  .auto-scelte { grid-template-columns: 1fr; }
  .auto-opzione { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 3fr); column-gap: 18px; }
  .auto-opzione > * { grid-column: 2; }
  .auto-opzione-figura { grid-column: 1; grid-row: 1 / span 6; align-self: center; margin: 0; }
}

@media (max-width: 759px) {
  .hero { padding-bottom: 64px; }
  .widget { padding: 10px; border-radius: 18px; }
  .widget-testa { padding: 6px 6px 12px; }
  .modi {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    width: 100%;
    border-bottom: 1px solid var(--linea-scura);
  }
  .modo { justify-content: center; text-align: center; }
  .modo + .modo::before { display: none; }
  .modo span { display: block; width: 100%; padding: 8px 4px 9px; margin-bottom: -1px; font-size: 13.5px; line-height: 1.3; }
  .campi,
  .widget[data-modo="ritorno"] .campi { grid-template-columns: 1fr; }
  .suggerimenti, .ospiti-pannello { max-width: calc(100% - 20px); }

  .foglio-testa { flex-direction: column; gap: 6px; }
  .auto-opzione { display: flex; }
  .auto-opzione-figura { max-width: 240px; }
  .dati-griglia { grid-template-columns: 1fr; }
  .totale { flex-direction: column; align-items: stretch; }
  .totale-cta, .fine-azioni .btn { width: 100%; }

  .flotta-testa { align-items: flex-start; }
  .palco { aspect-ratio: 4 / 3; border-radius: 18px; }
  .palco-figura { width: 96%; }
  .dati-auto { grid-template-columns: repeat(2, auto); }
  .dotazioni { grid-template-columns: 1fr; }

  .pilastro { grid-template-columns: 1fr; gap: 10px; padding: 28px 0; }
  .pilastro-num { font-size: 2.6rem; }

  .procedura-passi { grid-template-columns: 1fr; gap: 24px; }

  .contatti { grid-template-columns: 1fr; }
  .piede { padding-bottom: 110px; }
  .piede-fondo { flex-direction: column; align-items: flex-start; }

  .barra-mobile {
    position: fixed;
    left: 10px; right: 10px;
    bottom: calc(10px + env(safe-area-inset-bottom, 0px));
    z-index: 45;
    display: grid;
    grid-template-columns: 1fr 1fr 1.2fr;
    gap: 6px;
    padding: 6px;
    background: rgba(12, 15, 23, 0.84);
    -webkit-backdrop-filter: blur(16px);
    backdrop-filter: blur(16px);
    border: 1px solid var(--vetro-bordo);
    border-radius: 14px;
    box-shadow: 0 20px 50px -20px rgba(0, 0, 0, 0.8);
  }
  .barra-voce {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 46px;
    border-radius: 10px;
    color: var(--stella);
    font-size: 14px;
    font-weight: 500;
    text-decoration: none;
  }
  .barra-voce .icona { width: 18px; height: 18px; color: var(--oro); }
  .barra-prenota { background: var(--oro); color: var(--notte); font-weight: 600; }
  /* mentre si scrive in un campo la barra si nasconde, così non copre campi e suggerimenti */
  body:has(:is(input:not([type="radio"]), select):focus) .barra-mobile { visibility: hidden; }
}

@media (max-width: 420px) {
  .marchio-nome { font-size: 17px; letter-spacing: 0.18em; }
  .marchio .emblema { width: 22px; height: 22px; }
}
