/* index2 — nuova home con struttura ispirata a Uber: richiesta a sinistra, mosaico illustrato a destra,
   fasce trasparenti (vetro smerigliato) sulle immagini. Solo per index2.html: styles.css resta invariato. */
.h2{--h2-soft:#f2f7fd;--h2-line:#d7e1ec;--h2-muted:#5d6f88;--h2-blue:#0b4f9e}
.h2 h1,.h2 h2{font-family:"Segoe UI Variable Display","Segoe UI",system-ui,sans-serif;letter-spacing:-.035em;color:var(--ink)}

/* HERO */
.h2-hero{display:grid;grid-template-columns:minmax(0,.92fr) minmax(0,1.08fr);gap:64px;align-items:center;padding-block:48px 56px}
.h2-eyebrow{display:flex;align-items:center;gap:8px;margin:0 0 14px;font-size:.875rem;font-weight:700;color:var(--ink)}
.h2-eyebrow .icon{width:16px;height:16px}
.h2-hero h1{font-size:clamp(2.6rem,5vw,4.1rem);line-height:1.02;margin:0 0 10px}
.h2-sub{margin:0 0 24px;font-size:1.2rem;color:var(--h2-muted)}
.h2-form{max-width:480px}
.h2-device{position:relative;display:inline-flex;align-items:center;gap:8px;padding:0 14px 0 16px;height:44px;border-radius:999px;background:var(--h2-soft);border:1px solid var(--h2-line);color:var(--ink)}
.h2-device .icon{width:18px;height:18px;flex-shrink:0}
.h2-device select{appearance:none;border:0;background:transparent;font:inherit;font-weight:700;font-size:.9375rem;color:var(--ink);padding:0 22px 0 0;cursor:pointer;outline:none}
.h2-device .h2-chev{position:absolute;right:12px;pointer-events:none;width:16px;height:16px}
.h2-device:focus-within{border-color:var(--ink);box-shadow:0 0 0 3px rgb(11 79 158 / 15%)}
.h2-device.is-set{background:#e5f1ff;border-color:#9cc3ef}
.h2-fields{position:relative;display:grid;gap:10px;margin-top:14px}
.h2-fields::before{content:"";position:absolute;left:22px;top:28px;bottom:28px;width:2px;background:var(--ink);z-index:1}
.h2-field{position:relative;display:flex;align-items:center;gap:14px;height:56px;padding:0 8px 0 16px;border-radius:10px;background:#f1f4f8;border:2px solid transparent}
.h2-field:focus-within{border-color:var(--ink);background:#fff}
.h2-field input{flex:1;min-width:0;height:100%;border:0;outline:0;background:transparent;font:inherit;font-size:1rem;color:var(--ink)}
.h2-mark{position:relative;z-index:2;flex-shrink:0;width:14px;height:14px;background:var(--ink)}
.h2-dot{border-radius:50%}
.h2-sq{border-radius:2px}
.h2-geo{display:grid;place-items:center;width:40px;height:40px;border:0;border-radius:8px;background:transparent;color:var(--h2-blue);cursor:pointer}
.h2-geo:hover,.h2-geo:focus-visible{background:#e5f1ff;outline:none}
.h2-geo:disabled{opacity:.5;cursor:wait}
.h2-geo .icon{width:20px;height:20px}
.h2-geo-status{margin:8px 0 0;font-size:.875rem;color:var(--h2-muted)}
.h2-geo-status:empty{display:none}
.h2-actions{display:flex;flex-wrap:wrap;align-items:center;gap:14px 22px;margin-top:18px}
.h2-go{gap:10px;padding-inline:24px;min-height:52px;border-radius:10px}
.h2-go .icon{width:18px;height:18px}
.h2-link{border:0;background:none;padding:0;font:inherit;font-size:.9375rem;color:var(--ink);text-decoration:underline;text-underline-offset:4px;text-decoration-color:#9fb1c8;cursor:pointer}
.h2-reassure{list-style:none;display:flex;flex-wrap:wrap;gap:8px 18px;margin:22px 0 0;padding:0;font-size:.8125rem;color:var(--h2-muted)}
.h2-reassure li{display:inline-flex;align-items:center;gap:6px}
.h2-reassure .icon{width:15px;height:15px;color:#16a765}

/* Mosaico */
.h2-mosaic{display:grid;grid-template-columns:1fr 1fr;grid-template-rows:200px 170px 210px;gap:12px}
.h2-tile{position:relative;overflow:hidden;border-radius:14px}
.h2-tile>img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}
.h2-t1{background:linear-gradient(160deg,#e9f2ff,#d6e7ff)}
.h2-t2{grid-row:span 2;background:linear-gradient(160deg,#f3f7fc,#e2ecf7)}
.h2-t3{background:linear-gradient(160deg,#eef8f2,#dcefe4)}
.h2-t3>img{object-fit:contain;padding:12px}
.h2-t5{grid-column:span 2;background:linear-gradient(120deg,#e6eef8,#cfdff1)}
.h2-box32{position:absolute;left:50%;top:50%;width:94%;aspect-ratio:3/2;transform:translate(-50%,-50%);container-type:inline-size}
.h2-box32 img{display:block;width:100%;height:100%;object-fit:contain}
.h2-lm{position:absolute;left:50%;top:26%;transform:translate(-50%,-50%);color:#fff;font-weight:700;font-size:5.4cqw;white-space:nowrap}
.h2-lm sup,.h2-glass sup,.h2-steps sup{font-size:.55em}
.h2-van{position:absolute;left:50%;top:8px;width:min(76%,420px);aspect-ratio:2/1;transform:translateX(-50%)}
.h2-van img{display:block;width:100%;height:100%;object-fit:contain}
.h2-van .h2-van-logo{position:absolute;left:21.6%;top:44%;width:21%;height:auto;filter:brightness(0) invert(1)}

/* Fascia trasparente sulle immagini (come “Ready to travel? · Schedule ahead”) */
.h2-glass{position:absolute;left:12px;right:12px;bottom:12px;display:flex;align-items:center;justify-content:space-between;gap:14px;padding:12px 12px 12px 20px;border-radius:12px;
  background:rgb(8 43 89 / 46%);backdrop-filter:blur(14px) saturate(140%);-webkit-backdrop-filter:blur(14px) saturate(140%);color:#fff;box-shadow:inset 0 0 0 1px rgb(255 255 255 / 22%)}
.h2-glass b{font-size:1.0625rem}
.h2-glass small{display:block;font-size:.8125rem;opacity:.88}
.h2-glass a{flex-shrink:0;padding:11px 18px;border-radius:999px;background:#fff;color:var(--ink);font-weight:700;font-size:.875rem;text-decoration:none;white-space:nowrap}
.h2-glass a:hover{background:#e5f1ff}
@supports not ((backdrop-filter:blur(1px)) or (-webkit-backdrop-filter:blur(1px))){.h2-glass{background:rgb(8 43 89 / 86%)}}

/* Blocchi sotto */
.h2-block{padding-block:36px}
.h2-block h2{font-size:clamp(1.7rem,3vw,2.4rem);margin:0 0 20px}
.h2-cards{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px}
.h2-card{display:grid;grid-template-columns:1fr auto;gap:6px 12px;padding:18px 18px 18px 20px;border-radius:14px;background:var(--h2-soft);color:var(--ink);text-decoration:none;transition:box-shadow .2s,transform .2s}
.h2-card:hover{box-shadow:0 10px 24px rgb(8 43 89 / 10%);transform:translateY(-2px)}
.h2-card strong{font-size:1.125rem}
.h2-card span{font-size:.875rem;color:var(--h2-muted);line-height:1.45}
.h2-card em{justify-self:start;margin-top:6px;padding:6px 14px;border-radius:999px;background:#fff;font-style:normal;font-size:.8125rem;font-weight:700}
.h2-card i,.h2-app i{grid-row:1/4;grid-column:2;align-self:center;display:grid;place-items:center;width:72px;height:72px;border-radius:18px;background:var(--ink)}
.h2-card i svg,.h2-app i svg{width:38px;height:38px;fill:none;stroke:#fff;stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round}

.h2-how{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:56px;align-items:center}
.h2-steps{list-style:none;margin:0;padding:0}
.h2-steps li{display:grid;grid-template-columns:44px 1fr;gap:14px;padding:14px 0;border-bottom:1px solid var(--h2-line)}
.h2-steps li>span{display:grid;place-items:center;width:36px;height:36px;border-radius:50%;background:var(--ink);color:#fff;font-weight:700}
.h2-steps strong{display:block;font-size:1.0625rem;color:var(--ink);margin-bottom:4px}
.h2-steps p{margin:0;color:var(--h2-muted);font-size:.9375rem;line-height:1.5}
.h2-steps a{color:var(--h2-blue)}
.h2-how-art{position:relative;height:420px;border-radius:18px;overflow:hidden;background:linear-gradient(160deg,#eef4fb,#dae7f6)}
.h2-how-art img{position:absolute;inset:0;width:100%;height:100%;object-fit:contain;padding:30px 30px 90px}

.h2-duo{display:grid;grid-template-columns:1fr 1fr;gap:20px}
.h2-big{position:relative;height:320px;border-radius:18px;overflow:hidden;background:linear-gradient(140deg,#e6eef8,#cfdff1)}
.h2-van-big{top:36px;width:min(80%,520px)}
.h2-big-dark{background:radial-gradient(circle at 70% 30%,#1a56a3,#082b59 60%)}
.h2-shield{position:absolute;left:50%;top:40%;transform:translate(-50%,-50%);width:130px;height:130px;fill:none;stroke:#fff;stroke-width:1.2;stroke-linecap:round;stroke-linejoin:round}

.h2-apps{display:grid;grid-template-columns:1fr 1fr;gap:20px}
.h2-app{display:flex;align-items:center;gap:18px;padding:20px 22px;border:1px solid var(--h2-line);border-radius:14px;background:#fff;color:var(--ink);text-decoration:none;font:inherit;text-align:left;cursor:pointer;transition:box-shadow .2s}
.h2-app:hover{box-shadow:0 10px 24px rgb(8 43 89 / 10%)}
.h2-app i{grid-row:auto;grid-column:auto;width:60px;height:60px;border-radius:16px;flex-shrink:0}
.h2-app i svg{width:30px;height:30px}
.h2-app strong{display:block;font-size:1.125rem}
.h2-app span span{color:var(--h2-muted);font-size:.875rem}
.h2-app-go{margin-left:auto;width:24px;height:24px}

@media(prefers-reduced-motion:reduce){.h2-card,.h2-app{transition:none}.h2-card:hover{transform:none}}
@media(max-width:1060px){.h2-cards{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:900px){
  .h2-hero{grid-template-columns:1fr;gap:28px;padding-block:28px 32px}
  .h2-form{max-width:none}
  .h2-mosaic{grid-template-rows:150px 130px 180px}
  .h2-how,.h2-duo,.h2-apps{grid-template-columns:1fr}
  .h2-how{gap:24px}
  .h2-how-art{height:320px}
}
@media(max-width:560px){
  .h2-cards{grid-template-columns:1fr}
  .h2-mosaic{grid-template-rows:120px 110px 170px;gap:8px}
  .h2-glass{flex-direction:column;align-items:stretch;padding:12px;gap:10px}
  .h2-glass a{text-align:center}
  .h2-big{height:300px}
  .h2-actions .h2-go{width:100%;justify-content:center}
}

/* Versione con un solo campo: pill "Assistenza gratuita in chat" e pulsante "Invia" (9 ottobre) */
.h2-badge{display:inline-flex;align-items:center;gap:9px;margin:0;padding:9px 16px 9px 14px;border-radius:999px;background:#edf9f2;border:1px solid #bfe8d0;color:#0f5132;font-weight:700;font-size:.9375rem}
.h2-badge .icon{width:18px;height:18px}
.h2-live{width:8px;height:8px;border-radius:50%;background:#16a765;box-shadow:0 0 0 0 rgb(22 167 101 / 50%)}
@media(prefers-reduced-motion:no-preference){.h2-live{animation:h2-live 1.8s ease-out 3}}
@keyframes h2-live{0%{box-shadow:0 0 0 0 rgb(22 167 101 / 55%)}100%{box-shadow:0 0 0 9px rgb(22 167 101 / 0)}}
.h2-fields-one::before{display:none}
.h2-fields-one .h2-field{height:60px;padding-right:16px;background:#fff;border-color:#c9d6e5}
.h2-fields-one .h2-field:focus-within{border-color:var(--ink);box-shadow:0 0 0 4px rgb(11 79 158 / 12%)}

/* Mosaico: terzo riquadro "Scegli il tuo tecnico" e percorso animato 1 → LabMatch™ → 3 (9 ottobre).
   Le righe sono variabili, così le frecce cadono sempre a metà della riga giusta. */
.h2-mosaic{position:relative;--r1:200px;--r2:170px;--r3:210px;--g:12px;grid-template-rows:var(--r1) var(--r2) var(--r3);gap:var(--g)}
.h2-t3{background:linear-gradient(160deg,#eef8f2,#dcefe4)}
.h2-t3>img{object-fit:contain;padding:6px}
.h2-flow{position:absolute;left:50%;z-index:3;display:grid;place-items:center;width:46px;height:46px;margin:-23px 0 0 -23px;border-radius:50%;background:#fff;color:var(--ink);box-shadow:0 8px 18px rgb(8 43 89 / 22%),0 0 0 4px rgb(255 255 255 / 55%)}
.h2-flow .icon{width:22px;height:22px}
.h2-flow-1{top:calc(var(--r1) / 2)}
.h2-flow-2{top:calc(var(--r1) + var(--g) + var(--r2) / 2)}
.h2-flow-2 .icon{transform:rotate(180deg)}
/* Stato iniziale solo quando l'animazione è attiva (home2.js aggiunge .is-anim): senza JS o con "riduci movimento" tutto è già visibile */
.h2-mosaic.is-anim .h2-flow{opacity:0;transform:scale(.3)}
.h2-mosaic.is-anim.is-play .h2-t1{animation:h2-ring .7s ease-out 0s both}
.h2-mosaic.is-anim.is-play .h2-flow-1{animation:h2-pop .4s cubic-bezier(.34,1.56,.64,1) .6s both}
.h2-mosaic.is-anim.is-play .h2-flow-1 .icon{animation:h2-nudge .45s ease-in-out 1s both}
.h2-mosaic.is-anim.is-play .h2-t2{animation:h2-blink .9s linear 1.35s both}
.h2-mosaic.is-anim.is-play .h2-flow-2{animation:h2-pop .4s cubic-bezier(.34,1.56,.64,1) 2.3s both}
.h2-mosaic.is-anim.is-play .h2-flow-2 .icon{animation:h2-nudge-back .45s ease-in-out 2.7s both}
.h2-mosaic.is-anim.is-play .h2-t3{animation:h2-ring-green .8s ease-out 3s both}
@keyframes h2-pop{from{opacity:0;transform:scale(.3)}to{opacity:1;transform:none}}
@keyframes h2-nudge{0%,100%{transform:none}50%{transform:translateX(5px)}}
@keyframes h2-nudge-back{0%,100%{transform:rotate(180deg)}50%{transform:rotate(180deg) translateX(5px)}}
@keyframes h2-ring{0%{box-shadow:inset 0 0 0 0 rgb(47 140 255 / 0)}40%{box-shadow:inset 0 0 0 4px rgb(47 140 255 / 85%)}100%{box-shadow:inset 0 0 0 0 rgb(47 140 255 / 0)}}
@keyframes h2-ring-green{0%{box-shadow:inset 0 0 0 0 rgb(22 167 101 / 0)}40%{box-shadow:inset 0 0 0 4px rgb(22 167 101 / 90%)}100%{box-shadow:inset 0 0 0 0 rgb(22 167 101 / 0)}}
/* LabMatch™: bordo verde che lampeggia tre volte, poi resta acceso */
@keyframes h2-blink{
  0%{box-shadow:inset 0 0 0 0 rgb(22 167 101 / 0)}
  1%,16%{box-shadow:inset 0 0 0 4px rgb(22 167 101 / 95%)} 17%,33%{box-shadow:inset 0 0 0 0 rgb(22 167 101 / 0)}
  34%,50%{box-shadow:inset 0 0 0 4px rgb(22 167 101 / 95%)} 51%,66%{box-shadow:inset 0 0 0 0 rgb(22 167 101 / 0)}
  67%,100%{box-shadow:inset 0 0 0 4px rgb(22 167 101 / 95%)}}
@media(max-width:900px){.h2-mosaic{--r1:150px;--r2:130px;--r3:180px}}
@media(max-width:560px){.h2-mosaic{--r1:120px;--r2:110px;--r3:170px;--g:8px}.h2-flow{width:36px;height:36px;margin:-18px 0 0 -18px}.h2-flow .icon{width:18px;height:18px}}

/* Primo riquadro: il personaggio è di spalle, l'ansia si legge con segni da fumetto (9 ottobre) */
.h2-worry{position:absolute;inset:0;pointer-events:none;container-type:inline-size}
.h2-oh{position:absolute;left:5%;top:7%;padding:.45em .8em;border-radius:1em;background:#fff;color:var(--ink);font-weight:800;font-size:clamp(11px,5.2cqw,17px);letter-spacing:-.01em;box-shadow:0 6px 14px rgb(8 43 89 / 16%)}
.h2-oh::after{content:"";position:absolute;right:16%;bottom:-.45em;width:.9em;height:.9em;background:#fff;transform:rotate(45deg);border-radius:2px}
.h2-marks{position:absolute;left:35%;top:1%;font-weight:900;font-size:clamp(14px,7cqw,24px);color:#e5484d;transform:rotate(-8deg);text-shadow:0 2px 0 #fff}
.h2-sweat{position:absolute;left:47%;top:20%;width:5.5%;min-width:11px;filter:drop-shadow(0 2px 3px rgb(8 43 89 / 25%))}
@media(prefers-reduced-motion:no-preference){
  .h2-mosaic.is-anim .h2-oh,.h2-mosaic.is-anim .h2-marks,.h2-mosaic.is-anim .h2-sweat{opacity:0}
  .h2-mosaic.is-anim.is-play .h2-t1>img{animation:h2-nervous .5s ease-in-out .05s both}
  .h2-mosaic.is-anim.is-play .h2-oh{animation:h2-bubble .4s cubic-bezier(.34,1.56,.64,1) .1s both}
  .h2-mosaic.is-anim.is-play .h2-marks{animation:h2-bubble .35s cubic-bezier(.34,1.56,.64,1) .25s both}
  .h2-mosaic.is-anim.is-play .h2-sweat{animation:h2-sweat .7s ease-out .3s both}
}
@keyframes h2-nervous{0%,100%{transform:none}15%{transform:translateX(-2px) rotate(-.6deg)}30%{transform:translateX(2px) rotate(.6deg)}45%{transform:translateX(-2px) rotate(-.4deg)}60%{transform:translateX(1px)}}
@keyframes h2-bubble{from{opacity:0;transform:translateY(6px) scale(.6)}to{opacity:1;transform:none}}
@keyframes h2-sweat{0%{opacity:0;transform:translateY(-6px) scale(.6)}40%{opacity:1;transform:none}100%{opacity:1;transform:translateY(3px)}}

/* Telefono: la fascia va su due righe, il riquadro del furgone si allunga per non coprirlo */
@media(max-width:560px){.h2-mosaic{--r3:260px}.h2-t5 .h2-van{width:min(80%,320px)}}

/* Sequenza più lenta (9 ottobre, sostituisce i tempi sopra): rosso sul problema ~2,5 s → blu Computer Lab su LabMatch™ ~2 s
   → verde su "Scegli il tuo tecnico", che resta acceso. Gli altri due bordi si spengono. */
.h2-mosaic.is-anim.is-play .h2-t1{animation:h2-red 2.9s ease both}
.h2-mosaic.is-anim.is-play .h2-flow-1{animation:h2-pop .4s cubic-bezier(.34,1.56,.64,1) 2.7s both}
.h2-mosaic.is-anim.is-play .h2-flow-1 .icon{animation:h2-nudge .45s ease-in-out 3.1s both}
.h2-mosaic.is-anim.is-play .h2-t2{animation:h2-blue 2.3s ease 3s both}
.h2-mosaic.is-anim.is-play .h2-flow-2{animation:h2-pop .4s cubic-bezier(.34,1.56,.64,1) 5s both}
.h2-mosaic.is-anim.is-play .h2-flow-2 .icon{animation:h2-nudge-back .45s ease-in-out 5.4s both}
.h2-mosaic.is-anim.is-play .h2-t3{animation:h2-green .5s ease 5.4s both}
@keyframes h2-red{0%{box-shadow:inset 0 0 0 0 rgb(229 72 77 / 0)}8%,88%{box-shadow:inset 0 0 0 4px rgb(229 72 77 / 95%)}100%{box-shadow:inset 0 0 0 0 rgb(229 72 77 / 0)}}
@keyframes h2-blue{0%{box-shadow:inset 0 0 0 0 rgb(8 43 89 / 0)}10%,86%{box-shadow:inset 0 0 0 4px rgb(8 43 89 / 95%)}100%{box-shadow:inset 0 0 0 0 rgb(8 43 89 / 0)}}
@keyframes h2-green{from{box-shadow:inset 0 0 0 0 rgb(22 167 101 / 0)}to{box-shadow:inset 0 0 0 4px rgb(22 167 101 / 95%)}}

/* Primo riquadro animato senza scritte (9 ottobre): batteria rossa che lampeggia, telefono che vibra,
   onde dal segnale accanto al telefono, goccia di sudore. Posizioni in % sull'illustrazione step-01-problem. */
.h2-oh,.h2-marks{display:none}
.h2-batt{position:absolute;left:59%;top:51.5%;width:11%;aspect-ratio:2/1;transform:translate(-50%,-50%) rotate(-8deg);border-radius:30%;opacity:0;
  background:radial-gradient(closest-side,rgb(255 70 70 / 85%),rgb(255 70 70 / 0));filter:blur(.5px)}
.h2-signal{position:absolute;left:74%;top:29%;width:12%;aspect-ratio:1;transform:translate(-50%,-50%) scale(.3);border-radius:50%;border:2px solid #2f8cff;opacity:0}
@media(prefers-reduced-motion:no-preference){
  .h2-mosaic.is-anim.is-play .h2-t1>img{animation:h2-buzz .55s ease-in-out .15s 1,h2-buzz .55s ease-in-out 1.35s 1}
  .h2-mosaic.is-anim.is-play .h2-batt{animation:h2-batt 1.6s steps(1,end) .3s both}
  .h2-mosaic.is-anim.is-play .h2-signal{animation:h2-signal 1.1s ease-out .5s 2}
  .h2-mosaic.is-anim.is-play .h2-signal-2{animation-delay:.85s}
}
/* vibrazione del telefono: piccoli scatti rapidi */
@keyframes h2-buzz{0%,100%{transform:none}10%{transform:translate(-1.5px,0) rotate(-.5deg)}20%{transform:translate(1.5px,0) rotate(.5deg)}30%{transform:translate(-1.5px,0) rotate(-.5deg)}40%{transform:translate(1.5px,0) rotate(.5deg)}50%{transform:translate(-1px,0)}60%{transform:translate(1px,0)}70%{transform:none}}
/* batteria scarica: tre lampi rossi */
@keyframes h2-batt{0%{opacity:0}8%{opacity:1}22%{opacity:0}36%{opacity:1}50%{opacity:0}64%{opacity:1}78%,100%{opacity:0}}
@keyframes h2-signal{0%{opacity:.9;transform:translate(-50%,-50%) scale(.3)}100%{opacity:0;transform:translate(-50%,-50%) scale(1.6)}}
/* batteria: cornice rossa luminosa attorno all'icona (più leggibile del bagliore) */
.h2-batt{width:13%;aspect-ratio:2.2/1;border-radius:5px;border:2px solid #ff4d4f;background:rgb(255 77 79 / 22%);box-shadow:0 0 12px 2px rgb(255 77 79 / 85%);filter:none;transform:translate(-50%,-50%) rotate(-10deg)}

/* Frecce disegnate del percorso (sostituiscono i cerchi con la freccia) */
.h2-mosaic.has-arrows .h2-flow{display:none}
.h2-flowsvg{position:absolute;inset:0;width:100%;height:100%;overflow:visible;pointer-events:none;z-index:4}
.h2-flowsvg .halo{fill:none;stroke:#fff;stroke-width:8;stroke-linecap:round;opacity:.9}
.h2-flowsvg .line{fill:none;stroke:var(--ink);stroke-width:3;stroke-linecap:round}
.h2-flowsvg .head{fill:var(--ink);stroke:#fff;stroke-width:2;stroke-linejoin:round;paint-order:stroke}
@media(prefers-reduced-motion:no-preference){
  .h2-mosaic.is-anim .h2-flowsvg path:not(.head){stroke-dasharray:var(--len) var(--len);stroke-dashoffset:var(--len)}
  .h2-mosaic.is-anim .h2-flowsvg .head{opacity:0}
  .h2-mosaic.is-anim.is-play .h2-a1 path:not(.head){animation:h2-draw .55s ease-in-out 2.55s forwards}
  .h2-mosaic.is-anim.is-play .h2-a1 .head{animation:h2-head .15s ease-out 3.05s forwards}
  .h2-mosaic.is-anim.is-play .h2-a2 path:not(.head){animation:h2-draw .55s ease-in-out 4.85s forwards}
  .h2-mosaic.is-anim.is-play .h2-a2 .head{animation:h2-head .15s ease-out 5.35s forwards}
}
@keyframes h2-draw{to{stroke-dashoffset:0}}
@keyframes h2-head{to{opacity:1}}

/* ===== Mosaico a flusso verticale (9 ottobre): riga 1 problema → LabMatch™; riga 2 "Scegli il tuo tecnico" (verde);
   riga 3 Smart Pick&Fix® e negozio. Righe distanziate per far passare le frecce. ===== */
.h2-mosaic{--r1:200px;--r2:170px;--r3:220px;--rg:40px;grid-template-areas:"a b" "c c" "d e";grid-template-rows:var(--r1) var(--r2) var(--r3);row-gap:var(--rg);column-gap:12px}
.h2-t1{grid-area:a}.h2-t2{grid-area:b}.h2-t3{grid-area:c}.h2-t6{grid-area:d}.h2-t7{grid-area:e}
.h2-t2 .h2-box32{width:96%}
.h2-t6{background:linear-gradient(140deg,#e6eef8,#cfdff1)}
.h2-t7{background:linear-gradient(160deg,#eef8f2,#dcefe4)}
.h2-t7>img{object-fit:contain;padding:10px 18% 92px}
.h2-smart{position:absolute;left:50%;top:10px;width:min(66%,260px);aspect-ratio:320/170;transform:translateX(-50%)}
.h2-smart-car{display:block;width:100%;height:100%}
.h2-smart-logo{position:absolute;left:31%;top:57%;width:30%;height:auto;filter:brightness(0) invert(.12) sepia(1) hue-rotate(185deg) saturate(6)}
.h2-glass-sm{flex-direction:column;align-items:flex-start;gap:8px;padding:12px 14px}
.h2-glass-sm a{padding:8px 14px;font-size:.8125rem}
/* tempi: A come prima; B (da sotto i primi due, uniti) 4,7 s; C (verso Smart e negozio) 6,1 s */
@media(prefers-reduced-motion:no-preference){
  .h2-mosaic.is-anim.is-play .h2-b path:not(.head){animation:h2-draw .4s ease-in-out 4.7s forwards}
  .h2-mosaic.is-anim.is-play .h2-b3 path:not(.head){animation:h2-draw .25s ease-in-out 5.05s forwards}
  .h2-mosaic.is-anim.is-play .h2-b3 .head{animation:h2-head .15s ease-out 5.25s forwards}
  .h2-mosaic.is-anim.is-play .h2-c path:not(.head){animation:h2-draw .45s ease-in-out 6.1s forwards}
  .h2-mosaic.is-anim.is-play .h2-c .head{animation:h2-head .15s ease-out 6.5s forwards}
  .h2-mosaic.is-anim.is-play .h2-t6,.h2-mosaic.is-anim.is-play .h2-t7{animation:h2-ring .9s ease-out 6.6s both}
}
@media(max-width:900px){.h2-mosaic{--r1:150px;--r2:150px;--r3:200px;--rg:34px}}
@media(max-width:560px){
  .h2-mosaic{--r1:120px;--r2:120px;--r3:190px;--rg:30px;column-gap:8px}
  .h2-glass-sm small{display:none}
  .h2-glass-sm{left:8px;right:8px;bottom:8px;padding:10px}
  .h2-glass-sm a{align-self:stretch;text-align:center}
  .h2-t7>img{padding:8px 12% 96px}
  .h2-smart{width:84%}
}
/* riga 3 più alta: Smart e negozio restano visibili sopra le fasce */
.h2-mosaic{--r3:290px}
.h2-smart{top:14px;width:min(72%,270px)}
.h2-t7>img{padding:12px 16% 128px}
@media(max-width:900px){.h2-mosaic{--r3:250px}}
@media(max-width:560px){.h2-mosaic{--r3:230px}.h2-t7>img{padding:8px 10% 100px}.h2-smart{width:88%}}
/* frecce più pulite: linea un po' più sottile, alone leggero, punta piena senza bordo */
.h2-flowsvg .halo{stroke-width:6;opacity:.75}
.h2-flowsvg .line{stroke-width:2.6}
.h2-flowsvg .head{stroke:none}

/* Smart: andata e ritorno — auto a sinistra, frecce ↔ e casa (ritagliate dall'illustrazione Pick&Fix®) a destra */
.h2-t6 .h2-smart{left:6%;top:30px;width:min(52%,210px);transform:none}
.h2-trip{position:absolute;right:5%;top:8px;width:min(42%,170px);aspect-ratio:1;background:url(assets/home/art/pickandfix-delivery.png) right center/auto 100% no-repeat}
/* Negozio = centro assistenza: insegna con chiave inglese sul tetto */
.h2-t7>img{display:none}
.h2-shop{position:absolute;left:50%;top:26px;width:min(62%,220px);aspect-ratio:420/303;transform:translateX(-50%)}
.h2-shop img{display:block;width:100%;height:100%;object-fit:contain}
.h2-shop-sign{position:absolute;left:50%;top:-14px;transform:translateX(-50%);display:inline-flex;align-items:center;gap:6px;padding:5px 10px;border-radius:6px;background:var(--ink);color:#fff;font-weight:800;font-size:12px;letter-spacing:.08em;white-space:nowrap;box-shadow:0 4px 10px rgb(8 43 89 / 25%)}
.h2-shop-sign svg{width:14px;height:14px;fill:none;stroke:#fff;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}
@media(max-width:560px){.h2-t6 .h2-smart{top:26px;width:56%;left:4%}.h2-trip{width:40%;right:3%}.h2-shop{width:74%;top:24px}.h2-shop-sign{font-size:10px;padding:4px 7px;top:-12px}}
/* insegna appoggiata sul tetto del negozio */
.h2-shop-sign{top:6%;transform:translate(-50%,-50%)}
@media(max-width:560px){.h2-shop-sign{top:6%}}
@media(max-width:560px){.h2-t6 .h2-smart{width:50%;left:3%;top:30px}.h2-trip{width:38%;right:3%;top:14px}}

/* Jack su WhatsApp (11 ottobre): link visibile solo con il numero in config.js */
.h2-wa{display:inline-flex;align-items:center;gap:6px;color:#128c4a;text-decoration:none;font-weight:600}
.h2-wa .icon{width:18px;height:18px;color:#25d366}
.h2-wa[hidden]{display:none}

/* ===== Percorso LabMatch™ nella prima schermata (21/10/2026, kit labmatch-asset-animazione) =====
   Sostituisce il mosaico .h2-mosaic (le sue regole sopra non trovano più elementi: home archiviata in
   docs/storico/index-2026-10-21-pre-labmatch.html). Colori del kit: blu #1477ff, navy #0b2c58, verde #19b978. */
.lmf{--lb:#1477ff;--ln:#0b2c58;--lg:#19b978;color:var(--ln);min-width:0}
.lmf svg{fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}
.lmf-title{font-size:clamp(1.55rem,2.6vw,2.05rem);line-height:1.08;letter-spacing:-.02em;text-align:center;font-weight:800}
.lmf-title span{color:var(--lb)}
.lmf-sub{text-align:center;color:#3a4e70;margin:6px 0 14px;font-size:.98rem}
.lmf-step{position:relative;border-radius:22px;padding:18px 20px}
.lmf-head{display:flex;gap:12px;align-items:flex-start;position:relative;z-index:2}
.lmf-head h3{font-size:1.18rem;line-height:1.15;font-weight:800;margin:2px 0 4px}
.lmf-head p{color:#3a4e70;font-size:.9rem;line-height:1.35}
.lmf-num{flex:0 0 auto;display:grid;place-items:center;width:42px;height:42px;border-radius:50%;background:var(--lb);color:#fff;font-weight:800;font-size:1.1rem}
.lmf-num-g{background:var(--lg)}
/* 1. Raccontaci il problema */
.lmf-s1{background:linear-gradient(135deg,#eaf3ff,#f5f9ff);min-height:196px}
.lmf-s1 .lmf-head{max-width:42%}
.lmf-girl{position:absolute;bottom:0;left:40%;width:auto;height:118%;max-height:232px;z-index:1;filter:drop-shadow(0 10px 18px rgba(11,44,88,.14))}
.lmf-dots{position:absolute;right:66px;top:50%;width:62px;height:150px;transform:translateY(-50%);color:var(--lb)}
.lmf-dots .lmf-dot{stroke-width:2.4;stroke-dasharray:2 6}
.lmf-chips{list-style:none;margin:0;padding:0;position:absolute;right:16px;top:50%;transform:translateY(-50%);display:flex;flex-direction:column;gap:10px}
.lmf-chips li{display:grid;place-items:center;width:46px;height:46px;border-radius:13px;background:#fff;box-shadow:0 4px 14px rgba(11,44,88,.1)}
.lmf-chips svg{width:24px;height:24px;stroke:var(--ln)}
.lmf-chips li:nth-child(2) svg{stroke:var(--lb)}
/* frecce */
.lmf-arrow{display:block;color:var(--lb);stroke-width:6}
.lmf .lmf-arrow{stroke-width:6}
.lmf-down{width:34px;height:44px;margin:-6px auto -4px;position:relative;z-index:3}
.lmf-fork{width:78%;height:auto;margin:2px auto -6px}
/* 2. Confronta i preventivi */
.lmf-s2{background:linear-gradient(135deg,#e8f8f0,#f4fbf7)}
.lmf-s2 .lmf-head{padding-right:112px}
.lmf-lm{position:absolute;right:0;top:2px;background:var(--ln);color:#fff;font-weight:800;font-size:.98rem;padding:8px 14px;border-radius:12px;text-decoration:none;box-shadow:0 6px 16px rgba(11,44,88,.25)}
.lmf-lm sup{font-size:.55em}
.lmf-offers{list-style:none;margin:14px 0 0;padding:0;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}
.lmf-offer{position:relative;display:flex;align-items:center;gap:8px;background:#fff;border:2px solid transparent;border-radius:16px;padding:10px 8px 10px 10px;box-shadow:0 4px 14px rgba(11,44,88,.07)}
.lmf-offer img{flex:0 0 58px;width:58px;height:58px;object-fit:cover;object-position:top;border-radius:50%;background:#e7f0ff}
.lmf-offer div{min-width:0}
.lmf-live{display:flex;align-items:flex-start;gap:5px;font-size:.68rem;line-height:1.2;color:#3a4e70}
.lmf-live::before{content:"";flex:0 0 auto;width:8px;height:8px;margin-top:2px;border-radius:50%;background:var(--lg);box-shadow:0 0 0 3px rgba(25,185,120,.18)}
.lmf-price{display:flex;align-items:center;gap:4px;font-weight:800;font-size:1.38rem;line-height:1.1;margin-top:3px;white-space:nowrap}
.lmf-price svg{width:15px;height:15px;stroke:var(--ln)}
.lmf-o2{border-color:var(--lg);box-shadow:0 8px 22px rgba(25,185,120,.22)}
.lmf-check{position:absolute;top:-12px;right:-8px;width:30px;height:30px}
.lmf .lmf-check circle{fill:var(--lg);stroke:#fff;stroke-width:4}
.lmf .lmf-check path{stroke:#fff;stroke-width:5}
.lmf-note{text-align:center;font-size:.72rem;color:#5b6b85;margin-top:8px}
/* 3. Decidi come consegnarlo */
.lmf-s3-head{display:flex;align-items:center;justify-content:center;gap:10px;margin-bottom:10px}
.lmf-s3-head h3{font-size:1.3rem;font-weight:800}
.lmf-s3{display:grid;grid-template-columns:1fr 1fr;gap:12px}
.lmf-way{border-radius:20px;padding:12px 14px 14px;text-align:center;display:flex;flex-direction:column;align-items:center;gap:4px}
.lmf-way-pf{background:linear-gradient(160deg,#e6f1ff,#f3f8ff)}
.lmf-way-shop{background:linear-gradient(160deg,#e8f8f0,#f4fbf7)}
.lmf-scene{display:flex;align-items:flex-end;justify-content:center;gap:4px;height:96px;width:100%;margin-bottom:4px}
.lmf-van{width:46%;height:auto;max-height:80px;object-fit:contain}
.lmf-house{width:34%;height:auto;max-height:86px;object-fit:contain}
.lmf-trip{width:30px;height:26px;align-self:center;color:var(--lb)}
.lmf .lmf-trip{stroke-width:5}
.lmf-shop{height:96px;width:auto;max-width:92%;object-fit:contain}
.lmf-way h4{font-size:1.05rem;font-weight:800;margin:0}
.lmf-way p{font-size:.82rem;color:#3a4e70;margin:0}
.lmf-way .lmf-pill{background:var(--lb);color:#fff;font-weight:800;font-size:.78rem;padding:3px 12px;border-radius:999px}
.lmf-pill sup{font-size:.6em}
.lmf-btn{margin-top:8px;display:inline-flex;align-items:center;gap:6px;background:#fff;border-radius:999px;padding:9px 18px;font-weight:700;font-size:.86rem;text-decoration:none;color:var(--ln);box-shadow:0 4px 14px rgba(11,44,88,.1)}
.lmf .lmf-btn svg{width:16px;height:16px;stroke:var(--lb);stroke-width:2.6}
.lmf-btn:hover{box-shadow:0 6px 18px rgba(20,119,255,.25)}
@media (max-width:620px){
  .lmf-s1{min-height:0;padding-bottom:150px}
  .lmf-s1 .lmf-head{max-width:none}
  .lmf-girl{left:4%;height:150px}
  .lmf-dots{right:62px;top:auto;bottom:4px;transform:none;height:140px}
  .lmf-chips{top:auto;bottom:10px;transform:none}
  .lmf-s2 .lmf-head{padding-right:0;padding-top:36px}
  .lmf-lm{top:-6px;left:54px;right:auto}
  .lmf-offers{gap:6px}
  .lmf-offer{flex-direction:column;text-align:center;padding:10px 6px}
  .lmf-live{justify-content:center;font-size:.62rem}
  .lmf-price{justify-content:center;font-size:1.15rem}
  .lmf-s3{grid-template-columns:1fr}
  .lmf-fork{width:70%}
}

/* Sequenza (una volta, ~6 s): cliente → freccia → tecnici e preventivi → scelta → biforcazione → consegna.
   Senza .is-anim (niente JS o "riduci movimento") tutto resta visibile e fermo. */
.lmf.is-anim .lmf-step,.lmf.is-anim .lmf-girl,.lmf.is-anim .lmf-chips li,.lmf.is-anim .lmf-offer,.lmf.is-anim .lmf-s3-head,.lmf.is-anim .lmf-way,.lmf.is-anim .lmf-lm,.lmf.is-anim .lmf-check,.lmf.is-anim .lmf-dot,.lmf.is-anim .lmf-tip{opacity:0}
.lmf.is-anim .lmf-trace,.lmf.is-anim .lmf-go,.lmf.is-anim .lmf-back{stroke-dasharray:var(--len,700);stroke-dashoffset:var(--len,700)}
.lmf.is-anim .lmf-van{transform:translateX(-40px);opacity:0}
.lmf.is-anim .lmf-o2{border-color:transparent;box-shadow:0 4px 14px rgba(11,44,88,.07)}
.lmf.is-play .lmf-step,.lmf.is-play .lmf-s3-head,.lmf.is-play .lmf-way{animation:lmf-up .5s cubic-bezier(.2,.8,.3,1) forwards}
.lmf.is-play .lmf-s2{animation-delay:2.1s}
.lmf.is-play .lmf-s3-head{animation-delay:4.4s}
.lmf.is-play .lmf-way-pf{animation-delay:4.55s}
.lmf.is-play .lmf-way-shop{animation-delay:4.7s}
.lmf.is-play .lmf-girl{animation:lmf-girl .5s .25s cubic-bezier(.2,.8,.3,1.2) forwards}
.lmf.is-play .lmf-dot{animation:lmf-fade .4s forwards}
.lmf.is-play .lmf-dot:nth-child(1){animation-delay:.8s}.lmf.is-play .lmf-dot:nth-child(2){animation-delay:.95s}.lmf.is-play .lmf-dot:nth-child(3){animation-delay:1.1s}
.lmf.is-play .lmf-chips li{animation:lmf-pop .4s cubic-bezier(.2,.8,.3,1.4) forwards}
.lmf.is-play .lmf-chips li:nth-child(1){animation-delay:1.05s}.lmf.is-play .lmf-chips li:nth-child(2){animation-delay:1.2s}.lmf.is-play .lmf-chips li:nth-child(3){animation-delay:1.35s}
.lmf.is-play .lmf-down .lmf-trace{animation:lmf-draw .4s 1.6s ease-out forwards}
.lmf.is-play .lmf-down .lmf-tip{animation:lmf-fade .15s 1.95s forwards}
.lmf.is-play .lmf-lm{animation:lmf-pop .4s 2.4s cubic-bezier(.2,.8,.3,1.4) forwards}
.lmf.is-play .lmf-offer{animation:lmf-up .45s cubic-bezier(.2,.8,.3,1) forwards}
.lmf.is-play .lmf-o1{animation-delay:2.6s}
.lmf.is-play .lmf-o2{animation:lmf-up .45s 2.75s cubic-bezier(.2,.8,.3,1) forwards,lmf-pick .45s 3.45s ease-out forwards}
.lmf.is-play .lmf-o3{animation-delay:2.9s}
.lmf.is-play .lmf-live::before{animation:lmf-live 1.2s 3s 2}
.lmf.is-play .lmf-check{animation:lmf-pop .4s 3.6s cubic-bezier(.2,.8,.3,1.6) forwards}
.lmf.is-play .lmf-fork .lmf-trace{animation:lmf-draw .55s 3.9s ease-in-out forwards}
.lmf.is-play .lmf-fork .lmf-tip{animation:lmf-fade .15s 4.4s forwards}
.lmf.is-play .lmf-van{animation:lmf-drive .7s 4.8s cubic-bezier(.2,.8,.3,1) forwards}
.lmf.is-play .lmf-go{animation:lmf-draw .35s 5.4s ease-out forwards}
.lmf.is-play .lmf-back{animation:lmf-draw .35s 5.65s ease-out forwards}
@keyframes lmf-up{from{opacity:0;transform:translateY(16px)}to{opacity:1;transform:none}}
@keyframes lmf-girl{from{opacity:0;transform:translateY(20px) scale(.96)}to{opacity:1;transform:none}}
@keyframes lmf-pop{from{opacity:0;transform:scale(.5)}to{opacity:1;transform:none}}
@keyframes lmf-fade{to{opacity:1}}
@keyframes lmf-draw{to{stroke-dashoffset:0}}
@keyframes lmf-drive{to{opacity:1;transform:none}}
@keyframes lmf-pick{to{border-color:var(--lg);box-shadow:0 8px 22px rgba(25,185,120,.22);transform:translateY(-3px)}}
@keyframes lmf-live{50%{box-shadow:0 0 0 7px rgba(25,185,120,0)}}
@media (prefers-reduced-motion:reduce){.lmf *{animation:none!important}}
/* ritocchi dopo la prima prova: la cliente non copre il sottotitolo, freccia centrale più visibile */
.lmf-sub{margin-bottom:30px}
.lmf-girl{height:112%;max-height:214px}
.lmf-down{width:42px;height:60px;margin:-4px auto -2px}
@media (max-width:620px){.lmf-girl{height:150px;max-height:150px}.lmf-sub{margin-bottom:16px}}
@media (max-width:620px){.lmf-s1 .lmf-head{padding-right:56px}}
.lmf-s2 .lmf-head{padding-right:132px}@media (max-width:620px){.lmf-s2 .lmf-head{padding-right:0}}
/* Prima schermata allineata in alto: la richiesta parte alla stessa altezza del percorso LabMatch™ e,
   su schermi larghi, resta visibile mentre si scorre il percorso (più alto della colonna di sinistra). */
.h2-hero{align-items:start}
@media (min-width:901px){.h2-hero-text{position:sticky;top:24px;padding-top:6px}}

/* Pulsante della richiesta (26/10): dice il prossimo passo, con una riga che spiega cosa succede dopo */
.h2-next{flex-basis:100%;margin:-6px 0 0;font-size:.875rem;line-height:1.5;color:var(--muted)}
