/* Noleggio Furgone Lugano — sito v2 */

:root {
  --bg: #f6f4ef;
  --card: #ffffff;
  --ink: #14161c;
  --ink-2: #2a2d36;
  --muted: #6c6f78;
  --line: #e6e2d8;
  --line-2: #d8d3c6;
  --red: #e30613;
  --red-deep: #b5000e;
  --red-soft: #fdecec;
  --blue: #2a6db0;
  --blue-deep: #1b4a7c;
  --blue-soft: #e8f0f9;
  --night: #0f1a33;
  --free: #16a05a;
  --free-soft: #e3f5ea;
  --few: #f29d0c;
  --few-soft: #fdf1dc;
  --full: #c9c5bb;
  --closed: #ece8df;
  --r-lg: 28px;
  --r: 18px;
  --r-sm: 12px;
  --shadow: 0 1px 2px rgba(20, 22, 28, .04), 0 12px 32px -14px rgba(20, 22, 28, .18);
  --shadow-lg: 0 2px 4px rgba(20, 22, 28, .04), 0 30px 60px -28px rgba(20, 22, 28, .35);
  --display: "Bricolage Grotesque", "Figtree", system-ui, sans-serif;
  --body: "Figtree", system-ui, sans-serif;
  --mono: "Martian Mono", ui-monospace, monospace;
  --wrap: 1240px;
  --gut: clamp(16px, 4vw, 40px);
  --ease: cubic-bezier(.2, .8, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 100px; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 400 17px/1.6 var(--body); overflow-x: hidden; -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
img { max-width: 100%; display: block; height: auto; }
a { color: inherit; }
h1, h2, h3, h4, h5, h6 { font-family: var(--display); font-weight: 800; line-height: 1; letter-spacing: -.035em; margin: 0; }
p { margin: 0 0 1em; }
.wrap { width: min(var(--wrap), 100% - 2 * var(--gut)); margin-inline: auto; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; border-radius: 8px; }
svg.i { width: 18px; height: 18px; flex-shrink: 0; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

/* ---------- loader (solo prima visita della sessione) ---------- */
.loader { position: fixed; inset: 0; z-index: 200; background: var(--bg); display: grid; place-items: center; animation: loaderOut .5s 1.5s var(--ease) forwards; }
.no-loader .loader { display: none; }
.loader .road { position: relative; width: min(360px, 80vw); }
.loader img { width: 100%; animation: loaderDrive 1.5s var(--ease) both; }
.loader .line { height: 4px; margin-top: 6px; border-radius: 4px; background: repeating-linear-gradient(90deg, var(--ink) 0 26px, transparent 26px 44px); opacity: .18; animation: roadmove .5s linear infinite; }
.loader .bar { position: absolute; left: 0; bottom: -22px; height: 3px; border-radius: 3px; background: var(--red); animation: loadbar 1.4s var(--ease) forwards; }
@keyframes loaderDrive { from { transform: translateX(-70vw); } 70% { transform: translateX(2%); } to { transform: none; } }
@keyframes loadbar { from { width: 0; } to { width: 100%; } }
@keyframes loaderOut { to { opacity: 0; visibility: hidden; transform: scale(1.02); } }
@keyframes roadmove { to { background-position: -44px 0; } }

/* ---------- header ---------- */
.hdr { position: sticky; top: 0; z-index: 60; padding: 12px 0; transition: padding .3s var(--ease); }
.hdr .bar { position: relative; display: flex; align-items: center; gap: 18px; background: rgba(255, 255, 255, .97); border: 1px solid rgba(255, 255, 255, .7); border-radius: 22px; padding: 10px 10px 10px 18px; box-shadow: var(--shadow); }
.home .hdr { position: fixed; left: 0; right: 0; }
.hdr.scrolled { padding: 8px 0; }
.brand { display: flex; align-items: center; flex-shrink: 0; text-decoration: none; }
.brand img { height: 46px; width: auto; }
.hdr .bar > nav { margin: 0 auto; }
.menu { display: flex; gap: 2px; list-style: none; margin: 0; padding: 4px; background: var(--bg); border-radius: 14px; }
.menu a { position: relative; display: block; white-space: nowrap; padding: 9px 15px; border-radius: 11px; text-decoration: none; font-weight: 600; font-size: 15px; color: var(--ink-2); transition: background .2s, color .2s; }
.menu a:hover { background: #fff; color: var(--ink); }
.menu a[aria-current="page"] { background: #fff; color: var(--ink); box-shadow: 0 1px 2px rgba(0,0,0,.06), 0 4px 12px -6px rgba(0,0,0,.2); }
.menu a[aria-current="page"]::after { content: ""; position: absolute; left: 50%; bottom: 4px; width: 14px; height: 3px; margin-left: -7px; border-radius: 3px; background: var(--red); }
.hdr-act { display: flex; gap: 8px; align-items: center; }
.pill { display: inline-flex; align-items: center; gap: 8px; height: 44px; padding: 0 16px; border-radius: 14px; text-decoration: none; font-weight: 700; font-size: 15px; white-space: nowrap; transition: background .2s, transform .2s, box-shadow .2s; }
.pill.soft { background: var(--bg); color: var(--ink); }
.pill.soft:hover { background: var(--line); }
.pill.wa { background: #e7f8ee; color: #128c4b; width: 44px; padding: 0; justify-content: center; }
.pill.wa:hover { background: #d3f2df; }
.pill.wa svg { width: 22px; height: 22px; fill: currentColor; }
.pill.go { background: var(--red); color: #fff; box-shadow: 0 8px 20px -10px var(--red); }
.pill.go:hover { background: var(--red-deep); transform: translateY(-1px); }
.burger { display: none; width: 44px; height: 44px; border-radius: 14px; border: 0; background: var(--ink); color: #fff; cursor: pointer; }
.burger span { display: block; width: 18px; height: 2px; margin: 4px auto; background: currentColor; border-radius: 2px; transition: transform .3s, opacity .3s; }
.hdr.open .burger span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.hdr.open .burger span:nth-child(2) { opacity: 0; }
.hdr.open .burger span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* barra in basso su mobile */
.tabbar { display: none; }

/* ---------- bottoni ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; height: 54px; padding: 0 26px; border-radius: 16px; border: 0; background: var(--red); color: #fff; font: 700 16px/1 var(--body); text-decoration: none; cursor: pointer; white-space: nowrap; box-shadow: 0 12px 26px -12px var(--red); transition: transform .2s var(--ease), background .2s, box-shadow .2s; }
.btn:hover { transform: translateY(-2px); background: var(--red-deep); }
.btn.glass { background: rgba(10, 16, 32, .45); color: #fff; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .28); }
.btn.glass:hover { background: rgba(255, 255, 255, .22); }
.btn.dark { background: var(--ink); box-shadow: 0 12px 26px -14px var(--ink); }
.btn.dark:hover { background: #000; }
.btn.line { background: #fff; color: var(--ink); box-shadow: inset 0 0 0 1px var(--line-2); }
.btn.line:hover { box-shadow: inset 0 0 0 1px var(--ink); }
.btn[disabled] { opacity: .45; cursor: not-allowed; transform: none; }
.btn svg.i { width: 20px; height: 20px; }

/* ---------- hero ---------- */
.hero { position: relative; height: max(660px, min(100svh, 980px)); overflow: hidden; color: #fff; background: var(--night); isolation: isolate; }
.scene { position: absolute; inset: 0; z-index: -1; }
.hero::after { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none; background: linear-gradient(180deg, rgba(10, 16, 32, .55) 0%, rgba(10, 16, 32, 0) 45%), linear-gradient(90deg, rgba(10, 16, 32, .45), rgba(10, 16, 32, 0) 55%); }
.hero-in { position: relative; padding-top: clamp(118px, 15vh, 160px); }
.chip { display: inline-flex; align-items: center; gap: 10px; padding: 8px 14px 8px 12px; border-radius: 999px; font: 600 14px/1 var(--body); background: rgba(10, 16, 32, .45); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .22); }
.dot { width: 8px; height: 8px; border-radius: 50%; background: #3ddc84; box-shadow: 0 0 0 0 rgba(61, 220, 132, .6); animation: ping 2s infinite; }
@keyframes ping { 70% { box-shadow: 0 0 0 10px rgba(61, 220, 132, 0); } 100% { box-shadow: 0 0 0 0 rgba(61, 220, 132, 0); } }
.hero h1 { font-size: clamp(48px, 7.4vw, 104px); margin: 20px 0 14px; max-width: 11ch; text-wrap: balance; }
.hero h1 .accent { background: linear-gradient(100deg, #ffd29a, #ff8a5c 60%, #ff5a4a); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero h2 { font: 500 clamp(18px, 1.7vw, 22px)/1.4 var(--body); letter-spacing: 0; color: rgba(255, 255, 255, .86); max-width: 36ch; margin-bottom: 22px; }
.trust { display: flex; flex-wrap: wrap; gap: 8px 18px; list-style: none; padding: 0; margin: 0 0 28px; font-weight: 600; font-size: 15px; }
.trust li { display: flex; align-items: center; gap: 8px; }
.trust svg.i { color: #3ddc84; }
.hero .actions { display: flex; flex-wrap: wrap; gap: 10px; }
.hero-in > * { animation: up .9s var(--ease) both; }
.hero-in > :nth-child(2) { animation-delay: .08s; } .hero-in > :nth-child(3) { animation-delay: .16s; } .hero-in > :nth-child(4) { animation-delay: .24s; } .hero-in > :nth-child(5) { animation-delay: .32s; }
@keyframes up { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }

.price-card { position: absolute; right: 0; top: clamp(130px, 17vh, 180px); width: 230px; padding: 18px 20px; border-radius: 22px; background: rgba(10, 16, 32, .55); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .22), 0 20px 40px -20px rgba(0, 0, 0, .5); animation: up .9s .4s var(--ease) both; }
.price-card small { font: 600 11px/1 var(--mono); text-transform: uppercase; letter-spacing: .08em; opacity: .8; }
.price-card b { display: flex; align-items: baseline; gap: 6px; font: 800 58px/1 var(--display); letter-spacing: -.04em; margin: 8px 0 6px; }
.price-card b span { font-size: 18px; letter-spacing: 0; opacity: .8; }
.price-card p { margin: 0; font-size: 13px; opacity: .85; line-height: 1.4; }

.stats { position: relative; z-index: 2; }
.stats .wrap { display: grid; grid-template-columns: repeat(4, 1fr); background: rgba(255, 255, 255, .96); border-radius: 0 0 22px 22px; box-shadow: var(--shadow); color: var(--ink); }
.stat { padding: 18px 22px; border-left: 1px solid var(--line); }
.stat:first-child { border-left: 0; }
.stat b { display: block; font: 800 30px/1 var(--display); letter-spacing: -.03em; }
.stat span { font-size: 13px; color: var(--muted); }

/* scena a livelli: solo transform/opacity, composti in GPU */
@supports (animation-timeline: scroll()) {
  /* allo scroll si muovono solo cielo, sole e montagne lontane: lago, città e strada restano solidali */
  .hero .ly[data-depth="0"], .hero .ly[data-depth=".04"], .hero .ly[data-depth=".08"] { animation: par linear both; animation-timeline: scroll(root); animation-range: 0 100vh; }
  .ly[data-depth="0"] { --d: .22; } .ly[data-depth=".04"] { --d: .18; } .ly[data-depth=".08"] { --d: .1; }
  @keyframes par { to { transform: translate3d(0, calc(var(--d, 0) * 60vh), 0); } }
}
}
.scene { container-type: size; }
.scene-box { position: absolute; top: 0; bottom: 0; left: 50%; width: max(100%, calc(100cqh * 16 / 9)); transform: translateX(-50%); overflow: hidden; }
.scene-box .ly { position: absolute; inset: 0; will-change: transform; }
.scene-box .ly > svg { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.scene-box .ent { position: absolute; display: block; will-change: transform; backface-visibility: hidden; }
.scene-box .ent > svg, .scene-box .ent > img { width: 100%; height: 100%; display: block; overflow: visible; }
.stars { animation: twa 4s ease-in-out infinite alternate; }
.stars.sb { animation-delay: -2s; }
@keyframes twa { from { opacity: .25; } to { opacity: 1; } }
.glints { animation: twa 1.6s ease-in-out infinite alternate; }
.glints.gb { animation-delay: -.8s; }
.cloud path { fill: #ffd8c0; }
.clouds { opacity: .55; }
.cloud.c1 { animation: drift 80s linear infinite alternate; }
.cloud.c2 { animation: drift 100s linear -30s infinite alternate-reverse; }
.cloud.c3 { animation: drift 70s linear -10s infinite alternate; }
@keyframes drift { to { transform: translate3d(60%, 0, 0); } }
.beacon { border-radius: 50%; background: #ff3b3b; box-shadow: 0 0 8px 2px rgba(255, 59, 59, .7); animation: blink 1.6s steps(1) infinite; }
@keyframes blink { 50% { opacity: .15; } }
.funicab { border-radius: 2px; background: #e30613; animation: funi 26s ease-in-out infinite alternate; }
@keyframes funi { from { transform: translate3d(0, 0, 0); } to { transform: translate3d(1440%, -3857%, 0); } }
.boat { animation: boat 120s linear infinite; }
@keyframes boat { from { transform: translate3d(1520%, 0, 0); } to { transform: translate3d(-110%, 0, 0); } }
.sail { animation: sail 46s ease-in-out infinite alternate; }
@keyframes sail { from { transform: translate3d(520%, 0, 0); } to { transform: translate3d(1020%, 1px, 0); } }
.car.v1 { animation: laneT 13s linear infinite; }
.car.v2 { animation: laneV 13s linear -6.5s infinite; }
.car.v3 { animation: laneL 16s linear -4s infinite; }
@keyframes laneT { from { transform: translate3d(-110%, 0, 0); } to { transform: translate3d(540%, 0, 0); } }
@keyframes laneV { from { transform: translate3d(-110%, 0, 0); } to { transform: translate3d(705%, 0, 0); } }
@keyframes laneL { from { transform: translate3d(1080%, 0, 0); } to { transform: translate3d(-110%, 0, 0); } }
.car img { position: relative; z-index: 1; }
/* fari e luci posteriori: accesi solo di notte */
.car .beam, .car .tail { position: absolute; display: block; opacity: 0; transition: opacity 1.6s ease; pointer-events: none; }
.car .beam { top: 44%; height: 70%; width: 110%; z-index: 0; background: linear-gradient(90deg, rgba(255, 236, 190, .75), rgba(255, 236, 190, .25) 45%, rgba(255, 236, 190, 0)); clip-path: polygon(0 42%, 100% 0, 100% 100%, 0 58%); }
.car .beam.right { left: 94%; top: 36%; }
.car .beam.truck { left: 90%; top: 40%; }
.car .beam.left { right: 94%; top: 36%; transform: scaleX(-1); }
.car .tail { width: 14%; height: 18%; border-radius: 50%; background: radial-gradient(closest-side, rgba(255, 40, 40, .9), rgba(255, 40, 40, 0)); z-index: 2; }
.car .tail.right { left: -6%; top: 50%; }
.car .tail.truck { left: 0; top: 64%; }
.car .tail.left { right: -6%; top: 50%; }
[data-sky="night"] .car .beam { opacity: 1; }
[data-sky="night"] .car .tail { opacity: 1; }
[data-sky="dusk"] .car .beam { opacity: .55; }
[data-sky="dusk"] .car .tail { opacity: .6; }
.grain { position: absolute; inset: 0; pointer-events: none; opacity: .05; background: url("/img/grain.png") repeat; background-size: 160px; }
.scene-box.paused, .scene-box.paused * { animation-play-state: paused !important; }

/* ---------- sezioni ---------- */
.sec { padding: clamp(72px, 9vw, 128px) 0; position: relative; }
.sec-h { display: flex; justify-content: space-between; align-items: flex-end; gap: 30px; margin-bottom: clamp(28px, 4vw, 48px); flex-wrap: wrap; }
.sec-h h2 { font-size: clamp(38px, 5.2vw, 68px); max-width: 16ch; text-wrap: balance; }
.sec-h h2 em { font-style: normal; color: var(--red); }
.sec-h p { max-width: 44ch; color: var(--muted); margin: 0; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; font: 600 12px/1 var(--mono); text-transform: uppercase; letter-spacing: .1em; color: var(--blue); margin-bottom: 16px; }
.eyebrow::before { content: ""; width: 18px; height: 2px; background: var(--red); border-radius: 2px; }
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.reveal.in { opacity: 1; transform: none; }

/* ---------- prenotazione ---------- */
.book { padding-top: clamp(64px, 8vw, 110px); }
.book-card { background: var(--card); border-radius: var(--r-lg); box-shadow: var(--shadow-lg); border: 1px solid var(--line); overflow: hidden; }
.book-top { padding: clamp(20px, 3vw, 34px) clamp(18px, 3vw, 34px) 0; }
.steps-row { display: flex; align-items: center; gap: 10px; margin-bottom: 22px; flex-wrap: wrap; }
.steps { display: flex; gap: 6px; list-style: none; padding: 0; margin: 0; counter-reset: s; flex-wrap: wrap; }
.steps li { counter-increment: s; display: flex; align-items: center; gap: 8px; padding: 6px 12px 6px 6px; border-radius: 999px; background: var(--bg); color: var(--muted); font-weight: 600; font-size: 14px; transition: background .3s, color .3s; }
.steps li::before { content: counter(s); width: 24px; height: 24px; border-radius: 50%; display: grid; place-items: center; background: #fff; font: 700 12px/1 var(--mono); box-shadow: inset 0 0 0 1px var(--line-2); }
.steps li.on { background: var(--ink); color: #fff; }
.steps li.on::before { background: var(--red); color: #fff; box-shadow: none; }
.steps li.ok::before { content: "✓"; background: var(--free); color: #fff; box-shadow: none; }
.demo-flag { display: none; align-items: center; gap: 6px; font: 600 11px/1 var(--mono); text-transform: uppercase; letter-spacing: .06em; background: #fff4d1; color: #8a5a00; padding: 7px 10px; border-radius: 999px; margin-left: auto; }
.book.is-demo .demo-flag { display: inline-flex; }

.quick { display: flex; gap: 8px; overflow-x: auto; padding-bottom: 4px; margin-bottom: 18px; scrollbar-width: none; }
.quick::-webkit-scrollbar { display: none; }
.quick button { display: flex; align-items: center; gap: 10px; flex-shrink: 0; height: 48px; padding: 0 8px 0 16px; border-radius: 14px; border: 1px solid var(--line-2); background: #fff; font: 600 15px/1 var(--body); color: var(--ink); cursor: pointer; transition: border-color .2s, background .2s; }
.quick button:hover { border-color: var(--ink); }
.quick button i { font-style: normal; display: inline-flex; align-items: center; gap: 4px; height: 32px; padding: 0 10px; border-radius: 10px; background: var(--free-soft); color: var(--free); font: 700 12px/1 var(--mono); }
.quick button i.no { background: var(--closed); color: var(--muted); }

.cats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.cat { position: relative; text-align: left; border: 1.5px solid var(--line-2); background: #fff; border-radius: var(--r); padding: 18px 18px 16px; cursor: pointer; font: inherit; color: inherit; transition: border-color .2s, box-shadow .2s, transform .2s var(--ease); }
.cat:hover { border-color: var(--ink); transform: translateY(-2px); }
.cat[aria-pressed="true"] { border-color: var(--red); box-shadow: 0 0 0 4px var(--red-soft); }
.cat .ct { display: flex; justify-content: space-between; gap: 10px; align-items: flex-start; }
.cat .cn { font: 800 22px/1.05 var(--display); letter-spacing: -.02em; display: block; }
.cat .cc { font-size: 13px; color: var(--muted); margin-top: 4px; display: block; }
.cat .vansil { width: 92px; height: auto; flex-shrink: 0; margin: -4px -4px 0 0; }
.cat .cp { display: flex; align-items: baseline; gap: 6px; margin: 14px 0 12px; }
.cat .cp b { font: 800 40px/1 var(--display); letter-spacing: -.04em; }
.cat .cp span { font-size: 13px; color: var(--muted); }
.cat .cd { display: flex; flex-wrap: wrap; gap: 6px; }
.cat .cd i { font: 500 11px/1 var(--mono); font-style: normal; padding: 6px 8px; border-radius: 8px; background: var(--bg); color: var(--ink-2); }
.cat .tick { position: absolute; top: -9px; right: -9px; width: 26px; height: 26px; border-radius: 50%; background: var(--red); color: #fff; display: grid; place-items: center; transform: scale(0); transition: transform .3s var(--ease); }
.cat .tick svg { width: 14px; height: 14px; stroke-width: 3; }
.cat[aria-pressed="true"] .tick { transform: scale(1); }

.cal-wrap { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(320px, 1fr); border-top: 1px solid var(--line); margin-top: 26px; }
.cal { padding: clamp(18px, 3vw, 30px); }
.cal-head { display: flex; align-items: center; gap: 8px; margin-bottom: 12px; }
.cal-head h3 { font-size: 26px; margin-right: auto; letter-spacing: -.03em; }
.cal-head button { width: 40px; height: 40px; border-radius: 12px; border: 1px solid var(--line-2); background: #fff; cursor: pointer; display: grid; place-items: center; color: var(--ink); }
.cal-head button:hover:not([disabled]) { border-color: var(--ink); }
.cal-head button[disabled] { opacity: .3; cursor: default; }
.dow, .days { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 6px; }
.dow span { font: 600 11px/1 var(--mono); text-transform: uppercase; color: var(--muted); text-align: center; padding: 6px 0; }
.day { position: relative; aspect-ratio: 1 / .92; border-radius: 12px; border: 1px solid var(--line); background: #fff; cursor: pointer; padding: 7px; display: flex; flex-direction: column; justify-content: space-between; font: inherit; color: inherit; text-align: left; transition: border-color .15s, box-shadow .15s, transform .15s; }
.day:hover:not([disabled]) { border-color: var(--ink); transform: translateY(-1px); box-shadow: var(--shadow); }
.day[disabled] { cursor: default; background: transparent; border-color: transparent; color: #b9b5ac; }
.day.pad { visibility: hidden; }
.day .dn { font: 700 16px/1 var(--display); }
.day.today .dn { color: var(--red); }
.day .halves { width: 100%; display: grid; grid-template-columns: 1fr 1fr; gap: 3px; height: 7px; }
.day .halves i { border-radius: 4px; background: var(--s, var(--closed)); }
.day .halves i.d { grid-column: 1 / -1; }
.day.sel { background: var(--ink); color: #fff; border-color: var(--ink); box-shadow: var(--shadow); }
.day.inrange { background: var(--blue-soft); border-color: var(--blue); }
.day .sp { position: absolute; right: 6px; top: 8px; width: 6px; height: 6px; border-radius: 50%; background: var(--blue); }
.legend { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 14px; font-size: 12px; color: var(--muted); }
.legend i { display: inline-block; width: 16px; height: 7px; border-radius: 4px; margin-right: 6px; background: var(--s); vertical-align: 1px; }
.legend .spd { display: inline-block; width: 6px; height: 6px; border-radius: 50%; background: var(--blue); margin-right: 6px; vertical-align: 1px; }

.panel { background: linear-gradient(180deg, #fbfaf7, #f4f1ea); border-left: 1px solid var(--line); padding: clamp(18px, 3vw, 30px); display: flex; flex-direction: column; min-height: 100%; }
.panel h3 { font-size: 28px; }
.panel .sub { color: var(--muted); font-size: 15px; margin: 6px 0 18px; }
.panel .empty { display: grid; place-items: center; text-align: center; flex: 1; color: var(--muted); padding: 30px 10px; }
.panel .empty img { width: 150px; margin: 0 auto 18px; opacity: .9; }
.panel .empty h3 { color: var(--ink); margin-bottom: 8px; }
.slots { display: grid; gap: 8px; margin-bottom: 16px; }
.slot { display: grid; grid-template-columns: auto 1fr auto; gap: 2px 12px; align-items: center; text-align: left; padding: 14px 16px; border-radius: 14px; border: 1.5px solid var(--line-2); background: #fff; color: inherit; font: inherit; cursor: pointer; transition: border-color .15s, box-shadow .15s; }
.slot:hover:not([disabled]) { border-color: var(--ink); }
.slot[aria-pressed="true"] { border-color: var(--red); box-shadow: 0 0 0 4px var(--red-soft); }
.slot[disabled] { opacity: .45; cursor: not-allowed; }
.slot .ic { grid-row: span 2; width: 40px; height: 40px; border-radius: 12px; background: var(--bg); display: grid; place-items: center; }
.slot b { font: 700 17px/1.1 var(--display); letter-spacing: -.01em; }
.slot .pr { grid-row: span 2; font: 800 22px/1 var(--display); letter-spacing: -.03em; }
.slot small { font-size: 12px; color: var(--muted); }
.st { display: inline-flex; align-items: center; gap: 5px; font-weight: 600; }
.st::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--s); }
.dur { display: flex; align-items: center; gap: 10px; margin: -4px 0 16px; font-size: 14px; color: var(--muted); flex-wrap: wrap; }
.dur select { font: 600 15px var(--body); background: #fff; color: var(--ink); border: 1px solid var(--line-2); border-radius: 10px; padding: 8px 10px; }
.total { display: flex; justify-content: space-between; align-items: flex-end; padding: 14px 16px; border-radius: 14px; background: var(--ink); color: #fff; margin-bottom: 16px; }
.total b { font: 800 34px/1 var(--display); letter-spacing: -.03em; }
.total span { font-size: 13px; opacity: .7; line-height: 1.4; }
.form { display: grid; gap: 10px; }
.form label { font-size: 13px; font-weight: 600; color: var(--ink-2); display: block; margin-bottom: 5px; }
.form input, .form textarea { width: 100%; font: 500 16px/1.3 var(--body); color: var(--ink); background: #fff; border: 1.5px solid var(--line-2); border-radius: 12px; padding: 13px 14px; transition: border-color .15s, box-shadow .15s; }
.form input:focus, .form textarea:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 4px var(--blue-soft); }
.form .row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.form .consent { display: flex; gap: 10px; align-items: flex-start; font-size: 13px; line-height: 1.45; color: var(--muted); font-weight: 400; margin: 0; }
.form .consent input { width: 18px; height: 18px; margin-top: 1px; accent-color: var(--red); flex-shrink: 0; padding: 0; }
.form .hp { position: absolute; left: -9999px; }
.form .err { color: var(--red); font-size: 14px; min-height: 1em; margin: 0; }
.form .btn { width: 100%; }
.done { text-align: center; padding: 30px 6px; margin: auto 0; }
.done .tickbig { width: 84px; height: 84px; border-radius: 50%; background: var(--free); display: grid; place-items: center; margin: 0 auto 18px; animation: pop .6s cubic-bezier(.3, 1.6, .5, 1) both; }
.done .tickbig svg { width: 44px; fill: none; stroke: #fff; stroke-width: 4; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 60; stroke-dashoffset: 60; animation: draw .5s .3s forwards; }
@keyframes pop { from { transform: scale(.3); opacity: 0; } to { transform: none; opacity: 1; } }
@keyframes draw { to { stroke-dashoffset: 0; } }
.cal-skel .day { animation: pulse 1.2s ease-in-out infinite alternate; }
@keyframes pulse { to { opacity: .45; } }

.book-page { padding: clamp(104px, 12vw, 130px) 0 clamp(48px, 6vw, 80px); }
.book-head { margin-bottom: 22px; }
.book-head .crumbs { color: var(--muted); }
.book-head .crumbs a { color: var(--ink); }
.book-head h1 { font-size: clamp(34px, 5vw, 60px); margin: 10px 0 10px; }
.book-head h1 em { font-style: normal; color: var(--red); }
.book-head p { color: var(--muted); max-width: 60ch; margin: 0; }
.prenota-page .hdr { position: fixed; left: 0; right: 0; }
.off-note { font-size: 13px; color: var(--muted); text-align: center; margin: 2px 0 0; }

/* ---------- intro + tiles ---------- */
.intro { display: grid; grid-template-columns: 1.2fr 1fr; gap: clamp(24px, 5vw, 80px); align-items: end; margin-bottom: clamp(28px, 4vw, 48px); }
.intro .big { font: 700 clamp(24px, 2.8vw, 36px)/1.2 var(--display); letter-spacing: -.025em; margin: 0; }
.intro .big mark { background: linear-gradient(transparent 62%, #ffd9d6 62%); color: inherit; }
.intro p { color: var(--muted); }
.tiles { display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 14px; }
.tile { position: relative; border-radius: var(--r-lg); overflow: hidden; min-height: 420px; color: #fff; display: flex; flex-direction: column; justify-content: flex-end; padding: 24px; text-decoration: none; isolation: isolate; background: var(--ink); }
.tile img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform 1.2s var(--ease); }
.tile::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(0,0,0,0) 35%, rgba(10, 12, 18, .85)); }
.tile:hover img { transform: scale(1.06); }
.tile .tag { position: absolute; top: 18px; left: 18px; padding: 7px 11px; border-radius: 999px; background: rgba(255,255,255,.9); color: var(--ink); font: 600 12px/1 var(--body); }
.tile h3 { font-size: clamp(30px, 3vw, 40px); margin-bottom: 14px; }
.tile .go { display: inline-flex; align-items: center; gap: 10px; font-weight: 700; font-size: 15px; }
.tile .go i { width: 38px; height: 38px; border-radius: 12px; background: var(--red); display: grid; place-items: center; font-style: normal; transition: transform .3s var(--ease); }
.tile:hover .go i { transform: translateX(5px); }

/* ---------- perché noi ---------- */
.why { background: var(--ink); color: #fff; border-radius: var(--r-lg); padding: clamp(28px, 5vw, 64px); position: relative; overflow: hidden; }
.why .sec-h p { color: rgba(255,255,255,.7); }
.why .eyebrow { color: #8fb9dc; }
.why-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.why-card { background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.1); border-radius: var(--r); padding: 22px; transition: background .3s, transform .3s var(--ease); }
.why-card:hover { background: rgba(255,255,255,.08); transform: translateY(-3px); }
.why-card .ic { width: 46px; height: 46px; border-radius: 14px; background: var(--red); display: grid; place-items: center; margin-bottom: 18px; }
.why-card .ic svg.i { width: 22px; height: 22px; color: #fff; }
.why-card h2 { font-size: 24px; margin-bottom: 10px; letter-spacing: -.02em; }
.why-card p { color: rgba(255,255,255,.72); font-size: 15px; margin: 0; }
.why-photo { margin: 14px 0 0; border-radius: var(--r); overflow: hidden; position: relative; aspect-ratio: 21 / 8; }
.why-photo img { width: 100%; height: 100%; object-fit: cover; }
.why-photo figcaption { position: absolute; left: 16px; bottom: 16px; background: #fff; color: var(--ink); border-radius: 14px; padding: 12px 16px; font-size: 13px; font-weight: 600; }
.why-photo figcaption b { display: block; font: 800 34px/1 var(--display); color: var(--red); }

/* ---------- pagine interne ---------- */
.page-hero { position: relative; background: var(--night); color: #fff; padding: clamp(130px, 16vw, 180px) 0 clamp(56px, 7vw, 90px); overflow: hidden; isolation: isolate; }
.page-hero .scene-box { opacity: .55; }
.page-hero::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(10,16,32,.7), rgba(10,16,32,.35)); }
.page-hero h1 { font-size: clamp(44px, 7vw, 92px); margin: 16px 0 18px; }
.page-hero h1 em { font-style: normal; color: #ff8a5c; }
.page-hero p { color: rgba(255,255,255,.85); max-width: 62ch; font-size: 18px; }
.crumbs { font-size: 14px; color: rgba(255,255,255,.7); }
.crumbs a { color: #fff; text-decoration: none; font-weight: 600; }
.crumbs span { margin: 0 8px; opacity: .5; }

.fleet { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.van { background: var(--card); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 12px; display: flex; flex-direction: column; box-shadow: var(--shadow); transition: transform .3s var(--ease), box-shadow .3s; }
.van:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); }
.gal { display: grid; grid-template-columns: 2fr 1fr; grid-template-rows: 1fr 1fr; gap: 6px; height: 300px; }
.gal button { border: 0; padding: 0; border-radius: 14px; overflow: hidden; cursor: zoom-in; background: var(--bg); }
.gal button:first-child { grid-row: span 2; }
.gal img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.gal button:hover img { transform: scale(1.05); }
.van-body { padding: 18px 12px 8px; display: flex; flex-direction: column; flex: 1; }
.van-body h2 { font-size: clamp(26px, 2.6vw, 34px); letter-spacing: -.03em; }
.van-body .tagline { color: var(--muted); margin: 8px 0 16px; font-size: 15px; }
.price { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 16px; }
.price div { border-radius: 14px; padding: 10px 14px; background: var(--bg); }
.price div:first-child { background: var(--ink); color: #fff; }
.price h6 { font: 600 11px/1 var(--mono); text-transform: uppercase; letter-spacing: .06em; opacity: .7; margin-bottom: 6px; }
.price b { font: 800 28px/1 var(--display); letter-spacing: -.03em; }
.price b small { font-size: 13px; margin-left: 3px; font-weight: 600; letter-spacing: 0; }
.specs { display: grid; grid-template-columns: repeat(auto-fill, minmax(104px, 1fr)); gap: 6px; list-style: none; padding: 0; margin: 0 0 16px; }
.specs li { border: 1px solid var(--line); border-radius: 12px; padding: 9px 11px; font-size: 12px; color: var(--muted); }
.specs li b { display: block; font: 700 15px/1.2 var(--body); color: var(--ink); }
.incl { list-style: none; padding: 0; margin: 0 0 18px; display: grid; grid-template-columns: 1fr 1fr; gap: 6px 14px; font-size: 14px; }
.incl li { display: flex; gap: 8px; align-items: flex-start; }
.incl svg.i { color: var(--free); width: 16px; height: 16px; margin-top: 3px; }
.van-body .btn { margin-top: auto; align-self: flex-start; height: 48px; }
.mini-title { font: 600 11px/1 var(--mono) !important; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); margin: 0 0 8px !important; }
/* flotta reale (VanBooking): gallerie da 1, 2 o 5 foto, ritagli su bianco interi */
.van-body h3 { font-size: clamp(24px, 2.4vw, 32px); letter-spacing: -.03em; }
.van-cat { font: 600 11px/1 var(--mono); text-transform: uppercase; letter-spacing: .08em; color: var(--red); margin-bottom: 8px; }
.gal.n1 { grid-template-columns: 1fr; grid-template-rows: 1fr; }
.gal.n1 button:first-child { grid-row: auto; }
.gal.n2 { grid-template-columns: 1.5fr 1fr; grid-template-rows: 1fr; }
.gal.n2 button:first-child { grid-row: auto; }
.gal.n5 { grid-template-columns: 2fr 1fr 1fr; }
.gal button.cut { background: #fff; }
.gal button.cut img { object-fit: contain; padding: 4px 10px; }
.price b.ask { font: 700 17px/28px var(--body); letter-spacing: 0; }
.cat-sec { padding-bottom: 0; scroll-margin-top: 90px; }
.van { scroll-margin-top: 100px; }
.cat-sec + .cat-sec { padding-top: clamp(40px, 5vw, 64px); }
.cat-sec:last-of-type { padding-bottom: clamp(56px, 7vw, 96px); }
.cat-jump { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 22px; }
.cat-jump a { display: inline-flex; align-items: baseline; gap: 8px; padding: 10px 14px; border-radius: 999px; background: rgba(255,255,255,.12); box-shadow: inset 0 0 0 1px rgba(255,255,255,.25); color: #fff; text-decoration: none; font-weight: 700; font-size: 15px; }
.cat-jump a b { font: 600 12px/1 var(--mono); opacity: .8; }
.cat-jump a:hover { background: rgba(255,255,255,.22); }
.tile img[src*="opel-vivaro-1"], .tile img[src*="sprinter"] { object-fit: contain; object-position: 50% 30%; background: #fff; }

.lb { position: fixed; inset: 0; z-index: 300; background: rgba(8, 9, 11, .94); display: none; place-items: center; padding: 20px; }
.lb.open { display: grid; }
.lb img { max-height: 88vh; max-width: 94vw; border-radius: 14px; width: auto; }
.lb button { position: absolute; top: 18px; right: 18px; width: 48px; height: 48px; border-radius: 14px; border: 0; background: #fff; font-size: 20px; cursor: pointer; }

.faq { max-width: 860px; display: grid; gap: 10px; }
.faq details { background: var(--card); border: 1px solid var(--line); border-radius: var(--r); padding: 0 22px; transition: box-shadow .3s; }
.faq details[open] { box-shadow: var(--shadow); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; gap: 20px; align-items: center; padding: 22px 0; font: 700 clamp(19px, 2vw, 23px)/1.2 var(--display); letter-spacing: -.02em; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; flex-shrink: 0; width: 34px; height: 34px; border-radius: 10px; background: var(--bg) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2314161c' stroke-width='2.4' stroke-linecap='round'%3E%3Cpath d='M12 5v14M5 12h14'/%3E%3C/svg%3E") center/16px no-repeat; transition: transform .3s var(--ease), background-color .3s; }
.faq details[open] summary::after { transform: rotate(45deg); background-color: var(--red-soft); }
.faq details p { color: var(--ink-2); max-width: 64ch; padding-bottom: 22px; margin: 0; }

.contact-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.ccard { background: var(--card); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 24px; text-decoration: none; display: flex; flex-direction: column; gap: 8px; transition: transform .3s var(--ease), box-shadow .3s; }
a.ccard:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); }
.ccard .ic { width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center; background: var(--red-soft); color: var(--red); margin-bottom: 6px; }
.ccard .ic.g { background: #e7f8ee; color: #128c4b; }
.ccard .ic.g svg { width: 22px; height: 22px; fill: currentColor; }
.ccard .ic.b { background: var(--blue-soft); color: var(--blue); }
.ccard .lbl { font-size: 13px; color: var(--muted); font-weight: 600; }
.ccard .val { font: 800 clamp(22px, 2.2vw, 28px)/1.1 var(--display); letter-spacing: -.03em; word-break: break-word; }
.ccard .val.small { font-size: clamp(17px, 1.6vw, 20px); }
.ccard p { color: var(--muted); margin: 0; font-size: 15px; }
.ccard.map { grid-column: span 2; background: var(--night); color: #fff; position: relative; overflow: hidden; min-height: 300px; justify-content: flex-end; border: 0; isolation: isolate; }
.ccard.map svg.mapart { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -1; }
.ccard.map .lbl, .ccard.map p { color: rgba(255,255,255,.75); }
.hours { list-style: none; padding: 0; margin: 4px 0 0; font-size: 15px; }
.hours li { display: flex; justify-content: space-between; gap: 12px; padding: 8px 0; border-bottom: 1px dashed var(--line-2); }
.hours li:last-child { border-bottom: 0; }
.hours b { font-weight: 700; }

/* ---------- CTA finale + footer ---------- */
.final { padding: 0 0 clamp(56px, 7vw, 96px); }
.final .box { position: relative; overflow: hidden; border-radius: var(--r-lg); background: var(--red); color: #fff; padding: clamp(30px, 5vw, 64px); display: grid; grid-template-columns: 1fr auto; gap: 24px; align-items: center; isolation: isolate; }
.final .box::before { content: ""; position: absolute; right: -60px; bottom: -40px; width: 420px; height: 210px; z-index: -1; background: url("/brand/truck.svg") center/contain no-repeat; opacity: .16; transform: rotate(-6deg); }
.final h2 { font-size: clamp(34px, 5vw, 64px); max-width: 14ch; }
.final p { margin: 12px 0 0; opacity: .9; max-width: 44ch; }
.final .acts { display: flex; gap: 10px; flex-wrap: wrap; }
.final .btn.dark { background: var(--ink); }
.final .btn.glass { background: rgba(255,255,255,.16); }

footer { background: var(--ink); color: rgba(255,255,255,.65); padding: 60px 0 calc(28px + env(safe-area-inset-bottom)); font-size: 14px; }
footer .cols { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 30px; margin-bottom: 44px; }
footer h4 { font: 600 12px/1 var(--mono); color: #fff; letter-spacing: .08em; text-transform: uppercase; margin-bottom: 16px; }
footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
footer a { color: rgba(255,255,255,.88); text-decoration: none; }
footer a:hover { color: #fff; text-decoration: underline; }
footer .flogo { height: 64px; width: auto; margin-bottom: 16px; }
footer .legal { border-top: 1px solid rgba(255,255,255,.12); padding-top: 22px; display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; font-size: 12px; }

/* ---------- responsive ---------- */
@media (max-width: 1460px) { .pill.soft .num { display: none; } .pill.soft { width: 44px; padding: 0; justify-content: center; } .menu a { padding: 9px 12px; } }
@media (max-width: 1120px) {
  .menu { display: none; }
  .hdr .bar { justify-content: space-between; }
  .burger { display: block; }
  .hdr-act { margin-left: auto; }
  .hdr-act .pill.soft { display: none; }
  .cal-wrap { grid-template-columns: 1fr; }
  .panel { border-left: 0; border-top: 1px solid var(--line); }
  .why-grid { grid-template-columns: 1fr 1fr; }
  footer .cols { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 860px) {
  .tiles, .intro, .fleet, .contact-grid, .final .box { grid-template-columns: 1fr; }
  .ccard.map { grid-column: auto; }
  .tile { min-height: 300px; }
  .price-card { display: none; }
  .stats .wrap { grid-template-columns: 1fr 1fr; }
  .stat:nth-child(3) { border-left: 0; }
  .stat:nth-child(n+3) { border-top: 1px solid var(--line); }
  .stat { padding: 12px 18px; }
  .stat b { font-size: 24px; }
  .cats { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; gap: 10px; margin-inline: calc(-1 * clamp(18px, 3vw, 34px)); padding: 10px clamp(18px, 3vw, 34px) 12px; scrollbar-width: none; }
  .cats::-webkit-scrollbar { display: none; }
  .cat { flex: 0 0 82%; scroll-snap-align: center; }
}
@media (max-width: 640px) {
  body { font-size: 16px; padding-bottom: calc(74px + env(safe-area-inset-bottom)); }
  .hdr { padding: 8px 0; }
  .hdr .bar { padding: 6px 6px 6px 12px; border-radius: 18px; }
  .brand img { height: 38px; }
  .hdr-act .pill.go { display: none; }
  .hero { height: max(600px, calc(100svh - 70px)); }
  .scene-box { transform: translateX(-58%); }
  .hero-in { padding-top: 104px; }
  .hero h1 { font-size: clamp(44px, 13vw, 60px); }
  .trust { gap: 6px 14px; font-size: 14px; margin-bottom: 22px; }
  .hero .actions .btn { flex: 1; padding: 0 16px; }
  .stats { display: none; }
  .book { padding-top: 64px; }
  .book-page { padding-top: 84px; }
  .book-head p { display: none; }
  .book-head h1 { font-size: 32px; }
  .dow, .days { gap: 4px; }
  .day { padding: 5px; border-radius: 10px; }
  .day .dn { font-size: 14px; }
  .form .row2 { grid-template-columns: 1fr; }
  .incl { grid-template-columns: 1fr; }
  .gal { height: 230px; }
  .why-grid { grid-template-columns: 1fr; }
  .why-photo { aspect-ratio: 4 / 3; }
  footer .cols { grid-template-columns: 1fr; }
  .tabbar { display: grid; grid-template-columns: repeat(5, 1fr); position: fixed; left: 0; right: 0; bottom: 0; z-index: 70; background: #fff; border-top: 1px solid var(--line); padding: 6px 4px calc(6px + env(safe-area-inset-bottom)); }
  .tabbar a { display: flex; flex-direction: column; align-items: center; gap: 3px; padding: 6px 0; text-decoration: none; font-size: 11px; font-weight: 600; color: var(--muted); }
  .tabbar a[aria-current="page"] { color: var(--ink); }
  .tabbar a svg.i { width: 22px; height: 22px; }
  .tabbar a.wa svg { width: 22px; height: 22px; fill: #128c4b; }
  .tabbar a.mid span.b { width: 52px; height: 52px; margin-top: -24px; border-radius: 18px; background: var(--red); color: #fff; display: grid; place-items: center; box-shadow: 0 10px 24px -8px var(--red); }
  .tabbar a.mid { color: var(--ink); }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .reveal { opacity: 1; transform: none; }
  .loader { display: none; }
}


/* ---------- cielo che segue l'ora (data-sky su <html>: day | dusk | night) ---------- */
.scene-box stop { transition: stop-color 1.6s ease, stop-opacity 1.6s ease; }
.scene-box .moon, .scene-box .lights, .scene-box .refl, .scene-box .lglow, .scene-box .town, .scene-box .rim, .scene-box .tree, .scene-box .hazer, .scene-box .cloud path, .scene-box .glints g { transition: opacity 1.6s ease, filter 1.6s ease, fill 1.6s ease; }
.scene-box .sun-g { transform: translateY(var(--sun-y, 0px)); transition: transform 1.6s ease, opacity 1.6s ease; }
.scene-box .moon { opacity: 0; }

[data-sky="day"] .k1 { stop-color: #2f86d8; } [data-sky="day"] .k2 { stop-color: #4fa0e4; } [data-sky="day"] .k3 { stop-color: #86c0ee; }
[data-sky="day"] .k4 { stop-color: #b9dcf4; } [data-sky="day"] .k5 { stop-color: #dbeef6; } [data-sky="day"] .k6 { stop-color: #f2f7f4; }
[data-sky="day"] .u1 { stop-color: #ffffff; } [data-sky="day"] .u2 { stop-color: #fff6d8; } [data-sky="day"] .u3 { stop-color: #fff3c4; stop-opacity: .35; } [data-sky="day"] .u4 { stop-color: #ffffff; stop-opacity: 0; }
[data-sky="day"] .a1 { stop-color: #9fb6d4; } [data-sky="day"] .a2 { stop-color: #c4d4e4; }
[data-sky="day"] .g1 { stop-color: #7c98b4; } [data-sky="day"] .g2 { stop-color: #9fb3c6; }
[data-sky="day"] .b1 { stop-color: #5c9466; } [data-sky="day"] .b2 { stop-color: #417a4f; } [data-sky="day"] .b3 { stop-color: #86ad80; }
[data-sky="day"] .s1 { stop-color: #8cbb7f; } [data-sky="day"] .s2 { stop-color: #55905a; } [data-sky="day"] .s3 { stop-color: #36684a; }
[data-sky="day"] .l1 { stop-color: #c8ece9; } [data-sky="day"] .l2 { stop-color: #7cc3c4; } [data-sky="day"] .l3 { stop-color: #3a91a0; } [data-sky="day"] .l4 { stop-color: #1e5f74; }
[data-sky="day"] .h1, [data-sky="day"] .h2 { stop-color: #ffffff; }
[data-sky="day"] .lights, [data-sky="day"] .refl, [data-sky="day"] .lglow, [data-sky="day"] .rim { opacity: 0; }
[data-sky="day"] .town { filter: brightness(3.4) saturate(.35) sepia(.25); }
[data-sky="day"] .cloud path { fill: #ffffff; } [data-sky="day"] .clouds { opacity: .9; } [data-sky="day"] .stars { visibility: hidden; }
[data-sky="day"] .glints g { fill: #ffffff; }
[data-sky="day"] .tree { fill: #2f5a3b; }
[data-sky="day"] .prom { fill: #8a8f99; }
[data-sky="day"] .hazer { opacity: .25; }

[data-sky="night"] .k1 { stop-color: #03060f; } [data-sky="night"] .k2 { stop-color: #081127; } [data-sky="night"] .k3 { stop-color: #0f1b3d; }
[data-sky="night"] .k4 { stop-color: #16244b; } [data-sky="night"] .k5 { stop-color: #1c2b55; } [data-sky="night"] .k6 { stop-color: #23335e; }
[data-sky="night"] .a1 { stop-color: #222947; } [data-sky="night"] .a2 { stop-color: #283052; }
[data-sky="night"] .g1 { stop-color: #1d2442; } [data-sky="night"] .g2 { stop-color: #242c4c; }
[data-sky="night"] .b1 { stop-color: #161b36; } [data-sky="night"] .b2 { stop-color: #12172f; } [data-sky="night"] .b3 { stop-color: #1b2140; }
[data-sky="night"] .s1 { stop-color: #1c2142; } [data-sky="night"] .s2 { stop-color: #141936; } [data-sky="night"] .s3 { stop-color: #0f132b; }
[data-sky="night"] .l1 { stop-color: #1d2a55; } [data-sky="night"] .l2 { stop-color: #15204a; } [data-sky="night"] .l3 { stop-color: #0d1533; } [data-sky="night"] .l4 { stop-color: #060a1a; }
[data-sky="night"] .h1, [data-sky="night"] .h2 { stop-color: #8fa4ff; stop-opacity: 0; }
[data-sky="night"] .sun-g, [data-sky="night"] .rim { opacity: 0; }
[data-sky="night"] .boat .win { fill: #ffe08a; }
[data-sky="night"] .moon { opacity: 1; }
[data-sky="night"] .cloud path { fill: #3a4470; } [data-sky="night"] .clouds { opacity: .5; }
[data-sky="night"] .glints g { fill: #dfe6ff; }
[data-sky="night"] .refl { opacity: .45; }
[data-sky="night"] .town { filter: brightness(.7); }


[data-sky="dawn"] .k1 { stop-color: #2b3f7a; } [data-sky="dawn"] .k2 { stop-color: #5d6fae; } [data-sky="dawn"] .k3 { stop-color: #b39bc6; }
[data-sky="dawn"] .k4 { stop-color: #f3b9b4; } [data-sky="dawn"] .k5 { stop-color: #ffd2a6; } [data-sky="dawn"] .k6 { stop-color: #ffe8c4; }
[data-sky="dawn"] .u1 { stop-color: #fffaf0; } [data-sky="dawn"] .u2 { stop-color: #ffe4ad; } [data-sky="dawn"] .u3 { stop-color: #ffb48c; stop-opacity: .5; } [data-sky="dawn"] .u4 { stop-color: #ff9a8a; stop-opacity: 0; }
[data-sky="dawn"] .a1 { stop-color: #a9a1cc; } [data-sky="dawn"] .a2 { stop-color: #dcb7c6; }
[data-sky="dawn"] .g1 { stop-color: #8d86b6; } [data-sky="dawn"] .g2 { stop-color: #b39ab9; }
[data-sky="dawn"] .b1 { stop-color: #56608f; } [data-sky="dawn"] .b2 { stop-color: #485184; } [data-sky="dawn"] .b3 { stop-color: #8a7fae; }
[data-sky="dawn"] .s1 { stop-color: #a58bb4; } [data-sky="dawn"] .s2 { stop-color: #5d5e92; } [data-sky="dawn"] .s3 { stop-color: #424879; }
[data-sky="dawn"] .l1 { stop-color: #ffd9bf; } [data-sky="dawn"] .l2 { stop-color: #e2aebd; } [data-sky="dawn"] .l3 { stop-color: #8693c4; } [data-sky="dawn"] .l4 { stop-color: #3e4f8a; }
[data-sky="dawn"] .h1, [data-sky="dawn"] .h2 { stop-color: #ffe1c8; }
[data-sky="dawn"] .cloud path { fill: #ffe0d2; } [data-sky="dawn"] .clouds { opacity: .8; }
[data-sky="dawn"] .glints g { fill: #fff3dc; }
[data-sky="dawn"] .lights { opacity: .35; } [data-sky="dawn"] .refl { opacity: .12; }
[data-sky="dawn"] .tree { fill: #2a2f4e; } [data-sky="dawn"] .stars { opacity: .25; }
[data-sky="dawn"] .car .beam { opacity: .35; } [data-sky="dawn"] .car .tail { opacity: .5; }

/* ---------- interruttore tema ---------- */
.theme { display: inline-flex; padding: 3px; gap: 2px; border-radius: 13px; background: var(--bg); }
.theme button { min-width: 36px; padding: 0 6px; height: 38px; border: 0; border-radius: 10px; background: transparent; color: var(--muted); cursor: pointer; display: grid; place-items: center; font: 700 11px/1 var(--mono); }
.theme button svg.i { width: 17px; height: 17px; }
.theme button[aria-pressed="true"] { background: var(--card); color: var(--ink); box-shadow: 0 1px 2px rgba(0,0,0,.08), 0 4px 10px -6px rgba(0,0,0,.3); }

/* ---------- tema scuro del sito ---------- */
html[data-theme="dark"] {
  color-scheme: dark;
  --bg: #0b1020; --card: #141a2c; --ink: #eef0f6; --ink-2: #c9cdd9; --muted: #8f96a8;
  --line: #222a40; --line-2: #2f3852; --red-soft: #3a1418; --blue-soft: #16264a; --free-soft: #12301f; --few-soft: #3a2a10;
  --full: #3d4458; --closed: #1d2436;
  --shadow: 0 1px 2px rgba(0,0,0,.3), 0 12px 32px -14px rgba(0,0,0,.6);
  --shadow-lg: 0 2px 4px rgba(0,0,0,.3), 0 30px 60px -28px rgba(0,0,0,.8);
}
html[data-theme="dark"] .hdr .bar { background: rgba(18, 24, 42, .97); border-color: rgba(255,255,255,.08); }
html[data-theme="dark"] .menu a:hover, html[data-theme="dark"] .menu a[aria-current="page"] { background: var(--card); }
html[data-theme="dark"] .pill.wa { background: #10301f; color: #3ddc84; }
html[data-theme="dark"] .burger { background: var(--card); }
html[data-theme="dark"] .brand img, html[data-theme="dark"] footer .flogo { content: url("/brand/lockup-dark.svg"); }
html[data-theme="dark"] .stats .wrap { background: var(--card); }
html[data-theme="dark"] .cat, html[data-theme="dark"] .slot, html[data-theme="dark"] .day, html[data-theme="dark"] .quick button,
html[data-theme="dark"] .cal-head button, html[data-theme="dark"] .form input, html[data-theme="dark"] .form textarea,
html[data-theme="dark"] .dur select, html[data-theme="dark"] .btn.line, html[data-theme="dark"] .steps li::before { background: #1a2136; color: var(--ink); }
html[data-theme="dark"] .day[disabled] { background: transparent; color: #4a5168; }
html[data-theme="dark"] .day.sel, html[data-theme="dark"] .steps li.on, html[data-theme="dark"] .total { background: var(--red); color: #fff; }
html[data-theme="dark"] .panel { background: linear-gradient(180deg, #121829, #0f1424); }
html[data-theme="dark"] .why { background: #10162a; border: 1px solid var(--line); }
html[data-theme="dark"] .price div:first-child { background: var(--red); }
html[data-theme="dark"] .btn.dark { background: #fff; color: #0b1020; }
html[data-theme="dark"] .intro .big mark { background: linear-gradient(transparent 62%, rgba(227, 6, 19, .45) 62%); }
html[data-theme="dark"] .tabbar { background: #0e1322; }
html[data-theme="dark"] .tile .tag { background: rgba(14, 19, 34, .85); color: #fff; }
html[data-theme="dark"] .faq summary::after { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23eef0f6' stroke-width='2.4' stroke-linecap='round'%3E%3Cpath d='M12 5v14M5 12h14'/%3E%3C/svg%3E"); }
html[data-theme="dark"] footer { background: #070a14; }
html[data-theme="dark"] .loader { background: var(--bg); }
html[data-theme="dark"] .loader .line { background: repeating-linear-gradient(90deg, #fff 0 26px, transparent 26px 44px); }
@media (max-width: 640px) { .hdr-act .theme button { min-width: 30px; padding: 0 4px; } .hdr-act .theme button[data-mode="auto"] { font-size: 9px; } }

/* ---------- menu a foglio (tablet e telefono) ---------- */
.hdr { z-index: 90; }
.pill.call { display: none; background: var(--bg); color: var(--ink); width: 44px; padding: 0; justify-content: center; }
.sheet { position: fixed; inset: 0; z-index: 85; }
.sheet[hidden] { display: none; }
.sheet-bg { position: absolute; inset: 0; background: rgba(8, 12, 24, .45); opacity: 0; transition: opacity .3s var(--ease); }
.sheet-panel { position: absolute; left: 0; right: 0; top: 0; max-height: 100%; overflow-y: auto; overscroll-behavior: contain;
  padding: 86px var(--gut) calc(18px + env(safe-area-inset-bottom)); background: var(--card); color: var(--ink);
  border-radius: 0 0 28px 28px; box-shadow: 0 30px 60px -20px rgba(0, 0, 0, .45);
  transform: translateY(-24px); opacity: 0; transition: transform .45s var(--ease), opacity .3s var(--ease); }
.sheet.open .sheet-bg { opacity: 1; }
.sheet.open .sheet-panel { transform: none; opacity: 1; }
.sheet-nav { list-style: none; margin: 0 0 14px; padding: 0; display: grid; gap: 4px; }
.sheet-nav li, .sheet-box, .sheet-acts, .sheet-foot { opacity: 0; transform: translateY(10px); transition: opacity .4s var(--ease), transform .45s var(--ease); transition-delay: calc(var(--i, 0) * 35ms + 60ms); }
.sheet.open .sheet-nav li, .sheet.open .sheet-box, .sheet.open .sheet-acts, .sheet.open .sheet-foot { opacity: 1; transform: none; }
.sheet-nav a { display: grid; grid-template-columns: 44px 1fr 20px; gap: 14px; align-items: center; padding: 8px 12px 8px 8px; border-radius: 18px; text-decoration: none; transition: background .2s; }
.sheet-nav a:hover, .sheet-nav a:focus-visible { background: var(--bg); }
.sheet-nav .si { width: 44px; height: 44px; border-radius: 14px; display: grid; place-items: center; background: var(--bg); color: var(--ink-2); }
.sheet-nav .si svg.i { width: 21px; height: 21px; }
.sheet-nav .st { display: flex; flex-direction: column; align-items: flex-start; text-align: left; min-width: 0; }
.sheet-nav .st b { font: 700 19px/1.15 var(--display); letter-spacing: -.02em; }
.sheet-nav .st small { font-size: 13px; color: var(--muted); }
.sheet-nav .sa { color: var(--muted); opacity: .6; }
.sheet-nav a[aria-current="page"] { background: var(--bg); }
.sheet-nav a[aria-current="page"] .si { background: var(--ink); color: var(--card); }
.sheet-nav a[aria-current="page"] .st b::after { content: ""; display: inline-block; width: 6px; height: 6px; border-radius: 50%; background: var(--red); margin-left: 8px; vertical-align: 3px; }
.sheet-nav a.hot .si { background: var(--red); color: #fff; box-shadow: 0 8px 18px -8px var(--red); }
.sheet-box { border-top: 1px solid var(--line); padding: 16px 2px 4px; }
.sheet-lbl { display: block; font: 600 11px/1 var(--mono); text-transform: uppercase; letter-spacing: .1em; color: var(--muted); margin-bottom: 10px; }
.sheet-hint { font-size: 12px; color: var(--muted); margin: 8px 2px 0; }
.theme.big { display: grid; grid-template-columns: repeat(3, 1fr); padding: 4px; gap: 4px; border-radius: 16px; width: 100%; }
.theme.big button { min-width: 0; height: 48px; border-radius: 12px; display: flex; gap: 8px; align-items: center; justify-content: center; font: 600 15px/1 var(--body); }
.sheet-acts { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin: 14px 0 12px; }
.sheet-acts .btn { height: 50px; padding: 0 12px; font-size: 15px; }
.sheet-acts .btn.wa { background: #1fa855; box-shadow: 0 12px 26px -14px #1fa855; }
.sheet-acts .btn.wa svg { width: 20px; height: 20px; fill: #fff; }
.sheet-foot { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; font-size: 13px; color: var(--muted); margin: 0; }
.sheet-foot svg.i { width: 15px; height: 15px; }
html.menu-open { overflow: hidden; }
html.menu-open .tabbar { visibility: hidden; }
@media (max-width: 1120px) {
  .hdr-act .theme, .hdr-act .pill.wa, .hdr-act .pill.soft { display: none; }
  .pill.call { display: inline-flex; }
}
@media (max-width: 640px) { .hdr-act .pill.call { display: inline-flex; } }
@media (min-width: 1121px) { .sheet { display: none !important; } }

/* ---------- prenotazione v3: furgone → giorno col prezzo → fascia ---------- */
.bk-step { display: flex; align-items: center; gap: 10px; font: 700 15px/1 var(--body); color: var(--ink); margin: 0 0 12px; }
.bk-step i { font-style: normal; width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; background: var(--red); color: #fff; font: 700 12px/1 var(--mono); }
.book-top { padding-bottom: 4px; }
.cats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin: 0; padding: 0; overflow: visible; }
.cat { display: grid; grid-template-columns: auto auto 1fr auto; align-items: center; gap: 12px; padding: 14px 16px; border-radius: 16px; border: 1.5px solid var(--line-2); background: var(--card); cursor: pointer; text-align: left; font: inherit; color: inherit; transition: border-color .2s, box-shadow .2s, background .2s; flex: none; }
.cat:hover { border-color: var(--ink); transform: none; }
.cat[aria-checked="true"] { border-color: var(--red); box-shadow: 0 0 0 4px var(--red-soft); }
.cat .radio { width: 20px; height: 20px; border-radius: 50%; border: 2px solid var(--line-2); display: grid; place-items: center; transition: border-color .2s; }
.cat[aria-checked="true"] .radio { border-color: var(--red); }
.cat[aria-checked="true"] .radio::after { content: ""; width: 10px; height: 10px; border-radius: 50%; background: var(--red); }
.cat .vansil { width: 54px; height: auto; margin: 0; }
.cat .cn { display: flex; flex-direction: column; min-width: 0; }
.cat .cn b { font: 700 17px/1.15 var(--display); letter-spacing: -.02em; }
.cat .cn small { font-size: 12px; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.cat .cp { display: flex; flex-direction: column; align-items: flex-end; margin: 0; }
.cat .cp b { font: 800 24px/1 var(--display); letter-spacing: -.03em; }
.cat .cp small { font-size: 11px; color: var(--muted); white-space: nowrap; }

.cal-wrap { margin-top: 20px; }
.day { aspect-ratio: auto; min-height: 66px; padding: 6px 7px; gap: 2px; justify-content: flex-start; }
.day .dn { font-size: 15px; }
.day .pp { font: 700 13px/1 var(--display); margin-top: auto; }
.day .tg { font: 600 9px/1 var(--mono); text-transform: uppercase; letter-spacing: .02em; color: var(--muted); }
.day.k-free { background: var(--free-soft); border-color: transparent; }
.day.k-free .pp { color: var(--free); }
.day.k-few, .day.k-half { background: var(--few-soft); border-color: transparent; }
.day.k-few .pp, .day.k-half .pp { color: #b86e00; }
.day.k-full { background: transparent; border-color: transparent; color: var(--muted); }
.day.k-full .tg { text-decoration: line-through; }
.day.k-off, .day.k-closed { background: transparent; border-color: transparent; color: var(--line-2); }
.day.sel { background: var(--ink); border-color: var(--ink); color: var(--card); }
.day.sel .pp, .day.sel .tg { color: var(--card); }
.day.inrange { background: var(--blue-soft); border-color: var(--blue); }
html[data-theme="dark"] .day.k-few .pp, html[data-theme="dark"] .day.k-half .pp { color: #ffb648; }
html[data-theme="dark"] .day.k-free, html[data-theme="dark"] .day.k-few, html[data-theme="dark"] .day.k-half { border-color: transparent; }
html[data-theme="dark"] .day.k-free { background: var(--free-soft); }
html[data-theme="dark"] .day.k-few, html[data-theme="dark"] .day.k-half { background: var(--few-soft); }
html[data-theme="dark"] .day.k-full, html[data-theme="dark"] .day.k-off, html[data-theme="dark"] .day.k-closed { background: transparent; }
html[data-theme="dark"] .day.sel { background: var(--red); color: #fff; }
.legend { gap: 16px; }
.lg { display: inline-block; width: 12px; height: 12px; border-radius: 4px; vertical-align: -1px; margin: 0 4px 0 8px; }
.lg.k-free { background: var(--free); } .lg.k-few { background: var(--few); } .lg.k-full { background: var(--full); }

.panel .empty p { line-height: 1.9; }
.ph { display: flex; justify-content: space-between; align-items: flex-start; gap: 10px; margin-bottom: 14px; }
.ph-k { font: 600 12px/1 var(--mono); text-transform: uppercase; letter-spacing: .06em; color: var(--red); }
.ph h3 { font-size: 24px; margin-top: 6px; }
.ph-x { flex-shrink: 0; width: 40px; height: 40px; border-radius: 12px; border: 0; background: var(--bg); color: var(--ink); display: grid; place-items: center; cursor: pointer; }
.slot { grid-template-columns: auto 1fr auto; gap: 12px; padding: 12px 14px; }
.slot .ic { grid-row: auto; }
.slot .sn { display: flex; flex-direction: column; }
.slot .pr { grid-row: auto; }
.slot[aria-checked="true"] { border-color: var(--red); box-shadow: 0 0 0 4px var(--red-soft); }
.dur { justify-content: space-between; background: var(--bg); border-radius: 14px; padding: 8px 8px 8px 14px; margin: 0 0 14px; }
.dur > span { font-weight: 700; color: var(--ink); }
.dur small { flex-basis: 100%; order: 3; font-size: 12px; }
.stepper { display: flex; align-items: center; gap: 6px; }
.stepper button { width: 40px; height: 40px; border-radius: 12px; border: 1px solid var(--line-2); background: var(--card); color: var(--ink); font: 700 20px/1 var(--body); cursor: pointer; }
.stepper button[disabled] { opacity: .35; cursor: default; }
.stepper b { min-width: 28px; text-align: center; font: 800 20px/1 var(--display); }
.total { align-items: center; }
.total span { font-weight: 700; opacity: 1; }
.total small { font-weight: 400; opacity: .7; }
.panel-bg { display: none; }

@media (max-width: 1120px) {
  .cats { grid-template-columns: 1fr; }
}
@media (max-width: 860px) {
  .cats { display: grid; grid-template-columns: 1fr; margin: 0; padding: 0; }
  .cat { padding: 12px 14px; gap: 10px; }
  .cat .vansil { width: 46px; }
  /* il dettaglio del giorno è un pannello dal basso */
  .panel { position: fixed; left: 0; right: 0; bottom: 0; z-index: 95; max-height: 88svh; overflow-y: auto; overscroll-behavior: contain;
    border: 0; border-radius: 26px 26px 0 0; background: var(--card); padding: 10px 18px calc(18px + env(safe-area-inset-bottom));
    box-shadow: 0 -20px 50px -10px rgba(0, 0, 0, .4); transform: translateY(105%); transition: transform .4s var(--ease); min-height: 0; }
  .panel::before { content: ""; display: block; width: 44px; height: 5px; border-radius: 5px; background: var(--line-2); margin: 0 auto 12px; }
  .panel:not(.open) { visibility: hidden; transition: transform .4s var(--ease), visibility 0s .4s; }
  .panel.open { transform: none; }
  .panel .empty { display: none; }
  .panel-bg { display: block; position: fixed; inset: 0; z-index: 94; background: rgba(8, 12, 24, .45); opacity: 0; pointer-events: none; transition: opacity .3s; }
  .panel-bg.open { opacity: 1; pointer-events: auto; }
  html.sheet-open { overflow: hidden; }
  html.sheet-open .tabbar { visibility: hidden; }
  .cal-wrap { display: block; }
}
@media (max-width: 640px) {
  .day { min-height: 54px; padding: 5px; }
  .day .dn { font-size: 13px; }
  .day .pp { font-size: 11px; }
  .day .tg { font-size: 7.5px; }
  .ph h3 { font-size: 21px; }
  .cat { grid-template-columns: auto 1fr auto; }
  .cat .vansil { display: none; }
}

/* privacy e cookie */
footer .legal-links { display: flex; gap: 18px; }
.legal-doc { display: grid; grid-template-columns: 240px minmax(0, 760px); gap: clamp(28px, 5vw, 72px); align-items: start; }
.legal-toc { position: sticky; top: 110px; }
.legal-toc ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; border-left: 2px solid var(--line); }
.legal-toc a { display: block; padding: 6px 14px; color: var(--muted); text-decoration: none; font-size: 15px; margin-left: -2px; border-left: 2px solid transparent; }
.legal-toc a:hover { color: var(--ink); border-left-color: var(--red); }
.legal-body section { padding-bottom: 34px; margin-bottom: 34px; border-bottom: 1px solid var(--line); scroll-margin-top: 110px; }
.legal-body section:last-child { border-bottom: 0; }
.legal-body h2 { font-size: clamp(26px, 3vw, 34px); margin: 0 0 14px; }
.legal-body p, .legal-body li { color: var(--ink-2); }
.legal-body a { color: var(--blue); }
.legal-body ul { padding-left: 20px; }
.legal-body .tbl { overflow-x: auto; margin: 18px 0; border: 1px solid var(--line); border-radius: var(--r-sm); background: var(--card); }
.legal-body table { width: 100%; border-collapse: collapse; font-size: 14px; }
.legal-body th, .legal-body td { text-align: left; padding: 10px 14px; border-bottom: 1px solid var(--line); vertical-align: top; }
.legal-body tr:last-child td { border-bottom: 0; }
.legal-body th { font: 600 11px/1.2 var(--mono); text-transform: uppercase; letter-spacing: .06em; color: var(--muted); }
.legal-body code { font: 500 12px/1 var(--mono); background: var(--bg); padding: 3px 6px; border-radius: 6px; }
@media (max-width: 860px) { .legal-doc { grid-template-columns: minmax(0, 1fr); } .legal-toc { position: static; } }

.cookie { position: fixed; left: 16px; bottom: 16px; z-index: 80; max-width: 420px; display: flex; gap: 14px; align-items: center; padding: 14px 14px 14px 18px; background: var(--card); color: var(--ink-2); border: 1px solid var(--line); border-radius: var(--r); box-shadow: var(--shadow-lg); font-size: 14px; line-height: 1.45; }
.cookie[hidden] { display: none; }
.cookie p { margin: 0; }
.cookie a { color: var(--blue); }
.cookie .btn { height: 40px; padding: 0 18px; font-size: 14px; border-radius: 12px; flex-shrink: 0; }
@media (max-width: 640px) { .cookie { left: 12px; right: 12px; max-width: none; bottom: calc(84px + env(safe-area-inset-bottom)); } }
html.menu-open .cookie { visibility: hidden; }

/* blocco dal sito: 10 minuti per confermare su WhatsApp */
.done.held .clock { width: 112px; height: 112px; border-radius: 50%; margin: 0 auto 16px; display: grid; place-content: center; text-align: center; background: var(--free-soft); border: 3px solid var(--free); }
.done.held .clock b { font: 700 30px/1 var(--display); color: var(--ink); font-variant-numeric: tabular-nums; }
.done.held .clock small { font-size: 11px; color: var(--muted); text-transform: uppercase; letter-spacing: .08em; margin-top: 4px; }
.done.held.expired .clock { background: var(--closed); border-color: var(--full); }
.done.held .how { color: var(--ink-2); font-size: 15px; max-width: 34ch; margin: 10px auto 18px; }
.done.held .wa-go { background: #128c4b; box-shadow: 0 12px 26px -12px #128c4b; width: 100%; max-width: 340px; }
.done.held .wa-go .wa-i { width: 22px; height: 22px; fill: #fff; }
.done.held .code { font-size: 13px; color: var(--muted); margin: 12px 0 18px; }
.done.held .code b { font-family: var(--mono); color: var(--ink); letter-spacing: .12em; }
.van-body .mini-title { line-height: 1.35 !important; }
