/* === Font self-hosted (Barlow Condensed + Manrope) — no FOUT nelle transizioni === */
@font-face {
  font-family: 'Barlow Condensed';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(/fonts/barlowcondensed-600-latinext.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-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Barlow Condensed';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(/fonts/barlowcondensed-600-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;
}
@font-face {
  font-family: 'Barlow Condensed';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(/fonts/barlowcondensed-700-latinext.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-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Barlow Condensed';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(/fonts/barlowcondensed-700-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;
}
@font-face {
  font-family: 'Barlow Condensed';
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src: url(/fonts/barlowcondensed-800-latinext.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-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Barlow Condensed';
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src: url(/fonts/barlowcondensed-800-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;
}
@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(/fonts/manrope-400-latinext.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-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(/fonts/manrope-400-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;
}
@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(/fonts/manrope-500-latinext.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-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(/fonts/manrope-500-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;
}
@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(/fonts/manrope-600-latinext.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-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(/fonts/manrope-600-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;
}
@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(/fonts/manrope-700-latinext.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-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(/fonts/manrope-700-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 {
  --ink: #090b0c;
  --basalt: #15181b;
  --ash: #22262a;
  --smoke: #a9a9a4;
  --paper: #f5f4f0;
  --lava: #ff4317;
  --ember: #ff8e4b;
  --line: rgba(255, 255, 255, 0.14);
  /* Larghezza massima del contenuto: sfondi full-bleed, contenuto centrato a 1440px */
  --maxw: 1440px;
  --pad: max(clamp(24px, 6vw, 96px), (100vw - var(--maxw)) / 2);
  --display: "Barlow Condensed", sans-serif;
  --body: "Manrope", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  background: var(--ink);
}

html.lenis,
html.lenis body {
  height: auto;
}

html.lenis {
  scroll-behavior: auto;
}

.lenis.lenis-stopped {
  overflow: clip;
}

.lenis.lenis-smooth iframe {
  pointer-events: none;
}

/* Niente pan orizzontale su mobile: le animazioni d'ingresso (GSAP) tengono gli
   elementi traslati su X finché non scatta il trigger e su Android il layout
   viewport si allarga fino al contenuto ("movimento sull'asse X"). Il clip sulla
   RADICE html blocca l'espansione; hidden resta come fallback per browser vecchi. */
html {
  overflow-x: hidden;
  overflow-x: clip;
}

body {
  margin: 0;
  color: var(--paper);
  background: var(--ink);
  font-family: var(--body);
  line-height: 1.6;
  overflow-x: hidden;
  overflow-x: clip;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

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

.page-transition {
  position: fixed;
  z-index: 200;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
  display: flex;
}

/* Primo ingresso / caricamento diretto: nessun overlay (evita il lampo pre-JS) */
.no-intro .page-transition { display: none !important; }

/* Shutter ORIZZONTALE: 2 colonne × 5 strisce. Default scaleX(1) = sipario CHIUSO (chi
   arriva da una pagina interna è coperto prima che parta JS); l'apertura la anima GSAP. */
.page-transition-col {
  flex: 1;
  display: flex;
  flex-direction: column;
  position: relative;
}

.page-transition-block {
  flex: 1;
  position: relative;
  transform: scaleX(1);
  will-change: transform;
  /* +1px di sormonto verticale e orizzontale: evita filature tra strisce da arrotondamento subpixel */
  margin-top: -1px;
  width: calc(100% + 1px);
}
.page-transition-block:first-child { margin-top: 0; }

.page-transition-col-dark .page-transition-block {
  transform-origin: left;
  background:
    radial-gradient(circle at 130% 50%, rgba(255, 67, 23, 0.18), transparent 55%),
    #090b0c;
}

.page-transition-col-lava .page-transition-block {
  transform-origin: right;
  margin-left: -1px;
  background:
    linear-gradient(145deg, rgba(255, 142, 75, 0.95), rgba(255, 67, 23, 0.98)),
    #ff4317;
}

.page-transition-col-lava .page-transition-block::after {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0.18;
  background: repeating-linear-gradient(
    -18deg,
    transparent 0 46px,
    rgba(0, 0, 0, 0.38) 47px 49px
  );
}

.page-transition-label {
  position: absolute;
  z-index: 2;
  left: 50%;
  top: 50%;
  display: grid;
  gap: 6px;
  min-width: 280px;
  text-align: center;
  transform: translate(-50%, -50%);
}

.page-transition-label span {
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.32em;
  text-transform: uppercase;
}

.page-transition-label strong {
  font-family: var(--display);
  font-size: clamp(48px, 7vw, 100px);
  line-height: 0.9;
  text-transform: uppercase;
}

.site-header {
  position: fixed;
  z-index: 50;
  top: 0;
  left: 0;
  width: 100%;
  min-height: 112px;
  padding: 15px var(--pad);
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1), background 0.35s ease, border-color 0.35s ease;
}

.site-header.is-hidden { transform: translateY(-100%); }

.site-header.is-scrolled {
  background: rgba(9, 11, 12, 0.88);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(18px);
}

.brand {
  position: relative;
  display: grid;
  grid-template-columns: 34px auto;
  grid-template-rows: auto auto;
  column-gap: 10px;
  align-items: center;
  width: max-content;
}

.brand-mark {
  grid-row: 1 / 3;
  position: relative;
  width: 32px;
  height: 32px;
  border: 2px solid var(--lava);
  border-left-color: transparent;
  border-bottom-color: transparent;
  border-radius: 50%;
  transform: rotate(-35deg);
}

.brand-mark::before,
.brand-mark::after,
.brand-mark span {
  content: "";
  position: absolute;
  left: 5px;
  bottom: 5px;
  width: 20px;
  height: 12px;
  background: var(--paper);
  clip-path: polygon(0 100%, 42% 20%, 58% 55%, 74% 8%, 100% 100%);
  transform: rotate(35deg);
}

.brand-name {
  font-family: var(--display);
  font-size: 19px;
  font-weight: 800;
  letter-spacing: 0.08em;
  line-height: 1;
}

.brand-name b {
  color: var(--lava);
}

.brand small {
  font-size: 7px;
  letter-spacing: 0.42em;
  justify-self: end;
  margin-top: 5px;
}

/* ===== Logo immagine (sostituisce il marchio disegnato in CSS) ===== */
.brand {
  display: block;
  width: 178px;   /* ratio 2.228 del logo (606x272), h 80px */
  height: 80px;
  background: url("assets/LogoEtnaSudQuadBianco.webp") left center / contain no-repeat;
  overflow: hidden;
}
.brand > * { display: none !important; }
@media (max-width: 900px) {
  .brand { width: 125px; height: 56px; }   /* tablet */
}
@media (max-width: 620px) {
  .brand { width: 107px; height: 48px; }   /* mobile */
}

.main-nav {
  display: flex;
  align-items: center;
  gap: clamp(20px, 2.5vw, 42px);
}

.main-nav a {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.main-nav a:hover {
  color: var(--ember);
}

.main-nav .nav-cta {
  padding: 11px 19px;
  border: 1px solid rgba(255, 255, 255, 0.45);
  border-radius: 100px;
}

.menu-toggle {
  display: none;
  position: relative;
  border: 0;
  border-radius: 50%;
  background: transparent;
  width: 38px;
  height: 38px;
  cursor: pointer;
}

.menu-toggle:focus {
  outline: none;
}

.menu-toggle:focus-visible {
  outline: 1px solid rgba(255, 111, 62, 0.9);
  outline-offset: 4px;
}

.menu-toggle span:not(.sr-only) {
  position: absolute;
  left: 50%;
  top: 50%;
  display: block;
  width: 22px;
  height: 1.5px;
  background: white;
  transform-origin: center;
  transition:
    transform 0.45s cubic-bezier(0.65, 0, 0.35, 1),
    width 0.3s ease,
    background-color 0.3s ease;
}

.menu-toggle span:first-child {
  transform: translate(-50%, -5px);
}

.menu-toggle span:nth-child(2) {
  transform: translate(-50%, 5px);
}

.menu-toggle[aria-expanded="true"] span:first-child {
  width: 25px;
  transform: translate(-50%, 0) rotate(45deg);
}

.menu-toggle[aria-expanded="true"] span:nth-child(2) {
  width: 25px;
  transform: translate(-50%, 0) rotate(-45deg);
}

.hero {
  position: relative;
  min-height: 100svh;
  height: 920px;
  display: flex;
  align-items: center;
  background: #090b0c;
  overflow: hidden;
}

.hero-media {
  position: absolute;
  inset: -3%;
  background: var(--hero-bg, url("assets/etna-quad-hero.png")) center center / cover no-repeat;
  transform-origin: center;
  will-change: transform, opacity;
}

.hero-shade {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(5, 7, 8, 0.91) 0%, rgba(5, 7, 8, 0.72) 36%, rgba(5, 7, 8, 0.1) 72%),
    linear-gradient(0deg, rgba(5, 7, 8, 0.65) 0%, transparent 42%, rgba(5, 7, 8, 0.18) 100%);
}

.hero-content {
  position: relative;
  z-index: 2;
  width: min(700px, 52vw);
  margin-left: var(--pad);
  padding-top: 72px;
}

.eyebrow,
.section-label {
  margin: 0 0 22px;
  color: var(--lava);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

h1,
h2,
h3 {
  font-family: var(--display);
  text-transform: uppercase;
  margin: 0;
  line-height: 0.92;
}

h1 {
  max-width: 690px;
  font-size: clamp(68px, 7.1vw, 112px);
  font-weight: 800;
  letter-spacing: -0.025em;
}

/* Titolo hero: massimo 3 righe. --hero-title-scale lo imposta il template solo quando
   il testo (tipicamente una traduzione più lunga dell'italiano) ne richiederebbe di più:
   riduce il corpo quel tanto che basta, senza toccare il design italiano. */
.hero-title {
  font-size: calc(clamp(68px, 7.1vw, 112px) * var(--hero-title-scale, 1));
}

.hero-title-line {
  display: block;
  overflow: hidden;
  padding-bottom: 0.04em;
  margin-bottom: -0.04em;
}

.hero-title-line > span {
  display: block;
  will-change: transform;
}

.hero-copy {
  max-width: 600px;
  margin: 32px 0 0;
  color: rgba(255, 255, 255, 0.78);
  font-size: clamp(15px, 1.3vw, 19px);
  line-height: 1.75;
}

.hero-actions,
.booking-actions {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: 34px;
}

.button {
  min-height: 56px;
  padding: 0 28px;
  border-radius: 100px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  transition: transform 0.25s ease, background 0.25s ease;
}

.button:hover {
  transform: translateY(-3px);
}

.button-primary {
  color: white;
  background: linear-gradient(110deg, var(--lava), var(--ember));
  box-shadow: 0 12px 40px rgba(255, 67, 23, 0.24);
}

.button-ghost {
  border: 1px solid rgba(255, 255, 255, 0.65);
  background: rgba(0, 0, 0, 0.17);
  backdrop-filter: blur(8px);
}

/* Effetto "flow" anche sui pulsanti standard: morph degli angoli + cerchio che si
   espande dal centro (inversione colore) all'hover. Niente frecce (servirebbe il <span>):
   quelle restano esclusiva delle CTA hero con .flow-btn. */
.button {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  transition: transform 0.25s ease, background 0.25s ease,
    color 0.55s cubic-bezier(0.23, 1, 0.32, 1),
    border-radius 0.55s cubic-bezier(0.23, 1, 0.32, 1);
}
.button:hover { border-radius: 16px; }
.button:active { transform: scale(0.97); }
.button::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  transform: translate(-50%, -50%) scale(0);
  z-index: -1;
  transition: transform 0.7s cubic-bezier(0.19, 1, 0.22, 1);
}
.button:hover::before { transform: translate(-50%, -50%) scale(26); }
.button-primary::before { background: var(--ink, #0a0a0b); }
.button-primary:hover { color: #fff; }
.button-ghost::before { background: var(--lava); }
.button-ghost:hover { color: #fff; border-color: transparent; }
.button:disabled { opacity: 0.55; pointer-events: none; }

/* ===== Flow button (hover: morph angoli + cerchio che si espande + frecce) ===== */
.flow-btn {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 56px;
  padding: 0 30px;
  border-radius: 100px;
  border: 1.5px solid transparent;
  font-family: var(--body);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  cursor: pointer;
  transition: color 0.6s cubic-bezier(0.23, 1, 0.32, 1),
    border-color 0.6s ease,
    border-radius 0.6s cubic-bezier(0.23, 1, 0.32, 1);
}
.flow-btn:hover { border-radius: 14px; }
.flow-btn:active { transform: scale(0.96); }

/* cerchio che si espande dal centro */
.flow-btn::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  transform: translate(-50%, -50%) scale(0);
  z-index: -1;
  transition: transform 0.7s cubic-bezier(0.19, 1, 0.22, 1);
}
.flow-btn:hover::before { transform: translate(-50%, -50%) scale(28); }

/* testo + due frecce */
.flow-btn span {
  position: relative;
  z-index: 1;
  display: inline-block;
  transform: translateX(-10px);
  transition: transform 0.8s cubic-bezier(0.23, 1, 0.32, 1);
}
.flow-btn:hover span { transform: translateX(10px); }
.flow-btn span::before,
.flow-btn span::after {
  content: "→";
  position: absolute;
  top: 50%;
  font-weight: 400;
  transform: translateY(-50%);
  transition: all 0.8s cubic-bezier(0.34, 1.56, 0.64, 1);
}
/* freccia destra: visibile a riposo, esce a destra all'hover */
.flow-btn span::after { right: -24px; opacity: 1; }
.flow-btn:hover span::after { right: -48px; opacity: 0; }
/* freccia sinistra: nascosta a riposo, entra da sinistra all'hover */
.flow-btn span::before { left: -48px; opacity: 0; }
.flow-btn:hover span::before { left: -24px; opacity: 1; }

/* Variante TRASPARENTE → si riempie di arancione all'hover */
.flow-btn--ghost {
  color: var(--paper);
  border-color: rgba(255, 255, 255, 0.5);
  background: rgba(0, 0, 0, 0.15);
  backdrop-filter: blur(6px);
}
.flow-btn--ghost::before { background: var(--lava); }
.flow-btn--ghost:hover { color: #fff; border-color: transparent; }

/* Variante ARANCIONE → arancione pieno, si riempie di scuro all'hover */
.flow-btn--lava {
  color: #fff;
  background: linear-gradient(110deg, var(--lava), var(--ember));
  box-shadow: 0 12px 40px rgba(255, 67, 23, 0.24);
}
.flow-btn--lava::before { background: var(--ink); }
.flow-btn--lava:hover { color: #fff; }

@media (max-width: 620px) {
  .flow-btn { width: 100%; }
}

.hero-facts {
  position: absolute;
  z-index: 2;
  left: var(--pad);
  bottom: 64px;
  width: min(650px, 48vw);
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.hero-facts > div {
  display: flex;
  align-items: center;
  gap: 13px;
}

.fact-icon {
  font-size: 28px;
  font-weight: 300;
}

.hero-facts p {
  margin: 0;
  color: rgba(255, 255, 255, 0.7);
  font-size: 10px;
  letter-spacing: 0.11em;
  line-height: 1.7;
  text-transform: uppercase;
}

.hero-facts strong {
  color: white;
}

.scroll-cue {
  position: absolute;
  z-index: 2;
  right: 42px;
  bottom: 38px;
  display: flex;
  align-items: center;
  gap: 16px;
  font-size: 9px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  transform: rotate(90deg) translateX(-100%);
  transform-origin: bottom right;
}

.scroll-cue i {
  display: block;
  width: 55px;
  height: 1px;
  background: white;
}

.section-pad {
  padding: clamp(90px, 10vw, 160px) var(--pad);
}

.intro {
  position: relative;
  overflow: hidden;
  background: var(--paper);
  color: var(--ink);
}
.intro::before {
  content: "ETNA SUD";
  position: absolute;
  left: var(--pad);
  top: clamp(40px, 6vh, 90px);
  z-index: 0;
  color: rgba(9, 11, 12, 0.05);   /* tenue scuro: leggibile su sfondo chiaro */
  font-family: var(--display);
  font-size: 16vw;
  font-weight: 800;
  line-height: 0.9;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  white-space: nowrap;
  pointer-events: none;
  transform: translate3d(calc(var(--wm-x, 0) * 1vw), 0, 0);
  will-change: transform;
}
.intro > * {
  position: relative;
  z-index: 1;
}

.intro .section-label,
.tours .section-label,
.faq .section-label {
  color: var(--lava);
}

.intro-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: clamp(60px, 9vw, 150px);
  align-items: start;
}

.intro h2,
.section-heading h2,
.voucher-how h2,
#acquista h2,
.faq h2 {
  font-size: clamp(58px, 7vw, 104px);
}

.intro-grid > div {
  max-width: 610px;
  color: #505255;
  font-size: 15px;
}

.intro-grid .lead {
  margin-top: 5px;
  color: var(--ink);
  font-size: clamp(20px, 2vw, 29px);
  font-weight: 500;
  line-height: 1.5;
}

.ride-story {
  position: relative;
  height: 300vh;
  background: var(--basalt);
}

.ride-sticky {
  position: sticky;
  top: 0;
  height: 100vh;
  min-height: 720px;
  display: grid;
  grid-template-columns: 0.75fr 1.25fr;
  align-items: center;
  overflow: hidden;
  padding: 80px var(--pad);
}

.ride-sticky::before {
  content: "ANTHER A500";
  position: absolute;
  left: 4vw;
  top: 10vh;
  color: rgba(255, 255, 255, 0.035);
  font-family: var(--display);
  font-size: 11vw;
  font-weight: 800;
  line-height: 1;
  transform: translate3d(calc(var(--wm-x, 0) * 1vw), 0, 0);
  will-change: transform;
}

.ride-copy {
  position: relative;
  z-index: 3;
  max-width: 530px;
}

.ride-copy h2 {
  font-size: clamp(58px, 6vw, 94px);
}

.ride-copy > p:not(.eyebrow) {
  max-width: 500px;
  margin-top: 28px;
  color: var(--smoke);
}

.ride-feature {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 18px;
  max-width: 470px;
  margin-top: 32px;
  padding: 18px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.13);
  border-bottom: 1px solid rgba(255, 255, 255, 0.13);
}

.ride-feature > span {
  color: var(--lava);
  font-family: var(--display);
  font-size: 31px;
  font-weight: 700;
  line-height: 1;
}

.ride-feature h3 {
  color: var(--paper);
  font-family: var(--display);
  font-size: 25px;
  line-height: 1;
  text-transform: uppercase;
}

.ride-feature p {
  max-width: 390px;
  margin-top: 7px;
  color: var(--smoke);
  font-size: 13px;
  line-height: 1.55;
}

.ride-progress {
  margin-top: 30px;
  max-width: 370px;
}

.ride-progress span {
  color: var(--paper);
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.ride-progress > div {
  height: 2px;
  margin-top: 14px;
  background: rgba(255, 255, 255, 0.12);
}

.ride-progress i {
  display: block;
  width: 0;
  height: 100%;
  background: linear-gradient(90deg, var(--lava), var(--ember));
}

.ride-visual {
  position: relative;
  height: min(70vh, 680px);
  isolation: isolate;
}

.lava-route {
  position: absolute;
  inset: 12% 0 auto;
  width: 100%;
  height: 80%;
  overflow: visible;
  opacity: 0.58;
  filter: drop-shadow(0 0 10px rgba(255, 67, 23, 0.3));
}

.lava-route path {
  fill: none;
  stroke: url("#lava");
  stroke-width: 5;
  stroke-linecap: round;
  stroke-dasharray: 1100;
  stroke-dashoffset: 1100;
}

.quad-stage {
  position: absolute;
  inset: 0;
  z-index: 2;
}

.quad-glow {
  position: absolute;
  width: 58%;
  aspect-ratio: 1;
  left: 23%;
  top: 7%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 91, 34, 0.22), rgba(255, 67, 23, 0.03) 48%, transparent 70%);
  filter: blur(20px);
}

.quad-shadow {
  position: absolute;
  width: 63%;
  height: 12%;
  left: 20%;
  bottom: 11%;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.72);
  filter: blur(19px);
  transform: scaleX(1);
}

.quad-canvas {
  position: absolute;
  inset: 2% 0 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: drop-shadow(0 25px 32px rgba(0, 0, 0, 0.55));
  will-change: transform;
}

.quad-fallback {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: drop-shadow(0 25px 32px rgba(0, 0, 0, 0.55));
}

.quad-spec {
  position: absolute;
  z-index: 4;
  display: grid;
  gap: 3px;
  opacity: 0.18;
  transition: opacity 0.35s ease, transform 0.35s ease;
}

.quad-spec::before {
  content: "";
  position: absolute;
  top: 50%;
  width: 65px;
  height: 1px;
  background: linear-gradient(90deg, var(--lava), transparent);
}

.quad-spec b {
  font-family: var(--display);
  font-size: 18px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.quad-spec span {
  color: var(--smoke);
  font-size: 8px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.quad-spec-engine {
  right: 3%;
  top: 18%;
  transform: translateX(12px);
}

.quad-spec-engine::before,
.quad-spec-handling::before {
  right: calc(100% + 12px);
  transform: rotate(180deg);
}

.quad-spec-handling {
  right: 0;
  top: 48%;
  transform: translateX(12px);
}

.quad-spec-traction {
  left: 6%;
  bottom: 17%;
  transform: translateX(-12px);
}

.quad-spec-traction::before,
.quad-spec-gearbox::before {
  left: calc(100% + 12px);
}

.quad-spec-gearbox {
  left: 4%;
  top: 22%;
  transform: translateX(-12px);
}

.quad-stage[data-phase="gearbox"] .quad-spec-gearbox,
.quad-stage[data-phase="engine"] .quad-spec-engine,
.quad-stage[data-phase="traction"] .quad-spec-traction,
.quad-stage[data-phase="handling"] .quad-spec-handling {
  opacity: 1;
  transform: translateX(0);
}

.dust {
  position: absolute;
  border-radius: 50%;
  background: rgba(210, 197, 170, 0.12);
  filter: blur(30px);
}

.dust-one {
  width: 260px;
  height: 90px;
  left: 8%;
  bottom: 18%;
}

.dust-two {
  width: 180px;
  height: 70px;
  right: 9%;
  bottom: 24%;
}

.tours {
  background: var(--ink);
}

.section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 60px;
  margin-bottom: 70px;
}

.section-heading p {
  max-width: 430px;
  color: var(--smoke);
}

.tour-grid {
  display: grid;
  /* auto-fit + larghezza fissa a 1/3: con 3 card layout identico a prima; con 1-2 card
     le colonne vuote collassano e le card restanti vengono CENTRATE (justify-content),
     mantenendo la stessa larghezza. Vale anche per sentieri/trekking. */
  grid-template-columns: repeat(auto-fit, minmax(0, calc((100% - 40px) / 3)));
  justify-content: center;
  gap: 20px;
}

.tour-card {
  min-height: 590px;
  position: relative;
  isolation: isolate;
  padding: 34px;
  border: 1px solid var(--line);
  border-radius: 18px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  will-change: transform, opacity;
  transition: border-color 0.4s ease, transform 0.4s ease;
}

/* Spotlight glow che segue il cursore (solo arancione) */
.tour-glow {
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  border-radius: inherit;
  opacity: 0;
  transition: opacity 0.45s ease;
  background: radial-gradient(
    260px 260px at var(--x, 50%) var(--y, 50%),
    rgba(255, 67, 23, 0.26),
    rgba(255, 142, 75, 0.12) 42%,
    transparent 72%
  );
}
.tour-card:hover { border-color: rgba(255, 67, 23, 0.55); }
.tour-card:hover .tour-glow { opacity: 1; }

.tour-green {
  background: linear-gradient(160deg, #384238, #161a18 64%);
}

.tour-sunset {
  background: linear-gradient(160deg, #67331f, #1b1513 64%);
}

.tour-dark {
  background: linear-gradient(160deg, #343c42, #151719 64%);
}

.tour-map {
  position: relative;
  height: 190px;
  margin: -34px -34px 25px;
  overflow: hidden;
  background:
    linear-gradient(150deg, transparent 35%, rgba(0, 0, 0, 0.55) 36% 55%, transparent 56%),
    linear-gradient(30deg, rgba(0, 0, 0, 0.45), transparent);
}

.tour-map span { display: none; } /* rimosso l'arco arancione decorativo sopra le immagini */

.tour-index {
  color: var(--ember);
  font-size: 10px;
  letter-spacing: 0.16em;
}

.tour-card h3 {
  font-size: clamp(35px, 3vw, 52px);
  line-height: 1;
}

.tour-card > p:not(.tour-index) {
  color: rgba(255, 255, 255, 0.65);
  min-height: 76px;
}

.tour-card dl {
  display: grid;
  grid-template-columns: 1fr 1fr;
  margin: 20px 0 35px;
  padding: 18px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.tour-card dl div + div {
  padding-left: 22px;
  border-left: 1px solid var(--line);
}

.tour-card dt {
  color: var(--smoke);
  font-size: 9px;
  text-transform: uppercase;
}

.tour-card dd {
  margin: 4px 0 0;
  font-size: 13px;
  font-weight: 700;
}

.tour-card > a {
  display: flex;
  justify-content: space-between;
  margin-top: auto;
  color: var(--paper);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.trust {
  display: grid;
  grid-template-columns: repeat(3, 0.55fr) 1.35fr;
  gap: 40px;
  align-items: center;
  color: var(--ink);
  background: var(--paper);
}

.trust-stat {
  display: flex;
  align-items: end;
  gap: 12px;
}

.trust-stat strong {
  font-family: var(--display);
  font-size: clamp(48px, 4.6vw, 82px);
  line-height: 0.82;
  white-space: nowrap;
}

.trust-stat span {
  color: #55585b;
  font-size: 10px;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.trust blockquote {
  margin: 0;
  padding-left: 35px;
  border-left: 1px solid rgba(0, 0, 0, 0.25);
  font-family: var(--display);
  font-size: clamp(26px, 2.6vw, 42px);
  font-weight: 600;
  line-height: 1.15;
  text-transform: uppercase;
}

.trust blockquote footer {
  margin-top: 18px;
  color: #666;
  font-family: var(--body);
  font-size: 9px;
  letter-spacing: 0.1em;
}

.faq {
  display: grid;
  grid-template-columns: 0.75fr 1.25fr;
  gap: 9vw;
  background: #111416;
}

.faq h2 {
  font-size: clamp(58px, 6vw, 90px);
}

.accordion details {
  padding: 28px 0;
  border-top: 1px solid var(--line);
}

.accordion details:last-child {
  border-bottom: 1px solid var(--line);
}

.accordion summary {
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  gap: 20px;
  font-size: 16px;
  font-weight: 600;
}

.accordion summary::after {
  content: "+";
  color: var(--lava);
  font-size: 23px;
}

.accordion details[open] summary::after {
  content: "−";
}

/* La domanda è un h3 (peso semantico per Google/AI) ma deve restare visivamente
   identica al testo semplice che c'era prima dentro il summary. */
.accordion summary .faq-q {
  font: inherit;
  margin: 0;
  color: inherit;
  text-transform: none;
  letter-spacing: normal;
}

.accordion details p {
  max-width: 650px;
  color: var(--smoke);
}

.booking-cta {
  position: relative;
  min-height: 760px;
  padding: 110px var(--pad);
  display: flex;
  align-items: center;
  overflow: hidden;
}

.booking-image,
.booking-overlay {
  position: absolute;
  inset: 0;
}

.booking-image {
  background: var(--booking-bg, url("assets/etna-quad-hero.png")) center 58% / cover no-repeat;
  transform: scale(1.03);
  will-change: transform;
}

.booking-overlay {
  background:
    linear-gradient(90deg, rgba(9, 11, 12, 0.95), rgba(9, 11, 12, 0.55) 60%, rgba(255, 67, 23, 0.16)),
    linear-gradient(0deg, var(--ink), transparent 45%, var(--ink));
}

.booking-content {
  position: relative;
  z-index: 2;
  max-width: 780px;
}

.booking-content h2 {
  /* Ridotto per far entrare la parola più lunga (es. "Organizziamo") nel contenitore:
     la maschera di SplitText tagliava l'ultimo glifo quando la parola sforava. */
  font-size: clamp(44px, 7.5vw, 112px);
}

.booking-content > p:not(.eyebrow) {
  max-width: 570px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 18px;
}

.text-link {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border-bottom: 1px solid rgba(255, 255, 255, 0.5);
  padding-bottom: 5px;
}

.site-footer {
  padding: 85px var(--pad) 35px;
  background: #070809;
  border-top: 1px solid var(--line);
}

.inner-page {
  min-height: 100vh;
}

.inner-page .site-header {
  background: rgba(9, 11, 12, 0.92);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(18px);
}

.main-nav .is-current {
  color: var(--ember);
}

.inner-hero {
  position: relative;
  min-height: calc(100svh - 76px);
  height: 880px;
  padding: 150px var(--pad) 80px;
  display: flex;
  align-items: center;
  overflow: hidden;
  isolation: isolate;
}

.inner-hero-media,
.inner-hero-overlay {
  position: absolute;
  z-index: -2;
  inset: -4%;
}

.inner-hero-media {
  background: var(--inner-hero-bg, url("assets/etna-quad-hero.png")) center / cover no-repeat;
  filter: saturate(0.78) contrast(1.08);
  will-change: transform, opacity;
}

.inner-contact-media {
  background-position: 36% center;
  filter: saturate(0.55) contrast(1.15);
}

.inner-faq-media {
  background-position: 72% center;
  filter: saturate(0.35) contrast(1.2);
}

.inner-hero-overlay {
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(5, 7, 8, 0.97), rgba(5, 7, 8, 0.7) 52%, rgba(5, 7, 8, 0.16)),
    linear-gradient(0deg, rgba(5, 7, 8, 0.8), transparent 48%);
}

.inner-hero-content {
  position: relative;
  z-index: 2;
  max-width: 880px;
}

.inner-hero-content h1 {
  max-width: 900px;
  font-size: clamp(76px, 10vw, 154px);
}

.inner-hero-content h1 span {
  color: transparent;
  -webkit-text-stroke: 1px rgba(255, 255, 255, 0.72);
}

.inner-hero-content > p:not(.eyebrow) {
  max-width: 610px;
  margin: 32px 0;
  color: rgba(255, 255, 255, 0.74);
  font-size: 17px;
}

.inner-hero-index {
  position: absolute;
  z-index: 1;
  right: var(--pad);
  top: 50%;
  color: rgba(255, 255, 255, 0.09);
  font-family: var(--display);
  font-size: clamp(180px, 27vw, 420px);
  font-weight: 800;
  line-height: 0.7;
  transform: translateY(-50%);
}

.inner-hero-note {
  position: absolute;
  left: var(--pad);
  bottom: 36px;
  margin: 0;
  font-size: 9px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.inner-contact-links {
  display: flex;
  flex-wrap: wrap;
  gap: 15px 35px;
  margin-top: 38px;
}

.inner-contact-links a {
  padding-bottom: 6px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.45);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.inner-footer {
  padding-top: 35px;
}

.footer-top {
  display: grid;
  grid-template-columns: 2fr repeat(3, 1fr);
  gap: 7vw;
  padding-bottom: 75px;
}

.footer-brand > p {
  max-width: 390px;
  margin-top: 35px;
  color: #828584;
  font-size: 13px;
}

/* Dati societari (ragione sociale, P.IVA, REA, PEC) sotto la descrizione del brand:
   prima esistevano solo su /privacy e /termini — trasparenza/E-E-A-T nel footer. */
.footer-brand > .footer-legal {
  margin-top: 14px;
  font-size: 11.5px;
  line-height: 1.7;
  color: #6d7170;
}

.footer-column {
  display: flex;
  flex-direction: column;
  gap: 13px;
}

.footer-column h3 {
  margin: 0 0 10px;
  color: #777a79;
  font-family: var(--body);
  font-size: 9px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.footer-column a,
.footer-column p {
  margin: 0;
  color: #c9cac7;
  font-size: 12px;
}

.footer-column a:hover {
  color: var(--ember);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 25px;
  padding-top: 28px;
  border-top: 1px solid var(--line);
  color: #686b6b;
  font-size: 9px;
  letter-spacing: 0.04em;
}

.footer-bottom p {
  margin: 0;
}

.footer-bottom div {
  display: flex;
  gap: 30px;
}

.footer-pay {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 14px;
  padding: 22px 0;
  border-top: 1px solid var(--line);
  color: #9a9c9a;
  font-size: 12px;
}
.footer-pay-lock { color: #46c46a; }
.pay-badges { display: flex; gap: 8px; margin-left: auto; }
.pay-badges b {
  font-weight: 600;
  font-size: 11px;
  letter-spacing: 0.04em;
  color: #c9cac7;
  padding: 6px 12px;
  border: 1px solid var(--line);
  border-radius: 7px;
  background: rgba(255, 255, 255, 0.03);
}
@media (max-width: 620px) {
  .pay-badges { margin-left: 0; width: 100%; }
}

/* Sub-footer: blocco pagamenti sicuri a destra (home) */
.footer-bottom .footer-secure {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #9a9c9a;
  font-size: 12px;
}
.pay-logos { display: flex; gap: 6px; flex-wrap: wrap; align-items: center; }
.pm {
  height: 24px;
  min-width: 36px;
  padding: 0 7px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 2px;
  border-radius: 5px;
  background: #fff;
  color: #15181b;
  font-size: 11px;
  font-weight: 800;
  line-height: 1;
  letter-spacing: 0;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.35);
}
.pm svg { display: block; }
/* Loghi pagamento reali (SVG). Le carte hanno già sfondo bianco proprio; PayPal è
   un'icona blu che mettiamo in una pill bianca per uniformarla. "Bonifico" resta testo. */
.pay-logos { gap: 7px; }
/* Altezza unica per TUTTI i badge = altezza della pill Bonifico (26px). */
.pay-logos .pm { height: 26px; }
/* Carte e PayPal: stessa identica dimensione (38×26). Bonifico resta più largo (è testo). */
.pay-logo { width: 38px; height: 26px; display: block; border-radius: 5px; box-shadow: 0 1px 2px rgba(0, 0, 0, 0.35); }
.pm-pp { width: 38px; height: 26px; padding: 0; }
.pm-pp img { height: 16px; width: auto; display: block; }
.pm-bonifico { font-weight: 700; }
@media (max-width: 760px) {
  .footer-bottom .footer-secure { flex-wrap: wrap; }
}

.mobile-booking {
  display: none;
}

@media (max-width: 900px) {
  .site-header {
    min-height: 84px;
    padding-top: 14px;
    padding-bottom: 14px;
    transition:
      background-color 0.3s ease,
      border-color 0.3s ease;
  }

  .site-header.menu-open {
    background: #090b0c;
    border-bottom-color: transparent;
    backdrop-filter: none;
  }

  body.menu-open .mobile-booking {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
  }

  .site-header .brand {
    z-index: 3;
  }

  .menu-toggle {
    display: block;
    z-index: 4;
  }

  .main-nav {
    position: fixed;
    inset: 0;
    z-index: 2;
    padding: 125px 28px 45px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 24px;
    background: #090b0c;
    visibility: hidden;
    transform: translateX(100%);
    pointer-events: none;
    transition:
      transform 0.55s cubic-bezier(0.76, 0, 0.24, 1),
      visibility 0s linear 0.55s;
  }

  .main-nav.is-open {
    visibility: visible;
    transform: translateX(0);
    pointer-events: auto;
    transition:
      transform 0.55s cubic-bezier(0.76, 0, 0.24, 1),
      visibility 0s;
  }

  .main-nav a {
    font-family: var(--display);
    font-size: 34px;
    will-change: transform, opacity;
  }

  @media (prefers-reduced-motion: reduce) {
    .menu-toggle span:not(.sr-only),
    .main-nav,
    .main-nav a {
      transition-duration: 0.01ms;
      transition-delay: 0s;
    }
  }

  .main-nav .nav-cta {
    margin-top: 15px;
    font-family: var(--body);
    font-size: 13px;
  }

  .hero {
    min-height: 840px;
    height: 100svh;
    align-items: flex-start;
  }

  .hero-media {
    background-position: 65% center;
  }

  .hero-shade {
    background:
      linear-gradient(180deg, rgba(5, 7, 8, 0.45), rgba(5, 7, 8, 0.22) 40%, rgba(5, 7, 8, 0.9) 82%),
      linear-gradient(90deg, rgba(5, 7, 8, 0.78), transparent 78%);
  }

  .hero-content {
    width: auto;
    max-width: 560px;
    margin: 0;
    padding: 128px 24px 0;
  }

  .eyebrow {
    margin-bottom: 18px;
    font-size: 10px;
  }

  h1 {
    font-size: clamp(58px, 17vw, 78px);
    line-height: 0.9;
  }

  .hero-copy {
    max-width: 500px;
    margin-top: 25px;
    font-size: 14px;
    line-height: 1.65;
  }

  .hero-actions {
    margin-top: 26px;
  }

  .button {
    min-height: 52px;
    padding: 0 22px;
    font-size: 10px;
  }

  .hero-facts {
    left: 24px;
    right: 24px;
    bottom: 45px;
    width: auto;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
  }

  .fact-icon {
    display: none;
  }

  .hero-facts p {
    font-size: 7px;
  }

  .scroll-cue {
    display: none;
  }

  .intro-grid,
  .faq {
    grid-template-columns: 1fr;
    gap: 50px;
  }

  .intro h2,
  .section-heading h2,
  .voucher-how h2,
  #acquista h2,
  .faq h2 {
    font-size: clamp(54px, 15vw, 78px);
  }

  .ride-story {
    height: 230vh;
  }

  .ride-sticky {
    min-height: 720px;
    grid-template-columns: 1fr;
    grid-template-rows: auto 1fr;
    align-content: center;
    padding: 95px 20px 65px;
  }

  .ride-sticky::before {
    top: 12vh;
    left: 15px;
    font-size: 20vw;
  }

  .ride-copy h2 {
    font-size: clamp(54px, 14vw, 74px);
  }

  .ride-copy > p:not(.eyebrow) {
    display: none;
  }

  .ride-feature {
    gap: 12px;
    margin-top: 18px;
    padding: 12px 0;
  }

  .ride-feature > span {
    font-size: 24px;
  }

  .ride-feature h3 {
    font-size: 20px;
  }

  .ride-feature p {
    font-size: 11px;
  }

  .ride-progress {
    margin-top: 16px;
  }

  .ride-visual {
    height: 48vh;
    min-height: 350px;
  }

  .quad-stage {
    inset: 5% -5% 0;
  }

  .quad-canvas {
    inset: 4% 0 0;
  }

  .quad-spec {
    display: none;
  }

  .section-heading {
    display: block;
  }

  .section-heading > p {
    margin-top: 25px;
  }

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

  .tour-card {
    min-height: 520px;
  }

  .trust {
    grid-template-columns: repeat(3, 1fr);
  }

  .trust blockquote {
    grid-column: 1 / -1;
    margin-top: 35px;
    padding: 30px 0 0;
    border-left: 0;
    border-top: 1px solid rgba(0, 0, 0, 0.2);
  }

  .booking-cta {
    min-height: 700px;
  }

  .footer-top {
    grid-template-columns: 1.5fr repeat(3, 1fr);
    gap: 40px;
  }
}

@media (max-width: 620px) {
  body {
    padding-bottom: 72px;
  }

  .site-header {
    min-height: 74px;
    padding-top: 13px;
    padding-bottom: 13px;
  }

  .brand-mark {
    width: 28px;
    height: 28px;
  }

  .brand-name {
    font-size: 16px;
  }

  .hero {
    min-height: 820px;
  }

  .hero-content {
    padding-top: 112px;
  }

  .hero-copy {
    max-width: 330px;
  }

  .hero-actions {
    align-items: stretch;
    flex-direction: column;
    max-width: 280px;
    gap: 10px;
  }

  .button {
    width: 100%;
  }

  .button-ghost {
    background: rgba(0, 0, 0, 0.3);
  }

  .hero-facts {
    bottom: 30px;
  }

  .hero-facts > div {
    border-left: 1px solid rgba(255, 255, 255, 0.28);
    padding-left: 8px;
  }

  .section-pad {
    padding-top: 90px;
    padding-bottom: 90px;
  }

  .intro-grid {
    gap: 35px;
  }

  .intro-grid .lead {
    font-size: 20px;
  }

  .ride-sticky {
    padding-top: 88px;
  }

  .ride-copy h2 {
    font-size: 53px;
  }

  .quad-stage {
    inset: 3% -8% 0;
  }

  .tour-card {
    padding: 25px;
  }

  .tour-map {
    margin: -25px -25px 25px;
  }

  .trust {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .trust-stat {
    padding-bottom: 24px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.12);
  }

  .trust blockquote {
    grid-column: auto;
  }

  .booking-cta {
    min-height: 690px;
    align-items: end;
    padding-bottom: 100px;
  }

  .booking-image {
    background-position: 70% center;
  }

  .booking-overlay {
    background:
      linear-gradient(0deg, rgba(9, 11, 12, 0.98), rgba(9, 11, 12, 0.3) 78%),
      linear-gradient(90deg, rgba(9, 11, 12, 0.65), transparent);
  }

  .booking-content h2 {
    font-size: clamp(40px, 12vw, 60px);
  }

  .booking-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .booking-actions .text-link {
    width: max-content;
    margin-top: 8px;
  }

  .footer-top {
    grid-template-columns: 1fr 1fr;
  }

  .footer-brand {
    grid-column: 1 / -1;
    padding-bottom: 30px;
    border-bottom: 1px solid var(--line);
  }

  .footer-column:last-child {
    grid-column: 1 / -1;
  }

  .footer-bottom {
    flex-direction: column;
  }

  .footer-bottom div {
    flex-wrap: wrap;
  }

  /* CTA mobile: barra rettangolare piena, attaccata al fondo (niente pill flottante).
     Con safe-area per il notch/home-indicator iOS. */
  .mobile-booking {
    position: fixed;
    z-index: 60;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 17px 24px;
    padding-bottom: calc(17px + env(safe-area-inset-bottom, 0px));
    color: white;
    background: linear-gradient(105deg, var(--lava), var(--ember));
    box-shadow: 0 -4px 18px rgba(0, 0, 0, 0.28);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
  }

  /* La barra CTA è fissa: lasciamo spazio sotto la pagina (solo dove è visibile,
     cioè non nelle pagine interne) così non copre il footer. */
  body:not(.inner-page) {
    padding-bottom: calc(58px + env(safe-area-inset-bottom, 0px));
  }

  .inner-hero {
    min-height: 100svh;
    height: auto;
    padding: 130px 24px 100px;
    align-items: center;
  }

  .inner-hero-media {
    background-position: 64% center;
  }

  .inner-hero-overlay {
    background:
      linear-gradient(180deg, rgba(5, 7, 8, 0.45), rgba(5, 7, 8, 0.9) 78%),
      linear-gradient(90deg, rgba(5, 7, 8, 0.78), transparent);
  }

  .inner-hero-content h1 {
    font-size: clamp(64px, 19vw, 92px);
  }

  .inner-hero-content > p:not(.eyebrow) {
    font-size: 14px;
  }

  .inner-hero-index {
    right: -20px;
    top: 28%;
    font-size: 55vw;
  }

  .inner-hero-note {
    left: 24px;
    right: 24px;
    bottom: 28px;
    font-size: 7px;
  }

  .inner-footer {
    padding-bottom: 90px;
  }

  .inner-page .mobile-booking {
    display: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* ===== Form (contatti + prenotazioni) ===== */
.form { display: grid; gap: 22px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.field { display: grid; gap: 9px; }
.field label {
  font-size: 11px; font-weight: 700; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--smoke);
}
.field input,
.field select,
.field textarea {
  width: 100%; padding: 14px 16px; color: var(--paper);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--line); border-radius: 12px;
  font-family: var(--body); font-size: 15px;
  transition: border-color 0.25s ease, background 0.25s ease;
}
.field textarea { min-height: 150px; resize: vertical; }
.field input::placeholder,
.field textarea::placeholder { color: rgba(255, 255, 255, 0.34); }
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none; border-color: var(--lava); background: rgba(255, 255, 255, 0.06);
}
.field input[type="date"]::-webkit-calendar-picker-indicator { filter: invert(0.85); opacity: 0.7; cursor: pointer; }
.field select {
  appearance: none; -webkit-appearance: none; cursor: pointer;
  background-image:
    linear-gradient(45deg, transparent 50%, var(--ember) 50%),
    linear-gradient(135deg, var(--ember) 50%, transparent 50%);
  background-position: calc(100% - 20px) center, calc(100% - 15px) center;
  background-size: 5px 5px, 5px 5px; background-repeat: no-repeat;
}
.field select option { background: var(--basalt); color: var(--paper); }
.form-consent { display: flex; align-items: flex-start; gap: 11px; color: var(--smoke); font-size: 12px; }
.form-consent input { width: 16px; height: 16px; margin-top: 2px; accent-color: var(--lava); }
.form-consent a { color: var(--ember); text-decoration: underline; }
.form .button { justify-self: start; margin-top: 4px; }
.form-feedback { min-height: 18px; color: var(--ember); font-size: 13px; }

/* Contatti */
.contact-section { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: clamp(40px, 6vw, 90px); align-items: start; }
.contact-aside h2 { font-size: clamp(40px, 4vw, 64px); }
.contact-aside .lead { margin-top: 20px; color: var(--smoke); }
.contact-list { display: grid; gap: 22px; margin: 40px 0 0; padding: 0; list-style: none; }
.contact-list span { display: block; margin-bottom: 6px; font-size: 10px; letter-spacing: 0.16em; text-transform: uppercase; color: #777a79; }
.contact-list a, .contact-list p { margin: 0; color: var(--paper); font-size: 17px; }
.contact-list a:hover { color: var(--ember); }
.contact-list p a { display: inline-block; margin-top: 6px; font-size: 14px; color: var(--ember); }

/* Contatti → Come arrivare: mappa Google click-to-load (nessuna richiesta a Google prima del click) */
.map-section .button { margin-top: 18px; }
.booking-gyg { margin: 18px 0 0; font-size: 14px; opacity: .8; }
.map-embed { margin-top: 44px; min-height: 320px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 16px; padding: 32px 24px; text-align: center; border: 1px solid var(--line); border-radius: 22px; background: linear-gradient(160deg, #1c2024, #121517 70%); }
.map-embed.is-loaded { display: block; padding: 0; min-height: 0; overflow: hidden; }
.map-embed iframe { display: block; width: 100%; height: clamp(320px, 50vw, 460px); border: 0; }
.map-embed-note { margin: 0; max-width: 520px; font-size: 13.5px; line-height: 1.55; color: var(--smoke); }

/* Prenotazioni */
.booking-section { display: grid; grid-template-columns: 1.3fr 0.7fr; gap: clamp(36px, 5vw, 70px); align-items: start; }
.booking-summary { position: sticky; top: 130px; padding: 30px; border: 1px solid var(--line); border-radius: 18px; background: linear-gradient(160deg, #1c2024, #121517 70%); }
.booking-summary h3 { font-family: var(--display); text-transform: uppercase; font-size: 26px; }
.booking-summary dl { display: grid; gap: 13px; margin: 22px 0; }
.booking-summary dl div { display: flex; justify-content: space-between; gap: 16px; font-size: 14px; }
.booking-summary dt { color: var(--smoke); }
.booking-summary dd { margin: 0; font-weight: 700; text-align: right; }
.booking-total { display: flex; justify-content: space-between; align-items: baseline; padding-top: 18px; border-top: 1px solid var(--line); }
.booking-total strong { font-family: var(--display); font-size: 34px; color: var(--ember); }
.booking-note { margin-top: 18px; font-size: 11px; color: var(--smoke); line-height: 1.55; }

@media (max-width: 860px) {
  .form-row { grid-template-columns: 1fr; }
  .contact-section,
  .booking-section { grid-template-columns: 1fr; }
  .booking-summary { position: static; }
}

/* ===== Calendario prenotazioni ===== */
.booking-cal { padding: 18px; border: 1px solid var(--line); border-radius: 16px; background: rgba(255, 255, 255, 0.02); }
.cal-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 14px; }
.cal-title { font-family: var(--display); text-transform: uppercase; font-size: 20px; letter-spacing: 0.04em; }
.cal-nav { width: 38px; height: 38px; border-radius: 50%; border: 1px solid var(--line); background: transparent; color: var(--paper); font-size: 18px; line-height: 1; cursor: pointer; transition: border-color 0.2s ease, background 0.2s ease; }
.cal-nav:hover:not(:disabled) { border-color: var(--lava); background: rgba(255, 67, 23, 0.08); }
.cal-nav:disabled { opacity: 0.3; cursor: default; }
.cal-grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 6px; }
.cal-weekdays span { text-align: center; padding: 6px 0; font-size: 10px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--smoke); }
.cal-day { aspect-ratio: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; border: 1px solid transparent; border-radius: 10px; background: rgba(255, 255, 255, 0.03); color: var(--paper); font-size: 14px; cursor: pointer; transition: border-color 0.2s ease, background 0.2s ease; }
.cal-day:hover:not(:disabled) { border-color: var(--lava); }
.cal-day:disabled { cursor: default; color: rgba(255, 255, 255, 0.2); }
.cal-day.is-empty { background: transparent; border: 0; }
.cal-day.is-full { background: transparent; text-decoration: line-through; }
.cal-day.is-selected { background: linear-gradient(110deg, var(--lava), var(--ember)); color: #fff; }
.cal-day.is-selected .dot { display: none; }
.dot { display: inline-block; }
.cal-day .dot { width: 5px; height: 5px; border-radius: 50%; }
.dot.ok { background: #46c46a; }
.dot.low { background: var(--ember); }
.dot.full { background: #777a79; }
.cal-legend { display: flex; flex-wrap: wrap; gap: 16px; margin-top: 14px; font-size: 11px; color: var(--smoke); }
.cal-legend .dot { width: 7px; height: 7px; margin-right: 6px; vertical-align: middle; }

/* ===== Fasce orarie ===== */
.field-label-block { display: block; margin-bottom: 10px; font-size: 11px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--smoke); }
.field-label-block span { text-transform: none; letter-spacing: 0; color: var(--paper); }
.slots-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
.slot-btn { display: flex; flex-direction: column; gap: 4px; padding: 14px 16px; border: 1px solid var(--line); border-radius: 12px; background: rgba(255, 255, 255, 0.03); color: var(--paper); text-align: left; cursor: pointer; transition: border-color 0.2s ease, background 0.2s ease; }
.slot-btn:hover:not(:disabled) { border-color: var(--lava); }
.slot-btn b { font-size: 15px; }
.slot-btn span { font-size: 11px; color: var(--smoke); }
.slot-btn.is-selected { border-color: var(--lava); background: linear-gradient(110deg, rgba(255, 67, 23, 0.18), rgba(255, 142, 75, 0.1)); }
.slot-btn:disabled { opacity: 0.45; cursor: default; }
.slot-btn.is-full span { color: #e0664a; }

.booking-details { display: grid; gap: 22px; }

/* ===== Conferma prenotazione ===== */
.booking-confirm { grid-column: 1 / -1; text-align: center; padding: clamp(40px, 6vw, 80px) 24px; border: 1px solid var(--line); border-radius: 20px; background: linear-gradient(160deg, #1c2024, #121517 70%); }
.booking-confirm .check { width: 64px; height: 64px; margin: 0 auto 22px; display: grid; place-items: center; border-radius: 50%; background: linear-gradient(110deg, var(--lava), var(--ember)); color: #fff; font-size: 30px; }
.booking-confirm h2 { font-size: clamp(40px, 5vw, 64px); }
.booking-confirm p { max-width: 540px; margin: 16px auto 0; color: var(--smoke); }
.booking-confirm .code { display: inline-block; margin-top: 22px; padding: 12px 22px; border: 1px dashed var(--lava); border-radius: 10px; font-family: var(--display); font-size: 20px; letter-spacing: 0.1em; }

@media (max-width: 480px) {
  .slots-grid { grid-template-columns: 1fr; }
  .cal-day { font-size: 13px; gap: 3px; }
}

/* ===== Voucher / Buoni regalo ===== */
.voucher { background: radial-gradient(120% 100% at 82% 0%, rgba(255, 67, 23, 0.14), transparent 55%), var(--ink); }
.voucher-inner { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: clamp(40px, 6vw, 90px); align-items: center; }
.voucher-copy h2 { font-size: clamp(48px, 5.5vw, 86px); }
.voucher-copy > p { margin-top: 22px; max-width: 470px; color: var(--smoke); }
.voucher-points { list-style: none; padding: 0; margin: 28px 0 34px; display: grid; gap: 13px; }
.voucher-points li { display: flex; gap: 12px; align-items: flex-start; color: var(--paper); font-size: 14px; }
.voucher-points li::before { content: "✓"; color: var(--lava); font-weight: 700; }
.voucher-card { position: relative; aspect-ratio: 1.6 / 1; padding: 30px; border-radius: 22px; overflow: hidden; border: 1px solid var(--line); background: linear-gradient(150deg, #2a2320, #14110f 72%); box-shadow: 0 30px 70px -25px rgba(0, 0, 0, 0.8); display: flex; flex-direction: column; justify-content: space-between; }
.voucher-card::before { content: ""; position: absolute; inset: 0; background: radial-gradient(circle at 86% 14%, rgba(255, 67, 23, 0.38), transparent 46%); }
.voucher-card > * { position: relative; z-index: 1; }
.voucher-card-top { display: flex; align-items: flex-start; justify-content: space-between; }
.voucher-card-top img { height: 38px; width: auto; }
.voucher-card-top em { font-style: normal; font-size: 10px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--ember); }
.voucher-card h3 { font-family: var(--display); text-transform: uppercase; font-size: clamp(28px, 3vw, 38px); line-height: 1; }
.voucher-card-foot { display: flex; align-items: flex-end; justify-content: space-between; }
.voucher-card-foot b { font-family: var(--display); font-size: 40px; }
.voucher-card-foot .code { font-size: 11px; letter-spacing: 0.16em; color: var(--smoke); border: 1px dashed var(--line); padding: 7px 12px; border-radius: 8px; }

/* Come funziona (pagina voucher) */
.how-steps { list-style: none; counter-reset: step; padding: 0; margin-top: 40px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.how-steps li { counter-increment: step; padding: 28px; border: 1px solid var(--line); border-radius: 16px; background: rgba(255, 255, 255, 0.02); }
.how-steps li::before { content: counter(step, decimal-leading-zero); display: block; margin-bottom: 14px; font-family: var(--display); font-size: 34px; color: var(--lava); }
.how-steps h3 { font-family: var(--display); text-transform: uppercase; font-size: 20px; }
.how-steps p { margin-top: 8px; color: var(--smoke); font-size: 14px; }

@media (max-width: 860px) {
  .voucher-inner { grid-template-columns: 1fr; }
  .how-steps { grid-template-columns: 1fr; }
}

/* Icona personalizzata nei punti di forza hero */
.fact-icon img { display: block; width: 26px; height: 26px; object-fit: contain; }

/* ---- Tour: cover nelle card + pagina di dettaglio ---- */
.tour-map--photo { background-size: cover; background-position: center; }
.tour-badge {
  position: absolute; top: 18px; right: 18px; z-index: 3;
  background: var(--lava, #ff4317); color: #fff;
  font: 700 12px/1 "Barlow Condensed", sans-serif; letter-spacing: .08em; text-transform: uppercase;
  padding: 7px 11px; border-radius: 999px;
}
.tour-detail-hero { min-height: 62vh; }
.tour-detail-meta { display: flex; flex-wrap: wrap; gap: 28px; margin-top: 22px; }
.tour-detail-meta div { display: flex; flex-direction: column; gap: 4px; }
.tour-detail-meta dt { font: 600 12px/1 "Manrope", sans-serif; letter-spacing: .1em; text-transform: uppercase; opacity: .7; }
.tour-detail-meta dd { font: 700 22px/1 "Barlow Condensed", sans-serif; margin: 0; }
.tour-body { max-width: 760px; }
.tour-body p { margin: 0 0 18px; }
.tour-cols { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 64px); margin-top: 18px; }
@media (max-width: 720px) { .tour-cols { grid-template-columns: 1fr; } }
.tour-cols--4 { grid-template-columns: repeat(4, 1fr); gap: clamp(24px, 3vw, 44px); align-items: start; }
@media (max-width: 1000px) { .tour-cols--4 { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .tour-cols--4 { grid-template-columns: 1fr; } }
.tour-list { list-style: none; padding: 0; margin: 14px 0 0; display: grid; gap: 10px; }
.tour-list li { position: relative; padding-left: 26px; line-height: 1.5; }
.tour-list li::before { content: ""; position: absolute; left: 0; top: .55em; width: 12px; height: 2px; background: var(--lava, #ff4317); }
.tour-list--no li::before { background: #c9c9c9; }
.tour-gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-top: 18px; }
@media (max-width: 720px) { .tour-gallery { grid-template-columns: 1fr 1fr; } }
.tour-gallery img { width: 100%; height: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 14px; display: block; }

/* ---- Booking: step pagamento + loader calendario ---- */
.cal-loading { grid-column: 1 / -1; padding: 28px 0; text-align: center; opacity: .6; font-size: 14px; }
.booking-pay { margin-top: 22px; border-top: 1px solid rgba(0,0,0,.1); padding-top: 22px; }
.booking-hold { font-weight: 600; color: var(--lava, #ff4317); margin: 0 0 16px; }
.pay-amount { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 16px; }
.pay-radio { display: flex; align-items: center; gap: 8px; border: 1px solid rgba(0,0,0,.16); border-radius: 12px; padding: 12px 16px; cursor: pointer; flex: 1; min-width: 200px; }
.pay-radio small { opacity: .6; }
.pay-radio:has(input:checked) { border-color: var(--lava, #ff4317); box-shadow: 0 0 0 1px var(--lava, #ff4317); }
.pay-methods { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.pay-method {
  min-height: 82px;
  padding: 14px 15px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 18px;
  color: var(--paper);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.055), rgba(255, 255, 255, 0.018));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06), 0 18px 45px rgba(0, 0, 0, 0.18);
  display: flex;
  align-items: center;
  gap: 12px;
  text-align: left;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  transition: transform .22s ease, border-color .22s ease, background .22s ease, box-shadow .22s ease;
}
.pay-method::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, rgba(255, 67, 23, 0.2), transparent 54%);
  opacity: 0;
  transition: opacity .22s ease;
}
.pay-method > * { position: relative; z-index: 1; }
.pay-method:hover,
.pay-method:focus-visible,
.pay-method.is-active {
  transform: translateY(-2px);
  border-color: rgba(255, 142, 75, 0.72);
  background: linear-gradient(180deg, rgba(255, 67, 23, 0.16), rgba(255, 255, 255, 0.035));
  box-shadow: 0 20px 54px rgba(255, 67, 23, 0.14), 0 18px 45px rgba(0, 0, 0, 0.24);
}
.pay-method:hover::before,
.pay-method:focus-visible::before,
.pay-method.is-active::before { opacity: 1; }
.pay-method:focus-visible { outline: 2px solid rgba(255, 142, 75, 0.55); outline-offset: 3px; }
.pay-method:disabled { opacity: .55; pointer-events: none; }
.pay-method__icon {
  width: 42px;
  height: 42px;
  flex: 0 0 42px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.13);
  color: #fff;
}
.pay-method__icon svg { width: 22px; height: 22px; display: block; }
.pay-method--voucher .pay-method__icon { color: var(--lava); background: rgba(255, 67, 23, 0.12); border-color: rgba(255, 67, 23, 0.32); }
/* Loghi brand nei bottoni pagamento (Carta: circuiti; PayPal: logo su pill bianca) */
.pay-method__icon--logo { background: #fff; border-color: rgba(0, 0, 0, 0.08); }
.pay-method__icon--logo img { max-width: 34px; max-height: 30px; display: block; }
.pay-method__logos { display: flex; flex-wrap: wrap; gap: 5px; margin-top: 5px; }
.pay-method__logos img { height: 18px; width: auto; display: block; }
.pay-method__copy { display: grid; gap: 2px; min-width: 0; }
.pay-method__copy strong {
  font: 700 14px/1.05 var(--display);
  letter-spacing: .06em;
  text-transform: uppercase;
}
.pay-method__copy small {
  color: var(--smoke);
  font-size: 11px;
  line-height: 1.25;
}
.pay-method--stripe {
  border-color: rgba(255, 67, 23, 0.55);
  background: linear-gradient(135deg, rgba(255, 67, 23, 0.92), rgba(255, 142, 75, 0.82));
  box-shadow: 0 18px 50px rgba(255, 67, 23, 0.2);
}
.pay-method--stripe .pay-method__copy small,
.pay-method--stripe .pay-method__copy strong { color: #fff; }
.pay-method--stripe .pay-method__icon { background: rgba(9, 11, 12, 0.18); border-color: rgba(255, 255, 255, 0.3); }
.pay-card {
  width: 27px;
  height: 19px;
  border-radius: 5px;
  background: #fff;
  position: relative;
  box-shadow: 0 0 0 1px rgba(9, 11, 12, 0.12);
}
.pay-card::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 5px;
  height: 4px;
  background: #15181b;
}
.pay-card::after {
  content: "";
  position: absolute;
  left: 5px;
  bottom: 4px;
  width: 9px;
  height: 2px;
  border-radius: 2px;
  background: rgba(21, 24, 27, 0.42);
}
.pay-palmark {
  width: auto;
  padding: 0 7px;
  font: 800 14px/1 var(--body);
  letter-spacing: -.01em;
  background: #fff;
  border-color: transparent;
}
.pay-palmark b { color: #003087; }
.pay-palmark i { color: #009cde; font-style: normal; }
.pay-bank,
.pay-gift { position: relative; }
.pay-bank::before {
  content: "";
  width: 24px;
  height: 18px;
  background:
    linear-gradient(var(--paper), var(--paper)) 3px 8px / 3px 8px no-repeat,
    linear-gradient(var(--paper), var(--paper)) 10px 8px / 3px 8px no-repeat,
    linear-gradient(var(--paper), var(--paper)) 17px 8px / 3px 8px no-repeat,
    linear-gradient(var(--paper), var(--paper)) 0 17px / 24px 2px no-repeat,
    linear-gradient(135deg, transparent 48%, var(--paper) 50%) 3px 0 / 18px 9px no-repeat;
}
.pay-gift::before {
  content: "";
  width: 24px;
  height: 21px;
  border-radius: 4px;
  background:
    linear-gradient(var(--lava), var(--lava)) center / 4px 100% no-repeat,
    linear-gradient(var(--paper), var(--paper)) center 6px / 100% 4px no-repeat,
    linear-gradient(135deg, var(--ember), var(--lava));
  box-shadow: 0 -7px 0 -3px var(--ember);
}
.voucher-box {
  margin-top: 14px;
  padding: 14px;
  border: 1px solid rgba(255, 142, 75, 0.28);
  border-radius: 18px;
  background: linear-gradient(135deg, rgba(255, 67, 23, 0.12), rgba(255, 255, 255, 0.035));
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 12px;
  align-items: end;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05);
}
.voucher-box[hidden] { display: none !important; }
.voucher-field { display: grid; gap: 7px; }
.voucher-field span {
  color: var(--smoke);
  font: 700 11px/1 var(--body);
  letter-spacing: .14em;
  text-transform: uppercase;
}
.voucher-field input {
  width: 100%;
  min-height: 54px;
  padding: 0 16px;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(9, 11, 12, 0.62);
  color: var(--paper);
  font: 700 15px/1 var(--body);
  letter-spacing: .06em;
  text-transform: uppercase;
  outline: none;
  transition: border-color .22s ease, box-shadow .22s ease, background .22s ease;
}
.voucher-field input::placeholder { color: rgba(245, 244, 240, 0.34); }
.voucher-field input:focus {
  border-color: var(--ember);
  background: rgba(9, 11, 12, 0.82);
  box-shadow: 0 0 0 3px rgba(255, 142, 75, 0.12);
}
.voucher-apply { min-height: 54px; white-space: nowrap; }
@media (max-width: 1120px) {
  .pay-methods { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 620px) {
  .pay-methods,
  .voucher-box { grid-template-columns: 1fr; }
  .pay-method { min-height: 76px; }
  .voucher-apply { width: 100%; }
}
.pay-instructions { margin-top: 18px; }
.pay-iban { display: grid; gap: 8px; margin: 0; padding: 18px; border: 1px dashed rgba(0,0,0,.25); border-radius: 14px; background: rgba(0,0,0,.02); }
.pay-iban div { display: flex; justify-content: space-between; gap: 16px; }
.pay-iban dt { font-weight: 600; opacity: .6; }
.pay-iban dd { margin: 0; font-weight: 600; text-align: right; word-break: break-all; }

/* ---- Funnel prenotazione: stepper + stato vuoto ---- */
.booking-steps { display: flex; gap: 10px; list-style: none; padding: 0; margin: 0 0 24px; flex-wrap: wrap; font: 700 12px/1 "Barlow Condensed", sans-serif; letter-spacing: .08em; text-transform: uppercase; }
.booking-steps li { padding: 9px 15px; border-radius: 999px; background: rgba(0,0,0,.05); color: #8a8a8a; border: 1px solid rgba(0,0,0,.08); }
.booking-steps li.is-current { background: var(--lava, #ff4317); color: #fff; border-color: var(--lava, #ff4317); }
.booking-empty { text-align: center; padding: 48px 0; }
.booking-empty h2 { margin-bottom: 10px; }
.booking-empty p { opacity: .7; margin-bottom: 24px; }

/* ---- Switcher lingua (header) ---- */
.lang-switch { position: relative; }
.lang-current { display: inline-flex; align-items: center; gap: 7px; font: 700 14px/1 "Barlow Condensed", sans-serif; letter-spacing: .06em; color: #fff; background: transparent; border: 1px solid rgba(255,255,255,.28); border-radius: 999px; padding: 11px 15px; cursor: pointer; transition: border-color .2s, color .2s; }
.lang-current:hover, .lang-switch.is-open .lang-current { border-color: var(--lava, #ff4317); color: var(--lava, #ff4317); }
.lang-caret { width: 7px; height: 7px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(45deg) translateY(-2px); transition: transform .2s; }
.lang-switch.is-open .lang-caret { transform: rotate(-135deg); }
.lang-menu { position: absolute; top: calc(100% + 14px); right: 0; min-width: 84px; list-style: none; margin: 0; padding: 6px; background: #0e0e11; border: 1px solid rgba(255,255,255,.12); border-radius: 14px; box-shadow: 0 24px 60px rgba(0,0,0,.55); z-index: 60; }
.lang-menu li { margin: 0; }
.lang-menu a { display: block; padding: 6px 12px; border-radius: 8px; color: #e9e9e9; font: 700 15px/1 "Barlow Condensed", sans-serif; letter-spacing: .08em; position: relative; }
.lang-menu a:hover { background: rgba(255,255,255,.06); }
.lang-menu a.is-current { color: var(--lava, #ff4317); font-weight: 700; }
.lang-menu a.is-current::before { content: ""; position: absolute; left: 2px; top: 6px; bottom: 6px; width: 3px; border-radius: 3px; background: var(--lava, #ff4317); }

/* ===== Bento gallery (interattiva) ===== */
.bento { max-width: var(--maxw, 1440px); margin: 0 auto; }
.bento__head { text-align: center; margin-bottom: 28px; }
.bento__head h2 { margin: 0 0 8px; }
.bento__head p { opacity: .65; margin: 0; }
.bento__grid { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 62px; gap: 12px; grid-auto-flow: dense; }
@media (max-width: 760px) { .bento__grid { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 56px; gap: 10px; } }
.bento__item { position: relative; overflow: hidden; border-radius: 16px; border: none; padding: 0; cursor: pointer; background: #111214; }
.bento__media { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .7s cubic-bezier(.23,1,.32,1); }
.bento__item:hover .bento__media { transform: scale(1.07); }
.bento__overlay { position: absolute; inset: 0; display: flex; flex-direction: column; justify-content: flex-end; gap: 2px; padding: 14px; text-align: left; opacity: 0; transition: opacity .3s ease; background: linear-gradient(to top, rgba(0,0,0,.82), rgba(0,0,0,.2) 45%, transparent); }
.bento__item:hover .bento__overlay { opacity: 1; }
.bento__overlay b { color: #fff; font: 700 14px/1.2 "Barlow Condensed", sans-serif; letter-spacing: .04em; text-transform: uppercase; }
.bento__overlay i { color: rgba(255,255,255,.75); font: 400 12px/1.35 "Manrope", sans-serif; font-style: normal; }

.bento__modal { position: fixed; inset: 0; z-index: 200; display: flex; align-items: center; justify-content: center; }
.bento__backdrop { position: absolute; inset: 0; background: rgba(8,8,10,.86); backdrop-filter: blur(10px); }
.bento__close { position: absolute; top: 20px; right: 22px; z-index: 5; width: 44px; height: 44px; border-radius: 50%; border: 1px solid rgba(255,255,255,.22); background: rgba(255,255,255,.08); color: #fff; cursor: pointer; font-size: 15px; display: grid; place-items: center; transition: border-color .2s, color .2s; }
.bento__close:hover { border-color: var(--lava, #ff4317); color: var(--lava, #ff4317); }
.bento__stage { position: relative; z-index: 2; width: min(92vw, 1000px); margin: 0; display: flex; flex-direction: column; }
.bento__stage > div { width: 100%; aspect-ratio: 16/10; max-height: 70vh; border-radius: 16px; overflow: hidden; box-shadow: 0 30px 80px rgba(0,0,0,.6); background: #0c0d0f; }
.bento__stage-media { width: 100%; height: 100%; object-fit: cover; display: block; }
.bento__caption { margin-top: 14px; text-align: center; }
.bento__caption b { display: block; color: #fff; font: 700 18px/1.2 "Barlow Condensed", sans-serif; letter-spacing: .04em; text-transform: uppercase; }
.bento__caption span { color: rgba(255,255,255,.7); font: 400 13px/1.4 "Manrope", sans-serif; }
.bento__dock { position: absolute; left: 50%; bottom: 22px; transform: translateX(-50%); z-index: 4; display: flex; gap: 8px; padding: 10px 12px; border-radius: 16px; background: rgba(255,67,23,.14); border: 1px solid rgba(255,67,23,.3); backdrop-filter: blur(12px); cursor: grab; touch-action: none; max-width: 92vw; overflow-x: auto; }
.bento__dock.is-grabbing { cursor: grabbing; }
.bento__thumb { width: 46px; height: 46px; flex: none; border-radius: 10px; overflow: hidden; border: 2px solid transparent; padding: 0; cursor: pointer; background: #111; transition: transform .25s cubic-bezier(.34,1.56,.64,1), border-color .25s; }
.bento__thumb:hover { transform: translateY(-4px) scale(1.06); }
.bento__thumb.is-active { border-color: #fff; transform: translateY(-6px) scale(1.14); box-shadow: 0 8px 24px rgba(0,0,0,.5); }
.bento__thumb-media { width: 100%; height: 100%; object-fit: cover; display: block; pointer-events: none; }

/* Il modal deve restare nascosto finché non si apre (l'attributo hidden vince sul display:flex) */
.bento__modal[hidden] { display: none !important; }

/* ===== Track map (tracciato GPX: satellite + disegno allo scroll) ===== */
.track__head { text-align: center; max-width: 720px; margin: 0 auto 28px; }
.track__head h2 { margin: 6px 0 10px; }
.track__head p { opacity: .7; margin: 0; }
.track.section-pad { padding-left: calc(clamp(12px, 3vw, 48px) * (1 - var(--track-expand, 0))); padding-right: calc(clamp(12px, 3vw, 48px) * (1 - var(--track-expand, 0))); }
.track__map { position: relative; width: calc(min(1600px, 96vw) + (100vw - min(1600px, 96vw)) * var(--track-expand, 0)); max-width: none; margin: 0 auto; border-radius: calc(24px * (1 - var(--track-expand, 0))); overflow: hidden; border: 1px solid rgba(255,255,255,.08); background: #0c0d10; will-change: width; }
.track__stage { position: relative; width: 100%; }
.track__svg { position: relative; z-index: 3; display: block; width: 100%; height: auto; overflow: visible; }
.track__sat { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: fill; opacity: .5; filter: saturate(.85) contrast(1.05) brightness(.85); z-index: 1; }
.track__veil { position: absolute; inset: 0; z-index: 2; background:
  radial-gradient(120% 120% at 20% 0%, rgba(255,67,23,.18), transparent 55%),
  radial-gradient(100% 100% at 100% 100%, rgba(20,24,34,.5), transparent 60%),
  linear-gradient(180deg, rgba(8,9,12,.35), rgba(8,9,12,.55)); }
.track__bg { fill: none; stroke: rgba(255,255,255,.18); stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }
.track__line { fill: none; stroke: url(#trackGrad); stroke-width: 4; stroke-linecap: round; stroke-linejoin: round; }
.track__marker-dot { fill: #fff; }
.track__marker-glow { fill: var(--lava, #ff4317); opacity: .55; }
.track__pin-ring { fill: none; stroke: #fff; stroke-width: 2; opacity: .9; }
.track__pin-dot { fill: var(--lava, #ff4317); }
.track__wp { position: absolute; z-index: 4; width: clamp(150px, 22vw, 230px); margin: 0; transform: translate(-50%, -118%) scale(.85); transform-origin: center bottom; opacity: 0; pointer-events: none; transition: opacity .5s ease, transform .5s cubic-bezier(.23,1,.32,1); }
.track__wp.is-visible { opacity: 1; transform: translate(-50%, -118%) scale(1); }
.track__wp img { display: block; width: 100%; height: auto; aspect-ratio: 4/3; object-fit: cover; border-radius: 12px; border: 2px solid rgba(255,255,255,.85); box-shadow: 0 16px 40px rgba(0,0,0,.6); }
.track__wp figcaption { margin-top: 6px; text-align: center; color: #fff; font: 700 12px/1.2 "Barlow Condensed", sans-serif; letter-spacing: .05em; text-transform: uppercase; text-shadow: 0 2px 8px rgba(0,0,0,.8); }
.track__hint { position: absolute; right: 18px; bottom: 14px; z-index: 5; font: 600 11px/1 "Manrope", sans-serif; letter-spacing: .08em; text-transform: uppercase; color: rgba(255,255,255,.55); }

/* Track map — sezione sticky alta (disegno allo scroll senza pin) */
/* Tour detail — spaziatura verticale più compatta */
.tour-detail > .section-pad { padding-top: clamp(40px, 5vw, 80px); padding-bottom: clamp(40px, 5vw, 80px); }

.track__scroller { position: relative; height: 320vh; }
.track__sticky { position: sticky; top: 0; min-height: 100vh; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 20px; padding: 36px 0; }
.track__sticky .track__head { margin: 0 auto; width: 100%; }
.track__sticky .track__map { flex: 0 0 auto; }
@media (max-width: 700px) { .track__scroller { height: 230vh; } .track__sticky { min-height: 92vh; } }

/* Info card del tour (icona + titolo + testo) */
.info-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(16px, 2vw, 28px); }
.info-card { position: relative; isolation: isolate; overflow: hidden; padding: clamp(24px, 2.4vw, 36px); border-radius: 18px; background: rgba(255,255,255,.03); border: 1px solid rgba(255,255,255,.09); transition: border-color .4s ease, transform .4s ease; }
.info-card:hover { border-color: rgba(255,67,23,.55); transform: translateY(-4px); }
.info-card:hover .tour-glow { opacity: 1; }
.info-card__icon { width: 46px; height: 46px; object-fit: contain; display: block; margin-bottom: 18px; }
.info-card h3 { font-family: var(--display); font-size: clamp(20px, 1.6vw, 27px); line-height: 1.05; margin: 0 0 12px; text-transform: uppercase; letter-spacing: .01em; }
.info-card p { margin: 0; color: rgba(255,255,255,.66); font-size: 15px; line-height: 1.62; }
@media (max-width: 880px) { .info-cards { grid-template-columns: 1fr; } }

/* Anti-flicker transizioni (GENERALE, tutte le pagine presenti e future):
   nasconde TUTTO il contenuto del body tranne l'overlay di transizione, finche'
   GSAP non ha applicato lo stato iniziale degli elementi animati. La classe e'
   aggiunta nell'head PRIMA del paint e rimossa da script.js dopo gli init.
   Attivo solo con motion abilitato; reduce-motion e no-JS mostrano tutto subito
   (+ safety-timeout di 2.5s nell'head se gli script non partono). */
.anim-pending body > *:not(.page-transition):not(script):not(style) { visibility: hidden; }

/* LCP: l'immagine hero NON partecipa al pre-hide — resta visibile dal primo paint
   nello STESSO stato iniziale che GSAP applicherà (opacity/scale identici a
   initHeroTimeline/initInnerPageTimeline): handoff senza flicker, e l'elemento
   LCP delle pagine interne (bg hero) viene dipinto subito invece che dopo
   fonts.ready + timeline (audit 2026-08-08: render delay 67-79% dell'LCP). */
.anim-pending .hero-media { visibility: visible; opacity: 0.55; transform: scale(1.12); }
.anim-pending .inner-hero-media { visibility: visible; opacity: 0.55; transform: scale(1.14); }
/* LCP: idem per il testo hero della home (p.hero-copy, elemento LCP — audit 2026-08-21):
   visibile dal primo paint nello stato iniziale della timeline (solo translateY,
   il fade è stato rimosso da initHeroTimeline). */
.anim-pending .hero-copy { visibility: visible; transform: translateY(24px); }
/* LCP: il cookie-note non è animato da GSAP ma, da figlio diretto di body, subiva
   il pre-hide → era lui il candidato LCP successivo (render delay ~1s). Visibile
   dal primo paint: lo script inline che lo smaschera è già nell'HTML. */
.anim-pending .cookie-note { visibility: visible; }

/* Buono regalo: immagine caricata dal pannello (sostituisce la card grafica) */
.voucher-card-photo { display: block; width: 100%; height: auto; border-radius: 22px; box-shadow: 0 30px 70px -25px rgba(0, 0, 0, 0.8); }

/* Hero responsive: sotto i 768px usa la variante "card" (~112KB invece di ~300KB),
   più leggera per l'LCP su mobile. Fallback alla variante piena se la card non esiste. */
@media (max-width: 768px) {
  .hero-media { background-image: var(--hero-bg-m, var(--hero-bg)); }
  .inner-hero-media { background-image: var(--inner-hero-bg-m, var(--inner-hero-bg)); }
}

/* ============ Avviso cookie tecnici (solo informativo, nessun consenso) ============ */
.cookie-note {
  position: fixed;
  z-index: 70;
  left: 16px;
  right: 16px;
  bottom: 16px;
  margin: 0 auto;
  max-width: 720px;
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 14px 18px;
  background: rgba(9, 11, 12, 0.96);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.45);
  backdrop-filter: blur(6px);
}
/* L'attributo hidden da solo perde contro display:flex qui sopra */
.cookie-note[hidden] {
  display: none;
}
.cookie-note p {
  margin: 0;
  font-size: 13px;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.78);
}
.cookie-note a {
  color: var(--lava);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.cookie-note-ok {
  flex: 0 0 auto;
  border: 0;
  cursor: pointer;
  padding: 9px 22px;
  border-radius: 999px;
  background: linear-gradient(105deg, var(--lava), var(--ember));
  color: #fff;
  font-weight: 700;
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.cookie-note-ok:hover {
  filter: brightness(1.08);
}
@media (max-width: 900px) {
  .cookie-note {
    flex-direction: column;
    align-items: stretch;
    text-align: center;
    gap: 10px;
    bottom: calc(64px + env(safe-area-inset-bottom, 0px));
  }
}
