/* ============================================
   THE QUIVER — SKATE QUIVER LANDING
   Design tokens estratti da Figma (TheQuiver, node 39:923)
   ============================================ */

:root {
  /* Oranges — distinti per contesto, fedeli al file Figma originale */
  --orange-hero: #ff6600;
  --orange-primary: #ff6b2c;
  --orange-kicker: #ff7134;

  /* Neutri scuri */
  --ink-900: #111111;
  --ink-950: #101010;
  --ink-hero: #170f08;
  --ink-heading: #090909;
  --ink-body: #29272a;

  /* Neutri chiari */
  --paper: #ffffff;
  --surface-100: #f2f2f2;
  --surface-feature: #f7f7f7;
  --surface-programma: #f6f6f6;
  --border-programma: #ececec;
  --icon-bg-orange: #fff0e9;
  --contest-bg: #fff5ef;
  --contest-border: #ffcdb7;
  --muted-text: #6b6b6b;
  --line: #e1e1e1;

  /* Tipografia */
  --font-display: 'Anton', 'Montserrat', sans-serif; /* sostituto libero per Mesmerize:Expanded_Bold */
  --font-body: 'Montserrat', sans-serif;

  /* Radii */
  --r-lg: 27px;
  --r-xl: 30px;
  --r-pill: 999px;

  --container: 430px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink-body);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  padding-bottom: 88px; /* spazio per sticky bar */
}
img { max-width: 100%; display: block; }
h1, h2, h3 { margin: 0; }
p { margin: 0; }
a { color: inherit; text-decoration: none; }
ul, ol { margin: 0; padding: 0; list-style: none; }
button { font-family: inherit; cursor: pointer; }

.is-accent { color: var(--orange-primary); }

/* ---------- Layout helpers ---------- */
section, footer.footer {
  max-width: var(--container);
  margin: 0 auto;
}

.eyebrow {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin: 0 20px 8px;
}
.eyebrow--orange { color: var(--orange-primary); }
.eyebrow--muted { color: var(--muted-text); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 24px;
  border-radius: var(--r-pill);
  font-family: var(--font-body);
  font-weight: 800;
  font-size: 12px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  border: none;
  transition: transform .15s ease, opacity .15s ease;
}
.btn:active { transform: scale(0.97); }
.btn--dark { background: var(--ink-900); color: #fff; }
.btn--orange { background: var(--orange-primary); color: #fff; }
.btn--light { background: #fff; color: var(--ink-900); box-shadow: 0 6px 18px rgba(0,0,0,.18); }
.btn--outline { background: transparent; color: var(--ink-900); border: 1.5px solid var(--ink-900); }
.btn--block { width: 100%; }
.btn--small { padding: 10px 18px; font-size: 11px; }

/* ============ HERO ============ */
.hero {
  position: relative;
  aspect-ratio: 390 / 535;
  overflow: hidden;
  background: #efefea;
}
.hero__bg { position: absolute; inset: 0; }
.hero__bg picture { display: block; width: 100%; height: 100%; }
.hero__bg-img { width: 100%; height: 100%; object-fit: cover; object-position: center 80%; }
.hero__inner {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 26px 44px 28px;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.hero__brand { width: 104px; height: auto; margin: -8px 0 14px; }
.hero__top {
  align-self: stretch;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}
.hero__badge-eyebrow {
  color: var(--orange-hero);
  font-weight: 700;
  font-size: 12.5px;
  letter-spacing: .05em;
  text-transform: uppercase;
  white-space: nowrap;
  margin-bottom: 1px;
}
.hero__badge-date { color: var(--ink-900); font-weight: 600; font-size: 13px; white-space: nowrap; }
.hero__info-btn {
  flex: 0 0 auto;
  width: 32px; height: 32px;
  border-radius: 50%;
  background: var(--ink-900);
  border: none;
  display: flex; align-items: center; justify-content: center;
}
.hero__title-wrap { margin-top: 15px; }
.hero__title { margin: 0; line-height: 0; }
.hero__logo { width: 248px; height: auto; }
.hero__cta { display: flex; gap: 12px; justify-content: center; margin-top: 54px; }
.hero__cta .btn { text-transform: none; letter-spacing: 0; font-weight: 700; font-size: 13px; padding: 11px 18px; }
.hero__cta .btn--light { box-shadow: none; }
.hero__info-btn { color: #fff; }
.hero__lead { display: none; }

/* ============ COS'È SKATE QUIVER ============ */
.project { padding: 56px 0 40px; }
.project__card { padding: 0 20px; }
.project .eyebrow, .modal .eyebrow { margin-left: 0; margin-right: 0; }
.modal .eyebrow { padding-right: 44px; }
.project__heading {
  font-family: var(--font-body);
  font-weight: 800;
  font-size: 25px;
  color: var(--ink-heading);
  line-height: 1.15;
  margin-bottom: 18px;
}
.project__intro p {
  font-size: 15px;
  line-height: 1.6;
  margin-bottom: 20px;
}
.project__wordmark {
  display: none; /* decorativo, nascosto su mobile per fedeltà al layout principale */
}
.project__fanzina { display: none; }

.features { display: flex; flex-direction: column; gap: 14px; margin-top: 8px; }
.feature {
  display: flex;
  gap: 14px;
  background: var(--surface-feature);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 16px;
}
.feature__icon {
  flex: 0 0 auto;
  width: 44px; height: 44px;
  border-radius: 12px;
  background: var(--icon-bg-orange);
  display: flex; align-items: center; justify-content: center;
}
.feature__title { font-weight: 700; font-size: 15px; color: var(--ink-heading); margin-bottom: 4px; }
.feature__desc { font-size: 13.5px; line-height: 1.5; color: var(--ink-body); }

/* ============ SHOWCASE (transizione) ============ */
.showcase { position: relative; max-width: 100%; overflow: hidden; background: var(--ink-hero); }
.showcase__pattern {
  position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: space-around;
  font-family: var(--font-display);
  font-size: 90px;
  color: rgba(255,255,255,.06);
  overflow: hidden;
  pointer-events: none;
}
.showcase__img { width: 100%; max-height: 280px; object-fit: cover; object-position: center 60%; opacity: .9; }

/* ============ PRIMA/DOPO ============ */
.storia { padding: 48px 0; }
.storia__caption {
  font-size: 20px;
  font-weight: 600;
  color: var(--ink-900);
  padding: 0 20px;
  margin-bottom: 20px;
}
.storia__caption strong { color: var(--orange-primary); }
.storia__photo { position: relative; margin: 0 20px 14px; border-radius: var(--r-lg); overflow: hidden; }
.storia__photo img { width: 100%; height: 220px; object-fit: cover; }
.storia__label {
  position: absolute; top: 14px; left: 14px;
  font-family: var(--font-body); font-weight: 800; font-size: 12px;
  letter-spacing: .08em; text-transform: uppercase;
  padding: 6px 12px; border-radius: var(--r-pill);
  background: rgba(0,0,0,.55); color: #fff;
}
.storia__label--prima { color: var(--orange-hero); background: rgba(255,255,255,.9); }
.storia__label--dopo { color: #fff; background: rgba(0,0,0,.55); }

/* ============ PROGRAMMA ============ */
.programma { padding: 48px 0; }
.programma__chips {
  display: flex; gap: 8px; flex-wrap: wrap; padding: 0 20px; margin-bottom: 20px;
}
.chip {
  background: #fff; color: var(--ink-900);
  border: 1px solid var(--line);
  font-size: 12px; font-weight: 600;
  padding: 7px 14px; border-radius: var(--r-pill);
}
.programma__card {
  margin: 0 20px;
  background: var(--surface-programma);
  border: 1px solid var(--border-programma);
  border-radius: var(--r-xl);
  padding: 24px 18px;
}
.programma__kicker {
  color: var(--orange-kicker); font-weight: 700; font-size: 12px;
  text-transform: uppercase; letter-spacing: .08em; margin-bottom: 6px;
}
.programma__title {
  font-weight: 800; font-size: 22px; color: var(--ink-heading);
  line-height: 1.2; margin-bottom: 24px;
}

.timeline-group { margin-bottom: 26px; }
.timeline-group:last-child { margin-bottom: 0; }
.timeline-group__tag {
  display: flex; align-items: center; gap: 8px;
  font-weight: 700; font-size: 13px; color: var(--ink-900);
  text-transform: uppercase; letter-spacing: .04em;
  margin-bottom: 14px;
}
.timeline-group__tag .dot {
  width: 8px; height: 8px; border-radius: 50%; background: var(--orange-primary);
}
.timeline-list { display: flex; flex-direction: column; gap: 10px; }
.timeline-item { display: flex; gap: 12px; align-items: flex-start; }
.timeline-item__time {
  flex: 0 0 48px;
  font-family: var(--font-body); font-weight: 800; font-size: 13px;
  color: var(--ink-900); padding-top: 14px; line-height: 1.2;
}
.timeline-item__time--range small { display: block; font-size: 10px; font-weight: 600; color: var(--muted-text); }
.timeline-item__card {
  flex: 1; background: #fff; border: 1px solid var(--border-programma);
  border-radius: 16px; padding: 12px 14px;
}
.timeline-item__card--highlight { background: var(--contest-bg); border-color: var(--contest-border); }
.timeline-item__card--dark { background: var(--ink-950); border-color: var(--ink-950); }
.timeline-item__card--dark .timeline-item__title { color: var(--orange-kicker); }
.timeline-item__card--dark .timeline-item__desc { color: #c9c9c9; }
.timeline-item__head {
  display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-bottom: 4px;
}
.timeline-item__title { font-weight: 700; font-size: 14px; color: var(--ink-heading); }
.timeline-item__desc { font-size: 12.5px; line-height: 1.45; color: var(--ink-body); }
.pill {
  flex: 0 0 auto;
  background: var(--icon-bg-orange); color: var(--orange-primary);
  font-weight: 700; font-size: 11px; padding: 4px 10px; border-radius: var(--r-pill);
}
.pill--dark { background: #4a4a4a; color: #fff; }

/* ============ ATTIVITÀ PRINCIPALI (carosello) ============ */
.attivita { padding: 26px 0 32px; max-width: 100%; background: var(--orange-primary); }
.attivita__title {
  font-weight: 800; font-size: 21px; color: #fff;
  padding: 0 20px; margin-bottom: 18px;
}
.carousel { overflow: hidden; }
.carousel__track {
  display: flex; gap: 12px;
  padding: 0 20px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-padding-inline: 20px;
  scrollbar-width: none;
}
.carousel__track::-webkit-scrollbar { display: none; }
.carousel__card { flex: 0 0 min(350px, calc(100vw - 40px)); scroll-snap-align: start; }
.carousel__label {
  font-weight: 700; font-size: 12px; letter-spacing: .08em; text-transform: uppercase;
  color: #fff; margin-bottom: 16px;
}
.carousel__media {
  position: relative; border-radius: 13px; overflow: hidden;
  aspect-ratio: 350 / 266; background: var(--ink-950);
}
.carousel__media > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.carousel__media-gradient {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,.18) 0%, rgba(0,0,0,0) 55%);
}
.carousel__media-title {
  position: absolute; left: 0; right: 0; top: 19%; z-index: 2;
  font-family: var(--font-body); font-weight: 800; font-size: 32px; line-height: .95;
  text-align: center; color: #fff;
  text-shadow: 0 2px 12px rgba(0,0,0,.35);
}
.carousel__chip {
  position: absolute; left: 13px; bottom: 18px; z-index: 2;
  display: flex; align-items: center; gap: 8px;
  min-height: 35px;
  background: #fff;
  font-size: 15px; font-weight: 500; color: var(--ink-900);
  padding: 5px 18px; border-radius: var(--r-pill);
}
.carousel__chip-logo { height: 25px; width: auto; max-width: 56px; object-fit: contain; }
.carousel__chip-logo--invert { filter: invert(1); }
/* Chip con molti loghi (Riffa): "Premi by" sopra, loghi sotto, sempre dentro la card */
.carousel__chip--logos { right: 13px; flex-wrap: wrap; justify-content: center; gap: 4px 10px; padding: 8px 12px; border-radius: 18px; }
.carousel__chip--logos span { width: 100%; text-align: center; font-size: 12px; line-height: 1.2; }
.carousel__chip--logos .carousel__chip-logo { height: 22px; max-width: 46px; }
.carousel__chip--text span { white-space: nowrap; }

.carousel__nav { display: flex; gap: 16px; padding: 16px 20px 0; justify-content: flex-start; }
.carousel__arrow {
  width: 52px; height: 52px; border-radius: 50%; border: none;
  background: #fff;
  display: flex; align-items: center; justify-content: center;
}
.carousel__arrow--dark { background: #000; }

/* ============ GIOCHI, PREMI, PARTNER ============ */
.giochi { max-width: 100%; padding: 16px 24px 40px; background: var(--surface-100); }
.giochi > * { max-width: calc(var(--container) - 48px); margin-left: auto; margin-right: auto; }
.giochi__card {
  display: flex; flex-direction: column; gap: 12px;
  background: #fff; border-radius: 18px; padding: 16px;
  box-shadow: 0 8px 22px rgba(0,0,0,.08);
}
.giochi__item { display: flex; gap: 12px; align-items: center; }
.giochi__icon {
  flex: 0 0 auto; width: 43px; height: 43px; border-radius: 50%;
  background: var(--surface-100); display: flex; align-items: center; justify-content: center;
}
.giochi__icon svg { width: 18px; height: 18px; }
.giochi__title { font-weight: 700; font-size: 16px; line-height: 1.2; color: #111; margin-bottom: 1px; }
.giochi__desc { font-size: 12.8px; line-height: 1.22; color: #6b6b6b; }

.premi {
  margin-top: 16px;
  background: #fff; border-radius: 18px; padding: 16px;
  box-shadow: 0 8px 22px rgba(0,0,0,.08);
}
.premi__title {
  font-weight: 700; font-size: 12px; letter-spacing: .08em; text-transform: uppercase;
  color: #6b6b6b; margin-bottom: 11px;
}
.premi__grid { display: flex; flex-wrap: wrap; gap: 8px; }
.premi__chip {
  display: inline-flex; align-items: center; height: 30px;
  background: var(--surface-100); color: #111;
  font-size: 12px; font-weight: 700; padding: 0 12px; border-radius: var(--r-pill);
}

.giochi .sponsor__title {
  font-size: 12px; color: #6b6b6b; white-space: nowrap;
  margin: 18px 0 13px;
}
.sponsor__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.sponsor__tile {
  height: 70px; border-radius: 18px; background: #eaeaea;
  display: flex; align-items: center; justify-content: center;
}
.sponsor__tile--wide { grid-column: 1 / -1; } /* su mobile occupa tutta la riga */
.sponsor__logo { height: auto; }
.sponsor__logo--invert { filter: invert(1); }

/* ============ CHI SIAMO ============ */
.chisiamo { max-width: 100%; padding: 48px 20px; background: var(--surface-100); }
.chisiamo__inner { max-width: var(--container); margin: 0 auto; }
.chisiamo__pill {
  display: inline-block; background: #fff0e9; color: var(--orange-primary);
  font-weight: 700; font-size: 11px; letter-spacing: .08em; text-transform: uppercase;
  line-height: 23px; padding: 0 14px; border-radius: var(--r-pill);
}
.chisiamo__title {
  font-weight: 900; font-size: 26px; line-height: 1.1; text-transform: uppercase; letter-spacing: -.01em;
  color: #111; margin: 14px 0 28px;
}
.chisiamo__grid { display: grid; gap: 16px; }
.persona { background: #fff; border-radius: 24px; padding: 24px; box-shadow: 0 8px 24px rgba(0,0,0,.06); }
.persona__head { display: flex; align-items: center; gap: 16px; margin-bottom: 18px; }
.persona__avatars { flex: 0 0 auto; width: 64px; height: 64px; border-radius: 50%; overflow: hidden; }
.persona__avatars img { width: 100%; height: 100%; object-fit: cover; }
.persona__name { font-weight: 800; font-size: 20px; color: #111; line-height: 1.2; }
.persona__role { font-style: italic; font-weight: 500; font-size: 14px; color: var(--orange-primary); margin-top: 4px; }
.persona__bio { font-size: 14px; line-height: 1.45; color: #4b4b4b; }

/* ============ INFO PRATICHE ============ */
.infopratiche { padding: 48px 0; }
.infopratiche__card {
  margin: 0 20px; display: flex; flex-direction: column; gap: 20px;
  background: var(--surface-programma); border: 1px solid var(--border-programma);
  border-radius: var(--r-xl); padding: 22px 18px;
}
.infopratiche__row { display: flex; gap: 14px; }
.infopratiche__icon {
  flex: 0 0 auto; width: 36px; height: 36px; border-radius: 10px;
  background: #fff; display: flex; align-items: center; justify-content: center;
}
.infopratiche__label { font-weight: 700; font-size: 12px; text-transform: uppercase; letter-spacing: .04em; color: var(--muted-text); margin-bottom: 4px; }
.infopratiche__value { font-size: 14px; color: var(--ink-heading); line-height: 1.45; }
.infopratiche__link { display: inline-block; margin-top: 6px; font-size: 13px; font-weight: 700; color: var(--orange-primary); text-decoration: underline; }

/* ============ FOOTER ============ */
.footer { padding: 40px 20px 32px; display: flex; flex-direction: column; gap: 14px; align-items: center; }
.footer__meta { font-size: 12px; color: var(--muted-text); text-align: center; }

/* ============ STICKY BOTTOM BAR ============ */
.sticky-bar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 50;
  max-width: 100%;
  background: var(--ink-900);
  color: #fff;
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  min-height: 76px;
  padding: 14px 16px calc(14px + env(safe-area-inset-bottom));
  box-shadow: 0 -6px 20px rgba(0,0,0,.2);
}
.sticky-bar__text { font-size: 12px; font-weight: 600; line-height: 1.3; }

/* ============ MODALI ============ */
.modal {
  position: fixed; inset: 0; z-index: 100;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 16px;
}
.modal.is-open { display: flex; }
.modal__backdrop { position: absolute; inset: 0; background: rgba(10,10,10,.55); backdrop-filter: blur(2px); }
.modal__panel {
  position: relative; z-index: 2;
  background: #fff;
  width: 100%; max-width: var(--container);
  max-height: 88vh;
  overflow-y: auto;
  border-radius: 28px;
  padding: 28px 22px 32px;
  animation: modal-up .25s ease;
}
@keyframes modal-up { from { transform: translateY(24px); opacity: 0; } to { transform: translateY(0); opacity: 1; } }
.modal__close {
  position: absolute; top: 16px; right: 16px;
  width: 34px; height: 34px; border-radius: 50%;
  background: var(--surface-feature); border: none;
  display: flex; align-items: center; justify-content: center;
  color: var(--ink-900);
}
.modal__title { font-weight: 800; font-size: 22px; color: var(--ink-heading); margin-bottom: 14px; }
.modal__text { font-size: 14px; line-height: 1.6; margin-bottom: 16px; }
.modal__list { display: flex; flex-direction: column; gap: 8px; margin-bottom: 22px; }
.modal__list li { font-size: 13.5px; line-height: 1.5; }
.modal__actions { display: flex; flex-direction: column; gap: 10px; }

/* ---- Booking form (stepper a 4 passaggi) ---- */
.modal--booking { align-items: center; padding: 16px; }
.bk {
  --bk-accent: #ff5a2a;
  --bk-tint: #fff4f0;
  --bk-field: #f2f2f2;
  --bk-muted: #6b6b6b;
  --bk-faint: #8a8a8a;
  --bk-line: #dcdcdc;
  max-width: 420px;
  max-height: calc(100dvh - 32px);
  border-radius: 24px;
  padding: 24px;
  display: flex; flex-direction: column;
  color: #111;
}
.bk[data-step="2"], .bk[data-step="3"], .bk[data-step="4"] { min-height: min(940px, calc(100dvh - 32px)); }
.bk__form { flex: 1; display: flex; flex-direction: column; }

.bk__head { position: relative; padding-bottom: 20px; margin-bottom: 20px; border-bottom: 1px solid var(--bk-line); }
.bk__eyebrow {
  font-weight: 700; font-size: 11px; letter-spacing: .1em; text-transform: uppercase;
  color: var(--bk-accent); margin-bottom: 2px; padding-right: 48px;
}
.bk__title { font-weight: 500; font-size: 23.5px; line-height: 1.25; color: #111; padding-right: 48px; }
.bk__subtitle { font-size: 13px; line-height: 19px; color: var(--bk-muted); margin-top: 6px; max-width: 300px; }
.bk__close {
  position: absolute; top: 0; right: 0;
  width: 36px; height: 36px; border-radius: 50%; border: none;
  background: var(--bk-field); color: #111;
  display: flex; align-items: center; justify-content: center;
}

.bk__steps { display: flex; align-items: flex-start; margin-top: 22px; }
.bk__step { flex: 0 0 72px; display: flex; flex-direction: column; align-items: center; gap: 7px; }
.bk__line { flex: 1; height: 2px; background: var(--bk-line); }
@media (max-width: 440px) { .bk__step { flex-basis: 58px; } .bk { padding: 22px 20px; } }
.bk__line.is-done { background: #111; }
.bk__dot {
  width: 28px; height: 28px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-weight: 700; font-size: 12.5px;
  background: #fff; color: var(--bk-faint); box-shadow: inset 0 0 0 1.5px var(--bk-line);
}
.bk__step-label { font-weight: 600; font-size: 10px; color: var(--bk-faint); white-space: nowrap; }
.bk__step.is-active .bk__dot { background: var(--bk-accent); color: #fff; box-shadow: none; }
.bk__step.is-done .bk__dot { background: #111; color: #fff; box-shadow: none; font-size: 0; }
.bk__step.is-done .bk__dot::before {
  content: ""; width: 10px; height: 5px; margin-top: -3px;
  border: solid #fff; border-width: 0 0 2.5px 2.5px; transform: rotate(-45deg);
}
.bk__step.is-active .bk__step-label, .bk__step.is-done .bk__step-label { color: #111; }
.bk__step.is-active .bk__step-label { font-weight: 700; }

.bk__pane { flex: 1; display: flex; flex-direction: column; }
.bk__pane[hidden] { display: none; }

.bk__event {
  display: flex; align-items: center; gap: 12px;
  background: var(--orange-primary); color: #fff;
  border-radius: 16px; padding: 14px; margin-bottom: 15px;
}
.bk__event-icon {
  flex: 0 0 auto; width: 36px; height: 36px; border-radius: 50%;
  background: #ffe5dc; color: var(--bk-accent);
  display: flex; align-items: center; justify-content: center;
}
.bk__event-title { font-weight: 700; font-size: 13px; line-height: 1.3; }
.bk__event-text { font-size: 12px; line-height: 16px; margin-top: 2px; }

.bk__row { display: flex; gap: 12px; }
.bk__row > .bk__field { flex: 1; min-width: 0; }
.bk__row--kid > .bk__field:last-child { flex: 0 0 104px; }
.bk__field { display: flex; flex-direction: column; margin-bottom: 14px; }
.bk__label {
  display: block; font-weight: 700; font-size: 11px; letter-spacing: .1em; text-transform: uppercase;
  color: var(--bk-muted); margin-bottom: 8px;
}
.bk__input {
  height: 48px; width: 100%;
  border: 1px solid transparent; border-radius: 16px;
  background: var(--bk-field); color: #111;
  font-family: inherit; font-size: 14px; padding: 0 16px;
  -moz-appearance: textfield;
}
.bk__input::placeholder { color: var(--bk-faint); }
.bk__input:focus { outline: none; background: var(--bk-tint); border-color: var(--bk-accent); }
.bk__input.is-invalid { border-color: #d93025; background: #fff5f5; }
.bk__hint { font-size: 12px; line-height: 17px; color: var(--bk-faint); margin-top: 8px; }

/* Step 2 — attività */
.bk__options { display: flex; flex-direction: column; gap: 10px; }
.bk__option {
  position: relative; display: flex; align-items: center; gap: 12px;
  min-height: 72px; padding: 14px;
  background: var(--bk-field); border: 1px solid transparent; border-radius: 16px;
  cursor: pointer;
}
.bk__option:has(input:checked) { background: var(--bk-tint); border-color: var(--bk-accent); }
.bk__option input, .bk__choice input, .bk__check input { position: absolute; opacity: 0; pointer-events: none; }
.bk__radio {
  flex: 0 0 auto; width: 20px; height: 20px; border-radius: 50%;
  border: 1.5px solid #111; background: #fff; position: relative;
}
.bk__option input:checked + .bk__radio { border: 2px solid var(--bk-accent); }
.bk__option input:checked + .bk__radio::after {
  content: ""; position: absolute; inset: 3px; border-radius: 50%; background: var(--bk-accent);
}
.bk__option input:focus-visible + .bk__radio, .bk__choice input:focus-visible + .bk__radio, .bk__check input:focus-visible + .bk__box {
  outline: 2px solid var(--bk-accent); outline-offset: 2px;
}
.bk__radio--check { border-radius: 6px; }
.bk__option input:checked + .bk__radio--check { border: none; background: var(--bk-accent); }
.bk__option input:checked + .bk__radio--check::after {
  inset: auto; left: 6px; top: 3px; width: 6px; height: 11px; border-radius: 0; background: none;
  border: solid #fff; border-width: 0 2.5px 2.5px 0; transform: rotate(45deg);
}
.bk__option-body { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 3px; }
.bk__option:has(.bk__badge) .bk__option-body { padding-right: 64px; }
.bk__option-title { font-weight: 700; font-size: 13px; line-height: 1.3; }
.bk__option-sub { font-size: 12px; color: var(--bk-muted); }
.bk__badge {
  position: absolute; top: 17px; right: 14px;
  background: #fff; color: var(--bk-muted);
  font-weight: 700; font-size: 10.5px; line-height: 20px; padding: 0 8px; border-radius: 999px;
}
.bk__option:has(input:checked) .bk__badge { background: #ffe5dc; color: var(--bk-accent); }

.bk__kid {
  margin-top: 10px; padding: 16px;
  background: var(--bk-tint); border: 1px solid var(--bk-accent); border-radius: 16px;
}
.bk__kid[hidden] { display: none; }
.bk__kid-head { display: flex; align-items: center; gap: 8px; color: var(--bk-accent); }
.bk__kid-title { flex: 1; font-weight: 700; font-size: 13px; color: #111; }
.bk__tag {
  background: #ffe2d6; color: var(--bk-accent);
  font-weight: 700; font-size: 10.5px; letter-spacing: .04em; text-transform: uppercase;
  line-height: 18px; padding: 0 8px; border-radius: 999px;
}
.bk__kid-text { font-size: 12px; line-height: 17px; color: var(--bk-muted); margin: 10px 0 12px; }
.bk__kid .bk__field { margin-bottom: 0; }
.bk__kid .bk__check { margin-top: 14px; }
.bk__cena .bk__check { margin: 0 0 20px; }
.bk__kid .bk__input { background: #f0eeed; }

/* Step 3 — cena */
.bk__choices { display: flex; gap: 12px; margin-bottom: 20px; }
.bk__choice {
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 12px;
  height: 48px; min-width: 91px; padding: 0 26px;
  background: #fff; border: 1px solid var(--bk-line); border-radius: 999px;
  font-size: 15px; color: #111; cursor: pointer;
}
.bk__choice .bk__radio { width: 14px; height: 14px; border: 1.5px solid #707070; }
.bk__choice:has(input:checked) { border: 1.5px solid var(--bk-accent); }
.bk__choice input:checked + .bk__radio { border: 2px solid var(--bk-accent); background: #fff; }
.bk__choice input:checked + .bk__radio::after {
  content: ""; position: absolute; inset: 1.5px; border-radius: 50%; background: #111;
}
.bk__choice--sm { height: 38px; min-width: 78px; padding: 0 18px; gap: 10px; }

.bk__cena[hidden] { display: none; }
.bk__diet { background: var(--bk-field); border-radius: 20px; padding: 18px; margin-bottom: 20px; }
.bk__diet-title { font-weight: 700; font-size: 15.5px; }
.bk__diet-text { font-size: 13px; line-height: 18px; color: var(--bk-muted); margin: 4px 0 16px; }
.bk__diet-row { display: flex; align-items: center; gap: 6px; }
.bk__diet-row + .bk__diet-row { margin-top: 14px; }
.bk__diet-label { flex: 0 0 97px; font-weight: 700; font-size: 15px; }
.bk__diet .bk__choice { border-color: #ececec; }

.bk__info { background: var(--bk-tint); border-radius: 16px; padding: 14px; margin-top: 14px; }
.bk__info-title { font-weight: 700; font-size: 13.5px; }
.bk__info-text { font-size: 12.5px; line-height: 17px; color: var(--bk-muted); margin-top: 4px; }

/* Step 4 — riepilogo */
.bk__summary { background: var(--bk-field); border-radius: 20px; padding: 16px; margin-bottom: 20px; }
.bk__summary-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 10px; }
.bk__summary-title { font-weight: 700; font-size: 15.5px; }
.bk__edit {
  display: inline-flex; align-items: center; gap: 6px; border: none; background: none; padding: 0;
  color: var(--bk-accent); font-weight: 700; font-size: 13.5px;
}
.bk__summary-list { display: grid; grid-template-columns: 100px 1fr; row-gap: 12px; margin: 0; }
.bk__summary-list dt { font-weight: 700; font-size: 12.5px; color: var(--bk-muted); }
.bk__summary-list dd { white-space: pre-line; margin: 0; font-weight: 600; font-size: 12.5px; color: #111; }

.bk__checks { display: flex; flex-direction: column; gap: 12px; }
.bk__check { position: relative; display: flex; align-items: flex-start; gap: 10px; font-size: 12.5px; line-height: 18px; cursor: pointer; }
.bk__box {
  flex: 0 0 auto; width: 20px; height: 20px; border-radius: 5px;
  border: 1.5px solid #111; background: #fff;
  display: flex; align-items: center; justify-content: center;
}
.bk__check input:checked + .bk__box { background: #111; }
.bk__check input:checked + .bk__box::after {
  content: ""; width: 9px; height: 4.5px; margin-top: -2px;
  border: solid #fff; border-width: 0 0 2px 2px; transform: rotate(-45deg);
}
.bk__check.is-invalid .bk__box { border-color: #d93025; }
.bk__hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.bk__inline-error { font-size: 12.5px; font-weight: 600; color: #d93025; margin: -8px 0 16px; }

.bk__ready {
  display: flex; align-items: center; gap: 10px; margin-top: 20px;
  background: var(--bk-tint); border: 1px solid var(--bk-accent); border-radius: 16px; padding: 14px;
  font-size: 12.5px; line-height: 17px;
}
.bk__ready[hidden] { display: none; }
.bk__ready-icon {
  flex: 0 0 auto; width: 32px; height: 32px; border-radius: 50%;
  background: var(--bk-accent); color: #fff;
  display: flex; align-items: center; justify-content: center;
}

/* Footer azioni */
.bk__foot { margin-top: auto; padding-top: 16px; }
.bk__note { font-size: 12px; line-height: 17px; color: var(--bk-faint); margin-bottom: 14px; }
.bk__actions { display: flex; gap: 12px; }
.bk__btn {
  flex: 1; height: 48px; border-radius: 999px;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  font-family: inherit; font-weight: 800; font-size: 13px; cursor: pointer;
}
.bk__btn--dark { background: #111; color: #fff; border: none; }
.bk__btn--outline { background: #fff; color: #111; border: 1.5px solid #111; }
.bk__btn:disabled { opacity: .6; cursor: not-allowed; }
.bk__footnote { font-size: 12px; line-height: 17px; color: var(--bk-faint); text-align: center; margin-top: 18px; }

.booking-form__status { font-size: 13px; text-align: center; margin-top: 10px; }
.booking-form__status:empty { display: none; }
.booking-form__status.is-success { color: #1e7a37; font-weight: 700; }
.booking-form__status.is-error { color: #c0392b; font-weight: 700; }

/* ---- Pagina "Partecipa all'evento" ---- */
.page-partecipa { background: var(--surface-100); padding-bottom: 0; }
.pp-header {
  display: flex; align-items: center; justify-content: space-between;
  max-width: 420px; margin: 0 auto; padding: 18px 16px 6px;
}
.pp-header__back, .pp-header__spacer {
  width: 40px; height: 40px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
}
.pp-header__back { background: #fff; color: #111; }
.pp-header__logo img { width: 116px; height: auto; display: block; }
.pp-main { padding: 12px 16px 40px; }
.bk--page {
  margin: 0 auto; background: #fff;
  max-height: none; box-shadow: 0 10px 30px rgba(0,0,0,.06);
}
.bk--page[data-step] { min-height: 0; }
.bk--page .bk__close { text-decoration: none; }
.bk--page .bk__btn { text-decoration: none; }

/* ---- Pagina informativa privacy ---- */
.legal {
  max-width: 720px; margin: 0 auto; background: #fff; border-radius: 24px;
  padding: 28px 22px 32px; box-shadow: 0 10px 30px rgba(0,0,0,.06);
  font-size: 14.5px; line-height: 1.6; color: #333;
}
.legal__eyebrow { font-weight: 700; font-size: 11.5px; letter-spacing: .1em; text-transform: uppercase; color: var(--orange-primary); }
.legal__title { font-weight: 800; font-size: 28px; line-height: 1.15; color: #111; margin: 4px 0 4px; }
.legal__updated { font-size: 12.5px; color: var(--muted-text); margin-bottom: 20px; }
.legal h2 { font-weight: 800; font-size: 17px; color: #111; margin: 28px 0 8px; }
.legal p { margin-bottom: 12px; }
.legal ul { list-style: disc; padding-left: 20px; margin-bottom: 12px; }
.legal li { margin-bottom: 6px; }
.legal a { color: var(--orange-primary); font-weight: 600; text-decoration: underline; }
.legal strong { color: #111; }
.legal__todo { background: #fff3a6; color: #111; font-weight: 800; padding: 1px 6px; border-radius: 4px; }
.legal .legal__back { display: flex; margin-top: 28px; color: #fff; text-decoration: none; }
.footer__links { font-size: 12px; }
.footer__links a { color: var(--muted-text); text-decoration: underline; }
.bk__check a { color: var(--orange-primary); font-weight: 700; text-decoration: underline; }

/* ============ RESPONSIVE: DESKTOP ============ */
@media (min-width: 900px) {
  section, footer.footer { max-width: 980px; }
  .hero { aspect-ratio: auto; height: clamp(640px, 52.4vw, 860px); }
  .hero { background: #fff; }
  .hero__bg-img { object-position: center bottom; opacity: .35; }
  .hero__bg::after {
    content: ""; position: absolute; inset: 0; pointer-events: none;
    background: radial-gradient(ellipse 40% 60% at 50% 50%, rgba(255,255,255,.85) 0%, rgba(255,255,255,.6) 50%, rgba(255,255,255,0) 100%);
  }
  .hero__inner { max-width: 980px; padding: 80px 24px 40px; }
  .hero__brand { width: 150px; margin: -48px 0 30px; }
  .hero__top { align-self: center; justify-content: center; gap: 16px; }
  .hero__badge-eyebrow { font-size: 15px; }
  .hero__badge-date { font-size: 15.5px; }
  .hero__info-btn {
    width: 40px; height: 40px;
    background: #fff; color: var(--orange-primary);
    box-shadow: inset 0 0 0 3px var(--orange-primary);
  }
  .hero__info-btn svg { width: 20px; height: 20px; stroke-width: 3.4; }
  .hero__title-wrap { margin-top: 26px; }
  .hero__logo { width: 420px; }
  .hero__lead {
    display: block; max-width: 480px; margin-top: 26px;
    font-size: 17.5px; line-height: 1.24; text-align: center; color: #222;
  }
  .hero__cta { margin-top: 38px; }
  .hero__cta .btn { font-size: 14px; height: 44px; padding: 0 30px; }
  /* Attività principali: griglia 3x2 al posto del carosello */
  .attivita { padding: 100px 80px 100px; }
  .attivita > * { max-width: 1280px; margin-left: auto; margin-right: auto; }
  .attivita__title { font-size: 40.5px; font-weight: 900; text-transform: uppercase; letter-spacing: -.01em; padding: 0; margin-bottom: 36px; }
  .carousel__track {
    display: grid; grid-template-columns: repeat(3, 1fr); gap: 27px 24px;
    padding: 0; overflow: visible; scroll-snap-type: none;
  }
  .carousel__card { flex: none; }
  .carousel__label { margin-bottom: 18px; }
  .carousel__media { aspect-ratio: 410 / 266; }
  .carousel__media-title { font-size: 35px; }
  .carousel__nav { display: none; }
  /* Info pratiche: 4 card affiancate */
  .infopratiche { max-width: 1440px; padding: 80px 80px 100px; }
  .infopratiche .eyebrow { margin: 0 0 40px; font-size: 14px; letter-spacing: .1em; }
  .infopratiche__card {
    margin: 0; padding: 0; background: none; border: none; border-radius: 0;
    display: grid; grid-template-columns: repeat(4, 1fr); gap: 31px;
  }
  .infopratiche__row {
    display: grid; grid-template-columns: 35px 1fr; column-gap: 12px; align-content: start;
    min-height: 173px; padding: 23px 23px 30px; border-radius: 20px; background: #f5f5f5;
  }
  .infopratiche__row > div:last-child { display: contents; }
  .infopratiche__icon { width: 35px; height: 35px; border-radius: 50%; background: var(--orange-primary); }
  .infopratiche__icon svg { stroke: #fff; }
  .infopratiche__label { align-self: center; margin: 0; font-weight: 800; font-size: 12px; letter-spacing: 0; }
  .infopratiche__value, .infopratiche__link { grid-column: 1 / -1; }
  .infopratiche__value { margin-top: 14px; font-size: 14px; line-height: 1.2; color: #111; }
  .infopratiche__link { justify-self: start; margin-top: 12px; font-size: 13.5px; }
  /* Cos'è Skate Quiver: testo a sinistra, fanzina a destra */
  .project {
    max-width: 1440px; padding: 150px 80px;
    display: grid; grid-template-columns: 600px 1fr; align-items: center; column-gap: 60px;
  }
  .project__card { padding: 0; }
  .project .eyebrow { margin: 0 0 10px; font-size: 13px; letter-spacing: .02em; }
  .project__heading { font-size: 45px; font-weight: 900; letter-spacing: -.02em; line-height: 1.1; margin-bottom: 30px; }
  .project__intro p { font-size: 17.5px; line-height: 1.25; margin-bottom: 22px; }
  .features { margin-top: 32px; gap: 16px; }
  .feature { align-items: center; gap: 20px; padding: 16px 20px; border-radius: 18px; background: #f6f6f6; }
  .feature__icon { width: 47px; height: 47px; border-radius: 10px; }
  .feature__title { font-weight: 800; font-size: 15.5px; text-transform: uppercase; margin-bottom: 2px; }
  .feature__desc { font-size: 13.5px; line-height: 1.4; }
  .project__fanzina { display: block; width: 540px; max-width: 100%; height: auto; justify-self: center; }
  .showcase { display: none; }
  .storia { display: grid; grid-template-columns: 1fr 1fr; grid-template-rows: auto auto; gap: 0 24px; align-items: start; }
  .storia__caption { grid-column: 1 / -1; }
  .programma__card { padding: 32px; }
  /* Giochi, premi e partner */
  .giochi { padding: 80px 80px 100px; background: #fff; }
  .giochi > * { max-width: 1280px; }
  .giochi__card { display: none; }
  .giochi__bottom { display: grid; grid-template-columns: 1fr 1fr; column-gap: 40px; align-items: start; }
  .premi { margin: 0; padding: 0; background: none; box-shadow: none; border-radius: 0; }
  .premi__title, .giochi .sponsor__title { font-size: 14px; letter-spacing: .1em; margin: 0 0 22px; }
  .premi__grid { gap: 12px; }
  .premi__chip { height: 40px; padding: 0 19px; font-size: 14px; border-radius: 999px; }
  .sponsor__grid { grid-template-columns: repeat(3, 1fr); gap: 16px; align-items: center; }
  .sponsor__tile { height: 72px; border-radius: 18px; background: var(--surface-100); }
  .sponsor__tile--wide { grid-column: auto; }
  .chisiamo { padding: 100px 80px; }
  .chisiamo__inner { max-width: 1280px; }
  .chisiamo__title { font-size: 40px; margin: 22px 0 48px; }
  .chisiamo__grid { grid-template-columns: 1fr 1fr; gap: 40px; }
  .persona { border-radius: 28px; padding: 32px 32px 33px; }
  .persona__head { margin-bottom: 23px; }
  .persona__avatars { width: 80px; height: 80px; }
  .persona__name { font-size: 23px; }
  .persona__role { font-size: 14.5px; }
  .persona__bio { font-size: 14.2px; line-height: 17.5px; }
  .modal--booking .modal__panel { margin-bottom: 0; }
  .modal { align-items: center; }
}
