/* ══════════════════════════════════════════════════════════
   FONT — ospitati in questa cartella, nessuna chiamata esterna.
   Cinzel: titoli.  Crimson Text: testo corrente.  Inter: interfaccia.
   ══════════════════════════════════════════════════════════ */
@font-face{font-family:'Cinzel';src:url('../fonts/cinzel-latin-400-normal.woff2') format('woff2');font-weight:400;font-style:normal;font-display:swap}
@font-face{font-family:'Cinzel';src:url('../fonts/cinzel-latin-600-normal.woff2') format('woff2');font-weight:600;font-style:normal;font-display:swap}
@font-face{font-family:'Cinzel';src:url('../fonts/cinzel-latin-700-normal.woff2') format('woff2');font-weight:700;font-style:normal;font-display:swap}
@font-face{font-family:'Crimson Text';src:url('../fonts/crimson-text-latin-600-normal.woff2') format('woff2');font-weight:400 700;font-style:normal;font-display:swap}
@font-face{font-family:'Crimson Text';src:url('../fonts/crimson-text-latin-600-italic.woff2') format('woff2');font-weight:400 700;font-style:italic;font-display:swap}
@font-face{font-family:'Inter';src:url('../fonts/inter-latin-600-normal.woff2') format('woff2');font-weight:600;font-style:normal;font-display:swap}
@font-face{font-family:'Inter';src:url('../fonts/inter-latin-700-normal.woff2') format('woff2');font-weight:700;font-style:normal;font-display:swap}

:root {
  --black: #0a0608;
  --deep: #120608;
  --red: #b6091b;
  --red-bright: #d81e5b;
  --red-dark: #7a0512;
  --ash: #1a0608;
  --smoke: #3d1010;
  --bone: #f0e8e0;
  --white: #faf5f0;
  --font-display: 'Cinzel', serif;
  --font-body: 'Crimson Text', serif;
}
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  background: var(--black);
  color: var(--bone);
  font-family: var(--font-body);
  font-size: 18px;
  line-height: 1.5;
  overflow-x: hidden;
}
/* ── CURSORE ──
   Freccia rossa vuota, solo su computer con mouse.
   Su telefono e tablet il cursore finto sparisce del tutto
   e torna il comportamento nativo del dispositivo. */
#cursor { display: none; }

@media (hover: hover) and (pointer: fine) {
  body, body * { cursor: none !important; }
  /* La freccia (v83). Prima la posizione veniva scritta in `left`/`top` a ogni
     mousemove: ogni evento costringeva il browser a rifare il layout, e con il
     puntatore di sistema nascosto il ritardo si vedeva tutto. Adesso il
     contenitore si sposta con una `transform` aggiornata una volta per
     fotogramma — la gestisce il compositore, senza toccare il layout — e non ha
     nessuna transizione, cosi' segue il mouse senza inerzia. L'ingrandimento
     sopra le cose cliccabili sta sull'elemento interno, che puo' permettersi la
     sua animazione senza rallentare il movimento. */
  #cursor {
    display: block;
    position: fixed; top: 0; left: 0;
    width: 25px; height: 25px;
    pointer-events: none; z-index: 9999;
    transform: translate3d(-100px, -100px, 0);
    will-change: transform;
  }
  #cursor i {
    display: block; width: 100%; height: 100%;
    background: no-repeat center/contain url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M2 1.5 2 19.8 6.3 15.4 9 21.8 11.7 20.6 9.1 14.3 14.4 14.3Z' fill='none' stroke='%23d81e5b' stroke-width='1.5' stroke-linejoin='round' stroke-linecap='round'/%3E%3C/svg%3E");
    transform-origin: 2px 1.5px;
    filter: drop-shadow(0 1px 2px rgba(0,0,0,.55));
    transition: transform .16s ease, filter .16s ease;
  }
  #cursor.hover i {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M2 1.5 2 19.8 6.3 15.4 9 21.8 11.7 20.6 9.1 14.3 14.4 14.3Z' fill='rgba(216,30,91,0.18)' stroke='%23ff2e6e' stroke-width='1.7' stroke-linejoin='round' stroke-linecap='round'/%3E%3C/svg%3E");
    transform: scale(1.14);
    filter: drop-shadow(0 0 6px rgba(216,30,91,.45));
  }
}

body::after {
  content: '';
  position: fixed; inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.03'/%3E%3C/svg%3E");
  pointer-events: none; z-index: 998; opacity: .4;
}

/* ── NAV ── */
nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 200;
  display: flex; justify-content: space-between; align-items: center;
  padding: 1.4rem 3rem;
  transition: padding .3s, background .3s;
}
nav.scrolled {
  background: rgba(10,6,8,.97);
  backdrop-filter: blur(8px);
  padding: .8rem 3rem;
  border-bottom: 1px solid rgba(182,9,27,.2);
}
.nav-logo .svg-logo-wrap { height: 38px; display: block; filter: drop-shadow(0 0 8px rgba(182,9,27,.4)); }
.nav-logo .svg-logo-wrap svg { height: 38px; width: auto; display: block; }
.alterego-nav-logo {
  height: 36px;
  width: auto;
  display: block;
  filter: drop-shadow(0 0 10px rgba(182,9,27,.45)) brightness(1.08);
  opacity: 1;
}
.nav-links { display: flex; gap: 1.7rem; list-style: none; align-items: center; }
.nav-links a {
  font-family: var(--font-display); font-size: .68rem; letter-spacing: .18em;
  color: var(--bone); text-decoration: none; text-transform: uppercase;
  opacity: .75; transition: opacity .3s, color .3s;
}
.nav-links a:hover { opacity: 1; color: var(--red-bright); }

/* La barra con sei voci (v85). «Trailer» allunga la fila di 78 px, quindi
   sotto certe larghezze lo spazio fra le voci si accorcia invece di lasciare
   che la fila vada a capo. Due scalini: a 1200 lo spazio scende da 1,7 a
   1,35rem, a 1000 a 1rem e i margini laterali della barra da 3 a 2rem.
   Misurato: cosi' la fila resta su una riga sola fino a 901 px — che e' il
   punto in cui le voci spariscono e subentra la barra del biglietto in basso.
   (Senza il secondo scalino andava a capo gia' a 940, e la v84 lo faceva
   comunque a 901: e' sistemato anche quello.) */
@media (max-width: 1200px) and (min-width: 901px) {
  .nav-links { gap: 1.35rem; }
}
@media (max-width: 1000px) and (min-width: 901px) {
  .nav-links { gap: 1rem; }
  nav { padding-left: 2rem; padding-right: 2rem; }
  nav.scrolled { padding-left: 2rem; padding-right: 2rem; }
}

.nav-cta {
  background: var(--red) !important; color: var(--white) !important;
  padding: .65rem 1.6rem !important; opacity: 1 !important;
  font-size: .68rem !important;
  transition: background .3s, transform .2s !important;
  position: relative;
  overflow: hidden;
  isolation: isolate;             /* own stacking context — shine can never paint outside it */
  clip-path: inset(0);            /* hard clip backup, belt-and-suspenders with overflow:hidden */
  z-index: 0;
}
.nav-cta::before {
  content: '';
  position: absolute; top: -20%; bottom: -20%; left: 0;
  width: 35%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,.35), transparent);
  transform: translateX(-150%) skewX(-15deg);
  animation: navCtaShineSweep 3.2s ease-in-out infinite;
  z-index: 1;
  pointer-events: none;
}
@keyframes navCtaShineSweep {
  0%, 60% { transform: translateX(-150%) skewX(-15deg); }
  85%     { transform: translateX(280%) skewX(-15deg); }
  100%    { transform: translateX(280%) skewX(-15deg); }
}
.nav-cta:hover { background-color: var(--red-bright) !important; }
.nav-cta:hover::before { animation-play-state: paused; }

/* ── HERO ── */
#hero {
  position: relative; min-height: 100vh;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  text-align: center; overflow: hidden;
}
.hero-video-wrap {
  position: absolute; inset: 0; z-index: 0; overflow: hidden;
}
.hero-video-wrap video {
  /* v92: il video di Sara e' piu' scuro del precedente: l'opacita' sale da .45
     a .85 perche' i cerchi si leggano. La leggibilita' del testo resta affidata
     all'ombra e alle pozze scure qui sotto. */
  width: 100%; height: 100%; object-fit: cover; opacity: .85;
}
.hero-video-wrap::after {
  content: '';
  position: absolute; inset: 0;
  /* Niente velo sopra l'immagine: la leggibilita' del titolo la fa l'ombra del
     testo. L'unica pozza scura sta in basso, sotto la CTA, dove il rosso del
     fuoco mangerebbe il rosso del bottone. */
  background:
    radial-gradient(ellipse 38% 26% at 50% 68%,
      rgba(10,6,8,.66) 0%,
      rgba(10,6,8,.30) 60%,
      rgba(10,6,8,0)   100%),
    linear-gradient(180deg,
      rgba(10,6,8,.58) 0%,
      rgba(10,6,8,0)   20%,
      rgba(10,6,8,0)   72%,
      rgba(10,6,8,.50) 100%);
}
/* v92: il video e' quello di Sara cosi' com'e', senza correzioni di colore.
   Solo il fermo immagine del telefono e' schiarito (gamma 1,35). */
.hero-content { text-shadow: 0 2px 14px rgba(0,0,0,1), 0 0 26px rgba(0,0,0,.9); }

/* Hero content — sits above video, above silhouette */
.hero-content {
  position: relative; z-index: 3;
  display: flex; flex-direction: column; align-items: center;
  padding: 0 2rem;
}

/* Main logo SVG — carries "DANTE The VRtual Inferno" lettering, large */
.hero-logo {
  width: clamp(180px, 26vw, 360px);
  margin-bottom: 1rem;
  animation: fadeUp .8s .3s both;
  filter:
    drop-shadow(0 0 18px rgba(0,0,0,.95))
    drop-shadow(0 0 40px rgba(0,0,0,.75))
    drop-shadow(0 0 20px rgba(182,9,27,.45));
}
.hero-logo svg { width: 100%; height: auto; display: block; }

/* "MILANO" — smaller, secondary */
.hero-city {
  font-family: var(--font-display);
  font-size: clamp(1rem, 2.5vw, 2rem);
  font-weight: 400;
  letter-spacing: .55em;
  text-transform: uppercase;
  color: var(--bone);
  opacity: .65;
  margin-bottom: 1.8rem;
  animation: fadeUp .8s .55s both;
}

.hero-tagline {
  font-family: var(--font-body); font-style: italic;
  font-size: clamp(1rem, 1.5vw, 1.2rem);
  color: var(--bone); opacity: .9;
  margin-bottom: 2rem;
  animation: fadeUp .8s .7s both;
}

.btn-hero {
  display: inline-block;
  font-family: var(--font-display); font-size: .78rem; letter-spacing: .22em;
  text-transform: uppercase; color: var(--white);
  background: var(--red);
  padding: 1.15rem 3.2rem; text-decoration: none;
  box-shadow: 0 6px 40px rgba(182,9,27,.5);
  transition: transform .2s, box-shadow .3s, background .3s;
  animation: fadeUp .8s .85s both;
  position: relative;
  overflow: hidden;
  isolation: isolate;
  clip-path: inset(0);
  z-index: 0;
}
/* Periodic light sweep crossing the button — contained inside it, color stays fixed */
.btn-hero::before {
  content: '';
  position: absolute; top: -20%; bottom: -20%; left: 0;
  width: 40%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,.35), transparent);
  transform: translateX(-150%) skewX(-15deg);
  animation: btnShineSweep 3.2s ease-in-out .85s infinite;
  z-index: 1;
  pointer-events: none;
}
@keyframes btnShineSweep {
  0%, 60% { transform: translateX(-150%) skewX(-15deg); }
  85%     { transform: translateX(280%) skewX(-15deg); }
  100%    { transform: translateX(280%) skewX(-15deg); }
}
.btn-hero:hover { background: var(--red-bright); transform: translateY(-2px); box-shadow: 0 10px 50px rgba(216,30,91,.55); }
.btn-hero:hover::before { animation-play-state: paused; transform: translateX(280%) skewX(-15deg); }



/* Napoleon-style: img fills width, anchored bottom, no pedestal */


/* Scroll arrow hint */
.silhouette-arrow {
  position: absolute;
  bottom: 1.2rem; left: 50%; transform: translateX(-50%);
  z-index: 4; pointer-events: none;
  animation: bounceArrow 2s ease-in-out infinite;
  opacity: .6;
}
.silhouette-arrow svg { width: 28px; height: 28px; fill: var(--red-bright); }
@keyframes bounceArrow {
  0%,100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(6px); }
}

@keyframes fadeUp { from { opacity:0; transform:translateY(22px) } to { opacity:1; transform:translateY(0) } }

/* ── QUOTE BAND ── */
.quote-band {
  background: var(--ash);
  border-top: 1px solid rgba(182,9,27,.5);
  border-bottom: 1px solid rgba(182,9,27,.2);
  padding: 2rem 6rem; text-align: center;
}
.quote-band blockquote {
  font-family: var(--font-body); font-style: italic;
  font-size: clamp(1.05rem, 1.8vw, 1.6rem); color: var(--bone); opacity: .85;
}
.quote-band cite {
  display: block; margin-top: .7rem;
  font-family: var(--font-display); font-size: .8rem; letter-spacing: .18em;
  color: var(--white); text-transform: uppercase; font-style: normal;
  opacity: .85; font-weight: 600;
}

/* ── SHARED ── */
.section-label {
  font-family: var(--font-display); font-size: .8rem; letter-spacing: .25em;
  color: var(--white); text-transform: uppercase; margin-bottom: .8rem;
  display: flex; align-items: center; gap: 1rem; justify-content: center;
  font-weight: 600;
}
.section-label::before, .section-label::after {
  content:''; flex: 0 0 35px; height: 1px; background: var(--red);
}
h2 {
  font-family: var(--font-display);
  font-size: clamp(1.7rem, 3.2vw, 2.8rem);
  font-weight: 700; color: var(--white); line-height: 1.1; margin-bottom: 1rem;
}
h2 em { font-style: normal; color: var(--red-bright); }

/* ── EXPERIENCE ── */
#experience { background: var(--deep); padding: 4rem 7rem 3rem; text-align: center; }
.pillars {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 1px; background: var(--smoke); margin-top: 3rem;
}
.pillar {
  background: var(--deep); padding: 2.5rem 2rem; text-align: center;
  position: relative; overflow: hidden; transition: background .3s;
}
.pillar::after {
  content:''; position: absolute; bottom: 0; left: 0;
  width: 100%; height: 2px; background: var(--red);
  transform: scaleX(0); transform-origin: left; transition: transform .4s;
}
.pillar:hover { background: #1e0608; }
.pillar:hover::after { transform: scaleX(1); }
.pillar-icon { font-size: 1.8rem; margin-bottom: 1rem; display: block; }
.pillar-title {
  font-family: var(--font-display); font-size: .8rem; letter-spacing: .18em;
  color: var(--white); text-transform: uppercase; margin-bottom: .6rem;
}
.pillar p { font-size: .95rem; color: var(--bone); opacity: .7; line-height: 1.6; }
.inferno-diagram-wrap { display: flex; justify-content: center; margin-top: 0; }

/* ── GIRONI ── */
#gironi { background: var(--black); padding: 6rem 7rem; }
.gironi-header { text-align: center; margin-bottom: 3.5rem; }
.gironi-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 1px; background: var(--ash);
}
.girone-card {
  background: var(--black); padding: 2.2rem 2rem;
  position: relative; overflow: hidden;
  transition: background .3s; text-decoration: none; display: block;
}
.girone-card::before {
  content:''; position: absolute; left: 0; top: 0;
  width: 2px; height: 100%; background: var(--red);
  transform: scaleY(0); transform-origin: top; transition: transform .4s;
}
.girone-card:hover { background: #140206; }
.girone-card:hover::before { transform: scaleY(1); }
.girone-num {
  font-family: var(--font-display); font-size: .72rem; letter-spacing: .22em;
  color: var(--white); text-transform: uppercase; margin-bottom: 1rem;
  font-weight: 600;
}
.girone-title {
  font-family: var(--font-display); font-size: 1rem;
  color: var(--white); margin-bottom: .7rem; letter-spacing: .04em;
}
.girone-desc {
  font-family: var(--font-body); font-size: 1.02rem;
  color: var(--bone); opacity: .88; line-height: 1.45;
}
.girone-icon {
  position: absolute; top: 1.8rem; right: 1.8rem;
  font-size: 1.3rem; opacity: .12; transition: opacity .3s;
}
.girone-card:hover .girone-icon { opacity: .35; }

/* ── INFO + TICKET ── */


/* ── FOOTER ── */
footer {
  background: var(--deep);
  border-top: 1px solid rgba(182,9,27,.15);
  padding: 3.5rem 7rem 2rem;
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 4rem;
  align-items: start;
  justify-items: center;
  text-align: center;
}
.footer-col {
  justify-self: stretch;
  text-align: left;
  max-width: 240px;
  margin: 0 auto;
}
.footer-col h4 {
  font-family: var(--font-display); font-size: .78rem; letter-spacing: .2em;
  color: var(--white); text-transform: uppercase; margin-bottom: 1.2rem;
  font-weight: 600;
}
.footer-col ul { list-style: none; }
.footer-col li { margin-bottom: .65rem; }
.footer-col a {
  font-family: var(--font-body); font-size: 1rem; color: var(--bone);
  opacity: .85; text-decoration: none; transition: opacity .3s, color .3s;
}
.footer-col a:hover { opacity: 1; color: var(--red-bright); }





.footer-bottom {
  grid-column: 1/-1; border-top: 1px solid rgba(255,255,255,.06);
  padding-top: 1.5rem; display: flex; justify-content: space-between;
}
.footer-bottom p {
  font-family: var(--font-display); font-size: .72rem; letter-spacing: .12em;
  color: var(--bone); opacity: .6; text-transform: uppercase;
}

/* ── SVG logo wrap util ── */
.svg-logo-wrap { display: inline-block; line-height: 0; }

/* ── REVEAL ── */
.reveal { opacity: 0; transform: translateY(30px); transition: opacity .75s ease, transform .75s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }

/* ── RESPONSIVE ── */
@media (max-width: 900px) {
  nav { padding: 1rem 1.5rem; }
  nav.scrolled { padding: .6rem 1.5rem; }
  .nav-links { display: none; }
  #experience, #gironi, #faq, #info { padding: 4rem 2rem; }
  .pillars, .gironi-grid { grid-template-columns: 1fr; }
  
  footer { grid-template-columns: 1fr; padding: 3rem 2rem; }
  .quote-band { padding: 1.5rem 2rem; }
  
}

/* ── GIRONE EXPAND CARD ── */
.girone-expand-card {
  width: 100%;
  margin-top: 3rem;
}
@keyframes cardReveal {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}
.gec-inner {
  max-width: 1140px;
  margin: 0 auto;
  background: transparent;
  border: none;
  position: relative;
  box-shadow: none;
  animation: cardReveal .5s ease both;
}
/* Horizontal 3-column layout — balanced so verses wrap by natural line length, not by cramped space */
.gec-horizontal {
  display: grid;
  grid-template-columns: 1fr 1.5fr 1.15fr;
  min-height: 460px;
}
.gec-close {
  position: absolute; top: 1rem; right: 1.2rem;
  background: none; border: none;
  color: var(--red); font-size: 1.1rem;
  cursor: pointer;
  opacity: .6; transition: opacity .2s; z-index: 10;
  font-family: var(--font-display);
}
.gec-close:hover { opacity: 1; }

/* LEFT column */
.gec-left {
  padding: 2.5rem 2rem 2.5rem 2.5rem;
  display: flex; flex-direction: column;
  justify-content: center;
}
.gec-act {
  font-family: var(--font-display); font-size: .85rem;
  letter-spacing: .18em; color: var(--white);
  text-transform: uppercase; margin-bottom: 1rem;
  opacity: 1; font-weight: 600;
}
.gec-title {
  font-family: var(--font-display); font-size: clamp(1.6rem, 2.5vw, 2.4rem);
  font-weight: 700; color: var(--white);
  line-height: 1.1; letter-spacing: .06em;
  margin-bottom: 1.5rem;
  border-bottom: 2px solid var(--red);
  padding-bottom: .7rem;
  display: inline-block;
}
.gec-divider { display: none; }
.gec-credit {
  font-family: var(--font-body); font-size: 1.05rem;
  letter-spacing: .04em; color: var(--bone);
  line-height: 1.5; opacity: .85;
}
.gec-credit span { opacity: .75; font-style: italic; }

/* CENTER column — image */
.gec-center {
  padding: 0;
  display: flex; align-items: stretch;
}
.gec-frame {
  position: relative;
  padding: 0;
  border: none;
  background: transparent;
  width: 100%;
  display: flex; align-items: center;
}
.gec-img {
  display: block; width: 100%; height: 100%;
  object-fit: cover;
  filter: sepia(.1) contrast(1.05);
}
/* L'incisione che sfuma: nessuna cornice, la stampa si dissolve nel nero
   della pagina su tutti e quattro i lati. Il buio dell'incisione e quello
   del sito diventano la stessa cosa. */
.gec-img, .gec-vr {
  -webkit-mask-image: linear-gradient(to right, transparent 0%, rgba(0,0,0,.35) 5%, #000 14%,
                      #000 86%, rgba(0,0,0,.35) 95%, transparent 100%),
                    linear-gradient(to bottom, transparent 0%, rgba(0,0,0,.35) 4%, #000 10%,
                      #000 90%, rgba(0,0,0,.35) 96%, transparent 100%);
  -webkit-mask-composite: source-in;
          mask-image: linear-gradient(to right, transparent 0%, rgba(0,0,0,.35) 5%, #000 14%,
                      #000 86%, rgba(0,0,0,.35) 95%, transparent 100%),
                    linear-gradient(to bottom, transparent 0%, rgba(0,0,0,.35) 4%, #000 10%,
                      #000 90%, rgba(0,0,0,.35) 96%, transparent 100%);
          mask-composite: intersect;
}

/* RIGHT column */
.gec-right {
  padding: 2.5rem 2.8rem 2.5rem 2.2rem;
  display: flex; flex-direction: column;
  justify-content: center;
}
.gec-verse-label {
  font-family: var(--font-display); font-size: .85rem;
  letter-spacing: .15em; color: var(--white);
  text-transform: uppercase; margin-bottom: 1.5rem;
  opacity: 1; font-weight: 600;
}
.gec-terzina {
  font-family: var(--font-body); font-style: italic;
  border-left: 2px solid var(--red); padding-left: 1.1rem; margin: 0;
}
.gec-terzina p {
  font-size: clamp(1.05rem, 1.5vw, 1.25rem);
  color: var(--bone); line-height: 1.55; opacity: .95;
  white-space: normal;     /* let the browser wrap naturally if a verse is too long */
  margin-bottom: .3rem;
}
.gec-terzina p:last-child { margin-bottom: 0; }

/* Responsive */
@media (max-width: 900px) {
  .gec-horizontal {
    grid-template-columns: 1fr;
  }
  .gec-left, .gec-right {
    padding: 1.5rem 2rem;
    border-right: none; border-left: none;
    border-bottom: 1px solid rgba(182,9,27,.2);
  }
  .gec-center { min-height: 280px; }
}


/* ── EXP MAIN TITLE ── */
.exp-main-title {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 3.5vw, 2.6rem);
  font-weight: 900; color: var(--white);
  letter-spacing: .15em; text-align: center;
  margin-bottom: .6rem;
}
.exp-subtitle {
  font-family: var(--font-body); font-style: italic;
  font-size: clamp(1.05rem, 1.9vw, 1.35rem);
  color: var(--bone); opacity: .9; text-align: center;
  margin-bottom: 2rem;
  line-height: 1.4;
}

/* ════════════════════════════════════════════
   I GIRONI — COLUMN FLAMES (extreme edges)
   Full flame visible (no crop), seamless
   integration with black background
════════════════════════════════════════════ */
#gironi-diagram {
  padding: 3rem 0 2.5rem !important;
  overflow: hidden;
  background: var(--black);
  position: relative;
}

/* Row spans full width — flames go to the very edges */
.fcd-row {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  width: 100%;
  position: relative;
  background: var(--black);
}

/* Side flame panels — pinned to extreme left/right of viewport-width row */
.fcd-fire {
  flex: 0 0 auto;
  width: 26vw;
  max-width: 400px;
  min-width: 220px;
  height: 584px;         /* full cone render height: Selva top → Lucifero bottom + margin compensates */
  margin-bottom: 64px;   /* aligns base with Lucifero's bottom edge */
  position: relative;
  overflow: visible;         /* never crop the flame */
  background: var(--black);  /* identical to section, row, and cone — fully uniform field */
  pointer-events: none;
  display: flex;
  align-items: flex-end;     /* flame base sits at the bottom of this box */
  justify-content: center;
}

/* Video shows the COMPLETE flame, untouched proportions, no cropping */
.fcd-fire video {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: bottom center;  /* base anchors to bottom = Lucifero level */
  mix-blend-mode: screen;          /* black of the clip vanishes into bg */
  filter: brightness(1.02);        /* tiny lift so embers match section warmth */
  background: var(--black);        /* defensive: same field color beneath the blended video */
  /* NOTE: no extra transform:scale() — with this tall/narrow box, object-fit:cover
     already height-matches the square source, so the full flame (base to tip)
     is shown 1:1 with no need to zoom. Zooming was clipping the tip. */
  /* Tiny safety fade only on the very top sliver, well above the flame's
     highest reach (~4-5% from top even at its tallest moment) */
  -webkit-mask-image: linear-gradient(to bottom,
    transparent 0%, black 3%, black 100%);
  mask-image: linear-gradient(to bottom,
    transparent 0%, black 3%, black 100%);
}

.fcd-fire-right video {
  transform: scaleX(-1);
}

/* Cone — centered, fully visible */
.fcd-cone {
  flex: 1 1 auto;
  width: 620px;
  max-width: 56vw;
  position: relative;
  z-index: 2;
  background: var(--black);
  margin: 0 auto;
}
.fcd-cone svg {
  display: block;
  width: 100%;
  max-width: 620px;
  margin: 0 auto;
}

/* Subtle ember line ties the row together visually */
#gironi-diagram::after {
  content: '';
  position: absolute;
  bottom: 2.5rem; left: 5%; right: 5%;
  height: 1px;
  background: linear-gradient(90deg,
    transparent 0%,
    rgba(182,9,27,0.4) 20%,
    rgba(220,100,10,0.55) 50%,
    rgba(182,9,27,0.4) 80%,
    transparent 100%);
  z-index: 1;
  pointer-events: none;
}

@media (max-width: 900px) {
  .fcd-fire { display: none; }
  .fcd-cone { width: 100%; max-width: 100%; margin: 0 auto; }
  #gironi-diagram > .reveal:first-child { padding: 0 1.5rem 1.5rem; }
  #gironi-diagram { padding: 3rem 0 2rem !important; }
}

.exp-step-real-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
  filter: saturate(1.05) contrast(1.03);
  background: #0a0608;
}


/* Porta dell'Inferno card: center the image vertically between title and verse */
.gec-porta-centered .gec-center {
  align-items: center;
}
.gec-porta-centered .gec-frame {
  align-items: center;
}
.gec-porta-centered .gec-img {
  height: auto;
  max-height: 90%;
  object-fit: contain;
}

/* ── EXPERIENCE: VERTICAL CASCADE WITH ALTERNATING LAYOUT ── */
.exp-cascade {
  display: flex;
  flex-direction: column;
  gap: 4rem;
  max-width: 1100px;
  margin: 3rem auto 0;
  padding: 0 2rem;
}

.exp-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}
/* Reversed rows (step 2 and 4): swap visual order via grid */
.exp-row-reverse .exp-row-text  { order: 2; }
.exp-row-reverse .exp-row-image { order: 1; }

.exp-row-text {
  display: flex;
  flex-direction: column;
}
.exp-row-num {
  font-family: var(--font-display);
  font-size: 2.2rem;
  font-weight: 900;
  color: var(--red);
  opacity: .5;
  letter-spacing: .05em;
  margin-bottom: .5rem;
  line-height: 1;
}
.exp-row-title {
  font-family: var(--font-display);
  font-size: clamp(1.4rem, 2.5vw, 1.9rem);
  font-weight: 700;
  color: var(--white);
  line-height: 1.25;
  margin-bottom: 1.2rem;
  letter-spacing: .02em;
}
.exp-row-desc {
  font-family: var(--font-body);
  font-size: clamp(1.05rem, 1.6vw, 1.2rem);
  color: var(--bone);
  line-height: 1.6;
  opacity: .92;
}
.exp-row-desc strong {
  color: var(--white);
  font-weight: 600;
  font-style: normal;
}

.exp-row-image {
  position: relative;
  border: 1px solid rgba(182,9,27,.3);
  background: var(--black);
  overflow: hidden;
  aspect-ratio: 4/3;
}
.exp-row-image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
  background: var(--black);
}
.exp-row-image::before {
  content: '';
  position: absolute; inset: 0;
  border: 1px solid rgba(182,9,27,.15);
  margin: 6px;
  pointer-events: none;
  z-index: 1;
}

@media (max-width: 900px) {
  .exp-cascade { gap: 3rem; padding: 0 1.5rem; }
  .exp-row {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  .exp-row-reverse .exp-row-text  { order: 1; }
  .exp-row-reverse .exp-row-image { order: 2; }
}


/* ── INFO: COMPACT 4-COLUMN GRID ── */
.info3-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: rgba(182,9,27,.2);
  border: 1px solid rgba(182,9,27,.3);
  max-width: 1200px;
  margin: 0 auto;
}
.info3-block {
  background: var(--deep);
  padding: 1.8rem 1.6rem;
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  transition: background .3s;
}
.info3-block:hover { background: #180408; }
.info3-icon {
  font-size: 1.6rem;
  flex-shrink: 0;
  line-height: 1;
  filter: drop-shadow(0 0 5px rgba(182,9,27,.3));
}
.info3-body { min-width: 0; }
.info3-title {
  font-family: var(--font-display);
  font-size: .7rem;
  letter-spacing: .15em;
  color: var(--white);
  text-transform: uppercase;
  margin-bottom: .4rem;
  font-weight: 600;
}
.info3-text {
  font-family: var(--font-body);
  font-size: .95rem;
  color: var(--bone);
  line-height: 1.4;
  opacity: .92;
}
.info3-text strong { color: var(--white); }

/* I contatti (v84). Il collegamento non aveva una sua regola, quindi prendeva
   l'azzurro di sistema: ora e' avorio come il resto, con il filo rosso sotto.
   L'indirizzo sta su una riga sola — `nowrap` piu' un corpo appena piu' piccolo,
   perche' alla larghezza della colonna a .95rem non ci stava — e il numero di
   telefono va sulla riga successiva. */
.info-inline-link {
  color: var(--bone); text-decoration: none;
  border-bottom: 1px solid rgba(182,9,27,.55);
  padding-bottom: 1px;
  transition: color .25s ease, border-color .25s ease;
}
.info-inline-link:hover { color: var(--white); border-bottom-color: var(--red); }
.info3-mail { white-space: nowrap; font-size: .8rem; letter-spacing: -.005em; }
.info3-tel { margin-top: .35rem; }
@media (max-width: 1100px) and (min-width: 561px) {
  .info3-mail { font-size: .86rem; }
}

.info-map-link {
  display: inline-block;
  margin-top: .4rem;
  font-family: var(--font-display);
  font-size: .6rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--red-bright);
  text-decoration: none;
  border-bottom: 1px solid rgba(182,9,27,.4);
  transition: color .3s, border-color .3s;
}
.info-map-link:hover { color: var(--white); border-color: var(--white); }

@media (max-width: 900px) {
  .info3-grid { grid-template-columns: 1fr 1fr; }
  #info { padding: 3rem 2rem !important; }
}
@media (max-width: 560px) {
  .info3-grid { grid-template-columns: 1fr; }
}


/* ── FOOTER CENTER COLUMN: logo + byline + motto ── */
.footer-center-col {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: .6rem;
}
.footer-dante-logo {
  margin-bottom: .4rem;
}
.footer-dante-logo svg {
  width: 100%;
  max-width: 130px;
  height: auto;
  display: block;
  margin: 0 auto;
  filter: drop-shadow(0 0 10px rgba(182,9,27,.25));
}
.footer-byline {
  font-family: var(--font-display);
  font-size: .8rem;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--white);
  font-weight: 600;
  opacity: .95;
}
.footer-motto {
  font-family: var(--font-body);
  font-style: italic;
  font-size: .95rem;
  line-height: 1.5;
  color: var(--bone);
  opacity: .7;
  max-width: 260px;
}

/* ── FOLLOW US SECTION ── */
.social-links {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  flex-wrap: wrap;
}
.social-card {
  display: flex;
  align-items: center;
  gap: .9rem;
  padding: 1rem 1.8rem;
  border: 1px solid rgba(182,9,27,.35);
  background: var(--black);
  border-radius: 4px;
  text-decoration: none;
  color: var(--bone);
  transition: border-color .3s, background .3s, transform .2s;
  min-width: 220px;
}
.social-card:hover {
  border-color: var(--red);
  background: #160206;
  transform: translateY(-3px);
}
.social-icon {
  width: 40px;
  height: 40px;
  flex-shrink: 0;
  border: 1px solid rgba(182,9,27,.4);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--red-bright);
  transition: border-color .3s, color .3s;
}
.social-icon svg { width: 20px; height: 20px; }
.social-card:hover .social-icon {
  border-color: var(--red-bright);
  color: var(--white);
}
.social-text {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
}
.social-name {
  font-family: var(--font-display);
  font-size: .75rem;
  letter-spacing: .15em;
  text-transform: uppercase;
  color: var(--white);
  font-weight: 600;
  margin-bottom: .15rem;
}
.social-handle {
  font-family: var(--font-body);
  font-size: .85rem;
  color: var(--bone);
  opacity: .65;
}

@media (max-width: 600px) {
  .social-links { flex-direction: column; align-items: center; }
  .social-card { width: 100%; max-width: 320px; }
}


/* ── SCUOLE & GITE DIDATTICHE ── */
#scuole {
  background: var(--deep);
  padding: 4rem 7rem;
  border-top: 1px solid rgba(182,9,27,.25);
}
.scuole-subtitle {
  font-family: var(--font-body); font-style: italic;
  font-size: clamp(1.05rem, 1.9vw, 1.35rem);
  color: var(--bone); opacity: .9; line-height: 1.4;
  margin-bottom: 3rem;
}

/* Intro: image + pitch */
.scuole-intro {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 3rem;
  align-items: center;
  max-width: 1100px;
  margin: 0 auto 3.5rem;
}
.scuole-intro-img {
  border: 1px solid rgba(182,9,27,.3);
  background: var(--black);
  padding: 8px;
  position: relative;
}
.scuole-intro-img img {
  width: 100%; height: auto; display: block;
  filter: sepia(.1) contrast(1.05);
}
.scuole-img-credit {
  font-family: var(--font-body); font-style: italic;
  font-size: .8rem; color: var(--bone); opacity: .6;
  text-align: center; padding-top: .5rem;
}
.scuole-intro-text p {
  font-family: var(--font-body);
  font-size: clamp(1.05rem, 1.5vw, 1.2rem);
  color: var(--bone); line-height: 1.55; opacity: .93;
  margin-bottom: 1.1rem;
}
.scuole-intro-text strong { color: var(--white); }

/* Price band */
.scuole-price-band {
  display: flex; align-items: center; gap: 1.2rem;
  border: 1px solid rgba(182,9,27,.45);
  background: var(--black);
  padding: 1.1rem 1.6rem;
  margin: 1.5rem 0 .6rem;
}
.scuole-price {
  font-family: var(--font-display);
  font-size: 3rem; font-weight: 900;
  color: var(--red-bright);
  line-height: 1;
}
.scuole-price-label {
  font-family: var(--font-display);
  font-size: .95rem; letter-spacing: .08em;
  text-transform: uppercase; color: var(--white);
  line-height: 1.5;
}
.scuole-price-label em {
  font-style: normal; font-size: .75rem;
  color: var(--bone); opacity: .85;
  text-transform: none; letter-spacing: .03em;
}
.scuole-price-note {
  font-style: italic; font-size: 1rem !important;
  opacity: .75 !important;
}

/* Section sub-headings */
.scuole-h3 {
  font-family: var(--font-display);
  font-size: clamp(1.3rem, 2.4vw, 1.8rem);
  font-weight: 700; color: var(--white);
  text-align: center; margin: 3.5rem 0 2rem;
  letter-spacing: .03em;
}

/* Two format cards */
.scuole-formats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  max-width: 1100px;
  margin: 0 auto;
}
.scuole-format-card {
  border: 1px solid rgba(182,9,27,.3);
  background: var(--black);
  padding: 2rem 2.2rem;
  transition: border-color .3s;
}
.scuole-format-card:hover { border-color: rgba(182,9,27,.6); }
.scuole-format-featured { border-color: rgba(216,30,91,.5); }
.scuole-format-icon { font-size: 2rem; margin-bottom: .8rem; }
.scuole-format-card h4 {
  font-family: var(--font-display);
  font-size: 1.25rem; font-weight: 700;
  color: var(--white); margin-bottom: .4rem;
}
.scuole-format-tag {
  font-family: var(--font-body); font-style: italic;
  font-size: .95rem; color: var(--bone); opacity: .75;
  margin-bottom: 1.2rem;
}
.scuole-format-card ul { list-style: none; padding: 0; }
.scuole-format-card li {
  font-family: var(--font-body);
  font-size: 1.02rem; color: var(--bone);
  line-height: 1.45; opacity: .92;
  padding: .35rem 0 .35rem 1.4rem;
  position: relative;
}
.scuole-format-card li::before {
  content: '›';
  position: absolute; left: .2rem;
  color: var(--red-bright); font-weight: 700;
}
.scuole-format-card strong { color: var(--white); }

/* Guarantees */
.scuole-garanzie {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  max-width: 1100px;
  margin: 2.5rem auto 0;
}
.scuole-garanzia {
  display: flex; gap: 1rem; align-items: flex-start;
  border-left: 3px solid var(--red);
  background: rgba(182,9,27,.06);
  padding: 1.2rem 1.4rem;
  font-family: var(--font-body);
  font-size: 1rem; color: var(--bone);
  line-height: 1.45; opacity: .95;
}
.scuole-garanzia strong { color: var(--white); }
.scuole-garanzia-icon { font-size: 1.6rem; flex-shrink: 0; line-height: 1; }

/* 3 steps */
.scuole-steps {
  display: flex; align-items: stretch; justify-content: center;
  gap: 1.2rem; max-width: 1000px; margin: 0 auto;
}
.scuole-step {
  flex: 1;
  border: 1px solid rgba(182,9,27,.3);
  background: var(--black);
  padding: 1.6rem 1.4rem;
  text-align: center;
  font-family: var(--font-body);
  font-size: .98rem; color: var(--bone); line-height: 1.5;
}
.scuole-step strong { color: var(--white); }
.scuole-step-num {
  display: inline-flex; align-items: center; justify-content: center;
  width: 38px; height: 38px; border-radius: 50%;
  border: 1px solid var(--red-bright);
  font-family: var(--font-display); font-weight: 700;
  font-size: 1.1rem; color: var(--red-bright);
  margin-bottom: .9rem;
}
.scuole-step-arrow {
  display: flex; align-items: center;
  font-size: 1.6rem; color: var(--red);
  flex-shrink: 0;
}
.scuole-mail-link {
  color: var(--red-bright); text-decoration: none;
  border-bottom: 1px solid rgba(216,30,91,.4);
  transition: color .3s, border-color .3s;
  word-break: break-all;
}
.scuole-mail-link:hover { color: var(--white); border-color: var(--white); }

/* CTA button — same family as btn-hero, with shine sweep */
.btn-scuole {
  display: inline-block;
  font-family: var(--font-display); font-size: .78rem; letter-spacing: .22em;
  text-transform: uppercase; color: var(--white);
  background: var(--red);
  padding: 1.15rem 3.2rem; text-decoration: none;
  box-shadow: 0 6px 40px rgba(182,9,27,.5);
  transition: transform .2s, box-shadow .3s, background .3s;
  position: relative;
  overflow: hidden;
  isolation: isolate;
  clip-path: inset(0);
  z-index: 0;
}
.btn-scuole::before {
  content: '';
  position: absolute; top: -20%; bottom: -20%; left: 0;
  width: 40%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,.35), transparent);
  transform: translateX(-150%) skewX(-15deg);
  animation: btnShineSweep 3.2s ease-in-out infinite;
  z-index: 1;
  pointer-events: none;
}
.btn-scuole:hover { background: var(--red-bright); transform: translateY(-2px); box-shadow: 0 10px 50px rgba(216,30,91,.55); }
.scuole-cta-note {
  font-family: var(--font-body); font-style: italic;
  font-size: .95rem; color: var(--bone); opacity: .75;
  margin-top: 1rem;
}

/* FAQ grid */
.scuole-faq {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 1.5rem;
  max-width: 1100px;
  margin: 0 auto;
}
.scuole-faq-item {
  border-top: 2px solid rgba(182,9,27,.4);
  padding-top: 1rem;
}
.scuole-faq-item h5 {
  font-family: var(--font-display);
  font-size: .95rem; font-weight: 700;
  color: var(--white); margin-bottom: .5rem;
  letter-spacing: .03em;
}
.scuole-faq-item p {
  font-family: var(--font-body);
  font-size: .95rem; color: var(--bone);
  line-height: 1.45; opacity: .88;
}

/* Gruppi / CRAL block */
.scuole-gruppi {
  max-width: 900px;
  margin: 3.5rem auto 0;
  border: 1px solid rgba(182,9,27,.35);
  background: var(--black);
  padding: 2rem 2.4rem;
  text-align: center;
}
.scuole-gruppi h4 {
  font-family: var(--font-display);
  font-size: 1.2rem; font-weight: 700;
  color: var(--white); margin-bottom: .8rem;
  letter-spacing: .04em; text-transform: uppercase;
}
.scuole-gruppi p {
  font-family: var(--font-body);
  font-size: 1.02rem; color: var(--bone);
  line-height: 1.55; opacity: .92;
}
.scuole-gruppi strong { color: var(--white); }

/* Responsive */
@media (max-width: 900px) {
  #scuole { padding: 3rem 2rem; }
  .scuole-intro { grid-template-columns: 1fr; gap: 2rem; }
  .scuole-formats, .scuole-garanzie { grid-template-columns: 1fr; }
  .scuole-steps { flex-direction: column; }
  .scuole-step-arrow { transform: rotate(90deg); justify-content: center; }
  .scuole-faq { grid-template-columns: 1fr; }
}


/* ── BIGLIETTI ── */
#biglietti {
  background: var(--deep);
  padding: clamp(4.5rem,7vw,7rem) 7rem 4rem;
  border-top: 1px solid rgba(182,9,27,.25);
}
.hero-price-from {
  font-family: var(--font-display);
  font-size: .82rem; letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--bone); opacity: .95;
  margin-top: 1rem;
  animation: fadeUp .8s 1s both;
}
.hero-price-from strong { color: var(--red-bright); font-size: 1.05rem; }

.tickets-from {
  font-family: var(--font-display);
  font-size: clamp(1rem, 1.8vw, 1.3rem);
  letter-spacing: .1em; text-transform: uppercase;
  color: var(--white); margin-bottom: .6rem;
}
.tickets-from strong { color: var(--red-bright); font-size: 1.25em; font-weight: 900; }
.tickets-sub {
  font-family: var(--font-body); font-style: italic;
  font-size: 1.05rem; color: var(--bone); opacity: .85;
  margin-bottom: 2.6rem;
}

.tickets-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.4rem;
  max-width: 1200px;
  margin: 0 auto;
  align-items: stretch;
}
.ticket-card {
  position: relative;
  border: 1px solid rgba(182,9,27,.3);
  background: var(--black);
  padding: 2.1rem 1.5rem 1.8rem;
  text-align: center;
  display: flex; flex-direction: column;
  transition: border-color .3s, transform .25s;
}
.ticket-card:hover { border-color: rgba(182,9,27,.65); transform: translateY(-4px); }

.ticket-name {
  font-family: var(--font-display);
  font-size: .92rem; font-weight: 700;
  letter-spacing: .1em; text-transform: uppercase;
  color: var(--white); margin-bottom: 1.1rem;
  min-height: 2.4em;
  display: flex; align-items: center; justify-content: center;
}
.ticket-price-row {
  display: flex; align-items: baseline; justify-content: center;
  gap: .7rem; margin-bottom: .9rem;
}
.ticket-price {
  font-family: var(--font-display);
  font-size: 2.35rem; font-weight: 900;
  color: var(--white); line-height: 1;
}
.ticket-price-old {
  font-family: var(--font-display);
  font-size: 1.15rem; font-weight: 700;
  color: var(--bone); opacity: .55;
  text-decoration: line-through;
  text-decoration-color: var(--red-bright);
  text-decoration-thickness: 2px;
}
.ticket-desc {
  font-family: var(--font-body);
  font-size: .98rem; color: var(--bone);
  line-height: 1.45; opacity: .88;
  margin-top: auto;
}
.ticket-desc strong { color: var(--white); }

/* Early Bird — featured card */
.ticket-featured {
  border: 1px solid var(--red-bright);
  background: linear-gradient(180deg, #1c060c 0%, var(--black) 100%);
  box-shadow: 0 0 40px rgba(216,30,91,.16);
  transform: scale(1.04);
  z-index: 1;
}
.ticket-featured:hover { transform: scale(1.04) translateY(-4px); border-color: var(--red-bright); }
.ticket-featured .ticket-price { color: var(--red-bright); font-size: 2.7rem; }
.ticket-badge {
  position: absolute; top: -13px; left: 50%;
  transform: translateX(-50%);
  font-family: var(--font-display);
  font-size: .66rem; font-weight: 700;
  letter-spacing: .22em; text-transform: uppercase;
  color: var(--white);
  background: var(--red);
  padding: .38rem 1.1rem;
  white-space: nowrap;
  box-shadow: 0 4px 18px rgba(182,9,27,.5);
}
.ticket-note-strong {
  font-family: var(--font-display);
  font-size: .74rem; font-weight: 700;
  letter-spacing: .14em; text-transform: uppercase;
  color: var(--red-bright);
  margin-bottom: .9rem;
}

.tickets-cta-note {
  font-family: var(--font-body);
  font-size: .98rem; color: var(--bone); opacity: .8;
  margin-top: 1.1rem;
}
.tickets-contact { color: var(--white); opacity: 1; user-select: all; }

@media (max-width: 1080px) {
  .tickets-grid { grid-template-columns: 1fr 1fr; row-gap: 2rem; }
  .ticket-featured { transform: none; }
  .ticket-featured:hover { transform: translateY(-4px); }
}
@media (max-width: 620px) {
  #biglietti { padding: clamp(4.5rem,7vw,7rem) 1.6rem 3rem; }
  .tickets-grid { grid-template-columns: 1fr; }
}

/* ══════════════════════════════════════════════════════════
   TRAILER
   ══════════════════════════════════════════════════════════ */
#trailer {
  background: var(--black);
  padding: 4.5rem 7rem 5rem;
  text-align: center;
  border-top: 1px solid rgba(182,9,27,.25);
}
.trailer-frame {
  position: relative;
  max-width: 1000px;
  margin: 2.5rem auto 0;
  border: 1px solid rgba(182,9,27,.35);
  background: #000;
  box-shadow: 0 0 60px rgba(182,9,27,.12);
}
.trailer-frame video {
  display: block;
  width: 100%;
  height: auto;
}
.trailer-frame iframe { display: block; width: 100%; aspect-ratio: 16 / 9; border: 0; }
.trailer-play {
  position: absolute;
  inset: 0;
  border: none;
  background: linear-gradient(to bottom, rgba(10,6,8,0) 60%, rgba(10,6,8,.45) 100%);
  cursor: pointer;
  display: flex;
  align-items: flex-end;          /* nell'angolo: la locandina resta leggibile */
  justify-content: flex-start;
  padding: 0 0 3.5% 3.5%;
  transition: background .35s ease;
}
.trailer-play:hover { background: rgba(10,6,8,.10); }
.trailer-play span {
  width: 72px; height: 72px;
  border: 2px solid var(--red);
  border-radius: 50%;
  background: rgba(182,9,27,.35);
  display: flex; align-items: center; justify-content: center;
  transition: background .35s ease, transform .35s ease;
}
.trailer-play:hover span { background: rgba(182,9,27,.45); transform: scale(1.06); }
.trailer-play svg { width: 30px; height: 30px; fill: var(--white); }
.trailer-cta {
  display: inline-block;
  margin-top: 2.5rem;
  font-family: var(--font-display);
  font-size: .82rem;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--bone);
  text-decoration: none;
  border-bottom: 1px solid var(--red);
  padding-bottom: .35rem;
  transition: color .25s ease;
}
.trailer-cta:hover { color: var(--white); }

/* ══════════════════════════════════════════════════════════
   FASCIA DI CHIUSURA
   ══════════════════════════════════════════════════════════ */
#save-the-date {
  background: var(--deep);
  padding: 5rem 7rem;
  text-align: center;
  border-top: 1px solid rgba(182,9,27,.25);
}
.std-inner { max-width: 720px; margin: 0 auto; }
.std-logo { width: 100%; max-width: 320px; height: auto; display: block; margin: 0 auto 1.8rem; }
.std-date {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 3vw, 2.2rem);
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--white);
  margin-bottom: .6rem;
}
.std-place {
  font-family: var(--font-display);
  font-size: .82rem;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--bone);
  opacity: .8;
}
.std-rule { width: 60px; height: 1px; background: var(--red); margin: 2rem auto; }
.std-detail {
  font-family: var(--font-body);
  font-size: 1.02rem;
  color: var(--bone);
  opacity: .85;
  margin-bottom: 2.2rem;
  line-height: 1.6;
}
.std-cta { display: inline-block; }
.std-from {
  font-family: var(--font-display);
  font-size: .75rem;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--bone);
  opacity: .8;
  margin-top: 1.1rem;
}
.std-from strong { color: var(--red-bright); }

@media (max-width: 900px) {
  #trailer { padding: 3.5rem 1.5rem 4rem; }
  #save-the-date { padding: 3.5rem 1.5rem; }
  .trailer-play span { width: 54px; height: 54px; }
  .trailer-play svg { width: 20px; height: 20px; }
  .std-logo { max-width: 240px; }
}

/* Il bottone dell'hero sta sopra l'immagine: un'ombra lo stacca dal fondo. */
#hero .btn-hero { box-shadow: 0 6px 40px rgba(0,0,0,.85), 0 0 0 1px rgba(0,0,0,.35); }


/* ══════════════════════════════════════════════════════════
   TIPOGRAFIA — scelta del 10 settembre 2026
   Cinzel resta sui titoli grandi. Inter prende tutto cio' che e' piccolo
   e funzionale: navigazione, bottoni, prezzi, etichette. Su fondo scuro
   Cinzel a 11-13 px perde i tratti sottili e si legge male.
   Queste regole stanno in fondo apposta: vincono per ordine, senza !important.
   ══════════════════════════════════════════════════════════ */

:root { --font-ui: 'Inter', system-ui, sans-serif; }

.nav-links a, .btn-hero, .quote-band cite, .section-label, .pillar-title, .girone-num,
.footer-col h4, .footer-bottom p, .gec-close, .gec-act, .gec-verse-label, .info3-title,
.info-map-link, .footer-byline, .social-name, .scuole-cta, .hero-price-from, .tickets-from,
.ticket-badge, .ticket-note-strong, .trailer-cta, .std-place, .std-from, .ticket-name,
.scuole-price-label, .scuole-faq-item h5 {
  font-family: var(--font-ui);
  letter-spacing: .07em;
}
.btn-hero, .scuole-cta, .ticket-badge, .footer-col h4, .info3-title, .section-label,
.pillar-title, .girone-num, .ticket-name, .scuole-faq-item h5 { font-weight: 700; }
.nav-links a, .quote-band cite, .hero-price-from, .tickets-from, .std-place, .std-from, .gec-close,
.trailer-cta, .gec-act, .gec-verse-label, .social-name, .footer-bottom p,
.footer-byline, .info-map-link, .ticket-note-strong, .scuole-price-label { font-weight: 600; }

/* Il testo corrente, un gradino piu' corposo */
body { font-weight: 600; }

/* Il peso 600 di Crimson Text ha la legatura "ff" difettosa: lascia uno spazio
   dopo, e "Tariffa" si legge "Tariff a". Disattivando le legature si risolve. */
body { font-variant-ligatures: none; }

/* ── Diagramma «I Cerchi» ─────────────────────────────────────────────── */
.cerchi-scena { width: 100%; overflow: hidden; line-height: 0; }
#infernoDiagram { display: block; width: 100%; height: 790px; }
@media (max-width: 900px) { #infernoDiagram { height: 690px; } }
@media (max-width: 560px) { #infernoDiagram { height: 620px; } }

#infernoDiagram .ic-tappa { cursor: pointer; outline: none; -webkit-tap-highlight-color: transparent; }
#infernoDiagram .ic-luce { opacity: 0; pointer-events: none; transition: opacity .28s ease; }
#infernoDiagram .ic-luce-banda { transition: opacity .28s ease, stroke-opacity .28s ease; }
#infernoDiagram .ic-eti { transition: fill .28s ease; }

#infernoDiagram .ic-tappa:hover .ic-luce,
#infernoDiagram .ic-tappa:focus-visible .ic-luce { opacity: 1; }
#infernoDiagram .ic-tappa:hover .ic-eti-forte,
#infernoDiagram .ic-tappa:focus-visible .ic-eti-forte { fill: #ffd9c2; }
#infernoDiagram .ic-tappa:focus-visible .ic-luce-banda { stroke-opacity: .9; }
#infernoDiagram .ic-tappa:focus-visible .ic-eti-forte { fill: #ffb98f; }

@media (prefers-reduced-motion: reduce) {
  #infernoDiagram .ic-luce, #infernoDiagram .ic-eti { transition: none; }
}

/* ── Scheda cerchio: incisione ⇄ fotogramma nel visore ─────────────────── */
.gec-vr {
  position: absolute; inset: 0; z-index: 0;
  width: 100%; height: 100%;
  object-fit: cover; display: block;
  opacity: 0; transition: opacity .4s ease;
  pointer-events: none;
  filter: sepia(.04) contrast(1.03);
}
.gec-inner[data-vista="vr"] .gec-vr { opacity: 1; }
.gec-dore { transition: opacity .4s ease; }
.gec-inner[data-vista="vr"] .gec-dore { opacity: 0; }
.gec-porta-centered .gec-vr { object-fit: contain; }

.gec-credit-vr { display: none; }
.gec-inner[data-vista="vr"] .gec-credit-dore { display: none; }
.gec-inner[data-vista="vr"] .gec-credit-vr { display: block; }

.gec-switch {
  position: absolute; left: 50%; bottom: 14px; transform: translateX(-50%);
  display: flex; gap: 2px; z-index: 3;
  background: rgba(10,2,4,.8);
  border: 1px solid rgba(182,9,27,.5);
  padding: 3px;
}
.gec-sw {
  font-family: var(--font-ui); font-size: .68rem; letter-spacing: .12em;
  text-transform: uppercase; font-weight: 600; white-space: nowrap;
  color: var(--bone); background: none; border: none;
  padding: .42rem .9rem; cursor: pointer; opacity: .6;
  transition: opacity .2s ease, background .2s ease, color .2s ease;
}
.gec-sw:hover { opacity: .95; }
.gec-sw.attivo { background: var(--red); color: #fff; opacity: 1; }
.gec-sw:focus-visible { outline: 1px solid var(--red); outline-offset: 2px; }
@media (max-width: 560px) {
  .gec-sw { font-size: .62rem; padding: .38rem .7rem; letter-spacing: .1em; }
  .gec-switch { bottom: 10px; }
}
@media (prefers-reduced-motion: reduce) { .gec-vr, .gec-dore { transition: none; } }

/* ── Schede con lo scatto VR intero (v95): Lussuriosi, Lucifero ──
   il riquadro prende il formato della foto (--ar), la foto si vede tutta,
   l'incisione sta dentro per intero e sfuma nel nero ai lati */
.gec-intera { grid-template-columns: .9fr 1.9fr 1.2fr; }
.gec-intera .gec-right { padding: 2.5rem 1.4rem 2.5rem 1.6rem; }
.gec-intera .gec-left { padding: 2.5rem 1.4rem 2.5rem 2.5rem; }
.gec-intera .gec-center { align-items: center; }
.gec-intera .gec-frame { aspect-ratio: var(--ar, 16/9); height: auto; }
/* v96: l'incisione è ritagliata nello stesso formato dello scatto VR,
   così fra «Incisione» e «Nel visore» non cambia la misura */
.gec-intera .gec-img { height: 100%; object-fit: cover; }
.gec-intera .gec-vr { object-fit: cover; }
.gec-intera .gec-img, .gec-intera .gec-vr {
  -webkit-mask-image: linear-gradient(to right, transparent 0%, #000 4%, #000 96%, transparent 100%),
                      linear-gradient(to bottom, transparent 0%, #000 5%, #000 95%, transparent 100%);
          mask-image: linear-gradient(to right, transparent 0%, #000 4%, #000 96%, transparent 100%),
                      linear-gradient(to bottom, transparent 0%, #000 5%, #000 95%, transparent 100%);
}
@media (max-width: 900px) {
  .gec-intera { grid-template-columns: 1fr; }
  .gec-intera .gec-center { min-height: 0; }
}

/* ── Lussuriosi (v97): incisione intera (verticale) e scatto VR intero (orizzontale)
   nello stesso spazio fisso; ognuna con il suo formato, alla misura più grande possibile ── */
.gec-due-formati .gec-frame { aspect-ratio: auto; height: 480px; }
.gec-due-formati .gec-img,
.gec-due-formati .gec-vr {
  position: absolute; inset: auto; top: 50%; left: 50%; transform: translate(-50%, -50%);
  object-fit: fill;
}
.gec-due-formati .gec-img { height: 100%; width: auto; max-width: 100%; }
.gec-due-formati .gec-vr  { width: 100%; height: auto; max-height: 100%; }
@media (max-width: 900px) {
  .gec-due-formati .gec-frame { height: auto; aspect-ratio: 1 / 1; }
}

/* ── Violenti: due scene nella stessa scheda (v94) ── */
.gec-scene {
  position: absolute; left: 50%; top: 14px; transform: translateX(-50%);
  display: flex; gap: 2px; z-index: 3;
  background: rgba(10,2,4,.8);
  border: 1px solid rgba(182,9,27,.5);
  padding: 3px;
}
.gec-sc {
  font-family: var(--font-ui); font-size: .68rem; letter-spacing: .12em;
  text-transform: uppercase; font-weight: 600; white-space: nowrap;
  color: var(--bone); background: none; border: none;
  padding: .42rem .9rem; cursor: pointer; opacity: .6;
  transition: opacity .2s ease, background .2s ease, color .2s ease;
}
.gec-sc:hover { opacity: .95; }
.gec-sc.attivo { background: rgba(244,236,224,.92); color: #120608; opacity: 1; }
.gec-sc:focus-visible { outline: 1px solid var(--red); outline-offset: 2px; }
.gec-inner[data-scena="centauri"] [data-di="minotauro"],
.gec-inner[data-scena="minotauro"] [data-di="centauri"] { display: none; }
/* stessa altezza per le due scene: la scheda non salta quando si cambia */
.gec-inner[data-scena] .gec-center { height: 480px; }
.gec-inner[data-scena] .gec-frame { height: 100%; }
.gec-inner[data-scena] .gec-img { height: 100%; object-fit: cover; }
@media (max-width: 900px) {
  .gec-inner[data-scena] .gec-center { height: auto; aspect-ratio: 1 / 1; min-height: 0; }
}
@media (max-width: 560px) {
  .gec-sc { font-size: .62rem; padding: .38rem .7rem; letter-spacing: .1em; }
  .gec-scene { top: 10px; }
}


/* ── PAGINA SCUOLE ────────────────────────────────────────────────────── */
.sc-sezione { padding: 4rem clamp(1.2rem, 6vw, 7rem) 3.5rem; text-align: center; }
.sc-sezione-alt { background: #0d0104; }
.sc-sezione > .reveal .exp-subtitle { margin-bottom: 2.2rem; }

/* Hero a mezza altezza */
.sc-hero { position: relative; min-height: 62vh; display: flex; align-items: center;
  justify-content: center; padding: 7rem clamp(1.2rem, 6vw, 7rem) 4rem; overflow: hidden; }
/* il vecchio fondo della hero (fermo immagine della voragine) e' stato
   sostituito dal dittico: regole rimosse. */
.sc-occhiello { font-family: var(--font-ui); font-size: .72rem; letter-spacing: .28em;
  text-transform: uppercase; color: var(--red); font-weight: 700; margin-bottom: 1.2rem; }
.sc-titolo { font-family: var(--font-display); font-weight: 700; color: var(--white);
  font-size: clamp(1.9rem, 4.4vw, 3.3rem); line-height: 1.16; letter-spacing: .03em;
  margin-bottom: 1.2rem; text-shadow: 0 2px 20px rgba(0,0,0,.9); }
.sc-sottotitolo { font-family: var(--font-body); color: var(--bone);
  font-size: clamp(1.02rem, 1.6vw, 1.22rem); line-height: 1.6; opacity: .95; margin-bottom: 2rem; }
.sc-dati { list-style: none; padding: 0; margin: 0 0 2.2rem; display: flex; flex-wrap: wrap;
  justify-content: center; gap: 0; border-top: 1px solid rgba(182,9,27,.35);
  border-bottom: 1px solid rgba(182,9,27,.35); }
.sc-dati li { flex: 1 1 140px; padding: 1rem .8rem; display: flex; flex-direction: column;
  gap: .25rem; border-left: 1px solid rgba(182,9,27,.18); }
.sc-dati li:first-child { border-left: none; }
.sc-dati strong { font-family: var(--font-display); font-size: 1.5rem; color: var(--white);
  font-weight: 700; letter-spacing: .04em; }
.sc-dati span { font-family: var(--font-ui); font-size: .68rem; letter-spacing: .14em;
  text-transform: uppercase; color: var(--bone); opacity: .78; font-weight: 600; }
.sc-hero-nota { font-family: var(--font-ui); font-size: .72rem; letter-spacing: .14em;
  text-transform: uppercase; color: var(--bone); opacity: .7; margin-top: 1.1rem; font-weight: 600; }

/* Testo lungo, leggibile */
.sc-testo { max-width: 760px; margin: 0 auto 2.6rem; text-align: left; }
.sc-testo p { font-family: var(--font-body); font-size: clamp(1.02rem, 1.5vw, 1.16rem);
  line-height: 1.72; color: var(--bone); opacity: .95; margin-bottom: 1.1rem; }

/* Tabella del percorso */
.sc-tabella-wrap { max-width: 900px; margin: 2.8rem auto 0; }
.sc-tabella-scroll { overflow-x: auto; }
.sc-tabella { width: 100%; border-collapse: collapse; text-align: left; min-width: 560px; }
.sc-tab-caption { caption-side: bottom; padding-top: .9rem; font-family: var(--font-ui);
  font-size: .7rem; letter-spacing: .1em; text-transform: uppercase; color: var(--bone);
  opacity: .55; text-align: left; font-weight: 600; }
.sc-tabella th { font-family: var(--font-ui); font-size: .68rem; letter-spacing: .16em;
  text-transform: uppercase; color: var(--red); font-weight: 700; padding: .7rem .9rem;
  border-bottom: 1px solid rgba(182,9,27,.45); }
.sc-tabella td { font-family: var(--font-body); font-size: 1rem; line-height: 1.5;
  color: var(--bone); padding: .85rem .9rem; border-bottom: 1px solid rgba(182,9,27,.14);
  vertical-align: top; }
.sc-tab-tappa { color: var(--white) !important; font-weight: 600; white-space: nowrap; }
.sc-tab-canto { font-family: var(--font-ui) !important; font-size: .8rem !important;
  letter-spacing: .1em; white-space: nowrap; opacity: .85; }

/* La giornata */
.sc-passi { list-style: none; padding: 0; margin: 0 auto; max-width: 820px; text-align: left;
  display: grid; gap: .2rem; }
.sc-passo { display: grid; grid-template-columns: 62px 1fr; gap: 1rem; align-items: start;
  padding: 1.15rem 0; border-bottom: 1px solid rgba(182,9,27,.16); }
.sc-passo:last-child { border-bottom: none; }
.sc-passo-num { font-family: var(--font-ui); font-size: 1.05rem; font-weight: 700;
  color: var(--red); letter-spacing: .06em; padding-top: .1rem; }
.sc-passo h4 { font-family: var(--font-display); font-size: 1.12rem; color: var(--white);
  letter-spacing: .05em; font-weight: 700; margin: 0 0 .35rem; }
.sc-passo p { font-family: var(--font-body); font-size: 1rem; line-height: 1.6;
  color: var(--bone); opacity: .9; margin: 0; }

/* Garanzie a griglia */
.sc-garanzie { display: grid; grid-template-columns: repeat(auto-fit, minmax(270px, 1fr));
  gap: 1.1rem; max-width: 960px; margin: 0 auto; text-align: left; }

/* Pagamento */
.sc-pagamento { max-width: 900px; margin: 3rem auto 0; }
.sc-pagamento-griglia { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.1rem; text-align: left; }
.sc-pag-card { border: 1px solid rgba(182,9,27,.32); background: #120206; padding: 1.4rem 1.5rem; }
.sc-pag-card h4 { font-family: var(--font-ui); font-size: .74rem; letter-spacing: .18em;
  text-transform: uppercase; color: var(--red); font-weight: 700; margin: 0 0 .7rem; }
.sc-pag-card p { font-family: var(--font-body); font-size: 1rem; line-height: 1.6;
  color: var(--bone); opacity: .93; margin: 0; }

.sc-ritorno { margin-top: 2.6rem; text-align: center; }
.sc-ritorno a { font-family: var(--font-ui); font-size: .74rem; letter-spacing: .16em;
  text-transform: uppercase; color: var(--bone); opacity: .7; text-decoration: none; font-weight: 600; }
.sc-ritorno a:hover { opacity: 1; color: var(--red); }

.sc-tab-intro { font-family: var(--font-body); font-size: .98rem; color: var(--bone);
  opacity: .8; margin: -.4rem 0 1.2rem; text-align: left; }

@media (max-width: 640px) {
  .sc-dati li { flex: 1 1 45%; border-left: none; }
  .sc-passo { grid-template-columns: 46px 1fr; gap: .7rem; }
}

/* ══════════════════════════════════════════════════════════
   HERO PAGINA SCUOLE — il dittico Dore' / visore
   Due immagini sovrapposte: l'incisione sotto, il fotogramma VR
   sopra che passa da trasparente a pieno. Nessuna cornice.
   ══════════════════════════════════════════════════════════ */
.sh { min-height: 0; padding: 6.5rem clamp(1.2rem,5vw,5rem) 4rem; }
.sh-griglia { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(1.5rem,4vw,4rem);
  align-items: center; max-width: 1240px; margin: 0 auto; width: 100%; }
.sh-testo { text-align: left; }
.sh-lastra { position: relative; }

/* ── HERO SCUOLE — dittico sovrapposto ───────────────────────────────
   Dore' a sinistra, fotogramma VR a destra, sovrapposti.
   Il fotogramma VR passa da trasparente a pieno sopra l'incisione:
   nel punto di contatto le due immagini convivono, poi una prende il
   posto dell'altra. Il perimetro esterno del dittico sfuma nel nero
   della pagina. Nessun bordo rosso. */
.sh-griglia {
  grid-template-columns: 1fr 1.06fr;
  align-items: stretch;
  gap: clamp(1.2rem, 3vw, 3rem);
  row-gap: 1.1rem;
}
.sh-testo    { grid-column: 1; grid-row: 1; }
.sh-dittico  { grid-column: 2; grid-row: 1; display: block; position: relative;
               width: 100%; height: 100%; min-height: 420px; margin: 0; }
.sh-griglia > .sc-hero-nota { grid-column: 1; grid-row: 2; margin-top: 0; }

/* il piano porta la dissolvenza del perimetro esterno */
.sh-piano { position: absolute; inset: 0;
  --oriz: linear-gradient(to right,
      rgba(0,0,0,0) 0%, rgba(0,0,0,.10) 3%, rgba(0,0,0,.30) 6%, rgba(0,0,0,.55) 9%,
      rgba(0,0,0,.78) 12%, rgba(0,0,0,.93) 15%, #000 18%,
      #000 82%, rgba(0,0,0,.93) 85%, rgba(0,0,0,.78) 88%, rgba(0,0,0,.55) 91%,
      rgba(0,0,0,.30) 94%, rgba(0,0,0,.10) 97%, rgba(0,0,0,0) 100%);
  --vert: linear-gradient(to bottom,
      rgba(0,0,0,0) 0%, rgba(0,0,0,.10) 2%, rgba(0,0,0,.30) 4%, rgba(0,0,0,.55) 7%,
      rgba(0,0,0,.78) 10%, rgba(0,0,0,.93) 13%, #000 16%,
      #000 84%, rgba(0,0,0,.93) 87%, rgba(0,0,0,.78) 90%, rgba(0,0,0,.55) 93%,
      rgba(0,0,0,.30) 96%, rgba(0,0,0,.10) 98%, rgba(0,0,0,0) 100%);
  -webkit-mask-image: var(--oriz), var(--vert);
  -webkit-mask-composite: source-in;
          mask-image: var(--oriz), var(--vert);
          mask-composite: intersect;
}
.sh-lastra { position: absolute; top: 0; bottom: 0; width: 66%;
             border: none; background: none; padding: 0; }
.sh-dore { left: 0;  z-index: 1; }
.sh-dore::after {
  content: ''; position: absolute; inset: 0; z-index: 2; pointer-events: none;
  background:
    linear-gradient(97deg, rgba(10,6,8,0) 38%, rgba(10,6,8,.34) 60%,
                    rgba(10,6,8,.56) 78%, rgba(10,6,8,.72) 100%),
    linear-gradient(to top, rgba(10,6,8,.30) 0%, rgba(10,6,8,.08) 22%, rgba(10,6,8,0) 42%);
}
.sh-vr   { right: 0; z-index: 2; }
.sh-lastra img { display: block; width: 100%; height: 100%; aspect-ratio: auto;
                 object-fit: cover; }
.sh-dore img { object-position: 52% center;
                filter: sepia(.24) saturate(.82) brightness(.94) contrast(1.06); }

/* la sola mascheratura interna: il fotogramma VR che si materializza
   sopra l'incisione. Curva a S, cosi' non si vede dove comincia. */
.sh-vr img {
  object-position: 20% center;
  filter: saturate(1.06) contrast(1.03);
  -webkit-mask-image: linear-gradient(97deg,
      rgba(0,0,0,0) 0%, rgba(0,0,0,0) 17%, rgba(0,0,0,.07) 20%, rgba(0,0,0,.24) 24%,
      rgba(0,0,0,.50) 28%, rgba(0,0,0,.76) 32%, rgba(0,0,0,.93) 34%, #000 36%);
          mask-image: linear-gradient(97deg,
      rgba(0,0,0,0) 0%, rgba(0,0,0,0) 17%, rgba(0,0,0,.07) 20%, rgba(0,0,0,.24) 24%,
      rgba(0,0,0,.50) 28%, rgba(0,0,0,.76) 32%, rgba(0,0,0,.93) 34%, #000 36%);
}

.sh-dittico::after {
  content: ''; position: absolute; inset: 0; z-index: 2; pointer-events: none;
  background: radial-gradient(52% 42% at 46% 50%,
              rgba(216,30,91,.14), rgba(216,30,91,.05) 55%, rgba(216,30,91,0) 78%);
  mix-blend-mode: screen;
}
.sh-didascalia {
  position: absolute; left: 0; right: 0; bottom: -.45rem; z-index: 3;
  display: flex; justify-content: space-between; padding: 0 7%;
  font-family: var(--font-ui); font-size: .58rem; letter-spacing: .16em;
  text-transform: uppercase; color: var(--bone); opacity: .55;
  pointer-events: none;
}
@media (max-width: 900px) {
  .sh-griglia { grid-template-columns: 1fr; }
  .sh-dittico { grid-column: 1; grid-row: 2; width: 100%; max-width: 520px;
                margin: 1rem auto 0; min-height: 340px; height: 96vw; max-height: 440px; }
  /* su telefono il riquadro e' quasi quadrato: la dissolvenza alto-basso
     si accorcia, altrimenti mangia meta' immagine */
  .sh-piano {
    --vert: linear-gradient(to bottom,
      rgba(0,0,0,0) 0%, rgba(0,0,0,.35) 2%, rgba(0,0,0,.75) 4%, #000 7%,
      #000 93%, rgba(0,0,0,.75) 96%, rgba(0,0,0,.35) 98%, rgba(0,0,0,0) 100%);
  }
  .sh-griglia > .sc-hero-nota { grid-column: 1; grid-row: 3; }
  /* riquadro quasi quadrato: si tengono le teste, non i piedi */
  .sh-dore img { object-position: 52% 34%; }
  .sh-vr img   { object-position: 30% 28%; }
}


/* ── I Cerchi: la riga che spiega la selezione, e la legenda del disegno ── */
.cerchi-scelta {
  font-family: var(--font-body);
  font-size: clamp(.95rem, 1.35vw, 1.2rem);
  line-height: 1.6; color: var(--bone); opacity: .9;
  max-width: 62ch; margin: 0 auto 1.1rem;
}
/* una riga sola finche' la finestra la regge, poi va a capo da sola */
.cerchi-scelta.unica { max-width: none; padding: 0 1rem; }
.cerchi-legenda {
  font-family: var(--font-ui, var(--font-display));
  font-size: .78rem; letter-spacing: .1em; text-transform: uppercase;
  color: var(--bone); opacity: .5;
  margin: 1.2rem auto 0; text-align: center;
}
.cerchi-legenda::before {
  content: ''; display: inline-block; vertical-align: middle;
  width: 26px; height: 9px; border-radius: 2px; margin: -2px .6rem 0 0;
  background: linear-gradient(to bottom, #1d080b, #4a0d12);
  opacity: .85;
}
@media (max-width: 700px) {
  .cerchi-legenda { font-size: .68rem; letter-spacing: .06em; }
}


/* ══════════════════════════════════════════════════════════════════════════
   COME FUNZIONA — v74, 22 settembre 2026
   Prende il posto de «L'esperienza»: le quattro illustrazioni sono finite
   dentro i pannelli che si aprono dalle icone e dai numeri sul sentiero.
   ══════════════════════════════════════════════════════════════════════════ */

/* ══════════════════ COME FUNZIONA — la fascia e i passaggi che si aprono ═══ */
#comefunziona {
  background: var(--black);
  padding: clamp(3rem,5vw,4.5rem) clamp(1rem,6vw,7rem);
  scroll-margin-top: 92px;
}
#comefunziona .cf-testata { text-align: center; margin-bottom: clamp(2rem,3.6vw,3rem); }
#comefunziona .exp-subtitle { max-width: 72ch; margin-left: auto; margin-right: auto; }
.cf-scena { position: relative; max-width: 1180px; margin: 0 auto; }
.cf-scena > svg { display: block; width: 100%; height: auto; }
.cf-dati { margin-top: clamp(2rem,3.4vw,3rem); text-align: center;
  font-family: var(--font-ui, var(--font-display)); font-size: .76rem; font-weight: 700;
  letter-spacing: .18em; text-transform: uppercase; color: var(--bone); opacity: .55; }

/* I numeri disegnati sul sentiero sono loro stessi i bottoni: niente doppioni
   sovrapposti, quindi restano incollati al disegno a ogni misura.
   Tre stati, tre colori: rosso a riposo, arancione sotto il dito, avorio pieno
   col numero rosso quando e' quello aperto. --s tiene la scala, cosi' il
   telefono puo' ingrandirli senza litigare con gli altri stati. */
.cf-scena .cf-tappa { --s: 1; cursor: pointer; transform-box: fill-box;
  transform-origin: center; transform: scale(var(--s));
  transition: transform .18s ease; }
.cf-scena .cf-tappa .cft-presa { pointer-events: all; }
.cf-scena .cf-tappa .cft-d { fill: var(--red); stroke: #f2ead9; stroke-width: 3;
  transition: fill .18s ease, stroke .18s ease, stroke-width .18s ease; }
.cf-scena .cf-tappa .cft-n { fill: #fff; transition: fill .18s ease; }
.cf-scena .cf-tappa:hover { --s: 1.18; }
.cf-scena .cf-tappa:hover .cft-d { fill: #e0603c; stroke: #fff; }
.cf-scena .cf-tappa[aria-current="true"] { --s: 1.18; }
.cf-scena .cf-tappa[aria-current="true"] .cft-d { fill: #f2ead9; stroke: var(--red);
  stroke-width: 4; }
.cf-scena .cf-tappa[aria-current="true"] .cft-n { fill: var(--red); }
.cf-scena .cf-tappa:focus { outline: none; }
.cf-scena .cf-tappa:focus-visible { outline: none; }
.cf-scena .cf-tappa:focus-visible .cft-d { stroke: #fff; stroke-width: 5.5; }

/* La pulsazione, a mezza via. La prima versione (un bordo che si ingrossava
   appena) non si notava; la seconda (due anelli fino a tre volte il raggio)
   rubava la scena al bottone del biglietto. Qui: un anello solo, che arriva a
   poco piu' del doppio, il disco che respira del 10% e ingrossa il bordo fino
   a 6. Otto battiti — una quindicina di secondi — e poi tace da solo; tace
   comunque al primo gesto. Con «meno animazioni» attivo non parte affatto. */
@media (prefers-reduced-motion: no-preference) {
  .cf-scena:not(.cf-toccata) .cf-tappa:not([aria-current="true"]) .cft-alone {
    stroke: #ff9a5c; stroke-width: 4;
    transform-box: fill-box; transform-origin: center;
    animation: cfOnda 2.1s cubic-bezier(.2,.6,.35,1) 8;
    animation-delay: calc(var(--t, 0) * .24s); }
  .cf-scena:not(.cf-toccata) .cf-tappa:not([aria-current="true"]) .cft-d {
    animation: cfBattito 2.1s ease-in-out 8;
    animation-delay: calc(var(--t, 0) * .24s); }
  .cf-scena:not(.cf-toccata) .cf-tappa:not([aria-current="true"]) {
    animation: cfRespiro 2.1s ease-in-out 8;
    animation-delay: calc(var(--t, 0) * .24s); }
}
@keyframes cfOnda {
  0%   { transform: scale(1);    opacity: .75; stroke-width: 4; }
  100% { transform: scale(2.15); opacity: 0;   stroke-width: 1.2; }
}
@keyframes cfBattito {
  0%, 100% { stroke-width: 3; }
  45%      { stroke-width: 6; }
}
/* --s registrata come numero: senza questo il browser non sa interpolarla e
   il pallino non potrebbe gonfiarsi a ritmo. Dove @property non c'e', restano
   gli anelli: si perde il respiro del disco, non l'invito. */
@property --s { syntax: '<number>'; inherits: false; initial-value: 1; }
@keyframes cfRespiro {
  0%, 100% { --s: 1; }
  45%      { --s: 1.1; }
}

/* l'invito a toccarli: prima era un'etichettina al 42% di opacita', cioe'
   praticamente invisibile, e sul telefono nemmeno c'era */
.cf3-invito { max-width: 1180px; margin: .9rem auto 0; text-align: center;
  font-family: var(--font-body); font-size: clamp(.94rem, 1.15vw, 1.05rem);
  font-style: italic; color: var(--bone); opacity: .85; }
.cf3-invito b { font-style: normal; font-weight: 700; color: #e0603c; }
.cf3-toc { display: none; }
@media (hover: none) {
  .cf3-cli { display: none; }
  .cf3-toc { display: inline; }
}

/* lo schema a icone: quattro passaggi, si legge in un colpo d'occhio.
   Sono anche i bottoni che aprono il pannello qui sotto. */
.cf3-passi { display: grid; grid-template-columns: repeat(4,1fr);
  gap: clamp(.4rem,1.2vw,1rem); max-width: 940px;
  margin: 0 auto clamp(2rem,3.4vw,2.8rem); }
.cf3-passo { position: relative; display: flex; flex-direction: column;
  align-items: center; text-align: center; gap: .5rem;
  padding: 1rem .5rem .6rem; background: transparent; border: 0;
  cursor: pointer; }
/* il segno del selezionato: un trattino corto sotto, non una riga intera */
.cf3-passo::after { content: ""; display: block; width: 46px; height: 2px;
  margin-top: .45rem; background: transparent; transition: background .2s ease; }
.cf3-passo[aria-selected="true"]::after { background: var(--red); }
/* la freccina fra un passaggio e l'altro: dice che si va in ordine */
.cf3-passo + .cf3-passo::before { content: ""; position: absolute;
  left: calc(-1 * clamp(.4rem,1.2vw,1rem) / 2 - 3px); top: 2.2rem;
  width: 7px; height: 7px; border-top: 1.6px solid var(--bone);
  border-right: 1.6px solid var(--bone); transform: rotate(45deg); opacity: .3; }
.cf3-icobox { position: relative; display: block; }
.cf3-ico { display: block; width: 50px; height: 50px; color: #c9ae86;
  opacity: .78; transition: color .2s ease, opacity .2s ease, transform .2s ease; }
.cf3-n { position: absolute; right: -9px; bottom: -3px; width: 22px; height: 22px;
  border-radius: 50%; background: var(--red); color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-ui, var(--font-display)); font-weight: 700;
  font-size: .74rem; border: 2px solid var(--black); }
.cf3-tit { font-family: var(--font-display); font-size: 1rem; font-weight: 700;
  color: var(--white); letter-spacing: .03em; opacity: .82;
  transition: opacity .2s ease; }
.cf3-dato { font-family: var(--font-ui, var(--font-display)); font-size: .62rem;
  font-weight: 700; letter-spacing: .13em; text-transform: uppercase;
  color: #e0603c; opacity: .8; }
.cf3-passo:hover .cf3-ico { opacity: 1; transform: translateY(-2px); }
.cf3-passo:hover .cf3-tit { opacity: 1; }
.cf3-passo[aria-selected="true"] .cf3-ico { color: #f2ead9; opacity: 1; }
.cf3-passo[aria-selected="true"] .cf3-tit { opacity: 1; }
.cf3-passo:focus-visible { outline: 2px solid var(--red); outline-offset: 2px; }

/* il pannello che si apre */
.cf3-pans { max-width: 1180px; margin: clamp(1.4rem,2.4vw,2rem) auto 0; }
.cf3-pan { display: grid; grid-template-columns: minmax(0,44%) minmax(0,1fr);
  gap: clamp(1.4rem,3vw,2.8rem); align-items: center;
  animation: cf3Entra .45s ease both; }
.cf3-pan[hidden] { display: none; }
/* L'apertura (v83): niente piu' salto verticale di tutto il blocco. Il pannello
   si limita a comparire; dentro, la fotografia si allarga appena da uno zoom
   leggero e il testo entra da destra. Sono due movimenti piccoli e di durata
   diversa: letti insieme sembrano una dissolvenza, non uno scatto. */
@keyframes cf3Entra { from { opacity: 0; } }
.cf3-pan .cf3-foto img { animation: cf3Zoom 1.1s cubic-bezier(.22,.61,.36,1) both; }
@keyframes cf3Zoom { from { transform: scale(1.07); } to { transform: scale(1); } }
.cf3-pan .cf3-testo { animation: cf3Testo .55s .08s cubic-bezier(.22,.61,.36,1) both; }
@keyframes cf3Testo { from { opacity: 0; transform: translateX(14px); } }
@media (prefers-reduced-motion: reduce) {
  .cf3-pan, .cf3-pan .cf3-foto img, .cf3-pan .cf3-testo { animation: none; }
}
.cf3-foto { aspect-ratio: 4/3; overflow: hidden; border: 1px solid rgba(182,9,27,.28); }
.cf3-foto img { width: 100%; height: 100%; object-fit: cover; display: block; }
.cf3-pn { font-family: var(--font-display); font-size: 1.75rem; color: var(--red);
  letter-spacing: .08em; display: block; margin-bottom: .6rem; }
/* tolta la riga pratica, il pannello ha spazio: titolo e testo crescono
   invece di lasciare il vuoto */
.cf3-testo h3 { font-family: var(--font-display); font-size: clamp(1.5rem,2.7vw,2.3rem);
  font-weight: 700; color: var(--white); letter-spacing: .02em; line-height: 1.2;
  margin-bottom: 1.1rem; }
.cf3-testo p { font-family: var(--font-body); font-size: clamp(1.08rem,1.35vw,1.3rem);
  line-height: 1.62; color: var(--bone); max-width: 46ch; }
.cf3-evoc { opacity: .94; }
.cf3-evoc strong { color: var(--white); font-weight: 700; }

@media (max-width: 900px) {
  /* la fascia si rimpicciolisce ma i numeri no: crescono del 65% cosi'
     restano leggibili e toccabili */
  .cf-scena .cf-tappa { --s: 1.65; }
  .cf-scena .cf-tappa:hover, .cf-scena .cf-tappa[aria-current="true"] { --s: 1.8; }
  .cf3-pan { grid-template-columns: 1fr; gap: 1.2rem; }
  .cf3-ico { width: 42px; height: 42px; }
  .cf3-tit { font-size: .88rem; }
  .cf3-passo + .cf3-passo::before { display: none; }
}
@media (max-width: 560px) {
  .cf3-passi { grid-template-columns: 1fr 1fr; gap: .3rem; }
  .cf3-dato { display: none; }
  .cf-scena .cf-tappa { --s: 1.68; }
  .cf-scena .cf-tappa:hover, .cf-scena .cf-tappa[aria-current="true"] { --s: 1.8; }
  .cf3-invito { font-size: .94rem; }
}


/* ══════════════════════════════════════════════════════════════════════════
   LA GIORNATA (pagina scuole) — v74, 22 settembre 2026
   La stessa pelle di «Come funziona» sulla landing: le icone e la fascia del
   parco. Ma qui i numeri non si cliccano e i sei passaggi restano tutti
   leggibili: chi organizza un'uscita vuole i tempi tutti insieme.
   ══════════════════════════════════════════════════════════════════════════ */
#giornata .cf-scena { max-width: 860px; margin: 0 auto clamp(1.8rem,3.2vw,2.6rem); }
/* niente mano, niente battito, niente reazione al passaggio del mouse:
   qui i pallini sono l'indice del percorso, non bottoni */
#giornata .cf-tappa { pointer-events: none; }
#giornata .cf-tappa .cft-d { animation: none; }
#giornata .cf-tappa .cft-alone { display: none; }

#giornata .sc-passo { grid-template-columns: 42px 38px 1fr; gap: .9rem; }
.sc-passo-ico { display: block; width: 42px; height: 42px; color: #c9ae86;
  opacity: .8; }
.sc-passo-ico svg { display: block; width: 100%; height: 100%; }
#giornata .sc-passo-num { padding-top: .6rem; }
@media (max-width: 640px) {
  #giornata .sc-passo { grid-template-columns: 32px 30px 1fr; gap: .65rem; }
  .sc-passo-ico { width: 32px; height: 32px; }
  #giornata .sc-passo-num { padding-top: .35rem; font-size: .95rem; }
}


/* ══════════════════════════════════════════════════════════════════════════
   SCUOLE, IL RIMANDO — v77, 22 settembre 2026
   Al posto delle cinque schermate che ripetevano scuole.html: un'incisione,
   quattro numeri e un bottone. Il resto lo dice la pagina dedicata.
   ══════════════════════════════════════════════════════════════════════════ */
.rimando { display: grid; grid-template-columns: minmax(0,36%) minmax(0,1fr);
  gap: clamp(1.8rem,3.6vw,3.2rem); align-items: center;
  max-width: 1180px; margin: 0 auto; }
.rimando-img { position: relative; }
.rimando-img img { display: block; width: 100%; height: auto;
  border: 1px solid rgba(182,9,27,.28); }
.rimando-testo .exp-main-title { text-align: left; }
.rimando-pitch { font-family: var(--font-body);
  font-size: clamp(1.04rem,1.3vw,1.22rem); line-height: 1.6;
  color: var(--bone); opacity: .92; margin-top: 1.1rem; max-width: 54ch; }
.rimando-pitch strong { color: var(--white); font-weight: 700; }
.rimando-dati { list-style: none; display: flex; flex-wrap: wrap;
  gap: clamp(1.4rem,3vw,2.8rem); margin: 1.7rem 0 1.9rem; padding: 0; }
.rimando-dati li { display: flex; flex-direction: column; }
.rimando-dati b { font-family: var(--font-display); font-weight: 700;
  font-size: clamp(1.5rem,2.2vw,1.85rem); color: var(--red); line-height: 1; }
.rimando-dati span { font-family: var(--font-ui, var(--font-display));
  font-size: .64rem; font-weight: 700; letter-spacing: .14em;
  text-transform: uppercase; color: var(--bone); opacity: .6; margin-top: .45rem; }
.rimando-nota { margin-top: 1.2rem; font-family: var(--font-body);
  font-size: .96rem; line-height: 1.5; color: var(--bone); opacity: .72; }
.rimando-nota a { color: #e0603c; }
@media (max-width: 900px) {
  .rimando { grid-template-columns: 1fr; gap: 1.5rem; }
  .rimando-testo .exp-main-title { text-align: center; }
  .rimando-pitch { max-width: none; }
  .rimando-dati { gap: 1.2rem 2rem; }
}
@media (max-width: 560px) {
  /* il bottone ha 3,2rem di fianchi e .22em di spaziatura: a 390 px la
     freccina finiva su una riga per conto suo */
  .rimando .btn-scuole { padding-left: 1.7rem; padding-right: 1.7rem;
    letter-spacing: .15em; }
}


/* ══════════════════════════════════════════════════════════════════════════
   IL BIGLIETTO RAGGIUNGIBILE DA OVUNQUE — v78, 22 settembre 2026
   Su desktop la barra in alto porta gia' il bottone rosso. Sul telefono no:
   .nav-links sparisce e con lei il bottone. Questa fascia in basso copre
   quel vuoto senza allungare la pagina di un pixel.
   ══════════════════════════════════════════════════════════════════════════ */

/* ── la barra ── */
.bb {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 300;
  display: flex; align-items: center; justify-content: center;
  gap: clamp(1rem, 2.4vw, 2.4rem);
  padding: .72rem clamp(1rem, 3vw, 2.4rem);
  background: rgba(10, 6, 8, .96);
  backdrop-filter: blur(10px);
  border-top: 1px solid rgba(182, 9, 27, .38);
  box-shadow: 0 -10px 34px rgba(0, 0, 0, .55);
  transform: translateY(105%);
  transition: transform .34s cubic-bezier(.22,.7,.3,1);
}
.bb.su { transform: translateY(0); }
@media (prefers-reduced-motion: reduce) { .bb { transition: none; } }

.bb-dati { display: flex; align-items: center; gap: clamp(.7rem, 1.6vw, 1.4rem);
  font-family: var(--font-display); color: var(--bone); }
.bb-prezzo { font-size: 1.02rem; letter-spacing: .04em; opacity: .9; }
.bb-prezzo b { color: var(--white); font-weight: 700; font-size: 1.22rem; }
.bb-riga { font-size: .68rem; letter-spacing: .16em; text-transform: uppercase;
  opacity: .62; }
.bb-posti { font-size: .68rem; letter-spacing: .16em; text-transform: uppercase;
  color: #e0603c; opacity: .95; font-weight: 700; }
.bb-sep { width: 1px; height: 17px; background: rgba(242, 234, 217, .22); }

.bb-cta {
  flex: none;
  font-family: var(--font-display); font-size: .72rem; font-weight: 700;
  letter-spacing: .2em; text-transform: uppercase; text-decoration: none;
  color: var(--white); background: var(--red);
  padding: .82rem 1.9rem;
  border: 1px solid rgba(255, 255, 255, .14);
  transition: background .25s, transform .2s;
}
.bb-cta:hover { background: var(--red-bright, #d81e5b); transform: translateY(-1px); }

@media (max-width: 900px) {
  /* sul telefono resta il prezzo e il numero dei posti: il resto lo dice la
     pagina, e la barra deve stare su una riga sola */
  .bb { gap: .8rem; padding: .6rem .9rem; justify-content: space-between; }
  .bb-riga, .bb-sep { display: none; }
  .bb-dati { flex-direction: column; align-items: flex-start; gap: .12rem; }
  .bb-prezzo { font-size: .9rem; }
  .bb-prezzo b { font-size: 1.12rem; }
  .bb-posti { font-size: .58rem; letter-spacing: .12em; }
  .bb-cta { padding: .78rem 1.1rem; font-size: .66rem; letter-spacing: .13em; }
}

/* l'ultima sezione non deve finire sotto la barra */
body.bb-accesa #save-the-date { padding-bottom: 5.6rem; }

/* ── il richiamo in coda a «I Cerchi» ── */
.richiamo { text-align: center; padding: clamp(1.8rem, 3.4vw, 2.8rem) 1rem 0; }
.richiamo-testo { font-family: var(--font-body);
  font-size: clamp(1.02rem, 1.3vw, 1.2rem);
  color: var(--bone); opacity: .85; margin-bottom: 1.1rem; }
.richiamo-cta {
  display: inline-block;
  font-family: var(--font-display); font-size: .74rem; font-weight: 700;
  letter-spacing: .2em; text-transform: uppercase; text-decoration: none;
  color: var(--white); background: var(--red);
  padding: .95rem 2.3rem; border: 1px solid rgba(255, 255, 255, .14);
  transition: background .25s, transform .2s;
}
.richiamo-cta:hover { background: var(--red-bright, #d81e5b); transform: translateY(-2px); }
.richiamo-nota { margin-top: .9rem; font-family: var(--font-display);
  font-size: .64rem; letter-spacing: .14em; text-transform: uppercase;
  color: #e0603c; opacity: .85; }
@media (max-width: 560px) {
  .richiamo-cta { padding: .9rem 1.4rem; font-size: .66rem; letter-spacing: .12em; }
}

/* ── la scarsita', sopra il listino ── */
.scarsita {
  display: inline-flex; align-items: center; gap: .6rem;
  margin: 0 auto 1.4rem; padding: .5rem 1.2rem;
  border: 1px solid rgba(224, 96, 60, .4);
  font-family: var(--font-display); font-size: .66rem; font-weight: 700;
  letter-spacing: .16em; text-transform: uppercase; color: #e0603c;
}
.scarsita::before { content: ''; flex: none; width: 7px; height: 7px;
  border-radius: 50%; background: #e0603c; }
@media (max-width: 560px) {
  /* a 390 px la riga intera andava a capo e il pallino restava a mezz'aria:
     resta il numero, che e' la meta' che conta */
  .sc-lunga { display: none; }
  .scarsita { letter-spacing: .13em; padding: .45rem 1rem; }
}


/* ══ IL BANNER DEI COOKIE (v86) ══════════════════════════════════════════════
   In basso, non bloccante: la pagina resta leggibile e scorribile dietro.
   «Rifiuta» e «Accetta» sono lo STESSO pulsante — stessa misura, stesso
   colore, stesso peso: il Garante chiede pari evidenza, ed e' anche il modo
   piu' onesto di chiedere. La X in alto vale come rifiuto. */
.ck {
  position: fixed; z-index: 400;
  right: clamp(.8rem, 2.4vw, 2rem); bottom: clamp(.8rem, 2.4vw, 2rem);
  width: min(440px, calc(100vw - 1.6rem));
  background: rgba(14, 8, 10, .97);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(182, 9, 27, .45);
  box-shadow: 0 18px 60px rgba(0, 0, 0, .7);
  padding: 1.5rem 1.5rem 1.25rem;
  color: var(--bone);
  font-family: var(--font-body);
  animation: ckEntra .45s cubic-bezier(.22,.61,.36,1) both;
}
.ck[hidden] { display: none; }
@keyframes ckEntra { from { opacity: 0; transform: translateY(14px); } }
@media (prefers-reduced-motion: reduce) { .ck { animation: none; } }

.ck-x {
  position: absolute; top: .55rem; right: .65rem;
  background: none; border: none; color: var(--bone); opacity: .55;
  font-size: .95rem; line-height: 1; padding: .4rem; cursor: pointer;
}
.ck-x:hover { opacity: 1; color: #e0603c; }

.ck-titolo {
  font-family: var(--font-display); font-size: .82rem; font-weight: 700;
  letter-spacing: .2em; text-transform: uppercase; color: var(--white);
  margin: 0 0 .7rem;
}
.ck-testo { font-size: .95rem; line-height: 1.5; margin: 0 0 1.15rem; opacity: .9; }
.ck-testo b { color: var(--white); font-weight: 600; }
.ck-testo a { color: var(--bone); border-bottom: 1px solid rgba(182,9,27,.6);
  text-decoration: none; }
.ck-testo a:hover { color: var(--white); border-bottom-color: var(--red); }

.ck-azioni { display: grid; grid-template-columns: 1fr 1fr; gap: .6rem; }
/* un solo stile per entrambi: nessuno dei due e' piu' invitante dell'altro */
.ck-b {
  font-family: var(--font-ui, var(--font-display)); font-size: .74rem; font-weight: 700;
  letter-spacing: .1em; text-transform: uppercase;
  color: var(--white); background: rgba(242, 234, 217, .06);
  border: 1px solid rgba(242, 234, 217, .45);
  padding: .85rem .6rem; cursor: pointer;
  transition: background .2s ease, border-color .2s ease;
}
.ck-b:hover, .ck-b:focus-visible { background: var(--red); border-color: var(--red); outline: none; }

.ck-link {
  display: block; margin: .85rem auto 0; background: none; border: none;
  font-family: var(--font-ui, var(--font-display)); font-size: .7rem; font-weight: 600; letter-spacing: .08em;
  text-transform: uppercase; color: var(--bone); opacity: .7; cursor: pointer;
  border-bottom: 1px solid rgba(242,234,217,.25); padding: 0 0 2px;
}
.ck-link:hover { opacity: 1; border-bottom-color: var(--red); }

/* il secondo livello: una riga per categoria, con l'interruttore */
.ck-cat {
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  padding: .8rem 0; border-top: 1px solid rgba(242,234,217,.1); cursor: pointer;
}
.ck-cat:last-of-type { margin-bottom: 1rem; }
.ck-cat-t b { display: block; font-family: var(--font-ui, var(--font-display)); font-size: .74rem;
  letter-spacing: .08em; text-transform: uppercase; color: var(--white); font-weight: 700; }
.ck-cat-t small { display: block; font-size: .86rem; line-height: 1.4; opacity: .75; margin-top: .25rem; }
.ck-cat input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.ck-cat i {
  flex: none; position: relative; width: 40px; height: 22px; border-radius: 11px;
  background: rgba(242,234,217,.18); transition: background .2s ease;
}
.ck-cat i::after {
  content: ''; position: absolute; top: 3px; left: 3px; width: 16px; height: 16px;
  border-radius: 50%; background: var(--bone); transition: transform .2s ease;
}
.ck-cat input:checked + i { background: var(--red); }
.ck-cat input:checked + i::after { transform: translateX(18px); background: #fff; }
.ck-cat input:focus-visible + i { outline: 2px solid var(--bone); outline-offset: 2px; }
.ck-fissa { cursor: default; opacity: .7; }

/* mentre il banner e' aperto la barra del biglietto si fa da parte */
body.ck-aperto .bb { transform: translateY(105%) !important; }

@media (max-width: 560px) {
  .ck { right: 0; left: 0; bottom: 0; width: auto; border-left: none; border-right: none;
    border-bottom: none; padding: 1.3rem 1.1rem 1.1rem; max-height: 86vh; overflow-y: auto; }
  .ck-testo { font-size: .9rem; }
}

/* il piè di pagina: i due link legali stanno fra le due righe che c'erano */
.footer-bottom { flex-wrap: wrap; align-items: center; gap: .9rem 2rem; }
.footer-legale { display: flex; gap: 1.6rem; flex-wrap: wrap; }
.footer-legale a, .footer-legale button {
  font-family: var(--font-ui, var(--font-display)); font-size: .72rem; font-weight: 600;
  letter-spacing: .07em; text-transform: uppercase; color: var(--bone); opacity: .6;
  text-decoration: none; background: none; border: none; padding: 0; cursor: pointer;
}
.footer-legale a:hover, .footer-legale button:hover { opacity: 1; color: var(--white); }
@media (max-width: 700px) {
  .footer-bottom { flex-direction: column; align-items: flex-start; }
}

/* v87 — piede di pagina su telefono: tutto centrato, la P.IVA non si spezza */
.fb-piva { white-space: nowrap; }
@media (max-width: 700px) {
  .footer-bottom { align-items: center; text-align: center; gap: .9rem; }
  .footer-legale { justify-content: center; gap: .6rem 1.4rem; }
}


/* ══ PAGINA SCUOLE v106 ════════════════════════════════════════════════
   Hero con scena VR (tre sfondi, data-hero), «Per il docente», formule
   con icone a linea, prenotazione, FAQ ad accordion, segnaposto.
   ══════════════════════════════════════════════════════════════════════ */
.dc { color: #ffcf6e; background: rgba(255,207,110,.08); border: 1px dashed rgba(255,207,110,.45);
      padding: .05em .4em; font-family: var(--font-ui); font-size: .82em; letter-spacing: .02em; }

/* HERO */
.shv { position: relative; min-height: 100vh; min-height: 100svh; display: flex; align-items: center;
       overflow: hidden; background: var(--black); padding: 6rem clamp(1.2rem,5vw,4.5rem) 4rem; }
.shv-foto { position: absolute; top: 0; bottom: 0; left: 30%; right: 0; }
.shv-img { display: none; }
.shv[data-hero="1"] .shv-1, .shv[data-hero="2"] .shv-2, .shv[data-hero="3"] .shv-3 { display: block; }
.shv-img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: var(--p, 50% 50%); }
.shv-1 { --p: 42% 50%; } .shv-2 { --p: 40% 50%; } .shv-3 { --p: 55% 50%; }
.shv-foto::after { content: ''; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(90deg, var(--black) 0%, rgba(10,6,8,.85) 18%, rgba(10,6,8,.2) 42%, rgba(10,6,8,0) 60%),
              linear-gradient(0deg, rgba(10,6,8,.85), rgba(10,6,8,0) 30%),
              linear-gradient(180deg, rgba(10,6,8,.55), rgba(10,6,8,0) 18%); }
.shv-testo { position: relative; z-index: 2; max-width: 560px; text-align: left; }
.shv-testo .sc-occhiello { margin-bottom: 1.1rem; }
.shv-logo { display: block; width: clamp(150px, 16vw, 230px); height: auto; margin: 0 0 1.4rem; }
.shv-titolo { font-family: var(--font-display); font-weight: 700; color: var(--white);
  font-size: clamp(1.6rem, 2.9vw, 2.6rem); line-height: 1.15; letter-spacing: .02em; margin: 0 0 .9rem; }
.shv-sotto { font-family: var(--font-body); color: var(--bone); font-size: clamp(1.05rem, 1.45vw, 1.3rem);
  line-height: 1.4; margin: 0 0 1.6rem; max-width: 480px; }
.shv-dati { list-style: none; padding: 0; margin: 0 0 1.8rem; display: grid;
  grid-template-columns: repeat(4, auto); gap: .4rem 1.6rem; justify-content: start; }
.shv-dati strong { display: block; font-family: var(--font-display); font-size: 1.45rem; color: var(--white); line-height: 1.1; }
.shv-dati span { font-family: var(--font-ui); font-size: .62rem; letter-spacing: .12em; text-transform: uppercase;
  color: var(--bone); opacity: .72; display: block; max-width: 9.5em; line-height: 1.35; margin-top: .25rem; }
.shv-cta { margin: 0; }
.shv-nota { font-family: var(--font-ui); font-size: .7rem; letter-spacing: .12em; text-transform: uppercase;
  color: var(--bone); opacity: .6; margin-top: .9rem; }
.shv-didas { position: absolute; right: clamp(1rem,3vw,2rem); bottom: 1.2rem; z-index: 2; margin: 0;
  font-family: var(--font-body); font-style: italic; font-size: .92rem; color: var(--bone); opacity: .7; }
.shv-didas span { display: none; }
.shv[data-hero="1"] .shv-d1, .shv[data-hero="2"] .shv-d2, .shv[data-hero="3"] .shv-d3 { display: inline; }
@media (max-width: 760px) {
  .shv { display: block; min-height: 0; padding: 0 0 2.2rem; }
  .shv-foto { position: relative; left: auto; height: 42vh; min-height: 290px; max-height: 420px; }
  .shv-1 { --p: 55% 50%; } .shv-2 { --p: 40% 50%; } .shv-3 { --p: 52% 60%; }
  .shv-foto::after { background: linear-gradient(0deg, var(--black) 0%, rgba(10,6,8,0) 45%),
                                 linear-gradient(180deg, rgba(10,6,8,.6), rgba(10,6,8,0) 25%); }
  .shv-testo { padding: 0 16px; margin-top: -3.2rem; max-width: none; }
  .shv-testo .sc-occhiello { font-size: .64rem; margin-bottom: .7rem; }
  .shv-logo { width: 140px; margin-bottom: .8rem; }
  .shv-titolo { font-size: 1.5rem; }
  .shv-sotto { font-size: 1.06rem; margin-bottom: 1.1rem; }
  .shv-dati { grid-template-columns: repeat(4, 1fr); gap: .5rem; margin-bottom: 1.2rem; }
  .shv-dati strong { font-size: 1.12rem; }
  .shv-dati span { font-size: .52rem; letter-spacing: .08em; }
  .shv-cta { display: block; text-align: center; }
  .shv-didas { display: none; }
}

/* PER IL DOCENTE */
.doc-griglia { display: grid; grid-template-columns: 1fr 1.05fr; gap: clamp(1.5rem,4vw,3.5rem);
  max-width: 1100px; margin: 0 auto; align-items: stretch; text-align: left; }
.doc-lista { margin: 0; display: grid; gap: 0; }
.doc-lista > div { display: grid; grid-template-columns: 7.5rem 1fr; gap: 1rem; padding: 1rem 0;
  border-bottom: 1px solid rgba(240,232,224,.1); }
.doc-lista > div:last-child { border-bottom: none; }
.doc-lista dt { font-family: var(--font-ui); font-size: .68rem; letter-spacing: .16em; text-transform: uppercase;
  color: var(--red-bright); padding-top: .3rem; }
.doc-lista dd { margin: 0; font-family: var(--font-body); font-size: 1.06rem; line-height: 1.55; color: var(--bone); }
.doc-griglia .sh-dittico { grid-column: 2; grid-row: 1; min-height: 380px; }
.doc-pdf { margin: 2.2rem auto 0; text-align: center; }
.doc-pdf-btn { display: inline-flex; align-items: center; gap: .6rem; padding: .9rem 1.4rem;
  border: 1px solid rgba(240,232,224,.35); color: var(--white); text-decoration: none;
  font-family: var(--font-ui); font-size: .74rem; letter-spacing: .14em; text-transform: uppercase; }
.doc-pdf-btn svg { width: 20px; height: 20px; }
.doc-pdf-btn[aria-disabled="true"] { opacity: .55; pointer-events: none; }
.doc-pdf-nota { margin-top: .7rem; font-size: .9rem; }
@media (max-width: 900px) {
  .doc-griglia { grid-template-columns: 1fr; }
  .doc-griglia .sh-dittico { grid-column: 1; grid-row: 2; }
  .doc-lista > div { grid-template-columns: 1fr; gap: .2rem; }
}

/* IL PERCORSO: testata del mosaico */
.dsc-testa { text-align: center; margin: 3.2rem auto 1.2rem; }

/* COME SI SVOLGE: quattro passi in griglia */
.sc-passi-4 { max-width: 1100px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.4rem; margin-top: 1.6rem; }
#giornata .sc-passi-4 .sc-passo { grid-template-columns: 1fr; border-bottom: none; padding: 0; gap: .5rem; }
.sc-passi-4 .sc-passo-ico { color: var(--red-bright); }
.sc-passi-4 .sc-passo-ico svg { width: 42px; height: 42px; }
.sc-passi-4 .sc-passo-num { display: none; }
@media (max-width: 900px) { .sc-passi-4 { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .sc-passi-4 { grid-template-columns: 1fr; gap: 1.1rem; }
  #giornata .sc-passi-4 .sc-passo { grid-template-columns: 42px 1fr; gap: .9rem; } }

/* LE FORMULE */
.fm { display: grid; grid-template-columns: 1fr 1fr; gap: 1.4rem; max-width: 1000px; margin: 0 auto; text-align: left; }
.fm-card { border: 1px solid rgba(182,9,27,.38); background: #120206; padding: 1.7rem 1.8rem; }
.fm-ico { display: block; color: var(--red-bright); margin-bottom: .8rem; }
.fm-ico svg { width: 40px; height: 40px; }
.fm-card h3 { font-family: var(--font-display); color: var(--white); font-size: 1.3rem; margin: 0 0 .9rem; letter-spacing: .03em; }
.fm-card ul { list-style: none; margin: 0; padding: 0; }
.fm-card li { position: relative; padding: .45rem 0 .45rem 1.1rem; font-family: var(--font-body); font-size: 1.04rem;
  line-height: 1.45; color: var(--bone); border-top: 1px solid rgba(240,232,224,.08); }
.fm-card li:first-child { border-top: none; }
.fm-card li::before { content: ''; position: absolute; left: 0; top: 1.02rem; width: 5px; height: 5px; background: var(--red-bright); }
.fm-card strong { color: var(--white); }
.gar { list-style: none; padding: 0; margin: 2rem auto 0; max-width: 1000px; display: grid;
  grid-template-columns: repeat(3, 1fr); gap: 1.4rem; text-align: left; }
.gar li { display: grid; grid-template-columns: 34px 1fr; gap: .8rem; align-items: start;
  font-family: var(--font-body); font-size: .98rem; line-height: 1.45; color: var(--bone); }
.gar-ico { color: var(--red-bright); } .gar-ico svg { width: 34px; height: 34px; }
.gar strong { display: block; color: var(--white); font-family: var(--font-ui); font-size: .7rem;
  letter-spacing: .14em; text-transform: uppercase; margin-bottom: .2rem; }
@media (max-width: 800px) { .fm, .gar { grid-template-columns: 1fr; } }

/* PRENOTARE E PAGARE */
.pr-passi { list-style: none; padding: 0; margin: 0 auto; max-width: 1000px; display: grid;
  grid-template-columns: repeat(3, 1fr); gap: 1.4rem; text-align: left; }
.pr-passi li { display: grid; grid-template-columns: 2.4rem 1fr; gap: .8rem; align-items: start; }
.pr-n { width: 2.2rem; height: 2.2rem; border: 1px solid var(--red-bright); color: var(--white); display: grid;
  place-items: center; font-family: var(--font-ui); font-weight: 700; font-size: .9rem; }
.pr-passi p { margin: 0; font-family: var(--font-body); font-size: 1rem; line-height: 1.45; color: var(--bone); }
.pr-passi strong { display: block; color: var(--white); font-family: var(--font-display); font-size: 1.1rem; margin-bottom: .15rem; }
.pr-cta { text-align: center; margin: 2.4rem auto 0; }
.pr-mail { margin-top: 1rem; font-family: var(--font-body); font-size: 1rem; color: var(--bone); }
.pr-ind { color: var(--white); border-bottom: 1px solid rgba(240,232,224,.3); word-break: break-all; }
.pr-copia { display: inline-flex; align-items: center; gap: .3rem; margin-left: .4rem; padding: .25rem .6rem;
  background: none; border: 1px solid rgba(240,232,224,.3); color: var(--bone); cursor: pointer;
  font-family: var(--font-ui); font-size: .64rem; letter-spacing: .12em; text-transform: uppercase; vertical-align: middle; }
.pr-copia svg { width: 14px; height: 14px; }
.pr-copia:hover { border-color: var(--white); color: var(--white); }
.pr-scad { margin: 1rem auto 0; max-width: 620px; font-family: var(--font-body); font-size: 1rem; color: var(--bone); opacity: .9; }
.pr-ref { text-align: center; margin-top: 2rem; font-family: var(--font-body); color: var(--bone); }
@media (max-width: 800px) { .pr-passi { grid-template-columns: 1fr; } }

/* FAQ ad accordion */
.faqv { max-width: 820px; margin: 0 auto; text-align: left; border-top: 1px solid rgba(240,232,224,.12); }
.faqv details { border-bottom: 1px solid rgba(240,232,224,.12); }
.faqv summary { list-style: none; cursor: pointer; padding: 1.1rem 2.4rem 1.1rem 0; position: relative;
  font-family: var(--font-display); font-size: 1.08rem; color: var(--white); letter-spacing: .02em; }
.faqv summary::-webkit-details-marker { display: none; }
.faqv summary::after { content: '+'; position: absolute; right: .3rem; top: 50%; transform: translateY(-50%);
  font-family: var(--font-ui); font-size: 1.3rem; color: var(--red-bright); transition: transform .2s; }
.faqv details[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faqv details p { margin: 0 0 1.2rem; font-family: var(--font-body); font-size: 1.04rem; line-height: 1.6; color: var(--bone); }

/* barra fissa: spazio in fondo alla pagina scuole */
body.bb-accesa footer { padding-bottom: 6rem; }

/* v107: obiettivi in elenco, referente */
.doc-ob { margin: 0; padding: 0; list-style: none; }
.doc-ob li { position: relative; padding-left: 1rem; margin: 0 0 .25rem; }
.doc-ob li::before { content: ''; position: absolute; left: 0; top: .7em; width: 5px; height: 5px; background: var(--red-bright); }
.doc-pdf-nota { font-family: var(--font-body); color: var(--bone); opacity: .75; }
.pr-ref a { color: var(--white); border-bottom: 1px solid rgba(240,232,224,.3); text-decoration: none; }
.pr-ref strong { color: var(--white); }

/* v109: prezzo nelle formule, pagamento unico */
.fm-prezzo { margin: -.2rem 0 1rem; font-family: var(--font-body); color: var(--bone); font-size: 1.05rem; line-height: 1.35; }
.fm-prezzo strong { font-family: var(--font-display); font-size: 1.7rem; color: var(--white); margin-right: .35rem; }
.fm-prezzo span { display: block; margin-top: .3rem; font-size: .95rem; opacity: .8; }
.sc-pag-unico { max-width: 720px; margin: 1rem auto 0; text-align: left; }

/* v112: menu della pagina scuole — stessa grafica dell'istituzionale.
   Sotto i 900 px l'istituzionale nasconde le voci; qui restano, in una riga
   sotto il logo che scorre di lato. */
@media (max-width: 900px) {
  nav.nav-scuole { flex-wrap: wrap; row-gap: .55rem; padding-bottom: .5rem; }
  nav.nav-scuole.scrolled { padding-bottom: .45rem; }
  .nav-scuole .nav-links { display: flex; flex: 0 0 100%; order: 2; gap: 1.35rem; margin: 0 -1.5rem; padding: .15rem 1.5rem .25rem;
    overflow-x: auto; scrollbar-width: none; -webkit-overflow-scrolling: touch;
    -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 1.2rem, #000 calc(100% - 2rem), transparent);
            mask-image: linear-gradient(90deg, transparent 0, #000 1.2rem, #000 calc(100% - 2rem), transparent); }
  .nav-scuole .nav-links::-webkit-scrollbar { display: none; }
  .nav-scuole .nav-links li { flex: 0 0 auto; }
  .nav-scuole .nav-links a { white-space: nowrap; }
  .nav-scuole .nav-links a.nav-cta { padding: .5rem 1rem !important; }
  section[id] { scroll-margin-top: 110px; }
}

/* v114: testo per chi non esegue JavaScript (motori, assistenti AI, lettori di schermo) */
.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; border: 0; }
/* v114: «In breve» */
.in-breve { max-width: 760px; margin: 0 auto 2.2rem; text-align: center; font-family: var(--font-body);
  font-size: clamp(1rem, 1.4vw, 1.14rem); line-height: 1.6; color: var(--bone); }
.in-breve strong { color: var(--white); font-family: var(--font-ui); font-size: .72em; letter-spacing: .16em; text-transform: uppercase; margin-right: .35em; }
#docente .in-breve { text-align: left; max-width: 1100px; }
/* v114: domande frequenti dell'istituzionale */
.faq-pub { background: var(--black); padding: 4rem clamp(1.2rem, 6vw, 7rem) 3.5rem; }
.faq-pub .exp-main-title { margin-bottom: 1.8rem; }

/* v116: scelta della lingua nel menu in alto (pagina principale, IT/EN) */
.lang-switch { display: flex; align-items: center; gap: .35rem; margin-left: 1.4rem; flex-shrink: 0;
  font-family: var(--font-ui); font-size: .68rem; font-weight: 700; letter-spacing: .14em; }
.lang-switch a { color: var(--bone); text-decoration: none; opacity: .6; padding: .35rem .15rem; transition: opacity .3s, color .3s; }
.lang-switch a:hover { opacity: 1; color: var(--red-bright); }
.lang-switch a[aria-current="page"] { opacity: 1; color: var(--white); border-bottom: 1px solid var(--red-bright); }
.lang-switch span { color: var(--bone); opacity: .35; }
/* la fila resta su una riga: un gradino in piu' fra 901 e 1100 px */
@media (max-width: 1100px) and (min-width: 901px) {
  nav:has(.lang-switch) .nav-links { gap: .85rem; }
  nav:has(.lang-switch) .nav-links a { letter-spacing: .12em; }
  nav:has(.lang-switch) .nav-cta { padding: .6rem 1rem !important; }
  .lang-switch { margin-left: .9rem; }
}
@media (max-width: 900px) { .lang-switch { margin-left: auto; font-size: .74rem; } .lang-switch a { padding: .5rem .3rem; } }
/* fra 901 e 1000 px la voce «Biglietti» doppia il pulsante rosso (stesso link): si nasconde e la fila resta su una riga */
@media (max-width: 1060px) and (min-width: 901px) {
  nav:has(.lang-switch) .nav-links li:nth-last-child(2) { display: none; }
}
@media (max-width: 940px) and (min-width: 901px) {
  nav:has(.lang-switch) .nav-links { gap: .6rem; }
  .lang-switch { margin-left: .6rem; }
}
nav:has(.lang-switch) .nav-links { margin-left: auto; }

/* v119: riga gruppi e scuole sotto i biglietti */
.tickets-gruppi { max-width: 62ch; margin: 2rem auto 0; padding: 0 1rem; text-align: center;
  font-family: var(--font-body); font-size: clamp(.95rem, 1.2vw, 1.05rem); line-height: 1.6;
  color: var(--bone); opacity: .85; }
.tickets-gruppi a { color: inherit; text-decoration: underline; text-underline-offset: 3px; }
