/* LA BOTTEGA DELL'APE REGINA · SITO 1 · il negozio elegante (4/12/2026)
   La forma del tema Split (reel fb-155pfm3FLxk) rifatta nel nostro codice: annuncio, testata, apertura a schermo diviso, griglia, cassetti.
   In piu': la giostra delle miscele (fb-1QKc9d7qh1), la colonna del posto (XSTREET fb-19xkoTzhh7), la lista su WhatsApp (MK STUDIO fb-1MXeA7igqj),
   gli orari col conto (mattone del 4/12). Colori: bianco, verde bosco #1E4630, oro del polline #E7A825 solo per WhatsApp.
   Titoli Nunito (bastone tondo come il marchio), testi Montserrat, le recensioni in Bodoni corsivo. Tutto in locale. */
@font-face { font-family: 'Nunito'; src: url('../font/nunito.woff2') format('woff2'); font-weight: 200 1000; font-style: normal; font-display: swap; }
@font-face { font-family: 'Montserrat'; src: url('../font/montserrat.woff2') format('woff2'); font-weight: 100 900; font-style: normal; font-display: swap; }
@font-face { font-family: 'Bodoni Moda'; src: url('../font/bodoni-moda-latin-400-italic.woff2') format('woff2'); font-weight: 400; font-style: italic; font-display: swap; }

:root {
  --bianco: #fff; --grigio: #F1F2EE; --grigio2: #E7E9E3; --verde: #1E4630; --verde2: #163724; --verde3: #2A5A3F; --oro: #E7A825; --oro2: #F2BC45;
  --riga: rgba(30, 70, 48, .13); --riga-c: rgba(255, 255, 255, .16); --chiaro: #E3ECE5; --tenue: #4F6357;
  --th: 84px;
  --curva: cubic-bezier(.39, .575, .565, 1); --cass: cubic-bezier(.25, .46, .45, .94); --molla: cubic-bezier(.3, .1, .2, 1);
  --tit: 'Nunito', 'Arial Rounded MT Bold', system-ui, sans-serif; --txt: 'Montserrat', system-ui, sans-serif; --ser: 'Bodoni Moda', 'Times New Roman', serif;
  /* per le pagine legali (legale.css) */
  --carta: #fff; --inchiostro: #1E4630; --brace: #E7A825; --fondo: #163724; --serif: 'Nunito', system-ui, sans-serif; --bastone: 'Montserrat', 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(--th); }
html.lg-aperto { overflow: hidden; }
body { margin: 0; position: relative; left: 0; background: var(--bianco); color: var(--verde); font-family: var(--txt); font-weight: 500; font-size: 16px; line-height: 1.6;
  -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 { margin: 0; }
.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(--verde); 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; }

/* ---------- caratteri ---------- */
.t-grande { font-family: var(--tit); font-size: 66px; line-height: 1.02; font-weight: 800; letter-spacing: -1.6px; }
.t-due { font-family: var(--tit); font-size: 46px; line-height: 1.06; font-weight: 800; letter-spacing: -1px; }
.t-tre { font-family: var(--tit); font-size: 30px; line-height: 1.12; font-weight: 800; letter-spacing: -.4px; }
.riga-su { display: block; font-size: 13px; line-height: 20px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; }
.t-grande, .t-due, .t-tre, .pr-nome, .se-col h3, .se-col p, .cat-testa p { text-wrap: balance; }
.p-lettura { font-size: 17px; line-height: 1.65; max-width: 470px; }

/* ---------- bottoni: pillola, al passaggio si allarga e compare la freccia (Split) ---------- */
.bottone { position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 10px; height: 54px; padding: 0 30px; border-radius: 30px;
  border: 1px solid transparent; font-size: 13px; line-height: 1; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; white-space: nowrap; overflow: hidden;
  transition: .15s linear; transition-property: padding, background, color, border-color; }
.bottone > span { display: block; }
.bottone.pieno { background: var(--verde); color: #fff; }
.bottone.pieno.chiaro { background: #fff; color: var(--verde); }
.bottone.filo { border-color: var(--verde); color: var(--verde); }
.bottone.filo.chiaro { border-color: #fff; color: #fff; }
.bottone.oro { background: var(--oro); color: var(--verde2); }
.bottone svg { flex: none; width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.freccia { display: block; width: 0; height: 50px; opacity: 0; position: relative; margin-left: -10px; transition: .15s linear; transition-property: width, opacity, margin; }
.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; margin-left: 0; }
  .bottone.filo:hover { background: var(--verde); color: #fff; }
  .bottone.filo.chiaro:hover { background: #fff; color: var(--verde); }
  .bottone.oro:hover { background: var(--oro2); }
}
.sottolineato { text-decoration: underline; text-underline-offset: 4px; text-decoration-thickness: 1px; }
.fila-bottoni { display: flex; flex-wrap: wrap; gap: 12px; }

/* ---------- barra d'annuncio e testata ---------- */
.annuncio { height: 34px; padding: 0 40px; background: var(--verde); color: var(--chiaro); font-size: 12px; line-height: 34px; font-weight: 600; letter-spacing: .12em; text-align: center; text-transform: uppercase; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.testata { position: sticky; top: 0; z-index: 50; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; height: var(--th); padding: 0 28px 0 40px;
  background: var(--bianco); border-bottom: 1px solid var(--riga); }
.logo { display: block; justify-self: start; }
.logo img { width: auto; height: 50px; }
.menu-su { display: flex; gap: 30px; font-size: 13px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; }
.menu-su a { position: relative; padding: 8px 0; }
.menu-su a::after { content: ''; position: absolute; left: 0; right: 0; bottom: 2px; height: 1.5px; background: currentColor; transform: scaleX(0); transform-origin: 0 50%; transition: transform .2s var(--curva); }
@media (hover: hover) { .menu-su a:hover::after { transform: none; } }
.icone { justify-self: end; display: flex; align-items: center; gap: 10px; }
.ico { position: relative; display: flex; align-items: center; justify-content: center; width: 44px; height: 44px; color: var(--verde); }
.ico svg { fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.ico-menu { display: none; }
.ico-menu svg { width: 27px; height: 16px; stroke-width: 2; stroke-linecap: butt; }
.la-lista { display: inline-flex; align-items: center; gap: 8px; height: 44px; padding: 0 6px; font-size: 13px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; }
.la-lista svg { width: 21px; height: 24px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.la-lista b { font-weight: 700; }
.la-lista .nn { white-space: nowrap; }
.la-lista.batte { animation: batte .5s var(--molla); }
@keyframes batte { 40% { transform: scale(1.12); } }
/* il bottone che conta: in alto a destra, oro, sempre su WhatsApp */
.wa-su { display: inline-flex; align-items: center; gap: 10px; height: 48px; padding: 0 22px 0 16px; border-radius: 30px; background: var(--oro); color: var(--verde2);
  font-size: 13px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; white-space: nowrap; position: relative; transition: background .15s linear; }
.wa-su svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.wa-su::after { content: ''; position: absolute; inset: -4px; border-radius: 34px; border: 2px solid var(--oro); opacity: 0; animation: anello 3.6s ease-out infinite; pointer-events: none; }
@keyframes anello { 0% { opacity: .9; transform: scale(.96); } 45% { opacity: 0; transform: scale(1.18); } 100% { opacity: 0; transform: scale(1.18); } }
@media (hover: hover) { .wa-su:hover { background: var(--oro2); } }

/* ---------- l'ape che passa da una scena all'altra ---------- */
.ape-vola, .ape-giunto { position: fixed; left: 0; top: 0; z-index: 45; width: 54px; height: auto; pointer-events: none; opacity: 0; will-change: transform, opacity; }
.ape-giunto { position: absolute; z-index: 30; }
/* i giunti tengono l'ape: niente taglio in verticale */
main > section, main > .griglia-fuori, main > .linea-blocco, footer.piede { position: relative; overflow-x: clip; }
html { overflow-x: clip; }
.griglia-fuori { overflow: visible; overflow-x: clip; }
footer.piede { overflow: visible; overflow-x: clip; }

/* ---------- 1 · apertura a schermo diviso ---------- */
.apertura { position: relative; }
.ap-dia { position: relative; display: grid; grid-template-columns: 50% 50%; height: calc(100vh - var(--th)); min-height: 560px; }
.ap-testo { display: flex; flex-direction: column; align-items: flex-start; justify-content: center; padding: 0 40px 8px 101px; background: var(--grigio); border-top: 1px solid var(--riga); }
.ap-testo .riga-su { margin-bottom: 24px; }
.ap-testo .t-grande { max-width: 560px; margin-bottom: 22px; }
.ap-testo .p-lettura { margin-bottom: 34px; }
.ap-foto { position: relative; }
.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(--th)); min-height: 560px; background: var(--fondo-foto, #fff); }
/* la foto riempie la meta' ma non supera mai la sua misura vera */
.ap-fisso img { position: absolute; inset: 0; margin: auto; width: 100%; height: 100%; max-width: var(--mw, 1080px); max-height: var(--mh, 1080px); object-fit: cover; }
.ap-velo { position: absolute; inset: 0; background: var(--verde2); opacity: 0; }
.apertura.attiva .ap-taglio { position: fixed; left: auto; right: 0; top: var(--th); 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; }

/* ---------- 2 · la giostra delle miscele (fb-1QKc9d7qh1) ---------- */
.giostra { position: relative; height: calc(100vh - var(--th) + var(--corsa, 3600px)); background: var(--bianco); }
.gi-palco { position: sticky; top: var(--th); height: calc(100vh - var(--th)); min-height: 600px; overflow: hidden; }
.gi-testa { position: absolute; z-index: 5; left: 40px; top: 34px; max-width: 520px; }
.gi-testa .t-due { margin-top: 10px; }
.gi-destra { position: absolute; z-index: 5; right: 40px; top: 38px; text-align: right; font-size: 15px; line-height: 24px; color: var(--tenue); max-width: 300px; }
.gi-destra b { display: block; font-family: var(--tit); font-size: 22px; line-height: 28px; font-weight: 800; color: var(--verde); }
.gi-cupola { position: absolute; z-index: 1; left: 50%; top: 0; width: 10px; height: 10px; border-radius: 50%; background: radial-gradient(circle at 50% 0%, var(--verde3) 0%, var(--verde) 46%, var(--verde2) 100%); transform: translate(-50%, 0); }
.gi-ruota { position: absolute; z-index: 3; left: 50%; top: 0; width: 0; height: 0; will-change: transform; }
.gi-scritta { position: absolute; z-index: 2; left: 50%; top: 0; width: 0; height: 0; will-change: transform; pointer-events: none; }
.gi-scritta svg { position: absolute; overflow: visible; }
.gi-scritta text { font-family: var(--tit); font-weight: 900; fill: rgba(255, 255, 255, .13); letter-spacing: .04em; text-transform: uppercase; }
.gi-pezzo { position: absolute; left: 0; top: 0; width: var(--s, 320px); height: var(--s, 320px); margin: calc(var(--s, 320px) / -2) 0 0 calc(var(--s, 320px) / -2); cursor: pointer; }
.gi-alza { display: block; width: 100%; height: 100%; transition: transform .7s var(--molla); will-change: transform; }
.gi-pezzo img { width: 100%; height: 100%; object-fit: contain; pointer-events: none; filter: drop-shadow(0 18px 22px rgba(22, 55, 36, .22)); }
.gi-gira { display: block; width: 100%; height: 100%; will-change: transform; }
.gi-pezzo.su .gi-alza { transform: translateY(-4%) scale(1.06); }
.gi-pezzo.lontano { visibility: hidden; }
.gi-pezzo.gira .gi-gira { animation: giro 1.25s var(--molla); }
@keyframes giro { from { transform: rotate(0); } to { transform: rotate(360deg); } }
@media (hover: hover) { .gi-pezzo:hover .gi-alza { transform: translateY(-7%) scale(1.06); } }
.gi-etichette { position: absolute; z-index: 4; left: 50%; bottom: 0; width: min(620px, 86vw); transform: translateX(-50%); height: var(--eh, 300px); color: #fff; text-align: center; }
.gi-et { position: absolute; left: 0; right: 0; top: 0; will-change: opacity; display: flex; flex-direction: column; align-items: center; opacity: 0; visibility: hidden;
  transition: opacity .3s linear, visibility 0s .3s; }
.gi-et.on { opacity: 1; visibility: visible; transition: opacity .4s linear .08s, visibility 0s; }
.gi-et .riga-su { color: var(--chiaro); opacity: .85; }
.gi-et h3 { margin: 8px 0 8px; font-family: var(--tit); font-size: 40px; line-height: 1.04; font-weight: 800; letter-spacing: -.6px; }
.gi-et p { max-width: 460px; font-size: 15px; line-height: 23px; color: var(--chiaro); }
.gi-et .fila-bottoni { justify-content: center; margin-top: 18px; }
.gi-et .bottone { height: 48px; padding: 0 24px; }
.gi-conta { position: absolute; z-index: 5; left: 50%; bottom: 30px; transform: translateX(-50%); display: flex; align-items: center; gap: 14px; color: #fff; font-size: 14px; font-weight: 600; }
.gi-fr { display: flex; align-items: center; justify-content: center; width: 48px; height: 48px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .55); color: #fff; }
.gi-fr svg { width: 17px; height: 13px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.gi-guida { position: absolute; z-index: 5; left: 40px; bottom: 40px; color: var(--chiaro); font-size: 13px; line-height: 18px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; }

/* ---------- 3 · griglia dei prodotti e schede (Split) ---------- */
.griglia-fuori { overflow: hidden; border-top: 1px solid var(--riga); }
.griglia-prod { display: grid; grid-template-columns: repeat(4, 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-titolo { display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: 34px 26px; min-height: 300px; }
.gp-titolo .t-tre { margin: 12px 0 14px; }
.gp-titolo p { font-size: 15px; line-height: 22px; color: var(--tenue); max-width: 280px; }
.gp-titolo .pillole { justify-content: center; margin-top: 22px; }
.gp-tutti { display: flex; align-items: center; justify-content: center; padding: 30px 20px; min-height: 240px; }
.pr { position: relative; display: flex; flex-direction: column; height: 100%; }
.pr-foto { position: relative; display: block; overflow: hidden; aspect-ratio: 1; background: var(--fondo-foto, #fff); cursor: pointer; width: 100%; }
.pr-foto img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--curva); }
.pr-dida { position: relative; display: flex; flex-direction: column; flex: 1; padding: 20px 24px 22px; background: var(--bianco); }
.pr-linea { font-size: 12px; line-height: 16px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--tenue); }
.pr-nome { display: block; margin-top: 6px; font-family: var(--tit); font-size: 21px; line-height: 25px; font-weight: 800; }
.pr-dentro { display: block; margin-top: 6px; font-size: 14px; line-height: 20px; color: var(--tenue); }
.pr-agg { align-self: flex-start; display: inline-flex; align-items: center; gap: 8px; margin-top: 14px; min-height: 40px; padding: 0 16px 0 12px; border-radius: 30px; border: 1px solid var(--verde);
  font-size: 12px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; transition: background .15s linear, color .15s linear; }
.pr-agg svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; }
.pr-agg.messo { background: var(--verde); color: #fff; }
@media (hover: hover) {
  .pr:hover .pr-foto img { transform: scale(1.04); }
  .pr-agg:hover { background: var(--verde); color: #fff; }
}
.pillole { display: flex; flex-wrap: wrap; gap: 8px; }
.pillola { display: inline-flex; align-items: center; height: 40px; padding: 0 16px; border: 1px solid rgba(30, 70, 48, .25); border-radius: 30px; font-size: 12px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase;
  transition: background .15s linear, color .15s linear; }
.pillola.on { background: var(--verde); border-color: var(--verde); color: #fff; }

/* ---------- 4 · due meta' con foto e bottone a filo ---------- */
.due-meta { display: grid; grid-template-columns: 1fr 1fr; }
.dm-box { position: relative; display: flex; align-items: flex-end; justify-content: center; height: min(900px, calc(100vh - var(--th))); min-height: 560px; overflow: hidden; padding: 0 40px 56px; text-align: center; color: #fff; }
.sfondo { position: absolute; inset: 0; display: block; overflow: hidden; background: var(--fondo-foto, #ddd); transition: transform .5s var(--curva); }
.sfondo img { width: 100%; height: 100%; object-fit: cover; }
.dm-box .sfondo::after { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 56%; background: linear-gradient(to top, rgba(14, 36, 23, .78), rgba(14, 36, 23, .45) 50%, rgba(14, 36, 23, 0)); pointer-events: none; }
.dm-testo { position: relative; display: flex; flex-direction: column; align-items: center; text-shadow: 0 2px 18px rgba(14, 36, 23, .5); }
.dm-testo .t-due { margin: 10px 0 22px; max-width: 520px; }
.dm-testo .bottone { text-shadow: none; }
@media (hover: hover) { .dm-box:hover .sfondo { transform: scale(1.03); } }

/* ---------- 5 · il video del banco: uno solo, grande, nel riquadro telefono ---------- */
.banco { display: grid; grid-template-columns: 1fr 1fr; align-items: center; background: var(--grigio); }
.fs-dentro { display: flex; flex-direction: column; align-items: flex-start; justify-content: center; padding: 100px 40px 100px 101px; }
.fs-dentro .t-grande { max-width: 560px; margin: 20px 0 0; }
.fs-dentro .p-lettura { margin-top: 24px; }
.fs-dentro .fila-bottoni { margin-top: 34px; }
.cifra-prep { display: flex; gap: 34px; margin-top: 34px; }
.cifra-prep b { display: block; font-family: var(--tit); font-size: 44px; line-height: 1; font-weight: 900; }
.cifra-prep span { display: block; margin-top: 6px; font-size: 13px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--tenue); }
.re-video { display: flex; justify-content: center; padding: 90px 40px; border-left: 1px solid var(--riga); }
.telefono { position: relative; flex: none; width: 360px; margin: 0; }
.tl-vetro { position: relative; display: block; aspect-ratio: 9 / 16; overflow: hidden; border-radius: 38px; border: 9px solid var(--verde2); background: var(--verde2) center / cover no-repeat; box-shadow: 0 40px 70px -30px rgba(22, 55, 36, .55); }
.tl-vetro video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.tl-via { display: none; position: absolute; right: 14px; bottom: 14px; width: 52px; height: 52px; border-radius: 50%; background: rgba(255, 255, 255, .94); color: var(--verde); align-items: center; justify-content: center; }
.tl-via svg { width: 22px; height: 22px; margin-left: 3px; fill: currentColor; }
.tl-vetro.rifiutato .tl-via { display: flex; }
.tl-vetro.rifiutato.va .tl-via { display: none; }
.telefono figcaption { margin-top: 16px; font-size: 14px; line-height: 20px; text-align: center; color: var(--tenue); }

/* ---------- 6 · shop the look: la foto ferma a sinistra, le schede a destra coi punti ---------- */
.look { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); border-top: 1px solid var(--riga); }
.lk-foto { position: relative; }
.lk-fisso { position: sticky; top: var(--th); display: flex; align-items: center; justify-content: center; height: calc(100vh - var(--th)); min-height: 600px; background: var(--grigio); overflow: hidden; }
.lk-quadro { position: relative; height: 100%; max-height: 1920px; aspect-ratio: 1080 / 1920; max-width: 100%; }
.lk-quadro img { width: 100%; height: 100%; object-fit: cover; }
.lk-punto { position: absolute; z-index: 2; width: 40px; height: 40px; margin: -20px 0 0 -20px; border-radius: 50%; background: rgba(255, 255, 255, .95); box-shadow: 0 4px 18px rgba(14, 36, 23, .35); display: flex; align-items: center; justify-content: center; }
.lk-punto::before { content: ''; width: 12px; height: 12px; border-radius: 50%; background: var(--verde); transition: transform .2s var(--molla); }
.lk-punto::after { content: ''; position: absolute; inset: -6px; border-radius: 50%; border: 2px solid rgba(255, 255, 255, .8); animation: anello 2.8s ease-out infinite; }
.lk-punto.on::before { transform: scale(1.5); background: var(--oro); }
.lk-punto span { position: absolute; left: 50%; bottom: calc(100% + 10px); transform: translateX(-50%); padding: 6px 12px; border-radius: 20px; background: #fff; font-size: 12px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; white-space: nowrap; box-shadow: 0 4px 14px rgba(14, 36, 23, .2); }
.lk-destra { display: flex; flex-direction: column; justify-content: center; padding: 100px 0 100px 60px; border-left: 1px solid var(--riga); min-width: 0; }
.lk-testa { padding-right: 40px; }
.lk-testa .t-due { margin: 12px 0 14px; }
.lk-binario { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; max-width: 760px; margin-top: 36px; padding-right: 40px; }
.lk-binario::-webkit-scrollbar { display: none; }
.lk-scheda { min-width: 0; border: 1px solid var(--riga); border-radius: 4px; transition: border-color .2s linear, box-shadow .2s linear; }
.lk-scheda.on { border-color: var(--verde); box-shadow: 0 0 0 1px var(--verde); }
.lk-scheda .pr-foto { aspect-ratio: 1; }
.lk-scheda .pr-foto.sc img { object-fit: contain; padding: 28px; }
.lk-barra { display: flex; align-items: center; gap: 12px; margin-top: 26px; padding-right: 40px; }
.car-fr { display: flex; align-items: center; justify-content: center; width: 48px; height: 48px; border-radius: 50%; border: 1px solid rgba(30, 70, 48, .3); color: var(--verde); }
.car-fr svg { width: 17px; height: 13px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.car-fr.spento { opacity: .35; }
.puntini { display: flex; gap: 6px; margin-left: 10px; }
.puntini i { width: 7px; height: 7px; border-radius: 7px; background: currentColor; opacity: .28; cursor: pointer; transition: .15s linear; }
.puntini i.on { width: 25px; opacity: 1; }

/* ---------- 7 · le recensioni su fascia scura, a carosello lento ---------- */
.recensioni { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); background: var(--verde); color: #fff; min-height: 640px; }
.rc-sx { display: flex; flex-direction: column; justify-content: center; padding: 110px 40px 110px 101px; }
.rc-sx .t-grande { margin: 18px 0 20px; }
.rc-sx p { color: var(--chiaro); max-width: 420px; }
.rc-sx .fila-bottoni { margin-top: 30px; }
.rc-dx { position: relative; display: flex; flex-direction: column; justify-content: center; padding: 90px 0 80px; border-left: 1px solid var(--riga-c); min-width: 0; }
.rc-binario { display: grid; }
.rc-voce { grid-area: 1 / 1; will-change: opacity, transform; max-width: 760px; padding: 0 60px 0 70px; opacity: 0; visibility: hidden; transform: translateY(10px); transition: opacity .7s linear, transform .9s var(--molla), visibility 0s .7s; }
.rc-voce.on { opacity: 1; visibility: visible; transform: none; transition: opacity .9s linear .2s, transform 1s var(--molla) .2s, visibility 0s; }
.rc-voce blockquote { font-family: var(--ser); font-style: italic; font-size: 48px; line-height: 1.18; letter-spacing: -.3px; }
.rc-voce blockquote::before { content: '«'; } .rc-voce blockquote::after { content: '»'; }
.rc-voce figcaption { display: flex; align-items: center; gap: 14px; margin-top: 30px; font-size: 14px; line-height: 20px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--chiaro); }
.rc-voce figcaption i { display: flex; align-items: center; justify-content: center; width: 46px; height: 46px; border-radius: 50%; background: var(--verde3); font-style: normal; font-family: var(--tit); font-size: 18px; font-weight: 800; letter-spacing: 0; color: #fff; }
.rc-barra { display: flex; align-items: center; gap: 12px; margin-top: 50px; padding-left: 70px; color: #fff; }
.rc-barra .car-fr { border-color: rgba(255, 255, 255, .45); color: #fff; }
.rc-fonte { margin-top: 18px; padding-left: 70px; font-size: 13px; color: var(--chiaro); opacity: .8; }

/* ---------- 8 · XSTREET: il titolo fermo, la colonna del posto che scorre ---------- */
.posto { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
.po-sx { position: relative; }
.po-fermo { position: sticky; top: var(--th); display: flex; flex-direction: column; justify-content: center; height: calc(100vh - var(--th)); min-height: 560px; padding: 0 40px 0 101px; }
.po-fermo .t-grande { margin: 18px 0 22px; max-width: 560px; }
.po-fermo .p-lettura + .p-lettura { margin-top: 12px; }
.po-fermo .fila-bottoni { margin-top: 32px; }
.po-firma { display: flex; align-items: center; gap: 16px; margin-top: 30px; }
.po-firma img { width: 66px; height: auto; }
.po-firma span { font-family: var(--tit); font-size: 20px; line-height: 26px; font-weight: 800; }
.po-colonna { display: flex; flex-direction: column; align-items: center; gap: 110px; padding: 110px 40px; background: var(--grigio); }
.po-pezzo { margin: 0; width: min(100%, 520px); }
.po-pezzo:nth-child(2) { align-self: flex-end; margin-right: 4%; }
.po-pezzo:nth-child(3) { align-self: flex-start; margin-left: 4%; }
.po-pezzo img { width: 100%; border-radius: 4px; }
.po-pezzo figcaption { margin-top: 14px; font-size: 14px; line-height: 20px; color: var(--tenue); }
.po-pezzo.telefono { width: 340px; }

/* ---------- 9 · gli orari col conto (mattone del 4/12): «Chiude tra / Apre tra» ---------- */
.orari { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); background: var(--verde2); color: #fff; }
.or-foto { position: relative; display: flex; align-items: center; justify-content: center; padding: 70px 40px; background: var(--verde2); }
.or-foto img { width: auto; max-width: min(100%, 720px); max-height: 760px; border-radius: 4px; filter: brightness(.86); }
.or-testo { display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 90px 40px; text-align: center; border-left: 1px solid var(--riga-c); }
.or-testo .riga-su { color: var(--chiaro); min-height: 20px; }
.or-testo .t-grande { margin-top: 14px; min-height: 66px; }
.cifre { display: flex; justify-content: center; gap: 12px; margin: 40px 0 38px; }
.cifre.ferme { visibility: hidden; }
.gruppo { display: grid; grid-template-columns: 56px 56px; }
.gruppo .c { display: block; width: 56px; height: 72px; margin-right: -1px; border: 1px solid rgba(255, 255, 255, .3); border-radius: 6px; font-family: var(--tit); font-size: 44px; line-height: 70px; font-weight: 800; font-variant-numeric: tabular-nums lining-nums; }
.gruppo small { grid-column: 1 / 3; margin-top: 12px; font-size: 12px; line-height: 18px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--chiaro); }
.or-giu { max-width: 440px; font-size: 16px; line-height: 28px; margin-bottom: 30px; color: var(--chiaro); }
.or-giu span { display: block; }
.or-giu b { color: #fff; font-weight: 600; }

/* ---------- 10 · tre servizi, le domande, scrivici ---------- */
.servizi { display: grid; grid-template-columns: repeat(3, minmax(0, 320px)); justify-content: center; column-gap: clamp(28px, 8vw, 129px); padding: 110px 40px; text-align: center; border-bottom: 1px solid var(--riga); }
.se-col svg { width: 58px; height: 58px; margin: 0 auto 26px; fill: none; stroke: var(--verde); stroke-width: 1.4; stroke-linecap: round; stroke-linejoin: round; }
.se-col h3 { font-family: var(--tit); font-size: 26px; line-height: 30px; font-weight: 800; margin-bottom: 12px; }
.se-col p { font-size: 15px; line-height: 24px; color: var(--tenue); }
.se-col a { text-decoration: underline; text-underline-offset: 3px; }
.domande { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.5fr); gap: clamp(30px, 5vw, 80px); padding: 110px clamp(40px, 7vw, 101px); }
.dq-testa .t-due { margin-top: 12px; }
.dq-testa p { margin-top: 18px; color: var(--tenue); max-width: 380px; }
.dq-voce { border-bottom: 1px solid var(--riga); }
.dq-voce summary { position: relative; display: block; padding: 24px 56px 24px 0; font-family: var(--tit); font-size: 22px; line-height: 28px; font-weight: 800; cursor: pointer; list-style: none; }
.dq-voce summary::-webkit-details-marker { display: none; }
.dq-voce summary::after { content: ''; position: absolute; right: 8px; top: 50%; width: 12px; height: 12px; margin-top: -9px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(45deg); transition: transform .2s var(--molla); }
.dq-voce[open] summary::after { transform: rotate(225deg); margin-top: -3px; }
.dq-voce p { padding: 0 40px 26px 0; font-size: 16px; line-height: 26px; color: var(--tenue); }
.scrivici { display: flex; flex-direction: column; align-items: center; padding: 100px 40px 110px; background: var(--grigio); text-align: center; }
.scrivici .t-grande { margin: 14px 0 16px; }
.scrivici p { max-width: 560px; color: var(--tenue); }
.scrivici .fila-bottoni { justify-content: center; margin-top: 32px; }

/* ---------- piede (uguale nei tre siti) ---------- */
footer.piede { background: var(--verde2); color: var(--chiaro); padding: 100px 40px 0; overflow: hidden; }
.pi-su { display: grid; grid-template-columns: minmax(0, 1.4fr) 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: .12em; text-transform: uppercase; margin-bottom: 18px; color: #fff; }
.pi-marchio img { width: 230px; height: auto; }
.pi-marchio p { max-width: 360px; margin-top: 22px; font-size: 15px; line-height: 24px; }
.pi-col { min-width: 0; }
.pi-col > a, .pi-col > button, .pi-col > span { display: flex; align-items: center; gap: 12px; width: max-content; max-width: 100%; min-height: 34px; font-size: 14px; line-height: 20px; 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.5; stroke-linecap: round; stroke-linejoin: round; }
.pi-giu { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px 20px; margin-top: 70px; padding: 26px 0 30px; border-top: 1px solid var(--riga-c); font-size: 13px; line-height: 20px; }
.pi-giu a { text-decoration: underline; text-underline-offset: 3px; }

/* ---------- cassetti: menu, lista, scheda (da destra, la pagina scivola) ---------- */
.velo-cassetti { position: fixed; inset: 0; z-index: 90; background: rgba(14, 36, 23, .78); 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(--verde); transform: translateX(100%); visibility: hidden;
  transition: transform .5s var(--cass), visibility 0s .5s; overflow-y: auto; overscroll-behavior: contain; }
.cassetto.largo { width: 560px; }
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: 80px; padding: 0 28px 0 40px; background: var(--bianco);
  border-bottom: 1px solid var(--riga); font-size: 14px; line-height: 22px; font-weight: 600; letter-spacing: .12em; 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(--verde); transform: rotate(45deg); }
.ca-x::after { transform: rotate(-45deg); }
.ca-corpo { padding: 36px 40px 44px; }
.me-grandi a { display: block; font-family: var(--tit); font-size: 32px; line-height: 50px; font-weight: 800; }
.me-piccoli { margin-top: 30px; }
.me-piccoli a { display: block; font-size: 15px; line-height: 40px; }
.me-wa { margin-top: 34px; }
.ri-vuota { font-size: 15px; color: var(--tenue); margin-bottom: 21px; }
.ri-corpo .bottone, .me-wa .bottone { width: 100%; height: 52px; }
.ri-voce { display: grid; grid-template-columns: 70px 1fr auto; gap: 18px; align-items: center; padding: 16px 0; border-bottom: 1px solid var(--riga); }
.ri-voce img { width: 70px; height: 70px; object-fit: cover; background: var(--grigio); border-radius: 6px; }
.ri-voce b { display: block; font-family: var(--tit); font-size: 18px; line-height: 22px; font-weight: 800; }
.ri-voce small { display: block; font-size: 13px; line-height: 18px; color: var(--tenue); margin-top: 3px; }
.ri-togli { min-height: 44px; padding: 0 4px; font-size: 13px; text-decoration: underline; text-underline-offset: 3px; }
.ri-qta { display: inline-flex; align-items: center; gap: 12px; margin-top: 8px; font-size: 15px; font-weight: 600; }
.ri-qta button { width: 34px; height: 34px; border: 1px solid rgba(30, 70, 48, .25); border-radius: 50%; font-size: 17px; line-height: 1; }
.ri-msg { margin-top: 26px; padding: 16px 18px 18px; border-radius: 12px; background: var(--grigio); }
.ri-etich { display: block; margin-bottom: 6px; font-size: 12px; line-height: 18px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--tenue); }
.ri-msg p { font-size: 15px; line-height: 24px; overflow-wrap: anywhere; }
.ri-azioni { display: grid; gap: 12px; margin-top: 18px; }
.ri-nota { font-size: 14px; line-height: 22px; color: var(--tenue); margin-top: 14px; }
/* la scheda veloce */
.sk-foto { background: var(--fondo-foto, var(--grigio)); }
.sk-foto img { width: 100%; aspect-ratio: 1; object-fit: cover; }
.sk-foto.sc img { object-fit: contain; padding: 40px; }
.sk-corpo { padding: 30px 40px 44px; }
.sk-corpo h3 { margin: 8px 0 6px; font-family: var(--tit); font-size: 34px; line-height: 1.06; font-weight: 800; letter-spacing: -.5px; }
.sk-formato { font-size: 14px; font-weight: 600; color: var(--tenue); }
.sk-voce { margin-top: 22px; }
.sk-voce b { display: block; font-size: 12px; line-height: 18px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--tenue); }
.sk-voce p { margin-top: 4px; font-size: 15px; line-height: 24px; }
.sk-corpo .ri-azioni { margin-top: 28px; }
.sk-corpo .bottone { width: 100%; }
.sk-vai { display: inline-flex; align-items: center; min-height: 44px; margin-top: 14px; font-size: 14px; font-weight: 600; text-decoration: underline; text-underline-offset: 4px; }

/* ---------- pagine: catalogo e linee ---------- */
.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; }
.cat-testa { display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 100px 40px 50px; text-align: center; }
.cat-testa h1 { margin: 14px 0 20px; }
.cat-testa p { max-width: 640px; color: var(--tenue); font-size: 17px; line-height: 1.6; }
.cat-testa .pillole { justify-content: center; margin-top: 34px; }
.cat-conta { padding: 0 40px 22px; font-size: 14px; line-height: 22px; color: var(--tenue); text-align: center; }
.linea-blocco { padding-top: 20px; }
.linea-blocco .cat-testa { padding-top: 90px; }
.schede { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); border-top: 1px solid var(--riga); }
.sch { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); border-bottom: 1px solid var(--riga); border-right: 1px solid var(--riga); scroll-margin-top: var(--th); }
.sch:nth-child(2n) { border-right: 0; }
.sch .pr-foto { aspect-ratio: auto; height: 100%; min-height: 360px; }
.sch-testo { display: flex; flex-direction: column; justify-content: center; padding: 40px 36px; }
.sch-testo h2 { font-family: var(--tit); font-size: 28px; line-height: 1.1; font-weight: 800; letter-spacing: -.4px; margin: 8px 0 4px; }
.sch-testo .sk-voce { margin-top: 16px; }
.sch-testo .pr-agg { margin-top: 22px; }

/* =========================================================================
   Fra 1024 e 1439 px l'impaginazione del computer si stringe
   ========================================================================= */
@media (min-width: 1024px) and (max-width: 1439px) {
  .t-grande { font-size: clamp(46px, 4.6vw, 66px); }
  .t-due { font-size: clamp(36px, 3.2vw, 46px); }
  .ap-testo, .fs-dentro, .rc-sx, .po-fermo { padding-left: clamp(40px, 6vw, 101px); }
  .menu-su { gap: clamp(14px, 1.6vw, 30px); font-size: 12px; letter-spacing: .06em; }
  .logo img { height: 44px; }
  .wa-su { padding: 0 16px 0 12px; }
  .rc-voce blockquote { font-size: clamp(34px, 3.3vw, 48px); }
  .rc-voce { padding: 0 40px 0 50px; }
  .rc-barra, .rc-fonte { padding-left: 50px; }
  .lk-destra { padding-left: 40px; }
  .sch { grid-template-columns: 1fr; }
  .sch .pr-foto { aspect-ratio: 1; height: auto; min-height: 0; }
  .gi-et h3 { font-size: 34px; }
}
@media (min-width: 1024px) and (max-width: 1239px) {
  .la-lista .ll { display: none; }
  .wa-su span { display: none; }
  .wa-su { width: 48px; padding: 0; justify-content: center; }
  .gi-destra { display: none; }
}
@media (min-width: 1024px) and (max-height: 820px) {
  .gi-et p { display: none; }
  .gi-et h3 { font-size: 32px; }
}

/* =========================================================================
   TELEFONO (fino a 1023 px)
   ========================================================================= */
@media (max-width: 1023px) {
  :root { --th: 64px; }
  body { font-size: 15px; line-height: 24px; transition: left .25s linear; }
  .t-grande { font-size: 38px; line-height: 1.04; letter-spacing: -.8px; }
  .t-due { font-size: 31px; line-height: 1.08; letter-spacing: -.5px; }
  .t-tre { font-size: 26px; }
  .riga-su { font-size: 12px; line-height: 18px; }
  .p-lettura { font-size: 15px; line-height: 24px; }
  .bottone { height: 50px; padding: 0 22px; }
  .freccia { display: none; }
  .solo-tel { display: block; }
  .solo-pc { display: none !important; }

  .annuncio { padding: 0 14px; font-size: 12px; letter-spacing: .06em; }
  .testata { grid-template-columns: 1fr auto; padding: 0 6px 0 16px; }
  .logo img { height: 38px; }
  .menu-su { display: none; }
  .icone { gap: 2px; }
  .ico-menu { display: flex; }
  .la-lista { padding: 0 8px; gap: 4px; }
  .la-lista .ll { display: none; }
  .pr-agg .al { display: none; }
  .wa-su { width: 44px; height: 44px; padding: 0; justify-content: center; }
  .wa-su span { display: none; }
  .ape-vola, .ape-giunto { width: 40px; }

  /* apertura: carosello a scatto, la foto sopra e il testo sotto */
  .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: flex; flex-direction: column-reverse; width: 100%; height: auto; min-height: 0; scroll-snap-align: start; }
  .ap-foto { position: relative; height: min(100vw, calc(100vh - var(--th) - 330px)); min-height: 240px; }
  .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-velo { opacity: 0 !important; }
  .ap-testo { flex: 1; align-items: center; justify-content: flex-start; padding: 24px 22px 26px; text-align: center; border-top: 0; }
  .ap-testo .riga-su { margin-bottom: 10px; }
  .ap-testo .t-grande { margin-bottom: 12px; font-size: 34px; }
  .ap-testo .p-lettura { margin-bottom: 18px; }
  .ap-testo .fila-bottoni { justify-content: center; }
  .ap-testo .fila-bottoni .filo { display: none; }
  .car-barra { display: flex; align-items: center; height: 56px; padding: 0 7px 0 18px; border-top: 1px solid var(--riga); border-bottom: 1px solid var(--riga); }
  .car-indice { flex: 1; font-size: 14px; line-height: 22px; }
  .car-indice b { font-weight: 600; }
  .car-freccia { display: flex; align-items: center; justify-content: center; width: 44px; height: 44px; border-radius: 100%; color: var(--verde); }
  .car-freccia svg { width: 17px; height: 13px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
  .car-freccia.spento { opacity: .35; }

  /* giostra */
  .gi-testa { left: 0; right: 0; top: 18px; max-width: none; padding: 0 20px; text-align: center; }
  .gi-testa .t-due { font-size: 28px; margin-top: 6px; }
  .gi-destra { display: none; }
  .gi-scritta { display: none; }
  .gi-pezzo img { filter: none; }
  .gi-et h3 { font-size: 27px; margin: 4px 0 6px; }
  .gi-et p { font-size: 14px; line-height: 21px; max-width: 330px; }
  .gi-et .fila-bottoni { margin-top: 12px; gap: 8px; }
  .gi-et .bottone { height: 44px; padding: 0 18px; font-size: 12px; }
  .gi-conta { bottom: 12px; font-size: 13px; }
  .gi-fr { width: 44px; height: 44px; }
  .gi-guida { display: none; }

  /* griglia */
  .griglia-prod { grid-template-columns: 1fr 1fr; }
  .gp-titolo { grid-column: 1 / -1; min-height: 0; padding: 50px 18px 30px; }
  .gp-tutti { grid-column: 1 / -1; min-height: 140px; }
  .pr-dida { padding: 14px 14px 16px; }
  .pr-linea { font-size: 12px; letter-spacing: .06em; }
  .pr-nome { font-size: 17px; line-height: 21px; }
  .pr-dentro { font-size: 13px; line-height: 18px; }
  .pr-agg { min-height: 40px; padding: 0 12px 0 10px; font-size: 12px; letter-spacing: .02em; }

  /* due meta' */
  .due-meta { grid-template-columns: 1fr; }
  .dm-box { height: min(118vw, 560px); min-height: 0; padding: 0 22px 30px; }

  /* banco */
  .banco { display: block; }
  .fs-dentro { align-items: center; padding: 70px 22px 10px; text-align: center; }
  .fs-dentro .fila-bottoni { justify-content: center; margin-top: 26px; }
  .cifra-prep { justify-content: center; gap: 22px; margin-top: 26px; }
  .cifra-prep b { font-size: 34px; }
  .cifra-prep span { font-size: 12px; letter-spacing: .06em; }
  .re-video { padding: 40px 22px 70px; border-left: 0; }
  .telefono { width: min(300px, 78vw); }
  .tl-vetro { border-width: 6px; border-radius: 28px; }

  /* look */
  .look { display: block; }
  .lk-fisso { position: relative; top: 0; height: auto; min-height: 0; }
  .lk-quadro { height: auto; width: 100%; aspect-ratio: 1080 / 1920; max-height: none; }
  .lk-punto span { font-size: 12px; }
  .lk-destra { padding: 50px 0 60px 18px; border-left: 0; }
  .lk-testa { padding-right: 18px; }
  .lk-binario { gap: 12px; padding-right: 18px; margin-top: 26px; }
  .lk-scheda .pr-dida { padding: 12px 12px 14px; }

  /* recensioni */
  .recensioni { display: block; min-height: 0; }
  .rc-sx { padding: 70px 22px 20px; text-align: center; align-items: center; }
  .rc-sx .fila-bottoni { justify-content: center; }
  .rc-dx { padding: 30px 0 60px; border-left: 0; }
  .rc-voce { padding: 0 22px; text-align: center; }
  .rc-voce figcaption { justify-content: center; }
  .rc-barra { justify-content: center; padding-left: 0; }
  .rc-fonte { text-align: center; padding: 0 22px; }
  .rc-voce blockquote { font-size: 27px; }
  .rc-voce figcaption { margin-top: 20px; font-size: 13px; }
  .rc-barra { margin-top: 30px; }

  /* posto */
  .posto { display: block; }
  .po-fermo { position: relative; top: 0; height: auto; min-height: 0; padding: 70px 22px 40px; text-align: center; align-items: center; }
  .po-fermo .fila-bottoni { justify-content: center; }
  .po-firma { justify-content: center; }
  .po-colonna { gap: 50px; padding: 50px 22px 70px; }
  .po-pezzo, .po-pezzo:nth-child(2), .po-pezzo:nth-child(3) { align-self: center; margin: 0; width: min(100%, 420px); }
  .po-pezzo.telefono { width: min(300px, 78vw); }

  /* orari */
  .orari { display: block; }
  .or-foto { padding: 0; }
  .or-foto img { width: 100%; max-width: 720px; max-height: 360px; object-fit: cover; object-position: 50% 30%; border-radius: 0; }
  .or-testo { padding: 54px 18px 64px; border-left: 0; }
  .or-testo .t-grande { min-height: 40px; }
  .cifre { gap: 8px; margin: 28px 0 26px; }
  .gruppo { grid-template-columns: 42px 42px; }
  .gruppo .c { width: 42px; height: 56px; font-size: 32px; line-height: 54px; }
  .gruppo small { margin-top: 10px; font-size: 12px; letter-spacing: .06em; }
  .or-giu { font-size: 15px; line-height: 26px; margin-bottom: 24px; }

  .servizi { grid-template-columns: 1fr; row-gap: 46px; padding: 70px 26px; }
  .se-col { max-width: 420px; margin: 0 auto; }
  .domande { display: block; padding: 70px 22px; }
  .dq-testa { margin-bottom: 20px; text-align: center; }
  .dq-testa p { margin-left: auto; margin-right: auto; }
  .dq-voce summary { font-size: 19px; line-height: 25px; padding: 20px 44px 20px 0; }
  .dq-voce p { padding-right: 0; font-size: 15px; line-height: 24px; }
  .scrivici { padding: 70px 22px 80px; }
  .scrivici .fila-bottoni { flex-direction: column; width: 100%; max-width: 380px; }

  footer.piede { padding: 64px 22px 0; }
  .pi-su { display: block; }
  .pi-col { margin-top: 38px; }
  .pi-col > a, .pi-col > button, .pi-col > span { min-height: 44px; }
  .pi-giu { display: block; margin-top: 40px; }
  .pi-giu span { display: block; margin-bottom: 6px; }

  .cassetto, .cassetto.largo { width: 374px; transition: transform .25s linear, visibility 0s .25s; }
  .cassetto.aperto { transition: transform .25s linear; }
  html.cassetto-aperto body { left: -374px; }
  .ca-testa { height: 68px; padding: 0 16px 0 24px; }
  .ca-corpo { padding: 28px 24px 40px; }
  .sk-corpo { padding: 24px 24px 40px; }
  .sk-corpo h3 { font-size: 28px; }
  .me-grandi a { font-size: 28px; line-height: 46px; }

  .briciole { min-height: 44px; padding: 0 18px; font-size: 13px; line-height: 20px; }
  .briciole span { margin: 0 8px; }
  .cat-testa { padding: 56px 20px 34px; }
  .cat-testa p { font-size: 15px; line-height: 24px; }
  .cat-testa .pillole { margin-top: 24px; }
  .schede { grid-template-columns: 1fr; }
  .sch { grid-template-columns: 1fr; border-right: 0; }
  .sch .pr-foto { aspect-ratio: 1; height: auto; min-height: 0; }
  .sch-testo { padding: 22px 20px 34px; }
}
@media (max-width: 380px) {
  .cassetto, .cassetto.largo { width: 100%; }
  html.cassetto-aperto body { left: -100vw; }
}
/* telefono basso (390x664 e simili) */
@media (max-width: 1023px) and (max-height: 700px) {
  .gi-et p { display: none; }
  .gi-testa .t-due { font-size: 24px; }
  .gi-testa .riga-su { display: none; }
}
@media (min-width: 600px) and (max-width: 1023px) {
  .griglia-prod { grid-template-columns: repeat(3, 1fr); }
  .due-meta { grid-template-columns: 1fr 1fr; }
  .dm-box { height: 70vw; max-height: 640px; }
  .servizi { grid-template-columns: repeat(3, 1fr); column-gap: 24px; padding: 80px 24px; }
  .schede { grid-template-columns: 1fr 1fr; }
  .sch { border-right: 1px solid var(--riga); }
}

@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: 16px; 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: .06em; }
.foglio .torna svg { width: 16px; height: 16px; }
.foglio .occhiello { font-size: 13px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; }
.foglio h1 { font-family: var(--tit); font-size: clamp(38px, 7vw, 60px); line-height: 1.04; font-weight: 800; letter-spacing: -1px; margin: 10px 0 26px; }
.foglio h1 em { font-style: normal; }
.carta-legale h2 { font-family: var(--tit); font-size: 26px; line-height: 1.2; font-weight: 800; 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: 18px; 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: 18px; }
.carta-legale .aggiornata { font-size: 14px; opacity: .75; }
.carta-legale .scheda { padding: 16px 18px; background: var(--grigio); border-left: 3px solid var(--verde); 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: 14px; }
.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(--verde); border-radius: 30px; font-size: 13px; 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-bottoni button, #lg-banner #lg-salva { border-radius: 30px; font-family: 'Montserrat', sans-serif; font-weight: 600; letter-spacing: .02em; }
#lg-banner .lg-marchio img { width: 190px; height: auto; margin: 0 auto; }
@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; }
}

/* =========================================================================
   4/12 SERA, DOPO IL GIUDICE: tutto sul bianco, il verde solo dentro forme (cupola, fascia a bordo curvo, carta, piede curvo).
   Nessun taglio dritto che scorre fra due colori. Il negozio su un fondo unico. Queste regole vengono dopo e comandano.
   ========================================================================= */
:root { --fondo-prod: #F4F4F2; }
/* apertura: tre diapositive sul bianco che si dissolvono sul posto */
.apertura { position: relative; height: calc(100vh - var(--th) + var(--ap-corsa, 130vh)); }
.ap-palco { position: sticky; top: var(--th); height: calc(100vh - var(--th)); min-height: 560px; overflow: hidden; background: #fff; }
.ap-binario { position: relative; height: 100%; }
.ap-dia { position: absolute; inset: 0; display: grid; grid-template-columns: 50% 50%; height: auto; min-height: 0; opacity: 0; pointer-events: none; will-change: opacity; }
.ap-dia.on { pointer-events: auto; }
.ap-dia:first-child { opacity: 1; }
.ap-testo { background: #fff; border-top: 0; padding: 0 40px 40px 101px; }
.ap-foto { position: relative; display: flex; align-items: center; justify-content: center; padding: 30px 40px 60px; background: #fff; }
.ap-foto img { width: min(var(--mw, 720px), 72vh, 720px, 100%); height: auto; max-width: 100%; filter: drop-shadow(0 26px 30px rgba(30, 50, 30, .16)); will-change: transform; }
.ap-pallini { position: absolute; z-index: 3; left: 89px; bottom: 34px; display: flex; gap: 2px; }
.ap-pallino { display: flex; align-items: center; justify-content: center; width: 40px; height: 40px; }
.ap-pallino i { display: block; width: 8px; height: 8px; border-radius: 8px; background: var(--verde); opacity: .25; transition: width .2s var(--molla), opacity .2s linear; }
.ap-pallino.on i { width: 28px; opacity: 1; }
/* il banco sul bianco */
.banco { background: #fff; }
.re-video { border-left: 0; }
/* la giostra: cupola a tinta piena, stesso verde della fascia sotto; etichetta e contatore subito sotto la miscela */
.gi-cupola { background: var(--verde); }
.gi-etichette { top: 60%; bottom: auto; height: auto; }
.gi-et-pila { position: relative; height: var(--eh, 200px); }
.gi-conta { position: static; transform: none; left: auto; right: auto; bottom: auto; justify-content: center; margin-top: 16px; }
/* le recensioni continuano la cupola e finiscono con un bordo curvo nel bianco */
.recensioni { min-height: 0; background: var(--verde); border-radius: 0 0 50% 50% / 0 0 150px 150px; padding-bottom: 90px; margin-top: -1px; }
.rc-sx { padding-top: 70px; padding-bottom: 40px; }
.rc-dx { padding-top: 70px; padding-bottom: 40px; border-left: 0; }
/* shop the look sul bianco */
.look { border-top: 0; margin-top: 40px; }
.lk-fisso { background: #fff; }
.lk-destra { border-left: 0; }
/* il negozio: tutte le foto sullo stesso fondo chiaro, scontornate, con l'ombra morbida */
.griglia-prod { border-top: 1px solid var(--riga); overflow-x: clip; }
.pr-foto { background: var(--fondo-prod); }
.pr-foto img { object-fit: contain; padding: 9% 12%; filter: drop-shadow(0 16px 18px rgba(30, 45, 30, .18)); }
.gp-titolo .bottone { margin-top: 22px; }
.gp-fine { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 20px; padding: 40px 30px; text-align: center; min-height: 260px; }
.gp-fine[hidden] { display: none; }
.gp-fine p { max-width: 340px; font-family: var(--tit); font-size: 24px; line-height: 1.2; font-weight: 800; }
.sch .pr-foto { background: var(--fondo-prod); }
.sk-foto { background: var(--fondo-prod); }
.sk-foto img { object-fit: contain; padding: 44px; filter: drop-shadow(0 16px 18px rgba(30, 45, 30, .18)); }
.ri-voce img { object-fit: contain; padding: 6px; background: var(--fondo-prod); }
/* la bottega: un pezzo alla volta, grande, sul bianco */
.po-colonna { gap: 0; padding: 0 40px; background: #fff; }
.po-posto { display: flex; align-items: center; justify-content: center; width: 100%; min-height: calc(100vh - var(--th)); }
.po-pezzo, .po-pezzo:nth-child(2), .po-pezzo:nth-child(3) { align-self: center; margin: 0; width: min(100%, 520px); }
/* orari: una carta verde staccata dai bordi */
.orari { display: block; background: #fff; padding: 30px 40px 100px; }
.or-carta { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); background: var(--verde2); color: #fff; border-radius: 28px; overflow: hidden; }
.or-foto { background: transparent; padding: 50px 30px 50px 50px; }
.or-testo { border-left: 0; padding: 60px 40px; }
.or-bottoni { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }
.or-bottoni .bottone { min-width: 230px; }
/* il piede entra col bordo curvo */
footer.piede { border-radius: 50% 50% 0 0 / 150px 150px 0 0; padding-top: 170px; margin-top: 30px; }
.domande { padding-bottom: 80px; }

@media (min-width: 1024px) and (max-width: 1439px) {
  .ap-testo { padding-left: clamp(40px, 6vw, 101px); }
  .ap-pallini { left: calc(clamp(40px, 6vw, 101px) - 12px); }
}
@media (max-width: 1023px) {
  .apertura { height: auto; }
  .ap-palco { position: relative; top: 0; height: auto; min-height: 0; }
  .ap-binario { display: flex; height: auto; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
  .ap-binario::-webkit-scrollbar { display: none; }
  .ap-dia, .ap-dia:first-child { position: relative; inset: auto; flex: none; display: flex; flex-direction: column; width: 100%; opacity: 1; pointer-events: auto; scroll-snap-align: start; }
  .ap-foto { order: -1; height: auto; min-height: 0; padding: 22px 30px 4px; }
  .ap-foto img { width: min(76vw, 340px, 44vh); }
  .ap-testo { padding: 14px 22px 66px; }
  .ap-pallini { left: 0; right: 0; bottom: 14px; justify-content: center; }
  .gi-conta { margin-top: 10px; }
  .recensioni { border-radius: 0 0 50% 50% / 0 0 60px 60px; padding-bottom: 50px; }
  .rc-sx { padding: 40px 22px 10px; }
  .rc-dx { padding: 20px 0 30px; }
  .look { margin-top: 20px; }
  .gp-titolo .bottone { width: 100%; max-width: 340px; }
  .gp-fine { min-height: 0; padding: 30px 16px; }
  .gp-fine p { font-size: 19px; }
  .gp-fine .bottone { width: 100%; padding: 0 12px; }
  .po-colonna { padding: 0 22px 30px; }
  .po-posto { min-height: 0; padding: 26px 0; }
  .orari { padding: 10px 12px 60px; }
  .or-carta { display: block; border-radius: 22px; }
  .or-foto { padding: 0; }
  .or-foto img { width: 100%; max-height: 340px; object-fit: cover; border-radius: 0; }
  .or-testo { padding: 40px 16px 44px; }
  .or-bottoni { flex-direction: column; align-items: stretch; width: 100%; max-width: 330px; }
  .or-bottoni .bottone { min-width: 0; }
  footer.piede { border-radius: 50% 50% 0 0 / 56px 56px 0 0; padding-top: 90px; }
}
@media (min-width: 600px) and (max-width: 1023px) {
  .ap-foto img { width: min(56vw, 420px, 44vh); }
}
@media (max-width: 1023px) { .gp-fine .bottone { white-space: normal; height: auto; min-height: 48px; padding: 10px 14px; line-height: 1.3; text-align: center; } }
/* fluido: un livello in meno per ogni miscela della giostra (si alza col suo contenitore che gira) */
.gi-alza { will-change: auto; }
@media (max-width: 1023px) { .gi-et, .gi-et.on { transition: none; } }
/* apertura comandata dal compositore: le diapositive stanno tutte su, si vede solo la prima finche' la linea del tempo non e' attiva */
@media (min-width: 1024px) {
  .apertura.vt .ap-dia { opacity: 1; }
  .apertura.vt .ap-dia:not(:first-child) .ap-testo, .apertura.vt .ap-dia:not(:first-child) .ap-foto { opacity: 0; }
}
