/* =====================================================================
   MINImito Club La Spezia - foglio di stile
   ===================================================================== */

/* ---------- Font locali ---------- */
@font-face { font-family: "Barlow Condensed"; font-style: normal; font-weight: 700; font-display: swap; src: url("fonts/barlow-condensed-latin-700-normal.woff2") format("woff2"); }
@font-face { font-family: "Barlow Condensed"; font-style: normal; font-weight: 800; font-display: swap; src: url("fonts/barlow-condensed-latin-800-normal.woff2") format("woff2"); }
@font-face { font-family: "Barlow Condensed"; font-style: italic; font-weight: 800; font-display: swap; src: url("fonts/barlow-condensed-latin-800-italic.woff2") format("woff2"); }
@font-face { font-family: "Barlow Condensed"; font-style: normal; font-weight: 900; font-display: swap; src: url("fonts/barlow-condensed-latin-900-normal.woff2") format("woff2"); }
@font-face { font-family: "Manrope"; font-style: normal; font-weight: 400; font-display: swap; src: url("fonts/manrope-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Manrope"; font-style: normal; font-weight: 500; font-display: swap; src: url("fonts/manrope-latin-500-normal.woff2") format("woff2"); }
@font-face { font-family: "Manrope"; font-style: normal; font-weight: 600; font-display: swap; src: url("fonts/manrope-latin-600-normal.woff2") format("woff2"); }
@font-face { font-family: "Manrope"; font-style: normal; font-weight: 700; font-display: swap; src: url("fonts/manrope-latin-700-normal.woff2") format("woff2"); }
@font-face { font-family: "Manrope"; font-style: normal; font-weight: 800; font-display: swap; src: url("fonts/manrope-latin-800-normal.woff2") format("woff2"); }

/* ---------- Variabili ---------- */
:root {
    --bg: #0b0b0c;
    --bg-2: #101013;
    --card: #16161a;
    --card-2: #1c1c21;
    --line: rgba(255, 255, 255, .08);
    --line-2: rgba(255, 255, 255, .14);
    --text: #f3f3f4;
    --muted: #a3a3ad;
    --red: #e30d1b;
    --red-2: #ff2b38;
    --red-dark: #a8000c;
    --green: #129846;
    --ok: #22c55e;
    --radius: 18px;
    --radius-sm: 12px;
    --shadow: 0 24px 60px -24px rgba(0, 0, 0, .7);
    --display: "Barlow Condensed", "Arial Narrow", Impact, sans-serif;
    --body: "Manrope", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
    --header-h: 76px;
    --ease: cubic-bezier(.2, .8, .2, 1);
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 12px); -webkit-text-size-adjust: 100%; scrollbar-color: #3a3a42 var(--bg); scrollbar-width: thin; }
body { margin: 0; background: var(--bg); color: var(--text); font: 400 16px/1.65 var(--body); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
button { font: inherit; color: inherit; }
code { font-family: ui-monospace, "SF Mono", Consolas, "Liberation Mono", monospace; }
[hidden] { display: none !important; }
::selection { background: var(--red); color: #fff; }

/* Barre di scorrimento a tema (niente grafica standard) */
::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: #34343b; border-radius: 10px; border: 2px solid var(--bg); }
::-webkit-scrollbar-thumb:hover { background: var(--red); }
::-webkit-scrollbar-corner { background: var(--bg); }

.wrap { width: min(1200px, 100% - 40px); margin-inline: auto; }
.skip { position: absolute; left: -999px; top: 8px; z-index: 100; background: var(--red); color: #fff; padding: 10px 16px; border-radius: 8px; }
.skip:focus { left: 8px; }
:focus-visible { outline: 2px solid var(--red-2); outline-offset: 3px; border-radius: 6px; }

.ico { width: 1.15em; height: 1.15em; flex: none; }
.muted { color: var(--muted); font-weight: 500; }

/* ---------- Tipografia ---------- */
.eyebrow { margin: 0 0 10px; font: 700 13px/1 var(--body); letter-spacing: .22em; text-transform: uppercase; color: var(--red-2); display: inline-flex; align-items: center; gap: 10px; }
.eyebrow::before { content: ""; width: 26px; height: 2px; background: currentColor; }
.h2 { margin: 0; font: 800 italic clamp(38px, 5.6vw, 68px)/.95 var(--display); letter-spacing: -.01em; text-transform: uppercase; }
.h3 { margin: 0 0 16px; font: 800 26px/1.1 var(--display); text-transform: uppercase; letter-spacing: .01em; display: flex; align-items: center; gap: 10px; }
.h3 .ico { color: var(--red-2); }
.prose p { margin: 0 0 1em; color: #d4d4da; }
.prose p:last-child { margin-bottom: 0; }
.prose strong { color: #fff; }
.prose--sm p { font-size: 15px; }

/* ---------- Pulsanti ---------- */
.btn { --b: transparent; display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 46px; padding: 0 22px; border-radius: 999px; border: 1.5px solid var(--b); background: transparent; font: 700 15px/1 var(--body); text-decoration: none; cursor: pointer; transition: transform .2s var(--ease), background .2s, border-color .2s, box-shadow .2s, color .2s; white-space: nowrap; }
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn--red { background: var(--red); --b: var(--red); color: #fff; box-shadow: 0 10px 30px -10px rgba(227, 13, 27, .7); }
.btn--red:hover { background: var(--red-2); --b: var(--red-2); box-shadow: 0 14px 36px -10px rgba(255, 43, 56, .8); }
.btn--ghost { --b: var(--line-2); background: rgba(255, 255, 255, .03); }
.btn--ghost:hover { --b: #fff; background: rgba(255, 255, 255, .08); }
.btn--paypal { background: #ffc439; --b: #ffc439; color: #111; margin-top: 18px; }
.btn--paypal:hover { background: #ffd366; --b: #ffd366; }
.btn--lg { min-height: 54px; padding: 0 28px; font-size: 16px; }
.btn--block { width: 100%; }
.btn[disabled] { opacity: .6; pointer-events: none; }
.link { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; color: var(--red-2); text-decoration: none; }
.link:hover { text-decoration: underline; text-underline-offset: 4px; }

.chip { display: inline-flex; align-items: center; padding: 4px 10px; border-radius: 999px; font: 700 11px/1.3 var(--body); letter-spacing: .08em; text-transform: uppercase; background: rgba(227, 13, 27, .14); color: #ff6b74; border: 1px solid rgba(227, 13, 27, .3); white-space: nowrap; }
.chip--clubamici { background: rgba(59, 130, 246, .12); color: #8db7ff; border-color: rgba(59, 130, 246, .3); }
.chip--miniufficiale { background: rgba(255, 255, 255, .07); color: #e7e7ea; border-color: var(--line-2); }
.chip--social { background: rgba(18, 152, 70, .14); color: #5fd391; border-color: rgba(18, 152, 70, .35); }

.tricolore { display: inline-flex; gap: 3px; transform: skewX(-20deg); }
.tricolore i { width: 14px; height: 4px; background: var(--green); }
.tricolore i:nth-child(2) { background: #fff; }
.tricolore i:nth-child(3) { background: var(--red); }

/* ---------- Avviso in testa ---------- */
.banner { position: relative; z-index: 60; background: linear-gradient(90deg, var(--red-dark), var(--red)); color: #fff; font-size: 14px; font-weight: 600; }
.banner__in { display: flex; align-items: center; gap: 14px; min-height: 44px; padding: 6px 0; }
.banner__in p { margin: 0; flex: 1; }
.banner__dot { width: 8px; height: 8px; border-radius: 50%; background: #fff; box-shadow: 0 0 0 0 rgba(255, 255, 255, .7); animation: pulse 2s infinite; flex: none; }
.banner__cta { display: inline-flex; align-items: center; gap: 6px; color: #fff; font-weight: 800; text-decoration: none; padding: 6px 12px; border-radius: 999px; background: rgba(0, 0, 0, .22); white-space: nowrap; }
.banner__cta:hover { background: rgba(0, 0, 0, .38); }
.banner__x { border: 0; background: transparent; padding: 6px; cursor: pointer; display: grid; place-items: center; border-radius: 8px; opacity: .85; }
.banner__x:hover { opacity: 1; background: rgba(0, 0, 0, .2); }
@keyframes pulse { 70% { box-shadow: 0 0 0 10px rgba(255, 255, 255, 0); } 100% { box-shadow: 0 0 0 0 rgba(255, 255, 255, 0); } }

/* ---------- Testata ---------- */
.top { position: sticky; top: 0; z-index: 50; height: var(--header-h); transition: background .3s, border-color .3s, backdrop-filter .3s; border-bottom: 1px solid transparent; }
.top.is-solid { background: rgba(11, 11, 12, .82); -webkit-backdrop-filter: blur(14px) saturate(140%); backdrop-filter: blur(14px) saturate(140%); border-bottom-color: var(--line); }
.top__in { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.brand img { width: 74px; height: auto; filter: drop-shadow(0 4px 10px rgba(0, 0, 0, .5)); }
.brand__txt { display: flex; flex-direction: column; line-height: 1; }
.brand__txt b { font: 800 italic 25px/1 var(--display); letter-spacing: .01em; }
.brand__txt b i { color: var(--red-2); }
.brand__txt small { font: 700 10.5px/1 var(--body); letter-spacing: .28em; text-transform: uppercase; color: var(--muted); margin-top: 4px; }
.nav { display: flex; align-items: center; gap: 4px; }
.nav a:not(.btn) { position: relative; padding: 10px 14px; font-weight: 600; font-size: 15px; text-decoration: none; color: #d6d6dc; border-radius: 999px; transition: color .2s, background .2s; }
.nav a:not(.btn):hover { color: #fff; background: rgba(255, 255, 255, .06); }
.nav a.is-active { color: #fff; }
.nav a.is-active::after { content: ""; position: absolute; left: 14px; right: 14px; bottom: 4px; height: 2px; background: var(--red); border-radius: 2px; }
.nav__cta { margin-left: 10px; min-height: 42px; }
.burger { display: none; width: 46px; height: 46px; border: 1px solid var(--line-2); border-radius: 12px; background: rgba(255, 255, 255, .04); cursor: pointer; padding: 0; position: relative; }
.burger span { position: absolute; left: 13px; right: 13px; height: 2px; background: #fff; border-radius: 2px; transition: transform .3s var(--ease), opacity .2s; }
.burger span:nth-child(1) { top: 15px; }
.burger span:nth-child(2) { top: 22px; }
.burger span:nth-child(3) { top: 29px; }
.burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.progress { position: absolute; left: 0; right: 0; bottom: -1px; height: 3px; pointer-events: none; }
.progress i { display: block; height: 100%; transform-origin: 0 50%; transform: scaleX(0); background: linear-gradient(90deg, var(--green) 0 33.3%, #fff 33.3% 66.6%, var(--red) 66.6%); background-size: 100vw 100%; }

/* ---------- Hero ---------- */
.hero { position: relative; min-height: calc(100svh - var(--header-h)); display: flex; align-items: center; margin-top: calc(var(--header-h) * -1); padding: calc(var(--header-h) + 40px) 0 90px; overflow: hidden; isolation: isolate; }
.hero__bg { position: absolute; inset: 0; z-index: -1; container-type: size; overflow: hidden; }
/* Portovenere all'orizzonte: la linea dell'acqua (76% dell'immagine) coincide con l'orizzonte della strada (77%) */
.hero__sky { position: absolute; left: 38cqw; width: 78cqw; max-width: none; height: auto; top: calc(77cqh - 11cqw); pointer-events: none; opacity: 0; filter: blur(1.8px) brightness(.68); animation: sky-in 2s .4s ease forwards; }
@keyframes sky-in { to { opacity: .82; } }
.hero__moon { position: absolute; left: 83cqw; top: calc(77cqh - 38cqw); width: 11cqw; aspect-ratio: 1; border-radius: 50%; background: radial-gradient(circle at 34% 30%, rgba(255, 255, 255, .35), transparent 28%), radial-gradient(circle at 62% 58%, rgba(170, 90, 100, .35) 0 9%, transparent 10%), radial-gradient(circle at 40% 66%, rgba(170, 90, 100, .28) 0 6%, transparent 7%), radial-gradient(circle at 70% 32%, rgba(170, 90, 100, .25) 0 5%, transparent 6%), radial-gradient(circle at 50% 50%, #ffd0c8 0%, #f2a2a6 55%, #d9757f 100%); box-shadow: 0 0 60px 10px rgba(255, 140, 150, .35), 0 0 160px 40px rgba(255, 90, 110, .18); opacity: 0; animation: moonRise 4s .6s cubic-bezier(.2, .7, .2, 1) forwards; }
@keyframes moonRise { from { opacity: 0; transform: translateY(8cqw); } to { opacity: .95; transform: none; } }
.hero__glow { position: absolute; width: 900px; height: 900px; right: -200px; top: 50%; transform: translateY(-50%); background: radial-gradient(circle, rgba(227, 13, 27, .38), rgba(227, 13, 27, 0) 62%); filter: blur(10px); }
.hero__road { position: absolute; inset: 0; width: 100%; height: 100%; display: block; opacity: 0; animation: fade-in 1.6s .2s ease forwards; }
.hero__shade { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(11, 11, 12, .94) 0%, rgba(11, 11, 12, .72) 34%, rgba(11, 11, 12, 0) 62%), linear-gradient(0deg, var(--bg) 0%, rgba(11, 11, 12, 0) 22%); pointer-events: none; }
@keyframes fade-in { to { opacity: 1; } }
.hero__road3d { position: absolute; inset: 0; width: 100%; height: 100%; display: block; opacity: 0; transition: opacity 1.6s ease; }
.has-3d .hero__road3d { opacity: 1; }
.hero__in { display: grid; grid-template-columns: 1.05fr .95fr; gap: 40px; align-items: center; opacity: calc(1 - var(--hp, 0) * 1.25); }
.kicker { display: inline-flex; align-items: center; gap: 12px; margin: 0 0 22px; padding: 8px 16px 8px 12px; border: 1px solid var(--line-2); border-radius: 999px; background: rgba(255, 255, 255, .03); font: 700 12.5px/1 var(--body); letter-spacing: .14em; text-transform: uppercase; color: #e1e1e6; }
.hero__title { position: relative; margin: 0; font: 800 italic clamp(50px, 6.4vw, 96px)/.9 var(--display); text-transform: uppercase; letter-spacing: -.015em; text-wrap: balance; animation: rise .9s var(--ease) both; }
.hero__title strong { display: inline-block; padding-right: .1em; margin-right: -.1em; color: var(--red-2); background: linear-gradient(100deg, var(--red-2) 0 38%, #ffd0d3 50%, var(--red-2) 62% 100%); background-size: 260% 100%; background-position: 100% 0; -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; animation: miniShine 5s 2.4s ease-in-out infinite; }
@keyframes miniShine { 0% { background-position: 100% 0; } 40%, 100% { background-position: 0 0; } }
.hero__title.is-reset .w > span { animation: none; transform: translateY(105%) skewY(6deg); }
.kicker__txt { display: inline-block; clip-path: inset(0 100% 0 0); animation: typeIn 1.3s .35s steps(40) forwards; }
@keyframes typeIn { to { clip-path: inset(0 -2% 0 0); } }
.hero__text { translate: 0 calc(var(--hp, 0) * -110px); }
.hero__title.is-split { animation: none; }
.hero__title .w { display: inline-block; overflow: hidden; vertical-align: top; padding: 0 .06em .08em 0; margin-right: -.06em; }
.hero__title .w > span { display: inline-block; transform: translateY(105%) skewY(6deg); animation: wordUp 1s var(--ease) forwards; }
@keyframes wordUp { to { transform: none; } }
.hero__lead { margin: 24px 0 0; max-width: 560px; font-size: clamp(16px, 1.6vw, 19px); color: #c9c9d1; animation: rise .9s .1s var(--ease) both; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; animation: rise .9s .2s var(--ease) both; }
.stats { display: flex; flex-wrap: wrap; gap: 14px 40px; margin: 48px 0 0; padding-top: 28px; border-top: 1px solid var(--line); animation: rise .9s .3s var(--ease) both; }
.stats__item { min-width: 0; }
.stats dt { font: 800 italic 34px/1 var(--display); color: #fff; }
.stats dd { margin: 6px 0 0; font-size: 13px; color: var(--muted); font-weight: 600; }
.hero__logo { position: relative; perspective: 1100px; animation: logoIn 1.4s .25s var(--ease) both; translate: 0 calc(var(--hp, 0) * 90px); scale: calc(1 + var(--hp, 0) * .12); }
.hero__badge { position: relative; max-width: 620px; margin-inline: auto; transform-style: preserve-3d; transform: rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)); transition: transform .5s var(--ease); animation: float 6s 1.6s ease-in-out infinite; }
.hero__badge img { width: 100%; filter: drop-shadow(0 30px 60px rgba(0, 0, 0, .75)) drop-shadow(0 0 70px rgba(227, 13, 27, .28)); }
.hero__shine { position: absolute; inset: 0; pointer-events: none; background: linear-gradient(105deg, transparent 38%, rgba(255, 255, 255, .55) 48%, rgba(255, 255, 255, .1) 54%, transparent 62%); background-size: 260% 100%; background-position: 130% 0; -webkit-mask: url("img/logo.webp") center / contain no-repeat; mask: url("img/logo.webp") center / contain no-repeat; mix-blend-mode: overlay; animation: shine 5.5s 1.8s ease-in-out infinite; }
.hero__reflex { position: absolute; left: 12%; right: 12%; bottom: -9%; height: 60px; background: radial-gradient(ellipse at center, rgba(255, 43, 56, .45), transparent 70%); filter: blur(14px); animation: reflex 6s 1.6s ease-in-out infinite; }
@keyframes float { 50% { translate: 0 -12px; } }
@keyframes reflex { 50% { transform: scaleX(.86); opacity: .7; } }
@keyframes shine { 0% { background-position: 130% 0; } 45%, 100% { background-position: -30% 0; } }
@keyframes rise { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: none; } }
@keyframes logoIn { 0% { opacity: 0; transform: translateY(60px) scale(.7) rotate(-8deg); filter: blur(12px) brightness(3); } 60% { opacity: 1; filter: blur(0) brightness(1.4); } 100% { opacity: 1; transform: none; filter: none; } }
.hero__scroll { position: absolute; left: 50%; bottom: 22px; transform: translateX(-50%); width: 44px; height: 44px; display: grid; place-items: center; border-radius: 50%; border: 1px solid var(--line-2); color: var(--muted); animation: bob 2.4s infinite; }
.hero__scroll:hover { color: #fff; border-color: #fff; }
@keyframes bob { 50% { transform: translate(-50%, 6px); } }

/* ---------- Nastri scorrevoli ---------- */
.tapes { position: relative; height: 170px; margin: -40px 0 -30px; overflow: hidden; z-index: 2; pointer-events: none; }
.tape { position: absolute; left: -5%; right: -5%; top: 50%; overflow: hidden; white-space: nowrap; }
.tape--red { background: var(--red); transform: translateY(-60%) rotate(-3.2deg); box-shadow: 0 20px 50px -18px rgba(227, 13, 27, .65); z-index: 2; }
.tape--line { background: #f3f3f4; transform: translateY(-30%) rotate(2.4deg); }
.tape__track { display: inline-flex; animation: tape 38s linear infinite; }
.tape--line .tape__track { animation-direction: reverse; animation-duration: 46s; }
.tape__set { display: inline-flex; align-items: center; }
.tape b { padding: 14px 26px; font: 800 italic 30px/1 var(--display); text-transform: uppercase; letter-spacing: .02em; color: #fff; }
.tape--line b { color: #0b0b0c; }
.tape i { width: 14px; height: 14px; transform: rotate(45deg); background: #0b0b0c; flex: none; }
.tape--line i { background: var(--red); }
@keyframes tape { to { transform: translateX(-50%); } }

/* ---------- Effetto luce sulle schede ---------- */
.spot { position: relative; }
.spot::after { content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; opacity: 0; transition: opacity .35s; background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 50%), rgba(255, 43, 56, .13), transparent 45%); }
.spot:hover::after { opacity: 1; }

/* ---------- Sezioni ---------- */
.sec { position: relative; padding: clamp(80px, 11vw, 140px) 0; }
.sec--alt { background: var(--bg-2); border-block: 1px solid var(--line); }
.sec__head { margin-bottom: 52px; }
.sec__head--row { display: flex; align-items: flex-end; justify-content: space-between; gap: 30px 60px; flex-wrap: wrap; }
.sec__intro { max-width: 460px; margin: 0; color: var(--muted); }

/* ---------- Club ---------- */
.club { display: grid; grid-template-columns: 1.1fr .9fr; gap: 70px; align-items: center; }
.club__text .h2 { margin-bottom: 26px; }
.club__text .prose p { font-size: 17px; }
.club__photos { position: relative; aspect-ratio: 1 / .92; }
.club__ph { position: absolute; margin: 0; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); border: 1px solid var(--line-2); }
.club__ph img { width: 100%; height: 100%; object-fit: cover; }
.club__ph--1 { width: 72%; aspect-ratio: 3 / 2; left: 0; top: 0; transform: translateY(calc(var(--py, 0) * -40px)) rotate(-2.5deg); }
.club__ph--2 { width: 58%; aspect-ratio: 3 / 2; right: 0; top: 34%; transform: translateY(calc(var(--py, 0) * 30px)) rotate(2.5deg); z-index: 2; }
.club__ph--3 { width: 52%; aspect-ratio: 3 / 2; left: 8%; bottom: 0; transform: translateY(calc(var(--py, 0) * -15px)) rotate(-1deg); }
.values { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin-top: 90px; }
.value { padding: 28px 24px; border-radius: var(--radius); background: var(--card); border: 1px solid var(--line); transition: transform .3s var(--ease), border-color .3s; }
.value:hover { transform: translateY(-4px); border-color: rgba(227, 13, 27, .5); }
.value__ico { width: 50px; height: 50px; display: grid; place-items: center; border-radius: 14px; background: rgba(227, 13, 27, .12); color: var(--red-2); margin-bottom: 18px; }
.value__ico .ico { width: 26px; height: 26px; }
.value h3 { margin: 0 0 8px; font: 800 23px/1.1 var(--display); text-transform: uppercase; }
.value p { margin: 0; color: var(--muted); font-size: 15px; }
.story { margin-top: 90px; }
.timeline { list-style: none; margin: 20px 0 0; padding: 0; display: grid; grid-template-columns: repeat(6, 1fr); gap: 0; position: relative; }
.timeline::before { content: ""; position: absolute; left: 0; right: 0; top: 29px; height: 2px; background: linear-gradient(90deg, var(--green), #fff 50%, var(--red)); opacity: .5; }
.timeline__item { position: relative; padding: 0 18px 0 0; }
.timeline__year { display: inline-block; position: relative; font: 800 italic 34px/1 var(--display); color: #fff; background: var(--bg); padding-right: 12px; margin-bottom: 16px; }
.timeline__item h4 { margin: 0 0 6px; font-weight: 800; font-size: 16px; }
.timeline__item p { margin: 0; color: var(--muted); font-size: 14px; line-height: 1.55; }

/* ---------- Eventi ---------- */
.next { display: grid; gap: 18px; margin-bottom: 70px; }
.event { display: grid; grid-template-columns: 130px 1fr; gap: 28px; padding: 28px; border-radius: var(--radius); background: var(--card); border: 1px solid var(--line); }
.event--main { background: linear-gradient(135deg, rgba(227, 13, 27, .18), rgba(227, 13, 27, 0) 55%), var(--card); border-color: rgba(227, 13, 27, .4); }
.event__date { display: flex; flex-direction: column; align-items: center; justify-content: center; border-radius: 14px; background: var(--red); color: #fff; padding: 16px 8px; text-align: center; align-self: start; }
.event__d { font: 900 58px/.9 var(--display); }
.event__m { font: 700 12px/1.2 var(--body); text-transform: uppercase; letter-spacing: .12em; margin-top: 6px; }
.event__body h3 { margin: 10px 0 10px; font: 800 italic clamp(28px, 3.2vw, 40px)/1 var(--display); text-transform: uppercase; }
.event__meta { display: flex; flex-wrap: wrap; gap: 8px 20px; margin: 0 0 14px; color: #d0d0d6; font-weight: 600; font-size: 15px; }
.event__meta span { display: inline-flex; align-items: center; gap: 7px; }
.event__meta .ico { color: var(--red-2); }
.event__body .btn { margin-top: 18px; }
.countdown { display: flex; gap: 10px; margin-top: 18px; }
.countdown div { min-width: 74px; padding: 10px 6px; border-radius: 12px; background: rgba(0, 0, 0, .35); border: 1px solid var(--line); text-align: center; }
.countdown b { display: block; font: 800 30px/1 var(--display); font-variant-numeric: tabular-nums; }
.countdown span { font-size: 11px; text-transform: uppercase; letter-spacing: .12em; color: var(--muted); font-weight: 700; }
.empty { display: flex; align-items: center; gap: 22px; flex-wrap: wrap; padding: 28px; margin-bottom: 70px; border-radius: var(--radius); border: 1px dashed var(--line-2); background: rgba(255, 255, 255, .02); }
.empty > div { flex: 1; min-width: 240px; }
.empty h3 { margin: 0 0 4px; font-size: 19px; }
.empty p { margin: 0; color: var(--muted); }
.empty__ico { width: 56px; height: 56px; display: grid; place-items: center; border-radius: 16px; background: rgba(227, 13, 27, .12); color: var(--red-2); }
.empty__ico .ico { width: 28px; height: 28px; }
.archive__head { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-bottom: 18px; }
.archive__head .h3 { margin: 0; }
.archive__head .muted { font: 600 15px/1 var(--body); text-transform: none; letter-spacing: 0; }
.filters { display: flex; flex-wrap: wrap; gap: 8px; }
.filter { padding: 8px 14px; border-radius: 999px; border: 1px solid var(--line-2); background: transparent; font-size: 13px; font-weight: 700; cursor: pointer; color: #cfcfd6; transition: all .2s; }
.filter:hover { border-color: #fff; color: #fff; }
.filter.is-on { background: #fff; border-color: #fff; color: #0b0b0c; }
.archive__list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); position: relative; }
.archive__list.is-collapsed { max-height: 560px; overflow: hidden; }
.archive__list.is-collapsed::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 140px; background: linear-gradient(transparent, var(--bg-2)); pointer-events: none; }
.archive__list.is-short::after { display: none; }
.archive__year { padding: 26px 0 8px; font: 800 italic 28px/1 var(--display); color: var(--red-2); }
.archive__row { display: grid; grid-template-columns: 190px 1fr 230px 130px; gap: 18px; align-items: center; padding: 15px 4px; border-bottom: 1px solid var(--line); transition: background .2s; }
.archive__row:hover { background: rgba(255, 255, 255, .025); }
.archive__date { color: var(--muted); font-weight: 600; font-size: 14px; }
.archive__title { font-weight: 700; }
.archive__title small { display: block; font-weight: 500; color: var(--muted); font-size: 13.5px; margin-top: 2px; }
.archive__place { display: inline-flex; align-items: center; gap: 6px; color: #cfcfd6; font-size: 14px; }
.archive__place .ico { color: var(--muted); }
.archive__row .chip { justify-self: end; }
.archive__more { margin: 24px auto 0; display: flex; }
.archive__more .ico { transition: transform .3s; }
.archive__more[aria-expanded="true"] .ico { transform: rotate(180deg); }
.archive.is-filtered .archive__list { max-height: none; }
.archive.is-filtered .archive__list::after, .archive.is-filtered .archive__more { display: none; }

/* ---------- Iscrizione ---------- */
.prices { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.price { position: relative; display: flex; flex-direction: column; padding: 34px 28px 28px; border-radius: 22px; background: var(--card); border: 1px solid var(--line); transition: transform .3s var(--ease), border-color .3s; }
.price:hover { transform: translateY(-4px); border-color: var(--line-2); }
.price--hot { background: linear-gradient(180deg, rgba(227, 13, 27, .22), rgba(227, 13, 27, .02) 60%), var(--card); border-color: rgba(227, 13, 27, .55); }
.price--hot::before { content: ""; position: absolute; top: 0; left: 28px; right: 28px; height: 4px; border-radius: 0 0 4px 4px; background: linear-gradient(90deg, var(--green) 33.3%, #fff 33.3% 66.6%, var(--red) 66.6%); }
.price__badge { position: absolute; top: 18px; right: 18px; padding: 5px 10px; border-radius: 999px; background: var(--red); font: 800 11px/1 var(--body); text-transform: uppercase; letter-spacing: .1em; }
.price h3 { margin: 0; font: 800 26px/1 var(--display); text-transform: uppercase; letter-spacing: .03em; color: #e4e4e9; }
.price__val { margin: 18px 0 0; display: flex; align-items: flex-start; }
.price__val b { font: 900 92px/.85 var(--display); letter-spacing: -.02em; }
.price__val span { font: 800 26px/1 var(--display); margin-top: 6px; margin-left: 4px; color: var(--muted); }
.price__per { margin: 10px 0 0; font-weight: 700; color: var(--red-2); font-size: 14px; text-transform: uppercase; letter-spacing: .08em; }
.price__desc { margin: 14px 0 26px; color: var(--muted); font-size: 15px; flex: 1; }
.join { display: grid; grid-template-columns: 1fr 1.2fr; gap: 20px; margin-top: 20px; }
.perks, .pay { padding: 32px; border-radius: 22px; background: var(--card); border: 1px solid var(--line); }
.ticks { list-style: none; margin: 0 0 24px; padding: 0; display: grid; gap: 12px; }
.ticks li { display: flex; gap: 12px; align-items: flex-start; color: #dcdce2; }
.ticks .ico { color: #fff; background: var(--green); border-radius: 50%; padding: 4px; width: 24px; height: 24px; margin-top: 1px; stroke-width: 3; }
.pay__list { margin: 0; display: grid; gap: 2px; }
.pay__row { display: grid; grid-template-columns: 120px 1fr; gap: 16px; align-items: center; padding: 12px 0; border-bottom: 1px solid var(--line); }
.pay__row:last-child { border-bottom: 0; }
.pay__row dt { color: var(--muted); font-size: 13px; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; }
.pay__row dd { margin: 0; display: flex; align-items: center; gap: 10px; flex-wrap: wrap; font-weight: 600; min-width: 0; }
.pay__row code { font-size: 15.5px; letter-spacing: .04em; color: #fff; word-break: break-all; }
.pay__row--iban code { font-size: 17px; font-weight: 700; }
.pay__ask, .pay__mail { display: flex; gap: 12px; align-items: flex-start; margin: 0; color: #d4d4da; }
.pay__ask .ico, .pay__mail .ico { color: var(--red-2); margin-top: 3px; }
.pay__ask a, .pay__mail a { color: #fff; font-weight: 700; }
.pay__mail { margin-top: 20px; font-size: 14px; color: var(--muted); }
.pay__note { margin-top: 18px; padding: 14px 16px; border-radius: 12px; background: rgba(255, 255, 255, .03); border: 1px solid var(--line); }
.copy { display: inline-flex; align-items: center; gap: 6px; padding: 6px 11px; border-radius: 999px; border: 1px solid var(--line-2); background: rgba(255, 255, 255, .04); font-size: 12.5px; font-weight: 700; cursor: pointer; color: #e4e4e9; transition: all .2s; }
.copy:hover { border-color: #fff; color: #fff; }
.copy.is-done { background: var(--ok); border-color: var(--ok); color: #05210f; }
.copy .ico { width: 15px; height: 15px; }
.steps { list-style: none; margin: 20px 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; counter-reset: s; }
.step { display: flex; gap: 18px; padding: 26px; border-radius: 22px; border: 1px solid var(--line); background: linear-gradient(180deg, rgba(255, 255, 255, .025), transparent); }
.step__n { flex: none; width: 46px; height: 46px; display: grid; place-items: center; border-radius: 50%; border: 2px solid var(--red); color: #fff; font: 900 24px/1 var(--display); }
.step h4 { margin: 0 0 4px; font-size: 17px; font-weight: 800; }
.step p { margin: 0; color: var(--muted); font-size: 14.5px; }

/* Modulo */
.form-card { margin-top: 20px; padding: clamp(24px, 4vw, 44px); border-radius: 26px; background: var(--card); border: 1px solid var(--line-2); box-shadow: var(--shadow); position: relative; overflow: hidden; }
.form-card::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 4px; background: linear-gradient(90deg, var(--green) 33.3%, #fff 33.3% 66.6%, var(--red) 66.6%); }
.form-card__head { margin-bottom: 26px; }
.form-card__head .h3 { font-size: clamp(28px, 3vw, 36px); margin-bottom: 6px; }
.form-card__head p { margin: 0; color: var(--muted); }
.form__alert { margin: 0 0 18px; padding: 12px 16px; border-radius: 12px; background: rgba(227, 13, 27, .14); border: 1px solid rgba(227, 13, 27, .45); color: #ffb3b8; font-weight: 600; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form__tipo { border: 0; margin: 0 0 22px; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 12px; }
.form__tipo legend { padding: 0; margin-bottom: 10px; font-weight: 700; font-size: 14px; color: #d4d4da; }
.radio { position: relative; cursor: pointer; }
.radio input { position: absolute; opacity: 0; pointer-events: none; }
.radio span { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 14px 16px; border-radius: 14px; border: 1.5px solid var(--line-2); background: var(--bg-2); transition: all .2s; }
.radio span::before { content: ""; width: 18px; height: 18px; border-radius: 50%; border: 2px solid #55555f; flex: none; transition: all .2s; }
.radio b { flex: 1; }
.radio small { color: var(--muted); font-weight: 700; }
.radio input:checked + span { border-color: var(--red); background: rgba(227, 13, 27, .1); }
.radio input:checked + span::before { border-color: var(--red); background: radial-gradient(circle, var(--red) 45%, transparent 50%); }
.radio input:focus-visible + span { outline: 2px solid var(--red-2); outline-offset: 2px; }
.form__grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px 18px; }
.form__car { display: grid; grid-template-columns: 1fr 110px; gap: 12px; }
.field { display: flex; flex-direction: column; gap: 7px; min-width: 0; }
.field--full { grid-column: 1 / -1; }
.field span { font-size: 13.5px; font-weight: 700; color: #d4d4da; }
.field input, .field textarea { width: 100%; padding: 13px 15px; border-radius: 12px; border: 1.5px solid var(--line-2); background: var(--bg-2); color: #fff; font: 500 16px/1.4 var(--body); transition: border-color .2s, box-shadow .2s; }
.field textarea { resize: vertical; min-height: 96px; scrollbar-width: thin; scrollbar-color: #3a3a42 transparent; }
.field input::placeholder, .field textarea::placeholder { color: #66666f; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--red); box-shadow: 0 0 0 4px rgba(227, 13, 27, .18); }
.field.has-error input, .field.has-error textarea { border-color: var(--red-2); }
.field__err { color: #ff8a92; font-size: 13px; font-weight: 600; }
.check { display: flex; gap: 12px; align-items: flex-start; margin: 22px 0 0; font-size: 14.5px; color: #cfcfd6; cursor: pointer; }
.check input { appearance: none; -webkit-appearance: none; flex: none; width: 22px; height: 22px; margin: 1px 0 0; border-radius: 6px; border: 2px solid #55555f; background: var(--bg-2); cursor: pointer; display: grid; place-items: center; transition: all .2s; }
.check input:checked { background: var(--red); border-color: var(--red); }
.check input:checked::after { content: ""; width: 6px; height: 11px; border: solid #fff; border-width: 0 2.5px 2.5px 0; transform: translateY(-1px) rotate(45deg); }
.check.has-error input { border-color: var(--red-2); }
.check a { color: #fff; font-weight: 700; }
.form__actions { display: flex; align-items: center; gap: 20px; flex-wrap: wrap; margin-top: 26px; }
.form__actions .muted { margin: 0; font-size: 13px; }
.form-ok { text-align: center; padding: 20px 0 8px; animation: rise .6s var(--ease) both; }
.form-ok__ico { width: 72px; height: 72px; margin: 0 auto 16px; display: grid; place-items: center; border-radius: 50%; background: var(--ok); color: #05210f; }
.form-ok__ico .ico { width: 36px; height: 36px; stroke-width: 3; }
.form-ok h4 { margin: 0 0 8px; font: 800 italic 36px/1 var(--display); text-transform: uppercase; }
.form-ok p { margin: 0 auto 6px; max-width: 520px; color: var(--muted); }
.form-ok__causale { display: inline-flex !important; align-items: center; gap: 10px; flex-wrap: wrap; justify-content: center; margin-top: 14px !important; padding: 12px 16px; border-radius: 14px; background: var(--bg-2); border: 1px solid var(--line-2); }
.form-ok__causale code { color: #fff; font-size: 16px; font-weight: 700; }

/* ---------- Galleria ---------- */
.gallery { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.gallery__item a { position: relative; display: block; aspect-ratio: 3 / 2; border-radius: 14px; overflow: hidden; background: var(--card); }
.gallery__item:nth-child(7n+1) { grid-column: span 2; grid-row: span 2; }
.gallery__item:nth-child(7n+1) a { aspect-ratio: auto; height: 100%; }
.gallery__item img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease), filter .4s; }
.gallery__cap { position: absolute; inset: auto 0 0 0; padding: 30px 14px 12px; background: linear-gradient(transparent, rgba(0, 0, 0, .85)); display: flex; flex-direction: column; transform: translateY(8px); opacity: 0; transition: all .35s var(--ease); }
.gallery__cap b { font-size: 14.5px; }
.gallery__cap small { font-size: 12px; color: #c9c9d1; }
.gallery__item a:hover img, .gallery__item a:focus-visible img { transform: scale(1.06); }
.gallery__item a:hover .gallery__cap, .gallery__item a:focus-visible .gallery__cap { opacity: 1; transform: none; }
.gallery__item.is-out { display: none; }

/* Lightbox */
.lb { position: fixed; inset: 0; z-index: 200; display: flex; align-items: center; justify-content: center; background: rgba(5, 5, 6, .94); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); animation: fade .25s both; }
.lb__fig { margin: 0; max-width: min(1100px, 92vw); display: flex; flex-direction: column; align-items: center; }
.lb__img { max-height: 78vh; width: auto; border-radius: 12px; box-shadow: 0 30px 80px rgba(0, 0, 0, .6); touch-action: pan-y; }
.lb__cap { margin-top: 14px; display: flex; flex-wrap: wrap; justify-content: center; gap: 4px 14px; text-align: center; }
.lb__cap small { color: var(--muted); }
.lb__count { color: var(--red-2); font-weight: 700; font-size: 13px; }
.lb__btn { position: absolute; width: 52px; height: 52px; display: grid; place-items: center; border-radius: 50%; border: 1px solid var(--line-2); background: rgba(255, 255, 255, .06); cursor: pointer; transition: all .2s; }
.lb__btn:hover { background: var(--red); border-color: var(--red); }
.lb__btn .ico { width: 24px; height: 24px; }
.lb__close { top: 20px; right: 20px; }
.lb__prev { left: 20px; top: 50%; transform: translateY(-50%); }
.lb__next { right: 20px; top: 50%; transform: translateY(-50%); }
@keyframes fade { from { opacity: 0; } }

/* ---------- Partner ---------- */
.partners { display: grid; grid-template-columns: repeat(auto-fill, minmax(340px, 1fr)); gap: 18px; }
.partner { display: flex; gap: 20px; padding: 24px; border-radius: var(--radius); background: var(--card); border: 1px solid var(--line); transition: border-color .3s, transform .3s var(--ease); }
.partner:hover { border-color: var(--line-2); transform: translateY(-3px); }
.partner__logo { flex: none; width: 76px; height: 76px; border-radius: 16px; background: #fff; display: grid; place-items: center; overflow: hidden; }
.partner__logo img { max-width: 84%; max-height: 84%; object-fit: contain; }
.partner__mono { width: 100%; height: 100%; display: grid; place-items: center; background: linear-gradient(135deg, var(--red), var(--red-dark)); color: #fff; font: 900 italic 30px/1 var(--display); }
.partner__cat { margin: 0 0 2px; font-size: 12px; font-weight: 800; text-transform: uppercase; letter-spacing: .1em; color: var(--red-2); }
.partner h3 { margin: 0 0 6px; font-size: 18px; font-weight: 800; line-height: 1.25; }
.partner__body > p:not(.partner__cat):not(.partner__perk) { margin: 0 0 10px; color: var(--muted); font-size: 14.5px; }
.partner__perk { display: flex; align-items: center; gap: 8px; margin: 0 0 10px; padding: 8px 12px; border-radius: 10px; background: rgba(18, 152, 70, .12); color: #7fe0a8; font-weight: 700; font-size: 13.5px; }

/* ---------- Contatti ---------- */
.contacts { display: grid; grid-template-columns: 1.5fr 1fr; gap: 28px; align-items: start; }
.board__grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; align-items: start; }
.person { display: flex; gap: 16px; padding: 20px; border-radius: var(--radius); background: var(--card); border: 1px solid var(--line); }
.person__av { flex: none; width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center; background: linear-gradient(135deg, #2a2a31, #18181c); border: 2px solid var(--red); font: 800 italic 26px/1 var(--display); }
.person__body { min-width: 0; }
.person h4 { margin: 0; font-size: 18px; font-weight: 800; }
.person__role { margin: 0; color: var(--red-2); font-weight: 700; font-size: 13px; text-transform: uppercase; letter-spacing: .08em; }
.person__ref { margin: 6px 0 0; color: var(--muted); font-size: 14px; }
.person__links { margin: 10px 0 0; display: flex; flex-direction: column; gap: 6px; }
.person__links a { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 600; text-decoration: none; color: #dcdce2; min-width: 0; }
.person__links a span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.person__links a:hover { color: #fff; }
.person__links .ico { color: var(--red-2); }
.side { display: grid; gap: 14px; }
.side__box { padding: 26px; border-radius: var(--radius); background: var(--card); border: 1px solid var(--line); }
.mails { list-style: none; margin: 0; padding: 0; }
.mails li { display: flex; flex-direction: column; padding: 10px 0; border-bottom: 1px solid var(--line); }
.mails li:last-child { border-bottom: 0; padding-bottom: 0; }
.mails span { font-size: 12.5px; color: var(--muted); font-weight: 700; text-transform: uppercase; letter-spacing: .06em; }
.mails a { font-weight: 700; text-decoration: none; word-break: break-all; }
.mails a:hover { color: var(--red-2); }
.side__addr { display: flex; gap: 10px; margin: 0 0 12px; font-weight: 600; }
.side__addr .ico { color: var(--red-2); margin-top: 4px; }
.socials { display: flex; gap: 10px; margin-top: 18px; }
.social { width: 44px; height: 44px; display: grid; place-items: center; border-radius: 12px; border: 1px solid var(--line-2); background: rgba(255, 255, 255, .03); transition: all .2s; }
.social:hover { background: var(--red); border-color: var(--red); }
.social .ico { width: 21px; height: 21px; }

/* ---------- Piede ---------- */
.foot { position: relative; background: #060607; padding-bottom: 30px; }
.foot__stripe { display: flex; height: 5px; }
.foot__stripe i { flex: 1; background: var(--green); }
.foot__stripe i:nth-child(2) { background: #fff; }
.foot__stripe i:nth-child(3) { background: var(--red); }
.foot__in { display: grid; grid-template-columns: auto 1fr auto; gap: 30px; align-items: center; padding: 50px 0 30px; }
.foot__brand { display: flex; align-items: center; gap: 18px; }
.foot__brand img { width: 110px; }
.foot__brand p { margin: 0; color: var(--muted); font-size: 14px; line-height: 1.5; }
.foot__nav { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px 22px; }
.foot__nav a { text-decoration: none; font-weight: 600; font-size: 14.5px; color: #cfcfd6; }
.foot__nav a:hover { color: #fff; }
.foot__social { display: flex; gap: 10px; }
.foot__legal { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px 40px; flex-wrap: wrap; padding-top: 24px; border-top: 1px solid var(--line); color: #8a8a93; font-size: 13px; }
.foot__legal p { margin: 0; }
.foot__copy { display: grid; gap: 6px; max-width: 720px; }
.foot__tm { color: #6f6f78; font-size: 12px; line-height: 1.5; }
.foot__links { display: flex; flex-wrap: wrap; gap: 6px 20px; }
.foot__links a { color: #b9b9c2; font-weight: 600; text-decoration: none; }
.foot__links a:hover { color: #fff; text-decoration: underline; text-underline-offset: 4px; }
.foot__credit { margin-top: 14px; color: #5f5f68; font-size: 12px; }

/* ---------- Pulsante sempre presente: privacy, cookie, note legali ---------- */
.legalfab { position: fixed; left: 16px; bottom: 16px; z-index: 45; }
.legalfab__btn { width: 44px; height: 44px; display: grid; place-items: center; border-radius: 50%; border: 1px solid var(--line-2); background: rgba(22, 22, 26, .88); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); color: #cfcfd6; cursor: pointer; box-shadow: 0 10px 30px -10px #000; transition: background .2s, border-color .2s, color .2s; }
.legalfab__btn .ico { width: 20px; height: 20px; }
.legalfab:hover .legalfab__btn, .legalfab.is-open .legalfab__btn, .legalfab__btn:focus-visible { background: var(--red); border-color: var(--red); color: #fff; }
.legalfab__menu { position: absolute; left: 0; bottom: 100%; padding-bottom: 10px; display: grid; gap: 2px; min-width: 220px; opacity: 0; visibility: hidden; transform: translateY(8px); transition: opacity .2s, transform .25s var(--ease), visibility .2s; }
.legalfab__menu::before { content: ""; position: absolute; inset: 0 0 10px 0; z-index: -1; border-radius: 16px; background: rgba(22, 22, 26, .96); border: 1px solid var(--line-2); box-shadow: 0 20px 50px -15px #000; }
.legalfab__menu a { display: flex; align-items: center; gap: 10px; margin: 0 6px; padding: 11px 12px; border-radius: 10px; font-weight: 600; font-size: 14.5px; text-decoration: none; color: #e4e4e9; }
.legalfab__menu a:first-child { margin-top: 6px; }
.legalfab__menu a:last-child { margin-bottom: 6px; }
.legalfab__menu a:hover, .legalfab__menu a:focus-visible { background: rgba(227, 13, 27, .16); color: #fff; }
.legalfab__menu .ico { color: var(--red-2); }
.legalfab:hover .legalfab__menu, .legalfab:focus-within .legalfab__menu, .legalfab.is-open .legalfab__menu { opacity: 1; visibility: visible; transform: none; }

/* ---------- Finestre legali ---------- */
html.is-locked { overflow: hidden; }
.legal { width: min(760px, calc(100% - 32px)); max-height: min(84vh, 900px); padding: 0; border: 1px solid var(--line-2); border-radius: 22px; background: var(--card); color: var(--text); box-shadow: 0 40px 100px -20px #000; overflow: hidden; }
.legal[open] { display: flex; flex-direction: column; animation: legalIn .35s var(--ease); }
.legal::backdrop { background: rgba(5, 5, 6, .78); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.legal__head { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 20px 24px; border-bottom: 1px solid var(--line); position: relative; }
.legal__head::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 4px; background: linear-gradient(90deg, var(--green) 33.3%, #fff 33.3% 66.6%, var(--red) 66.6%); }
.legal__head h2 { margin: 0; font: 800 italic 30px/1 var(--display); text-transform: uppercase; }
.legal__x { width: 42px; height: 42px; display: grid; place-items: center; border-radius: 12px; border: 1px solid var(--line-2); background: rgba(255, 255, 255, .04); cursor: pointer; flex: none; }
.legal__x:hover { background: var(--red); border-color: var(--red); }
.legal__body { padding: 22px 24px 28px; overflow-y: auto; scrollbar-width: thin; scrollbar-color: #3a3a42 transparent; }
.legal__body p { margin-bottom: 1.1em; }
.legal__body strong { display: inline-block; margin-bottom: 2px; color: #fff; font-size: 15.5px; }
@keyframes legalIn { from { opacity: 0; transform: translateY(20px) scale(.98); } }

/* ---------- Toast ---------- */
.toast { position: fixed; left: 50%; bottom: 24px; z-index: 300; transform: translate(-50%, 30px); opacity: 0; pointer-events: none; padding: 12px 20px; border-radius: 999px; background: #fff; color: #0b0b0c; font-weight: 700; font-size: 14px; box-shadow: var(--shadow); transition: all .35s var(--ease); }
.toast.is-on { transform: translate(-50%, 0); opacity: 1; }

/* ---------- Comparsa allo scorrimento ---------- */
.js .reveal { opacity: 0; transform: translateY(28px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.js .reveal.is-in { opacity: 1; transform: none; }
.js .reveal .h2 { clip-path: inset(-20% 100% -20% 0); transition: clip-path 1.1s .15s var(--ease); }
.js .reveal.is-in .h2 { clip-path: inset(-20% -10% -20% 0); }
.js .reveal .eyebrow::before { transform: scaleX(0); transform-origin: 0 50%; transition: transform .8s .1s var(--ease); }
.js .reveal.is-in .eyebrow::before { transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
    .nav a:not(.btn) { padding: 10px 10px; font-size: 14.5px; }
    .values { grid-template-columns: repeat(2, 1fr); }
    .timeline { grid-template-columns: repeat(3, 1fr); row-gap: 34px; }
    .timeline::before { display: none; }
    .archive__row { grid-template-columns: 170px 1fr 200px; }
    .archive__row .chip { display: none; }
    .gallery { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 960px) {
    :root { --header-h: 68px; }
    .burger { display: block; }
    .nav { position: fixed; inset: var(--header-h) 0 auto 0; flex-direction: column; align-items: stretch; gap: 2px; padding: 14px 20px 22px; background: rgba(11, 11, 12, .97); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); border-bottom: 1px solid var(--line); transform: translateY(-12px); opacity: 0; visibility: hidden; transition: all .3s var(--ease); max-height: calc(100svh - var(--header-h)); overflow-y: auto; }
    .nav.is-open { transform: none; opacity: 1; visibility: visible; }
    .nav a:not(.btn) { padding: 14px 12px; font-size: 18px; border-bottom: 1px solid var(--line); border-radius: 0; }
    .nav a.is-active::after { display: none; }
    .nav a.is-active { color: var(--red-2); }
    .nav__cta { margin: 14px 0 0; min-height: 52px; }
    .top { background: rgba(11, 11, 12, .82); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); border-bottom-color: var(--line); }
    .brand img { width: 62px; }
    .hero { min-height: auto; padding-top: calc(var(--header-h) + 24px); }
    .hero__in { grid-template-columns: 1fr; gap: 10px; }
    .hero__logo { order: -1; max-width: 460px; width: 88%; margin: 0 auto; }
    .hero__text { text-align: center; }
    .hero__lead { margin-inline: auto; }
    .hero__cta, .stats { justify-content: center; }
    .hero__shade { background: linear-gradient(180deg, rgba(11, 11, 12, .1) 0%, rgba(11, 11, 12, .25) 34%, rgba(11, 11, 12, .9) 43%, rgba(11, 11, 12, .95) 80%, var(--bg) 100%); }
    .hero__sky { left: -4cqw; width: 108cqw; top: calc(28cqh - 14.1cqw); }
    .hero__moon { left: 6cqw; top: calc(28cqh - 42cqw); width: 20cqw; }
    .hero__glow { right: 50%; top: 22%; transform: translate(50%, -50%); width: 600px; height: 600px; }
    .tapes { height: 130px; }
    .tape b { font-size: 24px; padding: 11px 20px; }
    .hero__scroll { display: none; }
    .club { grid-template-columns: 1fr; gap: 50px; }
    .club__photos { max-width: 560px; width: 100%; margin: 0 auto; }
    .prices { grid-template-columns: 1fr; max-width: 520px; margin-inline: auto; }
    .join, .steps, .contacts { grid-template-columns: 1fr; }
    .foot__in { grid-template-columns: 1fr; justify-items: center; text-align: center; }
    .foot__brand { flex-direction: column; }
}

@media (max-width: 680px) {
    .wrap { width: min(1200px, 100% - 32px); }
    .brand__txt small { letter-spacing: .2em; }
    .kicker { font-size: 10px; letter-spacing: .08em; padding: 7px 12px 7px 10px; gap: 8px; }
    .kicker .tricolore i { width: 9px; }
    .hero__cta .btn { flex: 1 1 100%; }
    .stats { gap: 18px 26px; }
    .stats dt { font-size: 28px; }
    .values { grid-template-columns: 1fr; margin-top: 60px; }
    .story { margin-top: 64px; }
    .timeline { grid-template-columns: 1fr; row-gap: 0; padding-left: 22px; border-left: 2px solid rgba(227, 13, 27, .5); }
    .timeline__item { padding: 0 0 26px; }
    .timeline__item::before { content: ""; position: absolute; left: -30px; top: 8px; width: 14px; height: 14px; border-radius: 50%; background: var(--red); box-shadow: 0 0 0 4px var(--bg); }
    .timeline__year { margin-bottom: 8px; font-size: 30px; }
    .event { grid-template-columns: 1fr; gap: 18px; padding: 22px; }
    .event__date { flex-direction: row; gap: 12px; justify-content: flex-start; padding: 12px 16px; align-self: stretch; }
    .event__d { font-size: 40px; }
    .event__m { margin: 0; }
    .countdown div { min-width: 0; flex: 1; }
    .archive__row { grid-template-columns: 1fr; gap: 4px; padding: 14px 2px; }
    .archive__list.is-collapsed { max-height: 720px; }
    .pay__row { grid-template-columns: 1fr; gap: 6px; }
    .perks, .pay { padding: 24px; }
    .form__grid { grid-template-columns: 1fr; }
    .form__actions .btn { width: 100%; }
    .gallery { grid-template-columns: repeat(2, 1fr); gap: 10px; }
    #galleria .filters, .archive .filters { flex-wrap: nowrap; overflow-x: auto; margin-inline: -16px; padding: 2px 16px 6px; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
    #galleria .filters::-webkit-scrollbar, .archive .filters::-webkit-scrollbar { display: none; }
    .filter { white-space: nowrap; flex: none; }
    .gallery__cap { display: none; }
    .partners { grid-template-columns: 1fr; }
    .partner { padding: 20px; gap: 16px; }
    .partner__logo { width: 60px; height: 60px; }
    .board__grid { grid-template-columns: 1fr; }
    .lb__prev, .lb__next { top: auto; bottom: 20px; transform: none; }
    .lb__prev { left: calc(50% - 64px); }
    .lb__next { right: calc(50% - 64px); }
    .lb__img { max-height: 66vh; }
    .banner__in { font-size: 13px; }
    .tapes { height: 110px; margin: -30px 0 -20px; }
    .tape b { font-size: 20px; padding: 9px 16px; }
    .tape i { width: 10px; height: 10px; }
    .foot__legal { flex-direction: column; align-items: center; text-align: center; }
    .foot__links { justify-content: center; }
}

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
    .js .reveal { opacity: 1; transform: none; }
    .js .reveal .h2 { clip-path: none; }
    .hero__title .w > span { transform: none; }
}
