/* ============================================================
   PYRGI Summer Camp · V2 CINEMATIC
   Stesso brand · effetti wow: custom cursor, parallax, sticky
   scenes, split text reveal, marquee bands, scramble numbers
   ============================================================ */

:root{
  --pyrgi:    #1E73BE;
  --pyrgi-2:  #2EA3F2;
  --pyrgi-dk: #005FAD;
  --ink:      #0A0A0A;
  --ink-2:    #1B1B1B;
  --gray:     #6E6E6E;
  --gray-2:   #989898;
  --rule:     #E5E3DE;
  --paper:    #F4F2EC;
  --white:    #ffffff;

  --orange:   #FF5727;
  --yellow:   #FCC91A;
  --green:    #A8D71A;
  --purple:   #7C3FBF;
  --sand:     #D4C5A8;

  --max:      1340px;
  --pad:      28px;
}

*,*::before,*::after{box-sizing:border-box}
html{scroll-behavior:smooth; overflow-x: clip}
body.v2{
  margin:0; background:#fff; color:var(--ink);
  font-family: "fractul-variable","Manrope",system-ui,sans-serif;
  font-weight:500; font-size:15px; line-height:1.55;
  -webkit-font-smoothing:antialiased;
  cursor: none; /* show custom cursor on desktop */
  overflow-x: clip;
}
/* Fallback per browser senza supporto overflow:clip */
@supports not (overflow-x: clip){
  html, body.v2{overflow-x: hidden}
}
/* Safety net: nessuna sezione può causare overflow orizzontale */
.section-v2,
.olympic-v3,
.openday-v4,
.iscr-promo,
.iscr-promo--v2,
.disciplines-v3,
.location-v2,
.attivita-extra,
.faq-v2,
.hero-v2,
.gallery-v2,
.services-v2,
.footer-v2{
  max-width: 100vw;
  overflow-x: clip;
}
@media (hover: none) and (pointer: coarse){
  body.v2{cursor:auto}
  .cursor, .cursor-trail{display:none !important}
}
img{max-width:100%; height:auto; display:block}
a{color:inherit; text-decoration:none}
button{font-family:inherit}
.wrap{max-width:var(--max); margin:0 auto; padding:0 var(--pad)}
.section-v2{padding: clamp(70px, 10vw, 140px) 0; position:relative}

/* ───── Custom cursor ───── */
.cursor{
  position:fixed; top:0; left:0; z-index: 9999;
  width: 38px; height: 38px;
  border: 1.5px solid var(--ink);
  border-radius:50%;
  transform: translate(-50%,-50%);
  pointer-events:none;
  transition: width .25s cubic-bezier(.2,.7,.2,1), height .25s cubic-bezier(.2,.7,.2,1), border-color .2s, background .2s;
  mix-blend-mode: difference;
  filter: invert(1);
}
.cursor span{
  position:absolute; inset:0; margin:auto; width:4px; height:4px;
  background:var(--ink); border-radius:50%;
}
.cursor.is-hover{
  width: 70px; height: 70px;
  background: var(--ink); border-color: var(--ink);
}
.cursor.is-hover span{background: #fff; width:8px; height:8px}
.cursor-trail{
  position:fixed; top:0; left:0; width:8px; height:8px;
  background: var(--pyrgi); border-radius:50%; z-index:9998;
  transform: translate(-50%,-50%);
  pointer-events:none;
  opacity:.5;
  mix-blend-mode: multiply;
}

/* ───── Side number ───── */
.side-number{
  position:fixed; left: 24px; top: 50%; transform: translateY(-50%);
  z-index: 50;
  writing-mode: vertical-rl; transform: translateY(-50%) rotate(180deg);
  font-weight: 700; font-size: .72rem; letter-spacing: .3em;
  color: var(--ink); opacity: 0;
  transition: opacity .3s;
}
.side-number.is-visible{opacity:.7}
.side-number__total{opacity:.5; margin-top: 12px; padding-top: 12px; border-top: 1px solid currentColor}

/* ───── Typography ───── */
.kicker-v2{
  display:inline-block;
  font-weight: 700; font-size: .72rem; letter-spacing: .25em;
  text-transform: uppercase;
  color: var(--pyrgi);
  padding: 6px 0; border-top: 1px solid currentColor;
  margin-bottom: 22px;
}
.kicker-v2--light{color:#fff; border-top-color: rgba(255,255,255,.4)}

.hh1{
  font-weight: 800;
  font-size: clamp(2.6rem, 6vw, 6rem);
  line-height: .96; letter-spacing: -.025em;
  margin: 0 0 .35em;
  color: var(--ink);
}
.hh1--light{color:#fff}
.hh2{
  font-weight:800; font-size: clamp(2rem, 4vw, 3.6rem);
  line-height: 1.02; letter-spacing: -.02em; margin: 0 0 .4em;
}
.hh2--light{color:#fff}
.lead-v2{
  font-size: clamp(1.05rem, 1.4vw, 1.25rem);
  line-height: 1.55; color: var(--gray);
  font-weight: 500; max-width: 56ch;
}
.lead-v2--light{color: rgba(255,255,255,.86)}
.lead-v2--muted{color: rgba(255,255,255,.7)}

.head-v2{max-width: 880px; margin-bottom: 60px}

/* Split text reveal — chars/words */
[data-split]{overflow:hidden}
[data-split] .word{display:inline-block; overflow:hidden; vertical-align: top}
[data-split] .word > span{
  display:inline-block;
  transform: translateY(110%);
  transition: transform .9s cubic-bezier(.22,.8,.18,1);
  transition-delay: var(--d, 0s);
}
[data-split].is-in .word > span{transform: translateY(0)}

/* Reveal up */
[data-reveal]{
  opacity: 0; transform: translateY(28px);
  transition: all .9s cubic-bezier(.22,.8,.18,1);
  transition-delay: var(--d, 0s);
}
[data-reveal].is-in{opacity:1; transform:none}

/* ───── NAV ───── */
.v2-nav{
  position:fixed; top:0; left:0; right:0; z-index: 80;
  padding: 18px var(--pad);
  background: transparent;
  transition: background .35s, border-color .35s;
}
.v2-nav.is-scrolled{
  background: rgba(255,255,255,.95);
  backdrop-filter: saturate(140%) blur(14px);
  border-bottom: 1px solid var(--rule);
}
.v2-nav .nav__inner{max-width: var(--max); margin:0 auto; display:flex; align-items:center; justify-content:space-between; gap:24px}
.v2-nav .nav__logo img{height: 56px; filter: invert(1) brightness(0)}
.v2-nav.is-on-dark .nav__logo img{filter: invert(0) brightness(0) invert(1)}
.v2-nav.is-on-dark{color:#fff}
.v2-nav.is-on-dark .nav__menu a{color:#fff}
.v2-nav .nav__menu{display:flex; gap: 6px}
.v2-nav .nav__menu a{
  padding: 10px 14px; font-weight: 600; font-size: .95rem; color: var(--ink);
  position:relative;
}
.v2-nav .nav__menu a::after{
  content:""; position:absolute; left: 14px; right: 14px; bottom: 5px;
  height: 2px; background: currentColor; transform-origin: left;
  transform: scaleX(0); transition: transform .3s;
}
.v2-nav .nav__menu a:hover::after{transform: scaleX(1)}
.v2-nav .nav__cta{
  background: var(--ink); color: #fff;
  padding: 14px 22px; font-weight: 700; font-size: .92rem; letter-spacing: .04em;
  display:inline-flex; align-items:center; gap: 10px;
}
.v2-nav .nav__cta .dot{
  width:8px; height:8px; background: var(--pyrgi-2); border-radius:50%;
  animation: pulseDot 1.6s infinite;
}
@keyframes pulseDot{0%,100%{box-shadow: 0 0 0 0 rgba(46,163,242,.6)} 50%{box-shadow: 0 0 0 8px rgba(46,163,242,0)}}

/* ───── HERO V2 ───── */
.hero-v2{
  position:relative; height: 100vh; min-height: 700px;
  overflow:hidden; color:#fff;
  display:flex; flex-direction: column;
}
.hero-v2__media{
  position:absolute; inset:0; z-index:0;
  overflow: hidden;
}
.hero-v2__media img{
  position:absolute; inset: -8% -4%;
  width: 108%; height: 116%; object-fit: cover; object-position: center;
  transform: scale(1.04);
  filter: saturate(.92) contrast(1.05);
  will-change: transform;
}
.hero-v2__veil{
  position:absolute; inset:0;
  background:
    linear-gradient(180deg, rgba(10,10,10,.55) 0%, rgba(10,10,10,.25) 30%, rgba(10,10,10,.55) 60%, rgba(10,10,10,.85) 100%),
    radial-gradient(800px 500px at 20% 50%, rgba(0,0,0,.45), transparent 60%),
    linear-gradient(135deg, rgba(0,95,173,.28), transparent 55%);
}
.hero-v2__grain{
  position:absolute; inset:0; pointer-events:none; opacity:.15;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='160' height='160'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2'/><feColorMatrix values='0 0 0 0 0  0 0 0 0 0  0 0 0 0 0  0 0 0 0.4 0'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
  mix-blend-mode: overlay;
}

.hero-v2__top-bar{
  position:relative; z-index:2;
  display:flex; justify-content: space-between; gap: 20px;
  padding: 100px var(--pad) 0;
  max-width: var(--max); width:100%; margin:0 auto;
  font-weight: 600; font-size: .76rem; letter-spacing: .2em; text-transform: uppercase;
  color: rgba(255,255,255,.86);
  border-bottom: 1px solid rgba(255,255,255,.3);
  padding-bottom: 14px;
}

.hero-v2__center{
  position:relative; z-index:2;
  flex: 1; display:flex; flex-direction: column; justify-content: center;
  max-width: var(--max); margin:0 auto; padding: 0 var(--pad);
  width: 100%;
}
.hero-v2__title{
  font-weight: 800;
  font-size: clamp(4rem, 14vw, 14rem);
  line-height: .82; letter-spacing: -.045em;
  margin: 0; color: #fff;
  position:relative;
  text-shadow: 0 6px 36px rgba(0,0,0,.45), 0 2px 4px rgba(0,0,0,.25);
}
.hero-v2__title .word{display:block; overflow:hidden; line-height: .96}
.hero-v2__title .word > span{
  display:inline-block;
  transform: translateY(110%);
  animation: heroRise 1.1s cubic-bezier(.22,.8,.18,1) forwards;
}
.hero-v2__title .word:nth-child(1) > span{animation-delay: .15s}
.hero-v2__title .word:nth-child(2) > span{
    animation-delay: .30s; color: var(--pyrgi-2);
    -webkit-text-stroke: 1px rgba(255,255,255,.16);
    text-shadow: 0 6px 36px rgba(0,0,0,.55), 0 2px 6px rgba(0,0,0,.4);
  }
.hero-v2__title .word:nth-child(3) > span{animation-delay: .45s}
.hero-v2__year{
  position:absolute; top: 0; right: 0;
  font-style: normal; font-weight: 800;
  font-size: clamp(2rem, 5vw, 5rem); color: var(--pyrgi-2);
  letter-spacing: -.03em;
  opacity: 0; animation: heroRise 1s ease forwards .8s;
}
@keyframes heroRise{to{transform: translateY(0); opacity:1}}
.hero-v2__sub{
  margin: 30px 0 0; max-width: 50ch;
  font-size: clamp(1.05rem, 1.4vw, 1.3rem);
  color: rgba(255,255,255,.92); line-height: 1.45;
}

.hero-v2__bottom{
  position:relative; z-index:2;
  display:flex; justify-content: space-between; align-items:flex-end;
  gap: 30px; padding: 0 var(--pad) 40px;
  max-width: var(--max); margin:0 auto; width:100%;
}
.hero-v2__counter{
  display: grid; grid-template-columns: auto 1fr;
  gap: 20px; align-items: center;
}
.hero-v2__counter strong{
  font-weight: 800; font-size: clamp(3rem, 6vw, 5.5rem);
  line-height:1; letter-spacing: -.04em; color:#fff;
  font-variant-numeric: tabular-nums;
}
.hero-v2__counter span{
  font-size:.86rem; line-height: 1.3; color: rgba(255,255,255,.78);
  letter-spacing: .04em;
}

.big-btn{
  display:inline-flex; align-items:center; gap: 14px;
  padding: 22px 36px;
  background: #fff; color: var(--ink);
  font-weight: 800; font-size: 1rem; letter-spacing: .04em;
  transition: all .3s;
  border-radius: 999px;
  position:relative;
}
.big-btn:hover{background: var(--pyrgi); color:#fff}
.big-btn svg{transition: transform .25s}
.big-btn:hover svg{transform: translateX(4px)}

.scroll-hint{
  position:absolute; right: 28px; bottom: 30px; z-index: 3;
  writing-mode: vertical-rl; transform: rotate(180deg);
  font-weight: 700; font-size: .72rem; letter-spacing: .3em;
  color: #fff;
}
.scroll-hint span{padding-bottom: 30px; border-bottom: 1px solid currentColor; display:block; animation: scrollHint 2s ease-in-out infinite}
@keyframes scrollHint{0%,100%{opacity:1} 50%{opacity:.4}}

/* ───── BAND MARQUEE ───── */
.band{
  background: var(--ink); color:#fff;
  padding: 22px 0; overflow:hidden;
  border-top: 1px solid var(--ink); border-bottom: 1px solid var(--ink);
}
.band--light{background:#fff; color:var(--ink); border-color: var(--ink)}
.band__track{
  display: inline-flex; gap: 38px; white-space: nowrap;
  font-family: inherit; font-weight: 800; font-size: clamp(1.4rem, 3vw, 2.6rem);
  letter-spacing: -.01em;
  animation: bandMarquee 60s linear infinite;
  will-change: transform;
  transform: translateZ(0);
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
}
.band__dot{
  width: 10px; height: 10px; background: currentColor; border-radius: 50%;
  align-self: center; flex-shrink: 0;
}
@keyframes bandMarquee{
  from{transform: translate3d(0,0,0)}
  to  {transform: translate3d(-50%,0,0)}
}
@media (max-width: 720px){
  .band{padding: 18px 0}
  .band__track{
    gap: 26px;
    font-size: 1.2rem;
    animation-duration: 90s;     /* slower & smoother on mobile */
  }
  .band__dot{width: 7px; height: 7px}
}
@media (prefers-reduced-motion: reduce){
  .band__track{animation: none}
}

/* ───── INTRO STICKY ───── */
.intro-v2{background:#fff; border-top: 1px solid var(--rule)}
.intro-v2__grid{display:grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: start}
.intro-v2__sticky{position: sticky; top: 110px}
.intro-v2__body p{margin: 0 0 1em; color: var(--ink-2); font-size: 1.06rem; line-height: 1.65}
.intro-v2__body p:first-child{color: var(--ink); font-weight: 600; font-size: 1.15rem}

.num-stats{
  margin-top: 50px;
  display:grid; grid-template-columns: 1fr 1fr; gap: 1px;
  background: var(--rule); border: 1px solid var(--rule);
}
.num-stats > div{
  background:#fff; padding: 26px;
}
.num-stats strong{
  display:block;
  font-weight: 800; font-size: clamp(2.5rem, 4vw, 3.8rem);
  line-height:1; letter-spacing: -.03em;
  color: var(--ink);
  font-variant-numeric: tabular-nums;
}
.num-stats em{
  font-style: normal;
  display:block; margin-top: 12px;
  color: var(--gray); font-size: .94rem; line-height: 1.4;
}

/* ───── DISCIPLINE STICKY SCENES ───── */
.discipline-v2{background: var(--ink); color:#fff; position:relative}
.discipline-v2__intro{
  padding: clamp(80px, 10vw, 140px) 0 60px;
  text-align: left;
}

.sticky-scenes{
  position:relative;
}
.scene{
  height: 100vh; min-height: 600px;
  display:grid; grid-template-columns: 1fr 1fr;
  position: sticky; top: 0;
  align-items: center;
  padding: 0 var(--pad);
  background: var(--ink); /* will be overridden by JS via inline style */
  transition: background .8s cubic-bezier(.4,.0,.2,1);
}
.scene__copy{
  padding: 0 5%;
  color:#fff;
}
.scene__copy--dark{color: var(--ink)}
.scene__count{
  display:inline-block;
  font-weight: 700; font-size: .76rem; letter-spacing: .25em;
  text-transform: uppercase;
  margin-bottom: 24px;
  padding: 6px 0; border-top: 1px solid currentColor;
}
.scene__title{
  font-weight: 800;
  font-size: clamp(3rem, 8vw, 7rem);
  line-height: .92; letter-spacing: -.04em;
  margin: 0 0 22px;
}
.scene__copy p{
  font-size: clamp(1rem, 1.3vw, 1.2rem);
  max-width: 38ch; line-height: 1.5;
  margin: 0;
  opacity: .88;
}
/* Scene visual column: big number watermark + cutout illustration */
.scene__visual{
  position: relative;
  height: 100%;
  display: flex; align-items: flex-end; justify-content: center;
  padding: 60px 5% 0 5%;
  overflow: hidden;
}
.scene__bignum{
  position: absolute; bottom: -3vw; right: -2vw;
  font-weight: 800;
  font-size: clamp(12rem, 32vw, 32rem);
  line-height: .8; letter-spacing: -.06em;
  color: rgba(255,255,255,.10);
  pointer-events: none;
  z-index: 1;
  font-variant-numeric: tabular-nums;
}
.scene__bignum--dark{color: rgba(0,0,0,.08)}
.scene__illustration{
  position: relative;
  z-index: 2;
  max-width: 100%;
  max-height: 92%;
  width: auto;
  height: auto;
  object-fit: contain;
  object-position: bottom center;
  filter: drop-shadow(0 30px 40px rgba(0,0,0,.18));
  transform: translateY(20px) scale(.96);
  opacity: 0;
  transition: transform .9s cubic-bezier(.2,.8,.2,1) .15s, opacity .9s ease .15s;
}
.scene.is-active .scene__illustration{
  transform: translateY(0) scale(1);
  opacity: 1;
}
.scene.is-active .scene__bignum{
  animation: bignumRise 1s cubic-bezier(.2,.8,.2,1) forwards;
}
@keyframes bignumRise{
  from{ transform: translateY(40px); opacity: 0 }
  to  { transform: translateY(0); opacity: 1 }
}
.scene--photo{padding:0}
.scene--photo img{
  position:absolute; inset:0; width:100%; height:100%; object-fit: cover;
  filter: brightness(.68);
}
.scene--photo .scene__copy{
  position:relative; z-index:2;
  padding-left: 8%;
}

.discipline-v2__extras{
  padding: clamp(60px, 8vw, 110px) 0;
  background: var(--ink);
  position: relative;
}
.extras-v2{
  list-style:none; padding:0; margin: 20px 0 0;
  display:grid; grid-template-columns: repeat(2, 1fr);
  gap: 1px; background: rgba(255,255,255,.16);
  border: 1px solid rgba(255,255,255,.16);
}
.extras-v2 li{
  background: var(--ink); padding: 26px 28px;
  font-size: 1.05rem; font-weight: 500;
  color:#fff;
  display:flex; align-items:center; gap:14px;
}
.extras-v2 li::before{
  content: ""; width: 18px; height: 1px; background: var(--pyrgi-2);
  flex-shrink: 0;
}

/* ───── PROGRAM HORIZONTAL SCROLL ───── */
.program-v2{background: var(--paper); padding-bottom: 0}
.program-v2__head{margin-bottom: 60px; max-width: 880px}
.hscroll-wrap{
  position:relative; padding: 0;
  background: var(--paper);
}
.hscroll{
  display:flex; gap: 1px;
  background: var(--rule);
  overflow-x: auto; overflow-y: hidden;
  scroll-snap-type: x mandatory;
  padding: 0 var(--pad);
  scrollbar-width: none;
}
.hscroll::-webkit-scrollbar{display:none}
.hcard{
  flex: 0 0 360px;
  background:#fff;
  padding: 36px 32px;
  scroll-snap-align: start;
  min-height: 280px;
  display:flex; flex-direction: column;
  border-right: 1px solid var(--rule);
}
.hcard span{
  font-weight: 800; font-size: 2rem; letter-spacing: -.02em;
  margin-bottom: 18px; color: var(--ink);
  font-variant-numeric: tabular-nums;
}
.hcard h4{font-weight: 700; font-size: 1.2rem; margin: 0 0 8px; letter-spacing: -.01em}
.hcard p{margin:0; color: var(--gray); font-size: .96rem; line-height: 1.55}
.hcard--accent{background: var(--ink); color:#fff}
.hcard--accent span{color: var(--pyrgi-2)}
.hcard--accent p{color: rgba(255,255,255,.8)}

.hscroll-bar{
  height: 2px; background: var(--rule);
  margin: 24px var(--pad) 60px;
  position:relative; overflow:hidden;
}
.hscroll-bar span{
  position:absolute; left:0; top:0; bottom:0;
  background: var(--ink);
  width: 20%; transition: transform .1s linear, width .3s;
}

.olympic-v2{
  display:grid; grid-template-columns: 1fr 1fr; gap: 60px;
  align-items: center;
  margin: 60px 0; padding: 60px;
  background: var(--ink); color:#fff;
}
.olympic-v2__txt p{color: rgba(255,255,255,.82); margin: 0; max-width: 44ch; font-size: 1.05rem}
.olympic-v2__img{aspect-ratio: 4/3; object-fit:cover; width:100%}

/* ───── FORMULAS V2 ───── */
.formulas-v2{background:#fff}
.formulas-v2__grid{
  display:grid; grid-template-columns: 1fr 1fr; gap: 24px;
  margin-bottom: 36px;
}
.card-form{
  background:#fff; border: 1px solid var(--rule);
  padding: 40px 36px;
  display:flex; flex-direction:column;
  transition: transform .35s cubic-bezier(.2,.8,.2,1);
}
.card-form:hover{transform: translateY(-6px)}
.card-form header{margin-bottom: 28px}
.card-form__tag{
  display:inline-block;
  font-weight: 700; font-size: .72rem; letter-spacing: .18em;
  text-transform: uppercase; color: var(--gray);
  padding-top: 10px; border-top: 1px solid var(--rule);
  margin-bottom: 18px;
}
.card-form__tag--feat{color: var(--pyrgi-2); border-top-color: var(--pyrgi-2)}
.card-form h3{
  font-weight: 800; font-size: clamp(2rem, 3vw, 2.8rem);
  line-height: 1; letter-spacing: -.025em;
  margin: 0 0 8px;
}
.card-form em{font-style: normal; color: var(--gray); font-weight: 500}
.card-form ul{
  list-style:none; padding: 0; margin: 0 0 30px;
  border-top: 1px solid var(--rule);
}
.card-form li{
  padding: 14px 0 14px 26px; position: relative;
  border-bottom: 1px solid var(--rule); font-size: .98rem;
}
.card-form li::before{
  content:""; position:absolute; left:0; top: 22px;
  width: 14px; height: 1px; background: var(--ink);
}
.card-form footer{margin-top: auto}
.price-v2{
  font-weight: 800; font-size: clamp(2.6rem, 4vw, 3.8rem);
  line-height:1; letter-spacing: -.03em;
  display:block; color: var(--ink);
}
.card-form footer span{
  display: block; margin: 6px 0 22px;
  color: var(--gray); font-size: .94rem;
}
.card-form--feat{background: var(--ink); color:#fff; border-color: var(--ink)}
.card-form--feat h3, .card-form--feat .price-v2{color:#fff}
.card-form--feat ul{border-top-color: rgba(255,255,255,.16)}
.card-form--feat li{border-bottom-color: rgba(255,255,255,.16); color: rgba(255,255,255,.9)}
.card-form--feat li::before{background: var(--pyrgi-2)}
.card-form--feat em, .card-form--feat footer span{color: rgba(255,255,255,.7)}

.btn-v2{
  display:inline-flex; align-items:center; gap: 10px;
  padding: 16px 28px;
  font-weight: 700; font-size: .95rem; letter-spacing: .04em;
  border: 0; cursor: pointer;
  transition: all .25s;
}
.btn-v2--dark{background: var(--ink); color:#fff}
.btn-v2--dark:hover{background: var(--pyrgi)}
.btn-v2--primary{background: var(--pyrgi); color:#fff}
.btn-v2--primary:hover{background: var(--pyrgi-dk)}
.btn-v2--white{background: #fff; color: var(--ink)}
.btn-v2--white:hover{background: var(--paper)}
.btn-v2--ghost{background: transparent; color: var(--ink); border: 1.5px solid var(--ink)}
.btn-v2--ghost:hover{background: var(--ink); color: #fff}

.discounts-v2{
  display:grid; grid-template-columns: repeat(4, 1fr);
  gap: 1px; background: var(--rule);
  border: 1px solid var(--rule);
}
.discounts-v2 > div{
  background:#fff; padding: 28px 26px;
  display:flex; flex-direction:column; gap: 10px;
}
.discounts-v2 strong{
  font-weight: 800; font-size: 1.8rem; letter-spacing: -.02em;
}
.discounts-v2 em{font-style:normal; color: var(--gray); font-size:.92rem; line-height: 1.5}
.discounts-v2--accent{background: var(--pyrgi); color:#fff}
.discounts-v2--accent em{color: rgba(255,255,255,.85)}

/* ───── OPEN DAY V2 ───── */
.openday-v2{
  position:relative; overflow:hidden;
  color:#fff;
  padding: clamp(80px, 10vw, 140px) 0;
}
.openday-v2__bg{position:absolute; inset:0; z-index: 0}
.openday-v2__bg img{width:100%; height:100%; object-fit:cover; filter: brightness(.42) saturate(.85)}
.openday-v2__bg::after{
  content:""; position:absolute; inset:0;
  background:
    linear-gradient(135deg, rgba(0,30,70,.78) 0%, rgba(0,0,0,.82) 100%),
    linear-gradient(180deg, rgba(0,0,0,.2) 0%, rgba(0,0,0,.55) 100%);
}
.openday-v2__inner{position:relative; z-index:1; display:grid; grid-template-columns: 1.3fr 1fr; gap: 80px; align-items: center}
.openday-v2__list{
  list-style:none; padding:0; margin: 22px 0;
}
.openday-v2__list li{
  padding: 12px 0 12px 26px;
  position:relative;
  border-bottom: 1px solid rgba(255,255,255,.22);
  font-size: 1.05rem;
}
.openday-v2__list li::before{content:""; position:absolute; left:0; top: 22px; width: 14px; height: 2px; background:#fff}
.openday-v2__promo{
  padding: 22px 26px; margin: 24px 0 28px;
  border: 1.5px solid rgba(255,255,255,.5);
  font-size: 1rem; line-height: 1.55;
}
.openday-v2__promo strong{
  display:block;
  font-weight: 800; font-size: .76rem; letter-spacing: .2em; text-transform:uppercase;
  margin-bottom: 8px; color: #FFD64A;  /* warm yellow, leggibile su qualsiasi foto */
}
.openday-v2__promo em{font-style:normal; color: #FFD64A; font-weight: 700}

.openday-v2__countdown{
  padding: 36px 30px;
  background: rgba(0,0,0,.4);
  border: 1px solid rgba(255,255,255,.2);
  backdrop-filter: blur(10px);
}
.openday-v2__countdown header{margin-bottom: 22px}
.openday-v2__countdown > div{
  display:flex; align-items: baseline; justify-content: space-between;
  padding: 18px 0; border-bottom: 1px solid rgba(255,255,255,.2);
}
.openday-v2__countdown > div:last-child{border-bottom:0}
.openday-v2__countdown strong{
  font-weight:800; font-size: clamp(2.2rem, 4vw, 3.4rem); letter-spacing: -.03em;
  font-variant-numeric: tabular-nums; line-height: 1;
}
.openday-v2__countdown em{font-style:normal; font-size:.78rem; letter-spacing:.2em; text-transform:uppercase; color: rgba(255,255,255,.7)}

/* ───── LOCATION ───── */
.location-v2{background:#fff; border-top: 1px solid var(--rule)}
.location-v2__grid{display:grid; grid-template-columns: 1fr 1.05fr; gap: 60px; align-items: start}
.location-v2__list{
  list-style:none; padding:0; margin: 28px 0;
  display:grid; grid-template-columns: 1fr 1fr; gap: 1px;
  background: var(--rule); border: 1px solid var(--rule);
}
.location-v2__list li{
  background:#fff; padding: 24px 20px;
}
.location-v2__list strong{font-weight:800; font-size: 1.6rem; letter-spacing: -.02em; display: block; line-height:1}
.location-v2__list span{color: var(--gray); font-size: .94rem; display:block; margin-top: 6px}
.location-v2__map{aspect-ratio: 4/5; overflow:hidden; min-height: 520px; border: 1px solid var(--rule)}
.location-v2__map iframe{width:100%; height:100%; border:0; filter: grayscale(.4) contrast(.95)}
address{font-style:normal; margin-top: 22px; padding-top: 22px; border-top: 1px solid var(--rule); line-height: 1.6}

/* ───── ENROLL V2 ───── */
.enroll-v2{padding: 0; background: var(--ink)}
.enroll-v2__inner{display:grid; grid-template-columns: 1fr 1.6fr; min-height: 700px}
.enroll-v2__intro{background: var(--ink); color:#fff; padding: 80px 60px}
.enroll-v2__intro p{color: rgba(255,255,255,.78)}
.enroll-v2__info{padding-top: 24px; margin-top: 24px; border-top: 1px solid rgba(255,255,255,.16)}
.enroll-v2__info strong{
  display:block;
  font-weight: 700; font-size: .72rem; letter-spacing: .2em; text-transform:uppercase;
  color: rgba(255,255,255,.6); margin-bottom: 8px;
}
.enroll-v2__info a{color:#fff; border-bottom: 1px solid currentColor; padding-bottom: 2px; font-weight: 600}
.enroll-v2__form{background:#fff; padding: 80px 60px}

.stepper{
  list-style:none; padding:0; margin: 0 0 36px;
  display:grid; grid-template-columns: repeat(4, 1fr); gap: 1px;
  background: var(--rule); border: 1px solid var(--rule);
}
.stepper__item{
  background:#fff; padding: 16px 14px;
  display:flex; align-items:center; gap:10px;
  font-weight: 600; font-size: .9rem; color: var(--gray);
}
.stepper__item span{
  width: 26px; height: 26px;
  background: var(--paper); color: var(--gray);
  display:flex; align-items:center; justify-content:center;
  font-weight:700; font-size:.86rem;
  border: 1px solid var(--rule);
}
.stepper__item.is-active{background: var(--ink); color:#fff}
.stepper__item.is-active span{background: var(--pyrgi); color:#fff; border-color: var(--pyrgi)}
.stepper__item.is-done span{background: var(--pyrgi); color:#fff; border-color: var(--pyrgi)}

.panel{display:none; border:0; padding:0; margin:0}
.panel.is-active{display:block; animation: panelIn .4s ease}
@keyframes panelIn{from{opacity:0; transform: translateY(10px)} to{opacity:1; transform:none}}
.panel legend{
  font-weight: 800; font-size: 1.5rem; line-height:1.2;
  padding: 0 0 20px; border-bottom: 1px solid var(--rule); margin-bottom: 24px;
}
.row{display:grid; grid-template-columns: 1fr 1fr; gap: 28px; margin-bottom: 22px}
.field{display:block}
.field--full{margin-bottom: 22px}
.field > span{
  display:block;
  font-weight:600; font-size:.78rem; letter-spacing:.04em; text-transform: uppercase;
  color: var(--gray); margin-bottom: 6px;
}
.field input[type="text"], .field input[type="email"], .field input[type="tel"], .field input[type="date"], .field select, .field textarea{
  width:100%; padding: 10px 0; background:#fff; border:0; border-bottom: 1.5px solid var(--ink);
  font:inherit; color: var(--ink); border-radius:0;
}
.field input:focus, .field select:focus, .field textarea:focus{outline:0; border-bottom-color: var(--pyrgi)}
.field input[type="file"]{padding: 6px 0; border-bottom: 0; font-size: .88rem}

.checkbox{display:flex; gap:12px; align-items:flex-start; cursor:pointer; font-size:.94rem; color: var(--ink-2)}
.checkbox--full{margin-bottom: 14px}
.checkbox input{margin-top:4px; width: 18px; height: 18px; accent-color: var(--pyrgi)}
.checkbox a{border-bottom: 1px solid currentColor}

.panel__nav{display:flex; justify-content:space-between; align-items:center; margin-top: 36px; gap: 14px}
.formpick{display:grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-bottom: 14px}
.pick{display:flex; gap: 14px; padding: 22px; border: 1.5px solid var(--rule); cursor:pointer; align-items:flex-start}
.pick:hover{border-color: var(--ink-2)}
.pick input{margin-top: 4px; accent-color: var(--pyrgi); width:18px; height:18px}
.pick:has(input:checked){border-color: var(--pyrgi); background: rgba(30,115,190,.04)}
.pick > div strong{display:block; font-weight: 700; font-size: 1.06rem; margin-bottom: 4px}
.pick > div em{font-style:normal; color: var(--gray); display:block; font-size:.9rem; margin-bottom: 8px}
.pick__price{font-weight: 700; font-size:.86rem; color: var(--pyrgi)}

.form-help{font-size: .92rem; color: var(--gray); margin: 18px 0 10px}
.weeks{
  display:grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 1px;
  background: var(--rule); border: 1px solid var(--rule); margin-bottom: 26px;
}
.week{
  background:#fff; padding: 12px 14px;
  display:flex; gap: 10px; align-items:center;
  cursor:pointer; font-size: .9rem; font-weight: 500;
}
.week input{margin:0; accent-color: var(--pyrgi); width:16px; height:16px}
.week:hover{background: var(--paper)}
.week.is-selected{background: var(--ink); color:#fff}
.week.is-selected input{accent-color:#fff}

.summary{background: var(--paper); padding: 26px 28px; margin-bottom: 26px}
.summary h4{font-weight:800; font-size: 1rem; letter-spacing:.04em; text-transform:uppercase; margin: 0 0 16px}
.summary dl{margin:0}
.summary div{display:flex; justify-content:space-between; padding: 8px 0; border-bottom: 1px solid var(--rule); font-weight: 600}
.summary div:last-of-type{border-bottom: 0}
.summary dt{color: var(--ink-2); margin:0; font-weight:500}
.summary dd{margin:0; font-weight: 700; color: var(--ink)}
.summary__discount dd{color: var(--pyrgi)}
.summary__total{padding-top: 14px !important; border-top: 1.5px solid var(--ink) !important; margin-top: 8px}
.summary__total dt{font-weight:700}
.summary__total dd{font-weight:800; font-size: 1.6rem; letter-spacing:-.02em}

.block-note{background: var(--paper); border-left: 3px solid var(--pyrgi); padding: 22px 24px; margin-bottom: 22px}
.block-note strong{display:block; font-weight: 700; font-size:.78rem; letter-spacing: .18em; text-transform:uppercase; margin-bottom: 10px}
.block-note p{margin: 0 0 14px; color: var(--ink-2); font-size:.94rem; line-height: 1.6}
.radio-row{display:flex; gap: 28px; flex-wrap:wrap}

.panel-done{text-align:center; padding: 50px 20px}
.panel-done h3{font-weight: 800; font-size: 2.2rem; margin: 0 0 14px; letter-spacing: -.02em}
.panel-done p{color: var(--gray); margin: 0; max-width: 50ch; margin-left:auto; margin-right:auto}

/* ───── GALLERY V2 ───── */
.gallery-v2{background: var(--paper)}
.gallery-v2__grid{
  display:grid; grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 240px; gap: 4px;
}
.gallery-v2__item{display:block; overflow:hidden; position: relative}
.gallery-v2__item img{width:100%; height:100%; object-fit: cover; transition: transform .7s cubic-bezier(.2,.8,.2,1)}
.gallery-v2__item:hover img{transform: scale(1.05)}
.gallery-v2__item--lg{grid-column: span 2; grid-row: span 2}

/* ───── FAQ V2 ───── */
.faq-v2{
  border-top: 1px solid var(--ink);
  border-bottom: 1px solid var(--ink);
  margin-top: 28px;
}
.faq-v2 details{border-bottom: 1px solid var(--rule)}
.faq-v2 details:last-child{border-bottom:0}
.faq-v2 summary{
  list-style:none; cursor:pointer; padding: 28px 0;
  font-weight: 700; font-size: clamp(1.1rem, 1.6vw, 1.4rem); letter-spacing: -.01em;
  display:flex; justify-content:space-between; align-items:center; gap: 24px;
}
.faq-v2 summary::-webkit-details-marker{display:none}
.faq-v2 summary::after{
  content: "+"; font-weight: 500; font-size: 2rem; line-height:1;
  color: var(--pyrgi);
  transition: transform .3s;
}
.faq-v2 details[open] summary::after{transform: rotate(45deg)}
.faq-v2 details > div{padding: 0 0 28px; max-width: 70ch}
.faq-v2 details p{margin:0; color: var(--gray); line-height: 1.7; font-size: 1.02rem}

/* ───── FOOTER ───── */
.footer-v2{
  background: var(--ink); color: rgba(255,255,255,.7);
  padding: 90px 0 30px; overflow:hidden;
}
.footer-v2__big{
  font-weight: 800; font-size: clamp(3rem, 12vw, 14rem);
  line-height:.85; letter-spacing: -.045em;
  color: rgba(255,255,255,.05);
  white-space: nowrap;
  margin-bottom: 60px;
}
.footer-v2__row{
  display:grid; grid-template-columns: 1.2fr 1fr 1fr 1fr; gap: 40px;
  padding-bottom: 40px; border-bottom: 1px solid rgba(255,255,255,.12);
}
.footer-v2__logo{height: 60px; width:auto; margin-bottom: 16px}
.footer-v2__row strong{
  display:block; font-weight: 700; font-size:.72rem; letter-spacing: .2em;
  text-transform: uppercase; color: #fff; margin-bottom: 14px;
}
.footer-v2__row a, .footer-v2__row span{display:block; padding: 4px 0; color: rgba(255,255,255,.7); font-size:.95rem}
.footer-v2__row a:hover{color:#fff}
.footer-v2__row p{margin: .4em 0}
.footer-v2__btm{
  display:flex; justify-content: space-between; flex-wrap:wrap; gap: 14px;
  padding-top: 22px; font-size: .82rem;
}
.footer-v2__btm a{color: rgba(255,255,255,.7)}
.footer-v2__btm a:hover{color:#fff}

.floating-cta{
  position:fixed; right: 24px; bottom: 24px; z-index: 50;
  padding: 18px 28px; background: var(--ink); color:#fff;
  font-weight: 700; font-size:.92rem; letter-spacing: .04em;
  opacity:0; transform: translateY(20px); pointer-events:none;
  transition: all .3s;
  box-shadow: 0 10px 28px rgba(0,0,0,.25);
}
.floating-cta.is-visible{opacity:1; transform:none; pointer-events:auto}
.floating-cta:hover{background: var(--pyrgi)}
@media (max-width: 720px){
  .floating-cta{
    right: 14px; bottom: 14px;
    padding: 12px 18px;
    font-size: .82rem;
    bottom: calc(14px + env(safe-area-inset-bottom));
  }
}

/* ───── RESPONSIVE ───── */
@media (max-width: 980px){
  .v2-nav .nav__menu{display:none}
  .v2-nav .nav__cta{padding: 12px 18px; font-size: .85rem}
  .side-number{display:none}
  .hero-v2__top-bar{flex-direction:column; gap: 4px; padding: 84px var(--pad) 14px}
  .intro-v2__grid, .olympic-v2, .openday-v2__inner, .location-v2__grid{grid-template-columns: 1fr; gap: 36px}
  .intro-v2__sticky{position: static}
  .num-stats{grid-template-columns: 1fr 1fr; gap: 1px}
  .scene{grid-template-columns: 1fr; height: auto; min-height: 100vh; padding: 30px var(--pad); position: relative; top: auto}
  .scene__art{display:none}
  .extras-v2, .discounts-v2{grid-template-columns: 1fr}
  .formulas-v2__grid{grid-template-columns: 1fr}
  .gallery-v2__grid{grid-template-columns: repeat(2, 1fr); grid-auto-rows: 180px}
  .gallery-v2__item--lg{grid-column: span 2; grid-row: span 2}
  .enroll-v2__inner{grid-template-columns: 1fr}
  .enroll-v2__intro, .enroll-v2__form{padding: 50px 28px}
  .row, .formpick{grid-template-columns: 1fr; gap: 14px}
  .footer-v2__row{grid-template-columns: 1fr 1fr}
  .hscroll-bar{margin: 18px var(--pad) 40px}
  .location-v2__list{grid-template-columns: 1fr}
  .body.v2{cursor: auto}
}
@media (max-width: 520px){
  :root{--pad: 20px}
  .num-stats{grid-template-columns: 1fr}
  .gallery-v2__grid{grid-template-columns: 1fr 1fr; grid-auto-rows: 140px}
  .stepper{grid-template-columns: repeat(2, 1fr)}
  .hcard{flex: 0 0 280px; padding: 24px 22px}
}

@media (prefers-reduced-motion: reduce){
  *,*::before,*::after{animation-duration: .01ms !important; transition-duration: .01ms !important}
  [data-reveal], [data-split] .word > span, .scene{opacity:1 !important; transform: none !important}
}
:focus-visible{outline: 2px solid var(--pyrgi); outline-offset: 2px}


/* ───── STORIES (carosello social 4:5) ───── */
.stories-v2{
  position: relative;
  background: var(--ink);
  color: #fff;
  padding: clamp(80px, 10vw, 130px) 0 clamp(50px, 6vw, 90px);
  overflow: hidden;
}
.stories-v2::before{
  content:""; position:absolute; inset:0;
  background:
    radial-gradient(800px 500px at 90% 10%, rgba(30,115,190,.18), transparent 60%),
    radial-gradient(600px 400px at 10% 90%, rgba(46,163,242,.12), transparent 60%);
  pointer-events: none;
}
.stories-v2__head{
  position: relative; z-index: 2;
  display:flex; align-items: flex-end; justify-content: space-between;
  gap: 40px; flex-wrap: wrap;
  margin-bottom: 60px;
}
.stories-v2__head .hh1{margin: 0}
.stories-v2__nav{display:flex; gap: 8px}
.stories-v2__arrow{
  background: transparent; border: 1.5px solid rgba(255,255,255,.5); color:#fff;
  width: 56px; height: 56px; display:inline-flex; align-items:center; justify-content:center;
  cursor: pointer; transition: all .25s;
}
.stories-v2__arrow:hover{background:#fff; color: var(--ink); border-color:#fff}

.stories-v2__rail{
  position: relative; z-index: 2;
  display: flex; gap: 28px;
  padding: 0 var(--pad) 6px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  cursor: grab;
}
.stories-v2__rail::-webkit-scrollbar{display:none}
.stories-v2__rail.is-dragging{cursor: grabbing; scroll-snap-type: none}

.story{
  flex: 0 0 clamp(280px, 26vw, 400px);
  aspect-ratio: 4/5;
  position: relative;
  background: var(--ink-2);
  scroll-snap-align: start;
  overflow: hidden;
  transition: transform .5s cubic-bezier(.2,.8,.2,1);
}
.story:hover{transform: translateY(-6px)}
.story img{
  width:100%; height:100%; object-fit: cover;
  pointer-events: none;
  user-select: none;
}
.story__num{
  position: absolute; top: 18px; left: 18px;
  z-index: 2;
  display:inline-flex; align-items:center;
  padding: 6px 14px;
  background: rgba(10,10,10,.7);
  backdrop-filter: blur(6px);
  color: #fff;
  font-weight: 800; font-size: .76rem; letter-spacing: .2em;
  font-variant-numeric: tabular-nums;
}
.story::after{
  content:""; position:absolute; inset:0;
  background: linear-gradient(180deg, transparent 60%, rgba(0,0,0,.35) 100%);
  pointer-events: none;
  opacity: 0;
  transition: opacity .3s;
}
.story:hover::after{opacity: 1}

.stories-v2__bar{
  position: relative; z-index: 2;
  height: 2px;
  background: rgba(255,255,255,.15);
  margin: 34px var(--pad) 0;
  overflow: hidden;
}
.stories-v2__bar span{
  display:block; height: 100%;
  background: #fff;
  width: 20%; min-width: 40px;
  transition: width .25s, transform .1s linear;
  transform-origin: left;
}

@media (max-width: 980px){
  .stories-v2__head{margin-bottom: 30px}
  .stories-v2__rail{gap: 16px; padding: 0 var(--pad) 6px}
  .story{flex: 0 0 70%}
  .stories-v2__arrow{width: 44px; height: 44px}
}
@media (max-width: 520px){
  .story{flex: 0 0 80%}
}

/* ─────────── PROMO BANNER ─────────── */
.promo-v2{
  background: var(--pyrgi);
  color: #fff;
  padding: clamp(50px, 7vw, 90px) 0;
  position: relative;
  overflow: hidden;
}
.promo-v2::before{
  content:""; position:absolute; inset:0;
  background:
    radial-gradient(700px 400px at 90% 110%, rgba(255,255,255,.15), transparent 60%),
    radial-gradient(500px 300px at 5% 0%, rgba(46,163,242,.25), transparent 60%);
  pointer-events: none;
}
.promo-v2__inner{
  display:grid; grid-template-columns: 1.7fr 1fr;
  gap: 60px; align-items: center;
  position: relative; z-index: 1;
}
.promo-v2__tag{
  display:inline-block;
  font-weight: 700; font-size: .76rem; letter-spacing: .22em; text-transform: uppercase;
  padding: 8px 16px;
  background: rgba(0,0,0,.25);
  margin-bottom: 22px;
  color:#fff;
}
.promo-v2__title{
  font-weight: 800;
  font-size: clamp(2.4rem, 5vw, 4.6rem);
  line-height: 1; letter-spacing: -.025em;
  margin: 0 0 18px;
  color: #fff;
}
.promo-v2__title .word{display:inline-block; overflow:hidden; vertical-align:top}
.promo-v2__sub{
  font-size: clamp(1.05rem, 1.4vw, 1.25rem);
  line-height: 1.5; max-width: 56ch; margin: 0 0 26px;
  color: rgba(255,255,255,.95);
}
.promo-v2__sub strong{color:#fff}
.promo-v2__cta{display:flex; gap:12px; flex-wrap:wrap}
.promo-v2__cta .btn-v2--ghost{color:#fff; border-color:#fff}
.promo-v2__cta .btn-v2--ghost:hover{background:#fff; color: var(--pyrgi)}

.promo-v2__voucher{
  background: #fff; color: var(--ink);
  padding: 32px 30px;
  border: 1px solid rgba(255,255,255,.5);
}
.promo-v2__voucher-tag{
  display:block;
  font-weight: 700; font-size: .72rem; letter-spacing: .22em; text-transform: uppercase;
  color: var(--pyrgi);
  margin-bottom: 14px;
}
.promo-v2__voucher-amount{
  display:block;
  font-weight: 800; font-size: clamp(2.2rem, 3.4vw, 3rem);
  line-height: 1; letter-spacing: -.025em;
  margin-bottom: 12px;
  color: var(--ink);
}
.promo-v2__voucher p{margin: 0; color: var(--gray); font-size: .96rem; line-height: 1.55}

@media (max-width: 980px){
  .promo-v2__inner{grid-template-columns: 1fr; gap: 28px}
}

/* ─────────── STORY HIGHLIGHT (slide 09) ─────────── */
.story--highlight{
  outline: 3px solid var(--pyrgi-2);
  outline-offset: -3px;
}
.story__badge{
  position: absolute; top: 18px; right: 18px;
  z-index: 2;
  display:inline-flex; align-items:center; gap: 4px;
  padding: 6px 12px;
  background: var(--pyrgi-2); color: var(--ink);
  font-weight: 800; font-size: .76rem; letter-spacing: .15em;
}
.story{cursor: pointer}

/* ─────────── LIGHTBOX ─────────── */
.lightbox{
  position: fixed; inset: 0; z-index: 9000;
  background: rgba(10,10,10,.92);
  backdrop-filter: blur(8px);
  display: flex; align-items: center; justify-content: center;
  padding: 40px;
  cursor: zoom-out;
  animation: lbFadeIn .25s ease;
}
@keyframes lbFadeIn{from{opacity:0} to{opacity:1}}
.lightbox[hidden]{display: none}
.lightbox__stage{
  max-width: min(80vw, 900px);
  max-height: 90vh;
  display:flex; align-items:center; justify-content:center;
}
.lightbox__stage img{
  max-width: 100%; max-height: 90vh;
  width: auto; height: auto;
  object-fit: contain;
  cursor: default;
  box-shadow: 0 30px 80px rgba(0,0,0,.6);
}
.lightbox__close{
  position: absolute; top: 24px; right: 28px;
  width: 48px; height: 48px;
  background: transparent; border: 0; color: #fff;
  font-size: 2.4rem; line-height: 1; font-weight: 300;
  cursor: pointer;
  transition: transform .2s;
}
.lightbox__close:hover{transform: rotate(90deg)}
.lightbox__nav{
  position: absolute; top: 50%; transform: translateY(-50%);
  width: 56px; height: 56px;
  background: rgba(255,255,255,.1);
  color: #fff; border: 1px solid rgba(255,255,255,.3);
  font-size: 2.2rem; line-height: 1; font-weight: 300;
  cursor: pointer;
  display:flex; align-items:center; justify-content:center;
  transition: all .2s;
}
.lightbox__nav:hover{background: rgba(255,255,255,.2); border-color:#fff}
.lightbox__nav--prev{left: 24px}
.lightbox__nav--next{right: 24px}
.lightbox__caption{
  position: absolute; bottom: 24px; left: 50%;
  transform: translateX(-50%);
  color: rgba(255,255,255,.85);
  font-weight: 600; font-size: .9rem; letter-spacing: .14em;
  text-transform: uppercase;
  pointer-events: none;
}
@media (max-width: 720px){
  .lightbox{padding: 20px}
  .lightbox__nav{width: 44px; height: 44px; font-size: 1.7rem}
  .lightbox__nav--prev{left: 10px}
  .lightbox__nav--next{right: 10px}
}

/* ─────────── KIT V2 ─────────── */
.kit-v2{background: var(--paper)}
.kit-v2__grid{
  display:grid; grid-template-columns: 1.1fr 1fr; gap: 70px;
  align-items: center;
}
.kit-v2__list{
  list-style:none; padding:0; margin: 30px 0 0;
  counter-reset: kit;
}
.kit-v2__list li{
  display:grid; grid-template-columns: 60px 1fr; gap: 22px;
  padding: 22px 0;
  border-bottom: 1px solid var(--rule);
}
.kit-v2__list li:last-child{border-bottom: 0}
.kit-v2__list span{
  font-weight: 800; font-size: .86rem; letter-spacing: .2em;
  color: var(--gray-2);
  padding-top: 4px;
}
.kit-v2__list strong{
  display:block;
  font-weight: 700; font-size: 1.2rem; letter-spacing: -.01em;
  margin-bottom: 4px;
}
.kit-v2__list em{font-style: normal; color: var(--gray); font-size: .94rem}
.kit-v2__img img{
  width: 100%; max-width: 460px;
  margin: 0 auto;
  filter: drop-shadow(0 24px 32px rgba(0,0,0,.18));
}

/* ─────────── SERVIZI V2 ─────────── */
.services-v2{background: #fff; border-top: 1px solid var(--rule)}
.services-v2__grid{
  list-style:none; padding:0; margin: 40px 0 0;
  display:grid; grid-template-columns: repeat(4, 1fr);
  gap: 1px; background: var(--rule);
  border: 1px solid var(--rule);
}
.services-v2__grid li{
  background:#fff;
  padding: 30px 24px;
  min-height: 150px;
  display:flex; flex-direction: column; justify-content: space-between;
  transition: background .2s;
}
.services-v2__grid li:hover{background: var(--paper)}
.services-v2__grid strong{
  font-weight:800; font-size: .76rem; letter-spacing: .22em;
  color: var(--pyrgi);
}
.services-v2__grid span{
  font-weight: 600; font-size: 1.04rem; line-height: 1.3;
  color: var(--ink);
}

.footer-v2__legal{
  margin-top: 12px !important;
  font-size: .82rem;
  color: rgba(255,255,255,.55);
}
.footer-v2__legal strong{color: rgba(255,255,255,.85)}

@media (max-width: 980px){
  .kit-v2__grid{grid-template-columns: 1fr; gap: 30px}
  .services-v2__grid{grid-template-columns: repeat(2, 1fr)}
}
@media (max-width: 520px){
  .services-v2__grid{grid-template-columns: 1fr}
}


/* ─────────── DISCIPLINES V3 — COMPACT GRID ─────────── */
.disciplines-v3{
  background: var(--ink);
  color: #fff;
  padding: clamp(80px, 10vw, 130px) 0;
  position: relative;
}
.disciplines-v3 .head-v2{margin-bottom: 60px}
.disciplines-v3 .lead-v2{color: rgba(255,255,255,.78)}

.disc-grid{
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 4px;
}
.disc-tile{
  --c: var(--pyrgi);
  --txt: #fff;
  background: var(--c);
  position: relative;
  aspect-ratio: 4 / 5;
  padding: 22px 20px;
  display: flex; flex-direction: column;
  overflow: hidden;
  color: var(--txt);
  transition: transform .35s cubic-bezier(.2,.8,.2,1);
  cursor: pointer;
}
.disc-tile[data-bg-dark="1"]{--txt: var(--ink)}
.disc-tile:hover{transform: translateY(-6px)}

/* Soft gradient overlay to ensure text legibility above the illustration */
.disc-tile::before{
  content:"";
  position:absolute; inset:0;
  background: linear-gradient(180deg, rgba(0,0,0,.18) 0%, rgba(0,0,0,0) 35%, rgba(0,0,0,0) 100%);
  z-index: 1;
  pointer-events: none;
}
.disc-tile[data-bg-dark="1"]::before{
  background: linear-gradient(180deg, rgba(255,255,255,.22) 0%, rgba(255,255,255,0) 35%, rgba(255,255,255,0) 100%);
}

.disc-tile__num{
  font-weight: 800; font-size: .76rem; letter-spacing: .25em;
  opacity: .85;
  position: relative; z-index: 3;
  margin-bottom: 8px;
  color: var(--txt) !important;
}
.disc-tile__art{
  position: absolute;
  bottom: 0; left: 50%;
  transform: translateX(-50%);
  width: 78%; height: 62%;
  z-index: 1;
  display: flex; align-items: flex-end; justify-content: center;
  pointer-events: none;
}
.disc-tile__art img{
  max-width: 100%; max-height: 100%;
  width: auto; height: 100%;
  object-fit: contain; object-position: bottom center;
  filter: drop-shadow(0 12px 18px rgba(0,0,0,.15));
  transition: transform .45s cubic-bezier(.2,.8,.2,1);
}
.disc-tile:hover .disc-tile__art img{transform: translateY(-6px) scale(1.03)}

/* Force title/desc colors to survive theme overrides (Divi, etc.) */
.disciplines-v3 .disc-tile__title,
.disc-tile__title{
  font-weight: 800;
  font-size: clamp(1.2rem, 1.8vw, 1.6rem);
  line-height: 1; letter-spacing: -.02em;
  margin: 0 0 6px;
  position: relative; z-index: 3;
  color: var(--txt) !important;
}
.disciplines-v3 .disc-tile__desc,
.disc-tile__desc{
  margin: 0;
  font-size: .82rem; line-height: 1.4;
  opacity: .92;
  position: relative; z-index: 3;
  max-width: 90%;
  color: var(--txt) !important;
}

.disc-note{
  margin-top: 32px;
  text-align: center;
  font-size: 1rem;
  color: rgba(255,255,255,.78);
}
.disc-note strong{color:#fff}

@media (max-width: 1100px){
  .disc-grid{grid-template-columns: repeat(4, 1fr)}
}
@media (max-width: 720px){
  /* MOBILE: text full-width on top, illustration confined bottom-right (no overlap) */
  .disc-grid{grid-template-columns: repeat(2, 1fr); gap: 2px}
  .disc-tile{
    aspect-ratio: 3 / 4;
    padding: 16px 14px;
    min-height: 240px;
  }
  .disc-tile__num{font-size: .68rem; margin-bottom: 6px}
  .disc-tile__title{font-size: 1.25rem; line-height: 1.02}
  .disc-tile__desc{
    font-size: .78rem; line-height: 1.35;
    max-width: 100%;
    padding-right: 38%;          /* keep text clear of the illustration */
    position: relative; z-index: 3;
    text-shadow: 0 0 8px rgba(0,0,0,.12);
  }
  .disc-tile[data-bg-dark="1"] .disc-tile__desc{text-shadow: 0 0 8px rgba(255,255,255,.4)}
  .disc-tile__art{
    width: 58%;                   /* smaller footprint */
    height: 58%;
    left: auto; right: -8px;
    bottom: 0;
    transform: none;
    justify-content: flex-end;
  }
  .disc-tile__art img{
    height: 100%; max-height: 100%;
    object-position: bottom right;
    filter: drop-shadow(0 6px 10px rgba(0,0,0,.12));
  }
  .disc-tile:hover{transform: none}
  .disc-tile:hover .disc-tile__art img{transform: none}
}

/* ─────────── ISCRIZIONE GRATUITA (Promo + Kit + Voucher) ─────────── */
.iscr-promo{
  background: var(--pyrgi);
  color: #fff;
  padding: clamp(70px, 9vw, 130px) 0;
  position: relative;
  overflow: hidden;
}
.iscr-promo::before{
  content:""; position:absolute; inset:0;
  background:
    radial-gradient(700px 400px at 90% -10%, rgba(255,255,255,.15), transparent 60%),
    radial-gradient(600px 400px at -5% 110%, rgba(46,163,242,.25), transparent 60%);
  pointer-events: none;
}
.iscr-promo__head{
  position: relative; z-index: 2;
  max-width: 880px;
  margin-bottom: 60px;
}
.iscr-promo__head .lead-v2{max-width: 60ch}
.iscr-promo__head .lead-v2 strong{color:#fff}

.iscr-promo__grid{
  position: relative; z-index: 2;
  display: grid; grid-template-columns: 1.05fr 1fr;
  gap: 60px; align-items: center;
}
.iscr-promo__visual{margin: 0}
.iscr-promo__visual img{
  width: 100%; max-width: 720px;
  display: block;
}

.iscr-promo__body{display: flex; flex-direction: column; gap: 32px}

/* Voucher stamp (SVG) */
.voucher-stamp{
  align-self: flex-start;
  width: 180px;
  color: #fff;
  filter: drop-shadow(0 12px 24px rgba(0,0,0,.18));
  transform: rotate(-8deg);
  transition: transform .35s;
}
.voucher-stamp:hover{transform: rotate(0deg) scale(1.03)}
.voucher-stamp svg{width: 100%; height: auto; display: block}

/* Kit included inside iscrizione */
.kit-included{
  background: rgba(0,0,0,.18);
  border: 1px solid rgba(255,255,255,.25);
  padding: 28px 30px;
  backdrop-filter: blur(8px);
}
.kit-included__tag{
  display: block;
  font-weight: 800; font-size: .74rem; letter-spacing: .22em; text-transform: uppercase;
  color: rgba(255,255,255,.85);
  padding-bottom: 16px; margin-bottom: 16px;
  border-bottom: 1px solid rgba(255,255,255,.2);
}
.kit-included__list{
  list-style: none; padding: 0; margin: 0;
  display: flex; flex-direction: column; gap: 14px;
}
.kit-included__list li{
  display: grid; grid-template-columns: 32px 1fr; gap: 18px;
  align-items: baseline;
}
.kit-included__list strong{
  font-weight: 800; font-size: .76rem; letter-spacing: .2em;
  color: rgba(255,255,255,.7);
  font-variant-numeric: tabular-nums;
}
.kit-included__list span{
  display: block;
  font-weight: 700; font-size: 1.04rem; color: #fff;
  margin-bottom: 2px;
}
.kit-included__list em{
  font-style: normal;
  font-size: .9rem; color: rgba(255,255,255,.72);
}

.iscr-promo__cta{display: flex; gap: 14px; flex-wrap: wrap}
.btn-v2--ghost-light{background: transparent; color: #fff; border: 1.5px solid #fff}
.btn-v2--ghost-light:hover{background:#fff; color: var(--pyrgi)}

@media (max-width: 980px){
  .iscr-promo__grid{grid-template-columns: 1fr; gap: 36px}
  .voucher-stamp{width: 140px; align-self: center}
}

/* ─────────── ATTIVITÀ EXTRA RICREATIVE ─────────── */
.extra-v2{background: var(--white); border-top: 1px solid var(--rule)}
.extra-grid{
  list-style: none; padding: 0; margin: 0 0 24px;
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 1px; background: var(--rule);
  border: 1px solid var(--rule);
}
.extra-grid li{
  background: #fff;
  padding: 26px 22px;
  min-height: 130px;
  display: flex; flex-direction: column; justify-content: space-between;
  transition: background .2s;
}
.extra-grid li:hover{background: var(--paper)}
.extra-grid strong{
  font-weight: 800; font-size: .76rem; letter-spacing: .22em;
  color: var(--pyrgi);
}
.extra-grid span{
  font-weight: 700; font-size: 1.04rem; line-height: 1.3;
  color: var(--ink);
}
.extra-note{
  font-size: .96rem; color: var(--gray);
  padding: 22px 0 0;
  border-top: 1px solid var(--rule);
  line-height: 1.55;
}
.extra-note strong{color: var(--ink)}

@media (max-width: 980px){
  .extra-grid{grid-template-columns: repeat(2, 1fr)}
}
@media (max-width: 520px){
  .extra-grid{grid-template-columns: 1fr}
}

/* ─────────── ATTIVITÀ EXTRA · v2 con immagini ─────────── */
.extra-grid li{
  background: #fff;
  padding: 0;
  min-height: 0;
  display: flex; flex-direction: column;
  border: 0;
  position: relative;
  overflow: hidden;
  transition: transform .35s cubic-bezier(.2,.8,.2,1);
}
.extra-grid li:hover{transform: translateY(-4px); background: var(--paper)}

.extra-grid li figure{
  margin: 0;
  background: #fff;
  aspect-ratio: 1 / 1;
  display: flex; align-items: center; justify-content: center;
  padding: 18px;
  overflow: hidden;
}
.extra-grid li figure img{
  max-width: 100%;
  max-height: 100%;
  width: auto; height: auto;
  object-fit: contain;
  mix-blend-mode: multiply;  /* fa scomparire elegantemente lo sfondo bianco se non perfettamente pulito */
  transition: transform .45s cubic-bezier(.2,.8,.2,1);
}
.extra-grid li:hover figure img{transform: scale(1.06)}

.extra-grid li strong{
  display: block;
  padding: 16px 20px 22px;
  font-weight: 700; font-size: 1rem; letter-spacing: -.005em;
  color: var(--ink);
  border-top: 1px solid var(--rule);
  background: #fff;
  text-transform: none;
  margin: 0;
  font-family: inherit;
}

@media (max-width: 980px){
  .extra-grid{grid-template-columns: repeat(2, 1fr)}
}
@media (max-width: 520px){
  .extra-grid{grid-template-columns: 1fr 1fr; gap: 1px}
  .extra-grid li figure{padding: 12px}
  .extra-grid li strong{padding: 10px 14px 14px; font-size: .92rem}
}

/* ─────────── VOUCHER STAMP · ora <img> al posto del SVG ─────────── */
.voucher-stamp{
  align-self: flex-start;
  width: 180px;
  filter: drop-shadow(0 12px 24px rgba(0,0,0,.18));
  transform: rotate(-8deg);
  transition: transform .35s;
}
.voucher-stamp:hover{transform: rotate(0) scale(1.04)}
.voucher-stamp img{
  width: 100%; height: auto; display: block;
  /* Il bollino caricato è nero su trasparente: lo invertiamo a bianco con CSS filter
     per leggerlo bene sul fondo blu Pyrgi. */
  filter: brightness(0) invert(1);
}
@media (max-width: 980px){
  .voucher-stamp{width: 150px; align-self: center}
}


/* ─────────── OPEN DAY · LEGGIBILITÀ SU FOTO ─────────── */
.openday-v2 .kicker-v2--light{
  background: rgba(0,0,0,.35);
  padding: 8px 14px;
  border-top: 0;
  letter-spacing: .22em;
}
.openday-v2 .hh1--light{
  text-shadow: 0 4px 22px rgba(0,0,0,.55), 0 2px 4px rgba(0,0,0,.4);
}
.openday-v2 .lead-v2--light{
  text-shadow: 0 2px 12px rgba(0,0,0,.5);
}
.openday-v2__list li{
  text-shadow: 0 2px 10px rgba(0,0,0,.45);
}
.openday-v2__promo{
  background: rgba(0,0,0,.42);
  backdrop-filter: blur(6px);
  border-color: rgba(255,255,255,.6);
}

/* ─────────── OLYMPIC GAMES v3 — illustrazione integrata, no box ─────────── */
.program-v2{padding-bottom: 0} /* tolgo il padding-bottom del programma — olimpic ha il suo */
.olympic-v3{
  position: relative;
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 80px; align-items: center;
  margin: 80px 0 0;
  padding: clamp(50px, 8vw, 100px) clamp(40px, 5vw, 80px);
  background:
    radial-gradient(900px 600px at 100% 0%, rgba(255,214,74,.18), transparent 60%),
    linear-gradient(180deg, var(--paper) 0%, #ECE7D8 100%);
  overflow: hidden;
}
.olympic-v3::before{
  /* big "VENERDÌ" sfondo watermark per dare profondità editoriale */
  content: "VENERDÌ"; position: absolute;
  font-weight: 800; font-size: clamp(8rem, 18vw, 18rem);
  line-height: .8; letter-spacing: -.04em;
  color: rgba(10,10,10,.05);
  bottom: -2vw; left: -1vw;
  pointer-events: none;
}
.olympic-v3__copy{position: relative; z-index: 2; color: var(--ink)}
.olympic-v3__copy .kicker-v2{color: var(--pyrgi); border-top-color: var(--pyrgi)}
.olympic-v3__title{margin: 0 0 .35em}
.olympic-v3__copy p{
  font-size: 1.1rem; line-height: 1.5; color: var(--ink-2);
  max-width: 44ch; margin: 0 0 24px;
}
.olympic-v3__list{
  list-style: none; padding: 0; margin: 0;
  display: flex; flex-direction: column; gap: 4px;
}
.olympic-v3__list li{
  padding: 12px 0 12px 24px;
  position: relative;
  border-top: 1px solid rgba(10,10,10,.12);
  font-weight: 600; font-size: 1rem; color: var(--ink);
}
.olympic-v3__list li:last-child{border-bottom: 1px solid rgba(10,10,10,.12)}
.olympic-v3__list li::before{content: none}

.olympic-v3__art{
  position: relative;
  margin: 0;
  display: flex; align-items: center; justify-content: center;
  min-height: 360px;
}
.olympic-v3__art img{
  width: 100%; max-width: 580px;
  height: auto;
  display: block;
  /* mix-blend-mode: multiply rimuove elegantemente il fondo bianco dell'illustrazione */
  mix-blend-mode: multiply;
  filter: drop-shadow(0 24px 36px rgba(0,0,0,.18));
  transition: transform .5s cubic-bezier(.2,.8,.2,1);
}
.olympic-v3__art:hover img{transform: scale(1.03) rotate(-1deg)}

@media (max-width: 980px){
  .olympic-v3{grid-template-columns: 1fr; gap: 36px; margin-top: 50px; padding: 50px 30px}
  .olympic-v3__art img{max-width: 460px}
}

/* ─────────── OPEN DAY v3 — editoriale chiaro ─────────── */
.openday-v3{
  background: #fff;
  padding: clamp(80px, 10vw, 130px) 0;
  border-top: 1px solid var(--rule);
  position: relative;
}
.openday-v3__grid{
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: clamp(40px, 6vw, 80px);
  align-items: start;
}
.openday-v3__copy{position: relative}

/* Big editorial date treatment */
.openday-v3__date{
  display: inline-flex; flex-direction: column;
  align-items: flex-start;
  margin: 12px 0 18px;
  padding: 18px 22px;
  background: var(--pyrgi);
  color: #fff;
}
.openday-v3__day{
  font-weight: 800;
  font-size: clamp(4rem, 8vw, 7rem);
  line-height: .85; letter-spacing: -.04em;
  font-variant-numeric: tabular-nums;
}
.openday-v3__month{
  font-weight: 700; font-size: 1.4rem;
  letter-spacing: .02em;
  margin-top: 8px;
}
.openday-v3__year{
  font-weight: 600; font-size: .82rem;
  letter-spacing: .24em; text-transform: uppercase;
  color: rgba(255,255,255,.75);
  margin-top: 4px;
}
.openday-v3 .hh1{margin: 0 0 .35em}

.openday-v3__list{
  list-style: none; padding: 0; margin: 0 0 28px;
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
}
.openday-v3__list li{
  padding: 14px 0 14px 26px;
  position: relative;
  border-top: 1px solid var(--rule);
  font-weight: 500; font-size: 1.02rem; color: var(--ink);
}
.openday-v3__list li:first-child{border-top: 0}
.openday-v3__list li::before{
  content: ""; position: absolute; left: 0; top: 24px;
  width: 14px; height: 2px; background: var(--pyrgi);
}

.openday-v3__promo{
  background: var(--paper);
  border-left: 4px solid var(--pyrgi);
  padding: 22px 26px;
  margin-bottom: 26px;
  line-height: 1.55;
}
.openday-v3__promo strong{
  display: block;
  font-weight: 800; font-size: .76rem; letter-spacing: .22em; text-transform: uppercase;
  color: var(--pyrgi);
  margin-bottom: 8px;
}
.openday-v3__promo em{
  font-style: normal; font-weight: 800; color: var(--ink);
  background: rgba(30,115,190,.12);
  padding: 1px 6px;
}

.openday-v3__cta{display: flex; gap: 14px; flex-wrap: wrap}

/* Right column: countdown + photo */
.openday-v3__side{
  position: sticky; top: 100px;
  display: flex; flex-direction: column; gap: 24px;
}
.openday-v3__cd-head{margin-bottom: 4px}
.openday-v3__cd{
  display: grid; grid-template-columns: 1fr 1fr; gap: 1px;
  background: var(--rule);
  border: 1px solid var(--rule);
}
.openday-v3__cd > div{
  background: var(--ink); color: #fff;
  padding: 26px 22px;
  display: flex; flex-direction: column; align-items: flex-start;
}
.openday-v3__cd strong{
  font-weight: 800;
  font-size: clamp(2.6rem, 4.5vw, 4rem);
  line-height: 1; letter-spacing: -.04em;
  font-variant-numeric: tabular-nums;
}
.openday-v3__cd em{
  font-style: normal;
  font-size: .76rem; letter-spacing: .22em; text-transform: uppercase;
  color: rgba(255,255,255,.7);
  margin-top: 10px;
}
.openday-v3__photo{
  margin: 0;
  overflow: hidden;
  border: 1px solid var(--rule);
}
.openday-v3__photo img{
  width: 100%; height: auto; display: block;
  aspect-ratio: 16/9; object-fit: cover;
  transition: transform .8s cubic-bezier(.2,.8,.2,1);
}
.openday-v3__photo:hover img{transform: scale(1.05)}

@media (max-width: 980px){
  .openday-v3__grid{grid-template-columns: 1fr; gap: 36px}
  .openday-v3__side{position: static}
}

/* ═══════════════════════════════════════════════════
   OLYMPIC v3 · COLORI + LOGO SIGILLO
   ═══════════════════════════════════════════════════ */
.olympic-v3{
  position: relative;
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 80px; align-items: center;
  margin: 80px 0 0;
  padding: clamp(60px, 9vw, 110px) clamp(40px, 5vw, 80px);
  background:
    radial-gradient(700px 500px at 110% -10%, rgba(255,87,39,.20), transparent 60%),
    radial-gradient(600px 500px at -10% 110%, rgba(124,63,191,.18), transparent 60%),
    linear-gradient(180deg, #FCC91A 0%, #FFD64A 100%);
  color: var(--ink);
  overflow: hidden;
  border-radius: 0;
}
.olympic-v3__confetti{
  position: absolute; inset: 0;
  pointer-events: none; opacity: .9;
}
.olympic-v3__confetti svg{width: 100%; height: 100%; display: block}
.kicker-v2--dark{color: var(--ink); border-top-color: var(--ink)}
.olympic-v3__copy{position: relative; z-index: 2; color: var(--ink)}
.olympic-v3__title{margin: 0 0 .35em; color: var(--ink)}
.olympic-v3__copy p{
  font-size: 1.15rem; line-height: 1.5; color: var(--ink-2);
  max-width: 44ch; margin: 0 0 28px;
}
.olympic-v3__list{
  list-style: none; padding: 0; margin: 0;
  display: flex; flex-direction: column; gap: 0;
  max-width: 28em;
}
.olympic-v3__list li{
  position: relative;
  padding: 14px 0;
  background: transparent !important;
  border-radius: 0 !important;
  border-top: 1px solid rgba(10,10,10,.18);
  font-weight: 700; font-size: 1.02rem; color: var(--ink);
  max-width: none;
  display: block;
}
.olympic-v3__list li:last-child{border-bottom: 1px solid rgba(10,10,10,.18)}
.olympic-v3__list li::before{content: none}

.olympic-v3__art{
  position: relative;
  margin: 0;
  display: flex; align-items: center; justify-content: center;
  min-height: 360px;
}
.olympic-v3__art img{
  width: 100%; max-width: 560px;
  height: auto; display: block;
  filter: drop-shadow(0 24px 40px rgba(0,0,0,.22));
  transition: transform .5s cubic-bezier(.2,.8,.2,1);
}
.olympic-v3__art:hover img{transform: scale(1.04) rotate(-1.5deg)}

/* Logo seal */
.olympic-v3__seal{
  position: absolute;
  bottom: -10px; right: 4%;
  width: 110px; height: 110px;
  background: var(--ink);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  transform: rotate(-12deg);
  box-shadow: 0 14px 28px rgba(0,0,0,.22);
  animation: sealFloat 4s ease-in-out infinite;
}
.olympic-v3__seal-inner{
  display: flex; align-items: center; justify-content: center;
  width: 100%; height: 100%;
}
.olympic-v3__seal img{
  width: 60px; height: auto;
  filter: brightness(0) invert(1);
}
@keyframes sealFloat{
  0%,100%{ transform: rotate(-12deg) translateY(0) }
  50%    { transform: rotate(-8deg)  translateY(-6px) }
}

@media (max-width: 980px){
  .olympic-v3{grid-template-columns: 1fr; gap: 32px; padding: 50px 28px}
  .olympic-v3__seal{width: 84px; height: 84px}
  .olympic-v3__seal img{width: 46px}
}

/* ═══════════════════════════════════════════════════
   OPEN DAY v4 · IMPATTO + COLORI
   ═══════════════════════════════════════════════════ */
.openday-v4{
  position: relative;
  padding: clamp(80px, 10vw, 140px) 0;
  background:
    radial-gradient(900px 600px at 90% -10%, rgba(252,201,26,.22), transparent 60%),
    radial-gradient(700px 600px at 0% 100%, rgba(255,87,39,.22), transparent 65%),
    linear-gradient(135deg, var(--pyrgi) 0%, var(--pyrgi-dk) 100%);
  color: #fff;
  overflow: hidden;
}
.openday-v4__bg{position: absolute; inset: 0; pointer-events: none; z-index: 0}
.openday-v4__shape{position: absolute; border-radius: 50%; opacity: .18; filter: blur(40px)}
.openday-v4__shape--1{
  width: 380px; height: 380px;
  top: -80px; right: 10%;
  background: #FCC91A;
}
.openday-v4__shape--2{
  width: 320px; height: 320px;
  bottom: -100px; left: -60px;
  background: #FF5727;
}
.openday-v4__shape--3{
  width: 240px; height: 240px;
  top: 40%; left: 35%;
  background: #2EA3F2;
  opacity: .12;
}

.openday-v4__inner{position: relative; z-index: 2}
.openday-v4__head{max-width: 880px; margin-bottom: clamp(40px, 5vw, 70px)}
.openday-v4__title{margin: 0 0 .35em}

.openday-v4__grid{
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  grid-template-rows: auto auto;
  gap: 20px;
}

/* Date card — yellow stamp BIG */
.openday-v4__date-card{
  grid-column: 1;
  grid-row: 1 / 3;
  position: relative;
  background: #FCC91A;
  color: var(--ink);
  padding: 50px 44px;
  border-radius: 24px;
  box-shadow: 0 30px 60px rgba(0,0,0,.25);
  display: flex; flex-direction: column;
  overflow: hidden;
  transform: rotate(-1.5deg);
  transition: transform .4s;
}
.openday-v4__date-card:hover{transform: rotate(0deg) scale(1.01)}
.openday-v4__date-card::before{
  content:""; position: absolute; inset: 0;
  background: repeating-linear-gradient(45deg, transparent 0 30px, rgba(0,0,0,.04) 30px 31px);
  pointer-events: none;
}
.openday-v4__seal{
  position: absolute;
  top: 24px; right: 24px;
  width: 84px; height: 84px;
  background: var(--ink);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  transform: rotate(8deg);
  box-shadow: 0 10px 22px rgba(0,0,0,.22);
}
.openday-v4__seal img{
  width: 50px; height: auto;
  filter: brightness(0) invert(1);
}
.openday-v4__date-label{
  font-weight: 800; font-size: .78rem; letter-spacing: .28em; text-transform: uppercase;
  color: var(--ink);
  margin-bottom: 6px;
  padding-bottom: 12px;
  border-bottom: 2px solid var(--ink);
  width: fit-content;
}
.openday-v4__day{
  font-weight: 800;
  font-size: clamp(8rem, 18vw, 16rem);
  line-height: .8; letter-spacing: -.06em;
  color: var(--ink);
  font-variant-numeric: tabular-nums;
  margin: 14px 0 0;
}
.openday-v4__month{
  font-weight: 800;
  font-size: clamp(2rem, 3vw, 2.8rem);
  letter-spacing: -.01em;
  color: var(--ink);
  margin-top: 4px;
}
.openday-v4__hours{
  margin-top: 18px;
  font-weight: 700; font-size: 1.02rem;
  color: var(--ink-2);
  padding-top: 14px;
  border-top: 1px solid rgba(0,0,0,.18);
}

/* Countdown card */
.openday-v4__cd-card{
  grid-column: 2; grid-row: 1;
  background: rgba(0,0,0,.32);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,.18);
  border-radius: 24px;
  padding: 28px 30px;
}
.openday-v4__cd-tag{
  display: block;
  font-weight: 800; font-size: .76rem; letter-spacing: .26em; text-transform: uppercase;
  color: rgba(255,255,255,.78);
  margin-bottom: 18px;
}
.openday-v4__cd{
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px;
  background: rgba(255,255,255,.18);
  border-radius: 14px;
  overflow: hidden;
}
.openday-v4__cd > div{
  background: rgba(0,0,0,.45);
  padding: 18px 12px;
  display: flex; flex-direction: column; align-items: center;
}
.openday-v4__cd strong{
  font-weight: 800;
  font-size: clamp(2rem, 3.4vw, 2.8rem);
  line-height: 1; letter-spacing: -.03em;
  color: #FCC91A;
  font-variant-numeric: tabular-nums;
}
.openday-v4__cd em{
  font-style: normal;
  font-size: .7rem; letter-spacing: .22em; text-transform: uppercase;
  color: rgba(255,255,255,.7);
  margin-top: 8px;
}

/* List of activities */
.openday-v4__list-card{
  grid-column: 2; grid-row: 2;
  background: rgba(255,255,255,.96);
  color: var(--ink);
  padding: 28px 30px;
  border-radius: 24px;
  box-shadow: 0 20px 40px rgba(0,0,0,.18);
}
.openday-v4__list-title{
  font-weight: 800; font-size: 1.1rem; letter-spacing: -.005em;
  margin: 0 0 16px;
  color: var(--ink);
}
.openday-v4__list{
  list-style: none; padding: 0; margin: 0;
  display: flex; flex-direction: column; gap: 8px;
}
.openday-v4__list li{
  position: relative;
  padding: 12px 0;
  font-weight: 600; font-size: .98rem; color: var(--ink);
  border-bottom: 1px solid var(--rule);
}
.openday-v4__list li::before{content: none}
.openday-v4__list li:last-child{border-bottom: 0}

/* Promo card BIG */
.openday-v4__promo-card{
  grid-column: 1 / -1;
  background: #FF5727;
  color: #fff;
  padding: 36px 44px;
  border-radius: 24px;
  display: grid; grid-template-columns: 1.6fr 1fr;
  gap: 28px;
  align-items: center;
  position: relative;
  overflow: hidden;
  box-shadow: 0 26px 50px rgba(255,87,39,.32);
  transform: rotate(.6deg);
  transition: transform .35s;
}
.openday-v4__promo-card:hover{transform: rotate(0)}
.openday-v4__promo-card::before{
  content: "";
  position: absolute; top: 0; right: 0; bottom: 0;
  width: 60%;
  background: radial-gradient(circle at 80% 20%, rgba(255,255,255,.10), transparent 60%);
  pointer-events: none;
}
.openday-v4__promo-tag{
  display: inline-block;
  font-weight: 800; font-size: .82rem; letter-spacing: .22em; text-transform: uppercase;
  background: rgba(0,0,0,.25);
  padding: 8px 14px;
  border-radius: 999px;
  margin-bottom: 10px;
}
.openday-v4__promo-text{
  margin: 0;
  font-size: clamp(1.05rem, 1.4vw, 1.25rem);
  line-height: 1.45;
  color: #fff;
}
.openday-v4__promo-text em{
  font-style: normal;
  font-weight: 900;
  background: #FCC91A;
  color: var(--ink);
  padding: 2px 8px;
  border-radius: 6px;
}
.openday-v4__cta{
  display: flex; justify-content: flex-end;
}

.btn-v2--yellow{
  background: #FCC91A; color: var(--ink);
  padding: 18px 28px;
  font-weight: 800; font-size: 1rem; letter-spacing: .02em;
}
.btn-v2--yellow:hover{background: #fff; color: var(--ink)}

@media (max-width: 980px){
  .openday-v4__grid{grid-template-columns: 1fr; grid-template-rows: auto}
  .openday-v4__date-card, .openday-v4__cd-card, .openday-v4__list-card, .openday-v4__promo-card{
    grid-column: auto; grid-row: auto;
  }
  .openday-v4__date-card{transform: rotate(0); padding: 36px 28px}
  .openday-v4__promo-card{grid-template-columns: 1fr; padding: 28px; transform: rotate(0)}
  .openday-v4__cta{justify-content: flex-start}
  .openday-v4__seal{width: 64px; height: 64px; top: 18px; right: 18px}
  .openday-v4__seal img{width: 38px}
}

/* ═══════════════════════════════════════════════════
   ISCRIZIONE v2 — voucher in alto a destra GIGANTE
   ═══════════════════════════════════════════════════ */
.iscr-promo--v2 .iscr-promo__head{
  position: relative;
  padding-right: 380px;          /* spazio per il bollino enorme a destra */
  margin-bottom: 30px;
}
.iscr-promo--v2 .voucher-stamp{
  position: absolute;
  top: -20px; right: 0;
  width: 340px;                  /* QUASI 2x rispetto a 180px */
  align-self: unset;
  z-index: 3;
}
.iscr-promo--v2 .iscr-promo__body .voucher-stamp{
  display: none;                 /* nascondo il vecchio in colonna */
}

/* Sposto l'immagine + kit più in alto e li allineo nel grid */
.iscr-promo--v2 .iscr-promo__grid{
  align-items: start;
  margin-top: 20px;
}
.iscr-promo--v2 .iscr-promo__visual{
  margin: 0;
}
.iscr-promo--v2 .iscr-promo__visual img{
  width: 100%;
  max-width: 720px;
  margin-top: 0;
}
.iscr-promo--v2 .iscr-promo__body{
  padding-top: 10px;
}

@media (max-width: 980px){
  .iscr-promo--v2 .iscr-promo__head{padding-right: 0}
  .iscr-promo--v2 .voucher-stamp{
    position: static;
    width: 200px;
    margin: 18px 0 26px;
  }
}

/* ═══════════════════════════════════════════════════
   IL CAMP — Numeri stats COLORATI
   ═══════════════════════════════════════════════════ */
.num-stats > div:nth-child(1) strong{ color: #FF5727 }   /* arancione: 7 */
.num-stats > div:nth-child(2) strong{ color: #1E73BE }   /* blu Pyrgi: 14 */
.num-stats > div:nth-child(3) strong{ color: #7C3FBF }   /* viola: 1:10 */
.num-stats > div:nth-child(4) strong{ color: #0A6E3F }   /* verde scuro: BLSD */

.num-stats > div{
  border-left: 3px solid transparent;
  transition: border-color .3s, background .25s;
  padding-left: 22px;
}
.num-stats > div:nth-child(1){ border-left-color: #FF5727 }
.num-stats > div:nth-child(2){ border-left-color: #1E73BE }
.num-stats > div:nth-child(3){ border-left-color: #7C3FBF }
.num-stats > div:nth-child(4){ border-left-color: #0A6E3F }
.num-stats > div:hover{ background: var(--paper) }

/* ═══════════════════════════════════════════════════
   OLYMPIC v3 — full-width, no multiply
   ═══════════════════════════════════════════════════ */
.olympic-v3{
  margin: 80px -28px 0;          /* esce dal wrap interno per andare full-width della section */
  width: calc(100% + 56px);
  padding: clamp(60px, 9vw, 110px) clamp(60px, 8vw, 120px);
  border-radius: 0;              /* niente angoli arrotondati */
}
@media (min-width: 1100px){
  .olympic-v3{
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
    width: 100vw;
    padding-left: max(40px, calc((100vw - 1200px) / 2));
    padding-right: max(40px, calc((100vw - 1200px) / 2));
  }
}
.olympic-v3__art img{
  mix-blend-mode: normal;        /* immagine già trasparente: niente multiply */
  filter: drop-shadow(0 28px 50px rgba(0,0,0,.25));
}

/* ═══════════════════════════════════════════════════
   OPEN DAY v4 — NO ROUNDED + fix line-break promo
   ═══════════════════════════════════════════════════ */
.openday-v4__date-card,
.openday-v4__cd-card,
.openday-v4__list-card,
.openday-v4__promo-card{
  border-radius: 0 !important;   /* niente angoli arrotondati */
}
.openday-v4__cd{border-radius: 0 !important; overflow: visible}

.openday-v4__promo-text em.nowrap,
.openday-v4__promo-text .nowrap{ white-space: nowrap }
.openday-v4__promo-text em{
  white-space: nowrap;            /* default for highlighted spans */
  padding: 1px 8px;
}
.openday-v4__promo-text{
  /* Ensure room for highlighted phrases */
  font-size: clamp(1.05rem, 1.3vw, 1.2rem);
  line-height: 1.5;
}

/* Anche le card grid: niente rounded sul resto della UI Open Day */
.openday-v4 .btn-v2{border-radius: 0}

/* ═══════════════════════════════════════════════════
   SERVIZI DEL CIRCOLO con immagine (meno editoriale)
   ═══════════════════════════════════════════════════ */
.services-v2--rich{padding: clamp(80px, 10vw, 130px) 0}
.services-v2__grid-wrap{display: block}
.services-v2--rich .services-v2__hero{
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 60px;
  align-items: center;
  margin-bottom: 50px;
}
.services-v2--rich .services-v2__hero .lead-v2{margin-bottom: 0}
.services-v2--rich .services-v2__image{
  margin: 0;
  overflow: hidden;
}
.services-v2--rich .services-v2__image img{
  width: 100%; height: auto;
  display: block;
  aspect-ratio: 16/10;
  object-fit: cover;
}

@media (max-width: 980px){
  .services-v2--rich .services-v2__hero{grid-template-columns: 1fr; gap: 28px}
  .services-v2--rich .services-v2__image{margin-top: 12px}
}

/* Voucher-stamp ALL'ANGOLO della sezione iscrizione (top-right grande) */
.voucher-stamp--corner{
  position: absolute;
  top: 30px; right: 30px;
  width: 340px !important;   /* il doppio del precedente 180px */
  transform: rotate(-8deg);
  z-index: 5;
  filter: drop-shadow(0 18px 40px rgba(0,0,0,.22));
  transition: transform .35s;
  pointer-events: none;
  align-self: unset;
}
.voucher-stamp--corner:hover{transform: rotate(0deg) scale(1.02)}
.voucher-stamp--corner img{
  width: 100%; height: auto; display: block;
  filter: brightness(0) invert(1);
}
@media (max-width: 1100px){
  .voucher-stamp--corner{width: 220px !important; top: 20px; right: 20px}
}
@media (max-width: 700px){
  .voucher-stamp--corner{position: static; width: 160px !important; margin: 14px 0 22px}
}

/* Reset il vecchio padding-right sul head dato che ora il voucher è absolute */
.iscr-promo--v2 .iscr-promo__head{padding-right: 0}
.iscr-promo--v2 .iscr-promo__grid{margin-top: 30px}

/* Olympic full-width — assicuriamoci che la section program-v2 permetta overflow */
.program-v2 .wrap{overflow: visible}
.program-v2{overflow: visible}

/* ═══════════════════════════════════════════════════
   DISCIPLINE — Titolo sicuro bianco su nero
   ═══════════════════════════════════════════════════ */
.disciplines-v3 .hh1{color: #fff}

/* ═══════════════════════════════════════════════════
   SERVIZI v3 — Immagine GRANDE in alto + titolo + grid
   ═══════════════════════════════════════════════════ */
.services-v2--rich{
  padding: 0 0 clamp(70px, 9vw, 120px);
  background: #fff;
}
.services-v2--rich .services-v2__image{
  margin: 0 0 clamp(40px, 5vw, 70px);
  overflow: hidden;
  aspect-ratio: 21 / 9;
  max-height: 560px;
}
.services-v2--rich .services-v2__image img{
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center 35%;
  display: block;
  transition: transform .8s cubic-bezier(.2,.8,.2,1);
}
.services-v2--rich .services-v2__image:hover img{transform: scale(1.03)}

.services-v2--rich .services-v2__head{
  max-width: 880px;
  margin: 0 0 50px;
}
.services-v2--rich .services-v2__head .hh1{margin: 0 0 .35em}
.services-v2--rich .services-v2__head .lead-v2{max-width: 60ch}

/* Override the old grid hero block from the previous design */
.services-v2--rich .services-v2__hero{display: none}

@media (max-width: 980px){
  .services-v2--rich .services-v2__image{aspect-ratio: 4 / 3; max-height: 440px}
}
@media (max-width: 600px){
  .services-v2--rich .services-v2__image{aspect-ratio: 4 / 4}
}

/* ═══════════════════════════════════════════════════
   SERVIZI v4 — immagine intera, centrata, fonde con pagina
   ═══════════════════════════════════════════════════ */
.services-v2--rich .services-v2__image{
  margin: 0 auto clamp(20px, 3vw, 40px);
  max-width: 1200px;
  aspect-ratio: auto !important;
  max-height: none;
  overflow: visible;
  display: flex; align-items: center; justify-content: center;
  padding: 0 24px;
}
.services-v2--rich .services-v2__image img{
  width: auto !important;
  max-width: 100%;
  height: auto !important;
  max-height: 620px;
  object-fit: contain !important;
  object-position: center !important;
  display: block;
  margin: 0 auto;
}
@media (max-width: 980px){
  .services-v2--rich .services-v2__image img{max-height: 460px}
}

/* Servizi: immagine PIÙ GRANDE, niente hover scale (creava overflow) */
.services-v2--rich .services-v2__image img{
  max-height: 760px !important;
  transition: none !important;
}
.services-v2--rich .services-v2__image:hover img{
  transform: none !important;
}
.services-v2--rich .services-v2__image{
  /* spazio sopra per staccare dalla sezione precedente */
  padding-top: clamp(30px, 4vw, 60px);
}
@media (max-width: 980px){
  .services-v2--rich .services-v2__image img{max-height: 520px !important}
}