/* Servizio Rapido Riparauto — interfaccia senza librerie o font remoti. */
:root {
  --teal: #087e83;
  --teal-hover: #06666b;
  --turquoise: #27b8bd;
  --ink: #183b3d;
  --body: #30494a;
  --muted: #526969;
  --mint: #edf7f5;
  --mint-strong: #d8eeeb;
  --line: #d7e4e1;
  --paper: #ffffff;
  --red: #bd3029;
  --dark: #123e3c;
  --radius: 16px;
  --wrap: 1200px;
  --gutter: clamp(20px, 4.8vw, 72px);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  color: var(--body);
  background: var(--paper);
  font-synthesis: none;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 110px; }
body { margin: 0; font-size: 16px; line-height: 1.65; -webkit-font-smoothing: antialiased; }
body.modal-open { overflow: hidden; }
h1, h2, h3, h4, p, figure { margin: 0; }
h1, h2, h3, h4 { color: var(--ink); line-height: 1.14; }
h1, h2 { letter-spacing: -.045em; font-weight: 750; }
h1 { font-size: clamp(42px, 4.8vw, 66px); }
h2 { font-size: clamp(32px, 3.5vw, 46px); }
h3 { font-size: 22px; letter-spacing: -.025em; font-weight: 700; }
p + p { margin-top: 16px; }
a { color: inherit; text-underline-offset: .2em; }
a:hover { color: var(--teal); }
button, input, select { font: inherit; }
button, summary, a { -webkit-tap-highlight-color: transparent; }
button { cursor: pointer; }
button:disabled { cursor: not-allowed; }
img { display: block; width: 100%; height: auto; }
picture { display: block; }
svg.icon { width: 22px; height: 22px; flex-shrink: 0; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
[hidden] { display: none !important; }
:focus-visible { outline: 3px solid var(--teal); outline-offset: 5px; }
.on-dark :focus-visible, .lightbox :focus-visible { outline-color: #7ee1df; }
::selection { background: var(--mint-strong); color: var(--ink); }
.wrap { width: min(var(--wrap), calc(100% - var(--gutter) * 2)); margin-inline: auto; }
.section { padding-block: clamp(60px, 7vw, 96px); }
.bg-mint { background: var(--mint); }
.on-dark { background: var(--dark); color: #d2e7e4; }
.on-dark h2, .on-dark h3 { color: white; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }
.skip-link { position: fixed; top: 10px; left: 16px; padding: 12px 20px; background: var(--ink); color: white; z-index: 100; transform: translateY(-180%); border-radius: 5px; }
.skip-link:focus { transform: none; color: white; }
.eyebrow { display: flex; align-items: center; gap: 10px; font-size: 12px; font-weight: 750; letter-spacing: .13em; text-transform: uppercase; color: var(--teal); margin-bottom: 17px; }
.eyebrow::before { content: ""; width: 22px; height: 3px; background: var(--red); flex-shrink: 0; }
.on-dark .eyebrow { color: #84deda; }
.section-heading { display: flex; gap: 32px; align-items: flex-end; justify-content: space-between; margin-bottom: 38px; }
.section-heading > p { max-width: 38ch; color: var(--muted); font-size: 16px; }
.text-link { display: inline-flex; gap: 10px; align-items: center; color: var(--teal); font-weight: 700; text-decoration: none; }
.text-link:hover { text-decoration: underline; }
.text-link .icon { width: 18px; height: 18px; }
.button { display: inline-flex; justify-content: center; align-items: center; gap: 10px; min-height: 50px; padding: 13px 20px; border: 1px solid transparent; border-radius: 7px; font-weight: 650; font-size: 14px; line-height: 1.35; text-align: center; text-decoration: none; transition: background .18s ease, border-color .18s ease, transform .18s ease; }
.button .icon { width: 19px; height: 19px; }
.button-primary { background: var(--teal); color: white; }
.button-primary:hover { background: var(--teal-hover); color: white; transform: translateY(-1px); }
.button-secondary { background: white; border-color: #a7c7c5; color: var(--ink); }
.button-secondary:hover { background: var(--mint); border-color: var(--teal); color: var(--teal); }
.button-light { background: white; color: var(--dark); }
.button-light:hover { background: var(--mint-strong); color: var(--dark); }
.button-outline-light { border-color: #719794; color: white; }
.button-outline-light:hover { border-color: white; color: white; background: #204e4b; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; }
.small { font-size: 13px; color: var(--muted); line-height: 1.6; }
/* Testata */
.utility-bar { background: var(--dark); color: #e0efed; font-size: 12px; }
.utility-bar .wrap { display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: 34px; }
.utility-bar a { display: flex; align-items: center; gap: 7px; color: inherit; text-decoration: none; }
.utility-bar a:hover { text-decoration: underline; }
.utility-bar .icon { width: 14px; height: 14px; }
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.98); border-bottom: 1px solid var(--line); }
.nav-inner { min-height: 86px; display: flex; align-items: center; gap: 30px; position: relative; }
.brand { flex-shrink: 0; display: flex; flex-direction: column; text-decoration: none; line-height: 1; color: var(--ink); }
.brand-top { font-size: 11px; font-weight: 750; letter-spacing: .18em; color: var(--teal); padding-left: 2px; }
.brand-name { font-size: 28px; font-weight: 850; font-style: italic; letter-spacing: -.055em; text-transform: uppercase; margin-top: 5px; }
.brand-bottom { display: flex; align-items: center; gap: 6px; font-size: 10px; color: var(--muted); letter-spacing: .015em; margin-top: 6px; }
.brand-bottom::before { content: ""; width: 18px; height: 2px; background: var(--red); }
.primary-nav { margin-left: auto; display: flex; align-items: center; gap: 26px; }
.primary-nav a { min-height: 44px; display: flex; align-items: center; font-size: 14px; font-weight: 600; text-decoration: none; color: var(--body); }
.primary-nav a:hover, .primary-nav a[aria-current] { color: var(--teal); }
.header-cta { min-height: 44px; font-size: 13px; padding: 11px 16px; }
.menu-toggle { display: none; align-items: center; justify-content: center; gap: 8px; min-width: 44px; min-height: 44px; background: white; border: 1px solid var(--line); border-radius: 6px; color: var(--ink); font-size: 13px; font-weight: 700; }
/* Apertura */
.hero { position: relative; background: linear-gradient(100deg, #f6faf8, #eaf6f3); padding-block: 64px 62px; }
.hero-grid { display: grid; grid-template-columns: 1.05fr 1fr; align-items: center; gap: 52px; }
.hero-copy { position: relative; z-index: 1; }
.hero .eyebrow { margin-bottom: 23px; font-size: 11px; letter-spacing: .1em; }
.hero h1 span { color: var(--teal); display: block; }
.hero-lead { margin-top: 24px; font-size: 18px; line-height: 1.7; max-width: 43ch; }
.hero .actions { margin-top: 30px; gap: 10px; }
.hero .button { padding-inline: 17px; }
.hero-note { display: flex; gap: 8px; align-items: center; margin-top: 19px; font-size: 13px; color: var(--muted); }
.hero-note .icon { width: 17px; height: 17px; color: var(--teal); }
.hero-visual { position: relative; padding: 12px 0 12px 12px; }
.hero-visual::before { content: ""; position: absolute; inset: 0 22px 0 0; background: #c9e8e3; border-radius: 21px; transform: rotate(-3deg); }
.hero-photo { position: relative; border-radius: 14px; overflow: hidden; background: var(--dark); box-shadow: 0 16px 40px #123e3c18; }
.hero-photo picture img { aspect-ratio: 1.62; object-fit: cover; object-position: 51% 50%; }
.photo-label { position: absolute; top: 18px; left: 18px; display: inline-flex; align-items: center; gap: 7px; padding: 7px 10px; background: #fffffff5; color: var(--ink); border-radius: 4px; font-size: 11px; font-weight: 700; }
.photo-label .icon { width: 14px; height: 14px; }
.photo-caption { padding: 23px 25px; display: flex; justify-content: space-between; gap: 16px; align-items: center; color: white; }
.photo-caption small { display: block; font-size: 11px; text-transform: uppercase; color: #a9d3cf; letter-spacing: .1em; margin-bottom: 3px; }
.photo-caption strong { font-size: 18px; font-weight: 600; }
.photo-caption a { display: grid; place-items: center; width: 44px; height: 44px; flex-shrink: 0; border: 1px solid #719794; border-radius: 50%; color: white; }
.photo-caption a:hover { background: var(--teal); }
.service-ribbon { border-block: 1px solid var(--line); background: white; }
.service-ribbon .wrap { display: grid; grid-template-columns: repeat(4, 1fr); }
.service-ribbon a { display: flex; align-items: center; justify-content: center; gap: 13px; padding: 23px 12px; text-decoration: none; font-size: 14px; font-weight: 650; color: var(--ink); border-right: 1px solid var(--line); }
.service-ribbon a:first-child { border-left: 1px solid var(--line); }
.service-ribbon a:hover { background: var(--mint); color: var(--teal); }
.service-ribbon .icon { color: var(--teal); width: 26px; height: 26px; }
/* Servizi e listino */
.service-grid { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 20px; }
.service-card { padding: 27px 23px; border: 1px solid var(--line); border-radius: 12px; background: white; display: flex; align-items: flex-start; flex-direction: column; }
.icon-tile { display: grid; place-items: center; width: 48px; height: 48px; background: var(--mint); border-radius: 10px; color: var(--teal); margin-bottom: 25px; }
.icon-tile .icon { width: 27px; height: 27px; }
.service-card h3 { font-size: 19px; margin-bottom: 12px; }
.service-card p { font-size: 14px; line-height: 1.7; color: var(--muted); margin-bottom: 21px; }
.service-card .text-link { font-size: 13px; margin-top: auto; min-height: 30px; }
.precheck { display: flex; align-items: center; gap: 24px; background: var(--mint); border: 1px solid var(--line); border-radius: 12px; margin-top: 24px; padding: 24px 28px; }
.precheck > .icon { width: 35px; height: 35px; color: var(--teal); }
.precheck h3 { font-size: 19px; margin-bottom: 4px; }
.precheck p { font-size: 13px; color: var(--muted); max-width: 70ch; }
.precheck .text-link { flex-shrink: 0; margin-left: auto; font-size: 14px; }
.price-area { border-top: 1px solid var(--line); margin-top: 52px; padding-top: 43px; scroll-margin-top: 115px; }
.price-heading { display: flex; justify-content: space-between; align-items: center; gap: 20px; margin-bottom: 24px; }
.price-heading h3 { font-size: 25px; }
.tax-badge { display: inline-flex; align-items: center; gap: 6px; color: var(--teal-hover); background: var(--mint); border-radius: 30px; padding: 6px 12px; font-size: 12px; font-weight: 700; flex-shrink: 0; }
.tax-badge .icon { width: 15px; height: 15px; }
.price-columns { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; }
.price-item { border-bottom: 1px solid var(--line); }
.price-item:first-child { border-top: 1px solid var(--line); }
.price-item summary { list-style: none; display: grid; grid-template-columns: minmax(0,1fr) auto 20px; align-items: center; gap: 16px; min-height: 85px; padding-block: 16px; cursor: pointer; }
.price-item summary::-webkit-details-marker { display: none; }
.price-item summary:hover .price-name, .price-item[open] .price-name { color: var(--teal); }
.price-name { font-size: 14px; font-weight: 650; line-height: 1.45; color: var(--ink); }
.price-amount { text-align: right; color: var(--teal-hover); font-variant-numeric: tabular-nums; line-height: 1.4; }
.price-amount strong { font-size: 17px; display: block; white-space: nowrap; font-weight: 750; }
.price-amount small { font-size: 11px; color: var(--muted); display: block; }
.price-item summary .icon { width: 17px; height: 17px; color: var(--teal); transition: transform .2s; }
.price-item[open] summary .icon { transform: rotate(45deg); }
.price-detail { font-size: 14px; padding: 0 24px 20px 0; color: var(--muted); }
.price-detail a { display: inline-flex; min-height: 34px; align-items: center; margin-top: 9px; font-weight: 650; color: var(--teal); }
.price-note { margin-top: 22px; display: flex; align-items: flex-start; gap: 9px; color: var(--muted); font-size: 13px; }
.price-note .icon { width: 17px; height: 17px; margin-top: 3px; color: var(--teal); }
/* Parco auto */
.inventory-top { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 20px; align-items: center; margin-bottom: 27px; }
.filters { display: flex; gap: 8px; flex-wrap: wrap; }
.filter-button { padding: 9px 17px; border-radius: 24px; border: 1px solid #b8d1ce; background: transparent; color: var(--body); font-size: 13px; font-weight: 650; min-height: 42px; }
.filter-button[aria-pressed="true"] { background: var(--dark); color: white; border-color: var(--dark); }
.filter-button:hover:not([aria-pressed="true"]) { background: white; }
.inventory-count { font-size: 13px; color: var(--muted); }
.car-grid { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 25px; }
.car-card { background: white; border: 1px solid var(--line); border-radius: 12px; overflow: hidden; position: relative; transition: transform .2s, box-shadow .2s; display: flex; flex-direction: column; min-width: 0; }
.car-card:hover { transform: translateY(-4px); box-shadow: 0 14px 26px #123e3c0e; }
.car-image { position: relative; }
.car-image img { aspect-ratio: 4/3; object-fit: cover; }
.car-badge { position: absolute; left: 14px; top: 14px; background: #fffffff5; color: var(--ink); border-radius: 4px; padding: 5px 9px; font-size: 10px; font-weight: 750; text-transform: uppercase; letter-spacing: .035em; }
.car-badge.project { background: #123e3cf5; color: white; }
.photo-count { position: absolute; right: 12px; bottom: 12px; display: flex; align-items: center; gap: 5px; background: #123e3ce8; color: white; border-radius: 4px; padding: 4px 8px; font-size: 11px; }
.photo-count .icon { width: 14px; height: 14px; }
.car-body { padding: 24px 23px 21px; flex: 1; display: flex; flex-direction: column; }
.car-card h3 { font-size: 20px; line-height: 1.25; }
.car-card h3 a { color: var(--ink); text-decoration: none; }
.car-card h3 a::after { position: absolute; content: ""; inset: 0; z-index: 1; }
.car-card h3 a:focus-visible::after { outline: 3px solid var(--teal); outline-offset: -4px; border-radius: 12px; }
.car-subtitle { font-size: 12px; color: var(--muted); margin-top: 6px; line-height: 1.5; }
.car-meta { display: flex; flex-wrap: wrap; gap: 8px 15px; margin-top: 20px; margin-bottom: 22px; font-size: 12px; color: var(--body); }
.car-meta span { display: inline-flex; gap: 5px; align-items: center; }
.car-meta .icon { width: 14px; height: 14px; color: var(--teal); }
.car-footer { display: flex; justify-content: space-between; gap: 10px; align-items: center; padding-top: 18px; border-top: 1px solid var(--line); margin-top: auto; }
.car-price { display: block; font-size: 25px; letter-spacing: -.035em; font-weight: 750; color: var(--teal-hover); line-height: 1.2; white-space: nowrap; }
.car-price small { font-size: 14px; font-weight: 600; letter-spacing: 0; }
.car-tax { font-size: 10px; color: var(--muted); margin-top: 3px; display: block; }
.car-arrow { display: grid; place-items: center; width: 35px; height: 35px; border-radius: 50%; background: var(--mint); color: var(--teal); flex-shrink: 0; }
.car-arrow .icon { width: 18px; height: 18px; }
.inventory-cta { background: var(--dark); border-radius: 12px; color: #d5e9e5; padding: 35px; display: flex; flex-direction: column; align-items: flex-start; justify-content: center; position: relative; }
.inventory-cta > .icon { color: #76d7d3; width: 48px; height: 48px; margin-bottom: 30px; stroke-width: 1; }
.inventory-cta h3 { font-size: 30px; color: white; margin-bottom: 18px; }
.inventory-cta p { font-size: 14px; margin-bottom: 25px; }
.inventory-cta .button { font-size: 13px; }
.inventory-note { margin-top: 23px; max-width: 80ch; }
/* Specialità e officina */
.classic-grid { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: 65px; }
.classic-copy h2 { margin-bottom: 24px; }
.classic-copy > p:not(.eyebrow) { font-size: 17px; }
.classic-services { display: grid; grid-template-columns: 1fr 1fr; gap: 13px 20px; margin-block: 25px 32px; padding: 0; list-style: none; font-size: 13px; color: #e3eeec; }
.classic-services li { display: flex; gap: 8px; align-items: flex-start; }
.classic-services .icon { width: 17px; height: 17px; color: #82dcd6; margin-top: 2px; }
.classic-photo { border-radius: 12px; overflow: hidden; position: relative; }
.classic-photo img { aspect-ratio: 1.24; object-fit: cover; }
.classic-photo figcaption { position: absolute; inset: auto 0 0; padding: 36px 24px 19px; background: linear-gradient(transparent,#123e3cec); color: white; font-size: 13px; }
.classic-photo figcaption a { color: white; }
.workshop-grid { display: grid; grid-template-columns: 1fr 1.05fr; gap: 70px; align-items: center; }
.workshop-photo { border-radius: 12px; overflow: hidden; background: var(--mint); }
.workshop-photo img { aspect-ratio: 1.7; object-fit: cover; object-position: 50% 50%; }
.workshop-photo figcaption { padding: 13px 18px; font-size: 12px; color: var(--muted); }
.workshop-copy > p:not(.eyebrow) { margin-top: 22px; }
.owner-line { display: flex; align-items: center; gap: 14px; margin-top: 25px; border-top: 1px solid var(--line); padding-top: 24px; }
.owner-mark { display: grid; place-items: center; width: 43px; height: 43px; border-radius: 50%; background: var(--mint); color: var(--teal); }
.owner-line strong { color: var(--ink); font-size: 14px; }
.owner-line small { display: block; font-size: 12px; color: var(--muted); }
/* Contatti: nessuna mappa incorporata né richiesta a servizi esterni */
.contact-grid { display: grid; grid-template-columns: 1.03fr 1fr; gap: 25px; }
.contact-card { background: white; border: 1px solid var(--line); border-radius: 12px; padding: 34px; min-width: 0; }
.contact-card h3 { font-size: 25px; margin-bottom: 13px; }
.contact-card > p { font-size: 15px; color: var(--muted); }
.contact-actions { display: flex; flex-direction: column; gap: 10px; margin-block: 23px 20px; }
.contact-actions .button { min-height: 53px; }
.contact-mail { display: flex; gap: 9px; align-items: center; font-size: 14px; text-decoration: none; min-height: 44px; color: var(--teal); overflow-wrap: anywhere; }
.contact-mail .icon { width: 18px; height: 18px; }
.hours-box { border-top: 1px solid var(--line); margin-top: 21px; padding-top: 24px; }
.status { display: inline-flex; align-items: center; gap: 7px; font-size: 12px; line-height: 1.5; font-weight: 650; color: var(--muted); margin-bottom: 15px; }
.status::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: currentColor; flex-shrink: 0; }
.status[data-state="open"] { color: var(--teal-hover); }
.status[data-state="closed"] { color: #85552c; }
.hours { margin: 0; font-size: 13px; }
.hours > div { display: grid; grid-template-columns: 100px 1fr; gap: 12px; padding-block: 7px; }
.hours dt { color: var(--muted); }
.hours dd { margin: 0; text-align: right; font-weight: 600; color: var(--ink); }
.hours .interval { display: inline-block; white-space: nowrap; }
.hours-note { margin-top: 13px; font-size: 11px; color: var(--muted); }
.exceptional { margin-top: 15px; font-size: 13px; border: 1px solid var(--line); border-radius: 6px; padding: 10px; }
.exceptional summary { font-weight: 650; cursor: pointer; }
.exceptional p { margin-top: 8px; }
.location-card { padding: 0; display: flex; flex-direction: column; }
.location-photo { position: relative; border-radius: 12px 12px 0 0; overflow: hidden; }
.location-photo img { aspect-ratio: 2.2; object-fit: cover; }
.location-content { padding: 28px 34px 32px; }
.location-kicker { font-size: 11px; letter-spacing: .12em; color: var(--teal); text-transform: uppercase; margin-bottom: 12px; font-weight: 750; }
.location-content address { font-style: normal; color: var(--muted); font-size: 15px; line-height: 1.6; margin-bottom: 24px; }
.location-content h3 { margin-bottom: 9px; }
.location-content .button { width: 100%; }
.location-content .small { margin-top: 13px; }
/* Piede pagina e azioni sempre disponibili su mobile */
.site-footer { background: var(--dark); color: #c2dcd8; padding-block: 46px 25px; font-size: 13px; }
.footer-top { display: grid; grid-template-columns: 1.2fr 1fr 1fr; gap: 40px; margin-bottom: 35px; }
.site-footer .brand { align-self: start; color: white; }
.site-footer .brand-top { color: #81d9d5; }
.site-footer .brand-bottom { color: #c2dcd8; }
.footer-description { max-width: 30ch; margin-top: 20px; color: #c2dcd8; font-size: 12px; }
.site-footer h3 { color: white; font-size: 14px; margin-bottom: 15px; letter-spacing: 0; }
.footer-links { display: flex; flex-direction: column; align-items: flex-start; gap: 8px; }
.footer-links a { text-decoration: none; overflow-wrap: anywhere; }
.footer-links a:hover { color: white; text-decoration: underline; }
.footer-bottom { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 15px; padding-top: 22px; border-top: 1px solid #3d6360; font-size: 11px; }
.footer-bottom a { color: #e5efed; }
.mobile-actions { display: none; }
/* Pagine delle auto */
.breadcrumb { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; margin-bottom: 30px; font-size: 12px; color: var(--muted); }
.breadcrumb a { text-decoration: none; min-height: 30px; display: flex; align-items: center; }
.breadcrumb a:hover { text-decoration: underline; }
.breadcrumb .icon { width: 12px; height: 12px; }
.vehicle-section { padding-top: 34px; padding-bottom: 80px; }
.vehicle-heading { margin-bottom: 32px; }
.vehicle-heading .eyebrow { margin-bottom: 13px; }
.vehicle-heading h1 { font-size: clamp(32px, 4vw, 52px); }
.vehicle-heading p:last-child { font-size: 16px; color: var(--muted); margin-top: 11px; }
.vehicle-layout { display: grid; grid-template-columns: minmax(0, 1.45fr) minmax(0, 1fr); gap: 34px; align-items: start; }
.vehicle-gallery { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 10px; }
.gallery-item { position: relative; border-radius: 8px; overflow: hidden; background: #dce9e6; }
.gallery-item:first-child { grid-column: 1/-1; }
.gallery-item img { aspect-ratio: 4/3; object-fit: cover; transition: filter .15s; }
.gallery-item:hover img { filter: brightness(1.04); }
.gallery-zoom { position: absolute; bottom: 15px; right: 15px; display: flex; align-items: center; gap: 6px; font-size: 11px; padding: 6px 10px; color: white; background: #123e3ceb; border-radius: 4px; }
.gallery-zoom .icon { width: 16px; height: 16px; }
.gallery-help { margin-top: 13px; font-size: 12px; color: var(--muted); }
.vehicle-panel { padding: 29px; border: 1px solid var(--line); border-radius: 12px; background: white; position: sticky; top: 112px; }
.vehicle-panel .tax-badge { margin-bottom: 19px; }
.vehicle-price { font-size: 42px; font-weight: 750; letter-spacing: -.04em; color: var(--teal-hover); line-height: 1.15; }
.vehicle-price small { font-size: 21px; letter-spacing: 0; font-weight: 600; }
.vehicle-panel .price-sub { font-size: 12px; color: var(--muted); margin-top: 7px; margin-bottom: 25px; }
.vehicle-panel .button { width: 100%; margin-bottom: 10px; }
.vehicle-panel .small { margin-top: 14px; }
.vehicle-quick { display: grid; grid-template-columns: 1fr 1fr; gap: 16px 12px; padding-top: 23px; margin-top: 20px; border-top: 1px solid var(--line); }
.vehicle-quick span { font-size: 11px; color: var(--muted); display: block; }
.vehicle-quick strong { font-size: 15px; color: var(--ink); display: block; }
.vehicle-description { margin-top: 39px; }
.vehicle-description h2 { font-size: 27px; margin-bottom: 19px; }
.vehicle-description p { font-size: 15px; color: var(--body); }
.vehicle-warning { background: #f8eee4; border: 1px solid #e5cbb1; border-left: 4px solid #9a622f; border-radius: 6px; padding: 15px 18px; font-weight: 650; font-size: 14px; color: #674321; margin-bottom: 23px; }
.specifications { margin: 0; border-top: 1px solid var(--line); font-size: 14px; }
.specifications > div { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; padding-block: 13px; border-bottom: 1px solid var(--line); }
.specifications dt { color: var(--muted); }
.specifications dd { margin: 0; color: var(--ink); font-weight: 600; text-align: right; }
.vehicle-bottom { margin-top: 42px; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 16px; }
.share-feedback { display: block; font-size: 12px; color: var(--teal-hover); min-height: 19px; }
/* Galleria modale nativa, attivata solo dopo il clic */
.lightbox { width: min(1100px, calc(100% - 32px)); max-height: calc(100dvh - 32px); border: 0; padding: 0; color: white; background: #102c2b; border-radius: 10px; overflow: auto; }
.lightbox::backdrop { background: #081d1ceb; }
.lightbox-top { display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 11px 16px; font-size: 13px; }
.lightbox-top h2 { color: white; font-size: 15px; font-weight: 600; letter-spacing: 0; }
.icon-button { display: grid; place-items: center; width: 44px; height: 44px; border: 1px solid #63827e; border-radius: 50%; background: #143b38; color: white; flex-shrink: 0; }
.icon-button:hover { background: var(--teal); }
.lightbox-stage { position: relative; }
.lightbox-stage img { width: 100%; height: min(66dvh,740px); object-fit: contain; }
.lightbox-arrows { display: flex; justify-content: space-between; position: absolute; inset: 50% 12px auto; transform: translateY(-50%); pointer-events: none; }
.lightbox-arrows .icon-button { pointer-events: auto; background: #123e3ced; }
.lightbox-caption { padding: 15px 22px 19px; font-size: 13px; color: #e2f0ed; text-align: center; }
/* Informativa e pagina non trovata */
.legal { max-width: 800px; padding-block: 42px 85px; }
.legal h1 { font-size: clamp(34px,4vw,48px); margin-bottom: 16px; }
.legal .legal-date { font-size: 13px; color: var(--muted); margin-bottom: 30px; }
.legal h2 { font-size: 24px; margin-block: 34px 13px; letter-spacing: -.025em; }
.legal p { font-size: 15px; }
.legal a { overflow-wrap: anywhere; color: var(--teal-hover); }
.notfound { text-align: center; padding-block: 110px; }
.notfound h1 { font-size: clamp(36px,4vw,56px); margin-bottom: 20px; }
.notfound p { margin: 0 auto 30px; max-width: 50ch; }
@media (min-width: 1500px) { .hero { padding-block: 76px; } }
@media (max-width: 1140px) {
  .nav-inner { gap: 20px; }
  .primary-nav { gap: 19px; }
  .primary-nav a { font-size: 13px; }
  .hero-grid { gap: 30px; }
  .hero h1 { font-size: 53px; }
  .hero .actions .button { font-size: 13px; padding-inline: 13px; }
  .car-grid { gap: 18px; }
  .service-card { padding: 23px 20px; }
  .car-body { padding: 22px 18px; }
  .classic-grid { gap: 40px; }
}
@media (max-width: 980px) {
  .header-cta { margin-left: auto; }
  .nav-inner { flex-wrap: wrap; gap: 16px; padding-block: 14px; min-height: 80px; }
  .primary-nav { order: 4; width: 100%; margin: 0; justify-content: space-between; gap: 8px; border-top: 1px solid var(--line); padding-top: 8px; }
  .nav-ready .primary-nav { display: none; }
  .nav-ready .primary-nav.is-open { display: flex; }
  .nav-ready .menu-toggle { display: flex; }
  .hero { padding-block: 45px; }
  .hero-grid { gap: 30px; grid-template-columns: 1fr 1fr; }
  .hero h1 { font-size: 45px; }
  .hero-lead { font-size: 16px; }
  .hero .actions { flex-direction: column; align-items: stretch; }
  .hero .actions .button { font-size: 14px; }
  .hero .eyebrow { font-size: 10px; }
  .hero-photo picture img { aspect-ratio: 1.1; }
  .hero-visual { padding-left: 9px; }
  .photo-caption { padding: 20px; }
  .photo-caption strong { font-size: 15px; }
  .photo-caption small { font-size: 10px; }
  .service-ribbon a { gap: 8px; font-size: 12px; padding: 20px 8px; }
  .service-grid { grid-template-columns: 1fr 1fr; }
  .service-card { padding: 27px; }
  .service-card p { max-width: 40ch; }
  .precheck { flex-wrap: wrap; gap: 14px; }
  .precheck > div { flex: 1; min-width: 210px; }
  .precheck .text-link { margin-left: 49px; }
  .price-columns { gap: 28px; }
  .price-item summary { gap: 10px; }
  .car-grid { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 24px; }
  .car-body { padding: 24px; }
  .classic-copy > p:not(.eyebrow) { font-size: 15px; }
  .classic-services { grid-template-columns: 1fr; gap: 9px; }
  .classic-photo img { aspect-ratio: .95; }
  .workshop-grid { gap: 36px; }
  .contact-card { padding: 27px; }
  .location-card { padding: 0; }
  .location-content { padding: 27px; }
  .hours > div { grid-template-columns: 70px 1fr; gap: 5px; }
  .hours { font-size: 12px; }
  .vehicle-layout { grid-template-columns: minmax(0,1.3fr) minmax(0,1fr); gap: 24px; }
  .vehicle-panel { padding: 22px; }
  .vehicle-price { font-size: 34px; }
}
@media (max-width: 760px) {
  html { scroll-padding-top: 90px; }
  body { padding-bottom: calc(66px + env(safe-area-inset-bottom, 0px)); }
  .utility-bar .utility-hours { display: none; }
  .utility-bar .wrap { justify-content: center; min-height: 29px; }
  .utility-bar { font-size: 10px; }
  .nav-inner { min-height: 74px; padding-block: 12px; gap: 10px; }
  .brand-top { font-size: 9px; }
  .brand-name { font-size: 24px; }
  .brand-bottom { font-size: 9px; }
  .header-cta { padding: 11px 12px; }
  .header-cta .button-label { display: none; }
  .header-cta .icon { width: 19px; height: 19px; }
  .menu-toggle { padding: 9px 11px; font-size: 12px; }
  .menu-toggle .icon { width: 18px; height: 18px; }
  .primary-nav { flex-wrap: wrap; }
  .primary-nav a { flex: 1 0 40%; padding: 9px 10px; font-size: 14px; }
  .hero-grid { grid-template-columns: 1fr; gap: 30px; }
  .hero { padding-block: 35px 37px; }
  .hero .eyebrow { margin-bottom: 17px; font-size: 10px; }
  .hero h1 { font-size: clamp(40px,8.8vw,59px); }
  .hero-lead { margin-top: 19px; font-size: 16px; max-width: 47ch; }
  .hero .actions { flex-direction: row; margin-top: 25px; }
  .hero .actions .button { flex: 1 1 auto; font-size: 13px; }
  .hero-note { font-size: 12px; margin-top: 15px; }
  .hero-visual { padding: 9px 0 9px 9px; }
  .hero-photo picture img { aspect-ratio: 1.85; }
  .photo-label { display: none; }
  .photo-caption { padding: 17px 19px; }
  .photo-caption strong { font-size: 16px; }
  .photo-caption a { width: 38px; height: 38px; }
  .service-ribbon .wrap { width: 100%; grid-template-columns: 1fr 1fr; }
  .service-ribbon a { border-bottom: 1px solid var(--line); padding-block: 18px; font-size: 12px; }
  .service-ribbon a:nth-child(2n) { border-right: 0; }
  .service-ribbon a:nth-last-child(-n+2) { border-bottom: 0; }
  .service-ribbon a:first-child { border-left: 0; }
  .service-ribbon .icon { width: 23px; height: 23px; }
  .section-heading { display: block; margin-bottom: 28px; }
  .section-heading > p { margin-top: 19px; max-width: 48ch; }
  .eyebrow { font-size: 11px; margin-bottom: 14px; }
  .service-grid { gap: 14px; }
  .service-card { padding: 23px 20px; }
  .service-card h3 { font-size: 18px; }
  .service-card p { font-size: 13px; }
  .service-card .text-link { font-size: 12px; }
  .icon-tile { margin-bottom: 21px; }
  .precheck { padding: 23px; }
  .precheck > .icon { display: none; }
  .precheck h3 { font-size: 18px; }
  .precheck .text-link { margin-left: 0; }
  .price-area { margin-top: 38px; padding-top: 30px; }
  .price-heading { align-items: flex-start; flex-direction: column; gap: 13px; }
  .price-heading h3 { font-size: 23px; }
  .price-columns { grid-template-columns: 1fr; gap: 0; }
  .price-column + .price-column .price-item:first-child { border-top: 0; }
  .price-item summary { min-height: 77px; gap: 13px; }
  .price-amount strong { font-size: 17px; }
  .price-name { font-size: 14px; }
  .car-grid { gap: 18px; }
  .car-body { padding: 20px 18px; }
  .car-card h3 { font-size: 19px; }
  .car-price { font-size: 23px; }
  .car-meta { gap: 8px 12px; font-size: 11px; margin-block: 17px; }
  .inventory-cta { padding: 27px; }
  .inventory-cta h3 { font-size: 26px; }
  .inventory-cta > .icon { margin-bottom: 20px; }
  .classic-grid { grid-template-columns: 1fr; gap: 35px; }
  .classic-services { grid-template-columns: 1fr 1fr; font-size: 12px; }
  .classic-photo img { aspect-ratio: 1.5; }
  .workshop-grid { grid-template-columns: 1fr; gap: 29px; }
  .workshop-copy { order: -1; }
  .contact-grid { grid-template-columns: 1fr; }
  .contact-card { padding: 27px; }
  .location-card { padding: 0; }
  .hours > div { grid-template-columns: 86px 1fr; gap: 12px; font-size: 13px; }
  .footer-top { grid-template-columns: 1fr 1fr; gap: 30px; }
  .footer-brand { grid-column: 1/-1; }
  .footer-description { max-width: 45ch; }
  .site-footer { padding-top: 38px; }
  .mobile-actions { position: fixed; inset: auto 0 0; z-index: 55; display: grid; grid-template-columns: 1fr 1fr 1fr; padding: 6px 10px calc(6px + env(safe-area-inset-bottom, 0px)); background: white; border-top: 1px solid #c5d9d5; box-shadow: 0 -4px 18px #123e3c08; gap: 4px; }
  .mobile-actions a { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px; min-height: 54px; text-decoration: none; font-size: 10px; font-weight: 650; color: var(--ink); border-radius: 6px; }
  .mobile-actions .icon { width: 21px; height: 21px; color: var(--teal); }
  .mobile-actions a:nth-child(2) { background: var(--teal); color: white; }
  .mobile-actions a:nth-child(2) .icon { color: white; }
  .mobile-actions a:hover { background: var(--mint); color: var(--ink); }
  .mobile-actions a:nth-child(2):hover { background: var(--teal-hover); color: white; }
  .vehicle-section { padding-top: 22px; padding-bottom: 55px; }
  .breadcrumb { margin-bottom: 21px; font-size: 11px; }
  .vehicle-heading h1 { font-size: 36px; }
  .vehicle-heading p:last-child { font-size: 14px; }
  .vehicle-layout { grid-template-columns: 1fr; gap: 26px; }
  .vehicle-gallery-column { display: contents; }
  .vehicle-gallery-wrap { order: 0; }
  .vehicle-panel { order: 1; position: static; padding: 27px; }
  .vehicle-info { order: 2; }
  .vehicle-description:first-child { margin-top: 8px; }
  .vehicle-price { font-size: 39px; }
  .vehicle-bottom { margin-top: 30px; }
  .lightbox { width: calc(100% - 20px); max-height: calc(100dvh - 20px); }
  .lightbox-top { padding: 10px; }
  .lightbox-top h2 { font-size: 13px; }
  .lightbox-caption { font-size: 12px; }
  .legal { padding-block: 27px 58px; }
}
@media (max-width: 540px) {
  .car-grid { grid-template-columns: 1fr; gap: 23px; }
  .car-body { padding: 24px; }
  .car-card h3 { font-size: 22px; }
  .car-price { font-size: 28px; }
  .car-meta { font-size: 12px; }
  .car-badge { font-size: 10px; }
  .inventory-cta { padding: 32px; }
  .inventory-cta h3 { font-size: 29px; }
  .inventory-cta > .icon { width: 36px; height: 36px; margin-bottom: 20px; }
  .inventory-top { gap: 12px; }
  .filter-button { padding: 9px 15px; }
  .inventory-count { font-size: 12px; }
  .footer-top { grid-template-columns: 1fr; }
  .footer-brand { grid-column: auto; }
  .footer-bottom { font-size: 11px; align-items: flex-start; }
  .classic-services { grid-template-columns: 1fr; }
}
@media (max-width: 380px) {
  .header-cta { display: none; }
  .menu-toggle { margin-left: auto; }
  .hero h1 { font-size: 38px; }
  .hero .actions { flex-direction: column; }
  .service-grid { grid-template-columns: 1fr; }
  .service-card { padding: 25px; }
  .service-card p { font-size: 14px; }
  .service-card .text-link { font-size: 13px; }
  .price-item summary { grid-template-columns: minmax(0,1fr) auto 15px; gap: 8px; }
  .price-name { font-size: 13px; }
  .price-amount strong { font-size: 16px; }
  .price-amount small { font-size: 10px; }
  .contact-card { padding: 23px; }
  .location-card { padding: 0; }
  .location-content { padding: 23px; }
  .contact-mail { font-size: 12px; }
  .hours > div { grid-template-columns: 64px 1fr; gap: 5px; font-size: 12px; }
  .car-body { padding: 23px 21px; }
  .vehicle-panel { padding: 23px; }
  .vehicle-price { font-size: 34px; }
  .specifications > div { gap: 12px; font-size: 13px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
@media print {
  .utility-bar, .site-header, .site-footer, .mobile-actions, .filters, .actions, .contact-actions, .vehicle-panel .button, .vehicle-bottom, .gallery-zoom, .photo-caption a, .skip-link { display: none !important; }
  body { padding: 0; color: black; font-size: 11pt; }
  .wrap { width: 100%; }
  .section, .hero { padding-block: 24px; }
  .hero-grid, .vehicle-layout, .workshop-grid, .contact-grid { display: block; }
  .vehicle-panel { position: static; margin-top: 20px; }
  .on-dark { background: white; color: black; }
  .on-dark h2, .on-dark h3 { color: black; }
  .car-card, .contact-card { break-inside: avoid; }
  .vehicle-gallery { max-width: 550px; }
}
