/* =========================================================
   CREATECK v2 — palette dal logo: blu ingranaggio, arancio C/T, azzurro circuiti
   ========================================================= */
:root {
  --navy-950: #000b1f; --navy-900: #001231; --navy-800: #001d45; --navy-700: #003567; --navy-600: #004176; --navy-500: #0a5a9e;
  --orange-600: #e23902; --orange-500: #f05308; --orange-400: #fc7b10; --orange-300: #fd951a;
  --sky-400: #6acff2; --sky-300: #9ce0f7;
  --on-dark: #e8effa; --on-dark-2: #9fb1cc; --line-dark: rgba(156, 200, 255, .16);
  --f-display: "Sora", "Segoe UI", system-ui, sans-serif;
  --f-body: "Inter", "Segoe UI", system-ui, sans-serif;
  --f-mono: "JetBrains Mono", ui-monospace, Consolas, monospace;
  --f-wide: "Michroma", "Sora", sans-serif;
  --grad-brand: linear-gradient(135deg, #e23902, #fc7b10 55%, #fd951a);
  --r-lg: 24px; --wrap: 1240px;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body { margin: 0; font-family: var(--f-body); font-size: 16px; line-height: 1.65; color: var(--on-dark); background: #00112a; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img, svg, canvas { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4 { font-family: var(--f-display); line-height: 1.08; letter-spacing: -.025em; margin: 0; color: #fff; }
p { margin: 0; }
.wrap { width: min(var(--wrap), 100% - 48px); margin-inline: auto; }
body.is-it .en, body.is-en .it { display: none !important; }
::selection { background: var(--orange-500); color: #fff; }

/* film grain + cursor glow + progress */
body::after { content: ""; position: fixed; inset: 0; z-index: 90; pointer-events: none; opacity: .07; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"); }
.glow { position: fixed; width: 560px; height: 560px; left: 0; top: 0; z-index: 1; pointer-events: none; border-radius: 50%;
  background: radial-gradient(circle, rgba(252, 123, 16, .10), rgba(0, 120, 220, .06) 40%, transparent 70%); transform: translate(-50%, -50%); opacity: 0; transition: opacity .4s; }
.progress { position: fixed; top: 0; left: 0; height: 3px; width: 100%; z-index: 100; transform-origin: 0 50%; transform: scaleX(0); background: var(--grad-brand); }

/* ---------- utilities ---------- */
.eyebrow { display: inline-flex; align-items: center; gap: 12px; font-family: var(--f-mono); font-size: 12px; letter-spacing: .18em; text-transform: uppercase; color: var(--sky-300); }
.eyebrow b { font-weight: 500; color: var(--orange-400); }
.eyebrow b::after { content: ""; display: inline-block; width: 34px; height: 1px; margin-left: 12px; vertical-align: middle; background: linear-gradient(90deg, var(--orange-400), transparent); }
.eyebrow.light { color: rgba(255, 255, 255, .85); }
.grad-text { background: linear-gradient(100deg, #fd951a, #fc7b10 40%, #f05308); -webkit-background-clip: text; background-clip: text; color: transparent; }
.btn { position: relative; overflow: hidden; display: inline-flex; align-items: center; gap: 10px; padding: 15px 28px; border-radius: 999px; font-weight: 600; font-size: 15px; border: 1.5px solid transparent; cursor: pointer; transition: transform .25s, box-shadow .25s, border-color .25s, background .25s; }
.btn .arr { transition: transform .25s; }
.btn:hover .arr { transform: translateX(5px); }
.btn::after { content: ""; position: absolute; top: 0; bottom: 0; width: 40%; left: -60%; background: linear-gradient(100deg, transparent, rgba(255,255,255,.35), transparent); transform: skewX(-20deg); transition: left .6s; }
.btn:hover::after { left: 130%; }
.btn-primary { background: var(--grad-brand); color: #fff; box-shadow: 0 12px 34px -10px rgba(240, 83, 8, .75), inset 0 1px 0 rgba(255,255,255,.3); }
.btn-primary:hover { transform: translateY(-3px); box-shadow: 0 20px 44px -10px rgba(240, 83, 8, .9), inset 0 1px 0 rgba(255,255,255,.3); }
.btn-ghost { border-color: rgba(255, 255, 255, .28); color: #fff; background: rgba(255,255,255,.03); }
.btn-ghost:hover { border-color: var(--sky-400); color: var(--sky-300); }
.btn-dark { background: var(--navy-950); color: #fff; box-shadow: 0 16px 40px -12px rgba(0,11,31,.7); }
.btn-dark:hover { transform: translateY(-3px); }
.section { position: relative; padding: clamp(84px, 10vw, 150px) 0; }
.section-head { max-width: 800px; margin-bottom: 64px; }
.section-head h2, .scene-copy h2 { font-size: clamp(32px, 4.6vw, 60px); margin: 22px 0 22px; }
.section-head p { color: var(--on-dark-2); font-size: 18px; max-width: 62ch; }
.rv { opacity: 0; transform: translateY(30px); transition: opacity .9s ease, transform .9s cubic-bezier(.2,.7,.2,1); }
.rv.in { opacity: 1; transform: none; }
.rv.d1 { transition-delay: .1s; } .rv.d2 { transition-delay: .2s; } .rv.d3 { transition-delay: .3s; }

/* ---------- NAV ---------- */
.nav { position: fixed; inset: 0 0 auto 0; z-index: 60; height: 74px; transition: background .3s, box-shadow .3s; }
.nav.scrolled { background: rgba(0, 11, 31, .92); box-shadow: 0 1px 0 var(--line-dark); }
.nav-inner { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: flex; align-items: center; gap: 12px; color: #fff; }
.brand img { height: 42px; width: auto; }
.brand-word { font-family: var(--f-wide); font-size: 17px; letter-spacing: .06em; }
.brand-word b { color: var(--orange-400); font-weight: 400; }
.nav-links { display: flex; align-items: center; gap: 4px; }
.nav-links a.l { color: var(--on-dark-2); font-size: 14.5px; font-weight: 500; padding: 10px 15px; border-radius: 999px; transition: color .2s, background .2s; }
.nav-links a.l:hover { color: #fff; background: rgba(255, 255, 255, .07); }
.nav-right { display: flex; align-items: center; gap: 14px; }
.lang { display: inline-flex; border: 1px solid var(--line-dark); border-radius: 999px; padding: 3px; }
.lang button { font-family: var(--f-mono); font-size: 11.5px; letter-spacing: .08em; color: var(--on-dark-2); background: none; border: 0; padding: 6px 11px; border-radius: 999px; cursor: pointer; }
.lang button.on { background: var(--orange-500); color: #fff; }
.nav .btn { padding: 10px 20px; font-size: 14px; }
.burger { display: none; width: 42px; height: 42px; background: none; border: 1px solid var(--line-dark); border-radius: 10px; cursor: pointer; position: relative; }
.burger span, .burger::before, .burger::after { content: ""; position: absolute; left: 11px; right: 11px; height: 2px; background: #fff; transition: .25s; }
.burger::before { top: 14px; } .burger span { top: 20px; } .burger::after { top: 26px; }
.nav.open .burger::before { top: 20px; transform: rotate(45deg); }
.nav.open .burger span { opacity: 0; }
.nav.open .burger::after { top: 20px; transform: rotate(-45deg); }

/* ---------- HERO ---------- */
.hero { position: relative; min-height: 100svh; padding: 118px 0 130px; display: flex; align-items: center; overflow: hidden;
  background: radial-gradient(1100px 760px at 74% 46%, rgba(20, 120, 220, .5), transparent 66%), radial-gradient(700px 500px at -5% 105%, rgba(240, 83, 8, .28), transparent 70%); }
.hero::before { content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .5;
  background-image: linear-gradient(rgba(156,200,255,.08) 1px, transparent 1px), linear-gradient(90deg, rgba(156,200,255,.08) 1px, transparent 1px); background-size: 64px 64px;
  -webkit-mask-image: radial-gradient(ellipse 65% 75% at 72% 48%, #000 15%, transparent 75%); mask-image: radial-gradient(ellipse 65% 75% at 72% 48%, #000 15%, transparent 75%); }
#circuit { position: absolute; inset: 0; width: 100%; height: 100%; transition: opacity .6s; }
#circuit.fx-off { opacity: 0; }
#circuit { -webkit-mask-image: linear-gradient(90deg, rgba(0,0,0,.12) 0%, rgba(0,0,0,.2) 38%, #000 62%); mask-image: linear-gradient(90deg, rgba(0,0,0,.12) 0%, rgba(0,0,0,.2) 38%, #000 62%); }
@media (max-width: 980px) { #circuit { -webkit-mask-image: linear-gradient(180deg, rgba(0,0,0,.07) 0%, rgba(0,0,0,.1) 48%, #000 72%); mask-image: linear-gradient(180deg, rgba(0,0,0,.07) 0%, rgba(0,0,0,.1) 48%, #000 72%); } }
.hero-inner { position: relative; display: grid; grid-template-columns: 1.05fr .95fr; gap: 30px; align-items: center; }
.pill { display: inline-flex; align-items: center; gap: 10px; padding: 8px 18px 8px 13px; border-radius: 999px; border: 1px solid var(--line-dark); background: rgba(0, 18, 49, .82); font-family: var(--f-mono); font-size: 11.5px; letter-spacing: .08em; color: var(--sky-300); animation: rise .8s both; }
.pill i { width: 8px; height: 8px; border-radius: 50%; background: var(--orange-400); box-shadow: 0 0 12px var(--orange-400); animation: pulse 2s infinite; }
@keyframes pulse { 50% { opacity: .3; } }
@keyframes rise { from { opacity: 0; transform: translateY(16px); } }
.hero h1 { font-size: clamp(46px, 7.4vw, 108px); font-weight: 800; margin: 28px 0 28px; line-height: 1; letter-spacing: -.035em; }
.hero h1 > span { display: block; }
.hero h1 .ln { display: block; overflow: hidden; padding: .06em 0 .1em; margin: -.06em 0 -.1em; }
.hero h1 .ln.grad-text { background: none; -webkit-background-clip: border-box; background-clip: border-box; color: inherit; }
.hero h1 .ln.grad-text > span { background: linear-gradient(100deg, #fd951a, #fc7b10 45%, #f05308); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero h1 .ln > span { display: inline-block; transform: translateY(110%); animation: up 1s cubic-bezier(.2, .8, .2, 1) forwards; animation-delay: calc(.25s + var(--i) * .13s); }
@keyframes up { to { transform: none; } }
.hero .lead { font-size: clamp(17px, 1.5vw, 20px); color: var(--on-dark-2); max-width: 54ch; animation: rise .9s .75s both; }
.hero .cta { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 38px; animation: rise .9s .95s both; }
.cta-note { margin-top: 16px; font-size: 13.5px; color: var(--on-dark-2); animation: rise .9s 1.05s both; }
.cta-note a { color: var(--sky-300); text-decoration: underline; text-underline-offset: 3px; }
.cta-note a:hover { color: #fff; }
.cta-action { display: flex; flex-direction: column; align-items: flex-end; gap: 12px; }
.cta-note.light { color: rgba(0, 20, 45, .78); text-align: right; }
.cta-note.light a { color: var(--navy-950); text-decoration-color: rgba(0, 20, 45, .45); }
.cta-note.light a:hover { text-decoration-color: var(--navy-950); }
@media (max-width: 640px) { .cta-action { align-items: flex-start; } .cta-note.light { text-align: left; } }
.hero-mark { position: relative; display: grid; place-items: center; aspect-ratio: 1; width: min(560px, 100%); margin-left: auto; }
.hero-mark .rings { position: absolute; inset: 0; width: 100%; animation: spin 90s linear infinite; }
.hero-mark .halo { position: absolute; inset: 14%; border-radius: 50%; background: radial-gradient(circle, rgba(0, 130, 230, .5), transparent 68%); filter: blur(22px); animation: breathe 5s ease-in-out infinite; }
.hero-mark .mark { position: relative; width: 74%; filter: drop-shadow(0 30px 50px rgba(0, 0, 0, .55)); animation: markIn 1.5s .15s cubic-bezier(.2, .8, .2, 1) both, float 7s 1.7s ease-in-out infinite; }
.hero-mark::after { content: ""; position: absolute; inset: 22%; border-radius: 50%; border: 2px solid rgba(252, 123, 16, .7); opacity: 0; animation: wave 4.5s 1.6s ease-out infinite; }
@keyframes markIn { from { opacity: 0; transform: scale(.55) rotate(-25deg); filter: blur(12px) drop-shadow(0 0 0 transparent); } }
@keyframes float { 50% { transform: translateY(-14px); } }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes breathe { 50% { transform: scale(1.12); opacity: .75; } }
@keyframes wave { 0% { transform: scale(.7); opacity: .8; } 100% { transform: scale(1.9); opacity: 0; } }
.ticker { position: absolute; left: 0; right: 0; bottom: 0; z-index: 2; border-top: 1px solid var(--line-dark); background: rgba(0, 11, 31, .82); overflow: hidden; }
.ticker-track { display: flex; gap: 0; width: max-content; padding: 18px 0; animation: tick 46s linear infinite; }
.ticker-track span { font-family: var(--f-mono); font-size: 12.5px; letter-spacing: .2em; color: var(--on-dark-2); padding: 0 26px; position: relative; }
.ticker-track span::after { content: "◆"; position: absolute; right: -6px; color: var(--orange-400); font-size: 9px; top: 3px; }
@keyframes tick { to { transform: translateX(-50%); } }

/* ---------- STATS ---------- */
.stats { position: relative; background: linear-gradient(180deg, rgba(0, 16, 42, .82), rgba(0, 24, 56, .68)); border-block: 1px solid var(--line-dark); }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.stat { padding: 56px 30px; border-left: 1px solid var(--line-dark); }
.stat:first-child { border-left: 0; }
.stat .n { font-family: var(--f-display); font-weight: 800; font-size: clamp(50px, 6.4vw, 96px); line-height: 1; letter-spacing: -.04em; color: #fff; background: linear-gradient(180deg, #fff 30%, #7fb7e8); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.stat .n em { font-style: normal; -webkit-text-fill-color: var(--orange-400); }
.stat .t { margin-top: 16px; color: var(--on-dark-2); font-size: 14.5px; max-width: 24ch; }

/* ---------- WHY ---------- */
.why { overflow: hidden; }
.why-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
[data-spot] { --mx: 50%; --my: 0%; }
.gcard { position: relative; padding: 1px; border-radius: var(--r-lg); background: var(--line-dark); transition: transform .35s; }
.gcard:hover { transform: translateY(-8px); }
.gcard::before { content: ""; position: absolute; inset: 0; border-radius: inherit; background: radial-gradient(420px circle at var(--mx) var(--my), rgba(252, 123, 16, .95), transparent 45%); opacity: 0; transition: opacity .3s; }
.gcard:hover::before { opacity: 1; }
.gcard-in { position: relative; height: 100%; border-radius: calc(var(--r-lg) - 1px); background: linear-gradient(165deg, rgba(0, 64, 128, .86), rgba(0, 18, 46, .92)); padding: 40px 34px; overflow: hidden; }
.gcard-in::after { content: ""; position: absolute; inset: 0; background: radial-gradient(340px circle at var(--mx) var(--my), rgba(252, 123, 16, .12), transparent 60%); opacity: 0; transition: opacity .3s; pointer-events: none; }
.gcard:hover .gcard-in::after { opacity: 1; }
.ico { position: relative; width: 62px; height: 62px; border-radius: 18px; display: grid; place-items: center; background: rgba(252, 123, 16, .1); border: 1px solid rgba(252, 123, 16, .35); margin-bottom: 30px; }
.ico svg { width: 28px; height: 28px; stroke: var(--orange-400); fill: none; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.gcard h3 { font-size: 22px; margin-bottom: 14px; }
.gcard p { color: var(--on-dark-2); font-size: 15.5px; }
.gcard .num { position: absolute; top: 26px; right: 30px; font-family: var(--f-wide); font-size: 13px; color: rgba(156, 200, 255, .3); }

/* ---------- SCENE (scroll-driven) ---------- */
.scene { position: relative; height: 340vh; background: linear-gradient(180deg, transparent, rgba(0, 12, 34, .62) 14%, rgba(0, 12, 34, .62) 88%, transparent); }
.scene-pin { position: sticky; top: 0; height: 100vh; display: flex; align-items: center; overflow: hidden; }
.scene-pin::before { content: ""; position: absolute; inset: 0; background: radial-gradient(760px 640px at 72% 50%, rgba(20, 120, 220, .38), transparent 70%), radial-gradient(500px 400px at 0% 100%, rgba(240, 83, 8, .14), transparent 70%); }
.scene-grid { position: relative; display: grid; grid-template-columns: .85fr 1.15fr; gap: 40px; align-items: center; }
.steps { position: relative; display: grid; gap: 14px; margin-top: 40px; }
.step { position: relative; display: grid; grid-template-columns: 58px 1fr; gap: 18px; align-items: start; padding: 22px 24px 24px; border-radius: 20px; border: 1px solid var(--line-dark); background: rgba(0, 22, 54, .8); overflow: hidden; opacity: .5; transition: opacity .5s, transform .5s, border-color .5s, background .5s, box-shadow .5s; }
.step .sn { font-family: var(--f-wide); font-size: 24px; line-height: 1.2; color: rgba(156, 200, 255, .5); transition: color .4s; }
.step .sb h3 { transition: color .4s; }
.step .sbar { position: absolute; left: 0; bottom: 0; height: 3px; width: calc(var(--sp, 0) * 100%); background: var(--grad-brand); box-shadow: 0 0 14px var(--orange-400); }
.step.done { opacity: .78; }
.step.done .sn, .step.on .sn { color: var(--orange-400); }
.step.on { opacity: 1; transform: translateX(10px); border-color: rgba(252, 123, 16, .65); background: linear-gradient(135deg, rgba(240, 83, 8, .18), rgba(0, 45, 100, .55)); box-shadow: 0 24px 56px -26px rgba(240, 83, 8, .65); }
.step h3 { font-size: 20px; margin-bottom: 8px; }
.step p { color: var(--on-dark-2); font-size: 15.5px; max-width: 42ch; }
.scene-stage { position: relative; width: 100%; aspect-ratio: 1; max-height: 84vh; justify-self: center; }
#scene { width: 100%; height: 100%; }
.scene-badge { position: absolute; left: 4%; bottom: 3%; display: flex; align-items: baseline; gap: 12px; padding: 12px 20px; border-radius: 14px; background: rgba(0, 12, 36, .92); border: 1px solid var(--line-dark); opacity: 0; transform: translateY(12px); transition: .6s; }
.scene-badge.on { opacity: 1; transform: none; }
.scene-badge strong { font-family: var(--f-display); font-size: 40px; color: var(--orange-400); line-height: 1; }
.scene-badge span { font-family: var(--f-mono); font-size: 11.5px; letter-spacing: .14em; text-transform: uppercase; color: var(--on-dark-2); }
.scene-note { position: absolute; right: 2%; bottom: 3%; font-family: var(--f-mono); font-size: 10.5px; letter-spacing: .14em; text-transform: uppercase; color: rgba(159, 177, 204, .55); }

/* ---------- PROJECTS ---------- */
.projects { overflow: hidden; }
.pcards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-bottom: 30px; perspective: 1200px; }
.pcard { position: relative; text-align: left; font: inherit; color: var(--on-dark-2); cursor: pointer; padding: 22px 26px 26px; border-radius: 22px; border: 1px solid var(--line-dark); background: linear-gradient(165deg, rgba(0, 64, 128, .84), rgba(0, 18, 46, .9)); overflow: hidden; transition: transform .25s ease, border-color .3s, box-shadow .3s; transform-style: preserve-3d; }
.pcard::before { content: ""; position: absolute; inset: 0; background: radial-gradient(380px circle at var(--mx) var(--my), rgba(252, 123, 16, .2), transparent 60%); opacity: 0; transition: opacity .3s; pointer-events: none; }
.pcard:hover::before, .pcard.on::before { opacity: 1; }
.pcard.on { border-color: var(--orange-500); box-shadow: 0 24px 60px -24px rgba(240, 83, 8, .55); }
.pcard .art { width: 100%; height: 130px; margin-bottom: 14px; }
.pc-tag { display: block; font-family: var(--f-mono); font-size: 11px; letter-spacing: .16em; text-transform: uppercase; color: var(--orange-400); }
.pcard h3 { font-size: 30px; margin: 6px 0 8px; }
.pcard p { font-size: 14.5px; }
.pc-go { position: absolute; right: 24px; bottom: 22px; width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; border: 1px solid var(--line-dark); color: #fff; transition: .3s; }
.pcard.on .pc-go, .pcard:hover .pc-go { background: var(--orange-500); border-color: var(--orange-500); transform: rotate(90deg); }
.route { animation: dash 1.6s linear infinite; }
.ecg { stroke-dasharray: 260; stroke-dashoffset: 260; animation: draw 2.6s linear infinite; }
.ping { transform-box: fill-box; transform-origin: center; animation: ping 2s ease-out infinite; }
.spin { transform-origin: 120px 65px; animation: spin 14s linear infinite; }
.orbit circle { stroke-dasharray: 3 6; }
@keyframes dash { to { stroke-dashoffset: -22; } }
@keyframes draw { 0% { stroke-dashoffset: 260; } 60%, 100% { stroke-dashoffset: 0; } }
@keyframes ping { from { transform: scale(.6); opacity: .9; } to { transform: scale(1.8); opacity: 0; } }

/* ---------- HOW WE WORK ---------- */
.how-sec { background: linear-gradient(180deg, var(--navy-900), var(--navy-800)); }
.how-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; border: 1px solid var(--line-dark); border-radius: var(--r-lg); overflow: hidden; background: rgba(0, 30, 70, .3); }
.wstep { position: relative; padding: 32px 26px; border-left: 1px solid var(--line-dark); transition: background .3s; }
.wstep:first-child { border-left: 0; }
.wstep:hover { background: rgba(240, 83, 8, .08); }
.wstep::after { content: ""; position: absolute; right: -1px; top: 50%; width: 22px; height: 22px; margin-top: -11px; display: none; align-items: center; justify-content: center; }
.wn { display: block; font-family: var(--f-wide); font-size: 26px; color: var(--orange-400); margin-bottom: 18px; }
.wstep h3 { font-size: 18px; margin-bottom: 10px; }
.wstep p { color: var(--on-dark-2); font-size: 14.5px; }
@media (max-width: 900px) { .how-grid { grid-template-columns: 1fr; } .wstep { border-left: 0; border-top: 1px solid var(--line-dark); } .wstep:first-child { border-top: 0; } }

/* ---------- FAQ ---------- */
.faq-sec { background: var(--navy-800); }
.faq-list { display: grid; gap: 14px; max-width: 860px; }
.faq-item { border: 1px solid var(--line-dark); border-radius: 16px; background: rgba(0, 30, 70, .3); overflow: hidden; transition: border-color .3s; }
.faq-item[open] { border-color: rgba(252, 123, 16, .5); }
.faq-item summary { list-style: none; cursor: pointer; display: flex; align-items: center; gap: 16px; padding: 20px 24px; font-family: var(--f-display); font-size: 16.5px; color: #fff; }
.faq-item summary::-webkit-details-marker { display: none; }
.q-ico { margin-left: auto; flex: none; width: 26px; height: 26px; border-radius: 50%; border: 1px solid var(--line-dark); position: relative; transition: transform .3s, border-color .3s; }
.q-ico::before, .q-ico::after { content: ""; position: absolute; left: 50%; top: 50%; background: var(--orange-400); border-radius: 2px; transform: translate(-50%, -50%); }
.q-ico::before { width: 11px; height: 1.6px; }
.q-ico::after { width: 1.6px; height: 11px; transition: opacity .25s; }
.faq-item[open] .q-ico { transform: rotate(180deg); border-color: var(--orange-400); }
.faq-item[open] .q-ico::after { opacity: 0; }
.faq-a { padding: 0 24px 22px; color: var(--on-dark-2); font-size: 15px; max-width: 72ch; }

/* ---------- PARTNERS ---------- */
.partners-sec { overflow: hidden; }

/* ---------- CONTACT CARDS ---------- */
.contact-sec { background: var(--navy-950); padding-top: clamp(56px, 7vw, 96px); }
.ccards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.ccard { padding: 30px 28px; border-radius: 20px; border: 1px solid var(--line-dark); background: linear-gradient(165deg, rgba(0, 64, 128, .5), rgba(0, 18, 46, .7)); display: flex; flex-direction: column; gap: 8px; transition: transform .3s, border-color .3s; }
.ccard:hover { transform: translateY(-5px); border-color: rgba(252, 123, 16, .5); }
.ccard h4 { font-family: var(--f-mono); font-size: 11.5px; letter-spacing: .16em; text-transform: uppercase; color: var(--orange-400); font-weight: 500; margin: 0 0 6px; }
.ccard a { color: var(--sky-300); font-size: 15px; transition: color .2s; }
.ccard a:hover { color: #fff; }
.ccard strong { color: #fff; font-family: var(--f-display); font-size: 17px; }
.ccard span { color: var(--on-dark); font-size: 14.5px; }
.ccard span.muted { color: var(--on-dark-2); font-size: 13.5px; }
.ccard p { color: var(--on-dark-2); font-size: 14.5px; margin-bottom: 6px; }
.btn.sm { padding: 10px 18px; font-size: 13.5px; align-self: flex-start; }
@media (max-width: 980px) { .ccards { grid-template-columns: 1fr; } }
.partners { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.partner { position: relative; display: grid; place-items: center; height: 104px; border: 1px solid var(--line-dark); border-radius: 18px; background: rgba(255, 255, 255, .03); font-family: var(--f-display); font-weight: 600; font-size: 19px; color: var(--on-dark); text-align: center; padding: 0 14px; overflow: hidden; transition: transform .3s, border-color .3s; }
.partner::before { content: ""; position: absolute; inset: 0; background: radial-gradient(240px circle at var(--mx) var(--my), rgba(252, 123, 16, .22), transparent 65%); opacity: 0; transition: opacity .3s; }
.partner:hover { transform: translateY(-4px); border-color: rgba(252, 123, 16, .6); }
.partner:hover::before { opacity: 1; }
.partner > * , .partner { z-index: 0; }
.partner.own { background: linear-gradient(135deg, var(--navy-700), var(--navy-900)); font-family: var(--f-wide); font-size: 17px; letter-spacing: .06em; }
.partner.own b { color: var(--orange-400); font-weight: 400; }

/* ---------- CTA ---------- */
.cta-band { position: relative; overflow: hidden; background: var(--grad-brand); color: #fff; }
#ctaCircuit { position: absolute; inset: 0; width: 100%; height: 100%; opacity: .5; mix-blend-mode: multiply; }
.cta-inner { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 40px; flex-wrap: wrap; padding: clamp(70px, 9vw, 120px) 0; }
.cta-inner h2 { font-size: clamp(30px, 4.2vw, 56px); max-width: 20ch; margin-top: 18px; color: #fff; }

/* ---------- FOOTER ---------- */
footer { background: var(--navy-950); color: var(--on-dark-2); padding: 78px 0 28px; }
.foot-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr; gap: 40px; padding-bottom: 48px; border-bottom: 1px solid var(--line-dark); }
footer .brand { margin-bottom: 18px; }
footer p { max-width: 38ch; font-size: 14.5px; }
footer h5 { font-family: var(--f-mono); font-size: 12px; letter-spacing: .16em; text-transform: uppercase; color: #fff; margin: 0 0 18px; font-weight: 500; }
footer .col a { display: block; padding: 5px 0; font-size: 14.5px; transition: color .2s; }
footer .col a:hover { color: var(--orange-400); }
.foot-bottom { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding-top: 26px; font-size: 13px; }

/* ---------- RESPONSIVE ---------- */
@media (max-width: 980px) {
  .hero-inner, .scene-grid { grid-template-columns: 1fr; }
  .hero { padding-top: 104px; }
  .hero-mark { margin: 10px auto 0; width: min(400px, 88%); }
  .why-grid, .pcards { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .stat { padding: 40px 22px; }
  .stat:nth-child(3) { border-left: 0; }
  .stat:nth-child(n+3) { border-top: 1px solid var(--line-dark); }
  .partners { grid-template-columns: repeat(2, 1fr); }
  .foot-grid { grid-template-columns: 1fr 1fr; }
  .foot-grid > :first-child { grid-column: 1 / -1; }
  .scene { height: 320vh; }
  .scene-pin { align-items: flex-start; padding-top: 84px; }
  .scene-grid { gap: 18px; }
  .scene-copy { order: 2; }
  .scene-stage { order: 1; height: 42vh; aspect-ratio: auto; max-height: none; }
  .scene-copy h2 { font-size: 28px; margin: 10px 0; }
  .steps { margin-top: 14px; gap: 0; }
  .step { display: none; opacity: 1; transform: none !important; }
  .step.on { display: grid; }
  .nav-links { position: fixed; inset: 74px 0 auto 0; flex-direction: column; align-items: stretch; padding: 12px 24px 24px; background: rgba(0, 11, 31, .97); border-bottom: 1px solid var(--line-dark); transform: translateY(-130%); transition: transform .3s; }
  .nav.open .nav-links { transform: none; }
  .nav.open { background: rgba(0, 11, 31, .97); }
  .burger { display: block; }
  .nav .btn { display: none; }
}
@media (max-width: 560px) {
  .wrap { width: calc(100% - 32px); }
  .foot-grid { grid-template-columns: 1fr; }
  .brand-word { font-size: 14px; }
  .scene-badge strong { font-size: 28px; }
}
@media (hover: none) { .glow { display: none; } }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .rv { opacity: 1; transform: none; }
  .hero h1 .ln.grad-text { background: none; -webkit-background-clip: border-box; background-clip: border-box; color: inherit; }
.hero h1 .ln.grad-text > span { background: linear-gradient(100deg, #fd951a, #fc7b10 45%, #f05308); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero h1 .ln > span { transform: none; }
}



/* BG v3 — sfondo vivo: luci che si spostano, griglia, ingranaggi, linee luminose */
.bg { position: fixed; inset: 0; z-index: 0; overflow: hidden; pointer-events: none; background: linear-gradient(180deg, #00306a 0%, #00234f 45%, #00142e 100%); }
.bg i { position: absolute; border-radius: 50%; filter: blur(70px); will-change: transform; transform: translateY(calc(var(--sp, 0) * var(--sy, 0))); }
.bg .b1 { width: 60vw; height: 60vw; left: -22vw; top: -18vw; background: #0a70d0; opacity: .6; --sy: 55vh; animation: drift1 26s ease-in-out infinite alternate; }
.bg .b2 { width: 42vw; height: 42vw; right: -14vw; top: 20vh; background: #fc7b10; opacity: .22; --sy: -30vh; animation: drift2 32s ease-in-out infinite alternate-reverse; }
.bg .b3 { width: 48vw; height: 48vw; left: 22vw; bottom: -24vw; background: #1aa0e6; opacity: .32; --sy: -40vh; animation: drift3 30s ease-in-out infinite alternate; }
@keyframes drift1 { to { translate: 5vw 3vh; } }
@keyframes drift2 { to { translate: -6vw 4vh; } }
@keyframes drift3 { to { translate: 4vw -3vh; } }
@media (max-width: 760px) { .bg i { filter: blur(46px); } }
.bg::after { content: ""; position: absolute; inset: 0;
  background-image: radial-gradient(rgba(156, 210, 255, .22) 1px, transparent 1.4px); background-size: 34px 34px;
  -webkit-mask-image: radial-gradient(ellipse 90% 90% at 50% 40%, #000 20%, transparent 85%); mask-image: radial-gradient(ellipse 90% 90% at 50% 40%, #000 20%, transparent 85%); }
main, footer { position: relative; z-index: 1; }
.nav { z-index: 60; }

.why::before, .projects::before, .partners-sec::before { content: ""; position: absolute; width: 1000px; height: 1000px; max-width: 90vw; max-height: 90vw; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1000 1000' fill='none'%3E%3Cpath d='M930.0 500.0 L929.6 517.4 L969.1 529.5 L963.9 575.6 L922.7 578.7 L919.2 595.7 L915.0 612.5 L950.7 633.2 L935.4 676.9 L894.6 670.8 L887.4 686.6 L879.6 702.1 L909.8 730.1 L885.1 769.4 L846.7 754.3 L836.2 768.1 L825.1 781.5 L848.3 815.5 L815.5 848.3 L781.5 825.1 L768.1 836.2 L754.3 846.7 L769.4 885.1 L730.1 909.8 L702.1 879.6 L686.6 887.4 L670.8 894.6 L676.9 935.4 L633.2 950.7 L612.5 915.0 L595.7 919.2 L578.7 922.7 L575.6 963.9 L529.5 969.1 L517.4 929.6 L500.0 930.0 L482.6 929.6 L470.5 969.1 L424.4 963.9 L421.3 922.7 L404.3 919.2 L387.5 915.0 L366.8 950.7 L323.1 935.4 L329.2 894.6 L313.4 887.4 L297.9 879.6 L269.9 909.8 L230.6 885.1 L245.7 846.7 L231.9 836.2 L218.5 825.1 L184.5 848.3 L151.7 815.5 L174.9 781.5 L163.8 768.1 L153.3 754.3 L114.9 769.4 L90.2 730.1 L120.4 702.1 L112.6 686.6 L105.4 670.8 L64.6 676.9 L49.3 633.2 L85.0 612.5 L80.8 595.7 L77.3 578.7 L36.1 575.6 L30.9 529.5 L70.4 517.4 L70.0 500.0 L70.4 482.6 L30.9 470.5 L36.1 424.4 L77.3 421.3 L80.8 404.3 L85.0 387.5 L49.3 366.8 L64.6 323.1 L105.4 329.2 L112.6 313.4 L120.4 297.9 L90.2 269.9 L114.9 230.6 L153.3 245.7 L163.8 231.9 L174.9 218.5 L151.7 184.5 L184.5 151.7 L218.5 174.9 L231.9 163.8 L245.7 153.3 L230.6 114.9 L269.9 90.2 L297.9 120.4 L313.4 112.6 L329.2 105.4 L323.1 64.6 L366.8 49.3 L387.5 85.0 L404.3 80.8 L421.3 77.3 L424.4 36.1 L470.5 30.9 L482.6 70.4 L500.0 70.0 L517.4 70.4 L529.5 30.9 L575.6 36.1 L578.7 77.3 L595.7 80.8 L612.5 85.0 L633.2 49.3 L676.9 64.6 L670.8 105.4 L686.6 112.6 L702.1 120.4 L730.1 90.2 L769.4 114.9 L754.3 153.3 L768.1 163.8 L781.5 174.9 L815.5 151.7 L848.3 184.5 L825.1 218.5 L836.2 231.9 L846.7 245.7 L885.1 230.6 L909.8 269.9 L879.6 297.9 L887.4 313.4 L894.6 329.2 L935.4 323.1 L950.7 366.8 L915.0 387.5 L919.2 404.3 L922.7 421.3 L963.9 424.4 L969.1 470.5 L929.6 482.6Z' stroke='rgba(120,190,255,.55)' stroke-width='3'/%3E%3Ccircle cx='500' cy='500' r='340' stroke='rgba(120,190,255,.35)' stroke-width='2' stroke-dasharray='4 14'/%3E%3Ccircle cx='500' cy='500' r='250' stroke='rgba(252,123,16,.45)' stroke-width='3' stroke-dasharray='120 60'/%3E%3Ccircle cx='500' cy='500' r='120' stroke='rgba(120,190,255,.4)' stroke-width='2'/%3E%3Cpath d='M500 380V250M500 620V750M380 500H250M620 500H750' stroke='rgba(252,123,16,.5)' stroke-width='3'/%3E%3Ccircle cx='500' cy='240' r='12' stroke='rgba(252,123,16,.6)' stroke-width='3'/%3E%3Ccircle cx='500' cy='760' r='12' stroke='rgba(120,190,255,.6)' stroke-width='3'/%3E%3C/svg%3E") center / contain no-repeat; opacity: .5; pointer-events: none; animation: spin 140s linear infinite; }
.why::before { right: -330px; top: -200px; }
.projects::before { left: -420px; top: 12%; animation-direction: reverse; }
.partners-sec::before { right: -380px; bottom: -420px; }
.section > .wrap { position: relative; z-index: 1; }
.why::after, .projects::after, .partners-sec::after, .cta-band::after { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 1px; background: linear-gradient(90deg, transparent, rgba(252, 123, 16, .7) 30%, rgba(106, 207, 242, .6) 70%, transparent); box-shadow: 0 0 22px rgba(252, 123, 16, .5); }
.hero { background-color: transparent; }

/* ---------- PROJECTS ---------- */

.panel { display: none; grid-template-columns: 1.2fr .8fr; border: 1px solid var(--line-dark); border-radius: var(--r-lg); overflow: hidden; background: linear-gradient(160deg, rgba(0, 53, 103, .45), rgba(0, 18, 49, .6)); }
.panel.on { display: grid; animation: fade .5s ease; }
@keyframes fade { from { opacity: 0; transform: translateY(12px); } }
.panel-main { padding: clamp(28px, 4vw, 48px); }
.panel-main .sub { font-family: var(--f-mono); font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--orange-400); }
.panel-main h3 { font-size: clamp(32px, 4vw, 48px); color: #fff; margin: 12px 0 14px; }
.panel-main .tag { color: var(--sky-300); font-size: 18px; margin-bottom: 22px; }
.panel-main .desc { color: var(--on-dark-2); }
.feat { list-style: none; margin: 28px 0 0; padding: 0; display: grid; gap: 14px; }
.feat li { position: relative; padding-left: 28px; color: var(--on-dark); font-size: 15px; }
.feat li::before { content: ""; position: absolute; left: 0; top: 9px; width: 14px; height: 2px; background: var(--grad-brand); }
.feat li::after { content: ""; position: absolute; left: 14px; top: 6px; width: 8px; height: 8px; border-radius: 50%; border: 2px solid var(--sky-400); box-sizing: border-box; }
.panel-side { padding: clamp(28px, 4vw, 44px); background: rgba(0, 11, 31, .55); border-left: 1px solid var(--line-dark); }
.panel-side h4 { font-family: var(--f-mono); font-size: 12px; letter-spacing: .16em; color: var(--on-dark-2); font-weight: 500; margin: 0 0 16px; }
.panel-side h4:not(:first-child) { margin-top: 32px; }
.models { display: grid; gap: 10px; }
.model { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border-radius: 12px; background: rgba(255, 255, 255, .04); border: 1px solid var(--line-dark); font-size: 14px; color: #fff; }
.model small { margin-left: auto; font-family: var(--f-mono); font-size: 10.5px; letter-spacing: .1em; color: var(--sky-400); text-transform: uppercase; }
.model::before { content: ""; width: 8px; height: 8px; border-radius: 2px; background: var(--orange-400); flex: none; }
.stack { display: flex; flex-wrap: wrap; gap: 8px; }
.stack span { padding: 6px 14px; border-radius: 999px; border: 1px solid rgba(106, 207, 242, .4); color: var(--sky-300); font-family: var(--f-mono); font-size: 12px; }


/* ---------- MMT wide panel ---------- */
.panel.wide.on { display: block; }
.panel-top { display: grid; grid-template-columns: 1.2fr .8fr; }
.panel.wide .panel-side { border-left: 1px solid var(--line-dark); }
.panel code { font-family: var(--f-mono); font-size: 12.5px; padding: 2px 7px; border-radius: 6px; background: rgba(106, 207, 242, .12); color: var(--sky-300); }
.feat b { color: #fff; font-weight: 600; }

.pipe { display: grid; grid-template-columns: repeat(5, 1fr); border-block: 1px solid var(--line-dark); background: rgba(0, 11, 31, .4); }
.pipe-step { position: relative; padding: 26px 24px; border-left: 1px solid var(--line-dark); }
.pipe-step:first-child { border-left: 0; }
.pipe-step:not(:last-child)::after { content: ""; position: absolute; right: -7px; top: 50%; width: 12px; height: 12px; margin-top: -6px; background: #001a3f; border-top: 2px solid var(--orange-400); border-right: 2px solid var(--orange-400); transform: rotate(45deg); z-index: 1; }
.pipe-step b { font-family: var(--f-mono); font-size: 12px; color: var(--orange-400); }
.pipe-step strong { display: block; font-family: var(--f-display); font-size: 17px; color: #fff; margin: 6px 0; }
.pipe-step small { color: var(--on-dark-2); font-size: 13px; line-height: 1.5; display: block; }

.viewer { display: grid; grid-template-columns: 320px 1fr; gap: 28px; padding: clamp(24px, 3.5vw, 44px); }
.v-list { display: grid; gap: 8px; align-content: start; }
.v-item { text-align: left; font: inherit; cursor: pointer; padding: 14px 16px; border-radius: 14px; border: 1px solid var(--line-dark); background: rgba(255, 255, 255, .03); color: var(--on-dark-2); transition: .2s; }
.v-item strong { display: block; color: #fff; font-family: var(--f-display); font-size: 15px; margin-bottom: 3px; }
.v-item small { font-size: 12.5px; line-height: 1.45; display: block; }
.v-item:hover { border-color: rgba(252, 123, 16, .5); }
.v-item.on { background: linear-gradient(135deg, rgba(240, 83, 8, .2), rgba(240, 83, 8, .05)); border-color: var(--orange-500); }
.v-frame { border-radius: 14px; overflow: hidden; border: 1px solid var(--line-dark); background: #0d1117; box-shadow: 0 30px 60px -24px rgba(0, 0, 0, .7); align-self: start; }
.v-bar { display: flex; align-items: center; gap: 7px; padding: 11px 14px; background: #161b22; border-bottom: 1px solid rgba(255, 255, 255, .06); }
.v-bar i { width: 10px; height: 10px; border-radius: 50%; }
.v-bar i:nth-child(1) { background: var(--orange-600); }
.v-bar i:nth-child(2) { background: var(--orange-300); }
.v-bar i:nth-child(3) { background: var(--sky-400); }
.v-bar span { margin-left: 10px; font-family: var(--f-mono); font-size: 11px; letter-spacing: .12em; color: var(--on-dark-2); }
.v-frame img { width: 100%; height: auto; display: block; cursor: zoom-in; transition: opacity .25s; }

.score-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 36px; padding: 0 clamp(24px, 3.5vw, 44px) clamp(28px, 4vw, 48px); align-items: start; }
.score-card { padding: 28px; border-radius: 18px; border: 1px solid var(--line-dark); background: rgba(0, 11, 31, .55); }
.score-card h4, .road h4 { font-family: var(--f-mono); font-size: 12px; letter-spacing: .16em; color: var(--on-dark-2); font-weight: 500; margin: 0 0 18px; }
.score-total { display: flex; align-items: baseline; gap: 8px; margin-bottom: 22px; }
.score-total strong { font-family: var(--f-display); font-size: 64px; line-height: 1; color: #fff; }
.score-total span { color: var(--on-dark-2); font-size: 20px; }
.score-total em { margin-left: auto; font-style: normal; font-family: var(--f-mono); font-size: 12px; letter-spacing: .1em; padding: 5px 12px; border-radius: 999px; background: rgba(226, 57, 2, .2); color: var(--orange-300); border: 1px solid rgba(240, 83, 8, .5); }
.bars { display: grid; gap: 14px; }
.bar { display: grid; grid-template-columns: 150px 1fr 48px; align-items: center; gap: 12px; font-size: 13.5px; color: var(--on-dark); }
.bar > div { height: 10px; border-radius: 6px; background: rgba(255, 255, 255, .07); overflow: hidden; }
.bar i { display: block; height: 100%; width: 0; border-radius: 6px; background: var(--grad-brand); transition: width 1.2s cubic-bezier(.2, .7, .2, 1); }
.panel.on .bar i { width: var(--w); }
.bar b { font-family: var(--f-mono); font-weight: 500; font-size: 12.5px; text-align: right; color: var(--sky-300); }
.note { margin-top: 20px; font-size: 13.5px; color: var(--on-dark-2); }
.feat.cols { margin: 0; gap: 18px; }

.road { padding: clamp(24px, 3.5vw, 44px); border-top: 1px solid var(--line-dark); background: rgba(0, 11, 31, .35); }
.road-grid { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 18px; }
.road-col { padding: 24px; border-radius: 16px; border: 1px solid var(--line-dark); background: rgba(255, 255, 255, .03); display: flex; flex-direction: column; gap: 10px; font-size: 14px; color: var(--on-dark); }
.road-col strong { font-family: var(--f-display); font-size: 16px; color: #fff; margin-bottom: 6px; display: flex; align-items: center; gap: 10px; }
.road-col strong::before { content: ""; width: 10px; height: 10px; border-radius: 50%; }
.road-col.ok strong::before { background: #35d08a; box-shadow: 0 0 10px #35d08a; }
.road-col.wip strong::before { background: var(--orange-400); box-shadow: 0 0 10px var(--orange-400); }
.road-col.next strong::before { background: var(--sky-400); box-shadow: 0 0 10px var(--sky-400); }
.road-col > span { position: relative; padding-left: 20px; }
.road-col > span::before { content: ""; position: absolute; left: 0; top: 10px; width: 8px; height: 2px; background: var(--on-dark-2); }
.road-col.ok > span::before { background: #35d08a; }

@media (max-width: 980px) {
  .panel-top, .score-grid, .viewer, .road-grid { grid-template-columns: 1fr; }
  .panel.wide .panel-side { border-left: 0; border-top: 1px solid var(--line-dark); }
  .pipe { grid-template-columns: 1fr; }
  .pipe-step { border-left: 0; border-top: 1px solid var(--line-dark); }
  .pipe-step:first-child { border-top: 0; }
  .pipe-step::after { display: none !important; }
  .v-list { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 560px) {
  .v-list { grid-template-columns: 1fr; }
  .bar { grid-template-columns: 110px 1fr 44px; }
}
