/* ============================================================
   PERSEO v4 — assemblaggio v2 + v3
   01 Hero occhio+3D (v2) · 02 Manifesto (v3) · 03 Metodo
   full-bleed a scroll naturale (stile v2, testi v3) ·
   04 Il percorso (v2) · 05 Due mondi split (v2) ·
   06 Lo strumento lista (v3) · 07 Contatti+footer (v2)
   ============================================================ */

:root {
  --indigo: #16133E;
  --indigo-deep: #0E0B2E;
  --indigo-black: #080620;
  --ice: #F4F5FA;
  --white: #FFFFFF;
  --cyan: #00CED1;
  --magenta: #FF1493;
  --grad: linear-gradient(90deg, var(--cyan), var(--magenta));
  --text-dark: #16133E;
  --text-light: #EDEEF7;
  --muted-on-dark: rgba(237, 238, 247, 0.66);
  --muted-on-light: rgba(22, 19, 62, 0.64);
  --hairline-dark: rgba(22, 19, 62, 0.14);
  --font: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --maxw: 1200px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
html.has-lenis { scroll-behavior: auto; }

body {
  margin: 0;
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.6;
  color: var(--text-light);
  background: var(--indigo-black);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; }
a { color: inherit; }
::selection { background: rgba(0, 206, 209, 0.35); }

.wrap { width: min(var(--maxw), calc(100% - 96px)); margin-inline: auto; }
.grad-text {
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.kicker {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 13px; font-weight: 700;
  letter-spacing: 0.22em; text-transform: uppercase;
}
.kicker::before {
  content: ""; width: 26px; height: 2px;
  background: var(--grad); border-radius: 2px;
}
.sr-only {
  position: absolute; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip-link {
  position: fixed; top: -48px; left: 16px; z-index: 200;
  background: var(--white); color: var(--indigo);
  padding: 10px 18px; border-radius: 8px; font-weight: 600;
  transition: top 0.2s;
}
.skip-link:focus { top: 16px; }

/* titoli mega (solo "Il percorso") */
.mega {
  display: block; margin: 0;
  font-weight: 800; line-height: 0.92;
  letter-spacing: -0.035em; text-transform: uppercase;
  white-space: nowrap; width: 100%;
  color: var(--text-light);
}

/* grana fotografica */
.grain {
  position: fixed; inset: -50%; z-index: 130; pointer-events: none;
  width: 200%; height: 200%;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='240' height='240'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2'/%3E%3C/filter%3E%3Crect width='240' height='240' filter='url(%23n)' opacity='0.5'/%3E%3C/svg%3E");
  opacity: 0.05;
  mix-blend-mode: overlay;
}
html.motion .grain { animation: grain-shift 0.9s steps(4) infinite; }
@keyframes grain-shift {
  0% { transform: translate(0, 0); }
  25% { transform: translate(-2%, 1.4%); }
  50% { transform: translate(1.2%, -1.8%); }
  75% { transform: translate(-1.5%, -0.8%); }
  100% { transform: translate(0, 0); }
}

/* blob animati */
.blobs { position: absolute; inset: 0; overflow: hidden; pointer-events: none; }
.blob {
  position: absolute; border-radius: 50%;
  filter: blur(90px); opacity: 0.35;
  will-change: transform;
}
.blob--cyan { background: radial-gradient(circle, rgba(0,206,209,0.55), transparent 65%); }
.blob--magenta { background: radial-gradient(circle, rgba(255,20,147,0.5), transparent 65%); }
html.motion .blob { animation: blob-drift 26s ease-in-out infinite alternate; }
html.motion .blob:nth-child(2) { animation-duration: 34s; animation-delay: -12s; }
@keyframes blob-drift {
  0%   { transform: translate(0, 0) scale(1); }
  50%  { transform: translate(12vw, -8vh) scale(1.25); }
  100% { transform: translate(-9vw, 10vh) scale(0.9); }
}

/* ---------- chrome fisso ---------- */
.progress {
  position: fixed; top: 0; left: 0; right: 0; height: 3px;
  z-index: 140; background: rgba(255, 255, 255, 0.08);
  pointer-events: none;
}
.progress__bar {
  height: 100%; width: 100%;
  background: var(--grad);
  transform-origin: 0 50%;
  transform: scaleX(0);
}
.site-header {
  position: fixed; top: 3px; left: 0; right: 0; z-index: 110;
  display: flex; align-items: center; justify-content: space-between;
  padding: 18px 40px;
  transition: background 0.4s, backdrop-filter 0.4s;
}
.site-header.is-scrolled {
  background: rgba(8, 6, 32, 0.7);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}
.site-header__logo img { display: block; height: 26px; width: auto; }
.site-header__nav { display: flex; align-items: center; gap: 28px; }
.site-header__nav a {
  font-size: 14px; font-weight: 600; text-decoration: none;
  white-space: nowrap; color: var(--text-light);
  opacity: 0.85; transition: opacity 0.2s;
}
.site-header__nav a:hover { opacity: 1; }

.btn {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font); font-size: 15px; font-weight: 700;
  padding: 13px 26px; border-radius: 999px;
  text-decoration: none; cursor: pointer;
  border: 0; line-height: 1.2;
  transition: transform 0.25s var(--ease-out), box-shadow 0.25s;
}
.btn:hover { transform: translateY(-2px); }
.btn:focus-visible, a:focus-visible, button:focus-visible {
  outline: 3px solid var(--cyan); outline-offset: 3px;
}
.btn--grad {
  background: var(--grad); color: var(--white);
  box-shadow: 0 8px 30px rgba(255, 20, 147, 0.25);
}
.btn--grad:hover { box-shadow: 0 12px 36px rgba(255, 20, 147, 0.35); }
.btn--ghost-light {
  background: rgba(8, 6, 32, 0.25); color: var(--text-light);
  box-shadow: inset 0 0 0 1.5px rgba(237, 238, 247, 0.4);
  backdrop-filter: blur(6px);
}
.btn--ghost-light:hover { box-shadow: inset 0 0 0 1.5px rgba(237, 238, 247, 0.85); }
.btn--sm { padding: 9px 20px; font-size: 13.5px; }
.btn .arrow { transition: transform 0.25s var(--ease-out); }
.btn:hover .arrow { transform: translateX(4px); }

/* pagination laterale 01–07 */
.pagination {
  position: fixed; right: 28px; top: 50%; z-index: 110;
  transform: translateY(-50%);
  display: flex; flex-direction: column; gap: 6px;
  margin: 0; padding: 0; list-style: none;
  color: var(--text-light);
}
body[data-theme="light"] .pagination { color: var(--indigo); }
.pagination a {
  display: flex; align-items: center; gap: 8px;
  text-decoration: none;
  font-size: 11px; font-weight: 700; letter-spacing: 0.12em;
  font-variant-numeric: tabular-nums;
  color: currentColor; opacity: 0.38;
  padding: 5px 4px;
  transition: opacity 0.3s;
}
.pagination a::after {
  content: ""; width: 14px; height: 2px; border-radius: 2px;
  background: currentColor; opacity: 0.5;
  transition: width 0.3s var(--ease-out), opacity 0.3s;
}
.pagination a:hover { opacity: 0.85; }
.pagination a.is-active { opacity: 1; }
.pagination a.is-active .num {
  background: var(--grad);
  -webkit-background-clip: text; background-clip: text;
  color: transparent;
}
.pagination a.is-active::after { width: 30px; background: var(--grad); opacity: 1; }

/* stimoli periferici */
.stimuli { position: fixed; inset: 0; pointer-events: none; z-index: 90; }
.stimulus { position: absolute; width: 9px; height: 9px; border-radius: 50%; opacity: 0; }

/* ============================================================
   01 · HERO — l'occhio (v2)
   ============================================================ */
.section { position: relative; }

.hero {
  height: 190vh;
  background: var(--indigo-black);
  color: var(--text-light);
}
html:not(.motion) .hero { height: 100vh; }
.hero__sticky {
  position: sticky; top: 0;
  height: 100vh;
  overflow: hidden;
  display: grid; place-items: center;
}
.hero__eye {
  position: absolute; inset: -12%;
  background: url("../assets/img/eye-macro-duo.jpg") center 42% / cover no-repeat;
  will-change: transform, opacity;
}
.hero__eye::after {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(75% 75% at 50% 48%, transparent 30%, rgba(8, 6, 32, 0.88) 78%);
}
.hero__canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero__inner { position: relative; text-align: center; padding: 0 24px; z-index: 3; }
.hero__logo {
  position: relative;
  width: min(620px, 80vw);
  margin-inline: auto;
  filter: drop-shadow(0 10px 50px rgba(8, 6, 32, 0.9));
}
.hero__logo img { display: block; width: 100%; }
.hero__tagline {
  margin: 40px 0 12px;
  font-size: clamp(28px, 4vw, 46px);
  font-weight: 800; letter-spacing: -0.02em; line-height: 1.12;
  color: var(--white);
  text-shadow: 0 4px 40px rgba(8, 6, 32, 0.9);
}
.hero__claim {
  margin: 0 auto; max-width: 560px;
  font-size: clamp(16px, 1.4vw, 19px);
  color: var(--muted-on-dark);
}
.hero__ctas {
  margin-top: 38px;
  display: flex; gap: 16px; justify-content: center; flex-wrap: wrap;
}
.hero__scrollhint {
  position: absolute; bottom: 26px; left: 50%; z-index: 3;
  transform: translateX(-50%);
  font-size: 12px; letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--muted-on-dark);
  display: flex; flex-direction: column; align-items: center; gap: 10px;
}
.hero__scrollhint::after {
  content: ""; width: 2px; height: 34px; border-radius: 2px;
  background: linear-gradient(180deg, var(--cyan), var(--magenta));
}

/* ============================================================
   02 · MANIFESTO (v3, chiaro)
   ============================================================ */
.manifesto {
  background: var(--ice);
  color: var(--text-dark);
  padding: 16vh 0 13vh;
}
.manifesto .kicker { color: var(--muted-on-light); margin-bottom: 4.5vh; }
.manifesto__text {
  margin: 0;
  font-size: clamp(32px, 4.4vw, 72px);
  font-weight: 800; letter-spacing: -0.035em; line-height: 1.06;
}
.manifesto__text .dim { color: rgba(22, 19, 62, 0.26); }
.manifesto__foot {
  margin-top: 6.5vh;
  display: grid; grid-template-columns: 1fr 1fr; gap: 48px;
  max-width: 980px;
}
.manifesto__foot p { margin: 0; font-size: 17px; color: var(--muted-on-light); max-width: 420px; }

/* ============================================================
   03 · METODO — capitoli full-bleed a scroll naturale
   ============================================================ */
.metodo { background: var(--indigo-black); }
.chapter {
  position: relative;
  min-height: 100vh;
  display: flex; flex-direction: column; justify-content: center;
  overflow: hidden;
  color: var(--text-light);
  padding: 14vh 0;
}
.chapter__bg {
  position: absolute; inset: -10% 0;
  background-size: cover; background-position: center;
  will-change: transform;
}
.chapter--vedere .chapter__bg { background-image: url("../assets/img/eye-pano-duo.jpg"); background-position: center 30%; }
.chapter--reagire .chapter__bg { background-image: url("../assets/img/sprinter-duo.jpg"); }
.chapter__bg::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(8,6,32,0.88) 0%, rgba(8,6,32,0.45) 45%, rgba(8,6,32,0.9) 100%);
}
.chapter--percepire .chapter__bg { background: var(--indigo-deep); }
.chapter--percepire .chapter__bg::after { background: none; }
.chapter__fx {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  z-index: 1; pointer-events: none;
}
.chapter__content {
  position: relative; z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
  gap: clamp(40px, 5vw, 80px);
  align-items: center;
}
.chapter__label {
  margin: 0 0 14px;
  font-size: 13px; font-weight: 700;
  letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--muted-on-dark);
}
.chapter__num {
  font-variant-numeric: tabular-nums;
  background: var(--grad);
  -webkit-background-clip: text; background-clip: text;
  color: transparent;
  margin-right: 10px;
}
.chapter__title {
  margin: 0 0 18px;
  font-size: clamp(36px, 4.2vw, 64px);
  font-weight: 800; letter-spacing: -0.03em; line-height: 1.04;
  color: var(--white);
}
.chapter__text {
  margin: 0; max-width: 460px;
  font-size: clamp(16px, 1.35vw, 19px);
  color: rgba(237, 238, 247, 0.85);
}
.chapter__demo {
  position: relative;
  justify-self: end;
  width: min(440px, 100%);
  min-height: 270px;
  background: rgba(14, 11, 46, 0.55);
  border: 1px solid rgba(237, 238, 247, 0.14);
  border-radius: 20px;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  display: grid; place-items: center;
  overflow: hidden;
}
.chapter__demo-label {
  position: absolute; top: 14px; left: 18px;
  font-size: 10.5px; font-weight: 700; letter-spacing: 0.18em;
  text-transform: uppercase; color: rgba(237, 238, 247, 0.45);
  white-space: nowrap;
}

/* demo 1 — vedere */
.demo-vedere { display: grid; place-items: center; gap: 20px; padding: 44px 20px 30px; }
.optotypes {
  display: flex; gap: 22px; align-items: baseline; justify-content: center;
  font-weight: 800; color: var(--text-light); line-height: 1; margin: 0;
}
.optotypes span:nth-child(1) { font-size: 52px; }
.optotypes span:nth-child(2) { font-size: 42px; }
.optotypes span:nth-child(3) { font-size: 34px; }
.optotypes span:nth-child(4) { font-size: 27px; }
.optotypes span:nth-child(5) { font-size: 21px; }
.binocular { position: relative; width: 130px; height: 56px; }
.binocular i {
  position: absolute; top: 0; width: 56px; height: 56px;
  border-radius: 50%; border: 3px solid;
}
.binocular i:first-child { left: 10px; border-color: var(--cyan); }
.binocular i:last-child { right: 10px; border-color: var(--magenta); }

/* demo 2 — percepire */
.demo-percepire {
  display: grid;
  grid-template-columns: repeat(12, 14px);
  gap: 11px; padding: 26px;
}
.demo-percepire i {
  width: 14px; height: 14px; border-radius: 50%;
  background: rgba(237, 238, 247, 0.14);
}

/* demo 3 — reagire */
.demo-reagire { position: absolute; inset: 0; }
.demo-reagire__hint {
  position: absolute; bottom: 14px; left: 0; right: 0;
  text-align: center; font-size: 12.5px; color: rgba(237, 238, 247, 0.5);
  margin: 0;
}
.demo-reagire__score {
  position: absolute; top: 12px; right: 18px;
  font-size: 14px; font-weight: 700;
  font-variant-numeric: tabular-nums;
  color: var(--text-light); margin: 0;
}
.react-dot {
  position: absolute; width: 48px; height: 48px;
  border-radius: 50%; border: 0; cursor: pointer;
  background: var(--grad);
  box-shadow: 0 6px 22px rgba(255, 20, 147, 0.45);
  transition: transform 0.15s var(--ease-out);
}
.react-dot:hover { transform: scale(1.08); }
.react-dot:active { transform: scale(0.92); }

/* ============================================================
   04 · IL PERCORSO (v2)
   ============================================================ */
.risultato {
  min-height: 100vh;
  background: var(--indigo-deep);
  color: var(--text-light);
  display: flex; flex-direction: column; justify-content: center;
  padding: 110px 0;
  overflow: hidden;
}
.risultato .kicker { color: var(--muted-on-dark); }
.risultato__mega { margin-bottom: 6vh; }
.risultato__grid {
  position: relative; z-index: 2;
  display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.3fr);
  gap: 64px; align-items: center;
}
.risultato__text { margin: 18px 0 0; max-width: 420px; color: var(--muted-on-dark); font-size: 18px; }
.risultato__viz { position: relative; }
.risultato__viz svg { display: block; width: 100%; height: auto; overflow: visible; }
.risultato__outcomes { margin-top: 26px; display: flex; gap: 12px; flex-wrap: wrap; }
.outcome {
  display: inline-flex; align-items: center; gap: 9px;
  padding: 9px 16px; border-radius: 999px;
  font-size: 13.5px; font-weight: 600;
  background: rgba(237, 238, 247, 0.07);
  border: 1px solid rgba(237, 238, 247, 0.14);
}
.outcome i { width: 8px; height: 8px; border-radius: 50%; }
.outcome--training i { background: var(--cyan); }
.outcome--lenti i { background: var(--magenta); }
.outcome--both i { background: var(--grad); }

/* ============================================================
   05 · I DUE MONDI — split (v2)
   ============================================================ */
.mondi { background: var(--indigo-black); }
.mondi__split { display: flex; min-height: 100vh; }
.mondo {
  position: relative; flex: 1;
  display: flex; flex-direction: column; justify-content: flex-end;
  padding: 110px 56px 72px;
  transition: flex 0.65s var(--ease-out);
  overflow: hidden;
  color: var(--text-light);
}
html.motion .mondi__split:hover .mondo { flex: 0.75; }
html.motion .mondi__split .mondo:hover,
html.motion .mondi__split .mondo:focus-within { flex: 1.6; }
.mondo__bg {
  position: absolute; inset: 0;
  background-size: cover; background-position: center;
  transition: transform 0.8s var(--ease-out), opacity 0.6s;
  opacity: 0.55;
  will-change: transform;
}
html.motion .mondo:hover .mondo__bg { transform: scale(1.06); opacity: 0.8; }
.mondo--care .mondo__bg { background-image: url("../assets/img/phoropter-duo.jpg"); opacity: 0.42; }
.mondo--coach .mondo__bg { background-image: url("../assets/img/tennis-duo.jpg"); background-position: center 20%; }
.mondo::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(8,6,32,0.4) 0%, rgba(8,6,32,0.2) 40%, rgba(8,6,32,0.92) 100%);
}
.mondo > *:not(.mondo__bg) { position: relative; z-index: 2; }
.mondo__logo { height: 28px; width: auto; align-self: flex-start; margin-bottom: 26px; }
.mondo__label {
  margin: 0 0 10px;
  font-size: 13px; font-weight: 700; letter-spacing: 0.2em; text-transform: uppercase;
}
.mondo--care .mondo__label { color: var(--cyan); }
.mondo--coach .mondo__label { color: #FF5CAE; }
.mondo__title {
  margin: 0 0 14px;
  font-size: clamp(26px, 2.6vw, 40px);
  font-weight: 800; letter-spacing: -0.02em; line-height: 1.12;
  color: var(--white);
}
.mondo__text { margin: 0 0 22px; max-width: 420px; font-size: 16.5px; color: rgba(237,238,247,0.8); }
.mondo__list { margin: 0 0 30px; padding: 0; list-style: none; display: grid; gap: 10px; }
.mondo__list li { display: flex; gap: 12px; align-items: baseline; font-size: 15px; font-weight: 500; }
.mondo__list li::before {
  content: ""; flex: none; width: 7px; height: 7px; border-radius: 50%;
  transform: translateY(-2px);
}
.mondo--care .mondo__list li::before { background: var(--cyan); }
.mondo--coach .mondo__list li::before { background: var(--magenta); }
.mondo__cta { align-self: flex-start; }
.mondo--care .mondo__cta { background: var(--cyan); color: var(--indigo); box-shadow: 0 8px 26px rgba(0, 206, 209, 0.3); }
.mondo--coach .mondo__cta { background: var(--magenta); color: var(--white); box-shadow: 0 8px 26px rgba(255, 20, 147, 0.3); }
.mondi__divider { width: 2px; flex: none; background: var(--grad); opacity: 0.7; }

/* ============================================================
   06 · LO STRUMENTO — lista servizi (v3, chiaro)
   ============================================================ */
.pro { background: var(--ice); color: var(--text-dark); padding: 14vh 0; }
.pro__head {
  display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr);
  gap: 48px; align-items: end;
  margin-bottom: 7vh;
}
.pro__title {
  margin: 0;
  font-size: clamp(38px, 4.6vw, 80px);
  font-weight: 800; letter-spacing: -0.04em; line-height: 0.98;
}
.pro__lead { margin: 0; font-size: 17px; color: var(--muted-on-light); max-width: 400px; }
.pro__list { border-top: 1px solid var(--hairline-dark); }
.pro-row {
  display: grid;
  grid-template-columns: 64px minmax(0, 1fr) minmax(0, 1.2fr);
  gap: clamp(20px, 3vw, 56px);
  align-items: center;
  padding: 34px 0;
  border-bottom: 1px solid var(--hairline-dark);
  transition: padding 0.35s var(--ease-out);
}
html.motion .pro-row:hover { padding-left: 14px; }
.pro-row__idx {
  margin: 0;
  font-size: 14px; font-weight: 700;
  font-variant-numeric: tabular-nums;
  color: var(--muted-on-light);
}
.pro-row__name {
  margin: 0;
  font-size: clamp(24px, 2.4vw, 38px);
  font-weight: 800; letter-spacing: -0.025em; line-height: 1.1;
}
.pro-row:hover .pro-row__name {
  background: var(--grad);
  -webkit-background-clip: text; background-clip: text;
  color: transparent;
}
.pro-row__desc { margin: 0; font-size: 16px; color: var(--muted-on-light); max-width: 480px; }
.pro__note {
  margin-top: 6vh;
  display: flex; align-items: center; gap: 14px;
  font-size: 15px; font-weight: 600; color: var(--muted-on-light);
}
.pro__note::before {
  content: ""; flex: none; width: 34px; height: 2px;
  background: var(--grad); border-radius: 2px;
}

/* ============================================================
   07 · CONTATTI + FOOTER (v2)
   ============================================================ */
.contatti {
  position: relative;
  background: var(--indigo);
  color: var(--text-light);
  padding: 140px 0 0;
  overflow: hidden;
}
.contatti > .wrap, .contatti > .site-footer { position: relative; z-index: 2; }
.contatti__claim { text-align: center; max-width: 880px; margin: 0 auto 90px; }
.contatti__myth { margin: 0 0 22px; font-size: 15px; color: var(--muted-on-dark); font-style: italic; }
.contatti__title {
  margin: 0;
  font-size: clamp(38px, 5.4vw, 76px);
  font-weight: 800; letter-spacing: -0.03em; line-height: 1.05;
  color: var(--white);
}
.contatti__grid {
  display: grid; grid-template-columns: minmax(0, 0.85fr) minmax(0, 1fr);
  gap: 72px; padding-bottom: 110px;
}
.contatti__info h3 { margin: 0 0 14px; font-size: 24px; font-weight: 800; letter-spacing: -0.015em; }
.contatti__info p { margin: 0 0 26px; color: var(--muted-on-dark); max-width: 380px; }
.contatti__bullets { margin: 0; padding: 0; list-style: none; display: grid; gap: 12px; }
.contatti__bullets li { display: flex; gap: 12px; align-items: baseline; font-size: 15px; }
.contatti__bullets li::before {
  content: ""; flex: none; width: 7px; height: 7px; border-radius: 50%;
  background: var(--grad); transform: translateY(-2px);
}
.form { display: grid; gap: 16px; }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { display: grid; gap: 7px; }
.field label { font-size: 13px; font-weight: 700; letter-spacing: 0.04em; }
.field input, .field select, .field textarea {
  font-family: var(--font); font-size: 15px; color: var(--text-light);
  background: rgba(237, 238, 247, 0.06);
  border: 1px solid rgba(237, 238, 247, 0.18);
  border-radius: 12px; padding: 13px 16px;
  transition: border-color 0.2s, background 0.2s;
}
.field input::placeholder, .field textarea::placeholder { color: rgba(237, 238, 247, 0.35); }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--cyan);
  background: rgba(237, 238, 247, 0.09);
}
.field select option { color: var(--indigo); }
.field textarea { resize: vertical; min-height: 96px; }
.form__interest { display: flex; gap: 10px; flex-wrap: wrap; }
.form__interest input { position: absolute; opacity: 0; pointer-events: none; }
.form__interest span {
  display: inline-block; padding: 9px 18px; border-radius: 999px;
  font-size: 13.5px; font-weight: 600; cursor: pointer;
  border: 1.5px solid rgba(237, 238, 247, 0.25);
  transition: border-color 0.2s, background 0.2s, color 0.2s;
}
.form__interest input:checked + span {
  border-color: transparent; background: var(--grad); color: var(--white);
}
.form__interest input:focus-visible + span { outline: 3px solid var(--cyan); outline-offset: 2px; }
.form__submit { justify-self: start; margin-top: 6px; }
.form__success {
  display: none;
  padding: 18px 22px; border-radius: 14px;
  background: rgba(0, 206, 209, 0.12);
  border: 1px solid rgba(0, 206, 209, 0.4);
  font-weight: 600;
}
.form.is-sent .form__success { display: block; }
.form.is-sent .form__submit { display: none; }
.form__privacy { font-size: 12.5px; color: rgba(237, 238, 247, 0.45); margin: 0; }

.site-footer { border-top: 1px solid rgba(237, 238, 247, 0.12); padding: 44px 0 54px; }
.site-footer__inner {
  display: flex; align-items: center; justify-content: space-between; gap: 32px; flex-wrap: wrap;
}
.site-footer__brands { display: flex; align-items: center; gap: 36px; }
.site-footer__brands img { display: block; height: 22px; width: auto; }
.site-footer__meta { font-size: 13px; color: rgba(237, 238, 247, 0.45); }

/* ============================================================
   motion gating
   ============================================================ */
html.motion .blur-in { opacity: 0; filter: blur(14px); }
html.motion .fade-up { opacity: 0; transform: translateY(34px); }
html.motion .hero__logo, html.motion .hero__tagline,
html.motion .hero__claim, html.motion .hero__ctas { opacity: 0; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* ============================================================
   responsive
   ============================================================ */
@media (max-width: 1024px) {
  .chapter__content { grid-template-columns: 1fr; gap: 36px; }
  .chapter__demo { justify-self: start; }
  .risultato__grid, .contatti__grid { grid-template-columns: 1fr; gap: 48px; }
  .pro__head, .manifesto__foot { grid-template-columns: 1fr; gap: 36px; }
}
@media (max-width: 860px) {
  .wrap { width: calc(100% - 48px); }
  .site-header { padding: 14px 20px; }
  .site-header__nav a:not(.btn) { display: none; }
  .pagination { right: 12px; gap: 2px; }
  .pagination .num { display: none; }
  .pagination a::after { width: 10px; }
  .pagination a.is-active::after { width: 22px; }
  .hero__eye { background-position: center 40%; }
  .mondi__split { flex-direction: column; }
  .mondi__divider { width: 100%; height: 2px; }
  .mondo { padding: 90px 28px 64px; min-height: 88vh; }
  .pro-row { grid-template-columns: 40px 1fr; }
  .pro-row__desc { grid-column: 2; }
  .form__row { grid-template-columns: 1fr; }
  .demo-percepire { grid-template-columns: repeat(8, 13px); gap: 9px; }
  .demo-percepire i:nth-child(n+97) { display: none; }
}

/* ============ 06 · Il comando (hardware 3D) ============ */
.comando { background: var(--indigo-black); min-height: 100vh; display: flex; align-items: center; overflow: hidden; }
.comando__canvas { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 0; display: block; }
.comando__glow { position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background:
    radial-gradient(55% 50% at 62% 52%, rgba(0,206,209,0.12), transparent 70%),
    radial-gradient(45% 40% at 78% 42%, rgba(255,20,147,0.14), transparent 70%); }
.comando__inner { position: relative; z-index: 1; pointer-events: none; }
.comando__inner .kicker { color: var(--cyan); }
.comando__title { font-size: clamp(34px, 5vw, 66px); line-height: 1.04; margin: 16px 0 0;
  letter-spacing: -0.01em; color: var(--white); max-width: 12ch; }
.comando__sub { margin: 22px 0 0; max-width: 430px; color: var(--muted-on-dark); font-size: 18px; line-height: 1.6; }
.comando__chips { list-style: none; padding: 0; margin: 28px 0 0; display: flex; flex-wrap: wrap; gap: 10px; }
.comando__chips li { font-size: 13.5px; letter-spacing: .02em; color: var(--ice);
  border: 1px solid rgba(237,238,247,0.22); border-radius: 999px; padding: 7px 15px; background: rgba(237,238,247,0.03); }
.comando__hint { margin: 40px 0 0; font-size: 12px; letter-spacing: .18em; text-transform: uppercase;
  color: var(--muted-on-dark); opacity: .7; }
@media (max-width: 860px) {
  .comando { min-height: auto; padding: 16vh 0; }
  .comando__canvas { opacity: .45; }
  .comando__title { max-width: none; }
}
