/* RIVA9612 · SITO 1 · il negozio elegante (2/12/2026)
   La forma del tema Split nel nostro codice: apertura a schermo diviso, griglia, cassetti, scheda.
   In piu': il caricamento col nome che si riempie, il carosello del colore, le colonne che scorrono a pagina ferma, i reel in riquadro telefono.
   Colori: bianco #F5F6F7, grigio #ECEEF0, antracite #14161A, rosso pinza #D3121F (solo il bottone che vende).
   Titoli Barlow Condensed 800, testi Barlow, in locale. */
@font-face { font-family: 'Barlow Condensed'; src: url('../font/BarlowCondensed-800.woff2') format('woff2'); font-weight: 800; font-style: normal; font-display: swap; }
@font-face { font-family: 'Barlow Condensed'; src: url('../font/BarlowCondensed-600.woff2') format('woff2'); font-weight: 600; font-style: normal; font-display: swap; }
@font-face { font-family: 'Barlow'; src: url('../font/Barlow-400.woff2') format('woff2'); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: 'Barlow'; src: url('../font/Barlow-500.woff2') format('woff2'); font-weight: 500; font-style: normal; font-display: swap; }
@font-face { font-family: 'Barlow'; src: url('../font/Barlow-600.woff2') format('woff2'); font-weight: 600 700; font-style: normal; font-display: swap; }

:root {
  --bianco: #F5F6F7; --grigio2: #ECEEF0; --ink: #14161A; --ink2: #1D2026; --asfalto: #0F1114; --pinza: #D3121F; --pinza2: #B40E19;
  --riga: rgba(20, 22, 26, .13); --riga-c: rgba(245, 246, 247, .16); --chiaro3: #C6CBD3; --tenue: #555B65;
  --curva: cubic-bezier(.39, .575, .565, 1); --cass: cubic-bezier(.25, .46, .45, .94); --molla: cubic-bezier(.3, .1, .2, 1);
  --tit: 'Barlow Condensed', 'Arial Narrow', 'Helvetica Neue', sans-serif; --txt: 'Barlow', system-ui, 'Segoe UI', sans-serif;
  --sfuma: linear-gradient(to top, rgba(15, 17, 20, .86) 0%, rgba(15, 17, 20, .68) 42%, rgba(15, 17, 20, .3) 74%, rgba(15, 17, 20, 0) 100%);
  --testa: 76px;
  /* per le pagine legali (legale.css) */
  --carta: #F5F6F7; --inchiostro: #14161A; --brace: #555B65; --fondo: #14161A; --serif: 'Barlow Condensed', 'Arial Narrow', sans-serif; --bastone: 'Barlow', system-ui, sans-serif;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; touch-action: manipulation; background: var(--bianco); scroll-padding-top: var(--testa); }
html.lg-aperto, html.sta-caricando { overflow: hidden; }
body { margin: 0; position: relative; left: 0; background: var(--bianco); color: var(--ink); font-family: var(--txt); font-weight: 400; font-size: 17px; line-height: 1.55;
  -webkit-font-smoothing: antialiased; transition: left .5s var(--cass); overflow-x: clip; }
img, video, svg { display: block; max-width: 100%; }
img, video { height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; touch-action: manipulation; }
h1, h2, h3, h4, p, figure, blockquote, ul { margin: 0; }
ul { padding: 0; list-style: none; }
.nascosto { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.salta { position: fixed; left: 12px; top: -80px; z-index: 999; background: var(--ink); color: #fff; padding: 10px 16px; font-weight: 600; }
.salta:focus { top: 12px; }
:focus-visible { outline: 2px solid currentColor; outline-offset: 2px; }
.solo-tel { display: none; }
.nb { white-space: nowrap; }
.bottone i { font-style: normal; }

/* ---------- caratteri ---------- */
.t-grande { font-family: var(--tit); font-size: 88px; line-height: .94; font-weight: 800; letter-spacing: -.005em; text-transform: uppercase; }
.t-due { font-family: var(--tit); font-size: 58px; line-height: .98; font-weight: 800; text-transform: uppercase; }
.t-tre, .t-medio { font-family: var(--tit); font-size: 42px; line-height: 1; font-weight: 800; text-transform: uppercase; }
.riga-su, .sotto-t { display: block; font-size: 13px; line-height: 20px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; }
.t-grande, .t-due, .t-tre, .t-medio, .prod-nome, .cat-testa p, .pi-missione p, .sk-desc, .pas-carta p { text-wrap: balance; }

/* ---------- bottoni: pillola, al passaggio si allarga e compare la freccia ---------- */
.bottone { position: relative; display: inline-flex; align-items: center; justify-content: center; height: 54px; padding: 0 30px; border-radius: 30px;
  border: 1px solid transparent; font-size: 14px; line-height: 1; font-weight: 600; letter-spacing: .07em; text-transform: uppercase; white-space: nowrap; overflow: hidden;
  transition: .15s linear; transition-property: padding, background, color, border-color; }
.bottone > span { display: block; }
.bottone > .solo-tel { display: none; }
.bottone.pieno { background: var(--ink); color: #fff; }
.bottone.pieno.chiaro { background: var(--bianco); color: var(--ink); }
.bottone.filo { border-color: var(--ink); color: var(--ink); }
.bottone.filo.chiaro { border-color: var(--bianco); color: var(--bianco); }
/* il bottone che vende: l'unico rosso del sito */
.bottone.vende { background: var(--pinza); color: #fff; }
.freccia { display: block; width: 0; height: 50px; opacity: 0; position: relative; transition: .15s linear; transition-property: width, opacity; }
.freccia::before { content: ''; position: absolute; right: 0; top: 24.5px; width: 20px; height: 1.5px; background: currentColor; }
.freccia::after { content: ''; position: absolute; right: 0; top: 21.3px; width: 6px; height: 6px; border-top: 1.5px solid currentColor; border-right: 1.5px solid currentColor; transform: rotate(45deg); transform-origin: 100% 0; }
@media (hover: hover) {
  .bottone:hover .freccia { width: 31px; opacity: 1; }
  .bottone.filo:hover { background: var(--ink); color: #fff; }
  .bottone.filo.chiaro:hover { background: var(--bianco); color: var(--ink); }
  .bottone.vende:hover { background: var(--pinza2); }
}
.sottolineato { text-decoration: underline; text-underline-offset: 4px; text-decoration-thickness: 1px; }

/* ---------- 0 · il caricamento: il nome si riempie mentre il sito carica davvero ---------- */
.carica { position: fixed; inset: 0; z-index: 300; display: flex; align-items: center; justify-content: center; background: var(--bianco); transition: background-color .55s linear .25s; }
.ca-nome { position: relative; display: block; font-family: var(--tit); font-weight: 800; font-size: clamp(74px, 19.5vw, 300px); line-height: .84; letter-spacing: -.01em; color: #D9DCE1; white-space: nowrap;
  transform-origin: 0 0; will-change: transform; }
.ca-nome b { position: absolute; left: 0; top: 0; font-weight: inherit; color: var(--ink); clip-path: inset(calc(100% - var(--p, 0%)) 0 0 0); }
.ca-conta { position: absolute; right: 40px; bottom: 30px; font-family: var(--tit); font-weight: 600; font-size: 26px; line-height: 1; font-variant-numeric: tabular-nums; transition: opacity .25s linear; }
.carica.vola { background-color: rgba(245, 246, 247, 0); pointer-events: none; }
.carica.vola .ca-nome { transition: transform .95s cubic-bezier(.7, 0, .2, 1); color: transparent; }
.carica.vola .ca-conta { opacity: 0; }
.carica.via { display: none; }
html:not(.sta-caricando) .carica { display: none; }
html.sta-caricando .logo b { visibility: hidden; }

/* ---------- barra d'annuncio e testata (la testata resta in alto: il bottone che vende si vede sempre) ---------- */
.annuncio { height: 34px; padding: 5px 80px; background: var(--ink); color: var(--chiaro3); font-size: 12px; line-height: 14px; font-weight: 600; letter-spacing: .14em; text-align: center; }
.annuncio > span { display: block; padding: 5px 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.annuncio a { color: #fff; }
.testata { position: sticky; top: 0; z-index: 20; display: flex; align-items: center; justify-content: space-between; height: var(--testa); padding: 0 26px 0 40px;
  background: var(--bianco); border-bottom: 1px solid var(--riga); }
.logo { display: flex; align-items: baseline; gap: 12px; padding: 6px 0; white-space: nowrap; }
.logo b { font-family: var(--tit); font-size: 36px; line-height: 1; font-weight: 800; letter-spacing: -.005em; }
.logo small { font-size: 12px; line-height: 1; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--tenue); }
.icone { display: flex; align-items: center; gap: 6px; }
.ico { position: relative; display: flex; align-items: center; justify-content: center; width: 44px; height: 44px; color: var(--ink); }
.ico svg { fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; transition: transform .15s linear; }
.ico-cerca svg { width: 21px; height: 21px; }
.ico-lista svg { width: 24px; height: 24px; }
.conta { position: absolute; right: 2px; top: 3px; min-width: 18px; height: 18px; padding: 0 4px; border-radius: 9px; background: var(--ink); color: #fff; font-size: 12px; line-height: 18px; font-weight: 700; text-align: center; }
.conta[data-n="0"] { display: none; }
.ico-menu svg { width: 27px; height: 16px; stroke-width: 2; stroke-linecap: butt; }
.testata .bottone.vende { height: 46px; padding: 0 24px; margin-right: 10px; }
@media (hover: hover) { .ico:hover svg { transform: scale(1.08); } }

/* ---------- 1 · apertura a schermo diviso ---------- */
.apertura { position: relative; }
.ap-dia { position: relative; display: grid; grid-template-columns: 50% 50%; height: calc(100vh - var(--testa)); min-height: 540px; }
.ap-testo { display: flex; flex-direction: column; align-items: flex-start; justify-content: center; padding: 0 40px 8px 101px; background: var(--bianco); }
.ap-testo .riga-su { margin-bottom: 26px; }
.ap-testo .t-grande { max-width: 560px; margin-bottom: 24px; }
.ap-sotto { max-width: 440px; margin-bottom: 34px; font-size: 18px; line-height: 28px; color: var(--tenue); }
.ap-bottoni { display: flex; flex-wrap: wrap; gap: 12px; }
.ap-foto { position: relative; background: var(--bianco); }
.ap-taglio { position: absolute; left: 0; top: 0; width: 100%; height: 100%; overflow: hidden; }
.ap-dia + .ap-dia .ap-taglio { height: 0; }
.ap-fisso { position: absolute; left: 0; top: 0; width: 100%; height: calc(100vh - var(--testa)); min-height: 540px; background: var(--ink2); }
.ap-fisso img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: var(--fuoco, 50% 50%); }
.ap-velo { position: absolute; inset: 0; background: var(--asfalto); opacity: 0; }
.apertura.attiva .ap-taglio { position: fixed; left: auto; right: 0; top: var(--testa); width: 50%; }
.ap-dia:nth-child(1) .ap-taglio { z-index: 1; } .ap-dia:nth-child(2) .ap-taglio { z-index: 2; } .ap-dia:nth-child(3) .ap-taglio { z-index: 3; }
.ap-barra { display: none; }
/* entrata del titolo, una volta, dopo il caricamento */
.ap-dia:first-child .ap-testo > * { opacity: 0; transform: translateY(26px); transition: opacity .6s linear, transform .8s var(--molla); }
html.pronto-su .ap-dia:first-child .ap-testo > * { opacity: 1; transform: none; }
html.pronto-su .ap-dia:first-child .ap-testo > :nth-child(2) { transition-delay: .08s; }
html.pronto-su .ap-dia:first-child .ap-testo > :nth-child(3) { transition-delay: .16s; }
html.pronto-su .ap-dia:first-child .ap-testo > :nth-child(4) { transition-delay: .24s; }

/* ---------- 2 · il carosello del colore ---------- */
.colore { position: relative; z-index: 4; height: calc(100vh - var(--testa)); min-height: 620px; max-height: 960px; overflow: hidden; isolation: isolate;
  background: var(--co, #8CCBF0); color: var(--ct, #14161A); transition: color .5s linear; }
.co-onda { position: absolute; z-index: 0; left: 50%; bottom: -12vmax; width: 24vmax; height: 24vmax; margin-left: -12vmax; border-radius: 50%;
  background: radial-gradient(circle, var(--co2, #8CCBF0) 0, var(--co2, #8CCBF0) 58%, transparent 70%); transform: scale(0); pointer-events: none; }
.co-onda.va { transform: scale(15); transition: transform 1.6s cubic-bezier(.45, .05, .3, 1); }
.co-scritta { position: absolute; z-index: 1; left: 0; right: 0; top: 27%; transform: translateY(-50%); overflow: hidden; pointer-events: none; transition: opacity .4s linear; }
.co-scritta.cambia { opacity: 0; }
.co-nastro { display: flex; width: max-content; font-family: var(--tit); font-weight: 800; text-transform: uppercase; font-size: clamp(150px, 21vw, 330px); line-height: .9; white-space: nowrap;
  color: var(--cs, rgba(255, 255, 255, .5)); transition: color .5s linear; animation: co-scorre 52s linear infinite; animation-play-state: paused; }
.co-nastro span { padding-right: .22em; }
.colore.vista .co-nastro { animation-play-state: running; }
@keyframes co-scorre { from { transform: translate3d(0, 0, 0); } to { transform: translate3d(-50%, 0, 0); } }
.co-scena { position: absolute; z-index: 2; inset: 0; touch-action: pan-y; cursor: grab; }
.co-scena.presa { cursor: grabbing; }
.co-pezzo { position: absolute; left: 50%; top: 60%; margin: 0; transform: translate(-50%, -50%) translateX(calc(var(--x, 0vw) + var(--tx, 0px))) scale(var(--s, 1)); opacity: var(--o, 1);
  transition: transform .9s var(--molla), opacity .5s linear; will-change: transform; cursor: pointer; }
.co-scena.presa .co-pezzo { transition: none; }
/* l'auto mai piu' grande della sua foto vera (--mw) */
.co-pezzo img { width: min(44vw, var(--mw, 760px), calc(48vh * var(--r, 1.6))); height: auto; max-width: none; pointer-events: none; -webkit-user-drag: none; }
.co-pezzo::after { content: ''; position: absolute; z-index: -1; left: 3%; right: 3%; bottom: -3.5%; height: 13%; border-radius: 50%; background: radial-gradient(ellipse at center, rgba(15, 17, 20, .5), rgba(15, 17, 20, 0) 68%); }
.co-pezzo.sx { --x: -44vw; --s: .42; --o: .7; }
.co-pezzo.dx { --x: 44vw; --s: .42; --o: .7; }
.co-pezzo.via { --s: .3; --o: 0; pointer-events: none; }
.co-pezzo.via.s { --x: -75vw; } .co-pezzo.via.d { --x: 75vw; }
.co-pezzo.on { cursor: inherit; }
.co-testa { position: absolute; z-index: 3; left: 40px; top: 36px; }
.co-fr { position: absolute; z-index: 3; top: 45%; width: 54px; height: 54px; margin-top: -27px; border-radius: 50%; border: 1px solid currentColor; display: flex; align-items: center; justify-content: center; }
.co-fr svg { width: 17px; height: 13px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.co-fr.prima { left: 40px; } .co-fr.dopo { right: 40px; }
.co-basso { position: absolute; z-index: 3; left: 0; right: 0; bottom: 0; display: grid; grid-template-columns: 1fr auto 1fr; align-items: end; gap: 24px; padding: 0 40px 36px; }
.co-nome .t-due { margin-top: 8px; }
.co-nome small { display: block; margin-top: 8px; font-size: 15px; line-height: 20px; font-weight: 500; }
.co-pallini { display: flex; gap: 6px; padding-bottom: 4px; }
.co-pallino { width: 44px; height: 44px; border-radius: 50%; display: flex; align-items: center; justify-content: center; }
.co-pallino i { display: block; width: 24px; height: 24px; border-radius: 50%; background: var(--c); border: 2px solid #fff; box-shadow: 0 0 0 1px rgba(20, 22, 26, .4); transition: transform .25s var(--molla); }
.co-pallino.on i { transform: scale(1.4); }
.co-azioni { justify-self: end; display: flex; align-items: center; gap: 22px; }
.co-azioni a.sottolineato { font-size: 15px; font-weight: 600; }

/* ---------- 3 · nel piazzale: griglia e schede ---------- */
.piazzale-testa { display: flex; align-items: flex-end; justify-content: space-between; gap: 30px; padding: 110px 40px 54px; }
.piazzale-testa .riga-su { margin-bottom: 14px; }
.cartello { font-family: var(--tit); font-weight: 600; font-size: 20px; line-height: 1; letter-spacing: .04em; font-variant-numeric: tabular-nums; color: var(--tenue); }
.cartello b { font-weight: 800; color: var(--ink); }
.griglia-fuori { overflow: hidden; border-top: 1px solid var(--riga); }
.griglia-prod { display: grid; grid-template-columns: repeat(3, 1fr); margin-right: -1px; }
.gp-cella { position: relative; border-right: 1px solid var(--riga); border-bottom: 1px solid var(--riga); min-width: 0; }
.gp-cella.fuori { display: none; }
.gp-tutti { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 22px; padding: 40px 30px; min-height: 240px; background: var(--grigio2); text-align: center; }
.gp-tutti p { max-width: 300px; font-family: var(--tit); font-weight: 800; text-transform: uppercase; font-size: 36px; line-height: 1; }
.prod { position: relative; display: block; height: 100%; }
.prod-link { display: block; }
.prod-foto { position: relative; display: block; overflow: hidden; background: var(--grigio2); aspect-ratio: 4 / 3; }
.prod-foto img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--curva), opacity .2s linear; }
.prod-foto .f2 { opacity: 0; }
.prod-dida { position: relative; display: block; min-height: 98px; padding: 22px 76px 22px 24px; background: var(--bianco); }
.prod-nome { display: block; font-family: var(--tit); font-size: 28px; line-height: 30px; font-weight: 800; text-transform: uppercase; }
.prod-prezzo { display: block; margin-top: 4px; font-size: 15px; line-height: 20px; color: var(--tenue); }
.prod-agg { position: absolute; right: 14px; bottom: 24px; width: 50px; height: 50px; border-radius: 100%; border: 1px solid var(--riga); display: flex; align-items: center; justify-content: center; transition: background .15s linear, color .15s linear; }
.prod-agg svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.prod-agg.dentro { background: var(--ink); color: #fff; border-color: var(--ink); }
@media (hover: hover) {
  .prod:hover .prod-foto img { transform: scale(1.04); }
  .prod:hover .prod-foto .f2 { opacity: 1; }
  .prod-agg:hover { background: var(--ink); color: #fff; }
}

/* ---------- 4 · le colonne che scorrono a pagina ferma ---------- */
.vicino { display: grid; grid-template-columns: 38% 62%; background: var(--bianco); }
.vi-fermo { position: sticky; top: var(--testa); align-self: start; display: flex; flex-direction: column; justify-content: center; height: calc(100vh - var(--testa)); min-height: 480px; padding: 0 40px 0 101px; }
.vi-fermo .t-grande { margin: 22px 0 22px; }
.vi-fermo p { max-width: 380px; color: var(--tenue); }
.vi-conta { margin-top: 40px; }
.vi-colonne { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; padding: 90px 40px 64px 0; overflow: hidden; }
.vi-col { display: flex; flex-direction: column; gap: 20px; will-change: transform; }
.vi-col + .vi-col { padding-top: 150px; }
.vi-pezzo { position: relative; margin: 0; overflow: hidden; border-radius: 10px; background: var(--ink2); }
.vi-pezzo img { width: 100%; height: auto; }
.vi-pezzo figcaption { position: absolute; left: 0; right: 0; bottom: 0; padding: 46px 18px 14px; background: linear-gradient(to top, rgba(15, 17, 20, .82), rgba(15, 17, 20, 0)); color: #fff; font-size: 15px; line-height: 20px; font-weight: 500; }

/* ---------- 5 · il reel dell'Autobahn, uno e grande, in riquadro telefono ---------- */
.reel { display: grid; grid-template-columns: 50% 50%; background: var(--bianco); }
.fs-dentro { display: flex; flex-direction: column; align-items: flex-start; justify-content: center; height: 100%; padding: 80px 40px 80px 101px; }
.fs-dentro .t-grande { max-width: 520px; margin: 22px 0 0; }
.fs-dentro p { max-width: 440px; margin-top: 24px; color: var(--tenue); }
.fs-dentro .bottone { margin-top: 34px; }
.re-video { display: flex; justify-content: center; align-items: center; padding: 90px 40px; background: var(--bianco); }
.telefono { position: relative; flex: none; width: min(360px, 40vh); margin: 0; }
.tl-vetro { position: relative; display: block; aspect-ratio: 9 / 16; overflow: hidden; border-radius: 40px; border: 9px solid var(--asfalto); background: var(--asfalto) center / cover no-repeat; box-shadow: 0 40px 70px -30px rgba(15, 17, 20, .6); }
.tl-vetro video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.tl-via { position: absolute; left: 50%; top: 50%; width: 72px; height: 72px; margin: -36px 0 0 -36px; border-radius: 50%; background: rgba(245, 246, 247, .95); color: var(--ink); display: flex; align-items: center; justify-content: center; transition: opacity .2s linear; }
.tl-via svg { width: 28px; height: 28px; margin-left: 4px; fill: currentColor; }
.tl-vetro.va .tl-via { opacity: 0; pointer-events: none; }
.telefono figcaption { margin-top: 16px; font-size: 14px; line-height: 20px; text-align: center; color: var(--tenue); }

/* ---------- 6 · la fascia scura: le sue quattro frasi, una alla volta ---------- */
.parole { display: grid; grid-template-columns: 50% 50%; background: var(--asfalto); color: var(--bianco); }
.pa-sx .fs-dentro { min-height: 560px; }
.pa-sx p { color: var(--chiaro3); }
.pa-dx { position: relative; display: flex; flex-direction: column; justify-content: center; min-height: 560px; padding: 70px 60px 70px 80px; border-left: 1px solid var(--riga-c); overflow: hidden; }
.pa-pila { position: relative; display: grid; }
.pa-voce { grid-area: 1 / 1; opacity: 0; transform: translateY(34px); transition: opacity .35s linear, transform .7s var(--molla); pointer-events: none; }
.pa-voce.on { opacity: 1; transform: none; transition-delay: .3s; pointer-events: auto; }
.pa-voce.su { transform: translateY(-34px); }
.pa-voce blockquote { font-family: var(--tit); font-size: clamp(64px, 7.6vw, 124px); line-height: .92; font-weight: 800; text-transform: uppercase; }
.pa-voce figcaption { margin-top: 22px; font-size: 15px; line-height: 22px; color: var(--chiaro3); }
.pa-giu { display: flex; align-items: center; gap: 18px; margin-top: 44px; }
.pa-giu .cartello { color: var(--chiaro3); } .pa-giu .cartello b { color: #fff; }
.pa-tacche { display: flex; gap: 6px; }
.pa-tacca { width: 44px; height: 44px; display: flex; align-items: center; justify-content: center; }
.pa-tacca i { display: block; width: 30px; height: 3px; border-radius: 2px; background: var(--bianco); opacity: .28; transition: opacity .2s linear; }
.pa-tacca.on i { opacity: 1; }

/* ---------- 7 · dal suo garage ---------- */
.garage { display: grid; grid-template-columns: minmax(0, 420px) minmax(0, 1fr); gap: 0; background: var(--asfalto); color: var(--bianco); }
.ga-video { display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 80px 40px 80px 60px; }
.ga-video .telefono { width: min(320px, 42vh); }
.ga-video .tl-vetro { border-color: #2A2E36; box-shadow: none; }
.ga-video figcaption { color: var(--chiaro3); }
.ga-dx { min-width: 0; padding: 90px 0 80px; }
.ga-testa { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; padding: 0 40px 44px 20px; }
.ga-testa .riga-su { margin-bottom: 14px; color: var(--chiaro3); }
.ga-frecce { display: flex; gap: 10px; }
.car-freccia { position: relative; display: flex; align-items: center; justify-content: center; width: 50px; height: 50px; border-radius: 100%; border: 1px solid currentColor; transition: opacity .15s linear; }
.car-freccia svg { width: 17px; height: 13px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.car-freccia.spento { opacity: .3; }
.ga-binario { display: flex; gap: 16px; padding: 0 12px 0 20px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth; scroll-padding-left: 20px; cursor: grab; }
.ga-voce { flex: none; width: calc((100% - 32px) / 3); margin: 0; scroll-snap-align: start; }
.ga-voce img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 10px; background: var(--ink2); }
.ga-voce figcaption { margin-top: 12px; font-size: 15px; line-height: 20px; color: var(--chiaro3); }
.ga-voce figcaption b { display: block; font-family: var(--tit); font-size: 24px; line-height: 26px; font-weight: 800; text-transform: uppercase; color: #fff; }
.puntini { display: flex; justify-content: center; gap: 6px; height: 7px; }
.puntini i { width: 7px; height: 7px; border-radius: 7px; background: currentColor; opacity: .28; cursor: pointer; transition: .1s linear; }
.puntini i.on { width: 25px; opacity: 1; }
.garage .puntini { display: none; }
.car-binario { scrollbar-width: none; }
.car-binario::-webkit-scrollbar { display: none; }
.car-binario.trascina { scroll-snap-type: none !important; scroll-behavior: auto !important; cursor: grabbing; }

/* ---------- 8 · come funziona: quattro carte che si annunciano ---------- */
.passi { padding: 110px 40px 110px; background: var(--bianco); }
.pas-testa { display: flex; align-items: flex-end; justify-content: space-between; gap: 30px; margin-bottom: 54px; }
.pas-testa .riga-su { margin-bottom: 14px; }
.pas-fila { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.pas-carta { position: relative; display: flex; flex-direction: column; background: var(--grigio2); border-radius: 12px; overflow: hidden;
  opacity: 0; transform: translateY(60px); transition: opacity .5s linear, transform .9s var(--molla); }
.passi.vista .pas-carta { opacity: 1; transform: none; }
.passi.vista .pas-carta:nth-child(2) { transition-delay: .12s; } .passi.vista .pas-carta:nth-child(3) { transition-delay: .24s; } .passi.vista .pas-carta:nth-child(4) { transition-delay: .36s; }
.pas-foto { aspect-ratio: 4 / 3; overflow: hidden; background: var(--ink2); }
.pas-foto img { width: 100%; height: 100%; object-fit: cover; }
.pas-corpo { padding: 22px 22px 26px; }
.pas-corpo .cartello { display: block; margin-bottom: 14px; }
.pas-corpo h3 { font-family: var(--tit); font-size: 34px; line-height: .98; font-weight: 800; text-transform: uppercase; margin-bottom: 12px; text-wrap: balance; }
.pas-corpo p { font-size: 16px; line-height: 24px; color: var(--tenue); }
.pas-fine { display: flex; justify-content: center; margin-top: 54px; }
/* la versione corta per catalogo e scheda */
.passi.corti { padding-top: 90px; padding-bottom: 90px; }
.passi.corti .pas-carta { opacity: 1; transform: none; }

/* ---------- 9 · piede ---------- */
footer.piede { background: var(--asfalto); color: var(--chiaro3); padding: 100px 40px 0; overflow: hidden; }
.pi-vende { display: flex; align-items: center; justify-content: space-between; gap: 30px; padding-bottom: 70px; margin-bottom: 70px; border-bottom: 1px solid var(--riga-c); }
.pi-vende .t-due { color: #fff; max-width: 760px; }
.pi-vende .bottone { height: 62px; padding: 0 38px; font-size: 15px; }
.pi-su { display: grid; grid-template-columns: minmax(0, 2fr) repeat(3, minmax(0, 1fr)); column-gap: clamp(22px, 3.47vw, 50px); }
footer.piede h4 { font-size: 13px; line-height: 16px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; margin-bottom: 20px; color: var(--bianco); }
.pi-missione p { max-width: 400px; font-size: 20px; line-height: 30px; color: var(--bianco); }
.pi-col { min-width: 0; }
.pi-col > a, .pi-col > button { display: flex; align-items: center; gap: 12px; width: max-content; max-width: 100%; min-height: 34px; font-size: 15px; line-height: 18px; text-align: left; }
.pi-col > a span, .pi-col > button span { background: linear-gradient(currentColor, currentColor) 0 100% / 0 1px no-repeat; padding-bottom: 3px; transition: background-size .15s linear; }
@media (hover: hover) { .pi-col > a:hover span, .pi-col > button:hover span { background-size: 100% 1px; } }
.pi-col svg { flex: none; width: 17px; height: 17px; fill: none; stroke: currentColor; stroke-width: 1.4; stroke-linecap: round; stroke-linejoin: round; }
.pi-nome { margin: 60px -40px 0; font-family: var(--tit); font-size: 27.5vw; line-height: .8; font-weight: 800; letter-spacing: -.01em; text-align: center; white-space: nowrap; color: var(--bianco); }
.pi-giu { display: flex; justify-content: space-between; gap: 20px; margin-top: 40px; padding: 26px 0 30px; border-top: 1px solid var(--riga-c); font-size: 14px; line-height: 22px; }

/* ---------- l'avviso dopo «Chiedi quest'auto» ---------- */
.avviso { position: fixed; z-index: 200; left: 50%; bottom: 26px; width: min(520px, calc(100vw - 28px)); transform: translate(-50%, 30px); padding: 18px 54px 18px 22px; border-radius: 14px; background: var(--ink); color: #fff;
  box-shadow: 0 24px 50px -20px rgba(15, 17, 20, .7); opacity: 0; visibility: hidden; transition: opacity .25s linear, transform .4s var(--molla), visibility 0s .4s; }
.avviso.su { opacity: 1; visibility: visible; transform: translate(-50%, 0); transition: opacity .25s linear, transform .4s var(--molla); }
.avviso b { display: block; font-size: 17px; line-height: 24px; font-weight: 600; }
.avviso span { display: block; margin-top: 4px; font-size: 15px; line-height: 22px; color: var(--chiaro3); overflow-wrap: anywhere; }
.avviso a { color: #fff; text-decoration: underline; text-underline-offset: 3px; }
.avviso .av-x { position: absolute; right: 6px; top: 6px; width: 44px; height: 44px; }
.avviso .av-x::before, .avviso .av-x::after { content: ''; position: absolute; left: 13px; top: 21px; width: 18px; height: 1.6px; background: #fff; transform: rotate(45deg); }
.avviso .av-x::after { transform: rotate(-45deg); }

/* ---------- cassetti ---------- */
.velo-cassetti { position: fixed; inset: 0; z-index: 90; background: rgba(15, 17, 20, .8); opacity: 0; visibility: hidden; transition: .2s linear; }
.cassetto { position: fixed; top: 0; right: 0; z-index: 100; width: 480px; max-width: 100%; height: 100%; background: var(--bianco); color: var(--ink); transform: translateX(100%); visibility: hidden;
  transition: transform .5s var(--cass), visibility 0s .5s; overflow-y: auto; }
html.cassetto-aperto body { left: -480px; }
html.cassetto-aperto .velo-cassetti { opacity: 1; visibility: visible; }
.cassetto.aperto { transform: none; visibility: visible; transition: transform .5s var(--cass); }
.ca-testa { position: sticky; top: 0; z-index: 2; display: flex; align-items: center; justify-content: space-between; height: 85px; padding: 0 30px 0 40px; background: var(--bianco);
  border-bottom: 1px solid var(--riga); font-size: 14px; line-height: 22px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; }
.ca-x { position: relative; width: 44px; height: 44px; margin-right: -11px; }
.ca-x::before, .ca-x::after { content: ''; position: absolute; left: 12px; top: 21px; width: 20px; height: 1.6px; background: var(--ink); transform: rotate(45deg); }
.ca-x::after { transform: rotate(-45deg); }
.ca-corpo { padding: 40px; }
.me-grandi a { display: block; font-family: var(--tit); font-size: 46px; line-height: 54px; font-weight: 800; text-transform: uppercase; }
.me-piccoli { margin-top: 30px; }
.me-piccoli a { display: block; font-size: 16px; line-height: 40px; }
.me-cartolina { position: relative; display: block; margin-top: 40px; height: 252px; overflow: hidden; border-radius: 10px; color: #fff; text-align: center; }
.me-cartolina img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.me-cartolina::before { content: ''; position: absolute; inset: 0; z-index: 1; background: rgba(15, 17, 20, .6); }
.me-cartolina > span { position: relative; z-index: 2; display: flex; flex-direction: column; align-items: center; justify-content: center; height: 100%; padding: 0 20px; }
.me-cartolina b { font-family: var(--tit); font-size: 34px; line-height: 34px; font-weight: 800; text-transform: uppercase; }
.me-cartolina small { font-size: 15px; line-height: 22px; margin: 8px 0 18px; }
.me-cartolina .bottone { height: 46px; }
.ce-campo { display: block; width: 100%; height: 56px; padding: 0 40px; border: 0; border-bottom: 1px solid var(--riga); background: transparent; color: inherit; font: inherit; font-size: 17px; outline: none; }
.ce-campo:focus-visible { box-shadow: inset 0 -2px 0 var(--ink); }
.ce-esiti { padding: 10px 40px 40px; }
.ri-corpo { padding: 23px 40px 40px; }
.ri-vuota { font-size: 16px; color: var(--tenue); margin-bottom: 21px; }
.ri-corpo .bottone { width: 100%; height: 54px; }
.ri-voce, .ce-voce { display: grid; grid-template-columns: 96px 1fr auto; gap: 16px; align-items: center; padding: 14px 0; border-bottom: 1px solid var(--riga); }
.ri-voce img, .ce-voce img { width: 96px; height: 72px; object-fit: cover; background: var(--grigio2); border-radius: 6px; }
.ri-voce b, .ce-voce b { display: block; font-family: var(--tit); font-size: 23px; line-height: 24px; font-weight: 800; text-transform: uppercase; }
.ri-voce small, .ce-voce small { display: block; font-size: 14px; line-height: 18px; color: var(--tenue); margin-top: 3px; }
.ri-togli { min-height: 44px; padding: 0 4px; font-size: 14px; text-decoration: underline; text-underline-offset: 3px; }
.ri-msg { margin-top: 26px; padding: 16px 18px 18px; border-radius: 12px; background: var(--grigio2); }
.ri-etich { display: block; margin-bottom: 6px; font-size: 12px; line-height: 18px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--tenue); }
.ri-msg p { font-size: 16px; line-height: 24px; overflow-wrap: anywhere; }
.ri-azioni { display: grid; gap: 12px; margin-top: 18px; }
.ri-nota { font-size: 15px; line-height: 22px; color: var(--tenue); margin-top: 14px; }
.ri-nota.fatto { color: var(--ink); font-weight: 600; font-size: 16px; }

/* ---------- scheda dell'auto (scheda.html) ---------- */
.briciole { display: flex; align-items: center; min-height: 56px; padding: 0 40px; border-bottom: 1px solid var(--riga); font-size: 14px; line-height: 22px; }
.briciole a, .briciole b { color: var(--tenue); }
.briciole b { font-weight: 600; }
.briciole span { opacity: .4; margin: 0 12px; }
.pp { display: grid; grid-template-columns: 56% 44%; border-bottom: 1px solid var(--riga); }
.pp-testa-tel { display: none; }
.pp-galleria { position: relative; background: var(--grigio2); }
.pp-dentro { position: sticky; top: var(--testa); height: calc(100vh - var(--testa) - 56px); min-height: 520px; max-height: 1000px; overflow: hidden; }
.pp-binario { display: flex; height: 100%; overflow-x: auto; overflow-y: hidden; scroll-snap-type: x mandatory; scroll-behavior: smooth; cursor: grab; }
.pp-foto { position: relative; flex: none; display: flex; align-items: center; justify-content: center; width: 100%; height: 100%; padding: 36px 36px 104px; scroll-snap-align: start; }
.pp-foto.sola { padding-bottom: 36px; }
/* la foto intera, mai piu' grande della sua misura vera */
.pp-foto img { width: auto; height: auto; max-width: min(100%, var(--mw, 960px)); max-height: min(100%, var(--mh, 960px)); border-radius: 12px; }
.pp-mini { position: absolute; left: 0; right: 0; bottom: 22px; display: flex; justify-content: center; gap: 8px; padding: 0 16px; }
.pp-m { flex: none; width: 60px; height: 60px; padding: 0; border: 1px solid rgba(20, 22, 26, .15); border-radius: 8px; overflow: hidden; background: var(--bianco); }
.pp-m img { width: 100%; height: 100%; object-fit: cover; }
.pp-m.on { border-color: var(--ink); box-shadow: 0 0 0 1px var(--ink); }
.pp-info { border-left: 1px solid var(--riga); }
.pp-info-dentro { padding: 70px 60px 80px 64px; }
.sk-marca { display: block; font-size: 13px; line-height: 20px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; }
.sk-nome { margin: 18px 0 0; font-family: var(--tit); font-size: 72px; line-height: .94; font-weight: 800; text-transform: uppercase; text-wrap: balance; }
.sk-prezzo { margin-top: 16px; color: var(--tenue); }
.sk-prezzo b { font-size: 17px; line-height: 26px; font-weight: 500; }
.sk-desc { margin-top: 30px; max-width: 520px; font-size: 18px; line-height: 28px; }
.sk-opz { margin-top: 34px; }
.sk-opz-nome { display: block; font-size: 13px; line-height: 20px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; }
.sk-vede { margin-top: 12px; max-width: 520px; border-top: 1px solid var(--riga); }
.sk-vede li { position: relative; padding: 12px 0 12px 22px; border-bottom: 1px solid var(--riga); font-size: 17px; line-height: 24px; }
.sk-vede li::before { content: ''; position: absolute; left: 2px; top: 21px; width: 8px; height: 8px; border-radius: 50%; background: var(--ink); }
.sk-bottoni { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 34px; max-width: 520px; }
.sk-bottoni .bottone { width: 100%; padding: 0 14px; }
.sk-nota { margin-top: 14px; max-width: 520px; font-size: 15px; line-height: 22px; color: var(--tenue); }
.anche-testa { padding: 100px 40px 50px; }
.anche-testa .riga-su { margin-bottom: 14px; }

/* ---------- catalogo ---------- */
.cat-testa { display: flex; flex-direction: column; align-items: flex-start; padding: 90px 40px 46px; }
.cat-testa .t-grande { margin: 16px 0 20px; }
.cat-testa p { max-width: 560px; color: var(--tenue); }
.filtri { display: flex; flex-wrap: wrap; gap: 10px; padding: 0 40px 30px; }
.filtro { display: inline-flex; align-items: center; height: 46px; padding: 0 22px; border: 1px solid rgba(20, 22, 26, .25); border-radius: 30px; font-size: 14px; font-weight: 600; letter-spacing: .07em; text-transform: uppercase; transition: background .15s linear, color .15s linear; }
.filtro.on { background: var(--ink); border-color: var(--ink); color: #fff; }
.cat-conta { padding: 0 40px 22px; font-size: 15px; line-height: 22px; color: var(--tenue); }


/* ---------- REVISIONE 2/12 sera: ponti fra le parti, una riga sola del piazzale, cartelli che salgono ---------- */
@property --co-pag { syntax: '<color>'; inherits: true; initial-value: #2340B4; }
html { transition: --co-pag 1.4s linear; }
.co-sfuma { height: 16vh; min-height: 96px; pointer-events: none; }
.co-sfuma.su { background: linear-gradient(to bottom, var(--bianco), var(--co-pag)); }
.co-sfuma.giu { background: linear-gradient(to top, var(--bianco), var(--co-pag)); }
.sfuma-nero { height: 30vh; min-height: 160px; background: linear-gradient(to bottom, var(--bianco), var(--asfalto)); pointer-events: none; }
.apertura.attiva .ap-taglio { transition: height .8s var(--molla); }
html.pronto .annuncia { opacity: 0; transform: translateY(22px); transition: opacity .5s linear, transform .8s var(--molla); }
html.pronto .annuncia.su { opacity: 1; transform: none; }
.riga-fuori { overflow: hidden; }
.riga-piazzale { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); margin-right: -1px; }
.riga-piazzale .gp-cella { border-bottom: 0; }
.piazzale .puntini { display: none; }
.piazzale-testa .bottone { flex: none; }

/* =========================================================================
   Fra 1024 e 1439 px l'impaginazione del computer si stringe
   ========================================================================= */
@media (min-width: 1024px) and (max-width: 1439px) {
  .t-grande { font-size: clamp(62px, 6.1vw, 88px); }
  .t-due { font-size: clamp(44px, 4vw, 58px); }
  .ap-testo, .fs-dentro, .vi-fermo { padding-left: clamp(40px, 7vw, 101px); }
  .pa-dx { padding: 60px clamp(30px, 4.2vw, 60px) 60px clamp(36px, 5.55vw, 80px); }
  .pp-info-dentro { padding-left: clamp(34px, 4.4vw, 64px); padding-right: clamp(30px, 4.1vw, 60px); }
  .sk-nome { font-size: clamp(52px, 5vw, 72px); }
  .co-nome .t-due { font-size: clamp(38px, 3.6vw, 58px); }
  .pas-corpo h3 { font-size: clamp(27px, 2.36vw, 34px); }
  .pas-corpo { padding: 18px 18px 22px; }
  .garage { grid-template-columns: minmax(0, 340px) minmax(0, 1fr); }
  .ga-video { padding-left: 40px; padding-right: 20px; }
}
@media (min-width: 1024px) and (max-width: 1279px) {
  .sk-bottoni { grid-template-columns: 1fr; }
  .prod-dida { padding-left: 18px; padding-right: 70px; }
  .prod-nome { font-size: 25px; line-height: 27px; }
  .co-azioni { flex-direction: column-reverse; align-items: flex-end; gap: 6px; }
  .logo small { display: none; }
  .pas-fila { grid-template-columns: repeat(2, 1fr); }
  .ga-voce { width: calc((100% - 16px) / 2); }
  .pi-vende .t-due { font-size: 44px; }
}
@media (min-width: 1024px) and (max-height: 700px) {
  .co-pezzo img { width: min(40vw, var(--mw, 760px), calc(42vh * var(--r, 1.6))); }
  .co-nome .t-due { font-size: 40px; }
}

/* =========================================================================
   TELEFONO (fino a 1023 px)
   ========================================================================= */
@media (max-width: 1023px) {
  :root { --testa: 64px; }
  body { font-size: 16px; line-height: 25px; transition: left .25s linear; }
  .t-grande { font-size: 54px; line-height: .95; }
  .t-due { font-size: 42px; line-height: .98; }
  .t-tre, .t-medio { font-size: 34px; }
  .riga-su, .sotto-t { font-size: 12px; line-height: 18px; }
  .bottone { height: 50px; padding: 0 24px; }
  .freccia { display: none; }
  .solo-tel { display: block; }
  .solo-pc { display: none !important; }
  .bottone > .solo-tel { display: block; }
  .pi-su > .pi-col:nth-child(2) { display: none; }

  .ca-conta { right: 20px; bottom: 22px; font-size: 22px; }
  .annuncio { padding: 5px 14px; letter-spacing: .08em; }
  .testata { padding: 0 4px 0 16px; }
  .logo b { font-size: 29px; }
  .logo small { display: none; }
  .icone { gap: 0; }
  .ico-cerca { display: none; }
  .testata .bottone.vende { height: 42px; padding: 0 16px; margin-right: 4px; font-size: 13px; letter-spacing: .05em; }

  /* apertura: carosello a scatto, il testo nel terzo basso della foto sopra la sfumatura */
  .ap-binario { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth; scrollbar-width: none; }
  .ap-binario::-webkit-scrollbar { display: none; }
  .ap-dia { flex: none; display: block; width: 100%; height: calc(100vh - 158px); height: calc(100svh - 158px); min-height: 430px; scroll-snap-align: start; }
  .ap-testo { position: relative; z-index: 4; height: 100%; align-items: flex-start; justify-content: flex-end; padding: 0 20px 26px; background: none; color: #fff; text-shadow: 0 1px 14px rgba(15, 17, 20, .65); }
  .ap-testo .riga-su { margin-bottom: 10px; }
  .ap-testo .t-grande { margin-bottom: 12px; font-size: 50px; }
  .ap-sotto { margin-bottom: 18px; font-size: 16px; line-height: 23px; color: #fff; }
  .ap-testo .bottone { text-shadow: none; }
  .ap-testo .bottone.pieno { background: var(--bianco); color: var(--ink); }
  .ap-testo .bottone.filo { border-color: #fff; color: #fff; }
  .ap-bottoni { gap: 8px; }
  .ap-foto { position: absolute; inset: 0; }
  .ap-taglio, .ap-dia + .ap-dia .ap-taglio, .apertura.attiva .ap-taglio { position: absolute; inset: 0; width: 100%; height: 100%; }
  .ap-fisso { height: 100%; min-height: 0; }
  .ap-fisso img { object-position: var(--fuoco-tel, 50% 30%); }
  .ap-fisso::after { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 78%; background: var(--sfuma); pointer-events: none; }
  .ap-velo { opacity: 0 !important; }
  .car-barra { position: relative; display: flex; align-items: center; height: 60px; padding: 0 8px 0 20px; border-bottom: 1px solid var(--riga); }
  .car-indice { flex: 1; font-family: var(--tit); font-weight: 600; font-size: 20px; line-height: 22px; }
  .car-indice b { font-weight: 800; }
  .car-indice .sb { margin: 0 4px; }
  .ap-barra .car-freccia { width: 44px; height: 44px; border: 0; }

  /* colore */
  .colore { height: calc(100vh - var(--testa)); height: calc(100svh - var(--testa)); min-height: 560px; max-height: 800px; }
  .co-testa { left: 0; right: 0; top: 20px; text-align: center; }
  .co-fr { display: none; }
  .co-scritta { top: 18%; }
  .co-nastro { font-size: 24vw; animation: none; transform: translate3d(20px, 0, 0); }
  .co-pezzo { top: 44%; }
  .co-pezzo img { width: min(100vw, var(--mw, 760px), calc(30vh * var(--r, 1.6))); }
  .co-pezzo.sx { --x: -92vw; --s: .5; } .co-pezzo.dx { --x: 92vw; --s: .5; }
  .co-pezzo.via.s { --x: -160vw; } .co-pezzo.via.d { --x: 160vw; }
  .co-basso { display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 0 18px 18px; text-align: center; }
  .co-nome .t-due { margin-top: 0; font-size: 38px; }
  .co-nome small { margin-top: 2px; }
  .co-pallini { padding: 0; }
  .co-azioni { justify-self: auto; width: 100%; flex-direction: column; gap: 2px; }
  .co-azioni .bottone { width: 100%; }
  .co-azioni a.sottolineato { display: inline-flex; align-items: center; min-height: 44px; }

  /* griglia */
  .piazzale-testa { padding: 64px 20px 34px; }
  .piazzale-testa .cartello { display: none; }
  .griglia-prod { grid-template-columns: 1fr; }
  .prod-dida { min-height: 88px; padding: 16px 76px 16px 20px; }
  .prod-agg { right: 14px; bottom: 19px; }
  .gp-tutti { min-height: 200px; }
  .riga-piazzale { display: flex; gap: 24px; padding: 0 20px; margin: 0; overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-left: 20px; }
  .riga-piazzale .gp-cella { flex: none; width: 100%; scroll-snap-align: start; border: 0; }
  .riga-piazzale .gp-tutti { min-height: 0; }
  .piazzale .puntini { display: flex; align-items: center; height: 48px; color: var(--ink); }
  .co-sfuma { height: 10vh; min-height: 64px; }
  .sfuma-nero { height: 22vh; }

  /* le colonne: il titolo resta in alto, le due colonne scorrono sotto */
  .vicino { display: block; }
  .vi-fermo { position: sticky; top: var(--testa); z-index: 2; height: auto; min-height: 0; padding: 18px 20px 16px; background: var(--bianco); }
  .vi-fermo .riga-su { display: none; }
  .vi-fermo::after { content: ''; position: absolute; left: 0; right: 0; top: 100%; height: 22px; background: linear-gradient(var(--bianco), rgba(245, 246, 247, 0)); pointer-events: none; }
  .vi-fermo .t-grande { margin: 0; font-size: 40px; }
  .vi-fermo p, .vi-conta { display: none; }
  .vi-colonne { grid-template-columns: 1fr; gap: 14px; padding: 16px 20px 48px; }
  .vi-col { gap: 14px; transform: none !important; }
  .vi-col + .vi-col { padding-top: 0; }
  .vi-pezzo { border-radius: 8px; }
  .vi-pezzo figcaption { padding: 40px 14px 12px; font-size: 15px; line-height: 20px; }

  /* reel */
  .reel { display: block; }
  .fs-dentro { height: auto; padding: 64px 20px 10px; }
  .fs-dentro .bottone { margin-top: 26px; }
  .re-video { padding: 40px 20px 64px; border-left: 0; background: var(--bianco); }
  .telefono { width: min(300px, 78vw); }
  .tl-vetro { border-width: 7px; border-radius: 32px; }

  /* parole */
  .parole { display: block; }
  .pa-sx .fs-dentro { min-height: 0; padding: 64px 20px 34px; }
  .pa-dx { min-height: 0; padding: 30px 20px 50px; border-left: 0; }
  .pa-voce blockquote { font-size: clamp(58px, 17vw, 96px); }
  .pa-giu { margin-top: 26px; }

  /* garage */
  .garage { display: flex; flex-direction: column-reverse; }
  .ga-video { padding: 10px 20px 64px; }
  .ga-video .telefono { width: min(260px, 70vw); }
  .ga-dx { padding: 64px 0 40px; }
  .ga-testa { padding: 0 20px 30px; }
  .ga-frecce { display: none; }
  .ga-binario { gap: 24px; padding: 0 20px; }
  .ga-voce { width: 100%; }
  .garage .puntini { display: flex; align-items: center; height: 48px; color: #fff; }

  /* passi */
  .passi { padding: 64px 20px 64px; }
  .pas-testa { margin-bottom: 30px; }
  .pas-testa > .cartello { display: none; }
  .pas-fila { grid-template-columns: 1fr; gap: 14px; }
  .pas-carta { flex-direction: row; align-items: stretch; transform: translateY(40px); }
  .pas-foto { flex: none; width: 38%; aspect-ratio: auto; }
  .pas-corpo { padding: 16px 16px 18px; }
  .pas-corpo .cartello { margin-bottom: 8px; font-size: 17px; }
  .pas-corpo h3 { font-size: 27px; margin-bottom: 8px; }
  .pas-corpo p { font-size: 15px; line-height: 21px; }
  .pas-fine { margin-top: 30px; }
  .pas-fine .bottone { width: 100%; }

  footer.piede { padding: 64px 20px 0; }
  .pi-vende { flex-direction: column; align-items: flex-start; gap: 24px; padding-bottom: 50px; margin-bottom: 50px; }
  .pi-vende .bottone { width: 100%; height: 56px; padding: 0 20px; }
  .pi-su { display: block; }
  .pi-col { margin-bottom: 40px; }
  .pi-col > a, .pi-col > button { min-height: 44px; }
  .pi-nome { margin: 10px -20px 0; }
  .pi-giu { display: block; margin-top: 26px; padding: 20px 0 26px; }
  .pi-giu span { display: block; }

  .avviso { bottom: 14px; }
  .cassetto { width: 374px; transition: transform .25s linear, visibility 0s .25s; }
  .cassetto.aperto { transition: transform .25s linear; }
  html.cassetto-aperto body { left: -374px; }
  .ca-testa { height: 73px; padding: 0 16px 0 25px; }
  .ca-corpo { padding: 30px 25px; }
  .me-grandi a { font-size: 40px; line-height: 50px; }
  .me-piccoli { margin-top: 22px; }
  .me-piccoli a { line-height: 44px; }
  .me-cartolina { height: 220px; margin-top: 26px; }
  .ce-campo, .ce-esiti { padding-left: 25px; padding-right: 25px; }
  .ri-corpo { padding: 23px 25px 40px; }
  .ri-voce, .ce-voce { grid-template-columns: 80px 1fr auto; gap: 12px; }
  .ri-voce img, .ce-voce img { width: 80px; height: 60px; }

  /* scheda al telefono */
  .briciole { min-height: 44px; padding: 0 20px; font-size: 13px; line-height: 20px; }
  .briciole span { margin: 0 8px; }
  .pp { display: block; }
  .pp-testa-tel { display: block; padding: 22px 20px 20px; border-bottom: 1px solid var(--riga); }
  .pp-testa-tel .sk-nome { margin-top: 8px; font-size: 48px; }
  .pp-testa-tel .sk-prezzo { margin-top: 8px; }
  .pp-dentro { position: relative; top: 0; height: auto; min-height: 0; max-height: none; }
  .pp-binario { height: min(96vw, 64vh); }
  .pp-foto { padding: 14px 14px 84px; }
  .pp-foto.sola { padding-bottom: 14px; }
  .pp-mini { bottom: 14px; gap: 6px; justify-content: flex-start; overflow-x: auto; scrollbar-width: none; }
  .pp-mini::-webkit-scrollbar { display: none; }
  .pp-mini.poche { justify-content: center; }
  .pp-m { width: 54px; height: 54px; }
  .pp-info { border-left: 0; }
  .pp-info-dentro { padding: 26px 20px 50px; }
  .pp-info-dentro .sk-marca, .pp-info-dentro .sk-nome, .pp-info-dentro .sk-prezzo { display: none; }
  .pp-info-dentro .sk-desc { margin-top: 22px; font-size: 17px; line-height: 26px; }
  .sk-opz { margin-top: 26px; }
  .sk-bottoni { grid-template-columns: 1fr; gap: 10px; margin-top: 26px; }
  .anche-testa { padding: 60px 20px 30px; }

  .cat-testa { padding: 54px 20px 30px; }
  .filtri { gap: 8px; padding: 0 20px 24px; }
  .filtro { height: 44px; padding: 0 14px; font-size: 13px; letter-spacing: .04em; }
  .cat-conta { padding: 0 20px 18px; }
}
@media (max-width: 380px) {
  .cassetto { width: 100%; }
  html.cassetto-aperto body { left: -100vw; }
  .logo b { font-size: 26px; }
  .testata .bottone.vende { padding: 0 12px; font-size: 12px; }
  .ap-testo .t-grande { font-size: 44px; }
}
/* telefono basso (390x664 e simili): tutto in uno schermo */
@media (max-width: 1023px) and (max-height: 700px) {
  .ap-testo .t-grande { font-size: 42px; }
  .ap-sotto { font-size: 15px; line-height: 21px; margin-bottom: 14px; }
  .co-testa { top: 12px; }
  .co-pezzo { top: 40%; }
  .co-pezzo img { width: min(100vw, var(--mw, 760px), calc(24vh * var(--r, 1.6))); }
  .co-scritta { top: 16%; }
  .co-basso { padding-bottom: 8px; gap: 2px; }
  .co-nome .t-due { font-size: 32px; }
  .co-pallino { height: 40px; }
}
/* da 600 a 1023 px (tablet): impaginazione del telefono, piu' larga */
@media (min-width: 600px) and (max-width: 1023px) {
  .griglia-prod { grid-template-columns: repeat(2, 1fr); }
  .riga-piazzale .gp-cella { width: calc((100% - 24px) / 2); }
  .ap-testo { padding: 0 34px 40px; }
  .ap-testo .t-grande { font-size: 68px; max-width: 620px; }
  .co-pezzo img { width: min(76vw, var(--mw, 760px), calc(34vh * var(--r, 1.6))); }
  .co-pezzo.sx { --x: -74vw; } .co-pezzo.dx { --x: 74vw; }
  .vi-colonne { grid-template-columns: 1fr 1fr; gap: 14px; padding: 20px 20px 50px; }
  .vi-col + .vi-col { padding-top: 70px; }
  .pas-fila { grid-template-columns: 1fr 1fr; }
  .pas-carta { flex-direction: column; }
  .pas-foto { width: auto; aspect-ratio: 4 / 3; }
  .ga-voce { width: calc((100% - 24px) / 2); }
  .pp-binario { height: min(70vw, 60vh); }
  .pi-su { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); column-gap: 24px; }
  .pi-missione { grid-column: 1 / -1; }
  .pi-missione p { max-width: none; }
  .pi-vende { flex-direction: row; align-items: center; }
  .pi-vende .bottone { width: auto; }
}

@media (prefers-reduced-motion: reduce) { *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; scroll-behavior: auto !important; } }

/* ---------- pagine legali intere (privacy.html, cookie.html) ---------- */
.foglio { max-width: 760px; margin: 0 auto; padding: 44px 22px 60px; font-size: 17px; line-height: 1.6; }
.foglio .torna { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; font-size: 14px; font-weight: 600; text-transform: uppercase; letter-spacing: .07em; }
.foglio .torna svg { width: 16px; height: 16px; }
.foglio .occhiello { font-size: 13px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; }
.foglio h1 { font-family: var(--tit); font-size: clamp(54px, 9vw, 88px); line-height: .95; font-weight: 800; text-transform: uppercase; margin: 10px 0 26px; }
.foglio h1 em { font-style: normal; }
.carta-legale h2 { font-family: var(--tit); font-size: 34px; line-height: 1.05; font-weight: 800; text-transform: uppercase; margin: 38px 0 12px; }
.carta-legale h2 .num { font-family: var(--txt); font-size: 14px; font-weight: 600; color: var(--tenue); margin-right: 12px; }
.carta-legale h3 { font-size: 19px; margin: 22px 0 8px; }
.carta-legale p { margin: 0 0 12px; }
.carta-legale ul { list-style: disc; padding-left: 22px; margin: 0 0 12px; }
.carta-legale li { margin-bottom: 6px; }
.carta-legale a { text-decoration: underline; text-underline-offset: 3px; overflow-wrap: anywhere; }
.carta-legale .sommario { font-size: 19px; }
.carta-legale .aggiornata { font-size: 14px; opacity: .75; }
.carta-legale .scheda { padding: 16px 18px; background: var(--grigio2); border-left: 3px solid var(--ink); margin: 0 0 14px; }
.carta-legale .scheda p { margin: 0 0 4px; }
.carta-legale .tabella-scorre { overflow-x: auto; margin: 0 0 14px; }
.carta-legale table { border-collapse: collapse; width: 100%; min-width: 560px; font-size: 15px; }
.carta-legale th, .carta-legale td { text-align: left; vertical-align: top; padding: 9px 10px; border-bottom: 1px solid var(--riga); }
.carta-legale th { font-size: 13px; font-weight: 600; text-transform: uppercase; }
.carta-legale button, .carta-legale .come-bottone { display: inline-flex; align-items: center; min-height: 46px; padding: 10px 22px; border: 1px solid var(--ink); border-radius: 30px; font-size: 14px; font-weight: 600; text-transform: uppercase; }
.piede-legale { margin-top: 44px; padding-top: 16px; border-top: 1px solid var(--riga); display: flex; flex-wrap: wrap; gap: 8px 20px; justify-content: space-between; font-size: 14px; }
.piede-legale .voci { display: flex; gap: 20px; }
#lg-banner .lg-tit { font-weight: 800; text-transform: uppercase; letter-spacing: 0; }
#lg-banner .lg-marchio { font-weight: 800; font-size: 26px; }
#lg-banner .lg-bottoni button, #lg-banner #lg-salva { border-radius: 30px; font-family: 'Barlow', sans-serif; font-weight: 600; letter-spacing: .03em; }
@media (max-width: 640px) {
  .carta-legale .tabella-scorre { overflow-x: visible; }
  .carta-legale table { min-width: 0; }
  .carta-legale thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .carta-legale tr { display: block; padding: 10px 0; border-bottom: 1px solid var(--riga); }
  .carta-legale td { display: block; padding: 2px 0; border: 0; }
  .carta-legale td:nth-child(1) { font-weight: 600; }
  .carta-legale td:nth-child(2)::before { content: 'Tipo: '; font-weight: 600; }
  .carta-legale td:nth-child(3)::before { content: 'A cosa serve: '; font-weight: 600; }
  .carta-legale td:nth-child(4)::before { content: 'Durata: '; font-weight: 600; }
}
