/* Moto dei Miti | Accreditamento EICMA — identità ispirata a motodeimiti.com */

@font-face { font-family: 'Oswald'; font-style: normal; font-weight: 500; font-display: swap; src: url('/fonts/oswald-latin-500-normal.woff2') format('woff2'); }
@font-face { font-family: 'Oswald'; font-style: normal; font-weight: 600; font-display: swap; src: url('/fonts/oswald-latin-600-normal.woff2') format('woff2'); }
@font-face { font-family: 'Oswald'; font-style: normal; font-weight: 700; font-display: swap; src: url('/fonts/oswald-latin-700-normal.woff2') format('woff2'); }
@font-face { font-family: 'Barlow'; font-style: normal; font-weight: 400; font-display: swap; src: url('/fonts/barlow-latin-400-normal.woff2') format('woff2'); }
@font-face { font-family: 'Barlow'; font-style: normal; font-weight: 500; font-display: swap; src: url('/fonts/barlow-latin-500-normal.woff2') format('woff2'); }
@font-face { font-family: 'Barlow'; font-style: normal; font-weight: 600; font-display: swap; src: url('/fonts/barlow-latin-600-normal.woff2') format('woff2'); }

:root {
  --bg: #111114;
  --bg-2: #16161a;
  --surface: #1d1d22;
  --surface-2: #26262c;
  --field: #141418;
  --line: #2e2e35;
  --line-strong: #45454f;
  --text: #f3f1ec;
  --text-2: #c9c7c1;
  --muted: #94939b;
  --red: #e31b23;
  --red-hover: #ff2d35;
  --red-deep: #a90f16;
  --gold: #d6b47c;
  --gold-soft: rgba(214, 180, 124, .16);
  --green: #3fbf74;
  --amber: #f0b43c;
  --error: #ff6b70;
  --display: 'Oswald', 'Arial Narrow', 'Roboto Condensed', sans-serif;
  --body: 'Barlow', 'Segoe UI', system-ui, -apple-system, sans-serif;
  --radius: 6px;
  --shadow: 0 30px 60px -20px rgba(0, 0, 0, .7), 0 0 0 1px rgba(255, 255, 255, .03);
  --ease: cubic-bezier(.2, .7, .2, 1);
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-padding-top: 90px; }
body {
  margin: 0; min-height: 100vh; display: flex; flex-direction: column;
  background: var(--bg); color: var(--text);
  font: 400 1rem/1.6 var(--body);
  -webkit-font-smoothing: antialiased;
}
main { flex: 1 0 auto; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--gold); text-underline-offset: 3px; text-decoration-thickness: 1px; }
a:hover { color: #ecd09f; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; border-radius: 2px; }
h1, h2, h3 { font-family: var(--display); font-weight: 600; line-height: 1.1; margin: 0; letter-spacing: .005em; }
p { margin: 0 0 1em; }
code { font-size: .9em; background: var(--surface-2); padding: .1em .35em; border-radius: 4px; }
.container { width: 100%; max-width: 1240px; margin: 0 auto; padding: 0 20px; }
.muted { color: var(--muted); }
.nowrap { white-space: nowrap; }
.break { overflow-wrap: anywhere; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip-link { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--red); color: #fff; padding: 10px 16px; border-radius: var(--radius); font-weight: 600; }
.skip-link:focus { top: 12px; }
mark.ph { background: #f0b43c; color: #1a1406; padding: .05em .35em; border-radius: 3px; font-weight: 600; font-size: .92em; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 20;
  background: rgba(17, 17, 20, .92);
  border-bottom: 1px solid rgba(255, 255, 255, .06);
}
@supports (backdrop-filter: blur(8px)) { .site-header { background: rgba(17, 17, 20, .78); backdrop-filter: blur(10px); } }
.site-header__inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 72px; }
.brand { display: flex; align-items: center; gap: 12px; color: var(--text); text-decoration: none; }
.brand:hover { color: var(--text); }
.brand__logo { width: 50px; height: auto; filter: drop-shadow(0 4px 10px rgba(0, 0, 0, .6)); }
.brand__text { display: flex; flex-direction: column; line-height: 1.15; }
.brand__name { font-family: var(--display); font-weight: 600; font-size: 1.15rem; text-transform: uppercase; letter-spacing: .06em; }
.brand__sub { font-size: .78rem; color: var(--gold); letter-spacing: .04em; }
.site-header__inner > .site-nav { margin-left: auto; }
.site-nav { display: flex; gap: 4px; }
.social { display: inline-flex; gap: 6px; align-items: center; }
.social__link {
  display: inline-grid; place-items: center; width: 36px; height: 36px; border-radius: 50%;
  color: var(--text-2); border: 1px solid var(--line-strong); transition: color .2s, border-color .2s, background-color .2s;
}
.social__link svg { width: 18px; height: 18px; fill: currentColor; }
.social__link:hover { color: #fff; border-color: var(--red); background: var(--red); }
.site-footer__social { display: inline-flex; align-items: center; gap: 10px; margin-top: 6px; color: var(--text-2); }
.site-nav a {
  font-family: var(--display); font-weight: 500; text-transform: uppercase; letter-spacing: .08em; font-size: .82rem;
  color: var(--text-2); text-decoration: none; padding: 8px 12px; border-radius: 4px; position: relative;
  transition: color .2s var(--ease);
}
.site-nav a::after {
  content: ''; position: absolute; left: 12px; right: 12px; bottom: 3px; height: 2px; background: var(--red);
  transform: scaleX(0); transform-origin: left; transition: transform .25s var(--ease);
}
.site-nav a:hover, .site-nav a[aria-current] { color: var(--text); }
.site-nav a:hover::after, .site-nav a[aria-current]::after { transform: scaleX(1); }

/* ---------- Hero ---------- */
.hero { position: relative; isolation: isolate; overflow: hidden; }
.hero__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 40%; z-index: -2; }
.hero::before {
  content: ''; position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(90deg, rgba(17, 17, 20, .95) 0%, rgba(17, 17, 20, .74) 36%, rgba(17, 17, 20, .38) 60%, rgba(17, 17, 20, .86) 100%),
    linear-gradient(180deg, rgba(17, 17, 20, .2) 0%, rgba(17, 17, 20, .1) 60%, var(--bg) 100%);
}
.hero__inner {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(400px, 540px); gap: 64px;
  padding-top: 72px; padding-bottom: 88px; align-items: start;
}
.hero__copy { position: sticky; top: 120px; padding-top: 24px; animation: rise .7s var(--ease) both; }
.hero__form { animation: rise .7s .12s var(--ease) both; }

.hero__logo { width: 116px; height: auto; margin: 0 0 26px; filter: drop-shadow(0 12px 28px rgba(0, 0, 0, .65)); }
.kicker {
  display: flex; flex-wrap: wrap; align-items: center; gap: 4px 10px; margin: 0 0 22px;
  font-family: var(--display); font-weight: 500; text-transform: uppercase; letter-spacing: .2em; font-size: .85rem; color: var(--text-2);
}
.kicker::before { content: ''; width: 6px; height: 22px; background: var(--red); border-radius: 2px; margin-right: 6px; }
.kicker i { font-style: normal; color: var(--red); letter-spacing: 0; }
.kicker--center { justify-content: center; }
.kicker--center::before { display: none; }

.hero__title {
  font-size: clamp(2.7rem, 6.2vw, 5.2rem); font-weight: 700; line-height: .98; letter-spacing: -.005em;
  text-transform: uppercase; margin-bottom: 24px; text-shadow: 0 6px 30px rgba(0, 0, 0, .5);
}
.hero__title span { display: block; color: var(--gold); }
.hero__lead { font-size: clamp(1.08rem, 1.6vw, 1.3rem); line-height: 1.55; color: var(--text-2); max-width: 34em; margin-bottom: 32px; }

.hero__lead strong { color: var(--text); font-weight: 600; }
.benefit {
  display: flex; gap: 16px; align-items: flex-start; max-width: 520px; margin-bottom: 14px;
  background: linear-gradient(135deg, rgba(214, 180, 124, .2), rgba(29, 29, 34, .88) 70%);
  border: 1px solid rgba(214, 180, 124, .45); border-radius: var(--radius); padding: 20px 22px;
}
.benefit__icon { width: 34px; height: 34px; flex: none; fill: var(--gold); margin-top: 2px; }
.benefit__label { font-family: var(--display); text-transform: uppercase; letter-spacing: .16em; font-size: .75rem; color: var(--gold); margin: 0 0 2px; }
.benefit__title { font-family: var(--display); font-weight: 700; font-size: 1.6rem; text-transform: uppercase; line-height: 1.15; margin: 0 0 6px; }
.benefit__text { margin: 0; color: var(--text-2); font-size: .95rem; line-height: 1.45; }
.pickup {
  display: flex; gap: 16px; align-items: flex-start; max-width: 480px;
  background: rgba(29, 29, 34, .82); border: 1px solid rgba(255, 255, 255, .07); border-left: 4px solid var(--red);
  border-radius: var(--radius); padding: 18px 20px; margin-bottom: 36px;
}
.pickup__icon { width: 30px; height: 30px; flex: none; fill: var(--red); margin-top: 2px; }
.pickup__label { font-family: var(--display); text-transform: uppercase; letter-spacing: .16em; font-size: .75rem; color: var(--gold); margin: 0 0 2px; }
.pickup__place { font-family: var(--display); font-weight: 600; font-size: 1.35rem; text-transform: uppercase; letter-spacing: .03em; margin: 0; line-height: 1.2; }
.pickup__details { margin: 6px 0 0; color: var(--text-2); font-size: .95rem; }

.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; max-width: 640px; background: rgba(255, 255, 255, .08); border-radius: var(--radius); overflow: hidden; }
.steps li { background: rgba(17, 17, 20, .82); padding: 16px 16px 18px; display: flex; flex-direction: column; gap: 2px; }
.steps__n { font-family: var(--display); font-weight: 700; font-size: 1.5rem; color: var(--gold); line-height: 1; margin-bottom: 8px; }
.steps strong { font-family: var(--display); font-weight: 600; text-transform: uppercase; letter-spacing: .05em; font-size: 1rem; }
.steps li span:last-child { color: var(--muted); font-size: .88rem; line-height: 1.4; overflow-wrap: anywhere; }

/* ---------- Card & form ---------- */
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); }
.card--form { border-top: 4px solid var(--red); padding: 32px 32px 28px; }
.card__head { margin-bottom: 20px; }
.card__title { font-size: 1.7rem; text-transform: uppercase; letter-spacing: .03em; margin-bottom: 6px; }
.card__intro { color: var(--muted); font-size: .92rem; margin: 0; }

.group { border: 0; margin: 0 0 8px; padding: 0; min-width: 0; }
.group + .group { border-top: 1px solid var(--line); padding-top: 22px; margin-top: 6px; }
.group__title {
  display: flex; align-items: center; gap: 10px; padding: 0; margin-bottom: 16px;
  font-family: var(--display); font-weight: 600; text-transform: uppercase; letter-spacing: .12em; font-size: .85rem; color: var(--text-2);
}
.group__title span {
  display: inline-grid; place-items: center; width: 24px; height: 24px; border-radius: 50%;
  background: var(--gold-soft); color: var(--gold); font-size: .78rem; letter-spacing: 0;
}
.row { display: grid; grid-template-columns: 1fr 1fr; gap: 0 16px; }
.field { margin-bottom: 18px; min-width: 0; }
.field label, .field .label { display: block; font-weight: 600; font-size: .93rem; color: var(--text); margin: 0 0 7px; }
.label__note { font-weight: 400; color: var(--muted); }
.field input[type="text"], .field input[type="email"], .field input[type="tel"], .field input[type="date"], .field input[type="password"], .field input[type="search"], .field select, .field textarea {
  width: 100%; min-height: 50px; padding: 12px 14px;
  font: 500 1rem/1.3 var(--body); color: var(--text);
  background: var(--field); border: 1px solid var(--line-strong); border-radius: var(--radius);
  transition: border-color .15s, box-shadow .15s, background-color .15s;
  -webkit-appearance: none; appearance: none;
}
.field textarea { min-height: 90px; resize: vertical; }
.field input::placeholder { color: #6c6b73; }
.field input:hover, .field select:hover, .field textarea:hover { border-color: #5a5a64; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--gold); box-shadow: 0 0 0 3px rgba(214, 180, 124, .22); background: #18181d; }
.field input[type="date"] { color-scheme: dark; }
.field input[type="date"]::-webkit-calendar-picker-indicator { filter: invert(.8); cursor: pointer; }
.field select {
  padding-right: 42px; cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23d6b47c'%3E%3Cpath d='M7 10l5 5 5-5z'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 12px center; background-size: 22px;
}
.field select option { background: var(--surface); color: var(--text); }
.field__hint { font-size: .84rem; color: var(--muted); margin: 6px 0 0; line-height: 1.4; }
.field__error { display: flex; gap: 6px; align-items: flex-start; font-size: .87rem; font-weight: 500; color: var(--error); margin: 7px 0 0; line-height: 1.35; }
.field__error::before { content: '!'; flex: none; display: inline-grid; place-items: center; width: 17px; height: 17px; margin-top: 1px; border-radius: 50%; background: var(--error); color: #1a0606; font-size: .72rem; font-weight: 700; }
.field__error[hidden] { display: none; }
.has-error input, .has-error select, .has-error textarea { border-color: var(--error) !important; }
.has-error input:focus, .has-error select:focus { box-shadow: 0 0 0 3px rgba(255, 107, 112, .22) !important; }

.segmented { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.segmented input { position: absolute; opacity: 0; pointer-events: none; }
.segmented label {
  display: flex; align-items: center; justify-content: center; min-height: 50px; margin: 0; cursor: pointer;
  font-family: var(--display); font-weight: 600; text-transform: uppercase; letter-spacing: .1em; font-size: 1rem;
  background: var(--field); border: 1px solid var(--line-strong); border-radius: var(--radius); color: var(--text-2);
  transition: background-color .15s, border-color .15s, color .15s;
}
.segmented label:hover { border-color: #5a5a64; color: var(--text); }
.segmented input:checked + label { background: var(--red); border-color: var(--red); color: #fff; }
.segmented input:focus-visible + label { outline: 2px solid var(--gold); outline-offset: 2px; }
.has-error .segmented label { border-color: var(--error); }
.conditional { animation: fade .25s var(--ease); }
.conditional[hidden] { display: none; }

.check { display: grid; grid-template-columns: 24px 1fr; gap: 4px 12px; align-items: start; padding: 14px 0; }
.check + .check { border-top: 1px dashed var(--line); }
.check input {
  -webkit-appearance: none; appearance: none; width: 24px; height: 24px; margin: 1px 0 0; cursor: pointer;
  background: var(--field); border: 1.5px solid var(--line-strong); border-radius: 5px;
  transition: background-color .15s, border-color .15s;
}
.check input:hover { border-color: var(--gold); }
.check input:checked {
  background: var(--red) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='white'%3E%3Cpath d='M9.5 16.2 5.3 12l-1.4 1.4 5.6 5.6 11-11-1.4-1.4z'/%3E%3C/svg%3E") center / 18px no-repeat;
  border-color: var(--red);
}
.check label { font-size: .93rem; line-height: 1.5; color: var(--text-2); cursor: pointer; }
.check .field__hint, .check .field__error { grid-column: 2; }
.check.has-error input { border-color: var(--error); }
.tag {
  display: inline-block; vertical-align: 1px; margin-left: 4px; padding: 1px 7px; border-radius: 3px;
  font-family: var(--display); font-weight: 500; font-size: .66rem; letter-spacing: .1em; text-transform: uppercase;
  background: var(--surface-2); color: var(--muted);
}
.tag--req { background: rgba(227, 27, 35, .14); color: #ff8c90; }
.tag--gadget { background: var(--gold-soft); color: var(--gold); }
.check--gadget { background: rgba(214, 180, 124, .06); border: 1px solid rgba(214, 180, 124, .3) !important; border-radius: var(--radius); padding: 14px 12px; margin-top: 6px; }
.prefs-form { text-align: left; margin-top: 18px; }
.prefs-form p { color: var(--text-2); font-size: .95rem; }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }

/* ---------- Buttons ---------- */
.btn {
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 12px 26px; border: 1px solid transparent; border-radius: var(--radius); cursor: pointer;
  font-family: var(--display); font-weight: 600; font-size: 1.05rem; letter-spacing: .08em; text-transform: uppercase;
  text-decoration: none; transition: background-color .2s, border-color .2s, color .2s, transform .15s var(--ease), box-shadow .2s;
}
.btn:active { transform: translateY(1px); }
.btn--block { width: 100%; }
.btn--primary { background: var(--red); color: #fff; box-shadow: 0 10px 24px -10px rgba(227, 27, 35, .8); }
.btn--primary:hover { background: var(--red-hover); color: #fff; transform: translateY(-1px); box-shadow: 0 14px 28px -10px rgba(227, 27, 35, .9); }
.btn--ghost { background: transparent; color: var(--text); border-color: var(--line-strong); }
.btn--ghost:hover { border-color: var(--gold); color: var(--gold); }
.btn--sm { min-height: 40px; padding: 8px 16px; font-size: .9rem; }
.btn[disabled], .btn.is-loading { cursor: progress; opacity: .85; transform: none; }
.btn__spinner { display: none; width: 18px; height: 18px; border: 2px solid rgba(255, 255, 255, .35); border-top-color: #fff; border-radius: 50%; animation: spin .7s linear infinite; }
.btn.is-loading .btn__spinner { display: inline-block; }
.reg-form .btn--primary { margin-top: 18px; min-height: 58px; font-size: 1.15rem; }
.form-note { margin: 14px 0 0; font-size: .85rem; color: var(--muted); text-align: center; line-height: 1.45; }
.form-note strong { color: var(--text-2); font-weight: 600; }

/* ---------- Alerts & badges ---------- */
.alert { border-radius: var(--radius); padding: 14px 16px; margin: 0 0 20px; font-size: .94rem; line-height: 1.5; border: 1px solid; }
.alert[hidden] { display: none; }
.alert strong { display: block; margin-bottom: 2px; }
.alert--error { background: rgba(255, 107, 112, .09); border-color: rgba(255, 107, 112, .4); color: #ffd0d2; }
.alert--success { background: rgba(63, 191, 116, .1); border-color: rgba(63, 191, 116, .4); color: #c9f2d9; }
.alert--info { background: var(--gold-soft); border-color: rgba(214, 180, 124, .4); color: #f1e2c6; }
.alert--draft { background: rgba(240, 180, 60, .1); border-color: rgba(240, 180, 60, .45); color: #f6dfae; }
.alert--success strong, .alert--info strong { display: inline; }

.badge {
  display: inline-flex; align-items: center; gap: 8px; padding: 6px 12px; border-radius: 999px;
  font-family: var(--display); font-weight: 600; font-size: .78rem; letter-spacing: .12em; text-transform: uppercase;
  background: var(--surface-2); color: var(--text-2);
}
.badge .dot { width: 8px; height: 8px; border-radius: 50%; background: currentColor; }
.badge--ok { background: rgba(63, 191, 116, .14); color: #6fe09b; }
.badge--warn { background: rgba(240, 180, 60, .14); color: #f6c766; }
.badge--err { background: rgba(255, 107, 112, .14); color: #ff8c90; }
.badge--info { background: var(--gold-soft); color: var(--gold); }
.badge--lg { font-size: .9rem; padding: 9px 18px; margin: 4px 0 22px; }

/* ---------- Notice strip ---------- */
.notice-strip { border-top: 1px solid var(--line); background: var(--bg-2); }
.notice-strip__inner { padding-top: 26px; padding-bottom: 26px; }
.notice-strip p { margin: 0; color: var(--muted); font-size: .92rem; max-width: 900px; }
.notice-strip strong { color: var(--text-2); }

/* ---------- Status pages ---------- */
.status { position: relative; isolation: isolate; padding: 56px 0 80px; }
.status::before {
  content: ''; position: absolute; inset: 0 0 auto; height: 420px; z-index: -1;
  background: linear-gradient(180deg, rgba(17, 17, 20, .55), var(--bg)), url('/img/hero-sm.jpg') center 40% / cover no-repeat;
  opacity: .5;
}
.status__inner { display: flex; justify-content: center; }
.status-card { width: 100%; max-width: 600px; padding: 40px 40px 32px; text-align: center; border-top: 4px solid var(--red); animation: rise .6s var(--ease) both; }
.status-card--wide { max-width: 760px; }
.status-card__icon { width: 72px; height: 72px; margin: 0 auto 20px; display: grid; place-items: center; border-radius: 50%; }
.status-card__icon svg { width: 36px; height: 36px; fill: currentColor; }
.status-card__icon--mail { background: var(--gold-soft); color: var(--gold); }
.status-card__icon--ok { background: rgba(63, 191, 116, .15); color: var(--green); box-shadow: 0 0 0 8px rgba(63, 191, 116, .06); }
.status-card__icon--warn { background: rgba(240, 180, 60, .15); color: var(--amber); }
.status-card__code { font-family: var(--display); font-weight: 700; font-size: 4rem; line-height: 1; color: var(--red); margin-bottom: 8px; }
.status-card__title { font-size: clamp(1.9rem, 4.5vw, 2.6rem); text-transform: uppercase; margin-bottom: 16px; }
.status-card__lead { color: var(--text-2); font-size: 1.05rem; }
.status-card__foot { margin: 24px 0 0; font-size: .92rem; }
.status-card .alert { text-align: left; }
.tips { text-align: left; list-style: none; padding: 18px 20px; margin: 22px 0 24px; background: var(--bg-2); border: 1px solid var(--line); border-radius: var(--radius); }
.tips li { position: relative; padding-left: 20px; color: var(--text-2); font-size: .94rem; }
.tips li + li { margin-top: 8px; }
.tips li::before { content: ''; position: absolute; left: 0; top: .62em; width: 8px; height: 2px; background: var(--red); }
.resend { text-align: left; }

.summary { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 1px; margin: 4px 0 24px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; text-align: left; }
.summary > div { background: var(--bg-2); padding: 14px 16px; }
.summary dt { font-family: var(--display); text-transform: uppercase; letter-spacing: .12em; font-size: .72rem; color: var(--gold); }
.summary dd { margin: 4px 0 0; font-weight: 600; }
.info-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; text-align: left; }
.info { background: var(--bg-2); border: 1px solid var(--line); border-left: 3px solid var(--red); border-radius: var(--radius); padding: 18px 20px; }
.info p { color: var(--text-2); font-size: .95rem; margin-bottom: .5em; }
.info__title { font-size: .8rem; letter-spacing: .14em; text-transform: uppercase; color: var(--gold); font-weight: 500; margin-bottom: 8px; }
.info__big { font-family: var(--display); font-weight: 600; font-size: 1.3rem; text-transform: uppercase; color: var(--text) !important; }

/* ---------- Legal ---------- */
.legal { padding: 48px 0 72px; }
.legal__inner { max-width: 860px; }
.prose { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 40px 44px; }
.prose__kicker { font-family: var(--display); text-transform: uppercase; letter-spacing: .16em; font-size: .78rem; color: var(--gold); }
.prose h1 { font-size: clamp(1.8rem, 4vw, 2.5rem); text-transform: uppercase; margin-bottom: 16px; }
.prose h2 { font-size: 1.2rem; text-transform: uppercase; letter-spacing: .05em; margin: 32px 0 10px; padding-top: 20px; border-top: 1px solid var(--line); }
.prose h3 { font-size: 1rem; text-transform: uppercase; letter-spacing: .06em; color: var(--gold); font-weight: 500; margin: 20px 0 6px; }
.prose p, .prose li { color: var(--text-2); }
.prose ul, .prose ol { padding-left: 1.3em; }
.prose li { margin-bottom: .6em; }
.legal__back { margin-top: 24px; }

/* ---------- Footer ---------- */
.site-footer { background: #0b0b0d; border-top: 1px solid var(--line); padding: 40px 0 24px; font-size: .9rem; color: var(--muted); }
.site-footer__grid { display: flex; justify-content: space-between; gap: 32px; flex-wrap: wrap; }
.site-footer__brand { display: flex; gap: 16px; align-items: flex-start; }
.site-footer__brand p { margin: 0 0 2px; }
.site-footer__logo { width: 52px; opacity: .9; }
.site-footer__name { color: var(--text-2); font-weight: 600; }
.site-footer__nav { display: flex; flex-direction: column; gap: 6px; }
.site-footer__nav a { color: var(--text-2); text-decoration: none; }
.site-footer__nav a:hover { color: var(--gold); }
.site-footer__legal { border-top: 1px solid var(--line); margin-top: 28px; padding-top: 18px; }
.site-footer__legal p { margin: 0; font-size: .82rem; }

/* ---------- Motion ---------- */
@keyframes rise { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
@keyframes fade { from { opacity: 0; } to { opacity: 1; } }
@keyframes spin { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
}

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .hero__inner { grid-template-columns: minmax(0, 1fr) minmax(380px, 480px); gap: 40px; }
  .steps { grid-template-columns: 1fr; }
}
@media (max-width: 900px) {
  .hero__media img { height: 540px; bottom: auto; }
  .hero::before {
    height: 540px; bottom: auto;
    background: linear-gradient(180deg, rgba(17, 17, 20, .55) 0%, rgba(17, 17, 20, .72) 55%, var(--bg) 100%);
  }
  .hero__inner { grid-template-columns: 1fr; gap: 28px; padding-top: 40px; padding-bottom: 48px; }
  .hero__copy { position: static; padding-top: 0; }
  .steps { grid-template-columns: repeat(3, 1fr); }
  .site-nav a:not(.site-nav__ext) { padding: 8px 8px; }
  .site-nav a { white-space: nowrap; }
  .brand__text { display: none; }
}
/* ---------- Menu mobile (overlay full-screen) ---------- */
.nav-toggle, .mnav__close {
  display: none; place-items: center; width: 44px; height: 44px; padding: 0; margin: 0; cursor: pointer;
  color: var(--text); background: transparent; border: 1px solid var(--line-strong); border-radius: var(--radius);
  -webkit-tap-highlight-color: transparent; transition: border-color .2s, color .2s;
}
.nav-toggle:hover, .mnav__close:hover { border-color: var(--gold); color: var(--gold); }
.nav-toggle svg, .mnav__close svg { width: 24px; height: 24px; }
.mnav { display: none; }
.mnav[hidden] { display: none !important; }
body.nav-open { overflow: hidden; }
#registrati, #gadget, #ritiro { scroll-margin-top: 84px; }

@media (max-width: 640px) {
  .site-header__inner > .site-nav, .site-header__inner > .social { display: none; }
  .site-header__inner { padding-left: max(16px, env(safe-area-inset-left)); padding-right: max(16px, env(safe-area-inset-right)); }
  .nav-toggle { display: grid; margin-left: auto; }
  .mnav {
    position: fixed; inset: 0; z-index: 100; display: flex; flex-direction: column;
    width: 100%; height: 100vh; height: 100dvh; overflow-x: hidden; overflow-y: auto; overscroll-behavior: contain;
    background: #121215; color: var(--text);
    padding: env(safe-area-inset-top) max(16px, env(safe-area-inset-right)) env(safe-area-inset-bottom) max(16px, env(safe-area-inset-left));
    opacity: 0; transform: translateY(-8px); transition: opacity .2s var(--ease), transform .2s var(--ease);
  }
  .mnav.is-open { opacity: 1; transform: none; }
  .mnav__top { display: flex; align-items: center; justify-content: space-between; min-height: 62px; border-bottom: 1px solid var(--line); flex: none; }
  .mnav__logo img { width: 46px; height: auto; }
  .mnav__close { display: grid; }
  .mnav__body { flex: 1 0 auto; display: flex; flex-direction: column; justify-content: space-between; gap: 24px; padding: 8px 0 20px; }
  .mnav ol, .mnav ul { list-style: none; margin: 0; padding: 0; }
  .mnav a { text-decoration: none; color: inherit; -webkit-tap-highlight-color: transparent; }
  .mnav__main li { border-bottom: 1px solid var(--line); }
  .mnav__main a {
    display: flex; align-items: baseline; gap: 14px; min-height: 64px; padding: 18px 4px;
    font-family: var(--display); font-weight: 600; font-size: 1.5rem; line-height: 1.15; text-transform: uppercase; letter-spacing: .03em;
    color: var(--text); white-space: nowrap; transition: color .15s;
  }
  .mnav__main a:hover, .mnav__main a:focus-visible, .mnav__main a[aria-current] { color: var(--gold); }
  .mnav__n { flex: none; width: 26px; font-size: .85rem; letter-spacing: .08em; color: var(--red); }
  .mnav__foot { border-top: 1px solid var(--line-strong); padding-top: 16px; }
  .mnav__links { display: flex; flex-wrap: wrap; gap: 4px 20px; }
  .mnav__links a { display: inline-flex; align-items: center; min-height: 44px; font-family: var(--display); font-weight: 500; font-size: .85rem; letter-spacing: .1em; text-transform: uppercase; color: var(--text-2); }
  .mnav__links a:hover, .mnav__links a[aria-current] { color: var(--text); }
  .mnav__social { display: flex; align-items: center; justify-content: space-between; margin-top: 12px; color: var(--muted); font-size: .9rem; }
  .mnav .social__link { color: var(--text-2); }
  .mnav :focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; }
  .container { padding: 0 16px; }
  .site-header__inner { min-height: 62px; }
  .brand__logo { width: 40px; }
  .brand__name { font-size: 1rem; }
  .brand__sub { font-size: .7rem; }
  .site-nav__legal, .hide-sm { display: none; }
  .site-nav a { font-size: .78rem; letter-spacing: .06em; padding: 8px 6px; }
  .site-header__inner { gap: 8px; }
  .social__link { width: 34px; height: 34px; }
  .hero__inner { padding-top: 32px; }
  .hero__logo { width: 84px; margin-bottom: 18px; }
  .kicker { font-size: .72rem; letter-spacing: .16em; margin-bottom: 16px; }
  .hero__lead { margin-bottom: 24px; }
  .pickup { margin-bottom: 24px; padding: 14px 16px; }
  .benefit { padding: 16px; }
  .benefit__title { font-size: 1.3rem; }
  .pickup__place { font-size: 1.15rem; }
  .steps { grid-template-columns: repeat(3, 1fr); }
  .steps li { padding: 10px 10px 12px; }
  .steps__n { font-size: 1.05rem; margin-bottom: 4px; }
  .steps strong { font-size: .78rem; letter-spacing: .04em; line-height: 1.2; }
  .steps li span:last-child { display: none; }
  .card--form { padding: 24px 18px 22px; margin: 0 -4px; }
  .card__title { font-size: 1.45rem; }
  .row { grid-template-columns: 1fr; }
  .status { padding: 28px 0 56px; }
  .status-card { padding: 30px 20px 24px; }
  .summary, .info-grid { grid-template-columns: 1fr; }
  .prose { padding: 26px 20px; }
  .site-footer__grid { flex-direction: column; }
}
@media (max-width: 380px) {
  .brand__text { display: none; }
}
