/* =========================================================
   FitEvent — stile
   Tema scuro (default): nero + #ccf74a
   Tema chiaro: data-theme="light"
   ========================================================= */

:root {
  --accent: #ccf74a;
  --accent-ink: #0a0a0a;          /* testo sopra l'accento */
  --accent-soft: rgba(204, 247, 74, .12);

  --bg: #0a0a0a;
  --bg-2: #111111;
  --surface: #161616;
  --surface-2: #1d1d1d;
  --border: rgba(255, 255, 255, .09);
  --border-strong: rgba(255, 255, 255, .18);
  --text: #f4f4f1;
  --muted: #a1a19b;
  --hl: var(--accent);            /* colore parole evidenziate */
  --danger: #ff6b6b;
  --ok: var(--accent);

  --radius: 18px;
  --radius-sm: 12px;
  --shadow: 0 20px 60px -20px rgba(0, 0, 0, .6);
  --header-h: 72px;

  --font-display: "Space Grotesk", system-ui, sans-serif;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  color-scheme: dark;
}

:root[data-theme="light"] {
  --accent-soft: rgba(130, 170, 0, .12);
  --bg: #f7f8f2;
  --bg-2: #eef0e6;
  --surface: #ffffff;
  --surface-2: #f2f4ea;
  --border: rgba(10, 10, 10, .09);
  --border-strong: rgba(10, 10, 10, .18);
  --text: #0a0a0a;
  --muted: #5d5f57;
  --hl: #0a0a0a;
  --danger: #d23b3b;
  --ok: #3f6b00;
  --shadow: 0 20px 50px -24px rgba(20, 30, 0, .25);
  color-scheme: light;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 12px); -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  transition: background-color .3s ease, color .3s ease;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
h1, h2, h3 { font-family: var(--font-display); line-height: 1.08; letter-spacing: -.02em; margin: 0; }
p { margin: 0; }
::selection { background: var(--accent); color: var(--accent-ink); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 6px; }
[data-theme="light"] :focus-visible { outline-color: #0a0a0a; }

.container { width: 100%; max-width: 1180px; margin: 0 auto; padding: 0 16px; }
.container--narrow { max-width: 820px; }
@media (min-width: 720px) { .container { padding: 0 32px; } }

/* ---------- Buttons ---------- */
.btn {
  --pad-y: 12px; --pad-x: 20px;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: var(--pad-y) var(--pad-x);
  border-radius: 999px;
  font: 600 15px/1 var(--font-body);
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform .2s ease, background-color .2s ease, border-color .2s ease, box-shadow .2s ease, color .2s;
  white-space: nowrap;
}
.btn svg { width: 18px; height: 18px; transition: transform .2s; }
.btn:hover svg { transform: translateX(3px); }
.btn--sm { --pad-y: 10px; --pad-x: 16px; font-size: 14px; }
.btn--lg { --pad-y: 16px; --pad-x: 26px; font-size: 16px; }
.btn--block { width: 100%; }
.btn--primary { background: var(--accent); color: var(--accent-ink); box-shadow: 0 0 0 0 rgba(204,247,74,.4); }
.btn--primary:hover { transform: translateY(-2px); box-shadow: 0 12px 30px -10px rgba(204,247,74,.55); }
[data-theme="light"] .btn--primary { background: #0a0a0a; color: var(--accent); }
[data-theme="light"] .btn--primary:hover { box-shadow: 0 12px 30px -12px rgba(0,0,0,.45); }
.btn--ghost { background: transparent; color: var(--text); border-color: var(--border-strong); }
.btn--ghost:hover { border-color: var(--text); transform: translateY(-2px); }

.icon-btn {
  width: 42px; height: 42px; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--surface); color: var(--text);
  border: 1px solid var(--border); cursor: pointer;
  transition: border-color .2s, background-color .3s;
}
.icon-btn:hover { border-color: var(--border-strong); }
.icon-btn svg { width: 19px; height: 19px; }
.i-moon { display: none; }
[data-theme="light"] .i-sun { display: none; }
[data-theme="light"] .i-moon { display: block; }

/* ---------- Header ---------- */
.header {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  height: var(--header-h);
  transition: background-color .3s, border-color .3s, backdrop-filter .3s;
  border-bottom: 1px solid transparent;
}
.header.is-scrolled {
  background: color-mix(in srgb, var(--bg) 82%, transparent);
  backdrop-filter: saturate(160%) blur(14px);
  -webkit-backdrop-filter: saturate(160%) blur(14px);
  border-bottom-color: var(--border);
}
.header__inner { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.brand { display: inline-flex; align-items: center; gap: 10px; font-family: var(--font-display); font-weight: 700; font-size: 20px; letter-spacing: -.02em; }
.brand__mark { width: 36px; height: 36px; border-radius: 10px; background: var(--accent); color: #0a0a0a; display: grid; place-items: center; }
.brand__mark svg { width: 22px; height: 22px; fill: currentColor; }

.nav { display: flex; align-items: center; gap: 28px; font-size: 15px; font-weight: 500; }
.nav__links { display: flex; align-items: center; gap: 28px; }
.nav__links a { color: var(--muted); transition: color .2s; position: relative; }
.nav__links a:hover { color: var(--text); }
.nav__num, .nav__mail { display: none; }
.brand, .header__actions { position: relative; z-index: 2; }
.header__actions { display: flex; align-items: center; gap: 10px; }

/* Burger: tre linee perfettamente centrate che diventano una X */
.burger { display: none; position: relative; padding: 0; }
.burger span {
  position: absolute; left: 50%; top: 50%;
  width: 18px; height: 2px; margin: -1px 0 0 -9px;
  background: currentColor; border-radius: 2px;
  transition: transform .3s cubic-bezier(.6,0,.2,1), opacity .2s, width .3s;
}
.burger span:nth-child(1) { transform: translateY(-6px); }
.burger span:nth-child(3) { transform: translateY(6px); width: 12px; margin-left: -9px; }
.burger[aria-expanded="true"] { background: var(--accent); color: #0a0a0a; border-color: var(--accent); }
.burger[aria-expanded="true"] span:nth-child(1) { transform: rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.burger[aria-expanded="true"] span:nth-child(3) { transform: rotate(-45deg); width: 18px; }
[data-theme="light"] .burger[aria-expanded="true"] { background: #0a0a0a; color: var(--accent); border-color: #0a0a0a; }

@media (max-width: 900px) {
  .burger { display: block; }
  /* menu a schermo intero */
  .nav {
    position: fixed; inset: 0; z-index: 1;
    height: 100vh; height: 100dvh;
    flex-direction: column; align-items: stretch; justify-content: space-between; gap: 0;
    padding: calc(var(--header-h) + 28px) 16px calc(24px + env(safe-area-inset-bottom));
    background: var(--bg);
    opacity: 0; visibility: hidden;
    clip-path: inset(0 0 100% 0);
    transition: clip-path .45s cubic-bezier(.7,0,.2,1), opacity .3s, visibility 0s linear .45s;
    overflow-y: auto;
  }
  .nav::before {
    content: ""; position: absolute; right: -90px; bottom: 90px; width: 300px; height: 340px;
    background: url("assets/logo-accent.svg") center/contain no-repeat; opacity: .06; pointer-events: none;
  }
  [data-theme="light"] .nav::before { background-image: url("assets/logo.svg"); }
  [data-theme="light"] .nav::before { opacity: .06; }
  .nav.is-open { opacity: 1; visibility: visible; clip-path: inset(0 0 0 0); transition: clip-path .45s cubic-bezier(.7,0,.2,1), opacity .2s, visibility 0s; }

  .nav__links { flex-direction: column; align-items: stretch; gap: 0; }
  .nav__links a {
    display: flex; align-items: baseline; gap: 14px;
    padding: 18px 2px; border-bottom: 1px solid var(--border);
    font-family: var(--font-display); font-weight: 600; font-size: clamp(28px, 8vw, 36px); letter-spacing: -.02em;
    color: var(--text);
    opacity: 0; transform: translateY(16px);
    transition: opacity .4s ease, transform .4s cubic-bezier(.2,.8,.2,1), color .2s;
  }
  .nav__links a:active { color: var(--hl); }
  .nav__num { display: inline; font: 600 13px/1 var(--font-body); color: var(--hl); letter-spacing: .05em; }
  [data-theme="light"] .nav__num { color: var(--muted); }
  .nav.is-open .nav__links a { opacity: 1; transform: none; }
  .nav.is-open .nav__links a:nth-child(1) { transition-delay: .12s; }
  .nav.is-open .nav__links a:nth-child(2) { transition-delay: .17s; }
  .nav.is-open .nav__links a:nth-child(3) { transition-delay: .22s; }
  .nav.is-open .nav__links a:nth-child(4) { transition-delay: .27s; }

  .nav__foot { display: grid; gap: 14px; justify-items: center; margin-top: 32px; opacity: 0; transform: translateY(16px); transition: opacity .4s ease .32s, transform .4s ease .32s; }
  .nav.is-open .nav__foot { opacity: 1; transform: none; }
  .nav__cta { width: 100%; padding: 18px; font-size: 16px; }
  .nav__mail { display: inline-block; color: var(--muted); font-size: 14px; }

  /* niente blur sull'header quando il menu è aperto (altrimenti il menu fixed si "rompe") */
  .header.menu-open { background: transparent; border-bottom-color: transparent; backdrop-filter: none; -webkit-backdrop-filter: none; }
  body.menu-lock { overflow: hidden; }
}

/* ---------- Hero ---------- */
.hero { position: relative; padding: calc(var(--header-h) + 56px) 0 80px; overflow: hidden; }
.hero__glow {
  position: absolute; inset: -20% -10% auto auto; width: 720px; height: 720px;
  background: radial-gradient(circle, rgba(204,247,74,.20), transparent 60%);
  filter: blur(20px); pointer-events: none;
}
[data-theme="light"] .hero__glow { background: radial-gradient(circle, rgba(204,247,74,.55), transparent 62%); }
.hero::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image: linear-gradient(var(--border) 1px, transparent 1px), linear-gradient(90deg, var(--border) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse at 30% 30%, #000 10%, transparent 65%);
  -webkit-mask-image: radial-gradient(ellipse at 30% 30%, #000 10%, transparent 65%);
  opacity: .6;
}
.hero__grid { position: relative; display: grid; gap: 56px; align-items: center; }
@media (min-width: 980px) { .hero__grid { grid-template-columns: 1.05fr 1fr; gap: 48px; } .hero { padding-bottom: 110px; } }

.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 7px 14px; border-radius: 999px;
  background: var(--accent-soft); border: 1px solid var(--border);
  font-size: 13px; font-weight: 600; color: var(--text); margin-bottom: 22px;
}
.dot { width: 7px; height: 7px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 4px rgba(204,247,74,.2); }
[data-theme="light"] .dot { background: #7fae00; }
.hero h1 { font-size: clamp(44px, 8vw, 84px); font-weight: 700; }
.hl { color: var(--hl); }
[data-theme="light"] .hl { background: linear-gradient(transparent 58%, var(--accent) 58%, var(--accent) 92%, transparent 92%); padding: 0 .06em; }
.lead { margin-top: 22px; font-size: clamp(17px, 1.6vw, 19px); color: var(--muted); max-width: 540px; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
@media (max-width: 480px) { .hero__cta .btn { width: 100%; } }
.checks { list-style: none; padding: 0; margin: 30px 0 0; display: flex; flex-wrap: wrap; gap: 10px 22px; font-size: 14px; color: var(--muted); }
.checks li { display: flex; align-items: center; gap: 8px; }
.checks li::before {
  content: ""; width: 18px; height: 18px; border-radius: 50%; flex: none;
  background: var(--accent) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230a0a0a' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l5 5L20 7'/%3E%3C/svg%3E") center/11px no-repeat;
}

/* ---------- Mockup ---------- */
.mock {
  position: relative;
  background: var(--surface); border: 1px solid var(--border);
  border-radius: 24px; padding: 18px; box-shadow: var(--shadow);
}
[data-theme="dark"] .mock, :root:not([data-theme="light"]) .mock { background: linear-gradient(180deg, #171717, #111); }
.mock__bar { display: flex; align-items: center; justify-content: space-between; margin-bottom: 14px; }
.mock__title { font-family: var(--font-display); font-weight: 600; font-size: 16px; }
.live { display: inline-flex; align-items: center; gap: 6px; font-size: 11px; font-weight: 700; letter-spacing: .08em; padding: 5px 10px; border-radius: 999px; background: rgba(255,80,80,.12); color: #ff6b6b; }
.live__dot { width: 7px; height: 7px; border-radius: 50%; background: currentColor; animation: pulse 1.4s infinite; }
@keyframes pulse { 0%,100% { opacity: 1; transform: scale(1);} 50% { opacity: .35; transform: scale(.8);} }

.mock__stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-bottom: 14px; }
.stat { background: var(--surface-2); border: 1px solid var(--border); border-radius: 14px; padding: 12px; min-width: 0; }
.stat__label { display: block; font-size: 11px; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.stat__value { display: block; font-family: var(--font-display); font-size: clamp(16px, 2.4vw, 22px); font-weight: 600; color: var(--muted); margin-top: 2px; white-space: nowrap; }
.stat__value b { color: var(--text); font-weight: 700; }
.meter { height: 4px; border-radius: 4px; background: var(--border); margin-top: 8px; overflow: hidden; }
.meter i { display: block; height: 100%; width: 0; background: var(--accent); border-radius: inherit; transition: width 1.4s cubic-bezier(.2,.8,.2,1); }
[data-theme="light"] .meter i { background: #0a0a0a; }
.mock.is-visible .meter i { width: var(--w); }

.floor {
  position: relative; aspect-ratio: 16 / 10;
  border-radius: 16px; border: 1px dashed var(--border-strong);
  background:
    radial-gradient(circle at 1px 1px, var(--border-strong) 1px, transparent 0) 0 0 / 18px 18px,
    var(--surface-2);
  overflow: hidden;
}
.zone { position: absolute; display: grid; place-items: center; border-radius: 12px; font-size: 11px; font-weight: 700; letter-spacing: .08em; color: var(--muted); text-transform: uppercase; }
.zone--prive { left: 6%; top: 46%; width: 44%; height: 44%; border: 1px dashed rgba(204,247,74,.45); background: rgba(204,247,74,.05); }
.zone--prive span { position: absolute; top: 6px; left: 10px; color: var(--hl); }
[data-theme="light"] .zone--prive { border-color: rgba(10,10,10,.3); background: rgba(204,247,74,.25); }
.zone--bar { right: 5%; top: 8%; width: 24%; height: 30%; background: var(--surface); border: 1px solid var(--border-strong); }
.zone--dj { right: 8%; bottom: 10%; width: 18%; height: 22%; background: var(--surface); border: 1px solid var(--border-strong); border-radius: 50%; }

.table {
  position: absolute; left: var(--x); top: var(--y);
  width: 13%; aspect-ratio: 1.25; border-radius: 10px;
  font: 700 clamp(9px, 1.4vw, 12px)/1 var(--font-body);
  display: grid; place-items: center; cursor: pointer;
  border: 1px solid var(--border-strong); background: var(--surface); color: var(--text);
  transition: transform .2s ease, box-shadow .2s;
}
.table:hover { transform: scale(1.08); z-index: 2; }
.table--vip { width: 15%; }
.table--round { border-radius: 50%; aspect-ratio: 1; width: 11%; }
.t-busy { background: var(--accent); color: #0a0a0a; border-color: transparent; box-shadow: 0 0 18px -4px rgba(204,247,74,.6); }
.t-res { background: transparent; border: 2px solid var(--accent); color: var(--text); }
[data-theme="light"] .t-res { border-color: #0a0a0a; }
.t-free { opacity: .8; }

.mock__legend { display: flex; gap: 16px; margin-top: 12px; font-size: 12px; color: var(--muted); flex-wrap: wrap; }
.mock__legend span { display: inline-flex; align-items: center; gap: 6px; }
.lg { width: 12px; height: 12px; border-radius: 4px; display: inline-block; }
.lg--busy { background: var(--accent); }
.lg--res { border: 2px solid var(--accent); }
[data-theme="light"] .lg--res { border-color: #0a0a0a; }
.lg--free { background: var(--surface); border: 1px solid var(--border-strong); }

.toast {
  position: absolute; right: -14px; bottom: -26px;
  display: flex; align-items: center; gap: 10px;
  background: var(--surface); border: 1px solid var(--border-strong);
  border-radius: 14px; padding: 10px 14px; box-shadow: var(--shadow);
  font-size: 13px; opacity: 0; transform: translateY(10px);
  transition: opacity .5s ease 1.2s, transform .5s ease 1.2s;
}
.toast b { display: block; font-size: 13px; }
.toast small { color: var(--muted); font-size: 12px; }
.toast__ic { width: 34px; height: 34px; display: grid; place-items: center; border-radius: 10px; background: var(--accent-soft); font-size: 17px; }
.mock.is-visible .toast { opacity: 1; transform: none; }
@media (max-width: 560px) { .toast { right: 8px; bottom: -30px; } .mock__legend { margin-bottom: 30px; } .mock { padding: 14px; } .mock__stats { gap: 6px; } .stat { padding: 9px; } }

/* ---------- Marquee ---------- */
.marquee { border-block: 1px solid var(--border); background: var(--accent); color: #0a0a0a; overflow: hidden; padding: 16px 0; }
.marquee__track { display: flex; width: max-content; animation: scroll 32s linear infinite; }
.marquee span { font-family: var(--font-display); font-weight: 700; font-size: clamp(20px, 3vw, 30px); letter-spacing: -.01em; padding: 0 28px; display: inline-flex; align-items: center; gap: 56px; }
.marquee span::after { content: ""; width: 14px; height: 14px; background: currentColor; clip-path: polygon(25% 0, 100% 0, 75% 100%, 0 100%); margin-left: 28px; }
@keyframes scroll { to { transform: translateX(-50%); } }

/* ---------- Sections ---------- */
.section { padding: 96px 0; }
@media (max-width: 720px) { .section { padding: 72px 0; } }
.section--alt { background: var(--bg-2); }
.section__head { max-width: 680px; margin-bottom: 52px; }
.section__head h2 { font-size: clamp(32px, 5vw, 52px); font-weight: 700; margin-top: 14px; }
.section__head p { margin-top: 16px; font-size: 18px; color: var(--muted); }
.kicker { display: inline-block; font-size: 13px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--hl); }
[data-theme="light"] .kicker { background: var(--accent); padding: 4px 10px; border-radius: 6px; color: #0a0a0a; }

.card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); transition: border-color .25s, transform .25s, background-color .3s, box-shadow .25s; }

/* Features */
.features { display: grid; gap: 16px; grid-template-columns: 1fr; }
@media (min-width: 640px) { .features { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .features { grid-template-columns: repeat(3, 1fr); } }
.feature { padding: 28px; position: relative; overflow: hidden; }
.feature:hover { border-color: rgba(204,247,74,.5); transform: translateY(-4px); box-shadow: var(--shadow); }
[data-theme="light"] .feature:hover { border-color: #0a0a0a; }
.feature__icon { width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; background: var(--accent-soft); color: var(--hl); margin-bottom: 22px; transition: background-color .25s, color .25s; }
[data-theme="light"] .feature__icon { background: var(--accent); color: #0a0a0a; }
.feature:hover .feature__icon { background: var(--accent); color: #0a0a0a; }
.feature__icon svg { width: 24px; height: 24px; }
.feature h3 { font-size: 21px; font-weight: 600; margin-bottom: 10px; }
.feature p { color: var(--muted); font-size: 15.5px; }
.feature--big { background: var(--accent); color: #0a0a0a; border-color: transparent; }
.feature--big p { color: rgba(10,10,10,.72); }
.feature--big .feature__icon, .feature--big:hover .feature__icon { background: #0a0a0a; color: var(--accent); }
.feature--big:hover { border-color: transparent; }

/* Roles */
.roles { display: grid; gap: 16px; }
@media (min-width: 900px) { .roles { grid-template-columns: repeat(3, 1fr); } }
.role { padding: 32px 28px; }
.role:hover { transform: translateY(-4px); border-color: var(--border-strong); }
.role__tag { font-family: var(--font-display); font-weight: 700; font-size: 14px; color: var(--muted); display: inline-block; padding: 4px 10px; border: 1px solid var(--border-strong); border-radius: 999px; }
.role h3 { font-size: 24px; margin: 22px 0 10px; }
.role > p { color: var(--muted); }
.role ul { list-style: none; padding: 0; margin: 24px 0 0; display: grid; gap: 12px; border-top: 1px solid var(--border); padding-top: 22px; }
.role li { display: flex; gap: 10px; font-size: 15px; }
.role li::before { content: ""; flex: none; width: 8px; height: 8px; margin-top: 8px; background: var(--accent); clip-path: polygon(25% 0, 100% 0, 75% 100%, 0 100%); }
[data-theme="light"] .role li::before { background: #0a0a0a; }
.role--accent { background: #0a0a0a; color: #f4f4f1; border-color: #0a0a0a; }
:root:not([data-theme="light"]) .role--accent { background: var(--surface-2); border-color: rgba(204,247,74,.35); }
.role--accent > p { color: #a1a19b; }
.role--accent .role__tag { background: var(--accent); color: #0a0a0a; border-color: transparent; }
.role--accent ul { border-top-color: rgba(255,255,255,.1); }
.role--accent li::before { background: var(--accent) !important; }

/* Steps */
.steps { list-style: none; padding: 0; margin: 0; display: grid; gap: 16px; counter-reset: s; }
@media (min-width: 900px) { .steps { grid-template-columns: repeat(3, 1fr); gap: 24px; } }
.step { position: relative; padding: 32px 28px; border-radius: var(--radius); border: 1px solid var(--border); background: var(--surface); }
.step__n {
  width: 56px; height: 56px; display: grid; place-items: center;
  font-family: var(--font-display); font-weight: 700; font-size: 24px;
  background: var(--accent); color: #0a0a0a;
  clip-path: polygon(18% 0, 100% 0, 82% 100%, 0 100%);
  margin-bottom: 24px;
}
.step h3 { font-size: 22px; margin-bottom: 8px; }
.step p { color: var(--muted); }
@media (min-width: 900px) {
  .step:not(:last-child)::after {
    content: ""; position: absolute; top: 60px; right: -24px; width: 24px; height: 2px;
    background: repeating-linear-gradient(90deg, var(--border-strong) 0 4px, transparent 4px 8px);
  }
}

/* ---------- CTA / Form ---------- */
.section--cta { background: var(--accent); color: #0a0a0a; position: relative; overflow: hidden; }
.section--cta::before {
  content: ""; position: absolute; right: -120px; top: -80px; width: 520px; height: 600px;
  background: url("assets/logo.svg") center/contain no-repeat; opacity: .07; pointer-events: none;
}
.cta-grid { position: relative; display: grid; gap: 48px; align-items: start; }
@media (min-width: 980px) { .cta-grid { grid-template-columns: .9fr 1.1fr; gap: 64px; } .cta-copy { position: sticky; top: calc(var(--header-h) + 32px); } }
.kicker--dark { color: #0a0a0a !important; background: rgba(10,10,10,.08) !important; padding: 5px 12px; border-radius: 6px; }
.cta-copy h2 { font-size: clamp(34px, 5vw, 56px); margin-top: 16px; }
.cta-copy > p { margin-top: 18px; font-size: 18px; color: rgba(10,10,10,.75); max-width: 480px; }
.cta-points { list-style: none; padding: 0; margin: 30px 0; display: grid; gap: 12px; }
.cta-points li { display: flex; align-items: baseline; gap: 14px; font-size: 16px; padding-bottom: 12px; border-bottom: 1px solid rgba(10,10,10,.14); }
.cta-points b { font-family: var(--font-display); font-size: 22px; min-width: 76px; }
.cta-mail { display: inline-flex; font-weight: 600; border-bottom: 2px solid #0a0a0a; padding-bottom: 2px; }

.form { padding: 28px; color: var(--text); background: var(--surface); box-shadow: 0 30px 80px -30px rgba(0,0,0,.5); }
:root:not([data-theme="light"]) .form { background: #0f0f0f; border-color: #0f0f0f; }
@media (min-width: 720px) { .form { padding: 36px; } }
.form__title { font-size: 24px; margin-bottom: 22px; }
.form__row { display: grid; gap: 0 16px; }
@media (min-width: 600px) { .form__row { grid-template-columns: 1fr 1fr; } }
.field { display: flex; flex-direction: column; gap: 6px; margin: 0 0 16px; border: 0; padding: 0; min-width: 0; }
.field label, .field legend { font-size: 13px; font-weight: 600; color: var(--muted); padding: 0; margin-bottom: 0; }
fieldset.field legend { margin-bottom: 8px; }
.field input, .field select, .field textarea {
  width: 100%; font: 500 15px/1.4 var(--font-body); color: var(--text);
  background: var(--surface-2); border: 1px solid var(--border);
  border-radius: var(--radius-sm); padding: 13px 14px;
  transition: border-color .2s, box-shadow .2s, background-color .3s;
  -webkit-appearance: none; appearance: none;
}
.field select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23999' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 12px center; background-size: 18px; padding-right: 40px;
}
.field textarea { resize: vertical; min-height: 96px; }
.field input::placeholder, .field textarea::placeholder { color: var(--muted); opacity: .6; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 4px var(--accent-soft); }
[data-theme="light"] .field input:focus, [data-theme="light"] .field select:focus, [data-theme="light"] .field textarea:focus { border-color: #0a0a0a; box-shadow: 0 0 0 4px rgba(204,247,74,.6); }
.field input[type="date"] { min-height: 48px; }
.field.has-error input, .field.has-error select { border-color: var(--danger); }
.err { color: var(--danger); font-size: 12.5px; min-height: 0; }
.err:empty { display: none; }

.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { position: relative; cursor: pointer; }
.chip input { position: absolute; opacity: 0; pointer-events: none; }
.chip span { display: inline-block; padding: 10px 16px; border-radius: 999px; border: 1px solid var(--border-strong); font-size: 14px; font-weight: 500; transition: all .2s; }
.chip:hover span { border-color: var(--text); }
.chip input:checked + span { background: var(--accent); color: #0a0a0a; border-color: var(--accent); }
[data-theme="light"] .chip input:checked + span { background: #0a0a0a; color: var(--accent); border-color: #0a0a0a; }
.chip input:focus-visible + span { outline: 2px solid var(--accent); outline-offset: 2px; }

.consent { display: flex; gap: 12px; align-items: flex-start; font-size: 13.5px; color: var(--muted); margin: 6px 0 4px; cursor: pointer; }
.consent input { flex: none; width: 20px; height: 20px; margin: 1px 0 0; accent-color: var(--accent); cursor: pointer; }
[data-theme="light"] .consent input { accent-color: #0a0a0a; }
.consent a { color: var(--text); text-decoration: underline; text-underline-offset: 2px; }
.err--consent { display: block; margin-bottom: 8px; }
.hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; opacity: 0; }

#submitBtn { margin-top: 14px; position: relative; }
.spinner { display: none; width: 18px; height: 18px; border: 2.5px solid currentColor; border-right-color: transparent; border-radius: 50%; animation: spin .7s linear infinite; }
#submitBtn.is-loading .spinner { display: inline-block; }
#submitBtn.is-loading { pointer-events: none; opacity: .85; }
@keyframes spin { to { transform: rotate(360deg); } }

.form__status { margin-top: 16px; font-size: 14.5px; border-radius: var(--radius-sm); }
.form__status:empty { display: none; }
.form__status.is-error { padding: 14px 16px; background: rgba(255,107,107,.1); color: var(--danger); border: 1px solid rgba(255,107,107,.3); }
.form__status.is-error a { color: inherit; text-decoration: underline; font-weight: 600; }

.form-success { text-align: center; padding: 28px 8px; }
.form-success__ic { width: 72px; height: 72px; border-radius: 50%; margin: 0 auto 20px; display: grid; place-items: center; background: var(--accent); color: #0a0a0a; animation: pop .5s cubic-bezier(.2,1.6,.4,1); }
.form-success__ic svg { width: 34px; height: 34px; }
.form-success h3 { font-size: 26px; margin-bottom: 10px; }
.form-success p { color: var(--muted); max-width: 380px; margin: 0 auto 22px; }
@keyframes pop { from { transform: scale(.4); opacity: 0; } to { transform: scale(1); opacity: 1; } }

/* ---------- FAQ ---------- */
.faq { display: grid; gap: 12px; }
.faq details { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-sm); padding: 0 22px; transition: border-color .2s, background-color .3s; }
.faq details[open] { border-color: var(--border-strong); }
.faq summary { list-style: none; cursor: pointer; padding: 20px 0; font-family: var(--font-display); font-weight: 600; font-size: 18px; display: flex; justify-content: space-between; align-items: center; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; flex: none; width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; background: var(--accent-soft); color: var(--hl); font-size: 20px; font-weight: 500; transition: transform .25s, background-color .2s; }
[data-theme="light"] .faq summary::after { background: var(--accent); color: #0a0a0a; }
.faq details[open] summary::after { transform: rotate(45deg); background: var(--accent); color: #0a0a0a; }
.faq details p { color: var(--muted); padding: 0 0 20px; margin-top: -4px; }

/* ---------- Footer ---------- */
.footer { border-top: 1px solid var(--border); padding: 56px 0 28px; background: var(--bg); }
.footer__grid { display: grid; gap: 32px; }
@media (min-width: 800px) { .footer__grid { grid-template-columns: 1.4fr 1fr 1fr; } }
.footer__claim { color: var(--muted); margin-top: 12px; }
.footer__links, .footer__contact { display: flex; flex-direction: column; gap: 10px; color: var(--muted); font-size: 15px; }
.footer__links a:hover, .footer__contact a:hover { color: var(--text); }
.footer__bottom { margin-top: 40px; padding-top: 22px; border-top: 1px solid var(--border); font-size: 13px; color: var(--muted); }

/* ---------- Modal ---------- */
.modal { border: 1px solid var(--border-strong); border-radius: var(--radius); padding: 0; max-width: 520px; width: calc(100% - 32px); background: var(--surface); color: var(--text); box-shadow: var(--shadow); }
.modal::backdrop { background: rgba(0,0,0,.6); backdrop-filter: blur(4px); }
.modal__body { padding: 28px; display: grid; gap: 14px; }
.modal__body h3 { font-size: 22px; }
.modal__body p { color: var(--muted); font-size: 15px; }
.modal__body a { color: var(--text); text-decoration: underline; }
.modal__body .btn { justify-self: start; margin-top: 6px; }

/* ---------- Box videochiamata (form) ---------- */
.video-note {
  display: flex; align-items: center; gap: 14px;
  padding: 14px 16px; margin: 0 0 16px;
  border-radius: var(--radius-sm);
  background: var(--accent-soft); border: 1px solid rgba(204,247,74,.35);
}
[data-theme="light"] .video-note { background: rgba(204,247,74,.35); border-color: rgba(10,10,10,.12); }
.video-note__ic { flex: none; width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; background: var(--accent); color: #0a0a0a; }
.video-note__ic svg { width: 20px; height: 20px; }
.video-note b { display: block; font-size: 15px; }
.video-note small { display: block; color: var(--muted); font-size: 13px; line-height: 1.4; margin-top: 2px; }

/* ---------- Preloader ---------- */
.preloader {
  position: fixed; inset: 0; z-index: 1000;
  display: grid; place-items: center;
  background: var(--bg);
  transition: opacity .6s ease, visibility 0s linear .6s;
}
.preloader.is-done { opacity: 0; visibility: hidden; pointer-events: none; }
.preloader.is-done .preloader__inner { transform: scale(.92); opacity: 0; }
.preloader__inner { display: grid; justify-items: center; gap: 22px; transition: transform .6s cubic-bezier(.6,0,.2,1), opacity .4s ease; }
.preloader__mark {
  width: 104px; height: 104px; border-radius: 28px;
  background: var(--accent); color: #0a0a0a;
  display: grid; place-items: center;
  box-shadow: 0 0 0 0 rgba(204,247,74,.45);
  animation: plIn .6s cubic-bezier(.2,1.4,.4,1) both, plGlow 1.8s ease-in-out .9s infinite;
}
.preloader__mark svg { width: 62px; height: 62px; overflow: visible; }
.pl-bar { fill: currentColor; opacity: 0; transform-box: fill-box; transform-origin: left center; animation: plBar .55s cubic-bezier(.2,.9,.2,1) forwards; }
.pl-bar--1 { animation-delay: .25s; }
.pl-bar--2 { animation-delay: .38s; }
.pl-bar--3 { animation-delay: .51s; }
.preloader__name {
  font-family: var(--font-display); font-weight: 700; font-size: 22px; letter-spacing: -.02em;
  opacity: 0; animation: plFade .5s ease .65s forwards;
}
.preloader__progress { width: 140px; height: 3px; border-radius: 3px; background: var(--border); overflow: hidden; opacity: 0; animation: plFade .4s ease .7s forwards; }
.preloader__progress i { display: block; height: 100%; width: 0; background: var(--accent); border-radius: inherit; transition: width .35s ease; }
[data-theme="light"] .preloader__progress i { background: #0a0a0a; }
@keyframes plIn { from { transform: scale(.5) rotate(-12deg); opacity: 0; } to { transform: none; opacity: 1; } }
@keyframes plBar { from { opacity: 0; transform: translateX(-38%) skewX(-18deg); } to { opacity: 1; transform: none; } }
@keyframes plFade { to { opacity: 1; } }
@keyframes plGlow { 0%,100% { box-shadow: 0 0 0 0 rgba(204,247,74,.45); } 50% { box-shadow: 0 0 0 16px rgba(204,247,74,0); } }
body.is-loading { overflow: hidden; }

/* ---------- Reveal on scroll ---------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s cubic-bezier(.2,.8,.2,1); }
.reveal.is-visible { opacity: 1; transform: none; }
.no-js .reveal { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
}
