/* ==========================================================================
   VidHorus — foglio di stile principale
   Linguaggio visivo: il taglio obliquo del marchio, la notte blu, il calore
   della termocamera come unico colore "caldo".
   ========================================================================== */

@font-face { font-family: "Archivo"; src: url("../fonts/archivo-latin-wdth-normal.woff2") format("woff2"); font-weight: 100 900; font-stretch: 62% 125%; font-display: swap; }
@font-face { font-family: "Geist"; src: url("../fonts/geist-latin-wght-normal.woff2") format("woff2"); font-weight: 100 900; font-display: swap; }
@font-face { font-family: "Geist Mono"; src: url("../fonts/geist-mono-latin-wght-normal.woff2") format("woff2"); font-weight: 100 900; font-display: swap; }

:root {
  --bg: #04060B;
  --bg-2: #070B14;
  --bg-3: #0C1322;
  --panel: rgba(255, 255, 255, .035);
  --line: rgba(255, 255, 255, .09);
  --line-2: rgba(255, 255, 255, .16);

  --white: #F2F5FA;
  --text: #A3AEC2;
  --muted: #6E7A91;

  --accent: #2B7CFF;
  --accent-2: #6BA6FF;
  --accent-3: #0A4FD6;
  --red: #FF3B30;
  --green: #34D399;
  --heat: linear-gradient(95deg, #FF3B30 0%, #FF8A1F 48%, #FFD166 100%);


  --font-head: "Archivo", system-ui, sans-serif;
  --font-body: "Geist", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-mono: "Geist Mono", ui-monospace, Menlo, monospace;

  --radius-sm: 10px;
  --radius: 16px;
  --radius-lg: 24px;
  --cut: 14px;
  --ease: cubic-bezier(.2, .7, .2, 1);
  --ease-out: cubic-bezier(.16, 1, .3, 1);

  --header-h: 72px;
  --container: 1320px;
  --gutter: clamp(16px, 3vw, 40px);
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; -webkit-text-size-adjust: 100%; background: var(--bg); }
body { margin: 0; font-family: var(--font-body); font-size: 16px; line-height: 1.6; color: var(--text); background: var(--bg); -webkit-font-smoothing: antialiased; overflow-x: clip; }
body.is-loading { overflow: hidden; }
img, svg, canvas, video { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
ul, ol { margin: 0; padding: 0; list-style: none; }
button { font: inherit; color: inherit; }
p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }
h1, h2, h3, h4 { margin: 0; color: var(--white); }
strong { color: var(--white); font-weight: 600; }
::selection { background: var(--accent); color: #fff; }
:focus-visible { outline: 2px solid var(--accent-2); outline-offset: 3px; border-radius: 4px; }

.sprite { position: absolute; }
.icon { width: 1.2em; height: 1.2em; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; flex-shrink: 0; }
.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: absolute; left: 16px; top: -60px; z-index: 1000; background: var(--accent); color: #fff; padding: 10px 16px; border-radius: 8px; }
.skip-link:focus { top: 12px; }
.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); }

/* ---------- Tipografia ---------- */
.display, .title { font-family: var(--font-head); font-stretch: 125%; font-weight: 800; text-transform: uppercase; color: var(--white); letter-spacing: -.035em; }
.display { font-size: clamp(3.3rem, 11.2vw, 12.5rem); line-height: .88; margin: 0; }
.display--sm { font-size: clamp(2.8rem, 8vw, 7.5rem); }
.title { font-size: clamp(2rem, 4.6vw, 4.6rem); line-height: .98; }
.title--sm { font-size: clamp(1.7rem, 3.3vw, 3.2rem); }
.display em, .title em { font-style: normal; color: transparent; -webkit-text-stroke: 1.5px var(--white); }
.display em { -webkit-text-stroke-width: clamp(1.5px, .25vw, 3px); }
.title em.heat, .heat { color: transparent; -webkit-text-stroke: 0; background: var(--heat); -webkit-background-clip: text; background-clip: text; }
.lead { font-size: clamp(1.02rem, 1.25vw, 1.2rem); line-height: 1.55; color: #C2CBDA; max-width: 56ch; }
.note { font-family: var(--font-mono); font-size: .72rem; letter-spacing: .04em; color: var(--muted); margin: 14px 0 0; }
.note--center { text-align: center; }

/* I tre tagli obliqui presi dal marchio */
.eyebrow { display: inline-flex; align-items: center; gap: 12px; font-family: var(--font-mono); font-size: .78rem; font-weight: 500; letter-spacing: .14em; text-transform: uppercase; color: var(--accent-2); margin: 0 0 22px; }
.eyebrow::before { content: ""; width: 26px; height: 12px; flex: none; background: repeating-linear-gradient(115deg, currentColor 0 4px, transparent 4px 9px); }
.eyebrow--heat { color: #FF8A1F; }

/* ---------- Bottoni ---------- */
.btn { position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 12px; border: 0; cursor: pointer; font-family: var(--font-head); font-stretch: 112%; font-weight: 700; font-size: .84rem; letter-spacing: .03em; text-transform: uppercase; padding: 15px 30px; white-space: nowrap; clip-path: polygon(var(--cut) 0, 100% 0, calc(100% - var(--cut)) 100%, 0 100%); transition: background .25s var(--ease), color .25s var(--ease), transform .25s var(--ease); }
.btn:hover { transform: translateY(-2px); }
.btn:hover .icon { transform: translateX(4px); }
.btn .icon { transition: transform .25s var(--ease); }
.btn--primary { background: var(--accent); color: #fff; }
.btn--primary:hover { background: #4B90FF; }
.btn--ghost { background: rgba(255,255,255,.1); color: var(--white); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.btn--ghost:hover { background: rgba(255,255,255,.2); }
.btn--sm { padding: 11px 24px; font-size: .75rem; --cut: 10px; }
.btn--lg { padding: 19px 38px; font-size: .9rem; --cut: 16px; }
.btn--block { width: 100%; }

.link { display: inline-flex; align-items: center; gap: 6px; font-weight: 500; color: var(--accent-2); }
.link:hover { color: #fff; }

/* ---------- Preloader ---------- */
.preloader { position: fixed; inset: 0; z-index: 900; background: var(--bg); display: grid; place-content: center; gap: 26px; justify-items: center; transition: opacity .6s ease, visibility .6s; }
.preloader__mark { width: 92px; animation: mark-in 1s var(--ease-out) both; }
.preloader__mark img { width: 100%; height: auto; }
.preloader__bar { width: 92px; height: 2px; background: var(--line); overflow: hidden; }
.preloader__bar i { display: block; height: 100%; background: var(--accent); animation: load 1.1s ease-in-out infinite alternate; transform-origin: left; }
.preloader.is-done { opacity: 0; visibility: hidden; }
@keyframes mark-in { from { clip-path: inset(0 0 100% 0); } to { clip-path: inset(0); } }
@keyframes load { from { transform: scaleX(.05); } to { transform: scaleX(1); } }

/* ---------- Header ---------- */
.header { position: fixed; z-index: 100; top: 14px; left: 50%; translate: -50% 0; width: min(calc(100% - 28px), 1240px); height: 60px; display: flex; align-items: center; gap: 22px; padding: 0 12px 0 20px; border: 1px solid var(--line); border-radius: 14px; background: rgba(6, 9, 16, .58); backdrop-filter: blur(16px) saturate(1.4); -webkit-backdrop-filter: blur(16px) saturate(1.4); transition: transform .45s var(--ease), background .3s; }
.header.is-hidden { transform: translateY(-140%); }
.logo { display: inline-flex; align-items: center; gap: 10px; flex: none; }
.logo__mark { height: 26px; width: auto; }
.logo__word { height: 13px; width: auto; }
.nav { display: flex; align-items: center; gap: 4px; margin-left: auto; }
.nav a { padding: 8px 11px; font-size: .88rem; color: #C2CBDA; border-radius: 8px; transition: color .2s, background .2s; }
.nav a:hover { color: #fff; background: rgba(255,255,255,.07); }
.header__cta { flex: none; }
.nav-toggle { display: none; width: 44px; height: 44px; border: 0; background: none; position: relative; cursor: pointer; }
.nav-toggle span { position: absolute; left: 11px; right: 11px; height: 2px; background: #fff; transition: transform .25s var(--ease), top .25s var(--ease); }
.nav-toggle span:first-child { top: 17px; }
.nav-toggle span:last-child { top: 25px; }
.nav-open .nav-toggle span:first-child { top: 21px; transform: rotate(45deg); }
.nav-open .nav-toggle span:last-child { top: 21px; transform: rotate(-45deg); }

/* ---------- La storia 3D ---------- */

.stage-hud { position: absolute; inset: 84px 18px 18px; pointer-events: none; font-family: var(--font-mono); font-size: .68rem; letter-spacing: .08em; color: rgba(255,255,255,.72); transition: color .4s; }
.stage-hud__c { position: absolute; width: 22px; height: 22px; border: 1.5px solid rgba(255,255,255,.4); }
.stage-hud__c--tl { top: 0; left: 0; border-right: 0; border-bottom: 0; }
.stage-hud__c--tr { top: 0; right: 0; border-left: 0; border-bottom: 0; }
.stage-hud__c--bl { bottom: 0; left: 0; border-right: 0; border-top: 0; }
.stage-hud__c--br { bottom: 0; right: 0; border-left: 0; border-top: 0; }
.stage-hud__tl { position: absolute; top: 12px; left: 34px; display: flex; align-items: center; gap: 8px; }
.stage-hud__tr { position: absolute; top: 12px; right: 34px; display: flex; flex-direction: column; align-items: flex-end; gap: 2px; }
.stage-hud.is-thermal { color: #FFD166; }
.stage-hud.is-thermal .stage-hud__c { border-color: #FF8A1F; }
.rec { display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: var(--red); animation: blink 1.2s steps(2) infinite; }
@keyframes blink { 50% { opacity: .15; } }



.pill { display: inline-flex; align-items: center; gap: 10px; font-family: var(--font-mono); font-size: .74rem; letter-spacing: .05em; color: #fff; padding: 7px 14px; border: 1px solid var(--line-2); border-radius: 99px; background: rgba(6,9,16,.5); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); margin: 0 0 18px; }
.pulse { width: 7px; height: 7px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 0 rgba(52,211,153,.6); animation: pulse 2s infinite; }
@keyframes pulse { 70% { box-shadow: 0 0 0 9px rgba(52,211,153,0); } 100% { box-shadow: 0 0 0 0 rgba(52,211,153,0); } }



.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; border-top: 1px solid var(--line-2); }
.stats li { padding: 24px 22px 0 0; }
.stats strong { display: block; font-family: var(--font-head); font-stretch: 125%; font-weight: 800; font-size: clamp(2rem, 5vw, 5rem); line-height: 1; letter-spacing: -.03em; color: #fff; font-variant-numeric: tabular-nums; }
.stats span span { font: inherit; }
.stats li > span { display: block; margin-top: 10px; font-size: .92rem; color: var(--text); max-width: 22ch; }

/* Senza WebGL o con movimento ridotto: i capitoli diventano una pagina normale */

/* ---------- Marquee ---------- */
.marquee { overflow: hidden; padding: 20px 0; border-block: 1px solid var(--line); background: var(--bg); }
.marquee__track { display: flex; align-items: center; gap: 30px; width: max-content; animation: slide 42s linear infinite; font-family: var(--font-head); font-stretch: 125%; font-weight: 700; text-transform: uppercase; font-size: clamp(1rem, 1.9vw, 1.5rem); color: var(--white); }
.marquee__track i { width: 22px; height: 12px; background: repeating-linear-gradient(115deg, var(--accent) 0 4px, transparent 4px 9px); }
@keyframes slide { to { transform: translateX(-50%); } }

/* ---------- Sezioni ---------- */
.section { position: relative; padding-block: clamp(70px, 11vw, 160px); }
.section--alt { background: var(--bg-2); }
.head { max-width: 860px; margin-bottom: clamp(36px, 5vw, 64px); }
.head .title { margin-bottom: 20px; }

.statement { font-family: var(--font-head); font-stretch: 100%; font-weight: 600; font-size: clamp(1.9rem, 5vw, 5rem); line-height: 1.04; letter-spacing: -.03em; color: var(--white); margin: 0 0 clamp(40px, 6vw, 80px); max-width: 20ch; }
.statement em { font-style: normal; color: var(--accent-2); }
.statement .w { opacity: .14; transition: opacity .3s linear; }
.statement .w.is-on { opacity: 1; }

.compare { overflow-x: auto; border-top: 1px solid var(--line-2); }
.compare table { width: 100%; min-width: 560px; border-collapse: collapse; }
.compare th, .compare td { padding: 17px 14px; text-align: center; border-bottom: 1px solid var(--line); font-weight: 400; }
.compare thead th { font-family: var(--font-mono); font-size: .76rem; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.compare tbody th { text-align: left; color: #DDE3EE; font-size: 1.02rem; }
.compare .icon { margin: auto; width: 22px; height: 22px; stroke-width: 2.4; }
.compare .yes { color: var(--accent-2); }
.compare .no { color: #3A4458; }
.compare thead .compare__us { color: #fff; }
.compare td.compare__us { background: rgba(43,124,255,.09); }

/* ---------- Bento ---------- */
.bento { display: grid; grid-template-columns: repeat(12, 1fr); gap: 14px; }
.card { position: relative; grid-column: span 4; display: flex; flex-direction: column; border: 1px solid var(--line); border-radius: var(--radius); background: #0A0F1B; overflow: hidden; transition: border-color .25s; }
.card--xl { grid-column: span 8; }
.card--tall { grid-row: span 2; }
.card--wide { grid-column: span 8; }
.card:hover { border-color: rgba(107,166,255,.5); }
.card__body { padding: 22px 24px 24px; }
.card h3 { font-family: var(--font-head); font-stretch: 112%; font-weight: 700; font-size: 1.22rem; margin-bottom: 8px; letter-spacing: -.01em; }
.card p { margin-bottom: 10px; font-size: .98rem; }
.viz { position: relative; flex: 1; min-height: 190px; overflow: hidden; background: radial-gradient(90% 90% at 50% 0%, #13213D 0%, #0A0F1B 75%); }
[data-spot]::after { content: ""; position: absolute; inset: 0; pointer-events: none; opacity: 0; background: radial-gradient(320px circle at var(--mx, 50%) var(--my, 50%), rgba(107,166,255,.14), transparent 70%); transition: opacity .25s; }
[data-spot]:hover::after { opacity: 1; }

/* videoanalisi: tre sagome, due riconosciute e una scartata */
.viz--ai { min-height: 300px; background: linear-gradient(180deg, #0B1020 0%, #111A30 55%, #1B2740 55.2%, #0B1020 100%); }
.viz--ai span:not(.viz__scan) { position: absolute; bottom: 16%; border: 2px solid #FFD166; }
.viz--ai i { position: absolute; left: -2px; bottom: 100%; font: 600 .62rem var(--font-mono); font-style: normal; letter-spacing: .05em; padding: 2px 6px; background: #FFD166; color: #1A0E00; white-space: nowrap; }
.viz__person { left: 24%; width: 58px; height: 136px; background: radial-gradient(14px 16px at 50% 15%, #FFD166 95%, transparent), radial-gradient(22px 54px at 50% 58%, #FF8A1F 95%, transparent); }
.viz__car { left: 52%; width: 190px; height: 82px; background: radial-gradient(90px 28px at 50% 70%, #B32A50 95%, transparent), radial-gradient(50px 24px at 50% 30%, #7E1D61 95%, transparent); }
.viz--ai .viz__cat { left: 8%; width: 46px; height: 28px; border-color: #5A667D; border-style: dashed; background: radial-gradient(18px 9px at 50% 60%, #4A2C7A 95%, transparent); }
.viz--ai .viz__cat i { background: #39455C; color: #C2CBDA; }
.viz__scan { position: absolute; top: 0; bottom: 0; width: 2px; background: #fff; box-shadow: 0 0 22px 4px rgba(107,166,255,.8); animation: scan 5s var(--ease) infinite alternate; }
@keyframes scan { from { left: 2%; } to { left: 96%; } }

/* centrale: operatore che parla */
.viz--ops { display: grid; place-content: center; justify-items: center; gap: 16px; color: var(--accent-2); }
.viz--ops .icon { width: 44px; height: 44px; stroke-width: 1.3; }
.viz--ops .wave { display: flex; align-items: center; gap: 4px; height: 26px; }
.viz--ops .wave i { width: 3px; height: 100%; background: var(--accent-2); animation: wv 1s ease-in-out infinite alternate; transform: scaleY(.2); }
.viz--ops .wave i:nth-child(2n) { animation-delay: .15s; } .viz--ops .wave i:nth-child(3n) { animation-delay: .32s; } .viz--ops .wave i:nth-child(5n) { animation-delay: .5s; }
@keyframes wv { to { transform: scaleY(1); } }

/* app */
.viz--phone { display: flex; justify-content: center; padding-top: 28px; min-height: 340px; }
.phone { width: 230px; height: 420px; padding: 16px 12px; border: 1.5px solid var(--line-2); border-radius: 30px 30px 0 0; border-bottom: 0; background: #060912; display: flex; flex-direction: column; gap: 10px; }
.phone__notif { display: flex; gap: 10px; align-items: center; padding: 10px; border-radius: 13px; background: #161F33; color: #fff; }
.phone__notif img { width: 24px; height: auto; }
.phone__notif b { display: block; font-size: .78rem; font-weight: 600; line-height: 1.2; }
.phone__notif small { font-size: .66rem; color: var(--muted); }
.phone__ask { padding: 12px; border-radius: 13px; background: #161F33; color: #fff; font-size: .82rem; }
.phone__ask div { display: flex; gap: 6px; margin-top: 9px; }
.phone__ask i { flex: 1; text-align: center; font-style: normal; font-weight: 600; font-size: .78rem; padding: 7px; border-radius: 8px; background: rgba(255,255,255,.1); }
.phone__ask i.is-no { background: var(--red); }
.phone__live { flex: 1; min-height: 120px; border-radius: 13px; padding: 9px; font: 500 .62rem var(--font-mono); color: #fff; display: flex; gap: 6px; align-items: flex-start; background: linear-gradient(180deg, rgba(0,0,0,.2), rgba(0,0,0,.6)), linear-gradient(135deg, #232C42, #0E1526 60%); }




/* ---------- Video ---------- */
.videoblock__grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(30px, 6vw, 90px); align-items: center; }
.videoblock .title { margin-bottom: 18px; }
.videoblock .lead { margin-bottom: 26px; }
.phoneframe { justify-self: center; width: min(100%, 340px); padding: 9px; border: 1px solid var(--line-2); border-radius: 36px; background: #0A0F1B; box-shadow: 0 40px 120px -30px rgba(43,124,255,.5); }
.phoneframe video { width: 100%; height: auto; border-radius: 28px; background: #000; }

/* ---------- Ultim'ora: la sezione in chiaro, come un giornale ---------- */
.news { display: grid; grid-template-columns: repeat(12, 1fr); gap: clamp(20px, 2.4vw, 34px); }
.news__item { grid-column: span 4; display: flex; flex-direction: column; color: inherit; }
.news__item--lead { grid-column: span 8; grid-row: span 2; }
.news__img { position: relative; aspect-ratio: 16 / 10; overflow: hidden; background: var(--bg-3); border-radius: var(--radius-sm); }
.news__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--ease-out); }
.news__item:hover .news__img img { transform: scale(1.04); }
.news__tag { position: absolute; left: 0; top: 14px; padding: 5px 16px 5px 12px; font: 600 .68rem var(--font-mono); letter-spacing: .06em; text-transform: uppercase; color: #fff; background: var(--accent); clip-path: polygon(0 0, 100% 0, calc(100% - 8px) 100%, 0 100%); }
.news__meta { margin: 14px 0 6px; font: 500 .72rem var(--font-mono); letter-spacing: .03em; color: var(--muted); }
.news__item h3 { font-family: var(--font-head); font-stretch: 105%; font-weight: 700; font-size: 1.22rem; line-height: 1.16; letter-spacing: -.015em; margin-bottom: 8px; transition: color .2s; }
.news__item:hover h3 { color: var(--accent-2); }
.news__go { display: inline-flex; align-items: center; gap: 6px; margin-top: 12px; font-weight: 500; color: var(--accent-2); }
.news__go .icon { transition: transform .25s var(--ease); }
.news__item:hover .news__go .icon { transform: translateX(4px); }
.news__item--lead h3 { font-stretch: 112%; font-weight: 800; font-size: clamp(1.6rem, 3.2vw, 3rem); line-height: 1.02; letter-spacing: -.03em; }
.news__item p { margin: 0; font-size: .98rem; line-height: 1.5; }
.news__item--lead p { font-size: 1.1rem; max-width: 62ch; }

/* ---------- Chi siamo ---------- */
.about { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(30px, 6vw, 90px); align-items: center; margin-bottom: clamp(40px, 6vw, 70px); }
.about__mark { display: grid; place-items: center; }
.about__mark img { width: min(100%, 380px); height: auto; animation: floaty 7s ease-in-out infinite alternate; filter: drop-shadow(0 0 70px rgba(43,124,255,.55)); }
@keyframes floaty { to { transform: translateY(-14px); } }
.about .title { margin-bottom: 20px; }
.roles { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-top: 30px; }
.roles > div { padding: 18px 20px; border-left: 2px solid var(--accent); background: var(--panel); }
.roles b { display: block; color: #fff; margin-bottom: 6px; font-weight: 600; }
.roles p { margin: 0; font-size: .94rem; }
.perks { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.perk { position: relative; padding: 22px; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.perk h3 { font-family: var(--font-head); font-stretch: 112%; font-size: 1.04rem; font-weight: 700; margin-bottom: 8px; }
.perk p { margin: 0; font-size: .94rem; }

/* ---------- FAQ ---------- */
.faq { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(30px, 6vw, 80px); align-items: start; }
.faq header .title { margin-bottom: 18px; }
.faq__list { border-top: 1px solid var(--line-2); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 20px 0; cursor: pointer; list-style: none; font-family: var(--font-head); font-stretch: 105%; font-weight: 600; font-size: 1.08rem; color: var(--white); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary i { position: relative; flex: none; width: 16px; height: 16px; }
.faq summary i::before, .faq summary i::after { content: ""; position: absolute; left: 0; right: 0; top: 7px; height: 2px; background: var(--accent-2); transition: transform .25s var(--ease); }
.faq summary i::after { transform: rotate(90deg); }
.faq details[open] summary i::after { transform: rotate(0); }
.faq details > div { padding: 0 34px 22px 0; }

/* ---------- Contatti ---------- */
.contact { overflow: hidden; }
.contact::before { content: ""; position: absolute; left: -10%; bottom: -30%; width: 70%; aspect-ratio: 1; background: radial-gradient(closest-side, rgba(43,124,255,.32), transparent); pointer-events: none; }
.contact__grid { position: relative; display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(30px, 6vw, 90px); align-items: start; }
.contact .display { margin-bottom: 26px; }
.contact__mail { display: block; width: fit-content; max-width: 100%; margin: 34px 0 14px; font-family: var(--font-head); font-stretch: 112%; font-weight: 700; font-size: clamp(1.4rem, 3.2vw, 2.9rem); letter-spacing: -.02em; color: #fff; border-bottom: 3px solid var(--accent); padding-bottom: 6px; transition: color .2s; overflow-wrap: anywhere; }
.contact__mail:hover { color: var(--accent-2); }
.contact__addr { display: inline-flex; align-items: center; gap: 9px; color: #C2CBDA; }
.contact__addr:hover { color: #fff; }

/* ---------- Footer ---------- */
.footer { position: relative; padding-top: 60px; border-top: 1px solid var(--line); background: var(--bg); overflow: hidden; }
.footer__grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr; gap: 36px; }
.footer__tagline { width: min(100%, 300px); height: auto; margin-bottom: 16px; opacity: .85; }
.footer nav { display: grid; gap: 7px; align-content: start; }
.footer nav a:hover, .footer__contact a:hover { color: #fff; }
.footer__contact { display: grid; gap: 10px; align-content: start; }
.footer__social { display: flex; gap: 10px; margin-top: 6px; }
.footer__social a { display: inline-grid; place-items: center; width: 40px; height: 40px; border: 1px solid var(--line-2); border-radius: 50%; color: #C9D3E6; transition: color .2s, border-color .2s, background .2s; }
.footer__social a:hover { color: #fff; border-color: var(--accent); background: rgba(43,124,255,.12); }
.footer__word { font-family: var(--font-head); font-stretch: 125%; font-weight: 900; font-size: 15.5vw; line-height: .78; letter-spacing: -.045em; text-align: center; margin-top: 46px; color: transparent; background: linear-gradient(180deg, rgba(255,255,255,.16), rgba(255,255,255,0) 92%); -webkit-background-clip: text; background-clip: text; user-select: none; white-space: nowrap; }
.footer__bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; padding-block: 18px; font-size: .84rem; color: var(--muted); }
.footer__bottom a:hover { color: #fff; }

/* ---------- Reveal ---------- */
.js .reveal { opacity: 0; transform: translateY(30px); transition: opacity .9s var(--ease-out), transform .9s var(--ease-out); }
.js .reveal.is-in { opacity: 1; transform: none; }

/* ---------- Pagine interne (Ultim'ora, articoli, privacy) ---------- */
.inner { background: var(--bg); min-height: 70vh; padding: 130px 0 clamp(60px, 8vw, 110px); }
.inner__head { padding-bottom: 28px; margin-bottom: clamp(30px, 4vw, 56px); border-bottom: 1px solid var(--line-2); }
.inner__head .lead { margin-top: 18px; }
.inner__disclaimer { margin-top: clamp(40px, 5vw, 60px); padding-top: 18px; border-top: 1px solid var(--line); font-size: .86rem; color: var(--muted); max-width: 80ch; }
.article { max-width: 760px; margin-inline: auto; }
.article__hero { max-width: 1120px; margin: 0 auto clamp(28px, 4vw, 50px); aspect-ratio: 21 / 9; overflow: hidden; background: var(--bg-3); border-radius: var(--radius); }
.article__hero img { width: 100%; height: 100%; object-fit: cover; }
.article h1 { font-family: var(--font-head); font-stretch: 112%; font-weight: 800; font-size: clamp(2rem, 4.6vw, 3.9rem); line-height: 1.02; letter-spacing: -.03em; margin-bottom: 18px; }
.article__meta { font: 500 .78rem var(--font-mono); color: var(--muted); margin-bottom: 30px; }
.article__body { font-size: 1.13rem; line-height: 1.68; color: #C2CBDA; }
.article__body h2 { font-family: var(--font-head); font-stretch: 112%; font-weight: 700; font-size: 1.42rem; margin: 38px 0 12px; letter-spacing: -.015em; }
.article__body ul { margin: 0 0 1em; display: grid; gap: 8px; }
.article__body li { padding-left: 22px; position: relative; }
.article__body li::before { content: ""; position: absolute; left: 0; top: .62em; width: 12px; height: 7px; background: var(--accent); clip-path: polygon(30% 0, 100% 0, 70% 100%, 0 100%); }
.article__body a { color: var(--accent-2); text-decoration: underline; text-underline-offset: 3px; }
.article__source { margin: 34px 0; padding: 16px 20px; background: var(--panel); border-left: 3px solid var(--accent); font-size: .94rem; }
.article__cta { margin-top: 44px; padding: clamp(24px, 4vw, 38px); background: var(--bg-3); border: 1px solid var(--line); border-radius: var(--radius); }
.article__cta h2 { font-family: var(--font-head); font-stretch: 112%; font-weight: 800; text-transform: uppercase; font-size: clamp(1.3rem, 2.6vw, 1.9rem); margin: 0 0 8px; letter-spacing: -.02em; }
.article__cta .btn { margin-top: 12px; }
.privacy h2 { font-family: var(--font-head); font-stretch: 112%; font-weight: 700; font-size: 1.26rem; margin: 30px 0 8px; }

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
  .card, .card--xl, .card--wide { grid-column: span 6; }
  .card--xl { grid-column: span 12; }
  .card--wide { grid-column: span 12; }
  .card--tall { grid-row: span 2; }
  .perks { grid-template-columns: repeat(2, 1fr); }
  .news__item { grid-column: span 6; }
  .news__item--lead { grid-column: span 12; grid-row: auto; }
}
@media (max-width: 900px) {
  .nav-toggle { display: block; }
  .header { padding-right: 6px; gap: 10px; }
  .header__cta { margin-left: auto; }
  .nav { position: absolute; top: calc(100% + 8px); left: 0; right: 0; margin: 0; display: grid; gap: 2px; padding: 10px; background: rgba(6,9,16,.96); border: 1px solid var(--line); border-radius: 14px; opacity: 0; visibility: hidden; transform: translateY(-8px); transition: opacity .2s, transform .2s, visibility .2s; }
  .nav a { padding: 13px 14px; font-size: 1.04rem; }
  .nav-open .nav { opacity: 1; visibility: visible; transform: none; }

  .stage-hud { inset: 78px 10px 10px; font-size: .6rem; }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .stats li > span { font-size: .84rem; }

  .about, .faq, .contact__grid, .videoblock__grid { grid-template-columns: 1fr; }
  .about__mark img { width: 170px; }
  .roles { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .footer__grid > :first-child { grid-column: 1 / -1; }
}
@media (max-width: 680px) {
  .card, .card--xl, .card--wide, .card--tall { grid-column: span 12; grid-row: auto; }
  .perks { grid-template-columns: 1fr; }
  .news__item, .news__item--lead { grid-column: span 12; }
  .viz--ai { min-height: 240px; }
  .viz__car { width: 130px; height: 60px; left: 56%; }
  .viz__person { left: 28%; }
  .logo__word { display: none; }
  .article__hero { aspect-ratio: 16 / 9; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .marquee__track { animation: none; }
}

/* ---------- Torri: pannello a specchio per la 220V ---------- */
.configurator--flip { grid-template-columns: 1fr 1.35fr; }
.configurator--flip .configurator__stage { order: 2; }
@media (max-width: 1024px) { .configurator--flip { grid-template-columns: 1fr; } .configurator--flip .configurator__stage { order: 0; } }

/* ---------- VidHorusKit ---------- */
.kit__grid { display: grid; grid-template-columns: minmax(280px, .72fr) 1.28fr; gap: clamp(30px, 6vw, 90px); align-items: center; }
.kit__video { position: relative; padding: 9px; border: 1px solid var(--line-2); border-radius: 30px; background: #0A0F1B; box-shadow: 0 40px 120px -30px rgba(43,124,255,.55); }
.kit__video video { width: 100%; height: auto; border-radius: 22px; background: #000; }
.kit__text > header .title { margin-bottom: 18px; }
.voice { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 18px; margin: 30px 0 22px; padding: 20px 22px; border: 1px solid var(--line-2); border-radius: var(--radius); background: var(--panel); }
.voice small { display: block; font: 500 .68rem var(--font-mono); letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.voice b { font-family: var(--font-head); font-stretch: 112%; color: #fff; font-size: 1.05rem; }
.voice__side--end { text-align: right; }
.voice__wave { display: flex; align-items: center; justify-content: space-between; height: 44px; }
.voice__wave i { width: 3px; height: 100%; background: var(--accent-2); transform: scaleY(.15); animation: wv 1s ease-in-out infinite alternate; }
.voice__wave i:nth-child(n+7) { background: #FF8A1F; animation-delay: .5s; }
.voice__wave i:nth-child(2n) { animation-duration: .7s; } .voice__wave i:nth-child(3n) { animation-duration: 1.3s; }
.voice p { grid-column: 1 / -1; margin: 0; font-size: .96rem; color: #C2CBDA; }
.kit__photos { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-bottom: 26px; }
.kit__photos figure { margin: 0; position: relative; overflow: hidden; border-radius: var(--radius-sm); background: #0A0F1B; }
.kit__photos img { width: 100%; aspect-ratio: 1; object-fit: cover; transition: transform .7s var(--ease-out); }
.kit__photos figure:hover img { transform: scale(1.05); }
.kit__photos figcaption { position: absolute; left: 0; bottom: 12px; padding: 4px 16px 4px 12px; font: 600 .68rem var(--font-mono); text-transform: uppercase; letter-spacing: .05em; color: #fff; background: var(--accent-3); clip-path: polygon(0 0, 100% 0, calc(100% - 8px) 100%, 0 100%); }

/* ---------- Impianti su misura: elenco tipografico ---------- */
.places { border-top: 1px solid var(--line-2); }
.places a { display: grid; grid-template-columns: 1.1fr 1fr auto; align-items: center; gap: 24px; padding: clamp(16px, 2.2vw, 26px) 0; border-bottom: 1px solid var(--line); transition: padding .35s var(--ease), background .35s var(--ease); }
.places b { font-family: var(--font-head); font-stretch: 125%; font-weight: 800; text-transform: uppercase; letter-spacing: -.03em; font-size: clamp(1.45rem, 3.8vw, 3.5rem); line-height: 1; color: var(--white); transition: color .25s; }
.places span { font-size: 1rem; color: var(--text); }
.places .icon { width: 28px; height: 28px; color: var(--muted); transition: transform .3s var(--ease), color .25s; }
.places a:hover { padding-left: 18px; padding-right: 10px; background: linear-gradient(90deg, rgba(43,124,255,.14), transparent); }
.places a:hover b { color: var(--accent-2); }
.places a:hover .icon { color: #fff; transform: translate(3px, -3px); }
.process { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-top: clamp(30px, 4vw, 54px); }
.process li { padding: 20px; border: 1px solid var(--line); border-radius: var(--radius); }
.process i { display: block; font: 600 .78rem var(--font-mono); font-style: normal; color: var(--accent-2); margin-bottom: 10px; }
.process b { display: block; color: #fff; font-family: var(--font-head); font-stretch: 112%; margin-bottom: 6px; }
.process span { font-size: .92rem; }
@media (max-width: 900px) {
  .kit__grid { grid-template-columns: 1fr; }
  .kit__video { width: min(100%, 320px); justify-self: center; }
  .places a { grid-template-columns: 1fr auto; }
  .places span { grid-column: 1; }
  .places .icon { grid-row: 1; grid-column: 2; }
  .process { grid-template-columns: 1fr 1fr; }
}

/* Velo scuro dietro i testi dei capitoli, per leggerli su qualsiasi inquadratura */

.contact__grid { grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); }
.contact .display--sm { font-size: clamp(2.6rem, 6.2vw, 6rem); }
.form { min-width: 0; }
@media (max-width: 900px) { .contact__grid { grid-template-columns: minmax(0, 1fr); } }

/* Kit: prodotto intero, video che accompagna lo scorrimento */
.kit__grid { align-items: start; }
.kit__video { position: sticky; top: 92px; }
.kit__photos { max-width: 640px; }
.kit__photos img { aspect-ratio: 5 / 6; object-position: center top; }
@media (max-width: 900px) { .kit__video { position: relative; top: auto; } }
.kit__photos img { height: auto; }

/* Videoanalisi: sagome vere al posto delle forme astratte */
.viz__person { background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 58 136'%3E%3Cdefs%3E%3ClinearGradient id='h' x1='0' y1='0' x2='0' y2='1'%3E%3Cstop offset='0' stop-color='%23FFF3C4'/%3E%3Cstop offset='.45' stop-color='%23FFB020'/%3E%3Cstop offset='1' stop-color='%23C2275A'/%3E%3C/linearGradient%3E%3C/defs%3E%3Cpath fill='url(%23h)' d='M29 6a10 10 0 1 1 0 20 10 10 0 0 1 0-20zM16 30h26l5 40-6 2-4-26-1 30 3 54h-9l-1-46-1 46h-9l3-54-1-30-4 26-6-2z'/%3E%3C/svg%3E") center / contain no-repeat; }
.viz__car { background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 190 82'%3E%3Cdefs%3E%3ClinearGradient id='c' x1='0' y1='0' x2='0' y2='1'%3E%3Cstop offset='0' stop-color='%236B1E7A'/%3E%3Cstop offset='1' stop-color='%23E0463A'/%3E%3C/linearGradient%3E%3C/defs%3E%3Cpath fill='url(%23c)' d='M8 58c0-10 6-16 18-18l26-20c6-4 12-6 20-6h44c10 0 16 4 24 12l14 14c14 2 26 8 28 18v8h-16a16 16 0 0 0-32 0H66a16 16 0 0 0-32 0H8z'/%3E%3Ccircle cx='50' cy='68' r='12' fill='%23FFB020'/%3E%3Ccircle cx='140' cy='68' r='12' fill='%23FFB020'/%3E%3C/svg%3E") center bottom / contain no-repeat; }
.viz--ai .viz__cat { background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 46 28'%3E%3Cpath fill='%235A4A8A' d='M4 8l2 5h3l2-5 1 7c6-3 18-3 22 1 2-2 4-6 7-7l-3 8-2 2v7h-3l-1-5H17l-2 5h-3v-6c-4 0-7-3-8-12z'/%3E%3C/svg%3E") center / 80% no-repeat; }

@media (max-width: 900px) {
  .stage-hud__tr { display: none; }
}

/* Scorrimento: la scena 3D è breve, si attraversa in poche rotellate */


/* ---------- Prima schermata: una pagina normale, nessun blocco dello scorrimento ---------- */
.hero { position: relative; height: 100vh; height: 100svh; min-height: 620px; overflow: hidden; background: var(--bg); }
.hero__canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero__fallback { display: none; position: absolute; inset: 0; background: radial-gradient(70% 60% at 70% 30%, #12305F 0%, transparent 70%), var(--bg); }
.no-webgl .hero__fallback { display: block; }
.no-webgl .hero__canvas, .no-webgl .stage-hud { display: none; }
.hero__shade { position: absolute; inset: 0; pointer-events: none; background: linear-gradient(180deg, rgba(4,6,11,.5) 0%, transparent 18%, transparent 58%, rgba(4,6,11,.72) 92%, var(--bg) 100%); }
.hero__content { position: absolute; left: var(--gutter); right: var(--gutter); bottom: clamp(26px, 5vh, 56px); }
.hero__row { display: flex; justify-content: space-between; align-items: flex-end; gap: 40px; margin-top: clamp(16px, 3vh, 32px); }
.hero__row .lead { text-shadow: 0 1px 16px rgba(0,0,0,.8); }
.hero__actions { display: flex; gap: 12px; flex: none; }
.numbers { background: var(--bg); padding-bottom: clamp(30px, 4vw, 50px); }

/* Torre solare: i tre fatti */
.facts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-bottom: 14px; }
.facts li { padding: 18px 20px; border-left: 2px solid var(--accent); background: var(--panel); }
.facts b { display: block; color: #fff; font-family: var(--font-head); font-stretch: 112%; margin-bottom: 4px; }
.facts span { font-size: .94rem; }

/* Ultim'ora */
.newshead { display: flex; justify-content: space-between; align-items: flex-end; flex-wrap: wrap; gap: 24px; margin-bottom: clamp(30px, 4vw, 56px); padding-bottom: 28px; border-bottom: 1px solid var(--line-2); }
.news__item h3 { color: var(--white); }

/* Contatti: titolo a tutta larghezza, mai sotto il modulo */
.contact__head { position: relative; margin-bottom: clamp(24px, 3vw, 40px); }
.contact .display--sm { font-size: clamp(2rem, 8.4vw, 7.4rem); margin-bottom: 0; }
.contact__mail { margin-top: 26px; }

/* ---------- Sala di controllo ---------- */
.wall { border: 1px solid var(--line-2); border-radius: var(--radius); overflow: hidden; background: #070A11; }
.wall__top { display: flex; align-items: center; justify-content: space-between; gap: 14px; flex-wrap: wrap; padding: 12px 16px; border-bottom: 1px solid var(--line); font: 500 .76rem var(--font-mono); letter-spacing: .04em; color: #C2CBDA; }
.wall__site { display: inline-flex; align-items: center; gap: 8px; }
.wall__time { font-variant-numeric: tabular-nums; color: #fff; margin-left: auto; }
.wall__state { padding: 4px 10px; border-radius: 6px; font-weight: 600; letter-spacing: .06em; transition: background .25s, color .25s; }
.wall__state[data-tone="ok"] { background: rgba(52,211,153,.14); color: var(--green); }
.wall__state[data-tone="warn"] { background: rgba(255,209,102,.16); color: #FFD166; }
.wall__state[data-tone="alarm"] { background: var(--red); color: #fff; }
.wall__grid { position: relative; display: grid; grid-template-columns: 3fr 1fr; grid-template-rows: repeat(3, 1fr); gap: 3px; aspect-ratio: 16 / 7.4; background: #000; }
.wall__grid canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.wall__cell { position: relative; display: block; min-width: 0; min-height: 0; padding: 0; border: 0; background: none; cursor: pointer; overflow: hidden; text-align: left; outline-offset: -3px; }
.wall__cell--main { grid-row: 1 / span 3; cursor: default; }
.wall__cell:not(.wall__cell--main):hover { box-shadow: inset 0 0 0 2px var(--accent-2); }
.wall__name { position: absolute; left: 10px; top: 8px; padding: 3px 8px; font: 500 .68rem var(--font-mono); color: #fff; background: rgba(0,0,0,.55); border-radius: 4px; white-space: nowrap; }
.wall__cell--main .wall__name { font-size: .8rem; left: 14px; top: 12px; }
.wall__box { position: absolute; left: 0; top: 0; border: 2px solid #FFD166; opacity: 0; pointer-events: none; transition: opacity .2s; }
.wall__box.is-on { opacity: 1; }
.wall__box.is-alarm { border-color: var(--red); box-shadow: 0 0 18px rgba(255,59,48,.7); }
.wall__box b { position: absolute; left: -2px; bottom: 100%; margin-bottom: 3px; padding: 1px 6px; font: 700 .6rem var(--font-mono); white-space: nowrap; background: #FFD166; color: #1A0E00; }
.wall__box.is-alarm b { background: var(--red); color: #fff; }
.wall__cell:not(.wall__cell--main) .wall__box b { display: none; }
.wall__say { position: absolute; left: 3%; width: 69%; bottom: 7%; margin: 0; padding: 10px 16px; font-size: clamp(.9rem, 1.4vw, 1.25rem); font-weight: 500; text-align: center; color: #fff; background: rgba(4,6,11,.72); border-left: 3px solid var(--red); opacity: 0; transform: translateY(8px); transition: opacity .25s, transform .25s; pointer-events: none; }
.wall__say.is-on { opacity: 1; transform: none; }
.wall__views { position: absolute; right: calc(25% + 12px); top: 10px; display: flex; gap: 2px; padding: 3px; background: rgba(0,0,0,.55); border-radius: 8px; }
.wall__views button { padding: 5px 10px; border: 0; border-radius: 6px; background: none; color: #C2CBDA; font: 500 .7rem var(--font-mono); cursor: pointer; }
.wall__views button:hover { color: #fff; }
.wall__views button[aria-pressed="true"] { background: var(--accent); color: #fff; }
.wall__bar { height: 3px; background: var(--line); }
.wall__bar i { display: block; height: 100%; background: var(--accent-2); transform: scaleX(0); transform-origin: left; }
.wall__bottom { display: grid; grid-template-columns: 1.7fr 1fr; }
.wall__steps { display: grid; grid-template-columns: repeat(4, 1fr); border-right: 1px solid var(--line); }
.wall__steps li { padding: 16px; border-right: 1px solid var(--line); opacity: .38; transition: opacity .3s, background .3s; }
.wall__steps li:last-child { border-right: 0; }
.wall__steps li.is-on { opacity: 1; background: rgba(43,124,255,.08); }
.wall__steps b { display: block; margin-bottom: 4px; font-family: var(--font-head); font-stretch: 112%; color: #fff; font-size: .9rem; text-transform: uppercase; }
.wall__steps span { font-size: .84rem; line-height: 1.35; display: block; }
.wall__log { padding: 12px 16px; min-height: 148px; }
.wall__loghead { display: flex; justify-content: space-between; align-items: center; margin-bottom: 8px; }
.wall__loghead small { font: 500 .68rem var(--font-mono); letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.wall__loghead button { padding: 3px 10px; border: 1px solid var(--line-2); border-radius: 6px; background: none; color: #C2CBDA; font: 500 .7rem var(--font-mono); cursor: pointer; }
.wall__loghead button:hover { color: #fff; border-color: var(--accent-2); }
.wall__log ul { display: grid; gap: 5px; }
.wall__log li { display: flex; gap: 10px; font-size: .82rem; line-height: 1.3; }
.wall__log time { font-family: var(--font-mono); font-size: .72rem; color: var(--muted); flex: none; }
.wall.is-off .wall__grid { display: none; }

@media (max-width: 1100px) { .wall__bottom { grid-template-columns: 1fr; } .wall__steps { border-right: 0; border-bottom: 1px solid var(--line); } }
@media (max-width: 900px) {
  .hero__row { display: block; }
  .hero__row .lead { font-size: .98rem; margin-bottom: 14px; }
  .hero__actions { flex-direction: column; align-items: stretch; gap: 8px; }
  .hero__actions .btn { padding-block: 15px; }
  .hero__shade { background: linear-gradient(180deg, rgba(4,6,11,.3) 0%, transparent 30%, rgba(4,6,11,.72) 56%, var(--bg) 100%); }
  .facts { grid-template-columns: 1fr; }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .wall__grid { grid-template-columns: repeat(3, 1fr); grid-template-rows: auto auto; aspect-ratio: auto; }
  .wall__cell--main { grid-column: 1 / -1; grid-row: 1; aspect-ratio: 16 / 10; }
  .wall__cell:not(.wall__cell--main) { aspect-ratio: 16 / 10; }
  .wall__cell:not(.wall__cell--main) .wall__name { font-size: .54rem; left: 4px; top: 4px; padding: 2px 4px; white-space: normal; max-width: calc(100% - 8px); }
  .wall__views { right: 8px; top: auto; bottom: calc(33.34% * .62 + 8px); }
  .wall__say { width: auto; left: 3%; right: 3%; bottom: auto; top: 44%; }
  .wall__steps { grid-template-columns: 1fr 1fr; }
  .wall__steps li { padding: 12px; border-bottom: 1px solid var(--line); }
}

/* Ritocchi generali */
.progress { position: fixed; z-index: 120; left: 0; right: 0; top: 0; height: 2px; pointer-events: none; }
.progress i { display: block; height: 100%; background: linear-gradient(90deg, var(--accent), var(--accent-2)); transform: scaleX(0); transform-origin: left; }
.nav a.is-active { color: #fff; background: rgba(255,255,255,.09); }
.btn--primary { box-shadow: none; }
.card, .perk, .process li { transition: border-color .25s, transform .35s var(--ease); }
.card:hover, .perk:hover, .process li:hover { transform: translateY(-3px); }
.news__item { transition: transform .35s var(--ease); }
.news__item:hover { transform: translateY(-3px); }
.stats strong { font-variant-numeric: tabular-nums; }
.title em, .display em { paint-order: stroke fill; }
@media (hover: none) { .card:hover, .perk:hover, .process li:hover, .news__item:hover { transform: none; } }


/* Il pulsante del menu ha un testo più lungo */
.header__cta { --cut: 10px; padding: 11px 20px; font-size: .7rem; }
@media (max-width: 1180px) { .nav a { padding: 8px 8px; font-size: .82rem; } }
@media (max-width: 420px) { .header__cta { padding: 10px 16px; font-size: .62rem; letter-spacing: .01em; } }
.viz--phone { min-height: 300px; }

/* ---------- Prima schermata con video: descrizione a sinistra, titolo a destra ---------- */
.hero__video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; background: var(--bg); }
.hero__shade { background: linear-gradient(180deg, rgba(4,6,11,.5) 0%, transparent 18%, transparent 72%, rgba(4,6,11,.8) 92%, var(--bg) 100%), linear-gradient(90deg, rgba(4,6,11,.82) 0%, rgba(4,6,11,.5) 27%, transparent 42%, transparent 54%, rgba(4,6,11,.55) 70%, rgba(4,6,11,.86) 100%); }
.hero__content--due { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(20px, 10vw, 180px); align-items: end; }
.hero__desc { max-width: 430px; }
.hero__kicker { margin: 0 0 12px; font-family: var(--font-mono); font-size: .76rem; letter-spacing: .1em; text-transform: uppercase; color: #8FDFFF; text-shadow: 0 1px 10px rgba(0,0,0,.95); }
.hero__testo { margin: 0; color: #fff; font-size: clamp(1.08rem, 1.45vw, 1.34rem); line-height: 1.42; font-weight: 500; text-shadow: 0 1px 14px rgba(0,0,0,.85); }
.hero__testo--2 { margin-top: 10px; color: #C9D2E0; font-size: clamp(.96rem, 1.1vw, 1.05rem); font-weight: 400; }
.hero__lista { list-style: none; margin: clamp(14px, 2.4vh, 24px) 0 0; padding: 0; display: grid; gap: 9px; }
.hero__lista li { display: flex; align-items: center; gap: 11px; color: #fff; font-size: .95rem; line-height: 1.25; text-shadow: 0 1px 10px rgba(0,0,0,.9); }
.hero__lista .icon { width: 20px; height: 20px; flex: none; color: #40C8FF; }
.hero__principale { display: flex; flex-direction: column; align-items: flex-end; text-align: right; }
.hero__title { font-family: var(--font-head); font-stretch: 112%; font-weight: 800; text-transform: uppercase; color: var(--white); letter-spacing: -.025em; line-height: 1.02; font-size: clamp(1.9rem, 3.4vw, 3.9rem); max-width: 15ch; margin: clamp(10px, 2vh, 18px) 0 0; text-shadow: 0 2px 24px rgba(0,0,0,.7); }
.hero__title em { font-style: normal; color: #40C8FF; }
.hero__motto { margin: clamp(10px, 1.8vh, 16px) 0 0; color: #fff; font-size: clamp(1rem, 1.25vw, 1.2rem); font-weight: 500; text-shadow: 0 1px 12px rgba(0,0,0,.85); }
.hero__principale .hero__actions { margin-top: clamp(14px, 2.4vh, 24px); justify-content: flex-end; flex-wrap: wrap; }
.hero__note { position: absolute; right: var(--gutter); top: 118px; margin: 0; font-size: .7rem; color: rgba(255,255,255,.72); text-shadow: 0 1px 6px rgba(0,0,0,.9); }

/* ---------- Video ---------- */
.vsec { padding-block: clamp(80px, 11vw, 170px); background: linear-gradient(180deg, var(--bg) 0%, var(--bg-2) 45%, var(--bg) 100%); }
.vsec__head { max-width: 860px; margin: 0 auto clamp(44px, 6vw, 84px); text-align: center; }
.vsec__head .eyebrow { justify-content: center; }
.vsec__head .lead { margin: 18px auto 0; }
.vplayer { position: relative; overflow: hidden; border-radius: var(--radius-lg); border: 1px solid var(--line-2); background: #000; box-shadow: 0 34px 80px -34px rgba(0,0,0,.95), 0 0 0 1px rgba(255,255,255,.02); transition: border-color .3s, box-shadow .3s; }
.vplayer:hover { border-color: rgba(107,166,255,.55); box-shadow: 0 34px 90px -30px rgba(43,124,255,.42); }
.vplayer video { display: block; width: 100%; aspect-ratio: 16 / 9; background: #000; }
.vplayer__play { position: absolute; inset: 0; display: grid; place-items: center; width: 100%; padding: 0; border: 0; cursor: pointer; background: linear-gradient(180deg, rgba(4,6,11,.05), rgba(4,6,11,.35)); color: #fff; }
.vplayer__play span { display: grid; place-items: center; width: clamp(62px, 7vw, 92px); aspect-ratio: 1; border-radius: 50%; background: rgba(43,124,255,.92); box-shadow: 0 0 0 10px rgba(43,124,255,.18), 0 14px 36px rgba(0,0,0,.5); transition: transform .25s var(--ease-out); }
.vplayer__play:hover span, .vplayer__play:focus-visible span { transform: scale(1.09); }
.vplayer__play svg { width: 38%; height: 38%; margin-left: 6%; fill: currentColor; }
.vplayer.is-on .vplayer__play { display: none; }
.vfeat__text { display: flex; justify-content: space-between; align-items: flex-end; gap: 22px 40px; flex-wrap: wrap; margin-top: clamp(20px, 2.4vw, 30px); }
.vfeat h3, .vrow__text h3 { margin: 0; font-family: var(--font-head); font-weight: 800; font-stretch: 110%; color: var(--white); letter-spacing: -.02em; line-height: 1.08; font-size: clamp(1.45rem, 2.5vw, 2.35rem); text-wrap: balance; }
.vrow__tag { display: flex; align-items: center; gap: 12px; margin: 0 0 14px; font-family: var(--font-mono); font-size: .76rem; letter-spacing: .08em; text-transform: uppercase; color: var(--accent-2); }
.vrow__tag span { padding: 3px 9px; border: 1px solid rgba(107,166,255,.4); border-radius: 999px; color: var(--white); }
.vrows { margin-top: clamp(64px, 9vw, 130px); display: grid; gap: clamp(64px, 9vw, 130px); }
.vrow { display: grid; grid-template-columns: minmax(0, 1.45fr) minmax(0, 1fr); align-items: center; gap: clamp(28px, 5vw, 76px); }
.vrow--inv { grid-template-columns: minmax(0, 1fr) minmax(0, 1.45fr); }
.vrow--inv .vrow__media { order: 2; }
.vrow__text > p:not(.vrow__tag) { margin: 16px 0 0; color: var(--text); line-height: 1.6; font-size: clamp(1rem, 1.15vw, 1.1rem); max-width: 48ch; }
.evlist { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; margin: 22px 0 0; padding: 0; }
.vfeat .evlist { margin: 0; }
.evlist li { display: flex; align-items: center; gap: 9px; padding: 7px 13px 7px 11px; border: 1px solid var(--line-2); border-radius: 999px; background: var(--panel); color: var(--white); font-size: .84rem; line-height: 1.2; }
.ev { flex: none; width: 9px; height: 9px; border-radius: 50%; }
.ev--arancio { background: #FF9628; } .ev--rosso { background: #FF4242; } .ev--ambra { background: #FFC43D; } .ev--ciano { background: #40C8FF; } .ev--bianco { background: #fff; }
.vsec__note { margin: clamp(56px, 7vw, 96px) 0 0; text-align: center; font-size: .8rem; color: var(--muted); }
@media (max-width: 860px) {
  .vrow, .vrow--inv { grid-template-columns: 1fr; gap: 22px; }
  .vrow--inv .vrow__media { order: 0; }
  .vplayer { border-radius: var(--radius); }
}
@media (max-width: 760px) {
  .hero__video { object-position: 58% center; }
  .hero__shade { background: linear-gradient(180deg, rgba(4,6,11,.45) 0%, transparent 13%, rgba(4,6,11,.6) 30%, rgba(4,6,11,.95) 62%, var(--bg) 100%); }
  .hero { height: auto; min-height: 100svh; display: flex; align-items: flex-end; }
  .hero__content--due { position: relative; left: auto; right: auto; bottom: auto; width: 100%; padding: 190px 16px 24px; display: flex; flex-direction: column-reverse; align-items: stretch; gap: 20px; }
  .hero__desc { max-width: none; }
  .hero__principale { align-items: flex-start; text-align: left; }
  .hero__principale .hero__actions { width: 100%; justify-content: stretch; }
  .hero__lista { grid-template-columns: 1fr 1fr; gap: 8px 12px; }
  .hero__lista li { font-size: .78rem; gap: 7px; }
  .hero__lista li:last-child { grid-column: 1 / -1; }
  .hero__lista .icon { width: 17px; height: 17px; }
  .hero__note { top: 112px; right: 16px; font-size: .62rem; }
  .vsec__head { text-align: left; }
  .vsec__head .eyebrow { justify-content: flex-start; }
}

/* ---------- Servizi: conversazione, torri, collegamento ---------- */
.viz--phone { min-height: 450px; padding-top: 24px; }
.phone--chat { width: min(290px, 88%); height: auto; padding: 0; gap: 0; overflow: hidden; border-bottom: 1.5px solid var(--line-2); border-radius: 28px; margin-bottom: 24px; }
.chat__head { display: flex; align-items: center; gap: 10px; padding: 14px 16px; background: #111A2C; color: #fff; }
.chat__head img { width: 24px; height: auto; }
.chat__head b { display: block; font-size: .8rem; font-weight: 600; line-height: 1.2; }
.chat__head small { display: flex; align-items: center; gap: 5px; font-size: .66rem; color: var(--green); }
.chat__head small i { width: 6px; height: 6px; border-radius: 50%; background: var(--green); }
.chat__msgs { display: flex; flex-direction: column; gap: 7px; padding: 14px 12px 8px; }
.card .msg { align-self: flex-start; max-width: 86%; margin: 0; padding: 8px 11px 5px; border-radius: 13px 13px 13px 4px; background: #182338; color: #E9EEF7; font-size: .76rem; line-height: 1.32; }
.card .msg--me { align-self: flex-end; border-radius: 13px 13px 4px 13px; background: var(--accent); color: #fff; }
.msg small { display: block; margin-top: 2px; text-align: right; font-size: .58rem; opacity: .68; }
.card .chat__nota { margin: 0; padding: 4px 12px 12px; text-align: center; font-size: .62rem; color: var(--muted); }
.js .reveal .msg { opacity: 0; }
.js .reveal.is-in .msg { animation: msgin .5s var(--ease-out) forwards; }
.js .reveal.is-in .msg:nth-child(2) { animation-delay: .9s; }
.js .reveal.is-in .msg:nth-child(3) { animation-delay: 1.8s; }
.js .reveal.is-in .msg:nth-child(4) { animation-delay: 2.7s; }
.js .reveal.is-in .msg:nth-child(5) { animation-delay: 3.6s; }
@keyframes msgin { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .js .reveal .msg { opacity: 1; animation: none !important; } }
.viz--tower2 { display: grid; grid-template-columns: 1fr 1fr; gap: 2px; padding: 0; background: var(--line); }
.viz--tower2 figure { position: relative; margin: 0; min-height: 300px; overflow: hidden; background: #000; }
.viz--tower2 img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease-out); }
.card:hover .viz--tower2 img { transform: scale(1.05); }
.viz--tower2 figcaption { position: absolute; left: 12px; bottom: 12px; padding: 4px 11px; border-radius: 999px; background: rgba(4,8,18,.82); border: 1px solid var(--line-2); color: #fff; font-size: .76rem; font-weight: 600; }
.viz--flow { display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 26px 20px; }
.flow__step { display: flex; align-items: center; gap: 13px; width: min(270px, 100%); padding: 11px 14px; border: 1px solid var(--line-2); border-radius: 14px; background: rgba(255,255,255,.03); color: var(--white); font-size: .9rem; font-weight: 500; }
.flow__step span { display: grid; place-items: center; flex: none; width: 38px; height: 38px; border-radius: 10px; background: rgba(107,166,255,.14); color: var(--accent-2); }
.flow__step .icon { width: 21px; height: 21px; }
.flow__step--on { border-color: rgba(107,166,255,.6); box-shadow: 0 0 26px -8px rgba(43,124,255,.8); }
.flow__step--on span { background: var(--accent); color: #fff; }
.flow__line { width: 2px; height: 24px; background: repeating-linear-gradient(180deg, var(--accent-2) 0 5px, transparent 5px 10px); background-size: 2px 20px; animation: flowdown 1s linear infinite; }
@keyframes flowdown { to { background-position: 0 20px; } }
