/* ═════════════════════════════════════════════════════════════
   NEXT SAFE 2027 · restyling "Club Notte"
   Fondo nero, testi bianchi, verde Kiwitron (#4CAF50) per bande e titoli,
   oro satinato per le azioni. Un solo carattere: Inter Tight (nel tema).
   ═════════════════════════════════════════════════════════════ */

@font-face { font-family: "Inter Tight"; font-weight: 400; font-style: normal; font-display: swap; src: url("../fonts/inter-tight-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Inter Tight"; font-weight: 500; font-style: normal; font-display: swap; src: url("../fonts/inter-tight-latin-500-normal.woff2") format("woff2"); }
@font-face { font-family: "Inter Tight"; font-weight: 600; font-style: normal; font-display: swap; src: url("../fonts/inter-tight-latin-600-normal.woff2") format("woff2"); }

:root {
  --night: #111314;
  --moss: #4caf50;          /* verde Kiwitron */
  --moss-dark: #2e7d32;     /* verde su fondo chiaro */
  --mint: #f4f2ee;          /* bianco caldo */
  --gold-solid: #d4a94a;
  --gold: linear-gradient(135deg, #bc9545 0%, #cda855 40%, #dabb6c 50%, #cda855 60%, #c29b4a 100%);
  --ink: #f4f2ee;
  --ink-2: #f4f2ee;
  --line: #2c3031;
  --card: #17191a;
  --sans: "Inter Tight", "Helvetica Neue", Arial, sans-serif;
  --margin: clamp(20px, 5.5vw, 88px);
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; scroll-padding-top: 24px; }
html.modal-open { overflow: hidden; }
body { margin: 0; overflow-x: clip; background: var(--night); color: var(--ink); font: 400 16px/1.5 var(--sans); -webkit-font-smoothing: antialiased; }
img { display: block; max-width: 100%; height: auto; }
figure { margin: 0; }
a { color: inherit; }
h1, h2, h3, h4 { font-weight: 500; margin: 0; }
p, ul, ol, dl, dd { margin: 0; }
b, strong { font-weight: 600; }
:focus-visible { outline: 2px solid var(--moss); outline-offset: 3px; }
::selection { background: var(--moss); color: var(--night); }
/* parole evidenziate rimaste nei testi salvati dal pannello: stesso stile del resto */
.grad, .gold, .serif { color: inherit; font: inherit; background: none; }

.wrap { padding-left: var(--margin); padding-right: var(--margin); }
.sec { padding-block: clamp(56px, 7vw, 104px); }
.sec--flush { padding-top: 0; }
.tag { display: block; font-size: 12px; font-weight: 500; letter-spacing: .04em; text-transform: uppercase; }
.lead { font-size: clamp(18px, 1.6vw, 22px); line-height: 1.35; letter-spacing: -.01em; max-width: 46ch; }
.small { font-size: 13px; }
.prose p + p, .bio p + p { margin-top: .8em; }

/* ── Pulsanti ── */
.btn { display: inline-flex; align-items: center; gap: 8px; height: 40px; padding: 0 18px; border-radius: 999px; border: 0; background: var(--gold); color: var(--night); font: 600 14px var(--sans); text-decoration: none; cursor: pointer; white-space: nowrap; transition: background .2s, color .2s; }
.btn:hover { background: #fff; }
.btn svg { width: 15px; height: 15px; flex: none; }
.btn--ghost { background: transparent; color: var(--mint); border: 1.5px solid rgba(244, 242, 238, .7); }
.btn--ghost:hover { background: var(--mint); color: var(--night); }
.btn--big { height: 56px; padding: 0 26px; font-size: 17px; gap: 10px; }
.btn--big svg { width: 18px; height: 18px; }
.btn[disabled] { opacity: .6; cursor: wait; }
.actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 16px; }
.chip { display: inline-flex; align-items: center; gap: 10px; height: 36px; padding: 0 14px 0 4px; border-radius: 999px; border: 1px solid rgba(244, 242, 238, .5); background: rgba(17, 19, 20, .35); font-size: 11px; font-weight: 500; letter-spacing: .04em; text-transform: uppercase; }
.chip b { display: grid; place-items: center; min-width: 28px; height: 28px; padding: 0 4px; border-radius: 999px; background: var(--gold); color: var(--night); font-size: 11px; }

/* ── Testata ── */
.nav { position: absolute; top: 0; left: 0; right: 0; z-index: 20; display: flex; align-items: center; justify-content: space-between; gap: 24px; padding-top: 24px; }
.nav__logo img { height: 30px; width: auto; }
.nav__links { display: flex; align-items: center; gap: 26px; font-size: 12px; font-weight: 500; letter-spacing: .04em; text-transform: uppercase; margin-left: auto; }
.nav__links a { text-decoration: none; opacity: .9; }
.nav__links a:hover { opacity: 1; text-decoration: underline; text-underline-offset: 4px; }
.admin-bar .nav { top: 32px; }

/* ── Apertura ── */
.hero { position: relative; min-height: clamp(620px, 56vw, 860px); display: flex; flex-direction: column; justify-content: space-between; color: var(--mint); background: var(--night); overflow: hidden; padding-top: 104px; padding-bottom: clamp(18px, 2.4vw, 34px); }
.hero__bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 40%; filter: grayscale(1) contrast(1.1) brightness(.62); }
.hero__tint { position: absolute; inset: 0; background: var(--night); opacity: .5; }
.hero > *:not(.hero__bg):not(.hero__tint) { position: relative; }
.hero__intro { max-width: 640px; margin-top: clamp(24px, 5vw, 80px); font-size: clamp(22px, 2.1vw, 30px); line-height: 1.25; letter-spacing: -.015em; color: #f1f8e6; }
.hero__intro .actions { margin-top: 24px; }
.hero__bottom { margin-top: auto; padding-top: 40px; }
.fit { margin: 14px 0 0; font-weight: 600; line-height: .86; letter-spacing: -.06em; white-space: nowrap; width: max-content; font-size: clamp(56px, 8vw, 140px); }
.fit sup { font-size: .16em; letter-spacing: 0; vertical-align: 3.8em; font-weight: 500; margin-left: .2em; }

/* ── Intestazioni di sezione ── */
.head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: end; gap: 16px 32px; margin-bottom: clamp(28px, 3.4vw, 44px); border-top: 1px solid var(--line); padding-top: 24px; }
.head h2 { font-size: clamp(30px, 3.4vw, 50px); line-height: 1.04; letter-spacing: -.035em; max-width: 22ch; }
.subhead { margin: clamp(48px, 6vw, 80px) 0 20px; font-size: clamp(22px, 2vw, 28px); letter-spacing: -.025em; }

/* ── Banda verde ── */
.band { background: var(--moss); color: var(--night); }
.band__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); gap: 32px; }
.band__title { font-size: clamp(34px, 3.4vw, 48px); line-height: 1.02; letter-spacing: -.035em; max-width: 12ch; }
.band h2 { margin: 0 0 18px; font-size: clamp(30px, 3.4vw, 50px); line-height: 1.04; letter-spacing: -.035em; }
.band .big { font-size: clamp(23px, 2.3vw, 33px); line-height: 1.24; letter-spacing: -.018em; max-width: 30ch; }
.band .big + .big { margin-top: .8em; }
.stats { list-style: none; margin: 48px 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; max-width: 760px; }
.stats b { display: block; font-size: clamp(44px, 4.4vw, 64px); font-weight: 500; letter-spacing: -.04em; line-height: 1; }
.stats span { display: block; margin-top: 8px; font-size: clamp(16px, 1.3vw, 18px); line-height: 1.3; color: #0e2a1b; }
.pillars { list-style: none; margin: clamp(48px, 6vw, 80px) 0 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-top: 1px solid rgba(17, 19, 20, .35); }
.pillars li { padding: 18px 18px 0 0; }
.pillars b { display: block; font-size: clamp(20px, 1.8vw, 26px); font-weight: 500; letter-spacing: -.025em; }
.pillars span { display: block; margin-top: 4px; font-size: 15px; color: #0e2a1b; }

/* ── Foto ── */
.ph { position: relative; overflow: hidden; border-radius: 4px; background: #1b1e1f; }
.ph img { width: 100%; height: 100%; object-fit: cover; }

/* ── Perché partecipare ── */
.why { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.why--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.why .ph { aspect-ratio: 1 / 1; }
.why h3 { margin: 14px 0 4px; font-size: 22px; letter-spacing: -.025em; color: var(--moss); }
.why p { font-size: 15px; max-width: 30ch; }

/* ── Programma (fondo chiaro) ── */
.light { background: #f7f6f2; color: var(--night); --line: #d9d6ce; }
.light .head { border-top: 0; padding-top: 0; }
.light .tag { color: var(--moss-dark); }
.agenda__lead { margin-bottom: 32px; }
.days { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.day { border: 1px solid var(--line); border-radius: 4px; padding: clamp(18px, 2vw, 28px); background: #fff; }
.day__head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; flex-wrap: wrap; padding-bottom: 16px; border-bottom: 1px solid var(--line); }
.day__head h3 { margin-top: 4px; font-size: clamp(24px, 2.2vw, 32px); letter-spacing: -.03em; }
.day__theme { font-size: 14px; }
.slots { list-style: none; margin: 0; padding: 0; }
.slot { display: grid; grid-template-columns: 112px minmax(0, 1fr); gap: 16px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.slot:last-child { border-bottom: 0; }
.slot time { font-size: 13px; font-variant-numeric: tabular-nums; padding-top: 2px; }
.slot b { display: block; font-weight: 500; font-size: 17px; letter-spacing: -.015em; }
.slot span { display: block; font-size: 14px; }
.slot--key b, .slot--panel b { color: var(--moss-dark); }
.light + .sec .head { border-top: 0; padding-top: 0; }

/* ── Come si partecipa ── */
.steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); grid-template-rows: auto auto; }
.step { border: 1px solid var(--line); border-radius: 4px; padding: 16px 18px 18px; min-height: 190px; display: flex; flex-direction: column; justify-content: space-between; gap: 28px; background: var(--night); }
.step h3 { margin-top: 6px; font-size: 24px; letter-spacing: -.03em; color: var(--moss); }
.step p { font-size: 14px; line-height: 1.45; max-width: 32ch; }
.s1 { grid-column: 1; grid-row: 1; } .s2 { grid-column: 2; grid-row: 1; } .s3 { grid-column: 2; grid-row: 2; }
.how__img { grid-column: 3; grid-row: 2; min-height: 190px; }
.how__img img { position: absolute; inset: 0; }
.how__img .btn { position: absolute; left: 16px; bottom: 16px; }

/* ── Persone ── */
.origin { margin: 0 0 32px; font-size: clamp(20px, 1.9vw, 26px); line-height: 1.3; letter-spacing: -.015em; max-width: 44ch; }
.origin b { font-weight: 500; color: var(--moss); }
.cards { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.card { display: grid; grid-row: span 4; grid-template-rows: subgrid; row-gap: 0; align-content: start; }
.card .ph { aspect-ratio: 4 / 5; }
.card h3 { margin-top: 12px; font-size: 20px; letter-spacing: -.02em; }
.card .role { margin-top: 2px; font-size: 13px; }
.card details { align-self: start; margin-top: 10px; border-top: 1px solid var(--line); }
.card summary { cursor: pointer; list-style: none; padding: 10px 0; font-size: 13px; font-weight: 500; color: var(--moss); display: flex; justify-content: space-between; }
.card summary::-webkit-details-marker { display: none; }
.card summary::after { content: "+"; font-size: 16px; line-height: 1; }
.card details[open] summary::after { content: "–"; }
.bio { font-size: 14px; line-height: 1.5; padding-bottom: 6px; }
.bio b, .bio strong { font-weight: 500; }
.speakers { margin-top: 40px; display: flex; flex-wrap: wrap; align-items: baseline; gap: 8px 20px; padding: 22px 24px; border: 1px dashed #3a3f40; border-radius: 4px; }
.speakers > b { font-size: clamp(22px, 2vw, 28px); font-weight: 500; letter-spacing: -.025em; color: var(--gold-solid); background: var(--gold); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.speakers .people-row { flex-basis: 100%; margin-top: 16px; }

/* persone in fila: foto rotonda, nome e azienda sotto */
.people-row { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 24px 16px; }
.sp { flex: 0 0 calc((100% - 96px) / 7); display: flex; flex-direction: column; align-items: center; text-align: center; gap: 10px; }
.sp .ph { width: 96px; height: 96px; border-radius: 50%; flex: none; }
.sp b { display: block; font-weight: 500; font-size: 16px; line-height: 1.2; }
.sp span { display: block; font-size: 13px; }

/* ── Edizione precedente ── */
.edition__lead { margin-bottom: 32px; max-width: 62ch; }
.player { position: relative; overflow: hidden; border-radius: 4px; aspect-ratio: 16 / 9; background: #1b1e1f; }
.player > img { width: 100%; height: 100%; object-fit: cover; }
.player iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.player__btn { position: absolute; left: clamp(16px, 2.4vw, 32px); bottom: clamp(16px, 2.4vw, 32px); display: inline-flex; align-items: center; gap: 10px; height: 48px; padding: 0 20px 0 8px; border-radius: 999px; background: var(--gold); color: var(--night); font-weight: 600; font-size: 14px; text-decoration: none; cursor: pointer; }
.player__btn i { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: var(--night); color: var(--gold-solid); font-style: normal; font-size: 12px; }
.player__btn:hover { background: #fff; }
.player--corner .player__btn { left: auto; right: 16px; bottom: 16px; }
.guests { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.guest { border: 1px solid var(--line); border-radius: 4px; overflow: hidden; display: flex; flex-direction: column; }
.guest > .ph, .guest > .player { aspect-ratio: 16 / 9; border-radius: 0; }
.guest__body { padding: clamp(18px, 2vw, 28px); }
.guest__body .tag { color: var(--moss); }
.guest h3 { margin: 8px 0 2px; font-size: clamp(24px, 2.2vw, 32px); letter-spacing: -.03em; }
.guest .role { margin-bottom: 14px; font-size: 14px; }
.guest .prose { font-size: 15px; }
.guest .prose ol { margin: 10px 0 0; padding-left: 20px; }
.guest .prose b, .guest .prose strong { font-weight: 500; }

/* loghi */
.logos { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: 12px; }
.logos li { display: grid; place-items: center; height: 84px; border: 1px solid var(--line); border-radius: 4px; padding: 16px; }
.logos img { max-height: calc(38px * var(--s, 1)); max-width: 100%; width: auto; filter: brightness(0) invert(.92); opacity: .85; }
.marquee { overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.marquee__track { display: flex; gap: 12px; width: max-content; animation: ns-marquee 40s linear infinite; }
.marquee__track li { flex: none; width: 220px; height: 104px; }
.marquee__track img { max-height: calc(50px * var(--s, 1)); }
.marquee:hover .marquee__track { animation-play-state: paused; }
@keyframes ns-marquee { to { transform: translateX(calc(-50% - 6px)); } }

/* ── Partner e invito alle aziende ── */
.close { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 16px; padding-top: 0; }
.box { border-radius: 4px; padding: clamp(22px, 2.6vw, 36px); display: flex; flex-direction: column; justify-content: space-between; gap: 40px; min-height: 280px; }
.box h2 { margin-top: 8px; font-size: clamp(26px, 2.6vw, 38px); letter-spacing: -.035em; line-height: 1.05; max-width: 18ch; }
.box p { margin-top: 12px; max-width: 40ch; }
.box--moss { background: var(--moss); color: var(--night); }
.box--line { border: 1px solid var(--line); }
.box__logos { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 28px; margin-top: 16px; }
.box__logos img { height: calc(34px * var(--s, 1)); width: auto; filter: brightness(0); opacity: .9; }
.box__note { font-size: clamp(24px, 2.2vw, 32px); line-height: 1.2; letter-spacing: -.02em; max-width: 24ch !important; }

/* ── Location ── */
.loc { position: relative; color: var(--mint); background: var(--night); overflow: hidden; }
.loc > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 40%; filter: brightness(.6); }
.loc .tint { position: absolute; inset: 0; background: var(--night); opacity: .3; }
.loc__in { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 32px; align-items: end; min-height: clamp(440px, 42vw, 640px); padding-block: clamp(40px, 5vw, 72px); }
.loc h2 { font-size: clamp(48px, 7vw, 116px); font-weight: 600; letter-spacing: -.055em; line-height: .88; }
.loc p { margin-top: 12px; max-width: 42ch; font-size: 17px; color: #eef7e2; }
.amen { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); margin: 0; border-top: 1px solid var(--line); }
.amen div { padding: 22px 24px 24px 0; border-bottom: 1px solid var(--line); }
.amen dt { font-size: 20px; font-weight: 500; letter-spacing: -.02em; color: var(--moss); }
.amen dd { margin: 6px 0 0; font-size: 15px; max-width: 34ch; }
.perk { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 20px 32px; margin-top: 32px; padding: 24px; border-radius: 4px; background: var(--card); }
.perk p { font-size: clamp(18px, 1.6vw, 22px); letter-spacing: -.01em; max-width: 44ch; }
.perk p b { font-weight: 500; color: var(--moss); }
.perk .addr { font-size: 14px; margin-top: 6px; }

/* ── Come arrivare ── */
.arrive { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(24px, 4vw, 64px); }
.arrive .lead { margin-bottom: 12px; }
.arrive dl div { padding: 14px 0; border-bottom: 1px solid var(--line); }
.arrive dt { font-weight: 500; }
.arrive dd { margin: 2px 0 0; font-size: 15px; }
.routes details { border-bottom: 1px solid var(--line); }
.routes summary { cursor: pointer; list-style: none; padding: 16px 0; font-size: 18px; font-weight: 500; display: flex; justify-content: space-between; gap: 12px; }
.routes summary::-webkit-details-marker { display: none; }
.routes summary::after { content: "+"; color: var(--moss); }
.routes details[open] summary::after { content: "–"; }
.routes p { margin: 0 0 18px; font-size: 15px; max-width: 60ch; }
.routes .small { margin-top: 18px; }

/* ── Iscrizione e modulo ── */
.reg { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(24px, 4vw, 64px); }
.reg h2 { margin-bottom: 16px; font-size: clamp(40px, 5vw, 76px); font-weight: 600; letter-spacing: -.05em; line-height: .95; }
.reg .info { margin: 24px 0 18px; padding: 18px 20px; border-left: 3px solid var(--gold-solid); background: var(--card); font-size: 15px; }
.reg .info b { font-weight: 500; }
.reg .small { margin-top: 18px; }
.reg .info + .small { margin-top: 0; }
.reg__ph { margin-top: 28px; aspect-ratio: 16 / 10; }
.form { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px 16px; align-content: start; }
.form--closed { display: block; }
.field { display: flex; flex-direction: column; gap: 6px; }
.field--full { grid-column: 1 / -1; }
.field label, .plus1 legend { font-size: 13px; }
.form input:not([type="checkbox"]), .form select, .form textarea { width: 100%; min-height: 46px; padding: 11px 12px; border: 1px solid var(--line); border-radius: 4px; background: var(--card); color: var(--ink); font: 400 15px var(--sans); }
.form textarea { min-height: 110px; resize: vertical; }
.form input:focus, .form select:focus, .form textarea:focus { outline: 2px solid var(--moss); outline-offset: 0; border-color: transparent; }
.field.invalid input, .field.invalid select, .field.invalid textarea { border-color: #e0685e; }
.hint { font-size: 12px; opacity: .8; }
.err { color: #f08a80; font-size: 13px; }
.err:empty { display: none; }
.check { display: flex; gap: 10px; align-items: flex-start; font-size: 13px; cursor: pointer; }
.check input { width: 18px; height: 18px; margin-top: 2px; flex: none; accent-color: var(--moss); }
.check .req { color: var(--gold-solid); font-style: normal; }
.plus1 { border: 0; margin: 0; padding: 18px; border-radius: 4px; background: var(--card); }
.plus1__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px 16px; margin-top: 10px; }
.hp { position: absolute; left: -9999px; }
.notice--form { font-size: 13px; }
.notice--form b { font-weight: 500; }
.form__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 24px; margin-top: 6px; }
.status { font-size: 14px; }
.status:empty { display: none; }
.status.ok { padding: 12px 14px; border-radius: 4px; background: #1c2a1d; color: #cfe9d0; }
.status.ko { color: #f08a80; }

/* ── Pagina sponsor ── */
.strip { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.strip .ph { aspect-ratio: 4 / 3; }
.strip figcaption, .lux figcaption { margin-top: 10px; font-size: 14px; }
.lux { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(24px, 4vw, 64px); align-items: center; }
.lux .tag { margin-bottom: 14px; }
.lux h2 { margin-bottom: 16px; font-size: clamp(30px, 3.4vw, 50px); line-height: 1.04; letter-spacing: -.035em; }
.lux ul { list-style: none; margin: 24px 0 0; padding: 0; }
.lux li { padding: 12px 0; border-top: 1px solid var(--line); font-size: 15px; }
.lux li b { color: var(--moss); font-weight: 500; }
.lux .ph { aspect-ratio: 16 / 10; }
.pkg__lead { margin-bottom: 32px; }
.pkg__note { margin-top: 18px; }
.pkg__group { margin: 40px 0 16px; font-size: 13px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--moss); }
.pkg__group:first-of-type { margin-top: 0; }
.tiers { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.tiers--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.tiers--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.tiers--1, .tiers--wide { grid-template-columns: 1fr; }
.tier { --c: #b07a47; position: relative; overflow: hidden; border: 1px solid var(--line); border-top: 4px solid var(--c); border-radius: 4px; padding: 26px 24px 24px; display: flex; flex-direction: column; gap: 22px; background: var(--card); }
.tier--silver { --c: #a7adb0; }
.tier--gold { --c: var(--gold-solid); border-color: var(--gold-solid); border-top-width: 4px; }
.tier--diamond { --c: var(--moss); }
.tier h3 { font-size: 32px; font-weight: 600; letter-spacing: -.04em; color: var(--c); }
.tier--gold h3 { color: var(--gold-solid); background: var(--gold); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; width: max-content; }
.tier__slogan { margin-top: 6px; font-size: 15px; }
.tier__price { margin-top: 22px; font-size: clamp(32px, 3vw, 42px); font-weight: 600; letter-spacing: -.03em; line-height: 1; }
.tier .meta { margin-bottom: 12px; font-size: 12px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; }
.ticks { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.ticks li { position: relative; padding-left: 26px; font-size: 15px; line-height: 1.4; }
.ticks li::before { content: "✓"; position: absolute; left: 0; top: 0; color: var(--c); font-weight: 600; }
.ticks b, .ticks strong { font-weight: 600; }
.tier__note { margin-top: 18px; padding: 12px 14px; border-radius: 4px; background: var(--night); font-size: 14px; line-height: 1.4; }
.tier__taken { font-size: 14px; }
.tier .act { margin-top: auto; }
.tier__ribbon { position: absolute; top: 18px; right: -46px; width: 170px; padding: 5px 0; transform: rotate(45deg); background: var(--gold); color: var(--night); font-size: 11px; font-weight: 600; letter-spacing: .08em; text-align: center; text-transform: uppercase; }
.tier--wide { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); grid-template-rows: auto auto; column-gap: 40px; }
.tier--wide .tier__head { grid-row: 1 / span 2; }
.tier--wide .ticks { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 32px; }
.tier--wide .act { grid-column: 2; margin-top: 0; }

/* ── Pagine semplici ── */
.page-plain { padding: 140px 0 clamp(56px, 7vw, 104px); }
.page-plain h1 { margin-bottom: 32px; font-size: clamp(34px, 5vw, 64px); letter-spacing: -.04em; line-height: 1; }
.page-plain .prose { max-width: 70ch; display: grid; gap: 1em; }
.page-plain .lead { margin-bottom: 24px; }

/* ── Piè di pagina ── */
.foot { background: #0a0b0c; border-top: 1px solid var(--line); padding-block: clamp(40px, 5vw, 64px) 28px; font-size: 14px; }
.foot__top { display: grid; grid-template-columns: minmax(0, 1.3fr) repeat(2, minmax(0, 1fr)); gap: 32px; padding-bottom: 32px; border-bottom: 1px solid var(--line); }
.foot__logo { height: 34px; width: auto; margin-bottom: 14px; }
.foot__top p { margin-bottom: 6px; }
.foot__h { font-weight: 500; }
.foot a { text-decoration: none; }
.foot a:hover { text-decoration: underline; }
.foot__count { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; margin-top: 16px; }
.foot__legal { padding-top: 22px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; font-size: 12px; }

/* ── Finestra "Salva la data" ── */
.stdpop { position: fixed; inset: 0; z-index: 450; display: grid; place-items: center; padding: 16px; }
.stdpop[hidden] { display: none; }
.stdpop__back { position: absolute; inset: 0; background: rgba(0, 0, 0, .66); opacity: 0; transition: opacity .25s; }
.stdpop__card { position: relative; width: min(460px, 100%); padding: clamp(22px, 3vw, 32px); border-radius: 8px; background: #1b1e1f; border: 1px solid var(--line); opacity: 0; transform: translateY(16px); transition: opacity .25s, transform .3s; }
.stdpop.open .stdpop__back, .stdpop.open .stdpop__card { opacity: 1; transform: none; }
.stdpop__x { position: absolute; top: 12px; right: 12px; width: 40px; height: 40px; border: 0; border-radius: 50%; background: var(--card); color: var(--ink); font-size: 22px; cursor: pointer; }
.stdpop__head { display: flex; align-items: center; gap: 18px; margin-bottom: 18px; padding-right: 40px; }
.stdpop__head h3 { font-size: 22px; letter-spacing: -.02em; }
.stdpop__cal { flex: none; width: 84px; text-align: center; border-radius: 4px; overflow: hidden; background: var(--mint); color: var(--night); }
.stdpop__cal small { display: block; padding: 5px 0; background: var(--moss); font-size: 13px; font-weight: 600; text-transform: uppercase; }
.stdpop__cal b { display: block; padding-top: 6px; font-size: 22px; line-height: 1.1; }
.stdpop__cal i { display: block; padding-bottom: 6px; font-size: 13px; font-style: normal; }
.stdpop__loc, .stdpop__n { margin-top: 4px; font-size: 13px; }
.stdpop__q { margin-bottom: 12px; }
.stdpop__opts { display: grid; gap: 8px; }
.stdpop__opts a { display: flex; align-items: center; gap: 14px; padding: 14px 16px; border-radius: 4px; background: var(--card); text-decoration: none; }
.stdpop__opts a:hover { background: #222627; }
.stdpop__opts a span { display: grid; }
.stdpop__opts small { font-size: 13px; }
.stdpop__opts .stdpop__alt { background: none; padding: 6px 0; font-size: 13px; text-decoration: underline; }
.stdpop__n { margin-top: 14px; }

/* ── Schermi medi ── */
@media (max-width: 1200px) {
  .sp { flex-basis: calc((100% - 64px) / 5); }
}
@media (max-width: 1000px) {
  .cards, .tiers, .tiers--3, .why--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .tiers--wide { grid-template-columns: 1fr; }
  .amen { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
/* ── Telefono ── */
@media (max-width: 860px) {
  .nav__links { display: none; }
  .admin-bar .nav { top: 46px; }
  .band__grid, .loc__in, .close, .days, .guests, .arrive, .reg, .lux, .foot__top { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; grid-template-rows: none; gap: 10px; }
  .s1, .s2, .s3, .how__img { grid-column: auto; grid-row: auto; }
  .how__img { min-height: 240px; }
  .pillars { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .strip { grid-template-columns: 1fr; }
  .hero { min-height: 640px; }
  .sp { flex-basis: calc((100% - 16px) / 2); }
}
@media (max-width: 560px) {
  .tiers, .tiers--3, .amen, .why { grid-template-columns: 1fr; }
  .tier--wide { grid-template-columns: 1fr; }
  .tier--wide .tier__head, .tier--wide .act { grid-row: auto; grid-column: auto; }
  .tier--wide .ticks { grid-template-columns: 1fr; }
  .why .ph { aspect-ratio: 16 / 10; }
  .cards { gap: 12px; }
  .card h3, .why h3 { font-size: 17px; }
  .form, .plus1__grid { grid-template-columns: 1fr; }
  .stats { gap: 16px; }
  .slot { grid-template-columns: 92px minmax(0, 1fr); gap: 12px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
  .marquee__track { animation: none; flex-wrap: wrap; width: auto; }
  .marquee__track li[aria-hidden] { display: none; }
}
