/* Home di docenti360.it, stile "v2" (approvato il 26/10/2026).
   Caricato SOLO dalla home: tutte le classi iniziano per "h-" per non toccare le altre pagine.
   Colori e caratteri vengono da sito.css (--navy, --blu, --ambra, --display, --corpo…). */

:root {
  --h-notte: #060f24;
  --h-navy-3: #13295c;
  --h-blu: #3554f5;
  --h-blu-hover: #2a45d8;
  --h-racc: #f76707;
  --h-testo-2: #3b4866;
  --h-linea-2: #cbd4e6;
  --h-r-lg: 24px;
  --h-r-xl: 32px;
  --h-ombra: 0 1px 2px rgba(11,27,58,.05), 0 10px 30px -12px rgba(11,27,58,.16);
  --h-ombra-lg: 0 2px 6px rgba(11,27,58,.05), 0 30px 60px -24px rgba(11,27,58,.30);
  --h-anello: 0 0 0 3px rgba(53,84,245,.32);
  --h-grana: 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='.85' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 .5 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.5'/%3E%3C/svg%3E");
  --h-ok-bg: #e3f7ef; --h-ok: #0a8a5f;
  --h-dev-bg: #fff0e6; --h-dev: #c2410c;
  --h-poi-bg: #e9edff; --h-poi: #4057d6;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-tema="chiaro"]) {
    --h-testo-2: #c2cbe2; --h-linea-2: #273a6a;
    --h-ombra: 0 1px 2px rgba(0,0,0,.4), 0 10px 30px -12px rgba(0,0,0,.6);
    --h-ombra-lg: 0 30px 60px -24px rgba(0,0,0,.75);
    --h-ok-bg: #0b2f25; --h-ok: #3ee0a5; --h-dev-bg: #3a1c0e; --h-dev: #ff9a5c; --h-poi-bg: #18245a; --h-poi: #a5b5ff;
  }
}
:root[data-tema="scuro"] {
  --h-testo-2: #c2cbe2; --h-linea-2: #273a6a;
  --h-ombra: 0 1px 2px rgba(0,0,0,.4), 0 10px 30px -12px rgba(0,0,0,.6);
  --h-ombra-lg: 0 30px 60px -24px rgba(0,0,0,.75);
  --h-ok-bg: #0b2f25; --h-ok: #3ee0a5; --h-dev-bg: #3a1c0e; --h-dev: #ff9a5c; --h-poi-bg: #18245a; --h-poi: #a5b5ff;
}

main { overflow-x: clip; }

/* pulsanti in più usati dalla home */
.btn-vetro { background: rgba(255,255,255,.08); color: #fff; border-color: rgba(255,255,255,.22); backdrop-filter: blur(6px); }
.btn-vetro:hover { background: rgba(255,255,255,.14); }
.btn-sm { min-height: 42px; padding: 0 16px; font-size: 15px; border-radius: 11px; }
.h-freccia { transition: transform .2s; }
a:hover .h-freccia { transform: translateX(3px); }

/* ---------- apertura ---------- */
.h-eroe { position: relative; isolation: isolate; overflow: hidden; background: var(--h-notte); color: #fff; padding: 96px 0 92px; }
.h-eroe::before { content: ""; position: absolute; inset: 0; z-index: -2;
  background: radial-gradient(800px 520px at 12% 8%, rgba(53,84,245,.42), transparent 62%), radial-gradient(560px 420px at 30% 100%, rgba(245,166,35,.12), transparent 70%), linear-gradient(180deg, var(--navy) 0%, var(--h-notte) 100%); }
.h-eroe::after { content: ""; position: absolute; inset: 0; z-index: -1; background-image: var(--h-grana); opacity: .07; mix-blend-mode: overlay; pointer-events: none; }
.h-strisce { position: absolute; z-index: -1; top: -18%; right: -8%; width: 62%; height: 140%; transform: skewX(-14deg); display: flex; gap: 26px; opacity: .95; }
.h-strisce i { flex: 1; max-width: 120px; border-radius: 28px; position: relative; overflow: hidden; }
.h-strisce i::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(255,255,255,.22), transparent 30%, transparent 70%, rgba(0,0,0,.25)); }
.h-strisce i:nth-child(1) { background: linear-gradient(180deg, #ff8a63, var(--arancio)); }
.h-strisce i:nth-child(2) { background: linear-gradient(180deg, #2fd39b, var(--verde)); }
.h-strisce i:nth-child(3) { background: linear-gradient(180deg, #6f86ff, var(--h-blu)); }
.h-velo { position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, var(--h-notte) 36%, rgba(6,15,36,.7) 50%, rgba(6,15,36,.08) 70%, rgba(6,15,36,0) 90%); }
.h-eroe .wrap { display: grid; grid-template-columns: 1.02fr .98fr; gap: 48px; align-items: center; }
.h-occhiello { display: inline-flex; align-items: center; gap: 10px; padding: 8px 14px 8px 10px; border-radius: 999px; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.12); font: 600 14px/1.25 var(--corpo); color: #e7ecff; }
.h-occhiello b { display: inline-grid; place-items: center; height: 22px; padding: 0 9px; border-radius: 999px; background: var(--ambra); color: #2a1a00; font-size: 12px; letter-spacing: .02em; flex: none; }
.h-eroe h1 { font-size: clamp(46px, 6.4vw, 84px); font-weight: 800; margin: 26px 0 0; line-height: .98; letter-spacing: -0.035em; color: #fff; }
.h-evid { position: relative; color: var(--ambra); white-space: nowrap; }
.h-evid svg { position: absolute; left: -2%; bottom: -.16em; width: 104%; height: .32em; overflow: visible; }
.h-evid path { stroke: var(--ambra); stroke-width: 5; fill: none; stroke-linecap: round; stroke-dasharray: 400; stroke-dashoffset: 400; animation: h-traccia 1.4s .5s cubic-bezier(.65,0,.35,1) forwards; }
@keyframes h-traccia { to { stroke-dashoffset: 0; } }
.h-sotto { font-size: 20px; line-height: 1.6; color: #c7d2f2; max-width: 31em; margin: 26px 0 34px; }
.h-cta { display: flex; flex-wrap: wrap; gap: 12px; }
.h-garanzie { display: flex; flex-wrap: wrap; gap: 10px 22px; margin: 30px 0 0; padding: 0; list-style: none; color: #b7c4ea; font-size: 15px; font-weight: 600; }
.h-garanzie li { display: flex; align-items: center; gap: 8px; }
.h-garanzie svg { width: 18px; height: 18px; color: #4be3ad; flex: none; }

.h-scena { position: relative; height: 560px; }
.h-tel { position: absolute; width: 228px; aspect-ratio: 9 / 19.3; padding: 8px; border-radius: 38px; background: linear-gradient(160deg, #2a3557, #0b1226); box-shadow: 0 0 0 1px rgba(255,255,255,.14) inset, 0 40px 80px -24px rgba(0,0,0,.8); }
.h-tel img { width: 100%; height: 100%; object-fit: cover; object-position: top; border-radius: 30px; }
.h-tel::before { content: ""; position: absolute; top: 15px; left: 50%; width: 64px; height: 18px; margin-left: -32px; border-radius: 12px; background: #050913; z-index: 2; }
.h-tel.h-a { left: 0; top: 74px; transform: rotate(-8deg); }
.h-tel.h-b { left: 29%; top: 0; width: 248px; z-index: 3; }
.h-tel.h-c { right: 0; top: 92px; transform: rotate(7deg); }
.h-bolla { position: absolute; z-index: 4; display: flex; align-items: center; gap: 11px; padding: 11px 15px 11px 11px; border-radius: 16px; background: rgba(255,255,255,.93); color: var(--navy); box-shadow: 0 18px 40px -16px rgba(0,0,0,.6); backdrop-filter: blur(10px); font: 600 14px/1.25 var(--corpo); animation: h-galleggia 6s ease-in-out infinite; }
.h-bolla small { display: block; color: #5d6a86; font-weight: 600; font-size: 12px; }
.h-bolla .h-ic { width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; font-size: 17px; flex: none; }
.h-u1 { left: -4%; top: 18px; } .h-u2 { right: -2%; top: 300px; animation-delay: -2s; } .h-u3 { left: 6%; bottom: 10px; animation-delay: -4s; }
@keyframes h-galleggia { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-9px); } }

.h-fascia { background: var(--h-notte); border-top: 1px solid rgba(255,255,255,.07); }
.h-fascia .wrap { display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 14px 34px; padding-block: 26px; font: 600 15px/1 var(--corpo); color: #8d9cc4; }
.h-fascia span { display: flex; align-items: center; gap: 10px; color: #dfe6ff; }
.h-fascia span::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--ambra); }

/* ---------- sezioni ---------- */
.h-sez { padding: 110px 0; position: relative; }
.h-sez.h-stretta-sopra { padding-top: 20px; }
.h-testa { max-width: 700px; margin-bottom: 52px; }
.h-testa.h-centro { margin-inline: auto; text-align: center; }
.h-etichetta { display: inline-flex; align-items: center; gap: 10px; font: 700 13px/1 var(--corpo); letter-spacing: .12em; text-transform: uppercase; color: var(--h-blu); }
.h-etichetta::before { content: ""; width: 22px; height: 2px; border-radius: 2px; background: currentColor; }
.h-testa h2 { font-size: clamp(34px, 4.2vw, 54px); font-weight: 800; margin: 16px 0; }
.h-testa p { margin: 0; font-size: 19px; color: var(--h-testo-2); }

/* mosaico dell'ecosistema */
.h-bento { display: grid; grid-template-columns: repeat(6, 1fr); grid-auto-rows: minmax(140px, auto); gap: 18px; }
.h-box { position: relative; overflow: hidden; border-radius: var(--h-r-lg); background: var(--surface); border: 1px solid var(--linea); box-shadow: var(--h-ombra); padding: 30px; display: flex; flex-direction: column; gap: 12px; transition: transform .35s cubic-bezier(.2,.8,.2,1), box-shadow .35s; }
.h-box:hover { transform: translateY(-4px); box-shadow: var(--h-ombra-lg); }
.h-box h3 { font-size: 26px; font-weight: 800; }
.h-box p { margin: 0; color: var(--h-testo-2); font-size: 16.5px; }
.h-stato { align-self: flex-start; display: inline-flex; align-items: center; gap: 7px; padding: 6px 11px; border-radius: 999px; font: 700 12.5px/1 var(--corpo); }
.h-stato::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: currentColor; box-shadow: 0 0 0 3px color-mix(in srgb, currentColor 22%, transparent); }
.h-ok { color: var(--h-ok); background: var(--h-ok-bg); }
.h-dev { color: var(--h-dev); background: var(--h-dev-bg); }
.h-poi { color: var(--h-poi); background: var(--h-poi-bg); }
.h-link { margin-top: auto; font-weight: 700; text-decoration: none; display: inline-flex; gap: 6px; align-items: center; }

.h-app { grid-column: span 4; grid-row: span 2; background: linear-gradient(140deg, var(--navy) 0%, var(--h-navy-3) 100%); color: #fff; border: 0; padding: 38px; }
.h-app::after { content: ""; position: absolute; inset: 0; background-image: var(--h-grana); opacity: .06; pointer-events: none; }
.h-app h3 { color: #fff; font-size: 34px; }
.h-app p { color: #c9d4f4; max-width: 25em; font-size: 17.5px; }
.h-app ul { list-style: none; padding: 0; margin: 6px 0 0; display: grid; gap: 9px; color: #dfe6ff; font-size: 16px; }
.h-app li { display: flex; gap: 10px; align-items: center; }
.h-app li svg { width: 18px; height: 18px; color: #4be3ad; flex: none; }
.h-app .h-azioni { display: flex; gap: 10px; flex-wrap: wrap; margin-top: auto; padding-top: 18px; }
.h-app .h-stato { background: rgba(75,227,173,.14); color: #4be3ad; }
.h-contenuto { position: relative; z-index: 1; display: flex; flex-direction: column; gap: 12px; height: 100%; max-width: 58%; }
.h-anteprima { position: absolute; right: -30px; bottom: -120px; width: 300px; transform: rotate(-6deg); }
.h-anteprima .h-tel { position: relative; width: 100%; }

.h-racc-box { grid-column: span 2; background: linear-gradient(170deg, #fff6ef 0%, var(--surface) 55%); }
.h-racc-box .h-logo { width: 54px; height: 54px; border-radius: 15px; box-shadow: 0 8px 20px -10px rgba(247,103,7,.8); }
.h-numeri { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin: 6px 0 4px; }
.h-numeri div { padding: 12px 8px; border-radius: 14px; background: #fff; border: 1px solid #fde1cc; text-align: center; }
.h-numeri b { display: block; font: 800 24px/1 var(--display); color: var(--h-racc); }
.h-numeri small { font-size: 12.5px; color: var(--muto); font-weight: 600; }
@media (prefers-color-scheme: dark) { :root:not([data-tema="chiaro"]) .h-racc-box { background: linear-gradient(170deg, #2a1708 0%, var(--surface) 60%); } :root:not([data-tema="chiaro"]) .h-numeri div { background: var(--surface-2); border-color: transparent; } }
:root[data-tema="scuro"] .h-racc-box { background: linear-gradient(170deg, #2a1708 0%, var(--surface) 60%); }
:root[data-tema="scuro"] .h-numeri div { background: var(--surface-2); border-color: transparent; }

.h-ai { grid-column: span 2; }
.h-ai::before { content: ""; position: absolute; inset: -1px; border-radius: inherit; padding: 1.5px; background: conic-gradient(from var(--h-ang, 0deg), var(--h-blu), var(--verde), var(--ambra), var(--arancio), var(--h-blu)); -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude; animation: h-gira 8s linear infinite; pointer-events: none; }
@property --h-ang { syntax: "<angle>"; inherits: false; initial-value: 0deg; }
@keyframes h-gira { to { --h-ang: 360deg; } }
.h-ico { width: 46px; height: 46px; border-radius: 13px; display: grid; place-items: center; background: var(--surface-2); color: var(--h-blu); }
.h-ico svg { width: 24px; height: 24px; }
.h-mini { grid-column: span 2; }
.h-mini h3 { font-size: 21px; }

/* dentro l'app: schede che cambiano lo schermo */
.h-dentro { background: var(--surface); border-block: 1px solid var(--linea); }
.h-dentro .h-griglia { display: grid; grid-template-columns: 1fr 420px; gap: 64px; align-items: center; }
.h-schede { display: grid; gap: 8px; }
.h-scheda { display: grid; grid-template-columns: 44px 1fr; gap: 4px 16px; align-items: start; text-align: left; width: 100%; padding: 18px 20px; border-radius: 18px; border: 1px solid transparent; background: transparent; cursor: pointer; font: inherit; color: inherit; transition: background .25s, border-color .25s; }
.h-scheda:hover { background: var(--surface-2); }
.h-scheda[aria-selected="true"] { background: var(--bg); border-color: var(--linea); box-shadow: var(--h-ombra); }
.h-scheda:focus-visible { outline: none; box-shadow: var(--h-anello); }
.h-n { grid-row: span 2; width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; font-size: 20px; background: var(--surface-2); }
.h-scheda[aria-selected="true"] .h-n { background: var(--h-blu); }
.h-scheda b { font: 800 19px/1.3 var(--display); letter-spacing: -0.01em; }
.h-d { color: var(--muto); font-size: 15.5px; display: none; }
.h-scheda[aria-selected="true"] .h-d { display: block; }
.h-palco { position: relative; display: grid; place-items: center; }
.h-palco::before { content: ""; position: absolute; width: 380px; height: 380px; border-radius: 50%; background: radial-gradient(circle, rgba(53,84,245,.22), transparent 70%); filter: blur(10px); }
.h-palco .h-tel { position: relative; width: 290px; }
.h-palco img { transition: opacity .35s; }
.h-palco img.h-via { opacity: 0; }

/* privacy */
.h-privacy { background: var(--h-notte); color: #fff; overflow: hidden; isolation: isolate; }
.h-privacy::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(700px 400px at 85% 10%, rgba(15,175,122,.25), transparent 65%), radial-gradient(600px 400px at 0% 100%, rgba(53,84,245,.25), transparent 65%); }
.h-privacy h2 { color: #fff; }
.h-privacy .h-testa p { color: #c7d2f2; }
.h-privacy .h-etichetta { color: #4be3ad; }
.h-pilastri { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.h-pilastro { padding: 30px; border-radius: var(--h-r-lg); background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.1); }
.h-pilastro .h-ico { width: 48px; height: 48px; border-radius: 14px; background: rgba(75,227,173,.12); color: #4be3ad; margin-bottom: 18px; }
.h-pilastro h3 { font-size: 22px; color: #fff; margin-bottom: 8px; }
.h-pilastro p { margin: 0; color: #b7c4ea; font-size: 16px; }

/* raccoglitore */
.h-racc { background: linear-gradient(180deg, color-mix(in srgb, var(--h-racc) 7%, var(--bg)), var(--bg)); }
.h-racc .h-griglia { display: grid; grid-template-columns: .9fr 1.1fr; gap: 64px; align-items: center; }
.h-racc .h-etichetta { color: var(--h-racc); }
.h-livelli { display: grid; gap: 10px; margin: 26px 0 30px; }
.h-livello { display: flex; align-items: center; gap: 14px; padding: 12px 16px; border-radius: 14px; background: var(--surface); border: 1px solid var(--linea); }
.h-em { width: 38px; height: 38px; border-radius: 11px; display: grid; place-items: center; font-size: 20px; flex: none; }
.h-livello b { font-family: var(--display); font-size: 17px; }
.h-livello small { display: block; color: var(--muto); font-size: 14px; }
.h-num { margin-left: auto; font: 800 14px/1 var(--display); color: var(--muto); }
.h-cornice { position: relative; }
.h-finestra { border-radius: 16px; overflow: hidden; background: var(--surface); border: 1px solid var(--linea); box-shadow: var(--h-ombra-lg); }
.h-barra { display: flex; align-items: center; gap: 7px; padding: 11px 14px; background: var(--surface-2); border-bottom: 1px solid var(--linea); }
.h-barra i { width: 11px; height: 11px; border-radius: 50%; }
.h-barra i:nth-child(1) { background: #ff6159; } .h-barra i:nth-child(2) { background: #ffbd2e; } .h-barra i:nth-child(3) { background: #28c941; }
.h-indirizzo { margin-left: 12px; flex: 1; max-width: 300px; padding: 5px 12px; border-radius: 8px; background: var(--surface); color: var(--muto); font-size: 13px; }
.h-mobile { position: absolute; right: -18px; bottom: -36px; width: 140px; height: 290px; border-radius: 24px; overflow: hidden; border: 6px solid #0b1226; box-shadow: var(--h-ombra-lg); background: #fff; }
.h-mobile img { width: 100%; height: 100%; object-fit: cover; object-position: top; }

/* video, roadmap, principi */
.h-video { max-width: 980px; margin: 0 auto; }
.h-video .video-wrap { border-radius: var(--h-r-xl); overflow: hidden; box-shadow: var(--h-ombra-lg); }
.h-video .trascrizione { max-width: 980px; margin: 18px auto 0; }

/* come si inizia */
.h-percorso { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; counter-reset: h-passo; }
.h-passo { position: relative; padding: 26px; border-radius: var(--h-r-lg); background: var(--surface); border: 1px solid var(--linea); }
.h-passo::before { counter-increment: h-passo; content: "0" counter(h-passo); display: block; font: 800 15px/1 var(--display); color: var(--muto); margin-bottom: 16px; letter-spacing: .04em; }
.h-passo h3 { font-size: 20px; margin: 12px 0 8px; font-weight: 800; }
.h-passo p { margin: 0; color: var(--h-testo-2); font-size: 15.5px; }

/* domande */
.h-faq { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; align-items: start; }
.h-faq details { background: var(--surface); border: 1px solid var(--linea); border-radius: 18px; padding: 4px 22px; transition: box-shadow .25s; }
.h-faq details[open] { box-shadow: var(--h-ombra); }
.h-faq summary { list-style: none; cursor: pointer; padding: 18px 0; font: 700 17.5px/1.35 var(--corpo); display: flex; justify-content: space-between; gap: 16px; align-items: center; }
.h-faq summary::-webkit-details-marker { display: none; }
.h-faq summary::after { content: "+"; width: 30px; height: 30px; flex: none; display: grid; place-items: center; border-radius: 50%; background: var(--surface-2); font: 600 20px/1 var(--corpo); color: var(--h-blu); transition: transform .25s; }
.h-faq details[open] summary::after { transform: rotate(45deg); }
.h-faq details p { margin: 0 0 20px; color: var(--h-testo-2); font-size: 16px; }

/* chiusura */
.h-finale { padding: 40px 0 110px; }
.h-banda { position: relative; overflow: hidden; isolation: isolate; border-radius: var(--h-r-xl); background: var(--h-notte); color: #fff; padding: 64px; display: grid; grid-template-columns: 1.3fr 1fr; gap: 30px; align-items: center; }
.h-banda .h-strisce { top: -40%; right: -14%; width: 46%; height: 200%; opacity: .9; gap: 18px; }
.h-banda .h-velo { background: linear-gradient(90deg, var(--h-notte) 48%, rgba(6,15,36,.55) 66%, rgba(6,15,36,0) 86%); }
.h-banda h2 { font-size: clamp(32px, 3.8vw, 48px); font-weight: 800; color: #fff; }
.h-banda p { margin: 14px 0 0; color: #c7d2f2; font-size: 18px; }
.h-banda .h-cta { justify-content: flex-end; }

/* comparsa allo scorrimento (solo se JavaScript è attivo: classe "js" su <html>) */
.js .h-appare { opacity: 0; transform: translateY(22px); transition: opacity .8s cubic-bezier(.2,.8,.2,1), transform .8s cubic-bezier(.2,.8,.2,1); }
.js .h-appare.h-visto { opacity: 1; transform: none; }
.h-r1 { transition-delay: .08s !important; } .h-r2 { transition-delay: .16s !important; } .h-r3 { transition-delay: .24s !important; }
@media (prefers-reduced-motion: reduce) {
  .h-bolla, .h-ai::before { animation: none; }
  .h-evid path { animation: none; stroke-dashoffset: 0; }
  .js .h-appare { opacity: 1; transform: none; transition: none; }
  .h-box, .h-scheda, .h-palco img { transition: none; }
}

/* ---------- tablet e telefono ---------- */
@media (max-width: 1080px) {
  .h-eroe .wrap, .h-dentro .h-griglia, .h-racc .h-griglia { grid-template-columns: 1fr; }
  .h-scena { height: 500px; max-width: 560px; margin: 10px auto 0; width: 100%; }
  .h-bento { grid-template-columns: repeat(2, 1fr); }
  .h-app, .h-racc-box, .h-ai, .h-mini { grid-column: span 2; grid-row: auto; }
  .h-contenuto { max-width: 100%; }
  .h-anteprima { display: none; }
  .h-palco { order: -1; }
  .h-percorso, .h-pilastri { grid-template-columns: repeat(2, 1fr); }
  .h-banda { grid-template-columns: 1fr; padding: 44px 32px; }
  .h-banda .h-cta { justify-content: flex-start; }
}
@media (max-width: 640px) {
  .h-eroe { padding: 56px 0 60px; }
  .h-strisce { width: 90%; right: -40%; opacity: .55; }
  .h-velo { background: linear-gradient(180deg, rgba(6,15,36,.5), var(--h-notte) 60%); }
  .h-eroe h1 { font-size: 44px; }
  .h-sotto { font-size: 18px; }
  .h-cta .btn { flex: 1 1 100%; }
  .h-scena { height: 420px; }
  .h-tel { width: 168px; } .h-tel.h-b { width: 186px; left: 26%; } .h-tel.h-c { right: -4%; } .h-tel.h-a { left: -4%; }
  .h-bolla { font-size: 13px; padding: 9px 12px 9px 9px; } .h-bolla .h-ic { width: 28px; height: 28px; }
  .h-u2 { top: 250px; } .h-u3 { display: none; }
  .h-sez { padding: 76px 0; }
  .h-testa { margin-bottom: 36px; }
  .h-box, .h-app { padding: 26px; }
  .h-percorso, .h-pilastri, .h-faq { grid-template-columns: 1fr; }
  .h-mobile { width: 104px; height: 210px; right: -6px; bottom: -28px; }
  .h-palco .h-tel { width: 240px; }
}
@media (max-width: 420px) {
  .h-eroe h1 { font-size: 40px; }
  .h-occhiello { font-size: 13px; }
}
