/* ==========================================================================
   LudoSport Roma — sito. Stile della landing, palette rosso/arancio + bianco
   ========================================================================== */
:root {
  --black: #fff;
  --ink: #1d1d1f;
  --ink-2: #6e6e73;
  --ink-3: #86868b;
  --paper: #f6f5f4;
  --white: #fff;
  --line: rgba(0, 0, 0, .08);
  --on-dark: #1d1d1f;
  --on-dark-2: #6e6e73;
  --on-dark-3: #86868b;

  --ember: #ff4a1c;        /* la lama */
  --flame: #ff8a1e;        /* arancio */
  --crimson: #d81e1e;      /* rosso */
  --red-deep: #b3170f;     /* testo rosso su bianco (contrasto AA) */
  --ember-soft: #fff1ea;   /* fondo chiaro per icone e chip */
  --grad: linear-gradient(90deg, #df1f1a 0%, #ff5a1c 50%, #ff9124 100%);
  --blade-core: linear-gradient(90deg, rgba(255,74,28,0) 0%, #ff4a1c 6%, #ff7a2a 50%, #ff4a1c 94%, rgba(255,74,28,0) 100%);
  --blade-glow: 0 0 3px rgba(255, 90, 30, .9), 0 0 12px rgba(255, 74, 28, .55), 0 0 32px rgba(255, 74, 28, .3);

  --ease: cubic-bezier(.22, 1, .36, 1);
  --ease-in-out: cubic-bezier(.65, 0, .35, 1);
  --r-lg: 28px;
  --r-md: 20px;
  --font: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text", "Inter", "Helvetica Neue", Helvetica, Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; background: var(--black); scroll-padding-top: 64px; }
body {
  margin: 0; font-family: var(--font); font-size: 17px; line-height: 1.47; letter-spacing: -.022em;
  color: var(--ink); background: var(--white);
  -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; overflow-x: hidden;
}
img, iframe, video { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; }
.wrap { width: min(1120px, 100% - 44px); margin-inline: auto; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
:focus-visible { outline: 2px solid var(--ember); outline-offset: 3px; }

/* ---------- Nav ---------- */
.nav {
  position: fixed; inset: 0 0 auto; z-index: 60; height: 56px;
  background: rgba(255, 255, 255, .8);
  backdrop-filter: saturate(180%) blur(20px); -webkit-backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 1px solid var(--line);
  transition: background .5s var(--ease), border-color .5s var(--ease);
}
.nav.is-light { background: rgba(255, 255, 255, .78); border-color: var(--line); }
.nav-inner { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.brand { display: flex; align-items: center; gap: 10px; font-size: 15px; font-weight: 600; color: var(--on-dark); white-space: nowrap; transition: color .5s var(--ease); }
.brand img { width: 28px; height: 28px; border-radius: 50%; }
.nav-links { display: flex; align-items: center; gap: 4px; list-style: none; margin: 0; padding: 0; }
.nav-links a { display: block; font-size: 13px; font-weight: 500; color: var(--on-dark-2); padding: 8px 12px; border-radius: 999px; transition: color .3s var(--ease), background .3s var(--ease); }
.nav-links a:hover { color: var(--ink); }
.nav.is-light .nav-links a { color: var(--ink-2); }
.nav.is-light .nav-links a:hover { color: var(--ink); }
.nav-cta {
  font-size: 13px; font-weight: 600; white-space: nowrap; color: #fff;
  padding: 8px 16px; border-radius: 999px; background: var(--grad);
  transition: transform .4s var(--ease), box-shadow .4s var(--ease);
}
.nav-cta:hover { transform: scale(1.04); box-shadow: 0 0 22px rgba(255, 74, 28, .55); }
.nav.is-light .brand { color: var(--ink); }
.nav-burger { display: none; width: 40px; height: 40px; border: 0; border-radius: 12px; background: transparent; color: var(--on-dark); cursor: pointer; place-items: center; }
.nav.is-light .nav-burger { color: var(--ink); }
.nav-burger svg { width: 22px; height: 22px; }
.nav-right { display: flex; align-items: center; gap: 8px; }

@media (max-width: 860px) {
  .nav-burger { display: grid; }
  .nav-links {
    position: fixed; top: 56px; left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 0;
    padding: 8px 16px 18px; background: rgba(255, 255, 255, .97);
    backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--line); box-shadow: 0 20px 40px -20px rgba(0,0,0,.2);
    transform: translateY(-8px); opacity: 0; pointer-events: none; transition: transform .35s var(--ease), opacity .3s var(--ease);
  }
  .nav.open .nav-links { transform: none; opacity: 1; pointer-events: auto; }
  .nav-links a, .nav.is-light .nav-links a { font-size: 17px; padding: 14px 6px; color: var(--on-dark); border-bottom: 1px solid var(--line); border-radius: 0; }
}

/* ---------- Dark hero ---------- */
.dark { background: var(--black); color: var(--on-dark); position: relative; }
.hero {
  background: radial-gradient(70% 55% at 50% 45%, #fff3ec 0%, #fff 70%);
  min-height: 100svh; display: grid; place-items: center; text-align: center;
  padding: 120px 0 96px; overflow: hidden; isolation: isolate;
}
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: radial-gradient(600px circle at var(--mx, 50%) var(--my, 40%), rgba(255, 90, 28, .08), transparent 60%);
}
.hero-video { position: absolute; inset: 0; z-index: -2; overflow: hidden; }
.hero-video video { width: 100%; height: 100%; object-fit: cover; opacity: 0; filter: blur(1.5px) saturate(.85); transform: scale(1.03); transition: opacity 2.4s var(--ease); }
.hero-video video.ready { opacity: .38; }
.hero-video::after { content: ""; position: absolute; inset: 0; background: radial-gradient(80% 70% at 50% 45%, rgba(255,255,255,.55), rgba(255,255,255,.92)), linear-gradient(180deg, rgba(255,255,255,.5), transparent 30%, transparent 70%, #fff); }
.hero-inner { transform: translateY(calc(var(--p, 0) * -60px)) scale(calc(1 - var(--p, 0) * .08)); opacity: calc(1 - var(--p, 0) * 1.3); will-change: transform, opacity; }

.logo-orb { position: relative; width: 92px; height: 92px; margin: 0 auto 30px; opacity: 0; animation: pop 1.2s var(--ease) .1s forwards; }
.logo-orb img { width: 100%; height: 100%; border-radius: 50%; position: relative; z-index: 1; }
.logo-orb::before {
  content: ""; position: absolute; inset: -5px; border-radius: 50%;
  background: conic-gradient(from 0deg, transparent 0 60%, var(--ember) 78%, #ffd2a8 84%, transparent 92%);
  -webkit-mask: radial-gradient(farthest-side, transparent calc(100% - 2px), #000 calc(100% - 1.5px));
          mask: radial-gradient(farthest-side, transparent calc(100% - 2px), #000 calc(100% - 1.5px));
  filter: drop-shadow(0 0 6px var(--ember)); animation: spin 4s linear infinite;
}
.logo-orb::after { content: ""; position: absolute; inset: -30px; border-radius: 50%; background: radial-gradient(closest-side, rgba(255, 74, 28, .25), transparent); z-index: 0; }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes pop { from { opacity: 0; transform: scale(.7); filter: blur(10px); } to { opacity: 1; transform: none; filter: none; } }

.kicker { font-size: 19px; font-weight: 600; color: var(--red-deep); letter-spacing: -.01em; margin: 0 0 10px; opacity: 0; animation: rise 1s var(--ease) .35s forwards; }
.headline { margin: 0 auto; font-weight: 700; letter-spacing: -.045em; line-height: 1.02; font-size: clamp(42px, 7.6vw, 100px); max-width: 13ch; }
.headline .w { display: inline-block; opacity: 0; filter: blur(14px); transform: translateY(.35em); animation: word 1.1s var(--ease) forwards; animation-delay: calc(.5s + var(--i) * .09s); }
@keyframes word { to { opacity: 1; filter: blur(0); transform: none; } }
@keyframes rise { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
.headline .w.glow-text, .glow-text {
  background: linear-gradient(90deg, var(--crimson) 0%, var(--ember) 30%, var(--flame) 50%, var(--ember) 70%, var(--crimson) 100%);
  background-size: 250% 100%; -webkit-background-clip: text; background-clip: text; color: transparent;
}
.headline .w.glow-text { animation: word 1.1s var(--ease) forwards, sheen 6s linear 2s infinite; animation-delay: calc(.5s + var(--i) * .09s), 2s; }
@keyframes sheen { to { background-position: -250% 0; } }

.blade-wrap { position: relative; width: min(700px, 86vw - 78px); height: 60px; margin: 34px auto 26px; transform: translateX(39px); }
.blade {
  position: absolute; left: -5px; right: 0; top: 50%; height: 3px; margin-top: -1.5px; border-radius: 3px;
  background: linear-gradient(90deg, #ff4a1c 0%, #ff7a2a 50%, #ff4a1c 94%, rgba(255,74,28,0) 100%);
  box-shadow: var(--blade-glow); transform: scaleX(0); transform-origin: left center;
  animation: ignite .9s var(--ease-in-out) 1.25s forwards, hum 2.6s ease-in-out 2.3s infinite;
}
.blade-halo { position: absolute; left: 5%; right: 5%; top: 50%; height: 80px; margin-top: -40px; background: radial-gradient(50% 50% at 50% 50%, rgba(255, 74, 28, .22), transparent 70%); filter: blur(18px); opacity: 0; animation: halo 1.2s var(--ease) 1.6s forwards; }
.hilt { position: absolute; z-index: 1; left: -76px; top: 50%; width: 78px; height: 13px; margin-top: -6.5px; opacity: 0; animation: rise .8s var(--ease) 1s forwards; filter: drop-shadow(0 6px 10px rgba(80, 20, 130, .28)); }
.hilt svg { display: block; width: 100%; height: 100%; overflow: visible; }
/* elsa: brilla al passaggio del mouse */
.hilt::before { content: ""; position: absolute; inset: -12px -6px; }
.hilt svg { transition: filter .4s var(--ease), transform .4s var(--ease); }
.hilt:hover svg { filter: brightness(1.18) saturate(1.15) drop-shadow(0 0 6px rgba(190, 110, 255, .85)); transform: scale(1.04); }
.hilt-sparks circle { opacity: 0; transform-box: fill-box; transform-origin: center; }
.hilt:hover .hilt-sparks circle { animation: spark 1.1s ease-out infinite; }
.hilt:hover .hilt-sparks circle:nth-child(2) { animation-delay: .3s; }
.hilt:hover .hilt-sparks circle:nth-child(3) { animation-delay: .55s; }
@keyframes spark { 0% { opacity: 0; transform: scale(.2); } 15% { opacity: 1; transform: scale(2); } 40%, 100% { opacity: 0; transform: scale(.4); } }
/* lama: vibra in modo costante */
.blade::after {
  content: ""; position: absolute; inset: -1px 0; border-radius: 3px; opacity: 0;
  box-shadow: 0 0 8px 2px rgba(255, 120, 50, .75), 0 0 26px 6px rgba(255, 74, 28, .35);
  animation: vibeGlow 2.4s ease-in-out 2.1s infinite;
}
.blade { animation: ignite .9s var(--ease-in-out) 1.25s forwards, vibe .16s ease-in-out 2.1s infinite alternate; }
@keyframes vibe { from { translate: 0 -.2px; } to { translate: 0 .2px; } }
@keyframes vibeGlow { 0%, 100% { opacity: .5; } 30% { opacity: .7; } 55% { opacity: .58; } 75% { opacity: .75; } }
@keyframes ignite { 0% { transform: scaleX(0); } 80% { transform: scaleX(1.02); } 100% { transform: scaleX(1); } }
@keyframes hum { 0%, 100% { opacity: 1; } 50% { opacity: .82; } 52% { opacity: 1; } 54% { opacity: .9; } }
@keyframes halo { to { opacity: 1; } }

.sub { font-size: clamp(19px, 2.3vw, 24px); line-height: 1.35; color: var(--on-dark-2); max-width: 32ch; margin: 0 auto; font-weight: 500; opacity: 0; animation: rise 1s var(--ease) 1.9s forwards; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; align-items: center; margin-top: 36px; opacity: 0; animation: rise 1s var(--ease) 2.1s forwards; }
.hero-meta { margin-top: 28px; display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 22px; font-size: 13px; color: var(--on-dark-3); opacity: 0; animation: rise 1s var(--ease) 2.3s forwards; }
.hero-meta span::before { content: ""; display: inline-block; width: 6px; height: 6px; border-radius: 50%; background: var(--ember); box-shadow: 0 0 8px var(--ember); margin-right: 8px; vertical-align: middle; }

.scroll-cue { position: absolute; left: 50%; bottom: 26px; width: 24px; height: 38px; margin-left: -12px; border-radius: 12px; border: 1.5px solid rgba(0,0,0,.18); opacity: 0; animation: rise 1s var(--ease) 2.6s forwards; }
.scroll-cue::after { content: ""; position: absolute; left: 50%; top: 8px; width: 3px; height: 7px; margin-left: -1.5px; border-radius: 2px; background: var(--ember); box-shadow: 0 0 8px var(--ember); animation: cue 1.8s var(--ease) infinite; }
@keyframes cue { 0% { transform: translateY(0); opacity: 1; } 70% { transform: translateY(12px); opacity: 0; } 100% { opacity: 0; } }

/* ---------- Buttons ---------- */
.btn {
  --tx: 0px; --ty: 0px;
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font: 600 17px/1 var(--font); letter-spacing: -.01em; padding: 16px 28px; border-radius: 999px; border: 0; cursor: pointer;
  transform: translate(var(--tx), var(--ty)); transition: transform .5s var(--ease), box-shadow .5s var(--ease), background .4s var(--ease), opacity .3s;
  overflow: hidden; isolation: isolate;
}
.btn svg { width: 16px; height: 16px; transition: transform .5s var(--ease); flex: none; }
.btn:hover svg { transform: translateX(3px); }
.btn[disabled] { opacity: .55; cursor: not-allowed; }
.btn-blade { color: #fff; background: var(--grad); box-shadow: 0 10px 30px -8px rgba(255, 74, 28, .65); }
.btn-blade::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(110deg, transparent 30%, rgba(255,255,255,.5) 50%, transparent 70%); transform: translateX(-120%); transition: transform .9s var(--ease); }
.btn-blade:hover { box-shadow: 0 0 0 4px rgba(255, 74, 28, .18), 0 16px 50px -8px rgba(255, 74, 28, .9); }
.btn-blade:hover::before { transform: translateX(120%); }
.btn-ghost { color: var(--red-deep); background: transparent; padding-inline: 12px; }
.btn-ghost:hover { color: var(--ink); }
.btn-dark { color: #fff; background: var(--ink); }
.btn-dark:hover { background: #000; box-shadow: 0 14px 40px -12px rgba(0,0,0,.45); }
.btn-line { color: var(--ink); background: transparent; box-shadow: inset 0 0 0 1.5px #d2d2d7; }
.btn-line:hover { box-shadow: inset 0 0 0 1.5px var(--ink); }
.btn-sm { font-size: 14px; padding: 11px 18px; }

/* ---------- Scroll-filled statement ---------- */
.statement { height: 220vh; }
.statement-sticky { position: sticky; top: 0; height: 100svh; display: grid; place-items: center; }
.statement p { margin: 0; width: min(980px, 100% - 44px); font-weight: 700; letter-spacing: -.035em; line-height: 1.12; font-size: clamp(34px, 5.6vw, 68px); }
.statement .sw { color: #e4e2e0; transition: color .35s var(--ease), text-shadow .35s var(--ease); }
.statement .sw.on { color: var(--on-dark); }
.statement .sw.hl.on { color: var(--ember); text-shadow: 0 0 22px rgba(255, 74, 28, .25); }

/* ---------- Light sections ---------- */
.light { background: var(--white); color: var(--ink); position: relative; }
.light.alt { background: var(--paper); }
.section { padding: 120px 0; }
.section-title { text-align: center; margin: 0 auto 56px; }
.section-title .eyebrow { display: inline-block; font-size: 13px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--red-deep); margin-bottom: 14px; }
.dark .section-title .eyebrow { color: var(--red-deep); }
.section-title h2 { margin: 0 0 12px; font-size: clamp(38px, 5.6vw, 64px); line-height: 1.05; font-weight: 700; letter-spacing: -.04em; }
.section-title p { margin: 0 auto; max-width: 44ch; font-size: clamp(18px, 2vw, 21px); color: var(--ink-2); font-weight: 500; }
.dark .section-title p { color: var(--on-dark-2); }
.ink-grad { background: linear-gradient(90deg, var(--crimson), var(--ember) 45%, var(--flame) 75%); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* Bento "il corso" */
.bento { display: grid; grid-template-columns: repeat(6, 1fr); gap: 20px; }
.tile {
  grid-column: span 2; background: var(--white); border-radius: var(--r-lg); padding: 34px 30px 32px; min-height: 250px;
  display: flex; flex-direction: column; justify-content: space-between; gap: 24px; overflow: hidden; position: relative;
  box-shadow: 0 2px 12px rgba(0,0,0,.05), 0 0 0 1px rgba(0,0,0,.04);
}
.tile.wide { grid-column: span 4; }
.tile .big { font-size: clamp(64px, 8vw, 96px); font-weight: 700; letter-spacing: -.05em; line-height: 1; }
.tile h3 { margin: 0; font-size: 24px; letter-spacing: -.025em; font-weight: 600; }
.tile p { margin: 8px 0 0; color: var(--ink-2); font-size: 16px; }
.tile.dark-tile { color: #fff; background: linear-gradient(135deg, #df1f1a 0%, #ff5a1c 55%, #ff9124 100%); box-shadow: 0 24px 50px -26px rgba(255, 74, 28, .8); }
.tile.dark-tile p { color: rgba(255,255,255,.9); }
.tile .icon { width: 44px; height: 44px; border-radius: 14px; display: grid; place-items: center; background: var(--ember-soft); color: var(--crimson); }
.tile .icon svg { width: 22px; height: 22px; }
.tile .tile-blade { position: absolute; right: -40px; top: 46px; width: 260px; height: 3px; border-radius: 3px; background: #fff; box-shadow: 0 0 6px #fff, 0 0 18px rgba(255,255,255,.8); transform: rotate(-24deg); opacity: .9; }

/* 3D tilt */
.tilt { transform: perspective(1000px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)) translateY(var(--ly, 0)); transition: transform .6s var(--ease), box-shadow .6s var(--ease); will-change: transform; }
.tilt:hover { --ly: -4px; box-shadow: 0 30px 60px -20px rgba(0,0,0,.22); }
.tilt .glare { position: absolute; inset: 0; pointer-events: none; border-radius: inherit; background: radial-gradient(400px circle at var(--gx, 50%) var(--gy, 0%), rgba(255,255,255,.35), transparent 50%); opacity: 0; transition: opacity .4s var(--ease); z-index: 2; }
.tilt:hover .glare { opacity: 1; }

/* ---------- Chi siamo ---------- */
.story { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: start; }
.roma-head { margin: 0 0 26px 4px; }
.roma-head h3 { margin: 8px 0 0; font-size: clamp(24px, 2.6vw, 30px); line-height: 1.12; letter-spacing: -.03em; }
.roma-story .tl-year { min-width: 88px; }
.timeline { list-style: none; margin: 0; padding: 0 0 0 4px; position: relative; display: grid; gap: 26px; }
.timeline::before { content: ""; position: absolute; left: 47px; top: 10px; bottom: 10px; width: 3px; border-radius: 3px; background: var(--blade-core); box-shadow: var(--blade-glow); opacity: .85; }
.timeline li { display: grid; grid-template-columns: 88px 1fr; gap: 18px; align-items: start; position: relative;
  margin: -14px -18px; padding: 14px 18px; border-radius: 22px; transform-origin: 40px 50%; outline: none;
  transition: opacity 1.1s var(--ease), filter 1.1s var(--ease), transform .5s var(--ease), background .4s var(--ease), box-shadow .5s var(--ease); transition-delay: var(--d, 0s); }
.timeline li.in { transition-delay: 0s; }
/* al passaggio del mouse la tappa si ingrandisce e le altre si attenuano */
@media (hover: hover) { .timeline:hover li.in:not(:hover) { opacity: .45; } }
.timeline li.in:hover, .timeline li.in:focus-visible { transform: scale(1.06); background: var(--white); box-shadow: 0 22px 50px -22px rgba(0,0,0,.28), 0 0 0 1px rgba(255,74,28,.18); z-index: 2; }
.timeline li .tl-year { transition: transform .5s var(--ease), background .4s, color .4s, box-shadow .4s; }
.timeline li:hover .tl-year, .timeline li:focus-visible .tl-year { color: #fff; background: var(--grad); transform: scale(1.1); box-shadow: 0 0 0 4px rgba(255,74,28,.15), 0 10px 24px -10px rgba(255,74,28,.9); }
.timeline li p { transition: color .4s; }
.timeline li:hover p, .timeline li:focus-visible p { color: var(--ink); }
.tl-year { justify-self: start; position: relative; z-index: 1; min-width: 88px; text-align: center; font-size: 15px; font-weight: 700; letter-spacing: -.01em; font-variant-numeric: tabular-nums; color: var(--ink); background: var(--white); border-radius: 999px; padding: 7px 0; box-shadow: 0 0 0 1px var(--line), 0 6px 16px -10px rgba(0,0,0,.3); }
.tl-now .tl-year { color: #fff; background: var(--grad); box-shadow: 0 8px 20px -10px rgba(255,74,28,.8); }
.timeline h3 { margin: 4px 0 4px; font-size: 20px; font-weight: 600; letter-spacing: -.02em; }
.timeline p { margin: 0; color: var(--ink-2); font-size: 16px; max-width: 52ch; }
.timeline b { color: var(--ink); font-weight: 600; }
.roma-card { position: sticky; top: 84px; overflow: hidden; border-radius: var(--r-lg); padding: 34px 30px 30px; color: #fff; background: linear-gradient(135deg, #df1f1a 0%, #ff5a1c 55%, #ff9124 100%); box-shadow: 0 24px 50px -26px rgba(255, 74, 28, .8); }
.roma-card .tile-blade { top: 40px; }
.roma-kicker { font-size: 12px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--red-deep); }
.roma-card h3 { margin: 10px 0 12px; font-size: clamp(26px, 3vw, 32px); line-height: 1.1; letter-spacing: -.03em; max-width: 14ch; }
.roma-card p { margin: 0; font-size: 16px; color: rgba(255,255,255,.95); }
.roma-card b { font-weight: 700; }
.roma-steps { list-style: none; margin: 18px 0 18px; padding: 0; display: grid; gap: 14px; }
.roma-steps li { display: grid; grid-template-columns: 58px 1fr; gap: 12px; padding: 14px 10px 4px; margin: 0 -10px; border-top: 1px solid rgba(255,255,255,.28); border-radius: 0 0 14px 14px; font-size: 15px; line-height: 1.45;
  opacity: 0; transform: translateX(28px); transition: opacity .8s var(--ease), transform .8s var(--ease), background .35s; transition-delay: calc(.35s + var(--i, 0) * .18s); }
/* le tappe di Roma entrano una dopo l'altra, la lama attraversa la scheda */
.roma-card.in .roma-steps li { opacity: 1; transform: none; }
.roma-card.in .roma-steps li:hover { background: rgba(255,255,255,.14); transition-delay: 0s; }
.roma-steps li b { transition: transform .35s var(--ease); display: inline-block; transform-origin: left center; }
.roma-steps li:hover b { transform: scale(1.15); }
.roma-card .tile-blade { transform: rotate(-24deg) translateX(120%); opacity: 0; transition: transform 1.2s var(--ease-in-out) .2s, opacity .4s .2s; }
.roma-card.in .tile-blade { transform: rotate(-24deg); opacity: .9; }
.roma-steps b { font-size: 18px; letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.roma-steps span { color: rgba(255,255,255,.95); }
.roma-steps a { color: #fff; text-decoration: underline; text-underline-offset: 2px; }
.roma-card .todo { color: #6b4d00; }
.roma-facts { list-style: none; margin: 22px 0; padding: 18px 0 0; border-top: 1px solid rgba(255,255,255,.3); display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.roma-facts b { display: block; font-size: 30px; line-height: 1; letter-spacing: -.03em; }
.roma-facts span { display: block; margin-top: 6px; font-size: 13px; line-height: 1.35; color: rgba(255,255,255,.88); }
.roma-note { font-size: 14px !important; color: rgba(255,255,255,.85) !important; }
.roma-note a { color: #fff; text-decoration: underline; text-underline-offset: 2px; }
.todo { background: #fff3a8; color: #6b4d00; border-radius: 4px; padding: 0 4px; font-weight: 700; }
@media (max-width: 960px) { .story { grid-template-columns: 1fr; gap: 64px; } }
@media (max-width: 640px) {
  .timeline::before { left: 33px; }
  .timeline li { grid-template-columns: 66px 1fr; gap: 14px; }
  .tl-year { min-width: 66px; font-size: 14px; }
}

/* ---------- Sedi ---------- */
.gym-cards { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.gym-card { background: var(--white); color: var(--ink); border-radius: var(--r-lg); overflow: hidden; display: flex; flex-direction: column; position: relative; box-shadow: 0 2px 12px rgba(0,0,0,.05), 0 0 0 1px rgba(0,0,0,.04); transition: transform .6s var(--ease), box-shadow .6s var(--ease); }
.gym-card:hover { transform: translateY(-6px); box-shadow: 0 30px 60px -28px rgba(0,0,0,.25), 0 0 40px -14px rgba(255, 74, 28, .4); }
.gym-art { position: relative; aspect-ratio: 9 / 5; overflow: hidden; background: #fff8f4; }
.gym-art img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1.1s var(--ease); }
.gym-card:hover .gym-art img { transform: scale(1.05); }
.gym-zone { font-size: 112px; font-weight: 800; letter-spacing: -.06em; line-height: 1; color: transparent; -webkit-text-stroke: 1.2px rgba(255, 90, 30, .4); text-transform: uppercase; white-space: nowrap; user-select: none; }
.gym-art::after { content: ""; position: absolute; left: 10%; right: 10%; bottom: 0; height: 2px; background: var(--blade-core); box-shadow: var(--blade-glow); transform: scaleX(.25); opacity: .5; transition: transform .8s var(--ease-in-out), opacity .6s var(--ease); }
.gym-card:hover .gym-art::after, .gym-card.in .gym-art::after { transform: scaleX(1); opacity: 1; }
.gym-info { padding: 22px 24px 26px; display: grid; gap: 4px; border-top: 1px solid var(--line); flex: 1; align-content: start; }
.gym-tag { font-size: 12px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--red-deep); }
.gym-info strong { font-size: 21px; font-weight: 600; letter-spacing: -.02em; color: var(--ink); line-height: 1.25; }
.gym-city { font-size: 15px; color: var(--on-dark-2); }
.gym-when { margin-top: 10px; font-size: 15px; color: var(--ink); display: flex; align-items: center; gap: 8px; }
.gym-when svg { width: 16px; height: 16px; color: var(--ember); }
.gym-go { margin-top: 16px; justify-self: start; font-size: 14px; font-weight: 600; color: var(--ink); background: var(--paper); padding: 9px 16px; border-radius: 999px; transition: background .4s var(--ease), box-shadow .4s var(--ease); }
.gym-go:hover { color: #fff; background: var(--grad); box-shadow: 0 0 20px rgba(255, 74, 28, .5); }

/* ---------- Prenotazione ---------- */
.book { display: grid; grid-template-columns: 1.05fr 1fr; gap: 28px; align-items: start; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 18px; }
.chip { font: 600 14px var(--font); color: var(--ink-2); background: var(--white); border: 1px solid #e3e3e6; border-radius: 999px; padding: 9px 16px; cursor: pointer; transition: all .3s var(--ease); }
.chip:hover { color: var(--ink); border-color: #c7c7cc; }
.chip[aria-pressed="true"] { color: #fff; background: var(--ink); border-color: var(--ink); }
.slots { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; max-height: 620px; overflow: auto; padding: 4px 8px 4px 4px; margin: -4px -8px -4px -4px; scrollbar-width: thin; }
.slot-month { font-size: 13px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--ink-3); padding: 14px 4px 2px; }
.slot-month:first-child { padding-top: 0; }
.slot { position: relative; }
.slot input { position: absolute; opacity: 0; pointer-events: none; }
.slot label {
  display: grid; grid-template-columns: 64px 1fr auto; align-items: center; gap: 16px;
  background: var(--white); border-radius: 20px; padding: 14px 18px 14px 14px; cursor: pointer;
  box-shadow: 0 0 0 1px #e7e7ea; transition: box-shadow .35s var(--ease), transform .35s var(--ease);
}
.slot label:hover { box-shadow: 0 0 0 1px #c7c7cc, 0 10px 24px -14px rgba(0,0,0,.25); }
.slot input:checked + label { box-shadow: 0 0 0 2px var(--ember), 0 14px 30px -16px rgba(255, 74, 28, .7); }
.slot input:focus-visible + label { outline: 2px solid var(--ember); outline-offset: 3px; }
.slot-day { width: 64px; height: 64px; border-radius: 16px; background: var(--paper); display: grid; place-items: center; align-content: center; line-height: 1; }
.slot-day b { font-size: 26px; font-weight: 700; letter-spacing: -.04em; }
.slot-day small { font-size: 11px; font-weight: 600; text-transform: uppercase; letter-spacing: .06em; color: var(--ink-2); margin-top: 3px; }
.slot input:checked + label .slot-day { background: var(--grad); color: #fff; }
.slot input:checked + label .slot-day small { color: rgba(255,255,255,.85); }
.slot-main strong { display: block; font-size: 17px; font-weight: 600; letter-spacing: -.02em; }
.slot-main span { display: block; font-size: 14px; color: var(--ink-2); }
.slot-main em { display: inline-block; font-style: normal; font-size: 11px; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; color: var(--red-deep); background: var(--ember-soft); border-radius: 6px; padding: 2px 7px; margin-left: 6px; vertical-align: 2px; }
.slot-seats { font-size: 13px; font-weight: 600; color: var(--ink-2); text-align: right; white-space: nowrap; }
.slot-seats.low { color: var(--red-deep); }
.slots-empty { background: var(--white); border-radius: 20px; padding: 28px; text-align: center; color: var(--ink-2); box-shadow: 0 0 0 1px #e7e7ea; }
.slots-empty a { color: var(--red-deep); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
.skeleton { height: 92px; border-radius: 20px; background: linear-gradient(90deg, #f0f0f2, #e8e8eb, #f0f0f2); background-size: 200% 100%; animation: shimmer 1.4s linear infinite; }
@keyframes shimmer { to { background-position: -200% 0; } }

.form-card { background: var(--white); border-radius: 32px; padding: 38px 36px 28px; box-shadow: 0 30px 80px -30px rgba(0,0,0,.25), 0 0 0 1px rgba(0,0,0,.04); position: relative; overflow: hidden; position: sticky; top: 80px; }
.form-card::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 3px; background: linear-gradient(90deg, transparent, #fff 10%, var(--ember) 50%, #fff 90%, transparent); box-shadow: 0 0 18px var(--ember); transform: scaleX(0); transition: transform 1.2s var(--ease-in-out) .3s; }
.form-card.in::before { transform: scaleX(1); }
.form-card h3 { margin: 0 0 6px; font-size: 28px; font-weight: 700; letter-spacing: -.03em; }
.form-card .hint { margin: 0 0 22px; color: var(--ink-2); font-size: 16px; }
.picked { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border-radius: 16px; background: var(--paper); margin-bottom: 18px; font-size: 15px; }
.picked svg { width: 20px; height: 20px; color: var(--crimson); flex: none; }
.picked.none { color: var(--ink-2); }
.picked b { font-weight: 600; }
.fields { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.fields .full { grid-column: 1 / -1; }
.field label { display: block; font-size: 13px; font-weight: 600; margin: 0 0 6px 2px; color: var(--ink); }
.field input, .field textarea, .field select {
  width: 100%; font: 400 16px var(--font); color: var(--ink); background: var(--white);
  border: 1px solid #d2d2d7; border-radius: 12px; padding: 13px 14px; transition: border-color .25s, box-shadow .25s;
}
.field textarea { resize: vertical; min-height: 84px; }
.field input:focus, .field textarea:focus, .field select:focus { outline: none; border-color: var(--ember); box-shadow: 0 0 0 4px rgba(255, 74, 28, .14); }
.field input[aria-invalid="true"] { border-color: var(--crimson); }
.check { display: flex; gap: 12px; align-items: flex-start; font-size: 14px; line-height: 1.45; color: var(--ink-2); cursor: pointer; }
.check input { flex: none; width: 20px; height: 20px; margin: 1px 0 0; accent-color: var(--crimson); cursor: pointer; }
.check b { color: var(--ink); font-weight: 600; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-error { display: none; margin: 14px 0 0; padding: 12px 14px; border-radius: 12px; background: #fff0f0; color: #a3120e; font-size: 14px; }
.form-error.on { display: block; }
.form-actions { margin-top: 18px; }
.form-actions .btn { width: 100%; }
.privacy { margin: 16px 0 0; text-align: center; font-size: 12px; line-height: 1.5; color: var(--ink-3); }
.privacy a { color: inherit; text-decoration: underline; text-underline-offset: 2px; }
.privacy b { color: var(--ink); font-weight: 600; }
.success { display: none; text-align: center; padding: 18px 4px 8px; }
.success.on { display: block; }
.success .ok-orb { width: 76px; height: 76px; margin: 4px auto 18px; border-radius: 50%; display: grid; place-items: center; background: var(--grad); color: #fff; box-shadow: 0 0 0 8px var(--ember-soft), 0 16px 40px -10px rgba(255,74,28,.7); }
.success .ok-orb svg { width: 34px; height: 34px; }
.success h3 { font-size: 28px; }
.success p { color: var(--ink-2); margin: 6px auto 0; max-width: 36ch; }
.success .recap { margin: 20px 0 0; padding: 16px; border-radius: 16px; background: var(--paper); text-align: left; font-size: 15px; display: grid; gap: 4px; }
.success .recap a { color: var(--red-deep); font-weight: 600; }

/* ---------- Blog cards ---------- */
.posts { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 358px)); justify-content: center; gap: 22px; }
.post-card { background: var(--white); border-radius: var(--r-lg); overflow: hidden; display: flex; flex-direction: column; box-shadow: 0 2px 12px rgba(0,0,0,.05), 0 0 0 1px rgba(0,0,0,.04); transition: transform .6s var(--ease), box-shadow .6s var(--ease); }
.post-card:hover { transform: translateY(-6px); box-shadow: 0 30px 60px -24px rgba(0,0,0,.28); }
.post-cover { aspect-ratio: 16 / 10; background: radial-gradient(90% 70% at 50% 120%, rgba(255, 74, 28, .22), transparent 60%), #fff4ee; position: relative; overflow: hidden; }
.post-cover img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); }
.post-card:hover .post-cover img { transform: scale(1.04); }
.post-cover .pblade { position: absolute; left: 14%; right: 14%; top: 56%; height: 3px; border-radius: 3px; background: var(--blade-core); box-shadow: var(--blade-glow); transform: rotate(-14deg); }
.press-cover { position: absolute; inset: 0; display: grid; place-content: center; justify-items: center; gap: 8px; text-align: center; padding: 20px;
  background: repeating-linear-gradient(0deg, transparent 0 22px, rgba(29,29,31,.05) 22px 23px), #fbf8f4; }
.press-cover small { font-size: 11px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--red-deep); }
.press-cover b { font: 700 clamp(26px, 3vw, 34px)/1.05 Georgia, "Times New Roman", serif; letter-spacing: -.01em; color: var(--ink); }
.press-cover b::after { content: ""; display: block; width: 56px; height: 3px; margin: 14px auto 0; border-radius: 3px; background: var(--grad); }
.press-badge { position: absolute; left: 14px; bottom: 14px; display: grid; gap: 2px; padding: 9px 14px 10px; border-radius: 14px; background: rgba(255,255,255,.94); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); box-shadow: 0 10px 24px -12px rgba(0,0,0,.5); }
.press-badge small { font-size: 9.5px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--red-deep); }
.press-badge b { font: 700 19px/1.1 Georgia, "Times New Roman", serif; color: var(--ink); letter-spacing: -.01em; }
.post-card.is-press .post-more svg { width: 13px; height: 13px; }
.post-body { padding: 22px 24px 26px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.post-date { font-size: 13px; font-weight: 600; color: var(--red-deep); }
.post-body h3 { margin: 0; font-size: 21px; font-weight: 600; letter-spacing: -.025em; line-height: 1.25; }
.post-body p { margin: 0; color: var(--ink-2); font-size: 15px; line-height: 1.5; }
.post-more { margin-top: auto; padding-top: 8px; font-size: 14px; font-weight: 600; color: var(--ink); display: inline-flex; align-items: center; gap: 6px; }
.post-more svg { width: 14px; height: 14px; transition: transform .4s var(--ease); }
.post-card:hover .post-more svg { transform: translateX(3px); }
.center-cta { text-align: center; margin-top: 44px; }

/* ---------- Galleria ---------- */
.gallery { columns: 3 280px; column-gap: 16px; }
.g-item { break-inside: avoid; margin: 0 0 16px; border-radius: 22px; overflow: hidden; position: relative; background: var(--paper); cursor: zoom-in; display: block; width: 100%; border: 0; padding: 0; }
.g-item img, .g-item video { width: 100%; height: auto; transition: transform 1s var(--ease), opacity .6s; }
.g-item:hover img, .g-item:hover video { transform: scale(1.03); }
.g-item .g-play { position: absolute; left: 50%; top: 50%; width: 60px; height: 60px; margin: -30px 0 0 -30px; border-radius: 50%; display: grid; place-items: center; background: rgba(255, 74, 28, .85); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border: 1px solid rgba(255,255,255,.3); }
.g-item .g-play svg { width: 22px; height: 22px; fill: #fff; margin-left: 3px; }
.lightbox { position: fixed; inset: 0; z-index: 150; background: rgba(255,255,255,.96); display: none; place-items: center; padding: 60px 16px 24px; }
.lightbox.on { display: grid; }
.lightbox img, .lightbox video { max-width: min(1200px, 100%); max-height: calc(100svh - 110px); border-radius: 16px; box-shadow: 0 30px 80px -30px rgba(0,0,0,.35); }
.lightbox figcaption { color: var(--on-dark-2); text-align: center; font-size: 14px; margin-top: 12px; }
.lb-close, .lb-nav { position: absolute; border: 0; background: var(--paper); color: var(--ink); width: 44px; height: 44px; border-radius: 50%; cursor: pointer; display: grid; place-items: center; }
.lb-close { top: 14px; right: 14px; }
.lb-nav { top: 50%; margin-top: -22px; }
.lb-prev { left: 14px; } .lb-next { right: 14px; }
.lb-close svg, .lb-nav svg { width: 20px; height: 20px; }

/* ---------- CTA finale ---------- */
.cta { background: linear-gradient(180deg, #fff 0%, #fff4ee 100%); text-align: center; padding: 150px 0 140px; overflow: hidden; isolation: isolate; }
.cta::before { content: ""; position: absolute; left: 50%; top: 0; width: 1100px; height: 700px; margin-left: -550px; z-index: -1; background: radial-gradient(50% 50% at 50% 30%, rgba(255, 74, 28, .1), transparent 70%); }
.cross { position: relative; width: 220px; height: 120px; margin: 0 auto 40px; }
.cross i { position: absolute; left: 0; right: 0; top: 50%; height: 3px; border-radius: 3px; background: var(--blade-core); box-shadow: var(--blade-glow); transform-origin: center; transform: rotate(var(--r)) scaleX(0); transition: transform 1s var(--ease-in-out); }
.cross i:nth-child(1) { --r: 28deg; }
.cross i:nth-child(2) { --r: -28deg; transition-delay: .2s; background: linear-gradient(90deg, rgba(255,145,36,0), #ff9124 6%, #ffb04a 50%, #ff9124 94%, rgba(255,145,36,0)); box-shadow: 0 0 3px rgba(255,145,36,.9), 0 0 12px rgba(255,145,36,.55), 0 0 32px rgba(255,145,36,.3); }
.cross.in i { transform: rotate(var(--r)) scaleX(1); }
.cta h2 { margin: 0 auto 18px; max-width: 15ch; font-size: clamp(40px, 6.4vw, 80px); line-height: 1.03; font-weight: 700; letter-spacing: -.045em; }
.cta p { margin: 0 auto 40px; max-width: 44ch; color: var(--on-dark-2); font-size: clamp(18px, 2vw, 21px); }
.socials { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-top: 30px; }
.socials a { font-size: 14px; font-weight: 600; color: var(--ink); background: var(--white); box-shadow: 0 0 0 1px var(--line); border-radius: 999px; padding: 10px 18px; transition: background .3s var(--ease); }
.socials a:hover { box-shadow: 0 0 0 1px #c7c7cc, 0 8px 20px -10px rgba(0,0,0,.2); }
.socials a em { font-style: normal; font-weight: 400; color: var(--on-dark-2); margin-left: 4px; }

/* ---------- Footer ---------- */
.foot { background: var(--paper); color: var(--ink-2); padding: 64px 0 34px; font-size: 14px; border-top: 1px solid var(--line); }
.foot-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 32px; }
.foot h4 { margin: 0 0 12px; color: var(--ink); font-size: 14px; font-weight: 600; }
.foot ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.foot a:hover { color: var(--red-deep); }
.foot .brand { margin-bottom: 14px; color: var(--ink); }
.foot-legal { margin-top: 44px; padding-top: 22px; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px; font-size: 12px; color: var(--ink-3); }
.foot-legal a { text-decoration: underline; text-underline-offset: 2px; }

/* ---------- Pagine articolo / blog ---------- */
.page-head { background: radial-gradient(70% 80% at 50% 0%, #fff3ec, #fff 70%); padding: 150px 0 70px; text-align: center; overflow: hidden; isolation: isolate; }
.page-head::before { content: ""; position: absolute; left: 50%; top: -100px; width: 1000px; height: 600px; margin-left: -500px; z-index: -1; background: radial-gradient(50% 50% at 50% 50%, rgba(255, 74, 28, .1), transparent 70%); }
.page-head h1 { margin: 0 auto; max-width: 18ch; font-size: clamp(38px, 6vw, 72px); line-height: 1.04; font-weight: 700; letter-spacing: -.045em; }
.page-head p { margin: 16px auto 0; max-width: 46ch; color: var(--on-dark-2); font-size: clamp(18px, 2vw, 21px); }
.page-head .post-date { color: var(--red-deep); display: block; margin-bottom: 14px; }
.back { display: inline-flex; align-items: center; gap: 6px; font-size: 14px; font-weight: 600; color: var(--on-dark-2); margin-bottom: 22px; }
.back:hover { color: var(--ink); }
.back svg { width: 14px; height: 14px; }
.article-cover { width: min(1120px, 100% - 44px); margin: -10px auto 0; border-radius: 28px; overflow: hidden; aspect-ratio: 16 / 8; background: var(--paper); position: relative; z-index: 1; box-shadow: 0 40px 80px -40px rgba(0,0,0,.35); }
.article-cover img { width: 100%; height: 100%; object-fit: cover; }
.article-wrap { background: var(--white); margin-top: -120px; padding-top: 180px; }
.article-wrap.no-cover { margin-top: 0; padding-top: 80px; }
.prose { width: min(700px, 100% - 44px); margin: 0 auto; padding-bottom: 100px; font-size: 19px; line-height: 1.65; letter-spacing: -.012em; color: #2b2b2e; }
.prose > * + * { margin-top: 1.1em; }
.prose p { margin: 0; }
.prose h2 { font-size: 32px; line-height: 1.15; letter-spacing: -.03em; margin: 1.8em 0 0; color: var(--ink); }
.prose h3 { font-size: 24px; line-height: 1.2; letter-spacing: -.02em; margin: 1.5em 0 0; color: var(--ink); }
.prose a { color: var(--red-deep); text-decoration: underline; text-underline-offset: 3px; }
.prose ul, .prose ol { padding-left: 1.3em; margin-bottom: 0; }
.prose li + li { margin-top: .35em; }
.prose li::marker { color: var(--ember); }
.prose blockquote { margin-left: 0; margin-right: 0; padding: 4px 0 4px 22px; border-left: 3px solid var(--ember); font-size: 22px; line-height: 1.45; color: var(--ink); font-weight: 500; }
.prose figure { margin: 1.6em 0 0; }
.prose figure img, .prose figure video, .prose figure iframe { width: 100%; border-radius: 20px; background: var(--paper); }
.prose figure.video video, .prose figure.video iframe { aspect-ratio: 16 / 9; border: 0; }
.prose figcaption { font-size: 14px; color: var(--ink-3); text-align: center; margin-top: 10px; }
.article-cta { width: min(700px, 100% - 44px); margin: 0 auto 110px; padding: 34px; border-radius: 28px; color: var(--ink); text-align: center; background: radial-gradient(120% 90% at 100% 0%, rgba(255, 74, 28, .16), transparent 60%), var(--ember-soft); }
.article-cta h3 { margin: 0 0 8px; font-size: 26px; letter-spacing: -.025em; }
.article-cta p { margin: 0 0 22px; color: var(--ink-2); }
.blog-list { padding: 90px 0 120px; }
.pager { display: flex; justify-content: center; gap: 10px; margin-top: 44px; }
.empty-note { text-align: center; color: var(--ink-2); padding: 40px 0; }

/* ---------- Toast ---------- */
.toast { position: fixed; z-index: 100; left: 50%; top: 70px; width: min(420px, calc(100vw - 24px)); display: flex; align-items: center; gap: 12px; padding: 12px 14px; border-radius: 22px; background: rgba(250, 250, 252, .86); color: var(--ink); backdrop-filter: blur(30px) saturate(180%); -webkit-backdrop-filter: blur(30px) saturate(180%); box-shadow: 0 20px 50px -10px rgba(0,0,0,.45), 0 0 0 .5px rgba(0,0,0,.08); transform: translate(-50%, -160%) scale(.9); opacity: 0; transition: transform .8s cubic-bezier(.2, 1.4, .4, 1), opacity .5s var(--ease); }
.toast.show { transform: translate(-50%, 0) scale(1); opacity: 1; }
.toast img { width: 40px; height: 40px; border-radius: 11px; flex: none; }
.toast strong { display: block; font-size: 14px; }
.toast span { display: block; font-size: 14px; line-height: 1.3; color: #3a3a3c; }

/* ---------- Reveal ---------- */
.reveal { opacity: 0; transform: translateY(40px) scale(.98); filter: blur(6px); transition: opacity 1.1s var(--ease), transform 1.1s var(--ease), filter 1.1s var(--ease); transition-delay: var(--d, 0s); }
.reveal.in { opacity: 1; transform: none; filter: none; }

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
  .book { grid-template-columns: 1fr; }
  .form-card { position: relative; top: 0; }
  .slots { max-height: none; overflow: visible; }
  .gym-cards { grid-template-columns: 1fr; }
  .bento { grid-template-columns: 1fr 1fr; }
  .tile, .tile.wide { grid-column: span 1; }
  .tile.wide { grid-column: 1 / -1; }
  .foot-grid { grid-template-columns: 1fr 1fr; }
  .foot-grid > :first-child { grid-column: 1 / -1; }
}
@media (max-width: 640px) {
  .section { padding: 84px 0; }
  .bento, .posts { grid-template-columns: 1fr; gap: 16px; }
  .tile.wide { grid-column: auto; }
  .tile { min-height: 180px; }
  .form-card { padding: 28px 20px 22px; border-radius: 26px; }
  .fields { grid-template-columns: 1fr; }
  .slot label { grid-template-columns: 56px 1fr; gap: 12px; padding: 12px 14px 12px 12px; }
  .slot-day { width: 56px; height: 56px; }
  .slot-seats { grid-column: 2; text-align: left; margin-top: -6px; }
  .blade-wrap { width: calc(86vw - 50px); transform: translateX(25px); }
  .hilt { left: -49px; width: 50px; height: 8px; margin-top: -4px; }
  .hero-actions .btn-blade { width: 100%; }
  .statement { height: 180vh; }
  .gallery { columns: 2 140px; column-gap: 10px; }
  .g-item { margin-bottom: 10px; border-radius: 16px; }
  .foot-grid { grid-template-columns: 1fr; }
  .article-cover { border-radius: 20px; aspect-ratio: 4 / 3; }
  .prose { font-size: 18px; }
  .nav-cta { padding: 8px 12px; }
}
@media (max-width: 400px) {
  .nav .brand { font-size: 0; gap: 0; }
  .nav-cta { font-size: 12px; }
}
@media (prefers-reduced-motion: reduce) {
  .roma-steps li { opacity: 1; transform: none; }
  .timeline li.in:hover, .timeline li.in:focus-visible { transform: none; }
  *, *::before, *::after { animation-duration: .01s !important; animation-delay: 0s !important; transition-duration: .01s !important; }
  .reveal { opacity: 1; transform: none; filter: none; }
}

/* CTA finale: la spada si arma */
.saber-up { position: relative; width: 120px; height: 300px; margin: -40px auto 30px; }
.su-hilt { position: absolute; left: 50%; top: 236px; width: 110px; height: 18px; margin: -9px 0 0 -55px; transform: rotate(-90deg) translateX(-30px); opacity: 0; filter: drop-shadow(0 8px 12px rgba(80, 20, 130, .3)); transition: transform .8s var(--ease), opacity .6s var(--ease); }
.su-hilt svg { display: block; width: 100%; height: 100%; overflow: visible; }
.saber-up.in .su-hilt { opacity: 1; transform: rotate(-90deg); }
.su-blade { position: absolute; left: 50%; top: 0; width: 5px; height: 182px; margin-left: -2.5px; border-radius: 5px;
  background: linear-gradient(0deg, #ff4a1c 0%, #ff8a3a 45%, #fff2e6 50%, #ff8a3a 55%, #ff4a1c 94%, rgba(255,74,28,0) 100%);
  box-shadow: 0 0 6px 1px rgba(255, 120, 50, .9), 0 0 22px 6px rgba(255, 74, 28, .55), 0 0 60px 14px rgba(255, 74, 28, .25);
  transform: scaleY(0); transform-origin: bottom center; }
.saber-up.in .su-blade { animation: igniteUp .55s cubic-bezier(.2,.9,.25,1.2) .75s forwards, hum 2.6s ease-in-out 1.6s infinite; }
@keyframes igniteUp { 0% { transform: scaleY(0); } 75% { transform: scaleY(1.06); } 100% { transform: scaleY(1); } }
.su-flash { position: absolute; left: 50%; top: 182px; width: 320px; height: 320px; margin: -160px 0 0 -160px; border-radius: 50%; pointer-events: none;
  background: radial-gradient(closest-side, rgba(255, 230, 200, .95), rgba(255, 110, 40, .55) 35%, rgba(255, 74, 28, 0) 70%); opacity: 0; transform: scale(.2); }
.saber-up.in .su-flash { animation: suFlash 1.1s var(--ease) .75s forwards; }
@keyframes suFlash { 0% { opacity: 0; transform: scale(.2); } 18% { opacity: 1; transform: scale(1); } 100% { opacity: .18; transform: scale(1.6); } }
.saber-up::after { content: ""; position: absolute; left: 50%; top: 10px; width: 200px; height: 200px; margin-left: -100px; border-radius: 50%; background: radial-gradient(closest-side, rgba(255, 74, 28, .16), transparent); opacity: 0; transition: opacity 1s 1s; z-index: -1; }
.saber-up.in::after { opacity: 1; }
@media (max-width: 640px) { .saber-up { transform: scale(.8); margin-top: -60px; margin-bottom: 0; } }
@media (prefers-reduced-motion: reduce) { .su-hilt { opacity: 1; transform: rotate(-90deg); } .su-blade { transform: none; animation: none !important; } .su-flash { display: none; } }
