/* =====================================================================
   MAGICHE ARMONIE DEL NATALE 2026 — Design system "Biglietto digitale"
   Mobile-first · scuro caldo, crema, rosso · schede a biglietto
   ===================================================================== */

@font-face { font-family: "Bricolage Grotesque"; src: url("../fonts/bricolage-grotesque-latin-standard-normal.woff2") format("woff2"); font-weight: 200 800; font-stretch: 75% 100%; font-display: swap; }
@font-face { font-family: "Instrument Serif"; src: url("../fonts/instrument-serif-latin-400-normal.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Instrument Serif"; src: url("../fonts/instrument-serif-latin-400-italic.woff2") format("woff2"); font-weight: 400; font-style: italic; font-display: swap; }

:root {
    --bg: #07080c;
    --bg-mesh: radial-gradient(circle at 50% -10%, rgba(201, 168, 76, 0.1) 0%, rgba(200, 16, 46, 0.08) 30%, transparent 70%);
    --surface: #10121a;
    --surface-glass: rgba(16, 18, 26, 0.75);
    --surface-2: #181b26;
    --surface-hover: #1f2333;
    --line: rgba(255, 255, 255, 0.08);
    --line-gold: rgba(255, 217, 138, 0.2);
    --red: #c8102e;
    --red-hover: #a80d26;
    --red-glow: rgba(200, 16, 46, 0.4);
    --cream: #fff5eb;
    --cream-2: #f0e2d5;
    --cream-line: rgba(255, 245, 235, 0.2);
    --gold: #f6d88c;
    --gold-light: #fff0c7;
    --gold-bg: rgba(246, 216, 140, 0.08);
    --text: #f8fafc;
    --text-pure: #ffffff;
    --muted: #94a3b8;
    --muted-2: #64748b;
    --ink: #07080c;
    --ink-muted: #52525b;
    --green: #10b981;
    --green-hover: #059669;
    --ok: #10b981;

    --font: "Bricolage Grotesque", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
    --serif: "Instrument Serif", Georgia, "Times New Roman", serif;

    --r-sm: 12px;
    --r: 20px;
    --r-lg: 26px;
    --r-xl: 32px;
    --r-pill: 9999px;
    --gap: 12px;
    --pad: 16px;
    --topbar-h: 68px;
    --tabbar-h: 92px;
    --container: 1180px;
    --ease: cubic-bezier(.16, 1, .3, 1);
    --shadow: 0 24px 48px -12px rgba(0, 0, 0, .8);
    --shadow-glow: 0 0 30px rgba(200, 16, 46, 0.25);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--topbar-h) + 16px); }
body {
    position: relative;
    margin: 0; min-height: 100vh; background: var(--bg); background-image: var(--bg-mesh); background-attachment: fixed; color: var(--text);
    font-family: var(--font); font-size: 16px; line-height: 1.6; font-optical-sizing: auto;
    -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
    padding-bottom: calc(var(--tabbar-h) + env(safe-area-inset-bottom));
}
body.no-tabbar { padding-bottom: 0; }
img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: var(--gold); text-underline-offset: 3px; transition: color .15s var(--ease); }
a:hover { color: var(--gold-light); }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
h1, h2, h3, h4 { margin: 0; line-height: 1.05; font-weight: 800; letter-spacing: -.025em; }
p { margin: 0 0 1em; }
ul, ol { margin: 0; padding: 0; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; border-radius: 6px; }
.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.skip-link { position: absolute; left: 12px; top: -80px; z-index: 300; padding: 10px 18px; border-radius: var(--r-sm); background: var(--gold); color: var(--ink); font-weight: 800; text-decoration: none; box-shadow: var(--shadow); }
.skip-link:focus { top: 12px; }
.icon { width: 1.25em; height: 1.25em; flex: none; }

.wrap { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--pad); }
.stack { display: flex; flex-direction: column; gap: var(--gap); }
.muted { color: var(--muted); }
.small { font-size: .88rem; }
.serif { font-family: var(--serif); font-weight: 400; letter-spacing: 0; }
.serif-i { font-family: var(--serif); font-style: italic; font-weight: 400; letter-spacing: 0; }
.gold { color: var(--gold); }

/* ---------- Titoli di sezione ---------- */
.section { margin-top: 56px; }
.section-head { padding-inline: 4px; margin-bottom: 18px; }
.section-title { font-family: var(--serif); font-weight: 400; font-size: clamp(2.3rem, 1.8rem + 2.5vw, 3.8rem); line-height: 0.98; letter-spacing: -.02em; }
.section-sub { margin: 10px 0 0; color: var(--muted); font-size: 1rem; max-width: 640px; }
.kicker { font-size: .78rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--gold); }

/* ---------- Bottoni Modern Pill ---------- */
.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 10px;
    min-height: 52px; padding: 0 26px; border: 1px solid transparent; border-radius: var(--r-pill);
    font-weight: 800; font-size: 0.96rem; letter-spacing: -.01em; text-decoration: none; text-align: center; line-height: 1.15;
    transition: transform .2s var(--ease), background-color .2s var(--ease), box-shadow .2s var(--ease), border-color .2s var(--ease);
}
.btn:active { transform: scale(.97); }
.btn .icon { width: 18px; height: 18px; }
.btn--primary {
    background: var(--red); color: #fff;
    box-shadow: 0 8px 24px -4px var(--red-glow);
}
.btn--primary:hover {
    background: var(--red-hover); color: #fff;
    box-shadow: 0 12px 28px -4px rgba(200, 16, 46, 0.55);
    transform: translateY(-1px);
}
.btn--cream {
    background: var(--cream); color: var(--ink);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}
.btn--cream:hover {
    background: #fff; color: var(--ink);
    box-shadow: 0 8px 24px rgba(255, 255, 255, 0.2);
    transform: translateY(-1px);
}
.btn--dark {
    background: var(--surface); color: var(--text);
    border-color: var(--line);
}
.btn--dark:hover {
    background: var(--surface-2); border-color: rgba(255, 255, 255, 0.15); color: #fff;
    transform: translateY(-1px);
}
.btn--ink { background: #000; color: var(--cream); border-color: var(--line); }
.btn--ink:hover { background: #12141c; color: #fff; }
.btn--wa {
    background: var(--green); color: #fff;
    box-shadow: 0 6px 20px rgba(16, 185, 129, 0.3);
}
.btn--wa:hover {
    background: var(--green-hover); color: #fff;
    box-shadow: 0 8px 24px rgba(16, 185, 129, 0.45);
    transform: translateY(-1px);
}
.btn--line {
    background: transparent; color: var(--text); border-color: var(--line);
}
.btn--line:hover {
    border-color: var(--gold); color: var(--gold-light); background: rgba(246, 216, 140, 0.05);
}
.btn--block { width: 100%; }
.btn--split { justify-content: space-between; padding: 0 24px; }
.btn--sm { min-height: 42px; padding: 0 18px; border-radius: var(--r-pill); font-size: .88rem; }
.btn[disabled], .btn[aria-disabled="true"] { background: #27272a; color: #71717a; border-color: transparent; pointer-events: none; box-shadow: none; }
.icon-btn {
    width: 44px; height: 44px; border: 1px solid var(--line); border-radius: var(--r-pill); background: var(--surface-glass); color: var(--text);
    display: inline-flex; align-items: center; justify-content: center; flex: none; text-decoration: none;
    backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
    transition: all .2s var(--ease);
}
.icon-btn:hover { background: var(--surface-2); border-color: rgba(255, 255, 255, 0.2); color: #fff; transform: translateY(-1px); }
.icon-btn .icon { width: 18px; height: 18px; }
.link { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; font-weight: 700; text-decoration: none; }

/* ---------- Chip e stato ---------- */
.chip { display: inline-flex; align-items: center; gap: 6px; padding: 6px 14px; border-radius: var(--r-pill); background: rgba(255, 255, 255, 0.06); border: 1px solid var(--line); font-size: .8rem; font-weight: 700; color: var(--text); }
.live { display: inline-flex; align-items: center; gap: 8px; padding: 7px 14px; border-radius: var(--r-pill); background: rgba(7, 8, 12, 0.75); border: 1px solid var(--line); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); font-size: .82rem; font-weight: 800; color: var(--text); }
.live__dot { width: 8px; height: 8px; border-radius: 50%; background: var(--ok); box-shadow: 0 0 0 4px rgba(16, 185, 129, .25); animation: pulse 2.4s ease-in-out infinite; }
.live--off .live__dot { background: var(--muted-2); box-shadow: none; animation: none; }
@keyframes pulse { 50% { box-shadow: 0 0 0 8px rgba(16, 185, 129, .06); } }

/* ---------- Sfondo Atmosferico Header con Sfumatura Nera ---------- */
.header-backdrop {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    height: clamp(380px, 52vw, 620px);
    overflow: hidden;
    z-index: 0;
    pointer-events: none;
}

.header-backdrop picture,
.header-backdrop img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
}

.header-backdrop img {
    opacity: 0.44;
    filter: saturate(115%) contrast(105%);
    transform: scale(1.02);
}

.header-backdrop__gradient {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(180deg, rgba(7, 8, 12, 0.72) 0%, rgba(7, 8, 12, 0.1) 25%, rgba(7, 8, 12, 0.55) 68%, var(--bg) 100%),
        radial-gradient(ellipse at 50% 30%, transparent 0%, rgba(7, 8, 12, 0.35) 60%, var(--bg) 100%);
}

#main {
    position: relative;
    z-index: 1;
}

/* ---------- Top bar Fluttuante in Vetro Satinato ---------- */
.topbar { position: sticky; top: 0; z-index: 90; height: var(--topbar-h); background: linear-gradient(180deg, rgba(7, 8, 12, 0.9) 0%, rgba(7, 8, 12, 0.6) 75%, rgba(7, 8, 12, 0) 100%); transition: background-color .25s var(--ease), border-color .25s var(--ease), box-shadow .25s var(--ease); border-bottom: 1px solid transparent; }
.topbar.is-solid { background: rgba(7, 8, 12, 0.85); backdrop-filter: saturate(160%) blur(20px); -webkit-backdrop-filter: saturate(160%) blur(20px); border-bottom-color: var(--line); box-shadow: 0 10px 30px -10px rgba(0, 0, 0, 0.6); }
.topbar__inner { height: 100%; display: flex; align-items: center; gap: 10px; }
.brand { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; margin-right: auto; text-decoration: none; color: inherit; }
.brand img { height: 34px; width: auto; filter: drop-shadow(0 2px 8px rgba(0,0,0,0.5)); flex-shrink: 0; }
.brand__text { display: flex; flex-direction: column; justify-content: center; line-height: 1.15; }
.brand__name { font-family: var(--font); font-weight: 800; font-size: clamp(0.76rem, 2.8vw, 0.98rem); color: #ffffff; letter-spacing: -0.015em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 52vw; }
.brand__year { font-weight: 700; font-size: 0.68rem; color: var(--gold); letter-spacing: 0.08em; text-transform: uppercase; }
.topnav { display: none; }
.topnav a { display: inline-flex; align-items: center; min-height: 40px; padding: 0 14px; border-radius: var(--r-pill); color: #f1f5f9; text-shadow: 0 1px 2px rgba(0, 0, 0, 0.65); font-weight: 700; font-size: .92rem; text-decoration: none; transition: all .15s var(--ease); }
.topnav a:hover, .topnav a[aria-current="page"], .topnav a.is-active { color: #fff; background: var(--surface); }
.topbar__cta { display: none; }

/* ---------- Menu a scomparsa ---------- */
.sheet-menu {
    position: fixed; inset: 0; z-index: 120; background: rgba(8, 3, 5, .6); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
    opacity: 0; visibility: hidden; transition: opacity .25s var(--ease), visibility 0s linear .25s;
}
.sheet-menu.is-open { opacity: 1; visibility: visible; transition-delay: 0s; }
.sheet-menu__panel {
    position: absolute; left: 8px; right: 8px; bottom: 8px; padding: 10px 10px 16px; border-radius: 30px; background: var(--surface);
    transform: translateY(24px); transition: transform .3s var(--ease); max-height: calc(100vh - 24px); overflow: auto;
    padding-bottom: calc(16px + env(safe-area-inset-bottom));
}
.sheet-menu.is-open .sheet-menu__panel { transform: none; }
.sheet-menu__grab { width: 40px; height: 4px; border-radius: 2px; background: var(--line); margin: 4px auto 16px; }
.sheet-menu nav { display: grid; gap: 6px; margin-top: 28px; }
.sheet-menu nav a { display: flex; align-items: center; justify-content: space-between; min-height: 56px; padding: 0 16px; border-radius: 18px; color: var(--text); font-weight: 800; font-size: 1.1rem; text-decoration: none; background: var(--surface-2); }
.sheet-menu nav a:hover { background: var(--line); }
.sheet-menu__actions { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 18px; }
.sheet-menu__close { position: absolute; top: 12px; right: 12px; z-index: 2; }
body.menu-open { overflow: hidden; }

/* ---------- Tab bar (mobile) ---------- */
.tabbar {
    position: fixed; z-index: 95; left: 12px; right: 12px; bottom: calc(12px + env(safe-area-inset-bottom)); height: 72px;
    display: flex; align-items: center; justify-content: space-around; border-radius: 26px;
    background: rgba(29, 16, 21, .86); backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px);
    border: 1px solid rgba(255, 255, 255, .1); box-shadow: 0 20px 40px rgba(0, 0, 0, .55);
}
.tabbar a { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px; min-width: 56px; min-height: 56px; color: var(--muted); font-size: .7rem; font-weight: 700; text-decoration: none; }
.tabbar a .icon { width: 22px; height: 22px; }
.tabbar a[aria-current="page"], .tabbar a:hover { color: var(--text); }
.tabbar .tabbar__main { flex-direction: row; gap: 8px; min-height: 52px; padding: 0 18px; border-radius: 18px; background: var(--red); color: #fff; font-size: .95rem; font-weight: 800; }
.tabbar .tabbar__main:hover { background: var(--red-hover); color: #fff; }
.tabbar .tabbar__main .icon { width: 20px; height: 20px; }

/* ---------- Hero: locandina ufficiale 1:1 (visibile solo su desktop) ---------- */
.hero { display: none; position: relative; margin-top: 0; border-radius: var(--r-xl); overflow: hidden; background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow); }
.hero__img { aspect-ratio: 1 / 1; width: 100%; overflow: hidden; }
.hero__img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.hero__top { position: absolute; top: 14px; left: 14px; z-index: 2; display: flex; gap: 8px; }

/* ---------- Riquadri (bento) ---------- */
.bento { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; margin-top: 10px; }
.tile { min-height: 120px; border-radius: var(--r-lg); padding: 16px 18px; display: flex; flex-direction: column; justify-content: space-between; background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow); transition: transform .2s var(--ease), border-color .2s var(--ease); }
.tile:hover { transform: translateY(-2px); border-color: rgba(255, 255, 255, 0.16); }
.tile__k { font-size: .74rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.tile__v { font-size: 2.75rem; font-weight: 800; line-height: .8; letter-spacing: -.06em; font-variant-numeric: tabular-nums; }
.tile__v small { display: block; margin-top: 8px; font-size: .95rem; letter-spacing: 0; font-weight: 700; }
.tile--red { background: var(--red); color: #fff; border-color: transparent; box-shadow: 0 12px 28px -6px var(--red-glow); }
.tile--red .tile__k { color: rgba(255, 255, 255, .85); }
.tile--cream { background: var(--cream); color: var(--ink); border-color: transparent; }
.tile--cream .tile__k { color: var(--ink-muted); }
.tile--cream .tile__v { font-size: 2.2rem; }
.tile .tile__v small.muted { color: var(--muted); }

.row-card { margin-top: 10px; display: flex; align-items: center; gap: 14px; padding: 16px 20px; border-radius: var(--r-lg); background: var(--surface); color: var(--text); text-decoration: none; border: 1px solid var(--line); box-shadow: var(--shadow); transition: all .2s var(--ease); }
.row-card:hover { background: var(--surface-2); border-color: rgba(255, 255, 255, 0.16); color: #fff; transform: translateY(-2px); }
.row-card__icon { width: 46px; height: 46px; border-radius: var(--r-sm); background: var(--surface-2); display: grid; place-items: center; flex: none; border: 1px solid var(--line); }
.row-card__icon .icon { width: 22px; height: 22px; }
.row-card__body { flex: 1; min-width: 0; }
.row-card__title { font-weight: 800; font-size: 1.05rem; }
.row-card__sub { font-size: .88rem; color: var(--muted); margin-top: 2px; }
.row-card__cta { font-weight: 800; font-size: .9rem; color: var(--gold); white-space: nowrap; }
.row-card--gold { background: var(--gold-bg); border-color: var(--line-gold); }
.row-card--gold:hover { background: rgba(246, 216, 140, 0.12); border-color: var(--gold); }
.row-card--gold .row-card__icon { background: rgba(246, 216, 140, 0.15); color: var(--gold); border-color: rgba(246, 216, 140, 0.3); }
.row-card--gold .row-card__sub { color: #e2d7ce; }

/* ---------- Scheda a biglietto ---------- */
.ticket { position: relative; overflow: hidden; border-radius: var(--r-xl); background: var(--cream); color: var(--ink); padding: 24px; box-shadow: 0 20px 48px rgba(0, 0, 0, 0.4); }
.ticket a:not(.btn) { color: #8a1224; }
.ticket__perf { position: relative; border-top: 2px dashed var(--cream-line); margin: 22px -24px 18px; }
.ticket__perf::before, .ticket__perf::after { content: ""; position: absolute; top: -14px; width: 28px; height: 28px; border-radius: 50%; background: var(--bg); }
.ticket__perf::before { left: -14px; }
.ticket__perf::after { right: -14px; }
.ticket__head { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; }
.ticket__k { font-size: .82rem; font-weight: 800; text-transform: uppercase; letter-spacing: .06em; color: var(--ink-muted); }
.ticket__note { margin: 14px 0 0; text-align: center; font-size: .86rem; color: var(--ink-muted); }
.ticket__cta-primary { min-height: 54px; font-size: 1.02rem; font-weight: 800; box-shadow: 0 10px 26px rgba(200, 16, 46, 0.36); }
.ticket__btns { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin-top: 12px; }
.ticket__btns .btn { min-height: 44px; font-size: .84rem; border-radius: var(--r-pill); font-weight: 700; }
.ticket__btns .btn--ink { background: transparent; color: var(--ink); border: 1.5px solid rgba(7, 8, 12, 0.28); box-shadow: none; }
.ticket__btns .btn--ink:hover { background: rgba(7, 8, 12, 0.06); }
.ticket__btns .btn--wa { background: transparent; color: #065f46; border: 1.5px solid rgba(5, 150, 105, 0.45); box-shadow: none; }
.ticket__btns .btn--wa:hover { background: rgba(16, 185, 129, 0.08); }
.ticket__btn-viva { white-space: nowrap; padding-inline: 10px; }

.avail { display: grid; gap: 14px; margin-top: 10px; }
.avail__row { display: grid; gap: 6px; }
.avail__top { display: flex; justify-content: space-between; gap: 10px; font-weight: 800; font-size: .98rem; }
.avail__top span:last-child { font-weight: 700; color: var(--ink-muted); font-size: .9rem; }
.avail__u14 { font-weight: 600; color: #8a1224; font-size: .84rem; margin-left: 2px; }
.avail__bar { height: 8px; border-radius: var(--r-pill); background: var(--cream-2); overflow: hidden; }
.avail__fill { height: 100%; border-radius: var(--r-pill); background: var(--red); width: var(--w, 0%); }
.avail__legend { display: flex; align-items: center; gap: 6px; margin: 10px 0 0; font-size: .78rem; font-weight: 600; color: var(--ink-muted); }
.avail__swatch { width: 14px; height: 6px; border-radius: var(--r-pill); background: var(--red); display: inline-block; }
.avail__none { font-size: .9rem; color: var(--ink-muted); }

/* ---------- Testo spettacolo ---------- */
.lead { font-size: 1.12rem; line-height: 1.65; color: #f1f5f9; font-weight: 500; }
.prose-dark p { color: #cbd5e1; }

/* ---------- Scaletta Minimalista ---------- */
.tracklist { list-style: none; padding: 8px; border-radius: var(--r-lg); background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow); }
.tracklist li { display: flex; align-items: center; gap: 16px; padding: 14px 16px; border-bottom: 1px solid var(--surface-2); border-radius: var(--r-sm); transition: background-color .15s var(--ease); }
.tracklist li:hover { background: var(--surface-hover); }
.tracklist li:last-child { border-bottom: 0; }
.tracklist__n { width: 28px; font-size: .85rem; font-weight: 800; color: var(--muted-2); font-variant-numeric: tabular-nums; }
.tracklist__t { flex: 1; font-weight: 700; font-size: 1.05rem; }
.tracklist .icon { color: var(--muted-2); width: 18px; height: 18px; }
.tracklist .icon { color: var(--muted-2); width: 18px; height: 18px; }
.tracklist li.is-more .tracklist__t { font-family: var(--serif); font-style: italic; font-weight: 400; font-size: 1.2rem; color: var(--gold); }
.fineprint { margin: 10px 4px 0; font-size: .8rem; color: var(--muted-2); }

/* ---------- Artisti ---------- */
.people { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 8px; }
.people__main { position: relative; min-height: 210px; border-radius: 26px; overflow: hidden; background: var(--surface); }
.people__main img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.people__main span { position: absolute; left: 0; right: 0; bottom: 0; padding: 14px; font-weight: 800; background: linear-gradient(180deg, rgba(15, 7, 9, 0), rgba(15, 7, 9, .92)); }
.people__side { display: grid; gap: 8px; }
.person { border-radius: 22px; background: linear-gradient(145deg, rgba(255,255,255,0.06), rgba(255,255,255,0.02)); border: 1px solid rgba(212, 160, 23, 0.18); padding: 14px 16px; display: flex; flex-direction: column; justify-content: flex-end; min-height: 104px; box-shadow: 0 4px 16px rgba(0,0,0,0.3); transition: transform 0.2s ease, border-color 0.2s ease; }
.person:hover { border-color: rgba(212, 160, 23, 0.4); transform: translateY(-2px); }
.person__photo { width: 54px; height: 54px; border-radius: 50%; object-fit: cover; object-position: top center; margin-bottom: auto; background: radial-gradient(circle at 50% 30%, rgba(212, 160, 23, 0.22), rgba(15, 7, 9, 0.85)); border: 1.5px solid rgba(212, 160, 23, 0.45); box-shadow: 0 4px 12px rgba(0,0,0,0.5); flex-shrink: 0; }
.person__info { display: flex; flex-direction: column; min-width: 0; }
.person__role { display: block; font-size: .76rem; color: var(--gold); text-transform: uppercase; letter-spacing: .06em; font-weight: 600; margin-top: 8px; margin-bottom: 2px; }
.person__name { display: block; font-weight: 800; font-size: 1.02rem; line-height: 1.2; color: #fff; }
.lineup { margin-top: 10px; font-size: .82rem; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); text-align: center; }

/* ---------- WhatsApp: due opzioni ---------- */
.options { display: grid; gap: 8px; }
.option { border-radius: 24px; background: var(--surface); padding: 18px; }
.option__tag { display: inline-block; padding: 4px 10px; border-radius: 999px; background: var(--surface-2); font-size: .72rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; color: var(--gold); }
.option h3 { margin-top: 10px; font-size: 1.2rem; }
.option ol { margin: 10px 0 0; padding-left: 1.2em; color: #d9c8c2; font-size: .95rem; }
.option li + li { margin-top: 4px; }
.option__note { margin: 12px 0 0; font-size: .88rem; color: var(--gold); }

/* ---------- Canali di acquisto ---------- */
.channels { display: grid; gap: 8px; }
.channel { border-radius: 24px; background: var(--surface); padding: 18px; display: flex; flex-direction: column; gap: 8px; }
.channel h3 { font-size: 1.2rem; }
.channel p { margin: 0; color: #d9c8c2; font-size: .95rem; }
.channel .btn { margin-top: 6px; }
.channel__pending { padding: 12px 14px; border-radius: 14px; background: var(--surface-2); color: var(--muted); font-size: .9rem; }

/* ---------- Prezzi ---------- */
.price-table { border-radius: 24px; background: var(--surface); padding: 8px 16px; }
.price-table table { width: 100%; border-collapse: collapse; font-variant-numeric: tabular-nums; }
.price-table th, .price-table td { padding: 11px 0; text-align: left; border-bottom: 1px solid var(--surface-2); }
.price-table tr:last-child th, .price-table tr:last-child td { border-bottom: 0; }
.price-table thead th { font-size: .75rem; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); font-weight: 800; }
.price-table td:last-child, .price-table th:last-child { text-align: right; }

/* ---------- Locandina ---------- */
.poster { display: grid; grid-template-columns: 110px 1fr; gap: 16px; align-items: center; padding: 14px; border-radius: 26px; background: var(--surface); }
.poster img { border-radius: 12px; aspect-ratio: 1654 / 2339; object-fit: cover; }
.poster h3 { font-size: 1.15rem; }
.poster p { margin: 6px 0 12px; color: var(--muted); font-size: .9rem; }
.poster__btns { display: flex; flex-wrap: wrap; gap: 8px; }

/* ---------- FAQ ---------- */
.faq { display: grid; gap: 6px; }
.faq details { border-radius: 20px; background: var(--surface); padding: 0 16px; }
.faq summary { list-style: none; cursor: pointer; min-height: 58px; display: flex; align-items: center; justify-content: space-between; gap: 12px; font-weight: 700; font-size: 1rem; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; flex: none; width: 30px; height: 30px; border-radius: 10px; display: grid; place-items: center; background: var(--surface-2); color: var(--gold); font-size: 1.25rem; font-weight: 500; transition: transform .25s var(--ease); }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details > div { padding: 0 0 16px; color: #d9c8c2; font-size: .95rem; }
.faq details > div p:last-child { margin: 0; }

/* ---------- CTA finale ---------- */
.finale { position: relative; overflow: hidden; border-radius: var(--r-xl); padding: 36px 20px 22px; text-align: center; isolation: isolate; background: var(--surface); }
.finale img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; opacity: .5; }
.finale::after { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(90% 80% at 50% 50%, rgba(15, 7, 9, .45), rgba(15, 7, 9, .92)); }
.finale h2 { font-family: var(--serif); font-weight: 400; font-size: clamp(2.2rem, 1.7rem + 2.4vw, 3.6rem); line-height: 1; letter-spacing: -.01em; }
.finale p { margin: 12px 0 20px; color: var(--muted); font-weight: 700; }
.finale__btns { display: grid; gap: 8px; max-width: 520px; margin: 0 auto; }

/* ---------- Countdown (se usato fuori dai riquadri) ---------- */
.countdown__ended { font-weight: 700; color: var(--gold); }

/* ---------- Footer ---------- */
.footer { margin-top: 48px; padding: 28px 0 24px; border-top: 1px solid var(--surface-2); color: var(--muted); font-size: .9rem; }
.footer__brand img { height: 40px; width: auto; margin-bottom: 12px; }
.footer__title { font-weight: 800; color: var(--text); font-size: 1.05rem; }
.footer__grid { display: grid; gap: 24px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.footer__brand { grid-column: 1 / -1; }
.footer h2 { font-size: .78rem; letter-spacing: .08em; text-transform: uppercase; color: var(--muted-2); margin-bottom: 8px; font-weight: 800; }
.footer ul { list-style: none; display: grid; }
.footer a, .footer button { display: inline-flex; align-items: center; min-height: 40px; color: var(--text); text-decoration: none; background: none; border: 0; padding: 0; font-weight: 600; text-align: left; }
.footer a:hover, .footer button:hover { color: var(--gold); }
.footer__legal { margin-top: 24px; padding-top: 16px; border-top: 1px solid var(--surface-2); font-size: .78rem; color: var(--muted-2); display: grid; gap: 6px; }
.footer__legal p { margin: 0; }

/* ---------- Reveal ---------- */
.js .reveal { opacity: 0; transform: translateY(16px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.js .reveal.is-in { opacity: 1; transform: none; }

/* ---------- Toast ---------- */
.toast { position: fixed; left: 50%; bottom: calc(var(--tabbar-h) + 20px + env(safe-area-inset-bottom)); z-index: 200; transform: translate(-50%, 16px); padding: 12px 18px; border-radius: 16px; background: var(--cream); color: var(--ink); font-weight: 700; font-size: .92rem; box-shadow: var(--shadow); opacity: 0; pointer-events: none; transition: opacity .25s, transform .25s var(--ease); max-width: calc(100% - 32px); text-align: center; }
.toast.is-visible { opacity: 1; transform: translate(-50%, 0); }

/* =====================================================================
   PAGINA SCUOLE
   ===================================================================== */
.school-hero { position: relative; margin-top: 4px; border-radius: var(--r-xl); overflow: hidden; padding: 22px 20px; background: linear-gradient(160deg, #3a0d18 0%, var(--surface) 70%); }
.school-hero h1 { font-size: clamp(2.3rem, 1.8rem + 2.6vw, 3.8rem); line-height: .95; letter-spacing: -.04em; margin-top: 14px; }
.school-hero h1 em { display: block; margin-top: 8px; font-family: var(--serif); font-weight: 400; font-size: .62em; letter-spacing: 0; color: var(--gold); }
.school-hero .lead { margin: 14px 0 0; }
.school-hero__who { margin-top: 12px; font-size: .9rem; color: var(--muted); }
.school-hero__who strong { color: var(--text); }
.school-hero__btns { display: grid; gap: 8px; margin-top: 18px; }
.facts { list-style: none; display: grid; gap: 0; }
.facts li { display: grid; grid-template-columns: 26px 1fr; gap: 12px; align-items: start; padding: 12px 0; border-bottom: 1px solid var(--cream-2); font-size: .98rem; }
.facts li:last-child { border-bottom: 0; }
.facts .icon { width: 22px; height: 22px; color: var(--red); margin-top: 1px; }
.deadline { display: flex; gap: 12px; align-items: flex-start; padding: 16px; border-radius: 22px; background: var(--gold-bg); box-shadow: inset 0 0 0 1px rgba(255, 217, 138, .3); }
.deadline .icon { color: var(--gold); width: 24px; height: 24px; margin-top: 2px; }
.deadline strong { display: block; font-size: 1.05rem; }
.deadline p { margin: 4px 0 0; font-size: .92rem; color: #d9c8c2; }
.grid-2 { display: grid; gap: 8px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.info-card { border-radius: 22px; background: var(--surface); padding: 16px; }
.info-card h3 { font-size: 1.05rem; }
.info-card p { margin: 4px 0 0; color: var(--muted); font-size: .92rem; }
.goals { display: grid; gap: 8px; }
.goal { border-radius: 22px; background: var(--surface); padding: 16px; display: flex; gap: 12px; }
.goal .icon { width: 22px; height: 22px; color: var(--gold); margin-top: 2px; }
.goal h3 { font-size: 1.02rem; }
.goal p { margin: 4px 0 0; color: var(--muted); font-size: .92rem; }
.values { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; }
.values li { padding: 8px 14px; border-radius: 999px; background: var(--surface); font-weight: 700; font-size: .92rem; }
.steps { list-style: none; counter-reset: s; display: grid; gap: 8px; }
.steps li { counter-increment: s; position: relative; border-radius: 22px; background: var(--surface); padding: 16px 16px 16px 64px; }
.steps li::before { content: counter(s); position: absolute; left: 16px; top: 16px; width: 34px; height: 34px; border-radius: 12px; display: grid; place-items: center; background: var(--red); color: #fff; font-weight: 800; }
.steps h3 { font-size: 1.02rem; }
.steps p { margin: 4px 0 0; color: var(--muted); font-size: .92rem; }

/* =====================================================================
   PAGINE SEMPLICI (privacy, cookie, 404)
   ===================================================================== */
.page-head { margin-top: 4px; border-radius: var(--r-xl); padding: 26px 20px; background: var(--surface); }
.page-head h1 { font-size: clamp(2.2rem, 1.8rem + 2vw, 3.4rem); letter-spacing: -.04em; }
.page-head p { margin: 10px 0 0; color: var(--muted); }
.prose { max-width: 760px; margin: 8px auto 0; padding: 22px 20px; border-radius: 26px; background: var(--cream); color: var(--ink); }
.prose a { color: #8a1224; }
.prose h2 { font-size: 1.3rem; margin: 30px 0 10px; letter-spacing: -.02em; }
.prose h2:first-child { margin-top: 0; }
.prose h3 { font-size: 1.05rem; margin: 20px 0 6px; }
.prose p, .prose li { color: #3b2c2c; }
.prose ul { padding-left: 1.2em; margin-bottom: 1em; }
.prose table { width: 100%; border-collapse: collapse; margin: 10px 0 20px; font-size: .9rem; display: block; overflow-x: auto; }
.prose th, .prose td { border: 1px solid var(--cream-line); padding: 8px 10px; text-align: left; vertical-align: top; }
.prose th { background: var(--cream-2); }
.prose .btn--line { color: var(--ink); box-shadow: inset 0 0 0 1.5px var(--ink); }
.placeholder { background: #ffe9a8; border: 1px dashed #a07800; padding: 1px 6px; border-radius: 4px; font-size: .92em; color: #3b2c2c; }
.page-404 { min-height: 70vh; display: grid; place-items: center; text-align: center; padding: 40px 12px; }
.page-404__num { font-size: clamp(6rem, 30vw, 11rem); font-weight: 800; line-height: .85; letter-spacing: -.08em; color: var(--red); }
.page-404 h1 { margin-top: 10px; font-family: var(--serif); font-weight: 400; font-size: 2.4rem; letter-spacing: 0; }
.page-404 p { margin: 10px auto 22px; color: var(--muted); max-width: 420px; }

/* =====================================================================
   BREAKPOINT
   ===================================================================== */
@media (min-width: 560px) {
    .finale__btns, .school-hero__btns { grid-template-columns: 1fr 1fr; }
    .options, .channels { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .goals { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .poster { grid-template-columns: 150px 1fr; }
    .person { flex-direction: row; align-items: center; justify-content: flex-start; gap: 16px; padding: 16px 20px; }
    .person__photo { width: 70px; height: 70px; margin-bottom: 0; }
    .person__role { margin-top: 0; font-size: .8rem; }
    .person__name { font-size: 1.15rem; }
}
@media (min-width: 900px) {
    :root { --pad: 24px; --topbar-h: 76px; --tabbar-h: 0px; }
    body { padding-bottom: 0; }
    .tabbar { display: none; }
    .topnav { display: flex; gap: 2px; margin-right: 8px; }
    .topbar__cta { display: inline-flex; }
    .topbar__menu { display: none; }
    .brand img { height: 38px; }
    .brand__name { max-width: none; font-size: 1.05rem; }
    .brand__year { font-size: 0.74rem; }
    .section { margin-top: 64px; }
    .hero { display: block; }
    .home-grid { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); gap: 16px; align-items: start; }
    .home-grid__side { position: sticky; top: calc(var(--topbar-h) + 12px); }
    .hero__body { padding: 18px 22px 20px; }
    .channels { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .two-col { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 12px; align-items: start; }
    .goals { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .steps { grid-template-columns: repeat(4, minmax(0, 1fr)); }
    .school-hero { padding: 40px; }
    .footer__grid { grid-template-columns: 1.4fr 1fr 1fr 1fr; }
    .footer__brand { grid-column: auto; }
    .toast { bottom: 24px; }
    .prose { padding: 36px 40px; }
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
    .js .reveal { opacity: 1; transform: none; }
}
@media print {
    .topbar, .tabbar, .consent, .sheet-menu { display: none !important; }
    body { background: #fff; color: #000; padding: 0; }
}

/* utilità */
.mt-8 { margin-top: 8px; }
.row-card__title, .row-card__sub { display: block; }
.section-head .lead { margin-top: 14px; }
.people__main--tall { min-height: 260px; }
@media (min-width: 900px) { .people__main--tall { min-height: 100%; } }

/* =====================================================================
   GALLERIA CAROSELLO & LIGHTBOX
   ===================================================================== */
.gallery-carousel {
    position: relative;
    background: var(--surface);
    border: 1px solid var(--line-gold);
    border-radius: var(--r-xl);
    overflow: hidden;
    box-shadow: var(--shadow);
    margin-top: 20px;
}

.gallery-carousel__viewport {
    position: relative;
    overflow: hidden;
    width: 100%;
    touch-action: pan-y pinch-zoom;
    cursor: grab;
    outline: none;
    user-select: none;
    -webkit-user-select: none;
}

.gallery-carousel__viewport:active {
    cursor: grabbing;
}

.gallery-carousel__track {
    display: flex;
    transition: transform 0.45s cubic-bezier(0.16, 1, 0.3, 1);
    will-change: transform;
}

.gallery-carousel__slide {
    flex: 0 0 100%;
    min-width: 100%;
    position: relative;
}

.gallery-carousel__card {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 10;
    max-height: 580px;
    background: #07080c;
    overflow: hidden;
}

@media (max-width: 640px) {
    .gallery-carousel__card {
        aspect-ratio: 4 / 3;
    }
}

.gallery-carousel__media {
    display: block;
    width: 100%;
    height: 100%;
}

.gallery-carousel__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: transform 0.6s var(--ease);
}

.gallery-carousel__slide:hover .gallery-carousel__media img {
    transform: scale(1.025);
}

.gallery-carousel__overlay {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 20px 22px;
    background: linear-gradient(180deg, rgba(7, 8, 12, 0.6) 0%, rgba(7, 8, 12, 0.12) 42%, rgba(7, 8, 12, 0.78) 68%, rgba(7, 8, 12, 0.95) 100%);
    pointer-events: none;
}

.gallery-carousel__top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.gallery-carousel__tag {
    font-size: 0.74rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--gold);
    background: rgba(16, 18, 26, 0.75);
    border: 1px solid var(--line-gold);
    padding: 4px 12px;
    border-radius: var(--r-pill);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

.gallery-carousel__zoom {
    pointer-events: auto;
    width: 40px;
    height: 40px;
    border-radius: var(--r-pill);
    background: rgba(16, 18, 26, 0.75);
    border: 1px solid var(--line-gold);
    color: var(--gold);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    transition: transform 0.2s var(--ease), background-color 0.2s var(--ease), color 0.2s var(--ease);
}

.gallery-carousel__zoom:hover {
    background: var(--gold);
    color: var(--ink);
    transform: scale(1.1);
}

.gallery-carousel__info {
    max-width: 620px;
}

.gallery-carousel__title {
    font-family: var(--serif);
    font-size: clamp(1.4rem, 1.1rem + 1.2vw, 2.1rem);
    font-weight: 400;
    line-height: 1.1;
    color: #fff;
    margin-bottom: 4px;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.6);
}

.gallery-carousel__desc {
    color: rgba(255, 255, 255, 0.85);
    font-size: 0.92rem;
    line-height: 1.4;
    margin: 0;
    text-shadow: 0 1px 6px rgba(0, 0, 0, 0.6);
}

/* Bottom controls bar */
.gallery-carousel__controls {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 18px;
    background: var(--surface-2);
    border-top: 1px solid var(--line);
    gap: 12px;
}

.gallery-carousel__btn {
    width: 42px;
    height: 42px;
    border-radius: var(--r-pill);
    background: var(--surface);
    border: 1px solid var(--line);
    color: var(--text);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.2s var(--ease), background-color 0.2s var(--ease), border-color 0.2s var(--ease);
}

.gallery-carousel__btn:hover {
    background: var(--red);
    color: #fff;
    border-color: var(--red);
    transform: scale(1.08);
}

.gallery-carousel__btn:active {
    transform: scale(0.96);
}

.gallery-carousel__dots {
    display: flex;
    align-items: center;
    gap: 7px;
}

.gallery-carousel__dot {
    width: 8px;
    height: 8px;
    border-radius: var(--r-pill);
    background: rgba(255, 255, 255, 0.22);
    border: none;
    padding: 0;
    cursor: pointer;
    transition: width 0.3s var(--ease), background-color 0.3s var(--ease);
}

.gallery-carousel__dot:hover {
    background: rgba(255, 255, 255, 0.5);
}

.gallery-carousel__dot.is-active {
    width: 24px;
    background: var(--gold);
}

.gallery-carousel__meta {
    font-size: 0.82rem;
    font-weight: 800;
    letter-spacing: 0.05em;
    color: var(--muted);
}

.gallery-carousel__counter {
    color: var(--gold);
}

@media (max-width: 520px) {
    .gallery-carousel__desc {
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden;
        font-size: 0.84rem;
    }
    .gallery-carousel__controls {
        padding: 10px 14px;
    }
}

/* =====================================================================
   LIGHTBOX MODAL
   ===================================================================== */
.gallery-lightbox {
    position: fixed;
    inset: 0;
    width: 100vw;
    height: 100vh;
    max-width: 100vw;
    max-height: 100vh;
    margin: 0;
    padding: 0;
    border: none;
    background: rgba(7, 8, 12, 0.94);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    color: var(--text);
    opacity: 0;
    transition: opacity 0.3s var(--ease);
}

.gallery-lightbox[open], .gallery-lightbox.is-open {
    display: flex;
    opacity: 1;
}

.gallery-lightbox::backdrop {
    background: rgba(0, 0, 0, 0.88);
}

.gallery-lightbox__inner {
    position: relative;
    width: 100%;
    height: 100%;
    max-width: 1200px;
    max-height: 94vh;
    margin: auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 20px;
    box-sizing: border-box;
}

.gallery-lightbox__close {
    position: absolute;
    top: 20px;
    right: 20px;
    z-index: 20;
    width: 46px;
    height: 46px;
    border-radius: var(--r-pill);
    background: var(--surface);
    border: 1px solid var(--line-gold);
    color: #fff;
    display: grid;
    place-items: center;
    transition: transform 0.2s var(--ease), background-color 0.2s var(--ease);
}

.gallery-lightbox__close:hover {
    background: var(--red);
    transform: scale(1.1);
}

.gallery-lightbox__nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 15;
    width: 50px;
    height: 50px;
    border-radius: var(--r-pill);
    background: rgba(16, 18, 26, 0.85);
    border: 1px solid var(--line-gold);
    color: var(--gold);
    display: grid;
    place-items: center;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    transition: transform 0.2s var(--ease), background-color 0.2s var(--ease), color 0.2s var(--ease);
}

.gallery-lightbox__nav:hover {
    background: var(--gold);
    color: var(--ink);
    transform: translateY(-50%) scale(1.1);
}

.gallery-lightbox__nav--prev {
    left: 20px;
}

.gallery-lightbox__nav--next {
    right: 20px;
}

.gallery-lightbox__content {
    display: flex;
    flex-direction: column;
    align-items: center;
    max-width: 100%;
    max-height: 85vh;
}

.gallery-lightbox__media-wrap {
    max-width: 100%;
    max-height: 72vh;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--r);
    overflow: hidden;
    border: 1px solid var(--line-gold);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.9);
}

.gallery-lightbox__img {
    max-width: 100%;
    max-height: 72vh;
    object-fit: contain;
    display: block;
    transition: transform 0.3s var(--ease);
}

.gallery-lightbox__caption {
    margin-top: 14px;
    text-align: center;
    max-width: 700px;
}

.gallery-lightbox__tag {
    display: inline-block;
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 4px;
}

.gallery-lightbox__title {
    font-family: var(--serif);
    font-size: 1.4rem;
    font-weight: 400;
    margin: 0 0 4px;
    color: #fff;
}

.gallery-lightbox__desc {
    font-size: 0.88rem;
    color: var(--muted);
    margin: 0 0 6px;
    line-height: 1.4;
}

.gallery-lightbox__counter {
    font-size: 0.78rem;
    font-weight: 800;
    color: var(--gold);
    letter-spacing: 0.06em;
}

@media (max-width: 640px) {
    .gallery-lightbox__nav {
        display: none;
    }
    .gallery-lightbox__inner {
        padding: 12px;
    }
    .gallery-lightbox__close {
        top: 12px;
        right: 12px;
        width: 40px;
        height: 40px;
    }
    .gallery-lightbox__media-wrap {
        max-height: 60vh;
    }
    .gallery-lightbox__img {
        max-height: 60vh;
    }
    .gallery-lightbox__title {
        font-size: 1.2rem;
    }
}

/* ---------- Banner Scuole / Matinée Educational ---------- */
.btn--gold {
    background: var(--gold);
    color: var(--ink);
    font-weight: 800;
    border: 1px solid transparent;
    box-shadow: 0 8px 24px -4px rgba(246, 216, 140, 0.4);
}
.btn--gold:hover {
    background: #fff;
    color: var(--ink);
    transform: translateY(-1px);
    box-shadow: 0 12px 28px -2px rgba(255, 255, 255, 0.35);
}

.school-banner {
    border-radius: var(--r-xl);
    background: linear-gradient(135deg, rgba(246, 216, 140, 0.09) 0%, rgba(26, 10, 15, 0.95) 100%), var(--surface);
    border: 1px solid var(--line-gold);
    padding: 28px 24px;
    display: flex;
    flex-direction: column;
    gap: 20px;
    box-shadow: 0 16px 36px rgba(0, 0, 0, 0.35);
    position: relative;
    overflow: hidden;
}
.school-banner::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--gold), transparent);
}
.school-banner__badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: .8rem;
    font-weight: 800;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 8px;
}
.school-banner__badge .icon {
    width: 18px;
    height: 18px;
}
.school-banner__title {
    font-size: 1.35rem;
    font-weight: 800;
    line-height: 1.25;
    color: #fff;
    margin: 0;
}
.school-banner__sub {
    font-size: 1rem;
    color: #cbd5e1;
    margin: 8px 0 14px;
    line-height: 1.5;
}
.school-banner__meta {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 16px;
    font-size: .88rem;
    font-weight: 700;
    color: var(--gold-light);
}
.school-banner__meta span {
    display: inline-flex;
    align-items: center;
}
.school-banner__meta span:not(:last-child)::after {
    content: "·";
    margin-left: 16px;
    opacity: .6;
}
.school-banner__action {
    display: flex;
    align-items: center;
}
@media (min-width: 768px) {
    .school-banner {
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
        padding: 32px;
    }
    .school-banner__content {
        flex: 1;
        padding-right: 24px;
    }
    .school-banner__action {
        flex: none;
    }
}

/* ---------- Panoramic Scenic Hero con Logo 3D Ufficiale ---------- */
.panoramic-wrap {
    width: 100%;
    position: relative;
    margin-top: calc(-1 * var(--topbar-h));
    background: #07080c;
    overflow: hidden;
}
.panoramic-hero {
    position: relative;
    width: 100%;
    max-width: 1540px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
}
.panoramic-hero picture {
    display: block;
    width: 100%;
}
.panoramic-hero__img {
    width: 100%;
    height: auto;
    display: block;
    aspect-ratio: 16 / 9;
    object-fit: cover;
    object-position: center top;
}
.panoramic-hero__gradient {
    position: absolute;
    inset: 0;
    pointer-events: none;
    background:
        linear-gradient(180deg, rgba(7, 8, 12, 0.75) 0%, rgba(7, 8, 12, 0) 25%, rgba(7, 8, 12, 0.45) 70%, var(--bg) 100%);
}
.panoramic-hero__content {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    padding-top: calc(var(--topbar-h) + clamp(18px, 4vw, 48px));
    pointer-events: none;
    z-index: 2;
}
.panoramic-hero__logo {
    width: clamp(300px, 46vw, 580px);
    height: auto;
    max-width: 92%;
    filter: drop-shadow(0 10px 32px rgba(0, 0, 0, 0.85)) drop-shadow(0 2px 8px rgba(0, 0, 0, 0.9));
}
@media (max-width: 768px) {
    .panoramic-hero__img {
        aspect-ratio: 16 / 11;
    }
    .panoramic-hero__content {
        padding-top: calc(var(--topbar-h) + 14px);
    }
    .panoramic-hero__logo {
        width: clamp(260px, 80vw, 380px);
    }
}

/* ---------- Hub Prenotazione & Bento Wide ---------- */
.booking-hub {
    display: grid;
    gap: 16px;
    margin-top: 6px;
}
.bento--wide {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
    margin-top: 0;
}
.tile--dark {
    background: var(--surface);
    color: var(--text);
}
.tile--venue {
    background: var(--surface);
    color: var(--text);
    text-decoration: none;
    grid-column: 1 / -1;
    min-height: 80px;
    padding: 14px 18px;
}
@media (min-width: 768px) {
    .bento--wide {
        grid-template-columns: 1fr 1fr 1fr 1.35fr;
        gap: 12px;
    }
    .tile--venue {
        grid-column: auto;
        min-height: 120px;
        padding: 16px 18px;
    }
}
.tile--venue:hover {
    background: var(--surface-2);
    border-color: var(--gold);
    color: #fff;
    transform: translateY(-2px);
}
.tile__venue-name {
    display: block;
    font-size: 1.15rem;
    font-weight: 800;
    line-height: 1.15;
    margin-top: 6px;
    color: #fff;
}
.tile__venue-sub {
    display: block;
    font-size: 0.82rem;
    color: var(--muted);
    margin-top: 2px;
    font-weight: 500;
}
.tile--venue:hover .tile__venue-sub {
    color: var(--gold-light);
}

/* ---------- Ticket Wide Layout ---------- */
.ticket--wide {
    padding: 28px 32px;
}
.ticket-wide__grid {
    display: grid;
    gap: 24px;
}
@media (min-width: 900px) {
    .ticket-wide__grid {
        grid-template-columns: minmax(0, 1.25fr) 1px minmax(0, 1fr);
        gap: 36px;
        align-items: center;
    }
    .ticket-wide__divider {
        width: 1px;
        height: 100%;
        background: repeating-linear-gradient(180deg, var(--cream-line) 0, var(--cream-line) 6px, transparent 6px, transparent 12px);
    }
}
@media (max-width: 899px) {
    .ticket-wide__divider {
        height: 2px;
        width: 100%;
        background: repeating-linear-gradient(90deg, var(--cream-line) 0, var(--cream-line) 6px, transparent 6px, transparent 12px);
        margin: 4px 0;
    }
}
.ticket-wide__col-sectors .avail {
    margin-top: 14px;
}
.ticket-wide__col-actions {
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.ticket-wide__action-header {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 8px;
}
.ticket-wide__price-badge {
    font-size: 1rem;
    color: var(--ink);
}
.ticket-wide__price-badge strong {
    font-size: 1.25rem;
    font-weight: 800;
}
.ticket-wide__price-badge small {
    color: #8a1224;
    font-weight: 700;
}
.btn--lg {
    min-height: 54px;
    font-size: 1.05rem;
}

/* Timeline dot email & box nessun pagamento dovuto */
.tl-dot--mail {
    background: #fff1f2;
    border-color: #c8102e;
    color: #991b1b;
    box-shadow: 0 0 0 3px rgba(200, 16, 46, 0.15);
}
.done__opt-box--free {
    background: #fffaf0;
    border: 1.5px solid #f6d88c;
    color: #78350f;
}
.done__opt-box--free p {
    color: #451a03;
}
.done__opt-badge--free {
    background: #c8102e;
    color: #ffffff;
}

/* Box Office – sede e punti vendita */
.channels { align-items: start; }
.channel--boxoffice { display: flex; flex-direction: column; gap: 10px; }
.boxoffice-card { border-radius: 18px; background: var(--surface-2); padding: 14px 16px; margin-top: 4px; display: flex; flex-direction: column; gap: 8px; border: 1px solid var(--line); }
.boxoffice-card__head { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.boxoffice-card__title { font-weight: 800; font-size: 1rem; color: #fff; margin: 0; }
.boxoffice-card__badge { font-size: .72rem; padding: 2px 8px; border-radius: 999px; background: rgba(246, 216, 140, 0.15); color: var(--gold); text-transform: uppercase; letter-spacing: .05em; font-weight: 800; }
.boxoffice-card__addr { margin: 0; color: #d9c8c2; font-size: .88rem; line-height: 1.4; }
.boxoffice-card__hours { margin: 0; color: var(--gold); font-size: .84rem; }
.boxoffice-card__actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 2px; }
.boxoffice-card__btn { display: inline-flex; align-items: center; justify-content: center; gap: 6px; min-height: 44px; padding: 0 14px; border-radius: 12px; background: var(--surface); color: var(--cream); font-size: .88rem; font-weight: 700; text-decoration: none; border: 1px solid var(--line); transition: background .2s, border-color .2s; }
.boxoffice-card__btn:hover { background: rgba(255, 255, 255, 0.08); border-color: rgba(255, 255, 255, 0.2); }
.boxoffice-card__btn .icon { width: 16px; height: 16px; flex: none; }
.boxoffice-points { border-radius: 18px; background: var(--surface-2); border: 1px solid var(--line); margin-top: 4px; overflow: hidden; }
.boxoffice-points summary { list-style: none; cursor: pointer; min-height: 48px; padding: 10px 14px; display: flex; align-items: center; justify-content: space-between; gap: 10px; font-weight: 700; font-size: .92rem; color: var(--cream); }
.boxoffice-points summary::-webkit-details-marker { display: none; }
.boxoffice-points summary::after { content: "+"; flex: none; width: 28px; height: 28px; border-radius: 8px; display: grid; place-items: center; background: var(--surface); color: var(--gold); font-size: 1.15rem; font-weight: 600; transition: transform .25s var(--ease); }
.boxoffice-points[open] summary::after { transform: rotate(45deg); }
.boxoffice-points__body { padding: 4px 14px 14px; border-top: 1px solid var(--line); font-size: .88rem; }
.boxoffice-city { margin-top: 12px; }
.boxoffice-city:first-child { margin-top: 8px; }
.boxoffice-city__title { font-size: .75rem; text-transform: uppercase; letter-spacing: .06em; color: var(--gold); margin: 0 0 6px; font-weight: 800; }
.boxoffice-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.boxoffice-item { padding: 8px 12px; border-radius: 12px; background: var(--surface); border: 1px solid var(--line); display: flex; flex-direction: column; gap: 3px; }
.boxoffice-item__name { font-weight: 700; color: #fff; font-size: .9rem; }
.boxoffice-item__addr { color: #d9c8c2; font-size: .84rem; line-height: 1.35; }
.boxoffice-item__phone { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; color: var(--gold); text-decoration: none; font-weight: 700; font-size: .88rem; align-self: flex-start; }
.boxoffice-item__phone:hover { text-decoration: underline; }
.boxoffice-item__phone .icon { width: 14px; height: 14px; flex: none; }
.boxoffice-points__official { margin: 14px 0 6px; font-size: .82rem; }
.boxoffice-points__official a { color: var(--gold); text-decoration: underline; }
.boxoffice-points__note { margin: 6px 0 0; font-size: .78rem; color: var(--muted); font-style: italic; line-height: 1.35; }



