/* ==========================================================================
   Pubblicauto — foglio di stile del sito pubblico
   Palette dal logo: blu (azioni) e rosa (evidenza). Colori sovrascritti dal pannello (:root inline).
   ========================================================================== */

@font-face {
  font-family: "Plus Jakarta Sans";
  src: url("../fonts/plus-jakarta-sans-latin-wght-normal.woff2") format("woff2-variations"), url("../fonts/plus-jakarta-sans-latin-wght-normal.woff2") format("woff2");
  font-weight: 200 800; font-style: normal; font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Plus Jakarta Sans";
  src: url("../fonts/plus-jakarta-sans-latin-ext-wght-normal.woff2") format("woff2-variations"), url("../fonts/plus-jakarta-sans-latin-ext-wght-normal.woff2") format("woff2");
  font-weight: 200 800; font-style: normal; font-display: swap;
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

:root {
  --blue: #0261FD; --blue-dark: #0047C2; --pink: #EE4266; --pink-dark: #B8233F;
  --night: #07152F; --night-2: #0E2144; --night-line: #1B2C4D; --ink: #0B1B3A;
  --muted: #4A5568; --muted-2: #5B6474; --field: #858FA1; --soft: #F6F8FB; --soft-2: #EEF1F5; --surface: #E9EDF3;
  --line: #E3E8EF; --line-2: #DCE1E8; --blue-tint: #EEF4FF; --pink-tint: #FDECEF; --blue-pale: #DCE7FF; --night-text: #A9B4C8;
  --radius-sm: 12px; --radius: 16px; --radius-md: 22px; --radius-lg: 28px; --radius-xl: 40px;
  --gutter: clamp(20px, 5.6vw, 80px);
  --max: 1440px;
  --header-h: 76px;
  --ease: cubic-bezier(.2, .8, .2, 1);
  --shadow-sm: 0 1px 2px rgba(7,21,47,.04);
  --shadow: 0 1px 2px rgba(7,21,47,.04), 0 24px 60px rgba(7,21,47,.09);
  --shadow-lg: 0 30px 60px rgba(7,21,47,.22);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-stopped { overflow: hidden; }
body {
  margin: 0; background: #fff; color: var(--ink);
  font-family: "Plus Jakarta Sans", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  font-size: 16px; line-height: 1.5; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}
img, svg, video { display: block; max-width: 100%; }
img { height: auto; }
a { color: var(--blue); text-decoration: none; transition: color .2s ease; }
a:hover { color: var(--blue-dark); }
button { font: inherit; color: inherit; cursor: pointer; }
h1, h2, h3, h4, p, figure, blockquote, dl, dd, ol, ul { margin: 0; }
ol, ul { padding: 0; list-style: none; }
::selection { background: var(--pink); color: #fff; }
:focus-visible { outline: 3px solid var(--night); outline-offset: 3px; box-shadow: 0 0 0 3px #fff; border-radius: 6px; }
/* Anello doppio (bianco dentro, blu notte fuori): si vede su qualunque fondo, blu e scuri compresi */
.section-night :focus-visible, .site-footer :focus-visible, .fil-detail :focus-visible, .service-dark:focus-visible, .lightbox :focus-visible { outline-color: #fff; box-shadow: 0 0 0 3px var(--night); }
[hidden] { display: none !important; }
.sr-only, .hp { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip { position: fixed; left: 16px; top: -80px; z-index: 1000; background: var(--blue); color: #fff; padding: 10px 16px; border-radius: 10px; font-weight: 700; }
.skip:focus { top: 16px; color: #fff; }
main:focus { outline: none; }
[tabindex="-1"]:focus:not(:focus-visible) { outline: none; box-shadow: none; }
.req { color: var(--pink-dark); font-weight: 800; }

.container { width: 100%; max-width: var(--max); margin-inline: auto; padding-inline: var(--gutter); }
/* le animazioni partono da elementi spostati di lato: senza questo, sul telefono la pagina scorrerebbe in orizzontale.
   clip (non hidden) non crea un contenitore di scorrimento, quindi sticky e pin continuano a funzionare */
main > section { overflow-x: clip; }
.center { text-align: center; }
.muted { color: var(--muted); }
.mt-12 { margin-top: 12px; } .mt-16 { margin-top: 16px; } .mt-24 { margin-top: 24px; } .mt-40 { margin-top: 40px; } .mt-64 { margin-top: 64px; }
.light { color: #fff; }

/* ---------- Tipografia ---------- */
.display { font-size: clamp(52px, 7vw, 100px); line-height: .96; font-weight: 800; letter-spacing: -.052em; }
.display-2 { font-size: clamp(44px, 5.6vw, 80px); line-height: .98; font-weight: 800; letter-spacing: -.05em; }
.display-3 { font-size: clamp(38px, 4.4vw, 60px); line-height: 1.02; font-weight: 800; letter-spacing: -.045em; }
.h1 { font-size: clamp(40px, 5vw, 72px); line-height: 1; font-weight: 800; letter-spacing: -.045em; }
.h2 { font-size: clamp(34px, 4.4vw, 64px); line-height: 1.02; font-weight: 800; letter-spacing: -.04em; }
.h3 { font-size: clamp(28px, 3vw, 44px); line-height: 1.08; font-weight: 800; letter-spacing: -.03em; }
.lead { margin-top: 28px; font-size: clamp(17px, 1.45vw, 20px); line-height: 1.55; color: var(--muted); max-width: 580px; }
.lead strong { color: var(--ink); }
.lead.light { color: var(--night-text); }
.kicker { font-size: 14px; font-weight: 700; letter-spacing: .05em; color: var(--blue); text-transform: uppercase; margin-bottom: 16px; }
.kicker-light { color: #fff; }
.kicker-pink { color: var(--pink); font-weight: 800; }
.sec-lead { font-size: 17px; line-height: 1.6; color: var(--muted); max-width: 420px; }
.sec-lead.light { color: var(--night-text); max-width: 600px; margin-top: 28px; font-size: 19px; }
.fine-print { font-size: 12.5px; line-height: 1.6; color: var(--muted-2); margin-top: 20px; }
.fine-print.light { color: var(--night-text); }

/* Parola chiave con swoosh rosa */
.hl { position: relative; display: inline-block; z-index: 0; color: var(--blue); white-space: nowrap; max-width: 100%; }
.section-blue .hl, .section-night .hl, .cta .hl, .light .hl { color: inherit; }
.swoosh { position: absolute; left: -3%; bottom: .02em; width: 106%; height: .26em; z-index: -1; transform-origin: left center; }
.hl-text { color: var(--pink); font-weight: 800; }
h1, h2, h3, .display, .display-2, .display-3, .h1, .h2, .h3 { overflow-wrap: break-word; }

/* SplitText: righe mascherate */
.split-line { overflow: hidden; padding-bottom: .08em; margin-bottom: -.08em; }
.split-line > * { will-change: transform; }

/* ---------- Pulsanti ---------- */
.btn {
  --h: 52px; position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  height: var(--h); padding: 0 26px; border-radius: 999px; border: 1px solid transparent;
  font-weight: 700; font-size: 16px; line-height: 1; white-space: nowrap; text-decoration: none; cursor: pointer;
  transition: transform .35s var(--ease), box-shadow .35s ease, background-color .25s ease, border-color .25s ease, color .25s ease;
  will-change: transform;
}
.btn > span { position: relative; z-index: 1; display: inline-flex; align-items: center; gap: 10px; }
.btn .ic { flex-shrink: 0; transition: transform .35s var(--ease); }
.btn:hover .ic-arrow-right { transform: translateX(4px); }
.btn-sm { --h: 44px; padding: 0 18px; font-size: 14px; }
.btn-md { --h: 48px; padding: 0 22px; font-size: 15px; }
.btn-lg { --h: 56px; padding: 0 30px; font-size: 17px; }
.btn-block { width: 100%; }
.btn-icon { padding: 0; width: var(--h); }
.btn-primary { background: var(--blue); color: #fff; }
.btn-primary:hover { background: var(--blue-dark); color: #fff; box-shadow: 0 12px 30px color-mix(in srgb, var(--blue) 35%, transparent); }
.btn-white { background: #fff; color: var(--blue); font-weight: 800; }
.btn-white:hover { color: var(--blue-dark); box-shadow: 0 12px 30px rgba(7,21,47,.2); }
.btn-line { background: #fff; color: var(--ink); border-color: var(--line-2); }
.btn-line:hover { border-color: var(--ink); color: var(--ink); }
.btn-line-light { background: transparent; color: #fff; border-color: rgba(255,255,255,.35); }
.btn-line-light:hover { background: rgba(255,255,255,.08); border-color: #fff; color: #fff; }
.btn:active { transform: scale(.98); }
.link-arrow { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; font-size: 17px; color: var(--blue); }
.link-arrow .ic { transition: transform .35s var(--ease); }
.link-arrow:hover .ic-arrow-right { transform: translateX(4px); }
.link-btn, .linklike { background: none; border: 0; padding: 0; color: var(--blue); font-weight: 700; cursor: pointer; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 40px; }
.btn-row.center { justify-content: center; }

/* ---------- Pillole, badge ---------- */
.pill { display: inline-flex; align-items: center; gap: 10px; height: 36px; padding: 0 16px; border-radius: 999px; background: var(--blue-tint); color: var(--blue); font-size: 14px; font-weight: 700; }
.dot { width: 8px; height: 8px; border-radius: 99px; background: var(--pink); flex-shrink: 0; display: inline-block; }
.badge { display: inline-flex; align-items: center; height: 32px; padding: 0 14px 0 12px; border-radius: 0 10px 10px 0; background: var(--pink-dark); color: #fff; font-size: 13px; font-weight: 800; letter-spacing: .01em; }
.badge-dark { background: var(--night); }

/* ---------- Header ---------- */
.site-header { position: sticky; top: 0; z-index: 90; background: rgba(255,255,255,.86); -webkit-backdrop-filter: saturate(180%) blur(14px); backdrop-filter: saturate(180%) blur(14px); border-bottom: 1px solid transparent; transition: border-color .3s ease, background-color .3s ease; }
.site-header.is-scrolled { border-bottom-color: #E8EBF0; }
.header-inner { height: var(--header-h); display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand img { height: 36px; width: auto; }
.nav { display: flex; gap: 4px; }
.nav a { position: relative; display: inline-flex; align-items: center; height: 44px; padding: 0 14px; font-size: 14.5px; font-weight: 500; color: var(--ink); }
.nav a span { position: relative; }
.nav a::after { content: ""; position: absolute; left: 14px; right: 14px; bottom: 6px; height: 3px; border-radius: 3px; background: var(--pink); transform: skewX(-12deg) scaleX(0); transform-origin: left; transition: transform .45s var(--ease); }
.nav a:hover::after { transform: skewX(-12deg) scaleX(1); }
.nav a.is-active { color: var(--blue); font-weight: 700; }
.nav a.is-active::after { transform: skewX(-12deg) scaleX(1); }
.header-cta { display: flex; align-items: center; gap: 10px; }
.burger { display: none; position: relative; width: 44px; height: 44px; border-radius: 999px; border: 1px solid var(--line-2); background: #fff; }
.burger span { position: absolute; left: 13px; right: 13px; height: 2px; border-radius: 2px; background: var(--ink); transition: transform .4s var(--ease), top .4s var(--ease); }
.burger span:first-child { top: 17px; } .burger span:last-child { top: 25px; }
.burger[aria-expanded="true"] span:first-child { top: 21px; transform: rotate(45deg); }
.burger[aria-expanded="true"] span:last-child { top: 21px; transform: rotate(-45deg); }
.mobile-menu { position: fixed; inset: 0; z-index: 85; background: #fff; padding: calc(var(--header-h) + 24px) var(--gutter) 32px; display: flex; flex-direction: column; justify-content: space-between; visibility: hidden; opacity: 0; transition: opacity .35s ease, visibility .35s; }
.mobile-menu.is-open { visibility: visible; opacity: 1; transition: opacity .35s ease, visibility 0s; }
.mobile-nav { display: flex; flex-direction: column; }
.mobile-nav a { font-size: clamp(30px, 8vw, 44px); font-weight: 800; letter-spacing: -.035em; color: var(--ink); padding: 8px 0; border-bottom: 1px solid var(--soft-2); }
.mobile-nav a[aria-current] { color: var(--blue); }
.mobile-foot { display: grid; gap: 10px; }
.progress { position: fixed; left: 0; top: 0; right: 0; height: 3px; z-index: 100; pointer-events: none; }
.progress span { display: block; height: 100%; background: linear-gradient(90deg, var(--blue), var(--pink)); transform-origin: left; transform: scaleX(0); }

/* ---------- Sezioni ---------- */
.section { padding-block: clamp(80px, 9vw, 140px); }
.section-tight { padding-block: clamp(56px, 6vw, 100px); }
.section-blue { background: var(--blue); color: #fff; }
.section-night { background: var(--night); color: #fff; }
.section-soft { background: var(--soft); }
.sec-head { margin-bottom: clamp(40px, 5vw, 72px); }
.sec-head.center { text-align: center; }
.sec-head.center .h2 { max-width: 900px; margin-inline: auto; }
.sec-head-split { display: flex; justify-content: space-between; align-items: flex-end; gap: 32px 48px; flex-wrap: wrap; }
.sec-head-split .h2 { max-width: 880px; }
.page-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 32px; flex-wrap: wrap; padding-top: clamp(40px, 5vw, 72px); padding-bottom: 40px; }
.crumbs { display: flex; flex-wrap: wrap; gap: 8px; padding-top: 24px; font-size: 14px; color: var(--muted); }
.crumbs a { color: var(--muted); } .crumbs a:hover { color: var(--blue); }
.crumbs span[aria-current] { color: var(--ink); font-weight: 600; }

/* ---------- Hero ---------- */
.hero { padding-top: clamp(32px, 4vw, 56px); }
.hero-grid { display: grid; grid-template-columns: minmax(0, 600px) minmax(0, 1fr); gap: clamp(32px, 4.5vw, 64px); align-items: center; }
.hero-title { margin-top: 28px; }
.hero-box { margin-top: 40px; padding: 8px; border-radius: 30px; background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow); }
.seg { position: relative; display: grid; grid-auto-columns: 1fr; grid-auto-flow: column; padding: 4px; border-radius: 22px; background: var(--soft-2); gap: 4px; isolation: isolate; }
.seg > button, .seg > label > span { position: relative; z-index: 1; height: 48px; padding: 0 20px; border: 0; border-radius: 18px; background: transparent; color: var(--muted); font-weight: 700; font-size: 15px; display: flex; align-items: center; justify-content: center; transition: color .3s ease; cursor: pointer; }
.seg > button[aria-selected="true"] { color: var(--blue); }
.seg-thumb { position: absolute; z-index: 0; top: 4px; bottom: 4px; left: 4px; border-radius: 18px; background: #fff; box-shadow: 0 2px 8px rgba(7,21,47,.1); transition: transform .5s var(--ease), width .5s var(--ease); }
.seg label { display: block; }
.seg label input { position: absolute; opacity: 0; pointer-events: none; }
.seg label input:checked + span { background: #fff; color: var(--blue); box-shadow: 0 1px 4px rgba(7,21,47,.12); }
.seg label input:focus-visible + span { outline: 3px solid var(--night); outline-offset: 1px; }
.seg > button[aria-checked="true"] { color: var(--blue); }
.seg-sm > label > span { height: 40px; font-size: 13px; padding: 0 8px; border-radius: 10px; }
.seg-sm { border-radius: 14px; grid-auto-flow: column; }
.seg-lg > button { height: 46px; font-size: 15px; }
.hero-form { padding: 16px 12px 12px; display: flex; align-items: flex-end; gap: 10px; }
.hero-form .field { flex: 1 1 0; min-width: 0; }
.hero-form .btn { flex-shrink: 0; height: 56px; border-radius: var(--radius); }
.hero-cities { margin-top: 20px; display: inline-flex; align-items: center; gap: 10px; font-size: 14px; color: var(--muted); }
.hero-cities .ic { color: var(--blue); }
.hero-cities:hover { color: var(--ink); }
.hero-visual { position: relative; height: clamp(420px, 47vw, 680px); }
.hero-back { position: absolute; left: 36px; top: 36px; right: 0; bottom: 0; border-radius: 44px; background: var(--blue); }
.hero-frame { position: absolute; left: 0; top: 0; right: 36px; bottom: 36px; border-radius: 44px; background: var(--surface); overflow: hidden; }
.hero-img { width: 100%; height: 100%; object-fit: cover; transform-origin: center; }
/* ---------- L'auto disegnata (car_placeholder) ---------- */
.car-ph { display: block; height: auto; overflow: visible;
  --car-body: var(--blue); --car-glass: #CFE0FF; --car-tire: #0B1B3A; --car-well: #0A1A38; --car-rim: #DDE4EE;
  --car-shade: rgba(7,21,47,.16); --car-line: rgba(7,21,47,.22); --car-shine: rgba(255,255,255,.45);
  --car-head: #fff; --car-tail: var(--pink); --car-shadow: rgba(7,21,47,.14); }
/* al posto di una foto che manca: grigia, per non sembrare l'auto vera */
.car-ph-wrap .car-ph, .gallery-empty .car-ph, .empty-car {
  --car-body: #CBD2DC; --car-glass: #EEF1F5; --car-tire: #AEB6C3; --car-well: #BCC4CF; --car-rim: #EEF1F5;
  --car-shade: rgba(7,21,47,.06); --car-line: rgba(7,21,47,.12); --car-shine: rgba(255,255,255,.5);
  --car-head: #F6F8FB; --car-tail: #BCC4CF; --car-shadow: rgba(7,21,47,.07); }
.car-ph .c-body { fill: var(--car-body); }
.car-ph .c-glass { fill: var(--car-glass); }
.car-ph .c-reflect { fill: #fff; opacity: .35; }
.car-ph .c-shade { fill: var(--car-shade); }
.car-ph .c-line { fill: none; stroke: var(--car-line); stroke-width: 1; stroke-linecap: round; }
.car-ph .c-shine { fill: none; stroke: var(--car-shine); stroke-width: 1.4; stroke-linecap: round; }
.car-ph .c-handle { fill: var(--car-line); }
.car-ph .c-head { fill: var(--car-head); }
.car-ph .c-tail { fill: var(--car-tail); }
.car-ph .c-well { fill: var(--car-well); }
.car-ph .c-tire, .car-ph .c-hub { fill: var(--car-tire); }
.car-ph .c-rim { fill: var(--car-rim); }
.car-ph .c-spoke { fill: none; stroke: var(--car-tire); stroke-width: 1.6; stroke-linecap: round; }
.car-ph .c-shadow { fill: var(--car-shadow); }

.hero-illus { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; background: radial-gradient(120% 80% at 70% 20%, #fff 0%, var(--surface) 60%); overflow: hidden; }
.hero-car { width: 68%; position: relative; z-index: 1; }
.hero-road { position: absolute; left: 0; right: 0; top: calc(50% + 11%); height: 3px; display: flex; gap: 40px; opacity: .35; }
.hero-road span { flex: 0 0 60px; height: 3px; border-radius: 3px; background: var(--muted-2); }
.float-card { position: absolute; z-index: 2; display: flex; align-items: center; gap: 12px; padding: 10px 18px 10px 10px; background: #fff; border-radius: 16px; box-shadow: 0 10px 30px rgba(7,21,47,.12); color: var(--ink); will-change: transform; }
.fc-1 { left: 24px; top: 24px; } .fc-2 { left: 24px; bottom: 24px; } .fc-3 { right: 24px; bottom: 24px; }
.fc-3:hover { color: var(--ink); box-shadow: 0 16px 36px rgba(7,21,47,.18); }
.fc-ic { width: 40px; height: 40px; border-radius: 12px; display: flex; align-items: center; justify-content: center; color: #fff; }
.fc-blue { background: var(--blue); } .fc-pink { background: var(--pink); }
.fc-k { display: block; font-size: 11px; font-weight: 800; color: var(--blue); letter-spacing: .06em; }
.fc-k-pink { color: var(--pink-dark); }
.fc-t { display: block; font-size: 15px; font-weight: 700; }
.fc-num { min-width: 40px; height: 40px; padding: 0 8px; border-radius: 12px; background: var(--night); color: #fff; font-weight: 800; font-size: 18px; display: flex; align-items: center; justify-content: center; }
.stats { margin-top: clamp(48px, 6vw, 80px); display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-block: 1px solid var(--line); }
.stat { padding: 36px 32px; display: flex; align-items: center; gap: 24px; }
.stat:first-child { padding-left: 0; }
.stat:last-child { padding-right: 0; }
.stat + .stat { border-left: 1px solid var(--line); }
.stat-num { font-size: clamp(48px, 5vw, 64px); font-weight: 800; letter-spacing: -.05em; color: var(--blue); line-height: 1; white-space: nowrap; flex-shrink: 0; font-variant-numeric: tabular-nums; }
.stat-num.is-pink { color: var(--pink); }
.stat-text { font-size: 16px; line-height: 1.5; color: var(--muted); }

/* ---------- Campi ---------- */
.field { display: flex; flex-direction: column; gap: 6px; }
.label { font-size: 12.5px; font-weight: 700; color: var(--muted); }
.input, .select {
  width: 100%; height: 56px; padding: 0 16px; border: 1px solid var(--field); border-radius: var(--radius);
  background: #fff; color: var(--ink); font: 500 16px/1.2 "Plus Jakarta Sans", sans-serif; transition: border-color .2s ease, box-shadow .2s ease;
  -webkit-appearance: none; appearance: none;
}
textarea.input { height: auto; padding: 14px 16px; resize: vertical; min-height: 110px; line-height: 1.5; }
.select { padding-right: 40px; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' fill='none' stroke='%234A5568' stroke-width='2'%3E%3Cpath d='m1 1.5 5 5 5-5'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 16px center; }
.select:disabled { background-color: var(--soft); color: var(--muted-2); }
.input-sm, .select-sm { height: 44px; font-size: 15px; border-radius: var(--radius-sm); padding-inline: 12px; }
.select-sm { padding-right: 34px; background-position: right 12px center; }
.input-plate { font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.input::placeholder { color: #646D7E; }
.input:focus, .select:focus { border-color: var(--blue); }
.input.is-error, .input[aria-invalid="true"] { border-color: var(--pink-dark); border-width: 2px; }
.field-error { font-size: 13px; color: var(--pink-dark); font-weight: 600; }
.field-error:empty { display: none; }
.frow2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.chips-field { border: 0; padding: 0; margin: 0; }
.chips-field legend { margin-bottom: 10px; padding: 0; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { position: relative; display: inline-flex; cursor: pointer; }
.chip input { position: absolute; opacity: 0; pointer-events: none; }
.chip span { display: inline-flex; align-items: center; height: 44px; padding: 0 16px; border-radius: 999px; background: #fff; border: 1px solid var(--field); color: var(--ink); font-weight: 600; font-size: 14px; transition: all .25s ease; }
.chip:hover span { border-color: var(--ink); }
.chip input:checked + span { background: var(--blue); border-color: var(--blue); color: #fff; }
.chip input:focus-visible + span { outline: 3px solid var(--night); outline-offset: 3px; box-shadow: 0 0 0 3px #fff; }
.chip-sm span { height: 38px; padding: 0 12px; font-size: 13px; border-radius: 12px; }
.consent { display: flex; align-items: flex-start; gap: 12px; font-size: 13px; line-height: 1.5; color: var(--muted); cursor: pointer; margin-top: 4px; }
.consent input { position: absolute; opacity: 0; pointer-events: none; }
.consent-box { flex-shrink: 0; width: 22px; height: 22px; border-radius: 7px; border: 1.5px solid var(--field); background: #fff; display: flex; align-items: center; justify-content: center; color: transparent; transition: all .2s ease; }
.consent input:checked + .consent-box { background: var(--blue); border-color: var(--blue); color: #fff; }
.consent input:focus-visible + .consent-box { outline: 3px solid var(--night); outline-offset: 3px; box-shadow: 0 0 0 3px #fff; }
.consent a { text-decoration: underline; text-underline-offset: 2px; }
.consents { display: grid; gap: 10px; }
.form-req { font-size: 12.5px; color: var(--muted); margin: 0; }
.form-status { margin: 0; padding: 12px 16px; border-radius: 12px; background: var(--pink-tint); color: var(--pink-dark); font-weight: 700; font-size: 14px; }

/* Card moduli */
.form-card { padding: clamp(24px, 3vw, 40px); border-radius: 32px; background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow); }
.form-card form > [data-fields] { display: grid; grid-template-columns: minmax(0, 1fr); gap: 16px; }
.form-t { font-size: 26px; font-weight: 800; letter-spacing: -.02em; }
.form-d { color: var(--muted); margin-top: -8px; }
.form-note { font-size: 13px; color: var(--muted-2); text-align: center; }
.form-success { text-align: center; padding: 24px 8px; display: grid; justify-items: center; gap: 12px; }
.form-success:focus { outline: none; }
.success-ic { width: 76px; height: 76px; border-radius: 99px; background: var(--blue-tint); display: flex; align-items: center; justify-content: center; }
.success-ic svg { width: 52px; height: 52px; stroke: var(--blue); stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }
.success-title { font-size: 28px; font-weight: 800; letter-spacing: -.02em; }
.success-text { color: var(--muted); max-width: 400px; }
.success-actions { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin-top: 8px; }
.is-loading [type="submit"] { pointer-events: none; opacity: .7; }

/* ---------- Marquee marche ---------- */
.marquee { position: relative; overflow: hidden; padding-block: 36px; border-bottom: 1px solid var(--line); }
.marquee-toggle { position: absolute; z-index: 2; right: 12px; top: 50%; transform: translateY(-50%); width: 40px; height: 40px; border-radius: 99px; border: 1px solid var(--field); background: #fff; display: flex; align-items: center; justify-content: center; box-shadow: var(--shadow-sm); }
.mq-pause { width: 12px; height: 14px; border-left: 4px solid var(--ink); border-right: 4px solid var(--ink); }
.marquee-toggle.is-paused .mq-pause { width: 0; height: 0; border-style: solid; border-width: 8px 0 8px 13px; border-color: transparent transparent transparent var(--ink); margin-left: 3px; }
.marquee-track { display: flex; align-items: center; gap: 36px; width: max-content; will-change: transform; }
.marquee-item { font-size: clamp(28px, 3.4vw, 48px); font-weight: 800; letter-spacing: -.035em; color: var(--ink); white-space: nowrap; transition: color .25s ease; }
.marquee-item sup { font-size: .36em; color: var(--blue); font-weight: 700; margin-left: 4px; letter-spacing: 0; vertical-align: super; }
.marquee-item:hover { color: var(--blue); }
.marquee-sep { position: relative; width: 44px; height: 14px; flex-shrink: 0; }
.marquee-sep .swoosh { position: static; width: 100%; height: 100%; }

/* ---------- Come funziona ---------- */
.how .h2 { color: #fff; }
.how .sec-lead { color: #fff; max-width: 360px; }
.how-grid { display: grid; grid-template-columns: 1fr 72px 1.25fr 72px 1fr; align-items: stretch; }
.how-card { border-radius: var(--radius-lg); display: flex; flex-direction: column; gap: 16px; }
.how-side { padding: 36px; background: rgba(7,21,47,.16); border: 1px solid rgba(255,255,255,.3); }
.how-center { padding: 40px; background: #fff; color: var(--ink); box-shadow: var(--shadow-lg); gap: 20px; }
.how-k { font-size: 13px; font-weight: 800; letter-spacing: .08em; color: #fff; }
.how-t { font-size: clamp(22px, 2vw, 28px); font-weight: 800; letter-spacing: -.02em; line-height: 1.15; }
.how-d { font-size: 16px; line-height: 1.6; color: #fff; }
.how-link { margin-top: auto; color: #fff; font-weight: 700; display: inline-flex; align-items: center; gap: 8px; }
.how-link:hover { color: #fff; }
.how-link .ic { transition: transform .35s var(--ease); }
.how-link:hover .ic { transform: translateX(4px); }
.how-logo { height: 30px; width: auto; align-self: flex-start; }
.how-mid { font-size: 15px; font-weight: 600; color: var(--muted); }
.how-steps { display: flex; flex-direction: column; gap: 14px; }
.how-steps li { display: flex; gap: 14px; align-items: flex-start; font-size: 16px; line-height: 1.5; }
.step-n { flex-shrink: 0; width: 28px; height: 28px; border-radius: 9px; background: var(--blue-tint); color: var(--blue); font-size: 13px; font-weight: 800; display: flex; align-items: center; justify-content: center; }
.step-n.is-pink { background: var(--pink-tint); color: var(--pink-dark); }
.step-n.is-white { background: rgba(255,255,255,.16); color: #fff; }
.how-arrow { display: flex; align-items: center; justify-content: center; }
.how-arrow svg { width: 40px; height: 24px; fill: none; stroke: #fff; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

/* ---------- Confronto ---------- */
.compare-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; margin-inline: calc(var(--gutter) * -1); padding: 6px var(--gutter); }
.compare-scroll:focus-visible { outline-offset: -3px; box-shadow: inset 0 0 0 6px #fff; }
.compare { margin: 0 auto; max-width: 1180px; min-width: 760px; border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--line); }
.cmp-row { display: grid; grid-template-columns: 1.3fr 1fr 1fr 1.15fr; }
.cmp-row > div { padding: 22px 28px; border-top: 1px solid #E9EDF2; font-size: 15px; color: var(--muted-2); display: flex; gap: 10px; align-items: center; }
.cmp-head > div { border-top: 0; background: var(--soft); font-weight: 700; color: var(--muted); }
.cmp-head .cmp-us { background: var(--blue); }
.cmp-head .cmp-us img { height: 26px; width: auto; }
.cmp-label { font-weight: 700; color: var(--ink) !important; font-size: 16px !important; }
.cmp-row > .cmp-us { background: var(--blue-tint); border-top-color: var(--blue-pale); color: var(--ink); font-weight: 700; }
/* dopo la regola sopra, e con la stessa specificita' piu' uno: altrimenti la cella del logo
   restava azzurrina e il logo bianco spariva */
.cmp-row.cmp-head > .cmp-us { background: var(--blue); }
.cmp-dot { flex-shrink: 0; width: 8px; height: 8px; border-radius: 99px; background: #C3CAD5; }
.cmp-dot.ok { background: var(--blue); }
.cmp-check { flex-shrink: 0; color: var(--blue); stroke-width: 3; }
.compare-split { display: grid; grid-template-columns: 1fr 1.3fr; gap: 64px; align-items: center; }
.compare-sm { min-width: 600px; }
.compare-sm .cmp-row > div { padding: 18px 20px; }

/* ---------- Servizi ---------- */
.services { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.service { position: relative; min-height: 460px; padding: 48px; border-radius: 36px; display: flex; flex-direction: column; overflow: hidden; isolation: isolate; transition: transform .6s var(--ease), box-shadow .6s ease; }
.service:hover { transform: translateY(-6px); }
.service-light { background: var(--blue-tint); color: var(--ink); }
.service-light:hover { color: var(--ink); box-shadow: 0 30px 60px rgba(2,97,253,.14); }
.service-dark { background: var(--night); color: #fff; }
.service-dark:hover { color: #fff; box-shadow: 0 30px 60px rgba(7,21,47,.35); }
.service-k { font-size: 14px; font-weight: 800; letter-spacing: .06em; color: var(--blue); }
.service-k-pink { color: var(--pink); }
.service-t { margin-top: 16px; font-size: clamp(34px, 3.2vw, 44px); font-weight: 800; letter-spacing: -.035em; line-height: 1.05; }
.service-d { margin-top: 16px; font-size: 17px; line-height: 1.55; color: var(--muted); max-width: 380px; }
.service-dark .service-d { color: var(--night-text); }
.service .btn { margin-top: auto; align-self: flex-start; position: relative; z-index: 2; }
.service-car { position: absolute; right: -40px; bottom: 30px; width: 380px; z-index: -1; transition: transform .8s var(--ease); }
.service-dark .service-car { --car-glass: #6C9BFF; --car-tire: #020915; --car-well: #020915; --car-shadow: rgba(0,0,0,.35); }
.service:hover .service-car { transform: translateX(-24px); }
.rent-strip { margin-top: 24px; min-height: 104px; padding: 24px 40px; border-radius: var(--radius-lg); background: var(--soft); color: var(--ink); display: flex; align-items: center; gap: 12px 28px; flex-wrap: wrap; transition: background-color .3s ease; }
.rent-strip:hover { background: var(--blue-tint); color: var(--ink); }
.rent-strip .kicker { margin: 0; font-size: 13px; font-weight: 800; }
.rent-t { font-size: 20px; font-weight: 700; }
.rent-go { margin-left: auto; font-weight: 700; color: var(--blue); display: inline-flex; align-items: center; gap: 8px; }
.rent-strip-night { background: var(--night); color: #fff; }
.rent-strip-night:hover { background: var(--night-2); color: #fff; }
.rent-strip-night .rent-go { color: #fff; }

/* ---------- Vetrina ---------- */
.showcase { padding-block: clamp(80px, 8vw, 120px); overflow: hidden; }
.showcase-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; flex-wrap: wrap; margin-bottom: 48px; }
.showcase-nav { display: flex; align-items: center; gap: 24px; }
.showcase-progress { width: 160px; height: 3px; border-radius: 3px; background: var(--line); overflow: hidden; }
.showcase-arrows { display: flex; gap: 8px; }
.showcase-arrow { width: 48px; height: 48px; border-radius: 99px; border: 1px solid var(--line-2); background: #fff; color: var(--ink); display: flex; align-items: center; justify-content: center; transition: background-color .25s ease, color .25s ease, border-color .25s ease; }
.showcase-arrow:hover:not(:disabled) { background: var(--blue); border-color: var(--blue); color: #fff; }
.showcase-arrow:disabled { opacity: .35; cursor: default; }
.showcase-progress span { display: block; height: 100%; width: 100%; background: var(--blue); transform-origin: left; transform: scaleX(0); }
.showcase-viewport { overflow-x: auto; scrollbar-width: none; -webkit-overflow-scrolling: touch; scroll-snap-type: x mandatory; scroll-padding-inline: max(var(--gutter), calc((100vw - var(--max)) / 2 + var(--gutter))); }
.showcase-viewport::-webkit-scrollbar { display: none; }
.showcase-track { display: flex; gap: 24px; padding-inline: max(var(--gutter), calc((100vw - var(--max)) / 2 + var(--gutter))); width: max-content; }
.showcase-track .car-card { width: clamp(290px, 28vw, 400px); flex-shrink: 0; scroll-snap-align: start; }
.showcase-more { width: clamp(260px, 22vw, 320px); flex-shrink: 0; border-radius: var(--radius-md); background: var(--blue); color: #fff; padding: 32px; display: flex; flex-direction: column; justify-content: space-between; transition: background-color .3s ease; scroll-snap-align: start; }
.showcase-more:hover { background: var(--blue-dark); color: #fff; }
.showcase-more-n { font-size: 88px; font-weight: 800; letter-spacing: -.05em; line-height: .9; }
.showcase-more-t { font-size: 22px; font-weight: 700; line-height: 1.2; }
.showcase-more-go { width: 64px; height: 64px; border-radius: 99px; background: #fff; color: var(--blue); display: flex; align-items: center; justify-content: center; align-self: flex-end; transition: transform .45s var(--ease); }
.showcase-more:hover .showcase-more-go { transform: rotate(45deg); }

/* ---------- Card auto ---------- */
.car-card { position: relative; background: #fff; border-radius: var(--radius-md); border: 1px solid #E6EAF0; box-shadow: var(--shadow-sm); overflow: hidden; transition: transform .5s var(--ease), box-shadow .5s ease; }
.car-card:hover { transform: translateY(-4px); box-shadow: 0 22px 48px rgba(7,21,47,.1); }
.car-card.is-entering { transition: none; }
.car-link { display: flex; flex-direction: column; height: 100%; color: var(--ink); }
/* la card taglia ciò che sporge: l'anello del fuoco sta all'interno */
.car-link:focus-visible { outline-offset: -4px; box-shadow: inset 0 0 0 7px #fff; border-radius: var(--radius-md); }
.car-link:hover { color: var(--ink); }
.car-media { position: relative; aspect-ratio: 4 / 3; background: var(--surface); overflow: hidden; }
.car-media picture, .car-media > img { display: block; width: 100%; height: 100%; }
.car-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.1s var(--ease), opacity .6s ease; }
.car-card:hover .car-media img { transform: scale(1.05); }
.car-hover { position: absolute; inset: 0; opacity: 0; }
.car-card:hover .car-hover { opacity: 1; }
.car-ph-wrap { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px; color: var(--muted); font-size: 12px; }
.car-ph-wrap .car-ph { width: 150px; }
.car-badges { position: absolute; top: 16px; left: 0; display: flex; flex-direction: column; gap: 6px; align-items: flex-start; }
.car-count { position: absolute; right: 12px; bottom: 12px; display: inline-flex; align-items: center; gap: 6px; padding: 5px 10px; border-radius: 999px; background: rgba(7,21,47,.66); color: #fff; font-size: 12px; font-weight: 700; -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.car-body { padding: 20px 22px 22px; display: flex; flex-direction: column; flex-grow: 1; }
.car-price { display: flex; align-items: baseline; flex-wrap: wrap; gap: 4px 10px; }
.car-price strong { font-size: 26px; font-weight: 800; letter-spacing: -.02em; }
.car-price s { color: var(--muted); font-size: 15px; }
.car-rata { font-size: 13px; font-weight: 700; color: var(--blue); }
.car-title { margin-top: 10px; font-size: 18px; font-weight: 800; letter-spacing: -.01em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.car-version { font-size: 14px; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; margin-top: 2px; }
.car-specs { margin-top: 12px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 14px; row-gap: 3px; font-size: 13px; line-height: 1.5; color: var(--muted); }
.car-specs li { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.car-foot { margin-top: auto; padding-top: 16px; display: flex; align-items: center; gap: 8px; font-size: 14px; color: var(--muted); font-weight: 600; }
.car-foot .ic { color: var(--blue); flex-shrink: 0; }
.car-go { margin-left: auto; width: 36px; height: 36px; border-radius: 99px; background: var(--blue-tint); color: var(--blue); display: flex; align-items: center; justify-content: center; transition: background-color .3s ease, color .3s ease, transform .45s var(--ease); }
.car-card:hover .car-go { background: var(--blue); color: #fff; transform: translateX(2px); }
/* la freccia e' un .ic come il segnaposto accanto, che .car-foot .ic colora di blu: su fondo blu spariva */
.car-go .ic { color: inherit; }
.car-card.is-venduta .car-media img, .car-card.is-prenotata .car-media img { filter: saturate(.6); }

/* ---------- Filiali ---------- */
.fil-wrap { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); gap: 24px; }
.fil-map { position: relative; border-radius: 32px; background: #F2F5FA; overflow: hidden; aspect-ratio: 760 / 560; }
.fil-map-svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.map-lake { fill: #CFE0FF; }
.map-river { fill: none; stroke: #CFE0FF; stroke-width: 5; stroke-linecap: round; }
.map-road { fill: none; stroke: #C3CAD5; stroke-width: 1; stroke-dasharray: 4 6; }
.map-t { font-family: "Plus Jakarta Sans", sans-serif; font-weight: 700; }
.map-t-water { fill: #5F7DB8; font-size: 12px; letter-spacing: 1.5px; }
.map-t-region { fill: #AEB6C3; font-size: 12px; font-weight: 800; letter-spacing: 3px; }
.map-t-city { fill: #7B8494; font-size: 12px; }
.pin { position: absolute; transform: translate(-50%, -50%); padding: 0; border: 0; background: transparent; display: flex; align-items: center; z-index: 1; }
.pin-dot { display: block; width: 18px; height: 18px; border-radius: 99px; border: 3px solid #fff; background: var(--blue); box-shadow: 0 3px 8px rgba(7,21,47,.2); transition: all .45s var(--ease); }
.pin-label { position: absolute; left: calc(100% + 8px); top: 50%; transform: translateY(-50%); padding: 3px 8px; border-radius: 8px; font-size: 13px; font-weight: 600; color: var(--muted); white-space: nowrap; transition: all .35s ease; pointer-events: none; }
.pin:hover .pin-dot { transform: scale(1.2); }
.pin.is-active { z-index: 2; }
.pin.is-active .pin-dot { width: 26px; height: 26px; background: var(--pink); box-shadow: 0 0 0 12px color-mix(in srgb, var(--pink) 20%, transparent), 0 6px 14px rgba(7,21,47,.25); }
.pin.is-active .pin-label { background: #fff; font-weight: 800; color: var(--ink); box-shadow: 0 4px 14px rgba(7,21,47,.08); }
.pin.is-active .pin-dot { animation: pinPulse 2.4s ease-out 2; }
@keyframes pinPulse { 0%, 100% { box-shadow: 0 0 0 0 color-mix(in srgb, var(--pink) 35%, transparent), 0 6px 14px rgba(7,21,47,.25); } 60% { box-shadow: 0 0 0 16px color-mix(in srgb, var(--pink) 0%, transparent), 0 6px 14px rgba(7,21,47,.25); } }
.fil-side { display: flex; flex-direction: column; gap: 10px; }
.fil-list { display: flex; flex-direction: column; gap: 10px; }
.fil-row { display: flex; justify-content: space-between; align-items: center; gap: 12px; width: 100%; min-height: 72px; padding: 14px 22px; border-radius: 20px; border: 2px solid transparent; background: #F2F5FA; text-align: left; transition: background-color .25s ease, border-color .25s ease, box-shadow .25s ease; }
.fil-row:hover { background: #E8EDF5; }
.fil-row.is-active { background: #fff; border-color: var(--blue); box-shadow: 0 10px 26px color-mix(in srgb, var(--blue) 14%, transparent); }
.fil-row-main { display: flex; flex-direction: column; gap: 2px; }
.fil-row-name { font-size: 17px; font-weight: 800; color: var(--ink); }
.fil-row-sub { font-size: 13px; color: var(--muted); }
.fil-row-team { font-size: 13px; font-weight: 600; color: var(--muted); text-align: right; }
.fil-detail { margin-top: 6px; flex-grow: 1; padding: 30px; border-radius: var(--radius-lg); background: var(--night); color: #fff; display: flex; flex-direction: column; gap: 14px; }
.fil-kicker { display: flex; align-items: center; gap: 10px; font-size: 13px; font-weight: 700; color: var(--night-text); letter-spacing: .04em; }
.fil-address { font-size: 21px; font-weight: 800; line-height: 1.3; }
.fil-hours { font-size: 14px; line-height: 1.6; color: var(--night-text); }
.fil-team { font-size: 14px; color: var(--night-text); }
.fil-team strong { color: #fff; }
.fil-actions { margin-top: auto; display: flex; flex-wrap: wrap; gap: 10px; padding-top: 8px; }
.btn-line-light .ic { color: inherit; }

/* ---------- Recensioni ---------- */
.reviews-title { max-width: 700px; }
.reviews { margin-top: 48px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.review { padding: 36px; border-radius: var(--radius-lg); background: var(--soft); display: flex; flex-direction: column; gap: 20px; }
.review-blue { background: var(--blue); color: #fff; }
.stars { font-size: 18px; letter-spacing: 3px; color: var(--pink); }
.review-blue .stars { color: #fff; }
.review blockquote { font-size: 19px; line-height: 1.55; font-weight: 600; }
.review figcaption { margin-top: auto; font-size: 14px; color: var(--muted); }
.review figcaption strong { color: var(--ink); }
.review-blue figcaption { color: #fff; }
.review-blue figcaption strong { color: #fff; }

/* ---------- Blocco franchising ---------- */
.fr-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 560px); gap: 64px; align-items: center; }
.fr-map { position: relative; aspect-ratio: 560 / 480; border-radius: 36px; background: var(--night-2); border: 1px solid var(--night-line); overflow: hidden; }
.fr-map svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.frm-lake { fill: #15315F; }
.frm-river { fill: none; stroke: #15315F; stroke-width: 6; stroke-linecap: round; }
.frm-pin { fill: var(--blue); stroke: #fff; stroke-width: 3; }
.frm-link { fill: none; stroke: var(--pink); stroke-width: 2; stroke-dasharray: 6 6; opacity: .7; }
.frm-new-halo { fill: var(--pink); opacity: .18; transform-origin: 640px 200px; animation: halo 2.4s ease-in-out 2; }
@keyframes halo { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.35); } }
.frm-new { fill: none; stroke: var(--pink); stroke-width: 3; stroke-dasharray: 5 4; }
.frm-q { fill: #FFB3C3; font-size: 18px; font-weight: 800; font-family: "Plus Jakarta Sans", sans-serif; }
.fr-count { position: absolute; left: 28px; bottom: 28px; right: 28px; display: flex; justify-content: space-between; align-items: flex-end; }
.fr-count > div { font-size: 64px; font-weight: 800; letter-spacing: -.05em; line-height: 1; }
.fr-count small { font-size: 22px; letter-spacing: -.01em; color: var(--night-text); font-weight: 700; }
.fr-plus { padding: 8px 14px; border-radius: 999px; border: 1.5px dashed var(--pink); color: #FFB3C3; font-size: 13px; font-weight: 800; }
.fr-cards { margin-top: 72px; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.fr-card { padding: 28px; border-radius: 24px; background: var(--night-2); border: 1px solid var(--night-line); }
.fr-card-blue { background: var(--blue); border-color: var(--blue); }
.fr-card-t { font-size: 20px; font-weight: 800; }
.fr-card-d { margin-top: 8px; font-size: 15px; line-height: 1.6; color: var(--night-text); }
.fr-card-blue .fr-card-d { color: #fff; }

/* ---------- CTA finale ---------- */
.cta { position: relative; overflow: hidden; isolation: isolate; border-radius: var(--radius-xl); background: var(--blue); padding: clamp(56px, 7vw, 96px) clamp(24px, 5vw, 96px); display: flex; flex-direction: column; align-items: center; text-align: center; }
.cta-bg { position: absolute; inset: 0; z-index: -1; }
.cta-bg span { position: absolute; border-radius: 999px; background: rgba(255,255,255,.08); }
.cta-bg span:nth-child(1) { width: 520px; height: 520px; left: -160px; top: -220px; }
.cta-bg span:nth-child(2) { width: 380px; height: 380px; right: -120px; bottom: -180px; background: color-mix(in srgb, var(--pink) 35%, transparent); }
.cta-bg span:nth-child(3) { width: 180px; height: 180px; right: 18%; top: 12%; }
.cta-text { margin-top: 28px; font-size: 19px; color: #fff; }

/* ---------- Footer ---------- */
.site-footer { background: var(--night); color: #fff; padding: 72px 0 40px; }
.footer-top { display: flex; justify-content: space-between; gap: 48px 64px; flex-wrap: wrap; }
.footer-brand { display: flex; flex-direction: column; gap: 20px; max-width: 340px; }
.footer-brand img { height: 42px; width: auto; }
.footer-brand p { font-size: 14px; line-height: 1.65; color: var(--night-text); }
.socials { display: flex; gap: 10px; }
.socials a { width: 42px; height: 42px; border-radius: 99px; border: 1px solid var(--night-line); color: #fff; display: flex; align-items: center; justify-content: center; transition: background-color .25s ease, border-color .25s ease; }
.socials a:hover { background: var(--blue); border-color: var(--blue); color: #fff; }
.footer-cols { display: flex; gap: 40px 80px; flex-wrap: wrap; font-size: 14px; }
.footer-cols > div { display: flex; flex-direction: column; gap: 12px; }
.footer-h { font-weight: 700; }
.footer-cols a { color: var(--night-text); }
.footer-cols a:hover { color: #fff; }
.footer-bottom { margin-top: 56px; padding-top: 24px; border-top: 1px solid var(--night-line); display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: 13px; color: #8A97AE; }
.footer-legal { display: flex; gap: 24px; flex-wrap: wrap; }
.footer-legal a, .footer-legal .linklike { color: #8A97AE; font-weight: 400; font-size: 13px; }
.footer-legal a:hover, .footer-legal .linklike:hover { color: #fff; }

/* WhatsApp, cookie */
.wa-float { position: fixed; right: 20px; bottom: 20px; z-index: 80; width: 58px; height: 58px; border-radius: 99px; background: #13894A; color: #fff; display: flex; align-items: center; justify-content: center; box-shadow: 0 12px 30px rgba(7,21,47,.25); transition: transform .35s var(--ease); }
.wa-float:hover { color: #fff; transform: scale(1.08); }
.cookie { position: fixed; left: 20px; bottom: 20px; z-index: 95; width: min(560px, calc(100vw - 40px)); max-height: calc(100vh - 40px); overflow: auto; padding: 22px; border-radius: 22px; background: #fff; box-shadow: 0 24px 60px rgba(7,21,47,.22); border: 1px solid var(--field); font-size: 14px; line-height: 1.55; color: var(--muted); }
.cookie-main, .cookie-prefs { display: grid; gap: 14px; }
.cookie-title { font-size: 17px; font-weight: 800; color: var(--ink); padding-right: 40px; }
.cookie-text a { text-decoration: underline; text-underline-offset: 2px; }
.cookie-x { position: absolute; right: 12px; top: 12px; width: 40px; height: 40px; border-radius: 99px; border: 0; background: var(--soft-2); color: var(--ink); display: flex; align-items: center; justify-content: center; }
.cookie-prefs fieldset { border: 0; margin: 0; padding: 0; display: grid; gap: 12px; }
.cookie-prefs legend { padding: 0; margin-bottom: 4px; }
.cookie-opt { display: flex; gap: 12px; align-items: flex-start; cursor: pointer; }
.cookie-opt input { width: 20px; height: 20px; margin-top: 2px; flex-shrink: 0; accent-color: var(--blue); }
.cookie-opt > span { display: grid; gap: 2px; }
.cookie-opt strong { color: var(--ink); }
.cookie-actions { display: flex; gap: 10px; justify-content: flex-end; flex-wrap: wrap; }
.cookie-actions .btn { flex: 1 1 auto; }

/* ---------- Pagina parco ---------- */
.parco-head { align-items: flex-end; }
.searchbar { width: min(520px, 100%); display: flex; align-items: center; gap: 12px; height: 60px; padding: 0 8px 0 20px; border-radius: 999px; background: #F2F5FA; border: 1px solid var(--field); }
.searchbar .ic { color: var(--muted); flex-shrink: 0; }
.searchbar input { flex-grow: 1; min-width: 0; height: 44px; border: 0; background: transparent; font: 500 16px "Plus Jakarta Sans", sans-serif; color: var(--ink); }
.searchbar input:focus-visible { outline: none; box-shadow: none; }
.searchbar:focus-within { border-color: var(--blue); outline: 3px solid var(--night); outline-offset: 3px; box-shadow: 0 0 0 3px #fff; }
.searchbar .btn { height: 44px; }
.parco { display: grid; grid-template-columns: 300px minmax(0, 1fr); gap: 32px; align-items: start; padding-bottom: 120px; }
.filters { position: sticky; top: calc(var(--header-h) + 16px); max-height: calc(100vh - var(--header-h) - 32px); overflow: auto; border-radius: 24px; border: 1px solid var(--line); background: #fff; scrollbar-width: thin; overscroll-behavior: contain; }
.filters-head { position: sticky; top: 0; z-index: 2; background: #fff; padding: 18px 22px; display: flex; justify-content: space-between; align-items: center; border-bottom: 1px solid var(--soft-2); }
.filters-title { font-size: 18px; font-weight: 800; }
.filters-reset { height: 34px; padding: 0 12px; border-radius: 10px; background: var(--blue-tint); color: var(--blue); font-weight: 700; font-size: 13px; display: inline-flex; align-items: center; }
.filters-close { display: none; border: 0; background: transparent; padding: 6px; }
.fgroup { padding: 18px 22px; border-bottom: 1px solid var(--soft-2); }
.fgroup:last-of-type { border-bottom: 0; }
.flabel { display: block; font-size: 13px; font-weight: 800; color: var(--ink); margin-bottom: 8px; }
summary.flabel { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; margin: 0; }
summary.flabel::-webkit-details-marker { display: none; }
summary.flabel::after { content: ""; width: 10px; height: 10px; border-right: 2px solid var(--muted); border-bottom: 2px solid var(--muted); transform: rotate(45deg) translateY(-3px); transition: transform .3s ease; }
details[open] > summary.flabel::after { transform: rotate(-135deg) translateY(-2px); }
details[open] > summary.flabel { margin-bottom: 12px; }
.fmini { font-size: 12px; color: var(--muted); display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.frow2 .fmini .input, .frow2 .fmini .select { min-width: 0; }
.fchips { display: flex; flex-wrap: wrap; gap: 8px; }
.fchecks { display: flex; flex-direction: column; }
.check { display: flex; align-items: center; gap: 10px; min-height: 38px; font-size: 14px; font-weight: 500; cursor: pointer; }
.check input { position: absolute; opacity: 0; pointer-events: none; }
.check-box { flex-shrink: 0; width: 20px; height: 20px; border-radius: 6px; border: 1.5px solid var(--field); background: #fff; display: flex; align-items: center; justify-content: center; color: transparent; transition: all .2s ease; }
.check input:checked + .check-box { background: var(--blue); border-color: var(--blue); color: #fff; }
.check input:focus-visible + .check-box { outline: 3px solid var(--night); outline-offset: 3px; box-shadow: 0 0 0 3px #fff; }
.check-n { margin-left: auto; font-size: 12px; color: var(--muted-2); }
.swatches { display: flex; flex-wrap: wrap; gap: 8px; }
.swatch { position: relative; cursor: pointer; }
.swatch input { position: absolute; opacity: 0; pointer-events: none; }
.swatch span:not(.sr-only) { display: block; width: 32px; height: 32px; border-radius: 99px; background: var(--c); border: 1px solid var(--field); transition: box-shadow .2s ease; }
.swatch input:focus-visible + span { outline: 3px solid var(--night); outline-offset: 5px; }
.swatch input:checked + span { box-shadow: 0 0 0 3px #fff, 0 0 0 5px var(--blue); }
.filters-apply { display: none; }
.filters-backdrop { display: none; }
.results-bar { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; }
.results-count { font-size: 16px; color: var(--muted); }
.results-count strong { color: var(--ink); font-size: 22px; }
.results-tools { display: flex; gap: 10px; align-items: center; }
.sort { display: flex; align-items: center; gap: 10px; font-size: 14px; font-weight: 600; color: var(--muted); }
.sort .select { width: auto; font-weight: 600; font-size: 14px; }
.filters-open { display: none; }
.count-dot { min-width: 22px; height: 22px; padding: 0 6px; border-radius: 99px; background: var(--blue); color: #fff; font-size: 12px; display: inline-flex; align-items: center; justify-content: center; }
.active-filters { margin-top: 16px; display: flex; flex-wrap: wrap; gap: 8px; }
.af-chip { display: inline-flex; align-items: center; gap: 8px; height: 36px; padding: 0 12px 0 14px; border: 0; border-radius: 999px; background: var(--blue); color: #fff; font-weight: 600; font-size: 13px; transition: background-color .2s ease; }
.af-chip:hover { background: var(--blue-dark); }
.af-reset { border: 0; background: transparent; color: var(--blue); font-weight: 700; font-size: 13px; padding: 0 8px; }
.car-grid { margin-top: 20px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; transition: opacity .3s ease; }
.car-grid[aria-busy="true"] { opacity: .45; pointer-events: none; }
.car-grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); margin-top: 0; }
.pagination { margin-top: 32px; display: flex; justify-content: center; align-items: center; gap: 8px; flex-wrap: wrap; }
.pg { min-width: 44px; height: 44px; padding: 0 14px; border-radius: 12px; border: 1px solid var(--line-2); color: var(--ink); display: inline-flex; align-items: center; justify-content: center; gap: 6px; font-weight: 700; transition: all .2s ease; }
.pg:hover { border-color: var(--ink); color: var(--ink); }
.pg.is-current { background: var(--blue); border-color: var(--blue); color: #fff; }
.pg-gap { color: var(--muted-2); padding: 0 4px; }
.empty { margin-top: 20px; padding: 64px 32px; border-radius: var(--radius-lg); background: var(--soft); text-align: center; display: grid; justify-items: center; gap: 8px; }
.empty-car { width: 160px; margin-bottom: 8px; }
.empty-t { font-size: 24px; font-weight: 800; }
.empty-d { color: var(--muted); margin-bottom: 16px; }
.alert-box { margin-top: 40px; padding: 40px 44px; border-radius: var(--radius-lg); background: var(--blue); color: #fff; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.3fr); gap: 32px; align-items: center; }
.alert-t { font-size: 28px; font-weight: 800; letter-spacing: -.02em; }
.alert-d { margin-top: 8px; font-size: 16px; color: #fff; }
.alert-fields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.alert-fields .input { height: 48px; border-color: transparent; font-size: 15px; }
.alert-field { display: grid; gap: 4px; min-width: 0; }
.alert-label { font-size: 12.5px; font-weight: 700; color: #fff; }
.alert-fields .consents, .alert-fields .btn, .alert-fields .field-error, .alert-fields .form-status { grid-column: 1 / -1; }
.alert-fields .consent, .alert-fields .form-req { color: #fff; }
.alert-fields .req { color: #fff; }
.alert-fields .consent a { color: #fff; text-decoration: underline; }
.alert-fields .field-error { color: #fff; }
.alert-box .form-success { color: #fff; }
.alert-box .success-text { color: #fff; }
.alert-box .success-ic { background: rgba(255,255,255,.15); }
.alert-box .success-ic svg { stroke: #fff; }

/* ---------- Scheda auto ---------- */
.auto-top { display: grid; grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr); gap: 40px; padding-top: 24px; align-items: start; }
.gallery-main { position: relative; aspect-ratio: 4 / 3; border-radius: var(--radius-lg); background: var(--surface); overflow: hidden; }
.gallery-slides { position: absolute; inset: 0; }
.gallery-slide { position: absolute; inset: 0; opacity: 0; visibility: hidden; }
.gallery-slide.is-active { opacity: 1; visibility: visible; }
.gallery-slide picture, .gallery-slide img { width: 100%; height: 100%; object-fit: cover; }
.gallery-empty { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px; color: var(--muted); font-size: 14px; }
.gallery-empty .car-ph { width: 260px; }
.gal-arrow { position: absolute; top: 50%; transform: translateY(-50%); width: 52px; height: 52px; border-radius: 99px; border: 0; background: rgba(255,255,255,.92); color: var(--ink); display: flex; align-items: center; justify-content: center; box-shadow: 0 8px 24px rgba(7,21,47,.14); transition: transform .3s var(--ease), background-color .2s ease; z-index: 2; }
.gal-arrow:hover { background: #fff; transform: translateY(-50%) scale(1.06); }
.gal-prev { left: 16px; } .gal-next { right: 16px; }
.gal-expand { position: absolute; right: 16px; top: 16px; width: 44px; height: 44px; border-radius: 99px; border: 0; background: rgba(7,21,47,.6); color: #fff; display: flex; align-items: center; justify-content: center; z-index: 2; }
.gal-count { position: absolute; right: 16px; bottom: 16px; padding: 6px 12px; border-radius: 999px; background: rgba(7,21,47,.7); color: #fff; font-size: 13px; font-weight: 700; z-index: 2; }
.gal-badge { position: absolute; left: 20px; bottom: 20px; padding: 8px 12px; border-radius: 10px; background: rgba(255,255,255,.95); font-size: 11px; font-weight: 800; letter-spacing: .08em; color: var(--blue); z-index: 2; }
.gallery-thumbs { margin-top: 12px; display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - 48px) / 5); gap: 12px; overflow-x: auto; scrollbar-width: none; padding: 4px; margin-inline: -4px; }
.gallery-thumbs::-webkit-scrollbar { display: none; }
.thumb { aspect-ratio: 4 / 3; padding: 0; border-radius: 16px; overflow: hidden; border: 2px solid transparent; background: var(--surface); transition: border-color .2s ease, box-shadow .2s ease, opacity .2s ease; opacity: .7; }
.thumb img { width: 100%; height: 100%; object-fit: cover; }
.thumb:hover { opacity: 1; }
.thumb.is-active { border-color: var(--blue); box-shadow: 0 0 0 4px color-mix(in srgb, var(--blue) 15%, transparent); opacity: 1; }
.auto-aside { position: sticky; top: calc(var(--header-h) + 16px); padding: 32px; border-radius: 32px; border: 1px solid var(--line); background: #fff; box-shadow: var(--shadow); display: flex; flex-direction: column; gap: 18px; }
.avail { display: inline-flex; align-self: flex-start; align-items: center; gap: 10px; height: 34px; padding: 0 14px; border-radius: 999px; background: #E8F7EE; color: #177245; font-size: 13px; font-weight: 700; }
.avail .dot { background: #1FA35C; }
.avail.is-off { background: var(--pink-tint); color: var(--pink-dark); }
.avail.is-off .dot { background: var(--pink); }
.auto-brand { display: block; font-size: 16px; font-weight: 700; letter-spacing: 0; line-height: 1.5; color: var(--muted); margin-bottom: 4px; }
.auto-title { font-size: clamp(34px, 3.4vw, 46px); font-weight: 800; letter-spacing: -.04em; line-height: 1.02; }
.auto-version { color: var(--muted); font-size: 16px; margin-top: -8px; }
.key-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.key-chips span { padding: 8px 12px; border-radius: 10px; background: var(--soft); font-size: 13px; font-weight: 700; }
.price-box { padding: 20px 22px; border-radius: 20px; background: var(--blue-tint); }
.price-row { display: flex; align-items: baseline; gap: 12px; flex-wrap: wrap; }
.price { font-size: clamp(34px, 3vw, 42px); font-weight: 800; letter-spacing: -.035em; color: var(--ink); line-height: 1; }
.price-old { color: var(--muted); font-size: 18px; }
.price-iva { margin-top: 6px; font-size: 13px; font-weight: 700; color: var(--blue); }
.price-rata { margin-top: 8px; font-size: 15px; color: var(--ink); }
.price-note { margin-top: 10px; font-size: 13px; color: var(--muted); line-height: 1.5; }
.auto-cta { display: grid; gap: 10px; }
.cta-row { display: flex; gap: 10px; }
.cta-row .btn { flex: 1; }
.cta-row .btn-icon { flex: 0 0 auto; }
.booking { padding: 20px; border-radius: 20px; background: var(--soft); }
.booking [data-fields] { display: grid; gap: 14px; }
.booking-t { font-weight: 800; }
.booking .chip span { height: 40px; font-size: 13px; padding: 0 12px; }
.benefits { display: grid; gap: 10px; padding-top: 6px; }
.benefits li { display: flex; align-items: center; gap: 10px; font-size: 14px; font-weight: 600; }
.benefit-ic { width: 24px; height: 24px; border-radius: 8px; background: var(--blue-tint); color: var(--blue); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.auto-body { display: grid; grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr); gap: 40px; padding-block: 72px 100px; }
.spec-grid { margin-top: 24px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-radius: 22px; overflow: hidden; border: 1px solid var(--line); }
.spec { padding: 18px 20px; border-bottom: 1px solid var(--line); border-right: 1px solid var(--line); }
.spec dt { font-size: 12px; font-weight: 700; color: var(--muted); text-transform: uppercase; letter-spacing: .04em; }
.spec dd { margin-top: 4px; font-size: 16px; font-weight: 700; }
.opt-list { margin-top: 24px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px 24px; }
.opt-list li { display: flex; align-items: flex-start; gap: 10px; font-size: 15px; }
.opt-list li .ic { color: var(--blue); margin-top: 3px; flex-shrink: 0; }
.opt-list.is-collapsed li:nth-child(n+19) { display: none; }
.link-btn { margin-top: 16px; }
.prose { margin-top: 20px; font-size: 17px; line-height: 1.7; color: #2A3548; }
.prose p + p, .prose ul, .prose ol, .prose h2, .prose h3 { margin-top: 1em; }
.prose a { text-decoration: underline; text-underline-offset: 2px; }
.prose ul { list-style: disc; padding-left: 1.2em; }
.prose ol { list-style: decimal; padding-left: 1.2em; }
.prose h2 { font-size: 24px; letter-spacing: -.02em; color: var(--ink); margin-top: 1.6em; }
.prose h3 { font-size: 19px; color: var(--ink); }
.auto-side { display: flex; flex-direction: column; gap: 20px; }
.side-card { padding: 32px; border-radius: var(--radius-lg); background: var(--soft); }
.side-blue { background: var(--blue); color: #fff; }
.buy-steps { display: grid; gap: 16px; margin-top: 8px; }
.buy-steps li { display: flex; gap: 14px; align-items: flex-start; font-size: 16px; line-height: 1.5; }
.side-fil { font-size: 21px; font-weight: 800; }
.side-addr { margin-top: 8px; display: flex; gap: 8px; align-items: flex-start; color: var(--muted); }
.side-addr .ic { color: var(--blue); margin-top: 3px; flex-shrink: 0; }
.sticky-cta { display: none; }
.lightbox { position: fixed; inset: 0; z-index: 200; background: rgba(4,10,24,.96); display: flex; align-items: center; justify-content: center; }
.lb-stage { width: min(92vw, 1600px); height: 82vh; display: flex; align-items: center; justify-content: center; touch-action: pan-y; }
.lb-stage img { max-width: 100%; max-height: 100%; object-fit: contain; border-radius: 12px; user-select: none; -webkit-user-drag: none; }
.lb-close { position: absolute; top: 20px; right: 20px; width: 52px; height: 52px; border-radius: 99px; border: 0; background: rgba(255,255,255,.12); color: #fff; display: flex; align-items: center; justify-content: center; }
.lb-arrow { position: absolute; top: 50%; transform: translateY(-50%); width: 60px; height: 60px; border-radius: 99px; border: 0; background: rgba(255,255,255,.12); color: #fff; display: flex; align-items: center; justify-content: center; }
.lb-prev { left: 20px; } .lb-next { right: 20px; }
.lb-count { position: absolute; bottom: 24px; left: 50%; transform: translateX(-50%); color: #fff; font-weight: 700; }
.related .car-grid { margin-top: 0; }

/* ---------- Vendi ---------- */
.vendi-hero { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 560px); gap: clamp(32px, 5vw, 80px); align-items: center; padding-block: clamp(40px, 5vw, 72px) clamp(64px, 7vw, 110px); }
.ticks { margin-top: 32px; display: grid; gap: 14px; }
.ticks li { display: flex; align-items: center; gap: 12px; font-size: 17px; font-weight: 600; }
.tick { width: 28px; height: 28px; border-radius: 9px; background: var(--blue); color: #fff; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.steps-sec .h2 { max-width: 800px; }
.steps { position: relative; margin-top: 64px; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.steps-line { position: absolute; left: 0; right: 0; top: 36px; height: 2px; background: var(--line); }
.steps-line span { display: block; height: 100%; background: var(--blue); transform-origin: left; transform: scaleX(0); }
.steps-line-light { background: rgba(255,255,255,.2); top: 28px; }
.steps-line-light span { background: #fff; }
.step-card { position: relative; padding: 28px; border-radius: 24px; background: #fff; border: 1px solid var(--line); }
.step-num { width: 48px; height: 48px; border-radius: 14px; background: var(--blue); color: #fff; font-weight: 800; display: flex; align-items: center; justify-content: center; font-size: 15px; }
.step-card:last-child .step-num { background: var(--pink-dark); }
.step-t { margin-top: 20px; font-size: 21px; font-weight: 800; letter-spacing: -.01em; }
.step-d { margin-top: 8px; font-size: 15px; line-height: 1.6; color: var(--muted); }
.payout { margin-top: 32px; padding: 24px 28px; border-radius: 24px; background: var(--night); color: #fff; display: flex; align-items: center; gap: 18px; font-size: clamp(18px, 1.8vw, 22px); font-weight: 700; }
.payout-ic { width: 48px; height: 48px; border-radius: 14px; background: var(--pink); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.faq-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr); gap: 64px; align-items: start; }
.faq { display: grid; gap: 12px; }
.faq-item { border-radius: 22px; background: var(--soft); transition: background-color .3s ease; }
.faq-item.is-open { background: #fff; box-shadow: 0 0 0 1px var(--line), var(--shadow); }
.faq-item h3 { font-size: inherit; }
.faq-q { width: 100%; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 22px 24px; border: 0; background: transparent; text-align: left; font-size: 18px; font-weight: 700; color: var(--ink); }
.faq-ic { flex-shrink: 0; width: 36px; height: 36px; border-radius: 99px; background: var(--blue-tint); color: var(--blue); display: flex; align-items: center; justify-content: center; transition: transform .45s var(--ease), background-color .3s ease, color .3s ease; }
.faq-item.is-open .faq-ic { background: var(--blue); color: #fff; transform: rotate(45deg); }
.faq-a { overflow: hidden; }
.faq-a-inner { padding: 0 24px 24px; font-size: 16px; line-height: 1.65; color: var(--muted); max-width: 680px; }

/* ---------- Noleggio ---------- */
.rent-hero { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 80px); align-items: center; padding-block: clamp(40px, 5vw, 72px) clamp(64px, 7vw, 110px); }
.profile-switch { margin-top: 36px; max-width: 520px; }
.profile-note { margin-top: 14px; color: var(--muted); font-size: 15px; min-height: 3em; }
.rent-visual { position: relative; aspect-ratio: 1 / 1; border-radius: 44px; overflow: hidden; background: var(--surface); }
.rent-visual img { width: 100%; height: 100%; object-fit: cover; }
.rent-illus { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; background: radial-gradient(90% 70% at 30% 20%, var(--blue-tint), var(--surface)); color: var(--blue); }
.rent-illus .car-ph { width: 70%; }
.rent-meter { position: absolute; right: 28px; top: 28px; padding: 16px 20px; border-radius: 20px; background: #fff; box-shadow: var(--shadow); color: var(--ink); font-size: 44px; font-weight: 800; letter-spacing: -.04em; line-height: 1; }
.rent-meter small { font-size: 15px; letter-spacing: 0; margin-left: 4px; color: var(--muted); }
.svc-grid { margin-top: 56px; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.svc { padding: 28px; border-radius: 24px; background: var(--night-2); border: 1px solid var(--night-line); }
.svc-ic { width: 48px; height: 48px; border-radius: 14px; background: var(--blue); color: #fff; display: flex; align-items: center; justify-content: center; }
.svc-t { margin-top: 20px; font-size: 20px; font-weight: 800; }
.svc-d { margin-top: 8px; color: var(--night-text); font-size: 15px; line-height: 1.6; }
.rent-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 560px); gap: clamp(32px, 5vw, 80px); align-items: start; }
.rent-steps { margin-top: 40px; display: grid; gap: 24px; }
.rent-steps li { display: flex; gap: 20px; align-items: flex-start; }
.rent-n { font-size: 40px; font-weight: 800; color: var(--blue); letter-spacing: -.04em; line-height: 1; min-width: 64px; }
.rent-st { font-size: 20px; font-weight: 800; }
.rent-sd { margin-top: 4px; color: var(--muted); }

/* ---------- Filiali / team ---------- */
.team-grid { margin-top: 48px; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.team-card { border-radius: 24px; background: #fff; border: 1px solid var(--line); overflow: hidden; color: var(--ink); display: flex; flex-direction: column; transition: transform .5s var(--ease), box-shadow .5s ease; }
.team-card:hover { color: var(--ink); transform: translateY(-4px); box-shadow: 0 22px 48px rgba(7,21,47,.1); }
.team-photo { aspect-ratio: 4 / 3; background: var(--blue-tint); position: relative; overflow: hidden; }
.team-photo img { width: 100%; height: 100%; object-fit: cover; }
.team-initials { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; }
.team-initials span { width: 76px; height: 76px; border-radius: 99px; background: var(--blue); color: #fff; font-size: 28px; font-weight: 800; display: flex; align-items: center; justify-content: center; border: 4px solid var(--blue-tint); }
.team-initials span + span { margin-left: -16px; }
.team-initials span.alt { background: var(--pink); }
.team-body { padding: 22px; display: flex; flex-direction: column; gap: 4px; flex-grow: 1; }
.team-city { font-size: 20px; font-weight: 800; }
.team-names { color: var(--muted); }
.team-meta { margin-top: auto; padding-top: 16px; display: flex; justify-content: space-between; align-items: center; font-size: 14px; font-weight: 700; color: var(--muted); }
.team-meta .link-arrow { font-size: 14px; }
.fil-hero { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 480px); gap: clamp(32px, 5vw, 80px); align-items: center; padding-block: 32px clamp(64px, 7vw, 100px); }
.fil-card { border-radius: 32px; background: var(--night); color: #fff; overflow: hidden; }
.fil-card-img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
.fil-card-body { padding: 32px; display: grid; gap: 16px; }
.fil-line { display: flex; gap: 14px; align-items: flex-start; line-height: 1.5; }
.fil-line .ic { color: var(--pink); flex-shrink: 0; margin-top: 2px; }
.fil-line a { color: #fff; font-weight: 700; }
.fil-line strong { color: #fff; }

/* ---------- Franchising ---------- */
.franchise-hero { padding-block: clamp(56px, 7vw, 110px); }
.fh-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 460px); gap: clamp(32px, 5vw, 80px); align-items: center; }
.network-card { padding: 36px; border-radius: 32px; background: var(--night-2); border: 1px solid var(--night-line); }
.network-n { font-size: 120px; font-weight: 800; letter-spacing: -.06em; line-height: .9; color: #fff; }
.network-d { color: var(--night-text); font-size: 18px; margin-top: 8px; }
.network-tags { margin-top: 28px; display: flex; flex-wrap: wrap; gap: 8px; }
.network-tags span { padding: 8px 14px; border-radius: 999px; background: rgba(255,255,255,.08); font-size: 14px; font-weight: 600; }
.network-tags .is-new { background: transparent; border: 1.5px dashed var(--pink); color: #FFB3C3; }
.model-grid { margin-top: 56px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.model-card { padding: 36px; border-radius: var(--radius-lg); background: var(--soft); display: flex; flex-direction: column; gap: 14px; }
.model-blue { background: var(--blue); color: #fff; }
.model-night { background: var(--night); color: #fff; }
.model-k { font-size: 13px; font-weight: 800; letter-spacing: .08em; color: var(--blue); }
.model-blue .model-k { color: #fff; }
.model-night .model-k { color: var(--pink); }
.model-t { font-size: 24px; font-weight: 800; letter-spacing: -.02em; line-height: 1.2; }
.model-d { color: var(--muted); line-height: 1.6; }
.model-blue .model-d { color: #fff; }
.model-night .model-d { color: var(--night-text); }
.kit-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.kit { padding: 32px; border-radius: 24px; background: #fff; border: 1px solid var(--line); }
.kit-n { width: 48px; height: 48px; border-radius: 14px; background: var(--blue-tint); color: var(--blue); font-weight: 800; display: flex; align-items: center; justify-content: center; }
.kit-n.is-pink { background: var(--pink-tint); color: var(--pink-dark); }
.kit-t { margin-top: 20px; font-size: 20px; font-weight: 800; }
.kit-d { margin-top: 8px; color: var(--muted); line-height: 1.6; }
.path { position: relative; margin-top: 64px; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; }
.path-n { position: relative; z-index: 1; width: 56px; height: 56px; border-radius: 99px; background: #fff; color: var(--blue); font-size: 20px; font-weight: 800; display: flex; align-items: center; justify-content: center; }
.path-n.is-pink { background: var(--pink-dark); color: #fff; }
.path-t { margin-top: 24px; font-size: 22px; font-weight: 800; }
.path-d { margin-top: 8px; color: #fff; line-height: 1.6; }
.who-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 80px); align-items: center; }
.who-list { margin-top: 40px; display: grid; gap: 24px; }
.who-list li { display: flex; gap: 16px; align-items: flex-start; }
.who-list .dot { margin-top: 9px; width: 10px; height: 10px; }
.who-t { font-size: 20px; font-weight: 800; }
.who-d { margin-top: 4px; color: var(--muted); }
.quote { padding: clamp(32px, 4vw, 56px); border-radius: 36px; background: var(--blue); color: #fff; position: relative; }
.quote-mark { font-size: 120px; line-height: .6; font-weight: 800; color: var(--pink); height: 50px; }
.quote blockquote { font-size: clamp(22px, 2.2vw, 30px); font-weight: 700; line-height: 1.35; letter-spacing: -.015em; }
.quote figcaption { margin-top: 28px; display: flex; flex-direction: column; }
.quote figcaption span { color: #fff; }
.cand-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 620px); gap: clamp(32px, 5vw, 80px); align-items: center; }
.cand-grid form [data-fields] { display: grid; gap: 16px; }

/* ---------- Contatti, legali, 404 ---------- */
.contact-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 580px); gap: clamp(32px, 5vw, 80px); align-items: start; padding-block: clamp(40px, 5vw, 72px) clamp(80px, 8vw, 120px); }
.contact-cards { margin-top: 40px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.contact-card { padding: 22px; border-radius: 22px; background: var(--soft); color: var(--ink); display: flex; gap: 14px; align-items: center; transition: background-color .25s ease, transform .4s var(--ease); }
.contact-card:hover { background: var(--blue-tint); color: var(--ink); transform: translateY(-2px); }
.cc-ic { width: 48px; height: 48px; border-radius: 14px; background: var(--blue); color: #fff; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.cc-green { background: #13894A; } .cc-pink { background: var(--pink); }
.cc-k { display: block; font-size: 12px; font-weight: 800; letter-spacing: .06em; color: var(--muted); }
.cc-v { display: block; font-size: 17px; font-weight: 700; }
.legal-box { margin-top: 32px; padding: 24px; border-radius: 22px; border: 1px solid var(--line); }
.legal-box .kicker { margin-bottom: 8px; font-size: 12px; }
.legal { max-width: 880px; padding-block: 56px 120px; }
.legal .prose { margin-top: 32px; }
.notfound { text-align: center; padding-block: 100px 140px; display: grid; justify-items: center; gap: 20px; }
.nf-num { font-size: clamp(120px, 20vw, 260px); font-weight: 800; letter-spacing: -.06em; line-height: .85; color: var(--blue); }
.notfound .lead { margin: 0 auto; }

/* ---------- Animazioni: stato iniziale (solo con JS e movimento consentito) ---------- */
.js.anim-on [data-anim="fade-up"], .js.anim-on [data-anim="card"], .js.anim-on [data-anim="stagger-item"], .js.anim-on [data-hero-item] { opacity: 0; }
.js.anim-on [data-split] { visibility: hidden; }
.js.anim-on .hero-visual { opacity: 0; }

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 1280px) {
  .car-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .car-grid-4 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .car-grid-4 .car-card:nth-child(4) { display: none; }
  .how-grid { grid-template-columns: 1fr 1fr; gap: 20px; }
  .how-arrow { display: none; }
  .how-center { grid-column: 1 / -1; order: -1; }
  .team-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .svc-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 1100px) {
  .nav { display: none; }
  .burger { display: inline-block; }
  .hero-grid { grid-template-columns: minmax(0, 1fr); }
  .hero-visual { height: clamp(360px, 70vw, 560px); }
  .stats { grid-template-columns: 1fr; }
  .stat { padding: 24px 0 !important; }
  .stat + .stat { border-left: 0; border-top: 1px solid var(--line); }
  .fil-wrap { grid-template-columns: 1fr; }
  .fr-grid, .compare-split, .faq-grid, .vendi-hero, .rent-hero, .rent-grid, .fil-hero, .fh-grid, .who-grid, .cand-grid, .contact-grid { grid-template-columns: minmax(0, 1fr); }
  .fr-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .reviews { grid-template-columns: 1fr; }
  .services { grid-template-columns: 1fr; }
  .steps, .path { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .steps-line { display: none; }
  .model-grid, .kit-grid { grid-template-columns: 1fr 1fr; }
  .auto-top, .auto-body { grid-template-columns: minmax(0, 1fr); }
  .auto-aside { position: static; }
  .spec-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .alert-box { grid-template-columns: 1fr; }
  /* filtri a cassetto */
  .parco { grid-template-columns: minmax(0, 1fr); }
  /* chiuso il cassetto non si vede e non si raggiunge (visibility cambia a fine transizione) */
  .filters { position: fixed; top: 0; bottom: 0; left: 0; width: min(420px, 92vw); max-height: none; z-index: 150; border-radius: 0 24px 24px 0; transform: translateX(-105%); visibility: hidden; transition: transform .5s var(--ease), visibility 0s linear .5s; box-shadow: 0 0 60px rgba(7,21,47,.25); }
  .filters.is-open { transform: none; visibility: visible; transition: transform .5s var(--ease), visibility 0s; }
  .filters-close { display: inline-flex; }
  .filters-apply { display: block; position: sticky; bottom: 0; padding: 14px 22px 22px; background: linear-gradient(transparent, #fff 30%); }
  .filters-backdrop { display: block; position: fixed; inset: 0; z-index: 140; background: rgba(7,21,47,.45); opacity: 0; visibility: hidden; transition: opacity .35s ease, visibility .35s; }
  .parco.filters-visible .filters-backdrop { opacity: 1; visibility: visible; }
  .filters-open { display: inline-flex; }
  .sticky-cta { position: fixed; left: 12px; right: 12px; bottom: 12px; z-index: 70; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 12px 12px 20px; border-radius: 20px; background: #fff; box-shadow: 0 16px 40px rgba(7,21,47,.2); border: 1px solid var(--line); transform: translateY(140%); visibility: hidden; transition: transform .5s var(--ease), visibility 0s linear .5s; }
  .sticky-cta.is-visible { transform: none; visibility: visible; transition: transform .5s var(--ease), visibility 0s; }
  .sticky-price { font-weight: 800; font-size: 18px; }
  .sticky-name { font-size: 13px; color: var(--muted); max-width: 46vw; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .page-auto .wa-float { bottom: 96px; }
}

@media (max-width: 700px) {
  :root { --header-h: 64px; }
  .brand img { height: 28px; }
  .hide-sm { display: none !important; }
  .header-cta .btn-primary { display: none; }
  .hero-form { flex-direction: column; align-items: stretch; }
  .seg > button { padding: 0 8px; font-size: 14px; }
  .hero-form .btn { width: 100%; }
  .hero-visual { height: 340px; }
  .hero-back { left: 18px; top: 18px; border-radius: 30px; }
  .hero-frame { right: 18px; bottom: 18px; border-radius: 30px; }
  .float-card { padding: 8px 12px 8px 8px; gap: 8px; }
  .fc-ic, .fc-num { width: 34px; height: 34px; min-width: 34px; }
  .fc-t { font-size: 13px; }
  .fc-1 { left: 12px; top: 12px; } .fc-2 { left: 12px; bottom: 12px; } .fc-3 { display: none; }
  .car-grid, .car-grid-4 { grid-template-columns: 1fr; }
  .car-grid-4 .car-card:nth-child(n+3) { display: none; }
  .frow2 { grid-template-columns: 1fr; }
  .frow2 .fmini { flex: 1; }
  .filters .frow2 { grid-template-columns: 1fr 1fr; }
  .fr-cards, .steps, .path, .model-grid, .kit-grid, .team-grid, .svc-grid, .contact-cards, .alert-fields { grid-template-columns: 1fr; }
  .service { min-height: 400px; padding: 32px; }
  .service-car { width: 280px; }
  .rent-strip { padding: 24px; }
  .rent-go { margin-left: 0; }
  .spec-grid { grid-template-columns: 1fr 1fr; }
  .opt-list { grid-template-columns: 1fr; }
  .auto-aside, .form-card { padding: 22px; border-radius: 24px; }
  .gal-arrow { width: 42px; height: 42px; }
  .gallery-thumbs { grid-auto-columns: 22%; }
  .results-bar { align-items: stretch; }
  .results-tools { width: 100%; justify-content: space-between; }
  .fil-map { border-radius: 22px; }
  .pin-label { display: none; }
  .pin.is-active .pin-label { display: block; }
  .fil-row-team { display: none; }
  .fr-count > div { font-size: 44px; }
  .fr-count small { font-size: 16px; }
  .cookie { left: 12px; right: 12px; bottom: 12px; width: auto; max-height: calc(100vh - 24px); }
  .how-grid { grid-template-columns: minmax(0, 1fr); }
  .how-center, .how-side { padding: 24px; }
  .results-tools { flex-wrap: wrap; }
  .sort { flex: 1 1 180px; min-width: 0; }
  .sort .select { width: 100%; min-width: 0; }
  .cta-row { flex-wrap: wrap; }
  .hl { white-space: normal; }
  .marquee-toggle { right: 6px; }
  .showcase-nav .showcase-progress { display: none; }
  .lb-arrow { display: none; }
  .payout { flex-direction: column; align-items: flex-start; }
  .footer-cols { gap: 32px 48px; }
}

/* A 320 pixel (o con lo zoom al 400%) i pulsanti vanno a capo invece di uscire dallo schermo */
@media (max-width: 480px) {
  .btn { white-space: normal; height: auto; min-height: var(--h); padding-block: 10px; line-height: 1.25; text-align: center; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
}
