/* Carbone S.r.l. · concept "La mezzeria"
   Asfalto, blu del logo, bande inclinate come la fascia del marchio, lampeggiante ambra per l'urgenza. */
:root {
  --asfalto: #0f1319;
  --asfalto2: #1a212b;
  --blu: #1f5fc8;
  --blu2: #4d8ff2;
  --blu-ink: #15478f;
  --carta: #f1f2f4;
  --bianco: #fff;
  --white: #fff;
  --ink: #111418;
  --ink2: #454d50;
  --linea: #dde1e6;
  --ambra: #ffad33;
  --wa: #25d366;
  --ff-title: 'Big Shoulders Display', 'Arial Narrow', Impact, sans-serif;
  --ff-body: 'Literata', Georgia, serif;
  --ff-ui: 'Inter', system-ui, -apple-system, sans-serif;
  --ease: cubic-bezier(.22, .8, .24, 1);
  --r: 14px;
  --q-dark: var(--asfalto);
  --q-acc: var(--blu);
  --q-ok: #17975a;
  --q-soft: #dfe6f3;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bianco); color: var(--ink2); font-family: var(--ff-body); font-size: 17px; line-height: 1.8; overflow-x: hidden; }
img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3 { margin: 0; color: var(--ink); }
p { margin: 0 0 1em; }
.wrap { width: min(1160px, 100% - 32px); margin-inline: auto; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* pennarello */
mark { background: linear-gradient(transparent 58%, rgba(77, 143, 242, .35) 58%, rgba(77, 143, 242, .35) 92%, transparent 92%); color: inherit; padding: 0 .08em; -webkit-box-decoration-break: clone; box-decoration-break: clone; }
.night mark, .hero mark { background: linear-gradient(transparent 62%, rgba(255, 173, 51, .5) 62%, rgba(255, 173, 51, .5) 88%, transparent 88%); color: #fff; }
.night-title mark { background: linear-gradient(transparent 74%, var(--ambra) 74%, var(--ambra) 86%, transparent 86%); }

/* etichette e titoli */
.label { font-family: var(--ff-ui); font-size: .78rem; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; color: var(--blu); display: inline-flex; align-items: center; gap: 10px; margin: 0 0 12px; }
.label::before { content: ''; width: 26px; height: 3px; background: repeating-linear-gradient(90deg, currentColor 0 8px, transparent 8px 12px); }
.title { font-family: var(--ff-title); font-weight: 800; text-transform: uppercase; font-size: clamp(2.3rem, 5.4vw, 3.9rem); line-height: .95; letter-spacing: .005em; margin-bottom: 18px; }
.title mark { background: none; color: var(--blu); padding: 0; }
.hl { color: var(--blu); }
.lead { font-size: 1.06rem; max-width: 620px; }
.sec { position: relative; padding: clamp(70px, 9vw, 112px) 0; }
.sec-head { max-width: 760px; margin-bottom: clamp(32px, 4vw, 48px); }

/* pulsanti piccoli */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; font-family: var(--ff-ui); font-weight: 600; font-size: 14px; line-height: 1; padding: 11px 22px; border-radius: 99px; text-decoration: none; border: 1.5px solid transparent; cursor: pointer; transition: transform .2s var(--ease), background .2s, box-shadow .2s, color .2s; -webkit-tap-highlight-color: transparent; }
.btn:hover { transform: translateY(-2px); }
.btn-main { background: var(--blu); color: #fff; box-shadow: 0 6px 18px rgba(31, 95, 200, .35); }
.btn-main:hover { background: var(--blu2); }
.btn-ghost { color: #fff; border-color: rgba(255, 255, 255, .45); }
.btn-ghost:hover { border-color: #fff; background: rgba(255, 255, 255, .08); }
.btn-dark { background: var(--asfalto); color: #fff; }
.btn-dark:hover { background: var(--blu); }
.btn-light { background: #fff; color: var(--asfalto); }
.btn-wa { background: var(--wa); color: #fff; }
.btn-wa svg { flex: none; }

/* lampeggiante */
.beacon { width: 9px; height: 9px; border-radius: 50%; background: var(--ambra); box-shadow: 0 0 0 0 rgba(255, 173, 51, .7); animation: beacon 1.4s infinite; flex: none; }
@keyframes beacon { 0% { box-shadow: 0 0 0 0 rgba(255, 173, 51, .75); opacity: 1; } 50% { opacity: .55; } 100% { box-shadow: 0 0 0 10px rgba(255, 173, 51, 0); opacity: 1; } }

/* ── MENU ── */
.topbar { position: fixed; inset: 0 0 auto; z-index: 50; background: #fff; border-bottom: 1px solid var(--linea); transition: transform .35s var(--ease), box-shadow .3s; }
.topbar.hide { transform: translateY(-100%); }
.topbar.shadow { box-shadow: 0 6px 24px rgba(15, 19, 25, .08); }
.topbar-in { display: flex; align-items: center; gap: 24px; height: 68px; }
.brand img { height: 48px; width: auto; }
.menu { display: flex; gap: 26px; margin-left: auto; font-family: var(--ff-ui); font-size: 14px; font-weight: 600; }
.menu a { text-decoration: none; color: var(--ink); position: relative; padding: 6px 0; }
.menu a::after { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: repeating-linear-gradient(90deg, var(--blu) 0 6px, transparent 6px 9px); transform: scaleX(0); transform-origin: left; transition: transform .3s var(--ease); }
.menu a:hover::after { transform: scaleX(1); }
.sos { display: inline-flex; align-items: center; gap: 9px; font-family: var(--ff-ui); font-weight: 700; font-size: 13px; letter-spacing: .02em; color: #fff; background: var(--asfalto); padding: 10px 16px; border-radius: 99px; text-decoration: none; white-space: nowrap; }
.sos:hover { background: var(--blu); }
@media (max-width: 960px) { .menu { display: none; } .sos { margin-left: auto; } }
@media (max-width: 420px) { .brand img { height: 40px; } .topbar-in { height: 60px; } }

/* ── APERTURA ── */
.hero { position: relative; background: var(--asfalto); color: rgba(255, 255, 255, .85); min-height: min(94vh, 780px); display: flex; align-items: center; padding: 120px 0 96px; overflow: hidden; isolation: isolate; }
.hero::before { content: ''; position: absolute; inset: 0; z-index: -2; background:
  radial-gradient(circle at 20% 30%, rgba(77, 143, 242, .16), transparent 45%),
  radial-gradient(rgba(255, 255, 255, .045) 1px, transparent 1.4px) 0 0 / 7px 7px; }
.road { position: absolute; left: clamp(18px, 4.4vw, 56px); top: 0; bottom: 0; width: 6px; z-index: 1; }
.road i { position: absolute; inset: 0; background: repeating-linear-gradient(180deg, rgba(255, 255, 255, .7) 0 46px, transparent 46px 86px); animation: drive 1.6s linear infinite; }
@keyframes drive { to { background-position: 0 86px; } }
.hero-photo { position: absolute; top: 0; right: 0; bottom: 0; width: 56%; margin: 0; z-index: -1; clip-path: polygon(22% 0, 100% 0, 100% 100%, 0 100%); }
.hero-photo img { width: 100%; height: 100%; object-fit: cover; }
.hero-photo::after { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(15, 19, 25, .85) 0%, rgba(15, 19, 25, .2) 45%, rgba(15, 19, 25, .05) 100%); }
.h24 { position: absolute; right: clamp(16px, 3vw, 40px); bottom: clamp(20px, 4vw, 44px); display: flex; flex-direction: column; align-items: center; background: var(--blu); color: #fff; font-family: var(--ff-ui); font-size: 10px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; padding: 10px 14px 12px; transform: skewX(-12deg); box-shadow: 0 12px 30px rgba(0, 0, 0, .35); }
.h24 b { font-family: var(--ff-title); font-size: 46px; letter-spacing: 0; line-height: .9; transform: skewX(12deg); }
.hero-in { position: relative; z-index: 2; padding-left: clamp(26px, 4vw, 52px); }
.hero-in > * { max-width: 620px; }
.hero-in > h1 { max-width: 760px; }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; font-family: var(--ff-ui); font-size: 13px; font-weight: 600; letter-spacing: .06em; color: #fff; background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .14); padding: 7px 14px; border-radius: 99px; margin-bottom: 22px; }
.hero h1 { font-family: var(--ff-title); font-weight: 900; text-transform: uppercase; color: #fff; font-size: clamp(3.3rem, 7.4vw, 6.3rem); line-height: .86; letter-spacing: .005em; }
.hero h1 .hl { color: var(--blu2); }
.roller-line { margin: 22px 0 18px; }
.roller { display: inline-block; height: 1.25em; overflow: hidden; vertical-align: bottom; font-family: var(--ff-title); font-weight: 800; text-transform: uppercase; font-size: clamp(1.5rem, 3vw, 2.1rem); line-height: 1.25; color: var(--asfalto); background: var(--ambra); padding: 0 22px; transform: skewX(-10deg); }
.roller-track { display: block; transform: skewX(10deg); transition: transform .55s cubic-bezier(.7, 0, .2, 1.25); }
.roller-track span { display: block; white-space: nowrap; }
.hero-sub { font-size: 1.08rem; color: rgba(255, 255, 255, .86); max-width: 520px; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }
.hero .btn-main { gap: 10px; }
.hero > .wrap { animation: rise .9s var(--ease) both; }
@keyframes rise { from { opacity: 0; transform: translateY(26px); } }

@media (max-width: 860px) {
  .hero { flex-direction: column; align-items: stretch; padding: 60px 0 64px; min-height: 0; }
  .hero-photo { position: relative; width: 100%; height: 46vh; min-height: 280px; clip-path: polygon(0 0, 100% 0, 100% 84%, 0 100%); z-index: 0; }
  .hero-photo::after { background: linear-gradient(180deg, rgba(15, 19, 25, .15), rgba(15, 19, 25, .4)); }
  .road { display: none; }
  .hero-in { padding-left: 0; margin-top: -10px; }
  .h24 { bottom: 22%; }
  .h24 b { font-size: 36px; }
}

/* banda inclinata come la fascia del logo */
.band { background: var(--asfalto); overflow: hidden; border-top: 1px solid rgba(255, 255, 255, .08); }
.band-track { display: flex; width: max-content; animation: band 32s linear infinite; }
.band-track span { font-family: var(--ff-title); font-weight: 800; text-transform: uppercase; font-size: 1.15rem; letter-spacing: .06em; color: #fff; padding: 14px 34px; background: var(--blu); transform: skewX(-18deg); margin-right: 6px; white-space: nowrap; }
.band-track b { display: inline-block; font-weight: inherit; transform: skewX(18deg); }
.band-track span:nth-child(even) { background: #000; }
@keyframes band { to { transform: translateX(-50%); } }

/* CTA discreta */
.mini-cta { display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 14px 22px; padding: 26px 0 0; margin-top: -30px; margin-bottom: 30px; border-top: 1px solid var(--linea); position: relative; z-index: 1; }
.mini-cta p { margin: 0; font-style: italic; font-size: 1.02rem; color: var(--ink2); }

/* decorazioni a ponte tra le sezioni */
.deco { position: absolute; top: -46px; width: 104px; height: 104px; color: var(--blu); opacity: .32; pointer-events: none; z-index: 0; animation: sway 9s ease-in-out infinite; }
.deco svg { width: 100%; height: 100%; }
.deco-l { left: 3vw; }
.deco-r { right: 3vw; }
@keyframes sway { 0%, 100% { transform: rotate(-6deg); } 50% { transform: rotate(6deg); } }
@media (max-width: 860px) { .deco { display: none; } }

/* ── QUIZ ── */
.quiz-sec { background: var(--carta); }
.quiz-head { text-align: center; max-width: 640px; margin: 0 auto 34px; }
.quiz-head .label { justify-content: center; }
.quiz-head .lead { margin-inline: auto; }
.quiz .q-front { background: linear-gradient(160deg, var(--asfalto2), var(--asfalto)); border-bottom: 6px solid var(--blu); }
.quiz .q-front::before { content: ''; position: absolute; left: 50%; top: 0; bottom: 0; width: 4px; transform: translateX(-50%); background: repeating-linear-gradient(180deg, rgba(255, 255, 255, .08) 0 26px, transparent 26px 44px); pointer-events: none; }
.quiz .q-face { position: relative; }
.quiz .q-front > * { position: relative; }
.q-num { display: inline-flex; align-items: center; justify-content: center; gap: 10px; }
.q-sign { width: 0; height: 0; position: relative; border-left: 13px solid transparent; border-right: 13px solid transparent; border-bottom: 22px solid var(--ambra); font-size: 0; }
.q-sign::after { content: '!'; position: absolute; left: -3px; top: 6px; font: 800 13px/1 var(--ff-ui); color: var(--asfalto); }
.quiz .q-text { font-weight: 800; text-transform: uppercase; letter-spacing: .01em; }
.quiz .q-score { font-weight: 900; }
.q-cta-tel { background: var(--blu); }
.quiz-note { text-align: center; font-size: .9rem; font-style: italic; margin: 58px auto 0; max-width: 520px; }

/* ── SERVIZI ── */
.svc-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 18px; }
.svc { grid-column: span 2; }
.svc.wide { grid-column: span 3; }
.svc.full { grid-column: 1 / -1; }
@media (max-width: 960px) { .svc-grid { grid-template-columns: 1fr 1fr; } .svc, .svc.wide { grid-column: span 1; } .svc.full { grid-column: 1 / -1; } }
@media (max-width: 600px) { .svc-grid { grid-template-columns: 1fr; } .svc.full { grid-column: auto; } }
.svc { position: relative; background: #fff; border: 1px solid var(--linea); padding: 30px 26px 26px; clip-path: polygon(0 0, calc(100% - 26px) 0, 100% 26px, 100% 100%, 0 100%); transition: transform .3s var(--ease), box-shadow .3s, border-color .3s; }
.svc:hover { transform: translateY(-4px); border-color: rgba(31, 95, 200, .35); box-shadow: 0 18px 40px rgba(15, 19, 25, .08); }
.svc::after { content: ''; position: absolute; right: 0; top: 0; width: 26px; height: 26px; background: var(--blu); clip-path: polygon(0 0, 100% 100%, 0 100%); }
.svc.feat { background: var(--asfalto); border-color: var(--asfalto); color: rgba(255, 255, 255, .8); }
.svc.feat h3 { color: #fff; }
.svc.feat .svc-ico { background: var(--ambra); color: var(--asfalto); }
.svc.feat .svc-n { color: var(--ambra); }
.svc-n { font-family: var(--ff-title); font-weight: 800; font-size: 1rem; color: var(--blu); letter-spacing: .1em; }
.svc-ico { display: grid; place-items: center; width: 58px; height: 58px; margin: 14px 0 18px; background: var(--asfalto); color: #fff; transform: skewX(-10deg); }
.svc-ico svg { width: 30px; height: 30px; transform: skewX(10deg); }
.svc h3 { font-family: var(--ff-title); font-weight: 800; text-transform: uppercase; font-size: 1.65rem; line-height: 1; margin-bottom: 10px; }
.svc p { margin: 0; font-size: .98rem; line-height: 1.7; }

/* ── VEICOLI IN VENDITA ── */
.veicoli { background: var(--carta); }
.car-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 330px), 1fr)); gap: 22px; align-items: stretch; }
.car { position: relative; background: #fff; border-radius: var(--r); overflow: hidden; box-shadow: 0 2px 0 var(--linea), 0 18px 40px -18px rgba(15, 19, 25, .25); display: flex; flex-direction: column; }
.car-media { position: relative; aspect-ratio: 4 / 3; background: var(--asfalto); overflow: hidden; }
.car-slides { position: absolute; inset: 0; display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
.car-slides::-webkit-scrollbar { display: none; }
.car-slide { flex: 0 0 100%; scroll-snap-align: start; border: 0; padding: 0; margin: 0; background: none; cursor: zoom-in; }
.car-slide img { width: 100%; height: 100%; object-fit: cover; }
.car-nophoto { height: 100%; display: grid; place-content: center; justify-items: center; gap: 8px; color: rgba(255, 255, 255, .55); font-family: var(--ff-ui); font-size: 13px; }
.car-nophoto svg { width: 54px; height: 54px; }
.car-dots { position: absolute; left: 0; right: 0; bottom: 12px; display: flex; justify-content: center; gap: 6px; pointer-events: none; }
.car-dots i { width: 7px; height: 7px; border-radius: 50%; background: rgba(255, 255, 255, .55); transition: width .3s, background .3s; }
.car-dots i.on { width: 20px; border-radius: 4px; background: #fff; }
.car-count { position: absolute; right: 12px; top: 12px; font-family: var(--ff-ui); font-size: 11px; font-weight: 600; color: #fff; background: rgba(15, 19, 25, .6); padding: 4px 9px; border-radius: 99px; }
.tag { position: absolute; left: 0; top: 14px; font-family: var(--ff-ui); font-size: 11px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: #fff; padding: 6px 14px 6px 12px; clip-path: polygon(0 0, 100% 0, calc(100% - 8px) 100%, 0 100%); }
.tag-disponibile { background: var(--blu); }
.tag-prenotato { background: var(--ambra); color: var(--asfalto); }
.tag-venduto { background: #000; }
.car-body { padding: 20px 22px 22px; display: flex; flex-direction: column; flex: 1; }
.car-cat { font-family: var(--ff-ui); font-size: 11px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--blu); margin: 0 0 4px; }
.car h3 { font-family: var(--ff-title); font-weight: 800; text-transform: uppercase; font-size: 1.7rem; line-height: 1; margin-bottom: 14px; }
.car-specs { list-style: none; margin: 0 0 14px; padding: 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px; }
.car-specs li { background: var(--carta); border-radius: 8px; padding: 7px 10px; font-family: var(--ff-ui); font-size: 13px; font-weight: 600; color: var(--ink); line-height: 1.3; }
.car-specs b { display: block; font-size: 10px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: #6b7378; }
.car-desc p { font-size: .95rem; line-height: 1.65; margin-bottom: .6em; }
.car-foot { margin-top: auto; padding-top: 14px; border-top: 1px dashed var(--linea); display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.car-price { margin: 0; font-family: var(--ff-title); font-weight: 900; font-size: 1.9rem; line-height: 1; color: var(--ink); }
.car.is-sold .car-media img { filter: grayscale(1) brightness(.75); }
.car.is-sold .car-media::after { content: 'Venduto'; position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%) rotate(-12deg); font-family: var(--ff-title); font-weight: 900; font-size: 2.6rem; text-transform: uppercase; color: #fff; border: 4px solid #fff; padding: 2px 18px; pointer-events: none; }
.car.is-sold .car-price { color: #8a9196; }
.car-empty { grid-column: 1 / -1; font-style: italic; }
.sell { text-decoration: none; background: var(--asfalto); color: #fff; padding: 34px 28px; min-height: 100%; justify-content: center; gap: 12px; background-image: repeating-linear-gradient(-55deg, transparent 0 22px, rgba(255, 255, 255, .035) 22px 44px); transition: transform .3s var(--ease); }
.sell:hover { transform: translateY(-4px); }
.sell-ico { width: 54px; height: 54px; display: grid; place-items: center; background: var(--blu); transform: skewX(-10deg); }
.sell-ico svg { width: 30px; height: 30px; transform: skewX(10deg); }
.sell-t { font-family: var(--ff-title); font-weight: 800; text-transform: uppercase; font-size: 1.9rem; line-height: 1; }
.sell-s { color: rgba(255, 255, 255, .78); font-size: .98rem; line-height: 1.6; }
.sell-go { font-family: var(--ff-ui); font-weight: 700; font-size: 14px; color: var(--ambra); }

/* lightbox */
.lb { border: 0; padding: 0; background: transparent; max-width: 100vw; max-height: 100vh; width: 100vw; height: 100vh; }
.lb::backdrop { background: rgba(8, 10, 14, .94); }
.lb[open] { display: grid; place-items: center; }
.lb img { max-width: min(1200px, 92vw); max-height: 82vh; object-fit: contain; border-radius: 6px; }
.lb button { position: fixed; z-index: 2; border: 0; background: rgba(255, 255, 255, .12); color: #fff; width: 48px; height: 48px; border-radius: 50%; font-size: 28px; line-height: 1; cursor: pointer; }
.lb button:hover { background: rgba(255, 255, 255, .25); }
.lb-close { top: 18px; right: 18px; }
.lb-prev { left: 14px; top: 50%; transform: translateY(-50%); }
.lb-next { right: 14px; top: 50%; transform: translateY(-50%); }
.lb-count { position: fixed; bottom: 18px; left: 0; right: 0; text-align: center; color: rgba(255, 255, 255, .75); font: 600 13px var(--ff-ui); margin: 0; }

/* ── COME INTERVENIAMO: la strada con i cippi ── */
.come { padding-bottom: 80px; }
.route { position: relative; }
.route-asphalt { position: relative; height: 66px; background: var(--asfalto); overflow: hidden; }
.route-asphalt i { position: absolute; left: 0; right: 0; top: 50%; height: 5px; transform: translateY(-50%); background: repeating-linear-gradient(90deg, rgba(255, 255, 255, .8) 0 44px, transparent 44px 80px); }
.route-truck { position: absolute; left: -90px; top: 6px; width: 70px; height: 54px; color: var(--ambra); transition: left 2.6s cubic-bezier(.45, .05, .2, 1); }
.route-truck svg { width: 100%; height: 100%; }
.route.go .route-truck { left: calc(100% - 100px); }
.route-steps { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; margin-top: -33px; position: relative; }
.km { position: relative; }
.cippo { display: grid; place-items: center; width: 56px; height: 66px; background: #fff; border: 2px solid var(--asfalto); border-radius: 28px 28px 6px 6px; font-family: var(--ff-title); font-weight: 900; font-size: 1.9rem; line-height: 1; color: var(--ink); box-shadow: inset 0 14px 0 var(--blu), 0 10px 22px rgba(15, 19, 25, .18); padding-top: 12px; }
.cippo small { font-family: var(--ff-ui); font-size: 9px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: #fff; position: absolute; top: 3px; }
.km h3 { font-family: var(--ff-title); font-weight: 800; text-transform: uppercase; font-size: 1.7rem; margin: 18px 0 6px; }
.km p { margin: 0; font-size: .98rem; line-height: 1.7; }
@media (max-width: 860px) {
  .route-asphalt { position: absolute; left: 16px; top: 0; bottom: 0; width: 56px; height: auto; }
  .route-asphalt i { left: 50%; right: auto; top: 0; bottom: 0; width: 5px; height: auto; transform: translateX(-50%); background: repeating-linear-gradient(180deg, rgba(255, 255, 255, .8) 0 34px, transparent 34px 60px); }
  .route-truck { left: 4px; top: -70px; width: 48px; height: 40px; transition: top 2.6s cubic-bezier(.45, .05, .2, 1); transform: rotate(90deg); }
  .route.go .route-truck { left: 4px; top: calc(100% - 60px); }
  .route-steps { grid-template-columns: 1fr; margin-top: 0; padding: 10px 0 10px 76px; gap: 30px; width: auto; margin-inline: 16px; }
  .cippo { position: absolute; left: -76px; top: 0; transform: scale(.82); transform-origin: left top; }
  .km h3 { margin-top: 2px; }
}

/* ── GALLERIA MEZZI ── */
.galleria { background: var(--asfalto); color: rgba(255, 255, 255, .8); }
.galleria .title { color: #fff; }
.galleria .label { color: var(--blu2); }
.gal-group + .gal-group { margin-top: clamp(44px, 6vw, 72px); }
.gal-head { display: flex; align-items: baseline; gap: 14px; margin-bottom: 18px; padding-bottom: 12px; border-bottom: 1px solid rgba(255, 255, 255, .12); }
.gal-n { font: 800 15px var(--ff-ui); color: var(--asfalto); background: var(--ambra); padding: 3px 10px; transform: skewX(-10deg); }
.gal-head h3 { margin: 0; font-family: var(--ff-title); font-weight: 800; text-transform: uppercase; letter-spacing: .01em; font-size: clamp(1.5rem, 2.6vw, 2rem); color: #fff; }
.gal-count { margin-left: auto; font: 600 13px var(--ff-ui); color: rgba(255, 255, 255, .6); }
.gal-swipe { display: none; }
.gal { display: grid; grid-template-columns: repeat(12, 1fr); grid-auto-rows: clamp(220px, 26vw, 380px); gap: 14px; }
.gal-item { position: relative; margin: 0; overflow: hidden; grid-column: span 4; background: var(--asfalto2); }
.gal-4 .gal-item:nth-child(1) { grid-column: span 5; grid-row: span 2; }
.gal-4 .gal-item:nth-child(2) { grid-column: span 7; }
.gal-4 .gal-item:nth-child(3) { grid-column: 6 / span 3; }
.gal-4 .gal-item:nth-child(4) { grid-column: 9 / span 4; }
/* 5 foto: una alta a sinistra e quattro a scacchiera */
.gal-5 .gal-item:nth-child(1) { grid-column: span 5; grid-row: span 2; }
.gal-5 .gal-item:nth-child(2), .gal-5 .gal-item:nth-child(4) { grid-column: span 3; }
.gal-5 .gal-item:nth-child(3), .gal-5 .gal-item:nth-child(5) { grid-column: span 4; }
.gal-1 .gal-item { grid-column: 1 / -1; }
.gal-2 .gal-item { grid-column: span 6; }
.gal-shot { display: block; width: 100%; height: 100%; padding: 0; border: 0; background: none; cursor: zoom-in; -webkit-tap-highlight-color: transparent; }
.gal-item img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.gal-item:hover img { transform: scale(1.05); }
.gal-item figcaption { position: absolute; left: 0; bottom: 14px; max-width: 90%; font-family: var(--ff-ui); font-size: 13px; font-weight: 600; color: #fff; background: var(--blu); padding: 7px 16px 7px 14px; clip-path: polygon(0 0, 100% 0, calc(100% - 10px) 100%, 0 100%); pointer-events: none; }
@media (max-width: 760px) {
  .gal-head { flex-wrap: wrap; row-gap: 4px; }
  .gal-swipe { display: inline; font: 600 13px var(--ff-ui); color: var(--ambra); }
  .gal-count { margin-left: auto; }
  .gal-head .gal-swipe { order: 5; width: 100%; }
  /* sul telefono ogni gruppo diventa una fila che si scorre col dito */
  .gal { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; gap: 12px; margin-inline: -16px; padding: 0 16px 6px; scrollbar-width: none; }
  .gal::-webkit-scrollbar { display: none; }
  .gal .gal-item, .gal-4 .gal-item:nth-child(n), .gal-5 .gal-item:nth-child(n) { flex: 0 0 82%; aspect-ratio: 4 / 5; scroll-snap-align: start; scroll-margin-left: 16px; grid-column: auto; grid-row: auto; }
  .gal-1 .gal-item { flex-basis: 100%; aspect-ratio: 4 / 3; }
}

/* ── OFFICINA ASSOCIATA ── */
.partner { background: var(--carta); overflow: hidden; }
.partner-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(30px, 6vw, 80px); align-items: center; }
.partner-text p { color: var(--ink2); }
.plates { list-style: none; display: flex; flex-wrap: wrap; gap: 12px; margin: 26px 0 0; padding: 0; }
.plate { display: flex; flex-direction: column; gap: 2px; background: var(--blu-ink); color: #fff; padding: 12px 20px 13px; border-radius: 8px; box-shadow: inset 0 0 0 2px #fff, inset 0 0 0 4px var(--blu-ink); min-width: 210px; }
.plate span { font: 600 11px var(--ff-ui); letter-spacing: .12em; text-transform: uppercase; color: rgba(255, 255, 255, .78); }
.plate b { font-family: var(--ff-title); font-weight: 800; font-size: 1.55rem; text-transform: uppercase; letter-spacing: .02em; line-height: 1.1; }
.partner-photos { position: relative; }
.partner-photos .pp { margin: 0; overflow: hidden; border-radius: var(--r); box-shadow: 0 18px 40px rgba(15, 19, 25, .18); }
.partner-photos .pp img { width: 100%; height: 100%; object-fit: cover; display: block; }
.partner-photos .pp-1 { aspect-ratio: 4 / 3; }
.partner-photos.two { padding-right: 22%; padding-bottom: 12%; }
.partner-photos.two .pp-2 { position: absolute; right: 0; bottom: 0; width: 36%; aspect-ratio: 3 / 5; border: 6px solid var(--carta); }
.partner-photos.two .pp-2 img { object-position: 30% 45%; }
@media (max-width: 860px) {
  .partner-grid { grid-template-columns: 1fr; }
  .plate { min-width: 0; flex: 1 1 150px; }
  .plate b { font-size: 1.3rem; }
}

/* ── CHI SIAMO ── */
.chi-grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(30px, 6vw, 80px); align-items: center; }
.chi-photo { margin: 0; position: relative; clip-path: polygon(0 0, 100% 0, 100% 100%, 0 92%); }
.chi-photo img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.chi-photo::after { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 14px; background: repeating-linear-gradient(-45deg, var(--blu) 0 16px, #fff 16px 32px); }
.dropcap p:first-child::first-letter { float: left; font-family: var(--ff-title); font-weight: 900; font-size: 4.6rem; line-height: .82; padding: 6px 10px 0 0; color: var(--blu); }
/* Recensione Google: cartello stradale con la banda inclinata del marchio */
.review { margin: 30px 0 0; padding: 22px 24px 20px 30px; background: var(--carta); border-radius: var(--r); position: relative; overflow: hidden; }
.review::before { content: ''; position: absolute; left: 0; top: 0; bottom: 0; width: 8px; background: repeating-linear-gradient(-45deg, var(--blu) 0 10px, #fff 10px 20px); }
.review-stars { margin: 0 0 8px; color: var(--ambra); font-size: 1.15rem; letter-spacing: .12em; line-height: 1; }
.review-stars span { font-family: var(--ff-ui); font-size: .72rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--ink2); margin-left: 8px; vertical-align: 2px; }
.review blockquote { margin: 0; color: var(--ink); font-size: 1.05rem; line-height: 1.7; }
.review figcaption { margin-top: 10px; font-family: var(--ff-ui); font-size: 14px; font-weight: 600; color: var(--ink2); }
.review figcaption a { color: var(--blu); }
@media (max-width: 860px) { .chi-grid { grid-template-columns: 1fr; } .chi-photo img { aspect-ratio: 16 / 11; } }

/* ── DOMANDE ── */
.faq { background: var(--carta); }
.faq-wrap { max-width: 860px; }
.faq-list { display: grid; gap: 10px; }
.faq details { background: #fff; border: 1px solid var(--linea); border-left: 5px solid var(--blu); border-radius: 0 10px 10px 0; padding: 0 22px; }
.faq summary { cursor: pointer; list-style: none; font-family: var(--ff-ui); font-weight: 700; font-size: 1rem; color: var(--ink); padding: 18px 34px 18px 0; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; position: absolute; right: 0; top: 50%; transform: translateY(-50%); font-size: 1.5rem; font-weight: 500; color: var(--blu); transition: transform .3s; }
.faq details[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq-a p { font-size: 1rem; }

/* ── CHIUSURA NOTTURNA ── */
.night { position: relative; overflow: hidden; background: radial-gradient(ellipse at 50% 120%, #1b2a45 0%, #0a0d12 62%); color: rgba(255, 255, 255, .82); padding: clamp(90px, 12vw, 150px) 0 clamp(120px, 14vw, 170px); text-align: center; isolation: isolate; }
.night-road { position: absolute; left: 50%; bottom: -10px; width: 120vw; height: 60%; transform: translateX(-50%) perspective(420px) rotateX(62deg); transform-origin: bottom; background: linear-gradient(180deg, transparent, #151a22 30%); z-index: -1; }
.night-road i { position: absolute; left: 50%; top: 0; bottom: 0; width: 10px; transform: translateX(-50%); background: repeating-linear-gradient(180deg, rgba(255, 255, 255, .75) 0 60px, transparent 60px 120px); animation: nightDrive 1.2s linear infinite; }
@keyframes nightDrive { to { background-position: 0 120px; } }
.night-beam { position: absolute; left: 50%; top: 52px; width: 1400px; height: 1400px; margin-left: -700px; margin-top: -700px; background: conic-gradient(from 0deg, rgba(255, 173, 51, .22) 0deg, transparent 38deg, transparent 180deg, rgba(255, 173, 51, .16) 180deg, transparent 218deg); animation: spin 2.4s linear infinite; z-index: -1; pointer-events: none; }
@keyframes spin { to { transform: rotate(360deg); } }
.lamp { display: block; width: 46px; height: 30px; margin: 0 auto 26px; background: radial-gradient(circle at 50% 70%, #ffd18a, var(--ambra) 55%, #c26d00); border-radius: 23px 23px 4px 4px; box-shadow: 0 0 40px 10px rgba(255, 173, 51, .45); animation: lamp 1.2s ease-in-out infinite; position: relative; }
.lamp::after { content: ''; position: absolute; left: -6px; right: -6px; bottom: -8px; height: 8px; background: #2a313b; border-radius: 3px; }
@keyframes lamp { 50% { box-shadow: 0 0 70px 22px rgba(255, 173, 51, .6); } }
.night-title { font-family: var(--ff-title); font-weight: 900; text-transform: uppercase; color: #fff; font-size: clamp(2.8rem, 8vw, 6rem); line-height: .9; margin: 0 auto 20px; max-width: 900px; }
.night-text { max-width: 520px; margin: 0 auto 30px; }

/* ── CONTATTI ── */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(30px, 6vw, 70px); align-items: center; }
.contact-list { margin: 26px 0 0; display: grid; gap: 16px; }
.contact-list div { display: grid; grid-template-columns: 110px 1fr; gap: 12px; padding-bottom: 14px; border-bottom: 1px dashed var(--linea); }
.contact-list dt { font-family: var(--ff-ui); font-size: 12px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--blu); padding-top: 4px; }
.contact-list dd { margin: 0; color: var(--ink); }
.contact-list a { font-weight: 600; text-decoration-color: rgba(31, 95, 200, .4); text-underline-offset: 3px; }
.map { position: relative; aspect-ratio: 1; width: 100%; max-width: 480px; justify-self: center; border-radius: var(--r); overflow: hidden; background: var(--carta); border: 1px solid var(--linea); }
.map iframe { width: 100%; height: 100%; border: 0; }
.map-ph { height: 100%; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; gap: 14px; padding: 28px; background-image: linear-gradient(rgba(31, 95, 200, .06) 1px, transparent 1px), linear-gradient(90deg, rgba(31, 95, 200, .06) 1px, transparent 1px); background-size: 28px 28px; }
.map-ph p { margin: 0; color: var(--ink); line-height: 1.6; }
.map-pin { width: 34px; height: 34px; background: var(--blu); border-radius: 50% 50% 50% 0; transform: rotate(-45deg); box-shadow: 0 8px 18px rgba(31, 95, 200, .35); position: relative; }
.map-pin::after { content: ''; position: absolute; inset: 10px; background: #fff; border-radius: 50%; }
.map-link { font-family: var(--ff-ui); font-size: 14px; font-weight: 600; color: var(--blu); }
.map-ph small { font-family: var(--ff-ui); font-size: 11px; color: #6b7378; max-width: 260px; line-height: 1.5; }
@media (max-width: 860px) { .contact-grid { grid-template-columns: 1fr; } .contact-list div { grid-template-columns: 1fr; gap: 2px; } }

/* ── FOOTER e WhatsApp ── */
.foot { background: var(--asfalto); color: rgba(255, 255, 255, .7); font-family: var(--ff-ui); font-size: 13px; line-height: 1.7; padding: 34px 0 96px; }
.foot-in p { margin: 0 0 6px; }
.foot strong { color: #fff; }
.foot a { color: #fff; }
.foot .sign { margin-top: 14px; color: rgba(255, 255, 255, .55); }
.wa-fab { position: fixed; right: 22px; bottom: 22px; z-index: 60; width: 60px; height: 60px; border-radius: 50%; background: var(--wa); color: #fff; display: grid; place-items: center; box-shadow: 0 3px 10px rgba(0, 0, 0, .18); -webkit-tap-highlight-color: transparent; transition: transform .2s; }
.wa-fab:hover { transform: scale(1.06); }
@media (max-width: 640px) { .wa-fab { width: 56px; height: 56px; right: 16px; bottom: 16px; } }

/* ── PRIVACY ── */
.legal-page { background: var(--carta); }
.legal { max-width: 820px; padding: 120px 0 70px; }
.legal h1 { font-family: var(--ff-title); font-weight: 900; text-transform: uppercase; font-size: clamp(2.2rem, 5vw, 3.2rem); line-height: .95; margin: 16px 0 22px; }
.legal h2 { font-family: var(--ff-title); font-weight: 800; text-transform: uppercase; font-size: 1.5rem; margin: 34px 0 10px; }
.legal ul { padding-left: 20px; }
.back { font-family: var(--ff-ui); font-size: 14px; font-weight: 600; color: var(--blu); text-decoration: none; }

/* ── COMPARSA ALLO SCROLL ── */
.js .reveal { opacity: 0; transform: translateY(30px); transition: opacity .8s var(--ease), transform .8s var(--ease); transition-delay: var(--d, 0s); }
.js .reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js .reveal { opacity: 1; transform: none; }
  .route-truck { display: none; }
}
