/* Carrozzeria Vincenzo Vittiglio — foglio di stile
   Palette: fondo «primer» chiaro, inchiostro, blu e rosso del marchio K-Vittiglio. */
:root {
  --paper: #ecebe6;
  --paper-2: #e1dfd8;
  --white: #fbfaf7;
  --ink: #121315;
  --ink-2: #44464b;
  --line: #c9c6bd;
  --blue: #0083d7;
  --blue-d: #00609e;
  --red: #e20a16;
  --red-d: #b8070f;
  --tape: #d9c58f;
  --booth: #151618;
  --booth-2: #202226;
  --disp: 'Staatliches', 'Arial Narrow', sans-serif;
  --body: 'Encode Sans', system-ui, sans-serif;
  --wrap: 1200px;
  --head-h: 68px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-padding-top: calc(var(--head-h) + 12px); -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: var(--body); font-size: 17px; line-height: 1.6; font-stretch: 100%; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--blue-d); text-underline-offset: 3px; }
a:hover { color: var(--red-d); }
h1, h2, h3 { margin: 0; font-weight: 400; }
p { margin: 0 0 1em; }
ul, ol { margin: 0; padding: 0; list-style: none; }
figure { margin: 0; }
button { font: inherit; }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 12px; top: -60px; background: var(--ink); color: #fff; padding: 10px 14px; z-index: 100; }
.skip:focus { top: 12px; }
.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }

.preview-strip { height: 28px; display: flex; align-items: center; justify-content: center; background: var(--ink); color: #d8d6cf; font-size: 12px; letter-spacing: .04em; padding: 0 12px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

/* ---------- header ---------- */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(236, 235, 230, .96); border-bottom: 1px solid transparent; transition: border-color .3s, box-shadow .3s; }
.site-header.is-compact { border-color: var(--line); box-shadow: 0 8px 20px -18px rgba(0, 0, 0, .6); }
.header-inner { display: flex; align-items: center; justify-content: space-between; height: var(--head-h); transition: height .3s; }
.site-header.is-compact .header-inner { height: 56px; }
.brand img { height: 46px; width: auto; transition: height .3s; }
.site-header.is-compact .brand img { height: 38px; }
.nav ul { display: flex; align-items: center; gap: 4px; }
.nav a { display: block; padding: 8px 12px; color: var(--ink); text-decoration: none; font-weight: 600; font-size: 15px; font-stretch: 88%; letter-spacing: .02em; text-transform: uppercase; position: relative; }
.nav a::after { content: ""; position: absolute; left: 12px; right: 12px; bottom: 3px; height: 2px; background: var(--red); transform: scaleX(0); transform-origin: left; transition: transform .25s; }
.nav a:hover::after, .nav a:focus-visible::after { transform: scaleX(1); }
.nav-cta a { background: var(--ink); color: #fff; margin-left: 8px; padding: 9px 16px; }
.nav-cta a::after { display: none; }
.nav-cta a:hover { background: var(--blue-d); color: #fff; }
.menu-toggle { display: none; }

/* ---------- comuni ---------- */
.eyebrow { font-size: 13px; font-weight: 700; font-stretch: 80%; text-transform: uppercase; letter-spacing: .14em; color: var(--red-d); margin: 0 0 14px; display: flex; align-items: center; gap: 10px; }
.eyebrow::before { content: ""; width: 26px; height: 6px; background: linear-gradient(var(--red) 0 2px, transparent 2px 4px, var(--blue) 4px 6px); }
.eyebrow-light { color: #ff6a6f; }
h2 { font-family: var(--disp); font-size: clamp(40px, 5.6vw, 72px); line-height: .95; letter-spacing: .005em; margin-bottom: 22px; }
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 50px; padding: 12px 22px; font-weight: 700; font-size: 15px; font-stretch: 90%; text-transform: uppercase; letter-spacing: .05em; text-decoration: none; border: 2px solid var(--ink); cursor: pointer; transition: background .2s, color .2s, transform .2s; }
.btn:hover { transform: translateY(-2px); }
.btn-ink { background: var(--ink); color: #fff; }
.btn-ink:hover { background: var(--blue-d); border-color: var(--blue-d); color: #fff; }
.btn-line { background: transparent; color: var(--ink); }
.btn-line:hover { background: var(--ink); color: #fff; }

/* reveal */
.js .rv { opacity: 0; transform: translateY(16px); transition: opacity .7s ease, transform .7s ease; transition-delay: calc(var(--d, 0) * 90ms); }
.js .rv.in { opacity: 1; transform: none; }

/* ---------- hero ---------- */
.hero { padding: 44px 0 0; position: relative; }
.hero-grid { display: grid; grid-template-columns: 1fr 1.05fr; gap: 24px; align-items: center; }
.kicker { font-size: 13px; font-weight: 700; font-stretch: 80%; text-transform: uppercase; letter-spacing: .14em; color: var(--ink-2); display: flex; align-items: center; gap: 10px; margin-bottom: 18px; }
.kicker .dot { width: 10px; height: 10px; border-radius: 50%; background: var(--red); box-shadow: 14px 0 0 var(--blue); margin-right: 14px; }
h1 { font-family: var(--disp); font-size: clamp(56px, 8.4vw, 124px); line-height: .88; letter-spacing: .002em; margin-bottom: 26px; }
.h1-alt { color: var(--blue-d); }
.hero-lead { font-size: 19px; max-width: 30em; color: var(--ink-2); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 26px 0 18px; }
.open-badge { display: inline-flex; align-items: center; gap: 9px; font-size: 14px; font-weight: 600; margin: 0; color: var(--ink-2); }
.ob-dot { width: 10px; height: 10px; border-radius: 50%; background: #9a978e; flex: none; }
.open-badge.is-open .ob-dot { background: #1e9e4a; box-shadow: 0 0 0 4px rgba(30, 158, 74, .18); }
.open-badge.is-closed .ob-dot { background: var(--red); }

.hero-fig { position: relative; padding: 10px 0 40px; }
.hero-fig img { position: relative; mix-blend-mode: multiply; width: 100%; max-width: 640px; margin-left: auto; filter: contrast(1.04); }
.sheet-lines { position: absolute; inset: 0; width: 100%; height: 100%; }
.sheet-lines path { fill: none; stroke-width: 3; stroke-linecap: round; }
.sheet-lines path:first-child { stroke: var(--red); }
.sheet-lines path:last-child { stroke: var(--blue); }
.hero-fig figcaption { position: absolute; left: 6%; bottom: 8px; font-size: 13px; color: var(--ink-2); display: flex; align-items: center; gap: 10px; max-width: 90%; }
.fc-tag { background: var(--tape); color: #3d3420; font-weight: 700; font-size: 11px; text-transform: uppercase; letter-spacing: .1em; padding: 4px 9px; transform: rotate(-2deg); box-shadow: 0 1px 0 rgba(0, 0, 0, .1); flex: none; }

.ticker { margin-top: 36px; background: var(--ink); color: #f1efe8; overflow: hidden; border-top: 3px solid var(--red); border-bottom: 3px solid var(--blue); }
.ticker-track { display: flex; width: max-content; animation: tick 46s linear infinite; }
.ticker span { font-family: var(--disp); font-size: 24px; letter-spacing: .04em; padding: 12px 22px; white-space: nowrap; display: flex; align-items: center; gap: 22px; }
.ticker span::after { content: ""; width: 8px; height: 8px; background: var(--tape); transform: rotate(45deg); }
@keyframes tick { to { transform: translateX(-50%); } }

/* ---------- storia ---------- */
.storia { padding: 110px 0 100px; }
.storia-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 56px; align-items: start; }
.storia-years { position: sticky; top: 110px; display: flex; flex-direction: column; font-family: var(--disp); line-height: .8; }
.yr { font-size: clamp(110px, 15vw, 210px); letter-spacing: -.01em; }
.yr-a { color: transparent; -webkit-text-stroke: 2px var(--ink); }
.yr-b { color: var(--blue-d); margin-left: 18%; }
.storia-text p { max-width: 36em; }
.piloti { margin-top: 34px; border-top: 2px solid var(--ink); padding-top: 16px; }
.piloti-head { font-size: 13px; font-weight: 700; font-stretch: 80%; text-transform: uppercase; letter-spacing: .12em; color: var(--ink-2); margin-bottom: 12px; }
.piloti ul { display: flex; flex-wrap: wrap; gap: 8px; }
.piloti li { font-family: var(--disp); font-size: 22px; letter-spacing: .02em; padding: 5px 12px 3px; background: var(--white); border: 1px solid var(--line); }
.piloti small { font-family: var(--body); font-size: 11px; text-transform: uppercase; letter-spacing: .08em; color: var(--red-d); font-weight: 700; margin-left: 4px; }

/* ---------- caschi / processo ---------- */
.caschi { background: var(--white); padding: 100px 0 110px; border-top: 1px solid var(--line); }
.sec-head { max-width: 760px; margin-bottom: 40px; }
.sec-lead { font-size: 19px; color: var(--ink-2); }
.process { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; }
.process-stage { position: relative; }
.stage-inner { position: sticky; top: calc(var(--head-h) + 40px); background: var(--paper); padding: 30px 30px 26px; border: 1px solid var(--line); background-image: linear-gradient(rgba(18, 19, 21, .05) 1px, transparent 1px), linear-gradient(90deg, rgba(18, 19, 21, .05) 1px, transparent 1px); background-size: 24px 24px; }
.helmet { width: 100%; height: auto; display: block; overflow: visible; }
.h-shadow { fill: rgba(0, 0, 0, .12); }
.h-shell { fill: #f6f5f1; transition: fill .7s ease; }
.helmet[data-step="1"] .h-shell { fill: #a9a7a0; }
.h-outline { fill: none; stroke: var(--ink); stroke-width: 3; }
.h-visor { fill: #2a2d33; }
.h-visor-paper { fill: #cdb98a; opacity: 0; transition: opacity .5s; }
.h-pivot { fill: #50545c; stroke: var(--ink); stroke-width: 2; }
.h-rim { fill: none; stroke: var(--ink); stroke-width: 9; stroke-linecap: round; }
.h-vents path { stroke: var(--ink); stroke-width: 4; stroke-linecap: round; }
.h-seam { fill: none; stroke: rgba(18, 19, 21, .35); stroke-width: 2; stroke-linecap: round; }
.h-paint path { opacity: 0; transition: opacity .7s ease; }
.h-blue { fill: var(--blue); }
.h-red { fill: var(--red); }
.h-black { fill: var(--ink); }
.h-tape path { fill: none; stroke: var(--tape); stroke-width: 9; stroke-linecap: butt; stroke-dasharray: 520; stroke-dashoffset: 520; transition: stroke-dashoffset 1s ease, opacity .5s; }
.h-pin path { fill: none; stroke: #fff; stroke-width: 5; opacity: 0; transition: opacity .6s .2s; }
.h-gloss { fill: none; stroke: #fff; stroke-width: 9; stroke-linecap: round; opacity: 0; stroke-dasharray: 200; stroke-dashoffset: 200; }
.helmet[data-step="3"] .h-tape path, .helmet[data-step="4"] .h-tape path { stroke-dashoffset: 0; }
.helmet[data-step="3"] .h-visor-paper, .helmet[data-step="4"] .h-visor-paper { opacity: 1; }
.helmet[data-step="4"] .h-paint path, .helmet[data-step="5"] .h-paint path { opacity: 1; }
.helmet[data-step="5"] .h-pin path { opacity: 1; }
.helmet[data-step="5"] .h-gloss { opacity: .55; animation: gloss 1.4s .5s ease forwards; }
@keyframes gloss { to { stroke-dashoffset: 0; } }
.stage-count { font-family: var(--disp); font-size: 26px; margin: 14px 0 8px; display: flex; align-items: baseline; gap: 6px; }
.sc-label { font-family: var(--body); font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .12em; color: var(--ink-2); }
.sc-num { font-family: var(--body); font-weight: 700; font-stretch: 75%; font-size: 40px; color: var(--red-d); line-height: 1; }
.sc-tot { color: var(--ink-2); }
.stage-bar { height: 4px; background: var(--line); }
.stage-bar span { display: block; height: 100%; width: 20%; background: var(--ink); transition: width .5s ease; }

.steps { counter-reset: s; }
.step { min-height: 62vh; padding: 10px 0 60px; border-top: 1px solid var(--line); opacity: .5; transition: opacity .4s; }
.step.is-active { opacity: 1; }
.step:last-child { min-height: auto; }
.step-n { font-family: var(--body); font-weight: 700; font-stretch: 75%; font-size: 22px; color: var(--blue-d); margin: 14px 0 4px; }
.step h3 { font-family: var(--disp); font-size: 40px; line-height: 1; margin-bottom: 12px; }
.step p { max-width: 30em; }
.step-fig { margin-top: 18px; max-width: 420px; transform: rotate(-1.2deg); box-shadow: 0 16px 28px -22px rgba(0, 0, 0, .6); border: 6px solid #fff; outline: 1px solid var(--line); }
.step:nth-child(even) .step-fig { transform: rotate(1.4deg); margin-left: 40px; }

.listino { margin-top: 90px; display: grid; grid-template-columns: 1.4fr .6fr; gap: 0 48px; align-items: start; }
.listino-head { grid-column: 1; display: flex; justify-content: space-between; align-items: baseline; gap: 20px; border-bottom: 3px solid var(--ink); padding-bottom: 12px; flex-wrap: wrap; }
.listino-head h3 { font-family: var(--disp); font-size: 36px; line-height: 1; }
.listino-head p { margin: 0; font-weight: 700; color: var(--red-d); font-size: 15px; }
.listino-rows { grid-column: 1; margin: 0; }
.lr { display: grid; grid-template-columns: 240px 1fr; gap: 24px; padding: 20px 0; border-bottom: 1px dashed var(--line); }
.lr dt { font-family: var(--disp); font-size: 28px; line-height: 1.05; display: flex; align-items: center; gap: 12px; }
.lr-n { width: 34px; height: 34px; display: inline-grid; place-items: center; background: var(--tape); color: #3d3420; font-size: 20px; transform: rotate(-4deg); flex: none; }
.lr dd { margin: 0; color: var(--ink-2); }
.listino-fig { grid-column: 2; grid-row: 1 / span 2; }
.listino-fig img { width: 100%; border: 6px solid #fff; outline: 1px solid var(--line); transform: rotate(2deg); }
.listino-fig figcaption { font-size: 14px; color: var(--ink-2); margin-top: 14px; padding-left: 8px; }

/* ---------- lavori (galleria) ---------- */
.lavori { background: var(--booth); color: #f1efe8; padding: 100px 0 90px; position: relative; overflow: hidden; }
.lavori::before { content: ""; position: absolute; left: -10%; right: -10%; top: 0; height: 6px; background: linear-gradient(var(--red) 0 2px, transparent 2px 4px, var(--blue) 4px 6px); }
.lavori-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 30px; margin-bottom: 36px; flex-wrap: wrap; }
.lavori-head h2 { margin-bottom: 0; max-width: 12em; }
.filters { display: flex; flex-wrap: wrap; gap: 8px; }
.filter { background: transparent; color: #f1efe8; border: 1px solid #55585e; padding: 9px 16px; font-weight: 700; font-size: 14px; font-stretch: 85%; text-transform: uppercase; letter-spacing: .06em; cursor: pointer; transition: background .2s, color .2s, border-color .2s; }
.filter:hover { border-color: #f1efe8; }
.filter.is-on { background: #f1efe8; color: var(--booth); border-color: #f1efe8; }
.gal { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 210px; grid-auto-flow: dense; gap: 12px; }
.g-item { position: relative; }
.g-item.g-wide { grid-column: span 2; grid-row: span 2; }
.g-item.g-tall { grid-row: span 2; }
.g-item.g-w2 { grid-column: span 2; }
.g-item.is-hidden { display: none; }
.g-btn { position: relative; display: block; width: 100%; height: 100%; padding: 0; border: 0; background: var(--booth-2); cursor: zoom-in; overflow: hidden; }
.g-btn img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease, filter .4s; }
.g-btn:hover img, .g-btn:focus-visible img { transform: scale(1.05); }
.g-cap { position: absolute; left: 0; bottom: 0; background: rgba(21, 22, 24, .86); color: #fff; font-size: 12px; font-weight: 700; font-stretch: 85%; text-transform: uppercase; letter-spacing: .07em; padding: 6px 10px; text-align: left; }
.gal-more { display: none; }
.gal-note { margin: 28px 0 0; color: #b9b7b0; font-size: 15px; }
.gal-note a { color: #fff; }

/* ---------- moto ---------- */
.moto { padding: 110px 0; }
.moto-grid { display: grid; grid-template-columns: repeat(12, 1fr); gap: 20px; align-items: start; }
.moto-big { grid-column: 1 / span 7; grid-row: 1 / span 2; }
.moto-big img { width: 100%; }
.moto-big figcaption, .auto-ds3 figcaption { font-size: 14px; color: var(--ink-2); margin-top: 10px; }
.moto-copy { grid-column: 8 / span 5; padding-top: 10px; }
.ticks li { position: relative; padding: 10px 0 10px 34px; border-bottom: 1px solid var(--line); }
.ticks li::before { content: ""; position: absolute; left: 0; top: 19px; width: 20px; height: 6px; background: linear-gradient(var(--red) 0 2px, transparent 2px 4px, var(--blue) 4px 6px); }
.moto-sm.a { grid-column: 8 / span 3; margin-top: 10px; }
.moto-sm.b { grid-column: 11 / span 2; margin-top: 60px; }
.moto-sm img { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; }

/* ---------- auto ---------- */
.auto { background: var(--paper-2); padding: 110px 0; border-top: 1px solid var(--line); }
.auto-grid { display: grid; grid-template-columns: repeat(12, 1fr); gap: 24px; }
.auto-copy { grid-column: 1 / span 6; }
.auto-copy p { max-width: 34em; }
.auto-fig { grid-column: 7 / span 6; margin-top: 30px; }
.auto-fig img { width: 100%; }
.servizi { grid-column: 1 / -1; display: grid; grid-template-columns: 1fr 1fr 1.25fr; gap: 0; margin-top: 30px; border-top: 3px solid var(--ink); }
.srv { padding: 22px 26px 26px 0; border-right: 1px solid var(--line); }
.srv + .srv { padding-left: 26px; }
.srv:last-child { border-right: 0; }
.srv-k { display: block; font-family: var(--disp); font-size: 30px; line-height: 1; margin-bottom: 10px; }
.srv p { margin: 0; color: var(--ink-2); }
.srv-photo { display: grid; grid-template-columns: 1fr 150px; gap: 0 18px; }
.srv-photo .srv-k, .srv-photo p { grid-column: 1; }
.srv-photo img { grid-column: 2; grid-row: 1 / span 2; width: 150px; height: 110px; object-fit: cover; align-self: start; }
.auto-ds3 { grid-column: 1 / span 7; margin-top: 50px; }
.auto-ds3 img { width: 100%; }
.faq { grid-column: 8 / span 5; margin-top: 50px; }
.faq-title { font-family: var(--disp); font-size: 30px; margin-bottom: 10px; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary, .strada summary { cursor: pointer; list-style: none; padding: 14px 32px 14px 0; font-weight: 700; position: relative; }
.faq summary::-webkit-details-marker, .strada summary::-webkit-details-marker { display: none; }
.faq summary::after, .strada summary::after { content: "+"; position: absolute; right: 4px; top: 8px; font-family: var(--disp); font-size: 28px; color: var(--red-d); transition: transform .25s; }
.faq details[open] summary::after, .strada[open] summary::after { transform: rotate(45deg); }
.faq details p { color: var(--ink-2); margin: 0 0 16px; }

/* ---------- preventivo ---------- */
.preventivo { padding: 110px 0; background: var(--white); border-top: 1px solid var(--line); }
.prev-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: 60px; align-items: start; }
.prev-intro p { color: var(--ink-2); max-width: 26em; }
.prev-direct { font-weight: 700; color: var(--ink) !important; }
.prev-form { background: var(--paper); border: 1px solid var(--line); padding: 30px; position: relative; }
.prev-form::before { content: ""; position: absolute; top: -12px; left: 28px; width: 110px; height: 24px; background: var(--tape); opacity: .9; transform: rotate(-3deg); }
.f-kind { border: 0; padding: 0; margin: 0 0 18px; }
.f-kind legend, .f-row > label { font-weight: 700; font-size: 15px; margin-bottom: 8px; display: block; padding: 0; }
.req { color: var(--red-d); }
.chips { display: flex; gap: 8px; flex-wrap: wrap; }
.chip input { position: absolute; opacity: 0; pointer-events: none; }
.chip span { display: inline-block; padding: 10px 20px; border: 2px solid var(--ink); font-family: var(--disp); font-size: 22px; letter-spacing: .03em; cursor: pointer; background: var(--white); transition: background .2s, color .2s; }
.chip input:checked + span { background: var(--ink); color: #fff; }
.chip input:focus-visible + span { outline: 3px solid var(--blue); outline-offset: 2px; }
.f-row { margin-bottom: 16px; }
.f-row input[type=text], .f-row input[type=tel], .f-row select, .f-row textarea { width: 100%; font: inherit; font-size: 16px; padding: 12px 14px; border: 1px solid #a9a69d; background: var(--white); color: var(--ink); border-radius: 0; }
.f-row textarea { resize: vertical; }
.f-row input:focus, .f-row select:focus, .f-row textarea:focus { outline: 3px solid var(--blue); outline-offset: 0; border-color: var(--blue); }
.check { display: flex !important; align-items: center; gap: 10px; font-weight: 600 !important; margin-bottom: 8px !important; cursor: pointer; }
.check input { width: 20px; height: 20px; accent-color: var(--ink); }
.f-two { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.f-err { display: none; color: var(--red-d); font-size: 14px; font-weight: 600; margin: 6px 0 0; }
.f-row.has-err .f-err { display: block; }
.f-row.has-err input, .f-row.has-err textarea { border-color: var(--red-d); }
.f-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 8px; }
.f-note { font-size: 13px; color: var(--ink-2); margin: 14px 0 0; }

/* ---------- sede ---------- */
.sede { padding: 110px 0 120px; }
.sede-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: start; }
.orari { margin: 28px 0 18px; background: var(--white); border: 1px solid var(--line); padding: 20px 22px; }
.orari-top { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; margin-bottom: 8px; }
.orari-top h3 { font-family: var(--disp); font-size: 30px; }
.open-badge-sm { font-size: 13px; }
.orari-t { width: 100%; border-collapse: collapse; }
.orari-t th, .orari-t td { text-align: left; padding: 9px 8px; border-bottom: 1px solid var(--paper-2); font-weight: 500; }
.orari-t td { text-align: right; font-variant-numeric: tabular-nums; }
.orari-t td span { white-space: nowrap; }
.orari-t td span + span::before { content: " · "; }
.prev-direct a { white-space: nowrap; }
.orari-t tr.is-today { background: var(--ink); color: #fff; }
.orari-t tr.is-today th { font-weight: 700; }
.orari-t tr.is-today th::after { content: "oggi"; font-size: 10px; text-transform: uppercase; letter-spacing: .1em; background: var(--red); color: #fff; padding: 2px 6px; margin-left: 10px; vertical-align: 2px; }
.strada { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.strada p { color: var(--ink-2); font-size: 16px; }
.insegna img { width: 100%; }
.map-box { margin-top: 14px; border: 1px solid var(--line); background: var(--paper-2); }
.map-box iframe { display: block; width: 100%; height: 340px; border: 0; }
.map-link { display: inline-block; margin-top: 12px; font-weight: 700; }

/* ---------- footer ---------- */
.footer { background: var(--ink); color: #cfccc4; padding: 60px 0 30px; font-size: 15px; }
.footer a { color: #fff; }
.footer-grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr 1fr; gap: 32px; }
.f-brand img { width: 190px; background: #fbfaf7; padding: 8px 10px; margin-bottom: 14px; }
.f-h { font-family: var(--disp); font-size: 20px; color: #fff; letter-spacing: .04em; margin-bottom: 8px; }
.footer-bottom { display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; border-top: 1px solid #34363a; margin-top: 36px; padding-top: 18px; font-size: 13px; color: #96938b; }
.footer-bottom p { margin: 0; }

.action-bar { display: none; }

/* ---------- lightbox ---------- */
.lightbox { position: fixed; inset: 0; z-index: 200; background: rgba(10, 10, 12, .94); display: flex; align-items: center; justify-content: center; padding: 50px 60px; }
.lightbox[hidden] { display: none; }
.lightbox figure { max-width: 1000px; text-align: center; }
.lightbox img { max-height: 80vh; width: auto; margin: 0 auto; }
.lightbox figcaption { color: #e9e7e0; margin-top: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; font-size: 13px; }
.lb-close, .lb-prev, .lb-next { position: absolute; background: none; border: 0; color: #fff; font-size: 44px; line-height: 1; cursor: pointer; padding: 10px 16px; }
.lb-close { top: 10px; right: 14px; }
.lb-prev { left: 8px; top: 50%; transform: translateY(-50%); }
.lb-next { right: 8px; top: 50%; transform: translateY(-50%); }

/* ---------- responsive ---------- */
@media (max-width: 1080px) {
  .nav a { padding: 8px 9px; font-size: 14px; }
  .gal { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 900px) {
  :root { --head-h: 60px; }
  body { font-size: 16px; padding-bottom: 64px; }
  .menu-toggle { display: inline-flex; align-items: center; gap: 10px; background: none; border: 2px solid var(--ink); padding: 8px 12px; font-weight: 700; font-size: 14px; text-transform: uppercase; letter-spacing: .06em; cursor: pointer; color: var(--ink); }
  .menu-bars { width: 18px; height: 12px; position: relative; border-top: 2px solid currentColor; border-bottom: 2px solid currentColor; }
  .menu-bars::after { content: ""; position: absolute; left: 0; right: 0; top: 3px; border-top: 2px solid currentColor; }
  .nav { position: absolute; left: 0; right: 0; top: 100%; background: var(--paper); border-bottom: 3px solid var(--ink); display: none; }
  .nav.is-open { display: block; }
  .nav ul { flex-direction: column; align-items: stretch; padding: 8px 24px 20px; gap: 0; }
  .nav a { padding: 14px 0; border-bottom: 1px solid var(--line); font-size: 17px; }
  .nav a::after { display: none; }
  .nav-cta a { margin: 14px 0 0; text-align: center; padding: 14px; }
  .brand img { height: 38px; }

  .hero { padding-top: 26px; }
  .hero-grid { grid-template-columns: 1fr; gap: 6px; }
  .hero-fig { padding-bottom: 46px; }
  .hero-fig img { max-width: 520px; margin: 0 auto; }
  .ticker span { font-size: 20px; padding: 10px 16px; gap: 16px; }

  .storia { padding: 76px 0; }
  .storia-grid { grid-template-columns: 1fr; gap: 10px; }
  .storia-years { position: static; flex-direction: row; gap: 16px; align-items: baseline; }
  .yr { font-size: clamp(84px, 24vw, 140px); }
  .yr-b { margin-left: 0; }

  .caschi { padding: 76px 0; }
  .process { grid-template-columns: 1fr; gap: 0; }
  .process-stage { position: sticky; top: var(--head-h); z-index: 5; margin: 0 -24px; }
  .stage-inner { position: static; padding: 12px 24px 10px; display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 4px 14px; border-left: 0; border-right: 0; }
  .helmet { grid-row: 1 / span 2; max-height: 150px; width: auto; justify-self: center; }
  .stage-count { margin: 0; flex-direction: column; align-items: flex-end; gap: 0; font-size: 18px; }
  .sc-num { font-size: 34px; }
  .stage-bar { grid-column: 1 / -1; }
  .step { min-height: 0; padding: 6px 0 40px; opacity: 1; }
  .step h3 { font-size: 34px; }
  .step:nth-child(even) .step-fig { margin-left: 16px; }
  .step-fig { max-width: 88%; }

  .listino { grid-template-columns: 1fr; margin-top: 60px; }
  .listino-fig { grid-column: 1; grid-row: auto; max-width: 260px; margin: 30px 0 0 auto; }
  .lr { grid-template-columns: 1fr; gap: 6px; }

  .lavori { padding: 76px 0 70px; }
  .gal { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 170px; gap: 8px; }
  .g-item.g-wide { grid-column: span 2; grid-row: span 2; }
  .gal.is-collapsed .g-item:nth-child(n+10) { display: none; }
  .gal-more { display: block; width: 100%; margin-top: 14px; background: transparent; color: #f1efe8; border: 1px solid #55585e; padding: 14px; font-weight: 700; font-stretch: 85%; text-transform: uppercase; letter-spacing: .06em; cursor: pointer; }
  .gal-more[hidden] { display: none; }

  .moto { padding: 76px 0; }
  .moto-grid { grid-template-columns: repeat(6, 1fr); gap: 12px; }
  .moto-big { grid-column: 1 / -1; grid-row: auto; }
  .moto-copy { grid-column: 1 / -1; padding-top: 24px; }
  .moto-sm.a { grid-column: 1 / span 3; margin-top: 10px; }
  .moto-sm.b { grid-column: 4 / span 3; margin-top: 40px; }

  .auto { padding: 76px 0; }
  .auto-grid { grid-template-columns: 1fr; gap: 0; }
  .auto-copy, .auto-fig, .servizi, .auto-ds3, .faq { grid-column: 1; }
  .auto-fig { margin-top: 14px; }
  .servizi { grid-template-columns: 1fr; }
  .srv, .srv + .srv { padding: 20px 0; border-right: 0; border-bottom: 1px solid var(--line); }
  .srv-photo { grid-template-columns: 1fr 110px; }
  .srv-photo img { width: 110px; height: 84px; }
  .auto-ds3 { margin-top: 36px; }
  .faq { margin-top: 36px; }

  .preventivo { padding: 76px 0; }
  .prev-grid { grid-template-columns: 1fr; gap: 26px; }
  .prev-form { padding: 24px 18px; }
  .f-two { grid-template-columns: 1fr; gap: 0; }
  .f-actions .btn { width: 100%; }

  .sede { padding: 76px 0 80px; }
  .sede-grid { grid-template-columns: 1fr; gap: 30px; }
  .map-box iframe { height: 280px; }
  .orari-t td span { display: block; }
  .orari-t td span + span::before { content: none; }

  .footer-grid { grid-template-columns: 1fr 1fr; }
  .f-brand { grid-column: 1 / -1; }

  .action-bar { display: grid; grid-template-columns: repeat(3, 1fr); position: fixed; left: 0; right: 0; bottom: 0; z-index: 60; background: var(--ink); border-top: 3px solid var(--red); }
  .action-bar a { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px; min-height: 60px; color: #fff; text-decoration: none; font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; }
  .action-bar a + a { border-left: 1px solid #34363a; }
  .action-bar svg { width: 22px; height: 22px; fill: currentColor; }
  .action-bar a:nth-child(2) { background: var(--blue-d); }
  .lightbox { padding: 50px 10px; }
}

@media (max-width: 480px) {
  .preview-strip { height: auto; min-height: 28px; white-space: normal; text-align: center; line-height: 1.3; padding: 5px 12px; font-size: 11px; }
  .wrap { padding: 0 18px; }
  .process-stage { margin: 0 -18px; }
  .stage-inner { padding: 10px 18px 8px; }
  h1 { font-size: 58px; }
  .hero-lead { font-size: 17px; }
  .hero-actions .btn { width: 100%; }
  .hero-fig figcaption { left: 0; font-size: 12px; }
  .chip span { padding: 9px 16px; font-size: 20px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js .rv { opacity: 1; transform: none; }
  .ticker-track { animation: none; flex-wrap: wrap; width: auto; }
  .ticker span[aria-hidden] { display: none; }
  .step { opacity: 1; }
}
