/* SIRF 2026 · stile ripreso dal Prospect Sponsorship (palette e font del deck) */

@font-face { font-family: "Montserrat"; font-weight: 800; font-style: normal; font-display: swap; src: url("fonts/Montserrat-ExtraBold.woff") format("woff"); }
@font-face { font-family: "Barlow"; font-weight: 400; font-style: normal; font-display: swap; src: url("fonts/Barlow-Regular.woff") format("woff"); }
@font-face { font-family: "Barlow"; font-weight: 500; font-style: normal; font-display: swap; src: url("fonts/Barlow-Medium.woff") format("woff"); }
@font-face { font-family: "Barlow"; font-weight: 600; font-style: normal; font-display: swap; src: url("fonts/Barlow-SemiBold.woff") format("woff"); }
@font-face { font-family: "Barlow Condensed"; font-weight: 600; font-style: normal; font-display: swap; src: url("fonts/BarlowCondensed-SemiBold.woff") format("woff"); }

:root {
  --bg: #06142E;
  --bg-2: #081a3a;
  --surface: #0B1F45;
  --surface-2: #10295A;
  --line: #2B4C7E;
  --text: #F3F8FF;
  --text-2: #D5E2F4;
  --muted: #A9BFDC;
  --accent: #1FD5F2;
  --accent-hover: #74E6F8;
  --accent-ink: #06142E;
  --danger: #FF8A8A;

  --f-display: "Montserrat", "Arial Black", "Segoe UI", system-ui, sans-serif;
  --f-label: "Barlow Condensed", "Arial Narrow", "Segoe UI", system-ui, sans-serif;
  --f-body: "Barlow", "Segoe UI", system-ui, -apple-system, sans-serif;

  --gutter: clamp(16px, 4vw, 40px);
  --skew: -14deg;
  color-scheme: dark;
}

/* ------------------------------------------------------------ base */
*, *::before, *::after { box-sizing: border-box; }
html { background: var(--bg); -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--f-body);
  font-size: 17px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; display: block; }
a { color: var(--accent); text-underline-offset: 3px; }
a:hover { color: var(--accent-hover); }
h1, h2, h3, p, dl, dd, figure, blockquote { margin: 0; }
:where(ul[role="list"], ol[role="list"]) { list-style: none; margin: 0; padding: 0; }
[hidden] { display: none !important; }
:focus-visible { outline: 2px solid var(--text); outline-offset: 3px; }

/* lingua attiva: mostra solo il testo nella lingua scelta */
html[lang="it"] [data-l="en"],
html[lang="en"] [data-l="it"] { display: none !important; }

/* testi che dipendono dall'area aperta */
.area-guest, .area-partner { display: none; }
html[data-area="guest"] .area-guest,
html[data-area="partner"] .area-partner { display: inline; }

.wrap { width: min(1200px, calc(100% - 2 * var(--gutter))); margin-inline: auto; }
.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 { position: absolute; left: -9999px; top: 12px; z-index: 100; background: var(--accent); color: var(--accent-ink); padding: 10px 14px; font-weight: 600; }
.skip:focus { left: 16px; }

.icon { width: 20px; height: 20px; flex: none; }
.icon-sm { width: 16px; height: 16px; }
.icon-accent { color: var(--accent); }
.flip { transform: scaleX(-1); }

/* ------------------------------------------------------------ tipografia ricorrente */
.eyebrow {
  display: flex; align-items: center; gap: 10px;
  font-family: var(--f-label); font-weight: 600; font-size: 15px;
  letter-spacing: .2em; text-transform: uppercase; color: var(--accent);
}
.eyebrow::before {
  content: ""; flex: none; width: 10px; height: 20px;
  background: var(--accent); transform: skewX(var(--skew));
}
.eyebrow .icon { margin-right: -2px; }
.eyebrow-n { font-variant-numeric: tabular-nums; }
.label {
  display: flex; align-items: center; gap: 10px; margin: 0 0 14px;
  font-family: var(--f-label); font-weight: 600; font-size: 17px;
  letter-spacing: .16em; text-transform: uppercase; color: var(--accent);
}
.muted { color: var(--muted); }

/* ------------------------------------------------------------ pulsanti */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; padding: 12px 26px;
  font-family: var(--f-label); font-weight: 600; font-size: 16px;
  letter-spacing: .14em; text-transform: uppercase; text-decoration: none;
  border: 0; cursor: pointer;
  transform: skewX(var(--skew));
  transition: background-color .15s ease, color .15s ease;
}
.btn > * { transform: skewX(calc(-1 * var(--skew))); }
.btn-primary { background: var(--accent); color: var(--accent-ink); }
.btn-primary:hover { background: var(--accent-hover); color: var(--accent-ink); }
.btn-ghost { background: rgba(31, 213, 242, .1); color: var(--accent); }
.btn-ghost:hover { background: rgba(31, 213, 242, .2); color: var(--accent-hover); }
.btn:disabled { opacity: .6; cursor: progress; }

/* ------------------------------------------------------------ logo e lingua */
.logo { display: inline-flex; align-items: center; gap: 14px; color: var(--text); text-decoration: none; }
.logo:hover { color: var(--text); }
.logo-img { display: block; height: 60px; width: auto; }

.lang { display: inline-flex; border: 1px solid var(--line); background: rgba(6, 20, 46, .5); }
.lang button {
  min-width: 44px; min-height: 40px; padding: 6px 12px; border: 0; background: none; cursor: pointer;
  font-family: var(--f-label); font-weight: 600; font-size: 15px; letter-spacing: .12em; color: var(--muted);
}
.lang button:hover { color: var(--text); }
.lang button[aria-pressed="true"] { background: var(--accent); color: var(--accent-ink); }

/* ------------------------------------------------------------ hero */
.hero {
  position: relative; isolation: isolate; overflow: hidden;
  min-height: 100vh; min-height: 100svh;
  display: grid; grid-template-rows: auto 1fr auto;
}
.hero-img {
  position: absolute; inset: 0; z-index: -2;
  width: 100%; height: 100%; object-fit: cover; object-position: 68% 50%;
}
.hero-shade {
  position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(90deg, rgba(6, 20, 46, .94) 0%, rgba(6, 20, 46, .78) 38%, rgba(6, 20, 46, .2) 70%, rgba(6, 20, 46, .05) 100%),
    linear-gradient(0deg, var(--bg) 0%, rgba(6, 20, 46, 0) 28%);
}
.hero-top { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding-top: 28px; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 620px); align-content: center; padding-block: 40px 24px; }
.hero-copy .eyebrow { margin-bottom: 18px; }
.claim {
  font-family: var(--f-display); font-weight: 800; text-transform: uppercase;
  font-size: clamp(44px, 7vw, 96px); line-height: .98; letter-spacing: -.01em;
}
.pillars {
  margin-top: 22px;
  font-family: var(--f-label); font-weight: 600; font-size: clamp(14px, 1.4vw, 18px);
  letter-spacing: .28em; text-transform: uppercase; color: var(--text);
}
.slash { color: var(--accent); margin: 0 .35em; }
.hero-meta {
  margin-top: 14px;
  font-family: var(--f-display); font-weight: 800; font-size: clamp(15px, 1.5vw, 19px);
  text-transform: uppercase; letter-spacing: .01em;
}
.dot { color: var(--accent); margin: 0 .7em; }
.nowrap { white-space: nowrap; }
.hero-intro { margin-top: 18px; max-width: 52ch; color: var(--text-2); font-size: 18px; }
.hero-badge { display: flex; justify-content: flex-end; padding-bottom: 28px; }
.badge {
  display: inline-block; padding: 12px 34px; background: var(--accent); color: var(--accent-ink);
  font-family: var(--f-label); font-weight: 600; font-size: 16px; letter-spacing: .2em; text-transform: uppercase;
  transform: skewX(var(--skew));
}
.badge > * { display: inline-block; transform: skewX(calc(-1 * var(--skew))); }

/* scheda di accesso */
.access {
  margin-top: 32px; max-width: 560px;
  padding: clamp(22px, 3vw, 30px);
  background: rgba(6, 20, 46, .78);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  border: 1px solid var(--line); border-top: 3px solid var(--accent);
}
.access h2 { margin-top: 10px; font-family: var(--f-display); font-weight: 800; font-size: clamp(20px, 2vw, 26px); line-height: 1.2; }
.access-text { margin-top: 8px; color: var(--text-2); font-size: 16px; }
.access-form { display: flex; gap: 12px; margin-top: 18px; }
.access-form input {
  flex: 1; min-width: 0; min-height: 48px; padding: 10px 16px;
  background: #04102a; color: var(--text); border: 1px solid var(--line); border-radius: 0;
  font-family: var(--f-label); font-weight: 600; font-size: 20px; letter-spacing: .16em; text-transform: uppercase;
}
.access-form input::placeholder { color: #5a77a3; }
.access-form input:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px rgba(31, 213, 242, .25); }
.access-form input[aria-invalid="true"] { border-color: var(--danger); }
.btn-busy { display: none; }
.is-busy .btn-idle { display: none; }
.is-busy .btn-busy { display: inline; }
.access-error {
  margin-top: 12px; padding: 10px 12px; font-size: 15px;
  color: #FFD2D2; background: rgba(255, 90, 90, .1); border-left: 3px solid var(--danger);
}
.access-help { margin-top: 14px; color: var(--muted); font-size: 15px; }
.access-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 20px; }

/* ------------------------------------------------------------ barra sezioni */
.subnav {
  position: sticky; top: 0; z-index: 20;
  background: rgba(6, 20, 46, .92);
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
  border-block: 1px solid var(--line);
}
.subnav ul { display: flex; gap: 28px; overflow-x: auto; scrollbar-width: none; }
.subnav ul::-webkit-scrollbar { display: none; }
.subnav a {
  display: block; padding: 16px 0 14px; white-space: nowrap; text-decoration: none;
  font-family: var(--f-label); font-weight: 600; font-size: 15px; letter-spacing: .14em; text-transform: uppercase;
  color: var(--muted); border-bottom: 2px solid transparent;
}
.subnav a:hover { color: var(--text); }
.subnav a[aria-current="true"] { color: var(--accent); border-bottom-color: var(--accent); }

/* ------------------------------------------------------------ sezioni */
#area:focus { outline: none; }
.sec { padding-block: clamp(64px, 9vw, 112px); scroll-margin-top: 54px; }
.sec + .sec { border-top: 1px solid rgba(43, 76, 126, .45); }
.sec-alt { background: linear-gradient(180deg, var(--bg-2), var(--bg)); }
.sec-head { max-width: 920px; margin-bottom: clamp(32px, 5vw, 52px); }
.sec-head h2 {
  margin-top: 14px;
  font-family: var(--f-display); font-weight: 800; font-size: clamp(28px, 3.8vw, 46px);
  line-height: 1.12; letter-spacing: -.005em; text-wrap: balance;
}
.lead { margin-top: 16px; max-width: 70ch; color: var(--text-2); font-size: clamp(17px, 1.6vw, 20px); }

.sec-bg { position: relative; isolation: isolate; }
.sec-bg::before { content: ""; position: absolute; inset: 0; z-index: -1; background-repeat: no-repeat; background-size: cover; }
.sec-bg-rete::before { background-image: linear-gradient(90deg, var(--bg) 20%, rgba(6, 20, 46, .4)), url("img/rete.webp"); background-position: center, right center; }
.sec-bg-hospitality::before {
  background-image: linear-gradient(180deg, var(--bg) 0%, rgba(6, 20, 46, .82) 35%, rgba(6, 20, 46, .9) 100%), url("img/hospitality.webp");
  background-position: center, center;
}

.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 4vw, 56px); align-items: start; }
.split-photo { margin-top: 16px; align-items: center; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }

/* numeri chiave */
.stats { display: grid; grid-template-columns: repeat(6, 1fr); gap: 14px; }
.stat {
  container-type: inline-size;
  display: flex; flex-direction: column; align-items: center; gap: 6px; text-align: center;
  padding: 28px 12px 24px; background: var(--surface); border: 1px solid var(--line);
}
.stat-value {
  font-family: var(--f-display); font-weight: 800; line-height: 1.05; letter-spacing: -.02em;
  font-size: clamp(22px, 15cqi, 46px); color: var(--accent); white-space: nowrap;
}
.stat-label { margin-top: 6px; font-family: var(--f-label); font-weight: 600; font-size: 15px; letter-spacing: .14em; text-transform: uppercase; line-height: 1.25; }
.stat-note { color: var(--muted); font-size: 14px; line-height: 1.35; }
.stat-accent { background: var(--accent); border-color: var(--accent); }
.stat-accent .stat-value, .stat-accent .stat-label { color: var(--accent-ink); }
.stat-accent .stat-note { color: #0C3D57; }

/* elenchi numerati */
.steps li { display: flex; gap: 16px; align-items: flex-start; padding: 9px 0; font-size: 18px; color: var(--text-2); }
.steps .num {
  flex: none; display: grid; place-items: center; width: 32px; height: 32px; margin-top: -2px; border-radius: 50%;
  background: var(--accent); color: var(--accent-ink); font-family: var(--f-display); font-weight: 800; font-size: 14px;
}
.steps-sm li { gap: 10px; padding: 6px 0; font-size: 16px; }
.steps-sm .num { width: auto; height: auto; margin: 0; background: none; color: var(--accent); font-size: 15px; line-height: 1.6; }
.steps-sm .num::after { content: "."; }

/* card */
.card { padding: 28px; background: var(--surface); border: 1px solid var(--line); }
.card h3 { margin-bottom: 8px; font-family: var(--f-label); font-weight: 600; font-size: 22px; line-height: 1.2; letter-spacing: .05em; text-transform: uppercase; }
.card p { color: var(--text-2); font-size: 17px; }
.card-n { color: var(--accent); font-variant-numeric: tabular-nums; }
.card-n.big { display: block; margin-bottom: 14px; font-family: var(--f-display); font-weight: 800; font-size: 30px; line-height: 1; }
.card-accent { border-color: var(--accent); box-shadow: inset 0 3px 0 var(--accent); background: #0A2A4D; }
.card-date { margin-bottom: 8px; font-family: var(--f-display); font-weight: 800; font-size: 20px; color: var(--accent); text-transform: uppercase; }
.card-icon { display: flex; gap: 20px; align-items: flex-start; }
.icon-ring {
  flex: none; display: grid; place-items: center; width: 60px; height: 60px; border-radius: 50%;
  border: 1.5px solid var(--accent); color: var(--accent); background: rgba(31, 213, 242, .06);
}
.icon-ring .icon { width: 26px; height: 26px; }

.photo-card { position: relative; display: flex; align-items: flex-end; min-height: 380px; overflow: hidden; border: 1px solid var(--line); background: var(--surface); }
.photo-card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .5; }
.photo-card::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(6, 20, 46, .95) 10%, rgba(6, 20, 46, .2) 100%); }
.photo-card-body { position: relative; z-index: 1; padding: clamp(22px, 3vw, 32px); }
.photo-card-body p { color: var(--text-2); }
.accent-title { font-family: var(--f-display); font-weight: 800; font-size: clamp(22px, 2.4vw, 30px); line-height: 1.15; color: var(--accent); text-transform: uppercase; }
.photo-card-sub { margin: 10px 0 12px; font-weight: 600; font-size: 19px; color: var(--text) !important; }

.photo { overflow: hidden; border: 1px solid var(--line); }
.photo img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }

.card-photo { padding: 0; overflow: hidden; border-top: 3px solid var(--accent); }
.card-photo img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.card-photo-body { position: relative; margin-top: -56px; padding: 0 26px 26px; background: linear-gradient(180deg, rgba(11, 31, 69, 0) 0, var(--surface) 56px); }
.card-photo-body h3 { padding-top: 22px; font-size: 24px; }

/* fascia ciano */
.band {
  margin-top: 40px; padding: 18px 28px; text-align: center;
  background: var(--accent); color: var(--accent-ink);
  font-family: var(--f-label); font-weight: 600; font-size: clamp(15px, 1.6vw, 21px); letter-spacing: .12em; text-transform: uppercase;
  clip-path: polygon(12px 0, 100% 0, calc(100% - 12px) 100%, 0 100%);
}
.band-inline { display: inline-block; margin-top: 28px; padding-inline: 32px; text-align: left; }

/* dati pratici */
.facts { display: grid; }
.fact { display: grid; grid-template-columns: 28px 1fr; column-gap: 16px; padding: 20px 0; border-bottom: 1px solid var(--line); }
.fact:first-child { border-top: 1px solid var(--line); }
.fact .icon { grid-row: span 2; width: 24px; height: 24px; margin-top: 2px; color: var(--accent); }
.fact dt { font-family: var(--f-label); font-weight: 600; font-size: 14px; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }
.fact dd { font-size: 20px; font-weight: 500; }
.fact dd a { font-size: 16px; font-weight: 400; }

/* blocco email */
.mail-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.mail-hint, .mail-privacy { margin-top: 14px; color: var(--muted); font-size: 15px; }
.mail-privacy .icon { display: inline-block; vertical-align: -2px; margin-right: 4px; color: var(--accent); }

.panel {
  padding: clamp(22px, 3vw, 32px);
  background: rgba(6, 20, 46, .82); border: 1px solid var(--line); border-top: 3px solid var(--accent);
  -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
}
.panel h3 { font-family: var(--f-display); font-weight: 800; font-size: clamp(22px, 2.2vw, 28px); line-height: 1.2; }
.panel > p { margin: 10px 0 20px; color: var(--text-2); }
.downloads { margin-top: 28px; padding-top: 22px; border-top: 1px solid var(--line); }
.dl-row { display: flex; flex-wrap: wrap; gap: 12px; }
.dl-status { min-height: 1.4em; margin-top: 10px; color: var(--muted); font-size: 15px; }

/* roadmap */
.timeline { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.milestone { padding: 24px 24px 28px; border-top: 3px solid var(--line); background: linear-gradient(180deg, rgba(11, 31, 69, .9), rgba(11, 31, 69, .35)); }
.milestone.is-now { border-top-color: var(--accent); }
.year { display: block; font-family: var(--f-display); font-weight: 800; font-size: clamp(36px, 4vw, 54px); line-height: 1; color: var(--text); }
.is-now .year { color: var(--accent); }
.milestone h3 { margin: 14px 0 8px; font-family: var(--f-label); font-weight: 600; font-size: 21px; letter-spacing: .06em; text-transform: uppercase; }
.milestone p { color: var(--text-2); font-size: 16px; }
.quote { margin-top: 40px; padding: 26px 30px; background: var(--surface); border-left: 4px solid var(--accent); }
.quote p { font-size: clamp(18px, 1.8vw, 22px); line-height: 1.45; }
.quote strong { color: var(--accent); font-weight: 600; }
.quote .quote-note { margin-top: 10px; font-size: 16px; color: var(--muted); }

/* categorie */
.tiers { display: grid; gap: 12px; }
.tier {
  display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, .75fr) minmax(0, 2fr) auto; gap: 24px; align-items: center;
  padding: 24px 28px; background: var(--surface); border: 1px solid var(--line);
}
.tier-accent { border-color: var(--accent); box-shadow: inset 5px 0 0 var(--accent); background: #0A2A4D; }
.tier-name { font-family: var(--f-label); font-weight: 600; font-size: 22px; line-height: 1.2; letter-spacing: .04em; text-transform: uppercase; }
.tier-avail { padding-left: 24px; border-left: 1px solid var(--line); font-family: var(--f-label); font-weight: 600; font-size: 18px; color: var(--accent); }
.tier-text { padding-left: 24px; border-left: 1px solid var(--line); color: var(--text-2); font-size: 16px; }
.tier-link {
  display: inline-flex; align-items: center; gap: 6px; white-space: nowrap; text-decoration: none;
  font-family: var(--f-label); font-weight: 600; font-size: 15px; letter-spacing: .12em; text-transform: uppercase;
}
.tier-link:hover .icon { transform: translateX(3px); }
.tier-link .icon { transition: transform .15s ease; }

/* note */
.source { margin-top: 24px; color: var(--muted); font-size: 13px; }

/* footer */
.foot { padding: 28px 0 36px; border-top: 1px solid var(--line); color: var(--muted); font-size: 14px; }
.foot-row { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 24px; }
.foot nav { display: flex; flex-wrap: wrap; gap: 8px 22px; }
.foot a { color: var(--muted); }
.foot a:hover { color: var(--accent); }

/* pagina privacy */
.page-top { padding-bottom: 22px; border-bottom: 1px solid var(--line); }
.prose { max-width: 780px; padding-block: 48px 72px; }
.prose h1 { margin: 14px 0 8px; font-family: var(--f-display); font-weight: 800; font-size: clamp(30px, 4vw, 42px); line-height: 1.15; }
.prose h2 { margin: 36px 0 10px; font-family: var(--f-label); font-weight: 600; font-size: 20px; letter-spacing: .12em; text-transform: uppercase; color: var(--accent); }
.prose p { color: var(--text-2); font-size: 17px; line-height: 1.65; }
.prose > p:last-child { margin-top: 40px; }

/* ------------------------------------------------------------ responsive */
@media (max-width: 1100px) {
  .stats { grid-template-columns: repeat(3, 1fr); }
  .tier { grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); }
  .tier-avail { padding-left: 0; border-left: 0; grid-column: 1; }
  .tier-name { grid-column: 1; }
  .tier-text { grid-column: 2; grid-row: 1 / span 2; }
  .tier-link { grid-column: 2; }
}
@media (max-width: 960px) {
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .split { grid-template-columns: 1fr; }
  .timeline { grid-template-columns: 1fr; }
  .hero-shade {
    background:
      linear-gradient(180deg, rgba(6, 20, 46, .55) 0%, rgba(6, 20, 46, .82) 42%, rgba(6, 20, 46, .96) 75%, var(--bg) 100%);
  }
  .hero-img { object-position: 74% 30%; }
}
@media (max-width: 720px) {
  body { font-size: 16px; }
  .grid-2, .grid-3 { grid-template-columns: 1fr; }
  .stats { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .tier { grid-template-columns: 1fr; gap: 10px; padding: 22px; }
  .tier-name, .tier-avail, .tier-text, .tier-link { grid-column: 1; grid-row: auto; }
  .tier-text { padding-left: 0; border-left: 0; }
  .logo-img { height: 50px; }
  .hero-top { padding-top: 18px; }
  .pillars { letter-spacing: .16em; }
  .slash { margin: 0 .2em; }
  .hero-badge { justify-content: flex-start; padding-left: 6px; }
  .card { padding: 22px; }
  .card-icon { gap: 16px; }
  .icon-ring { width: 52px; height: 52px; }
  .steps li { font-size: 17px; }
  .subnav ul { gap: 22px; }
}
@media (max-width: 480px) {
  .access-form { flex-direction: column; }
  .access-form .btn { width: 100%; }
  .mail-actions .btn, .dl-row .btn { width: 100%; }
  .logo-img { height: 44px; }
  .band { padding-inline: 18px; letter-spacing: .08em; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; }
}

/* ------------------------------------------------------------ blocchi aggiunti: pagina pubblica, aree, programma, in breve */
.split-photo > div > .sec-head { margin-bottom: 28px; }
.photo-tall img { aspect-ratio: 4 / 3; height: 100%; }

/* dati chiave (cos'è SIRF) */
.fact-tiles { display: grid; gap: 0; }
.fact-tile {
  display: grid; grid-template-columns: 28px 1fr; column-gap: 16px; align-items: center;
  padding: 16px 0; border-bottom: 1px solid var(--line);
}
.fact-tile:first-child { border-top: 1px solid var(--line); }
.fact-tile .icon { grid-row: span 2; width: 24px; height: 24px; }
.fact-label { font-family: var(--f-label); font-weight: 600; font-size: 14px; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }
.fact-value { font-size: 19px; font-weight: 600; color: var(--text); line-height: 1.3; }

/* aree tecnologiche */
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.area-card { display: flex; flex-direction: column; overflow: hidden; background: var(--surface); border: 1px solid var(--line); border-top: 3px solid var(--accent); }
.area-card img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.area-body { display: flex; flex-direction: column; gap: 10px; padding: 20px 22px 24px; }
.area-body h3 { font-family: var(--f-label); font-weight: 600; font-size: 22px; line-height: 1.15; letter-spacing: .04em; text-transform: uppercase; }
.area-body p { color: var(--text-2); font-size: 16px; }
.tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 4px; }
.tags li {
  padding: 4px 9px; border: 1px solid rgba(31, 213, 242, .35); background: rgba(31, 213, 242, .06);
  font-family: var(--f-label); font-weight: 600; font-size: 13px; letter-spacing: .06em; text-transform: uppercase; color: var(--accent);
}

/* programma */
.kpis { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-bottom: 28px; padding: 20px 0; border-block: 1px solid var(--line); }
.kpis li { display: flex; align-items: baseline; gap: 14px; flex-wrap: wrap; }
.kpi-value { font-family: var(--f-display); font-weight: 800; font-size: clamp(30px, 3.4vw, 44px); line-height: 1; color: var(--accent); }
.kpi-label { font-family: var(--f-label); font-weight: 600; font-size: 15px; letter-spacing: .14em; text-transform: uppercase; }
.prog-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.prog-item { display: flex; gap: 16px; align-items: flex-start; padding: 20px 22px; background: var(--surface); border: 1px solid var(--line); }
.prog-item h3 { margin-bottom: 4px; font-family: var(--f-label); font-weight: 600; font-size: 19px; line-height: 1.2; letter-spacing: .04em; text-transform: uppercase; }
.prog-item p { color: var(--text-2); font-size: 15.5px; }
.icon-ring-sm { width: 46px; height: 46px; }
.icon-ring-sm .icon { width: 22px; height: 22px; }
/* comitato organizzatore */
.member { display: flex; flex-direction: column; overflow: hidden; background: var(--surface); border: 1px solid var(--line); border-top: 3px solid var(--accent); }
.member img { width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; }
.member-body { padding: 18px 20px 20px; }
.member h3 { font-family: var(--f-display); font-weight: 800; font-size: 19px; line-height: 1.2; }
.member-role { margin-top: 6px; font-family: var(--f-label); font-weight: 600; font-size: 15px; letter-spacing: .1em; text-transform: uppercase; color: var(--accent); }
.member-org { margin-top: 6px; color: var(--text-2); font-size: 15px; }
.member-link { display: inline-flex; align-items: center; gap: 6px; margin-top: 8px; font-size: 14.5px; }
.member-label { margin-top: 14px; padding-top: 12px; border-top: 1px solid var(--line); font-family: var(--f-label); font-weight: 600; font-size: 13.5px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.member-list li { margin-top: 4px; color: var(--text-2); font-size: 14.5px; line-height: 1.4; }
/* i 10 momenti della giornata (solo nelle aree) */
.agenda { margin-top: 36px; }
.agenda-note { margin: 6px 0 18px; color: var(--muted); font-size: 15.5px; }
.agenda-parts { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
.agenda-part { padding: 20px 22px 10px; background: var(--surface); border: 1px solid var(--line); border-top: 2px solid var(--accent); }
.agenda-part-title { margin-bottom: 8px; font-family: var(--f-label); font-weight: 600; font-size: 15px; letter-spacing: .16em; text-transform: uppercase; color: var(--accent); }
.agenda-list li { display: flex; gap: 14px; align-items: flex-start; padding: 10px 0; border-top: 1px solid var(--line); }
.agenda-list li:first-child { border-top: 0; }
.agenda-n { flex: none; width: 30px; height: 30px; display: grid; place-items: center; background: rgba(31, 213, 242, .12); color: var(--accent); font-family: var(--f-label); font-weight: 600; font-size: 15px; }
.agenda-list h4 { margin: 2px 0 2px; font-family: var(--f-label); font-weight: 600; font-size: 17px; letter-spacing: .04em; text-transform: uppercase; line-height: 1.25; }
.agenda-list p { margin: 0; }
.agenda-list p { color: var(--text-2); font-size: 15px; }
@media (max-width: 760px) { .agenda-parts { grid-template-columns: 1fr; } }
.photo-strip { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-top: 28px; }
.photo-strip-2 { grid-template-columns: repeat(2, 1fr); }
.photo-strip-2 .strip-photo img { aspect-ratio: 16 / 9; }
.strip-photo { position: relative; overflow: hidden; border: 1px solid var(--line); }
.strip-photo img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; transition: transform .6s ease; }
.strip-photo:hover img { transform: scale(1.03); }
.strip-photo figcaption {
  position: absolute; inset: auto 0 0 0; padding: 40px 18px 14px;
  background: linear-gradient(0deg, rgba(6, 20, 46, .92), rgba(6, 20, 46, 0));
  font-family: var(--f-label); font-weight: 600; font-size: 16px; letter-spacing: .1em; text-transform: uppercase;
}

/* come si partecipa */
.howto { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; counter-reset: none; }
.howto-step { position: relative; padding: 28px 26px 26px; background: var(--surface); border: 1px solid var(--line); overflow: hidden; }
.howto-n {
  position: absolute; right: 18px; top: 6px;
  font-family: var(--f-display); font-weight: 800; font-size: 72px; line-height: 1; color: rgba(31, 213, 242, .14);
}
.howto-icon { width: 30px; height: 30px; margin-bottom: 16px; }
.howto-step h3 { margin-bottom: 8px; font-family: var(--f-label); font-weight: 600; font-size: 22px; letter-spacing: .04em; text-transform: uppercase; }
.howto-step p { color: var(--text-2); font-size: 17px; }
.howto-cta { margin-top: 28px; }
.howto-partners {
  display: flex; gap: 14px; align-items: flex-start; margin-top: 28px; padding: 18px 22px; max-width: 860px;
  background: var(--surface); border-left: 3px solid var(--accent); color: var(--text-2);
}
.howto-partners .icon { margin-top: 2px; }

/* in breve */
.sec-summary { padding-block: clamp(44px, 6vw, 72px); background: linear-gradient(180deg, var(--bg-2), var(--bg)); }
.sec-summary .sec-head { margin-bottom: 28px; }
.summary { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.summary-tile { display: flex; flex-direction: column; gap: 6px; padding: 22px; background: var(--surface); border: 1px solid var(--line); }
.summary-tile .icon { width: 24px; height: 24px; margin-bottom: 6px; }
.summary-link { margin-top: 4px; font-size: 15px; }
.summary-next { background: rgba(31, 213, 242, .08); border-color: var(--accent); }
.summary-actions { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; margin-top: 8px; }
.summary-actions .dl-status { margin: 0; min-height: 0; font-size: 14px; }

/* evento (partner): non è una conferenza */
.notconf { margin-top: 20px; padding: 24px 28px; background: var(--surface); border: 1px solid var(--line); border-left: 4px solid var(--accent); }
.notconf-sub { margin: 8px 0 10px; font-weight: 600; font-size: 19px; }
.notconf p:last-child { color: var(--text-2); max-width: 80ch; }

/* accreditamento: passaggi grandi */
.steps-big li { padding: 14px 0; font-size: 20px; color: var(--text); border-bottom: 1px solid rgba(43, 76, 126, .6); }
.steps-big .num { width: 40px; height: 40px; font-size: 16px; }

@media (max-width: 1100px) {
  .grid-4, .summary { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 960px) {
  .prog-grid { grid-template-columns: repeat(2, 1fr); }
  .howto { grid-template-columns: 1fr; }
  .photo-tall img { aspect-ratio: 16 / 9; }
}
@media (max-width: 720px) {
  .photo-strip { grid-template-columns: 1fr; }
  .strip-photo img { aspect-ratio: 16 / 9; }
  .prog-grid { grid-template-columns: 1fr; }
  .kpis { grid-template-columns: 1fr; gap: 10px; padding: 16px 0; }
  .steps-big li { font-size: 18px; }
}
@media (max-width: 560px) {
  .grid-4, .summary { grid-template-columns: 1fr; }
}
.about-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(24px, 4vw, 48px); align-items: center; }
.about-grid .photo img { aspect-ratio: 16 / 9; }
@media (max-width: 860px) { .about-grid { grid-template-columns: 1fr; } .about-grid .photo { order: -1; } }

/* dove siamo: cartina */
.venue-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(24px, 4vw, 48px); align-items: start; }
.venue-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 24px; }
.map { margin: 0; }
.map img { width: 100%; height: auto; aspect-ratio: 16 / 10; border: 1px solid var(--line); background: var(--surface); }
@media (max-width: 860px) { .venue-grid { grid-template-columns: 1fr; } .venue-grid .map { order: -1; } }
@media (max-width: 480px) { .venue-actions .btn { width: 100%; } }
.map-link { display: block; }
.map-link:hover img { border-color: var(--accent); }

/* pacchetto in un unico file: informativa privacy dentro la pagina, visibile dal link */
.privacy-inline { display: none; }
.privacy-inline:target { display: block; }
.prose .privacy-title { margin: 14px 0 8px; color: var(--text); letter-spacing: 0; text-transform: none; font-family: var(--f-display); font-weight: 800; font-size: clamp(28px, 3.6vw, 40px); line-height: 1.15; }

/* ------------------------------------------------------------ documenti pubblici */
.doc { display: flex; flex-direction: column; padding: 26px; background: var(--surface); border: 1px solid var(--line); }
.doc-icon { width: 28px; height: 28px; margin-bottom: 14px; }
.doc h3 { font-family: var(--f-label); font-weight: 600; font-size: 22px; letter-spacing: .04em; text-transform: uppercase; line-height: 1.2; }
.doc p { margin-top: 8px; color: var(--text-2); font-size: 16px; }
.doc-links { display: flex; flex-wrap: wrap; gap: 10px; margin-top: auto; padding-top: 20px; }
.doc-links .btn { min-height: 44px; padding: 10px 18px; font-size: 14px; letter-spacing: .1em; }

/* ------------------------------------------------------------ moduli: schede apribili */
.forms { display: grid; gap: 18px; }
.steps-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0 28px; margin-bottom: clamp(24px, 4vw, 40px); }
.steps-row li { border-bottom: 1px solid rgba(43, 76, 126, .6); }
.form-card { background: rgba(6, 20, 46, .88); border: 1px solid var(--line); border-top: 3px solid var(--accent); }
.form-card > summary {
  display: grid; grid-template-columns: minmax(0, 1fr) auto; grid-template-areas: "badge btn" "title btn" "intro btn";
  gap: 6px 28px; align-items: center; padding: clamp(20px, 3vw, 30px); cursor: pointer; list-style: none;
}
.form-card > summary::-webkit-details-marker { display: none; }
.form-badge { grid-area: badge; justify-self: start; padding: 4px 10px; background: #FFE500; color: var(--accent-ink); font-family: var(--f-label); font-weight: 600; font-size: 14px; letter-spacing: .12em; text-transform: uppercase; }
.form-title { grid-area: title; margin-top: 6px; font-family: var(--f-display); font-weight: 800; font-size: clamp(21px, 2.3vw, 28px); line-height: 1.2; }
.form-intro { grid-area: intro; color: var(--text-2); font-size: 16px; }
.form-toggle { grid-area: btn; }
.t-close, .form-card[open] .t-open { display: none; }
.form-card[open] .t-close { display: inline; }
.form-card[open] .form-toggle { background: rgba(31, 213, 242, .1); color: var(--accent); }
.form-card > summary:hover .form-toggle { background: var(--accent-hover); color: var(--accent-ink); }
.form-card[open] > summary { border-bottom: 1px solid var(--line); }

.sirf-form { padding: clamp(20px, 3vw, 30px); }
.form-req { color: var(--muted); font-size: 15px; }
.fgroup { margin: 26px 0 0; padding: 0; border: 0; min-width: 0; }
.fgroup legend { display: flex; align-items: baseline; gap: 10px; width: 100%; padding: 0 0 10px; margin-bottom: 16px; border-bottom: 1px solid rgba(43, 76, 126, .8); font-family: var(--f-label); font-weight: 600; font-size: 19px; letter-spacing: .08em; text-transform: uppercase; color: var(--text); }
.fgroup-n { color: var(--accent); }
.req { color: var(--accent); }
.fgrid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px 20px; }
.checks + .fgrid { margin-top: 18px; }
.field { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.field-wide { grid-column: 1 / -1; }
.field label { font-family: var(--f-label); font-weight: 600; font-size: 14px; letter-spacing: .1em; text-transform: uppercase; color: var(--text-2); }
.field input, .field textarea {
  width: 100%; min-height: 46px; padding: 10px 14px;
  background: #04102a; color: var(--text); border: 1px solid var(--line); border-radius: 0;
  font-family: var(--f-body); font-size: 17px; line-height: 1.4;
}
.field textarea { min-height: 120px; resize: vertical; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px rgba(31, 213, 242, .25); }
.field input[aria-invalid="true"], .field textarea[aria-invalid="true"] { border-color: var(--danger); }
.checks { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px 20px; }
.check { display: flex; align-items: flex-start; gap: 12px; min-height: 44px; padding: 10px 12px; background: rgba(16, 41, 90, .45); border: 1px solid transparent; cursor: pointer; font-size: 16px; line-height: 1.35; }
.check:hover { border-color: var(--line); }
.check input { flex: none; width: 20px; height: 20px; margin: 0; accent-color: var(--accent); cursor: pointer; }
.check:has(input:checked) { border-color: var(--accent); }
.fnote { margin-top: 12px; color: var(--muted); font-size: 15px; }
.ferr { margin-top: 10px; color: var(--danger); font-size: 15px; }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.form-foot { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 24px; margin-top: 22px; }
.form-msgs { flex: 1 1 260px; }
.form-msg { color: var(--danger); font-size: 15px; }
.form-msg[data-msg="preview"] { color: var(--text-2); }
.form-done { display: flex; gap: 16px; align-items: flex-start; padding: clamp(20px, 3vw, 30px); }
.form-done:focus { outline: none; }
.form-done .icon { width: 30px; height: 30px; flex: none; }
.form-done h3 { font-family: var(--f-display); font-weight: 800; font-size: 22px; }
.form-done p { margin-top: 6px; color: var(--text-2); }

@media (max-width: 960px) {
  .steps-row { grid-template-columns: 1fr; }
}
@media (max-width: 720px) {
  .form-card > summary { grid-template-columns: 1fr; grid-template-areas: "badge" "title" "intro" "btn"; }
  .form-toggle { justify-self: start; margin-top: 10px; }
  .fgrid, .checks { grid-template-columns: 1fr; }
}
@media (max-width: 480px) {
  .form-toggle, .form-foot .btn, .doc-links .btn { width: 100%; }
}
