/* =========================================================================
   FILCAR COLOR SYSTEM 2.0 — livello componenti
   Caricato per ultimo. Usa SOLO i token definiti in main.css (:root).
   Principio 70/20/10: neutri scuri / viola-pervinca tenui / fucsia di accento.
   Documentazione: docs/FILCAR_COLOR_SYSTEM.md
   ========================================================================= */

/* ---------- Bottoni ---------- */
.btn--primary { background: var(--filcar-gradient-cta); color: var(--filcar-white); border-color: transparent; }
.btn--secondary { color: var(--filcar-text); border-color: rgb(255 255 255 / 0.16); background: transparent; }
.btn--ghost { color: var(--filcar-text); background: rgb(255 255 255 / 0.06); }
.is-light .btn--secondary, .section--light .btn--secondary { border-color: rgb(17 17 24 / 0.2); }
@media (hover: hover) {
	.btn--primary:hover { background: var(--filcar-gradient-cta-hover); box-shadow: var(--filcar-glow); }
	.btn--secondary:hover { background: transparent; color: var(--filcar-text); border-color: var(--filcar-fuchsia); }
	.btn--ghost:hover { background: rgb(255 255 255 / 0.1); }
}
.btn--primary:active { transform: translateY(1px); }
.skip { background: var(--filcar-white); color: var(--filcar-ink-text); }

/* ---------- Header e navigazione ---------- */
.site-header { background: rgb(11 11 16 / 0.86); border-bottom: 1px solid rgb(255 255 255 / 0.08); }
.site-header::after { content: ""; position: absolute; inset: auto 0 -1px; height: 1px; background: var(--filcar-gradient-border); opacity: 0.35; pointer-events: none; }
.nav__link { color: var(--filcar-soft-white); }
.nav__link.is-active { color: var(--filcar-white); box-shadow: none; background-image: var(--filcar-gradient-border); background-size: calc(100% - 1.4rem) 2px; background-position: center bottom; background-repeat: no-repeat; }
@media (hover: hover) { .nav__link:hover { color: var(--filcar-white); background-color: rgb(255 255 255 / 0.05); } }
.search-btn .icon, .search-btn > svg { color: var(--filcar-fuchsia); fill: var(--filcar-fuchsia); }
@media (hover: hover) { .search-btn:hover { border-color: var(--filcar-hover-border); background: rgb(228 50 199 / 0.06); } }
.nav__panel, .nav__panel--mega { background: var(--filcar-graphite); border: 1px solid rgb(255 255 255 / 0.08); box-shadow: 0 30px 60px -20px rgb(0 0 0 / 0.7), 0 0 60px -30px rgb(161 98 233 / 0.35); }
.mega__search { background: var(--filcar-gradient-cta); color: var(--filcar-white); }

/* ---------- Menu a tutto schermo ---------- */
.fp-menu { background: radial-gradient(50rem 30rem at 85% 10%, rgb(161 98 233 / 0.14), transparent 60%), radial-gradient(40rem 30rem at 0% 100%, rgb(228 50 199 / 0.10), transparent 60%), var(--filcar-black); }

/* ---------- Ricerca a tutto schermo ---------- */
.vs { background: radial-gradient(60rem 26rem at 50% -10%, rgb(154 163 244 / 0.14), transparent 60%), var(--filcar-bg-primary); }
.vs__field input { border-bottom-color: var(--filcar-line); }
/* Campo grande: al focus il bordo diventa il gradiente pervinca → fucsia → lilla */
.vs__field input:focus { border-color: transparent; background: linear-gradient(var(--filcar-graphite), var(--filcar-graphite)) padding-box, var(--filcar-gradient-border) border-box; box-shadow: 0 0 0 4px rgb(161 98 233 / 0.18), var(--filcar-glow); }
.vs__field > .icon { color: var(--filcar-fuchsia); }
.vs__field input::-webkit-search-cancel-button { -webkit-appearance: none; appearance: none; width: 1.1rem; height: 1.1rem; filter: none; cursor: pointer; background: var(--filcar-lilac); -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M19 6.4 17.6 5 12 10.6 6.4 5 5 6.4 10.6 12 5 17.6 6.4 19 12 13.4 17.6 19 19 17.6 13.4 12z'/%3E%3C/svg%3E") center / contain no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M19 6.4 17.6 5 12 10.6 6.4 5 5 6.4 10.6 12 5 17.6 6.4 19 12 13.4 17.6 19 19 17.6 13.4 12z'/%3E%3C/svg%3E") center / contain no-repeat; }
.vs__chip[aria-pressed="true"] { background: var(--filcar-selected-bg); border-color: var(--filcar-selected-border); color: var(--filcar-white); }
@media (hover: hover) { .vs__chip:hover { border-color: var(--filcar-hover-border); } }
.vs__count, .vs__tab-n { color: var(--filcar-periwinkle); }
.vs__go.is-zero { background: var(--filcar-graphite-2); color: var(--filcar-muted-1); }

/* ---------- Card veicolo ---------- */
.vcard { background: var(--filcar-graphite); box-shadow: inset 0 0 0 1px rgb(255 255 255 / 0.06); }
.vcard::after { content: ""; position: absolute; inset: 0; border-radius: inherit; padding: 1px; background: var(--filcar-gradient-border); -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude; opacity: 0; transition: opacity var(--t-base) ease; pointer-events: none; }
@media (hover: hover) { .vcard:hover { box-shadow: inset 0 0 0 1px rgb(255 255 255 / 0.06), 0 24px 50px -24px rgb(0 0 0 / 0.8), var(--filcar-glow); } .vcard:hover::after { opacity: 0.8; } }
.vcard__mk, .vcard__ve, .vcard__micro { color: var(--filcar-muted-1); }
.vcard__price, .vcard__amount { color: var(--filcar-white); }
.vcard--skeleton { background: var(--filcar-graphite); }
/* Badge: il testo dice lo stato, il colore lo rinforza */
.vbadge { background: rgb(8 8 12 / 0.82); color: var(--filcar-white); box-shadow: inset 0 0 0 1px rgb(161 98 233 / 0.6); }
.vbadge--nuovo { background: var(--filcar-fuchsia-deep); color: var(--filcar-white); box-shadow: none; }
.vbadge--km0 { background: var(--filcar-periwinkle); color: var(--filcar-ink-text); box-shadow: none; }
.vtool { background: rgb(11 11 16 / 0.72); color: var(--filcar-white); }
.vtool[aria-pressed="true"] { background: var(--filcar-fuchsia-deep); color: var(--filcar-white); }
.vtool[data-compare][aria-pressed="true"], .vtool--compare[aria-pressed="true"] { background: var(--filcar-violet-deep); }

/* ---------- Catalogo e filtri ---------- */
.sf__body, .stock__filters, .sf { background-color: var(--filcar-graphite); }
.pill input:checked + span { background: var(--filcar-selected-bg); border-color: var(--filcar-selected-border); color: var(--filcar-white); }
.stock__chips a:not(.textlink) { background: rgb(228 50 199 / 0.08); box-shadow: inset 0 0 0 1px rgb(228 50 199 / 0.3); color: var(--filcar-white); }
.range__fill, .range .fill { background: linear-gradient(90deg, var(--filcar-violet), var(--filcar-fuchsia)); }
.range input[type="range"]::-webkit-slider-thumb { background: var(--filcar-white); border-color: var(--filcar-fuchsia); }
.range input[type="range"]::-moz-range-thumb { background: var(--filcar-white); border-color: var(--filcar-fuchsia); }
.sf__switch input:checked, .compare__toggle input:checked { background: var(--filcar-fuchsia-deep); border-color: var(--filcar-fuchsia-deep); }
input[type="checkbox"], input[type="radio"] { accent-color: var(--filcar-fuchsia); }
.pager a, .pager span { background: var(--filcar-graphite); color: var(--filcar-text); box-shadow: inset 0 0 0 1px var(--filcar-line); }
.pager [aria-current] { background: var(--filcar-gradient-cta); color: var(--filcar-white); box-shadow: none; }
.sk { background: linear-gradient(90deg, var(--filcar-graphite) 0%, var(--filcar-graphite-2) 40%, var(--filcar-graphite) 80%); background-size: 200% 100%; }

/* ---------- Moduli ---------- */
:where(input:not([type="checkbox"]):not([type="radio"]):not([type="file"]):not([type="range"])), select, textarea {
	background-color: var(--filcar-graphite-2); color: var(--filcar-text); border-color: var(--filcar-line);
}
::placeholder { color: var(--filcar-muted-2); opacity: 1; }
:where(input, select, textarea):focus-visible { border-color: var(--filcar-violet); box-shadow: 0 0 0 3px rgb(161 98 233 / 0.28); outline: none; }
[aria-invalid="true"] { border-color: var(--filcar-error) !important; }
.field__error { color: #ff8a8d; } /* rosso errore schiarito per il fondo scuro: 7:1 */
.lead-form__status.is-success { background: rgb(47 191 113 / 0.12); color: #8ff0bd; box-shadow: inset 0 0 0 1px rgb(47 191 113 / 0.35); }
.lead-form__status.is-error { background: rgb(229 72 77 / 0.12); color: #ffb3b5; box-shadow: inset 0 0 0 1px rgb(229 72 77 / 0.4); }
.is-light :where(input, select, textarea) { background-color: var(--filcar-white); color: var(--filcar-ink-text); border-color: #c8c8d2; }
.is-light .field__error { color: var(--filcar-error-ink); }

/* ---------- Offerte ---------- */
.offer { background: var(--filcar-graphite); box-shadow: inset 0 0 0 1px rgb(255 255 255 / 0.06); }
@media (hover: hover) { .offer:hover { box-shadow: inset 0 0 0 1px var(--filcar-hover-border), var(--filcar-glow); } }
.offer__tag { background: var(--filcar-gradient-cta); color: var(--filcar-white); }
.offer--draft { box-shadow: inset 0 0 0 2px var(--filcar-warning); }
.offer--draft .offer__tag { background: var(--filcar-warning); color: var(--filcar-ink-text); }
.offer__list, .offer__prefix { color: var(--filcar-muted-1); }
.offer__save-amount { background: rgb(47 191 113 / 0.14); color: #8ff0bd; }
.offer__save-note { color: var(--filcar-soft-white); }
.offer__perk { color: var(--filcar-lilac); }
.offer__list::before, .offer__emissions::before { border-top-color: var(--filcar-line); }
.offer__legal summary { color: var(--filcar-text); }
/* La foto ufficiale resta su fondo chiaro: colori del prodotto fedeli */
.offer__media { background: linear-gradient(180deg, #f7f7fa 0%, #ececf2 62%, #e2e2ea 62.2%, #e8e8ef 100%); }

/* ---------- Scheda veicolo ---------- */
.pricebox { background: var(--filcar-graphite); box-shadow: inset 0 0 0 1px rgb(255 255 255 / 0.07); }
.pricebox__price { color: var(--filcar-white); }
.pricebox__old, .pricebox__micro, .pricebox__version { color: var(--filcar-muted-1); }
.gallery__nav { background: rgb(11 11 16 / 0.72); color: var(--filcar-white); }

/* ---------- Barra azioni mobile ---------- */
.action-bar { background: rgb(8 8 12 / 0.94); border-top: 1px solid rgb(255 255 255 / 0.08); }
.action-bar a:nth-child(2) .icon { color: #25d366; }
.action-bar a:nth-child(3) { background: var(--filcar-gradient-cta); color: var(--filcar-white); }
.action-bar a:nth-child(3) .icon { color: var(--filcar-white); }

/* ---------- Assistente ---------- */
.assistant__launcher { background: var(--filcar-graphite); color: var(--filcar-white); border-color: rgb(161 98 233 / 0.45); box-shadow: 0 10px 30px -12px rgb(0 0 0 / 0.7), 0 0 30px -12px rgb(228 50 199 / 0.4); }
.assistant__launcher .icon { color: var(--filcar-fuchsia); }
.assistant__panel { background: var(--filcar-graphite); color: var(--filcar-text); border: 1px solid rgb(255 255 255 / 0.08); }
.assistant__body { color: var(--filcar-muted-1); }
.assistant__chips button { background: var(--filcar-graphite-2); border-color: var(--filcar-line); color: var(--filcar-text); }
.assistant__chips button[aria-pressed="true"] { background: var(--filcar-selected-bg); border-color: var(--filcar-selected-border); }
.assistant__answer:not(:empty) { background: var(--filcar-graphite-2); color: var(--filcar-text); }
.assistant__answer a { color: var(--filcar-lilac); }
.assistant__foot { border-top-color: var(--filcar-line); }

/* ---------- Sezioni ---------- */
.section--tint { background: var(--filcar-graphite); }
.page-hero--light { background: var(--filcar-graphite); }
.site-footer { background: var(--filcar-black); }
.site-footer::before { content: ""; display: block; height: 1px; background: var(--filcar-gradient-border); opacity: 0.4; }
.site-footer a { color: var(--filcar-muted-1); }
@media (hover: hover) { .site-footer a:hover { color: var(--filcar-fuchsia); } }
@media (hover: hover) { a:hover { text-decoration-color: var(--filcar-fuchsia); } }

/* ---------- Moto ---------- */
.moto-features { background: transparent; }
.moto-feature, .moto-feature--flip { background: radial-gradient(70% 90% at 30% 45%, rgb(161 98 233 / 0.16), transparent 70%), var(--filcar-graphite); border-bottom-color: var(--filcar-line); }
.moto-feature--flip { background: radial-gradient(70% 90% at 70% 45%, rgb(228 50 199 / 0.13), transparent 70%), var(--filcar-graphite); }
.moto-feature__copy { color: var(--filcar-text); }
.moto-feature__logo img { filter: brightness(0) invert(1); opacity: 0.92; }
.moto-feature__claim { background: rgb(255 255 255 / 0.08); color: var(--filcar-white); box-shadow: inset 0 0 0 1px rgb(255 255 255 / 0.1); }
.moto-feature__claim::before { background: var(--filcar-fuchsia); }
.moto-feature__ghost { -webkit-text-stroke-color: rgb(255 255 255 / 0.06); }
.moto-feature__media img { filter: drop-shadow(0 30px 30px rgb(0 0 0 / 0.55)); }
.moto-show .moto-feature { background: radial-gradient(90% 70% at 50% 25%, rgb(161 98 233 / 0.18), transparent 70%), var(--filcar-graphite); box-shadow: inset 0 0 0 1px rgb(255 255 255 / 0.06); }

/* ---------- Pagine moto e marchi su fondo scuro: loghi ufficiali chiari restano leggibili ---------- */
.moto-card { background: var(--filcar-graphite); }

/* ---------- Stampa ---------- */
@media print { body { background: #fff; color: #000; } }

/* ---------- Movimento ---------- */
@media (prefers-reduced-motion: reduce) { .vcard::after { transition: none; } }

/* ---------- Home ---------- */
.qs { background: linear-gradient(180deg, var(--filcar-graphite-2) 0%, var(--filcar-graphite) 100%); border-color: rgb(255 255 255 / 0.08); box-shadow: 0 30px 70px -30px rgb(0 0 0 / 0.8), 0 0 80px -40px rgb(161 98 233 / 0.45); }
.qs__submit { background: var(--filcar-gradient-cta); color: var(--filcar-white); }
.qs__field select { background-color: var(--filcar-black); border-color: var(--filcar-line); color: var(--filcar-text); }
.hs__eyebrow, .ts-eyebrow, .qs__eyebrow { color: var(--filcar-lilac); }
.hs__dot.is-active { background: var(--filcar-gradient-border); }
@media (hover: hover) { .hs__arrow:hover, .hs__play:hover { background: var(--filcar-violet-deep); color: var(--filcar-white); } }
.hs__brandbg { background: radial-gradient(circle at 20% 20%, rgb(154 163 244 / 0.20), transparent 38%), radial-gradient(circle at 75% 40%, rgb(228 50 199 / 0.18), transparent 36%), radial-gradient(circle at 60% 110%, rgb(161 98 233 / 0.20), transparent 40%), var(--filcar-bg-primary); }
.hs__slide--offer { background: radial-gradient(60rem 30rem at 78% 55%, rgb(161 98 233 / 0.22), transparent 65%), radial-gradient(30rem 20rem at 95% 15%, rgb(228 50 199 / 0.14), transparent 70%), var(--filcar-bg-primary); }
.hs__car { background: linear-gradient(180deg, #f7f7fa 0%, #ececf2 62%, #e2e2ea 62.2%, #e8e8ef 100%); }
/* Parola strategica in gradiente, una sola volta nella pagina */
.hs__title-accent { background: var(--filcar-gradient-hero); -webkit-background-clip: text; background-clip: text; color: transparent; }
.brand-tile { background: var(--filcar-soft-white); box-shadow: 0 10px 30px rgb(0 0 0 / 0.35); color: #5a5a6a; }
@media (hover: hover) { .brand-tile:hover { color: var(--filcar-fuchsia-ink); box-shadow: 0 18px 40px rgb(0 0 0 / 0.45), 0 0 40px rgb(228 50 199 / 0.22); } }
.ts-card::before { background: radial-gradient(28rem 20rem at 85% 0%, rgb(228 50 199 / 0.30), transparent 60%), linear-gradient(160deg, var(--filcar-graphite-2) 0%, var(--filcar-black) 70%); }
.ts-card--b::before { background: radial-gradient(28rem 20rem at 15% 0%, rgb(161 98 233 / 0.34), transparent 60%), linear-gradient(200deg, var(--filcar-graphite-2) 0%, var(--filcar-black) 70%); }
.ts-card--c::before { background: radial-gradient(28rem 20rem at 50% 0%, rgb(154 163 244 / 0.28), transparent 60%), linear-gradient(180deg, var(--filcar-graphite-2) 0%, var(--filcar-black) 70%); }
.ts-card { box-shadow: inset 0 0 0 1px rgb(255 255 255 / 0.06); }
.ts-card__icon svg { fill: var(--filcar-lilac); }
.ts-card__kicker { color: var(--filcar-lilac); }
.ts-showroom { background: radial-gradient(40rem 26rem at 90% 80%, rgb(161 98 233 / 0.14), transparent 65%), var(--filcar-graphite); }
.ts-showroom__brand { color: var(--filcar-lilac); }
.ts-showroom__points li { border-left-color: var(--filcar-fuchsia); }
.ts-rent { background: radial-gradient(40rem 18rem at 90% 50%, rgb(228 50 199 / 0.22), transparent 70%), radial-gradient(30rem 16rem at 10% 50%, rgb(154 163 244 / 0.12), transparent 70%), var(--filcar-black); }
.ts-rent .btn--primary { background: var(--filcar-gradient-cta); }
.offers-jump a { background: var(--filcar-soft-white); }

/* ---------- Accenti puntuali ---------- */
.stock__go { background: var(--filcar-gradient-cta); color: var(--filcar-white); }
.stock__badge, .icon-link--fav .count { background: var(--filcar-fuchsia-deep); color: var(--filcar-white); }
.range__track::after { background: linear-gradient(90deg, var(--filcar-violet), var(--filcar-fuchsia)); }
.vehicle__tools .vtool[aria-pressed="true"] { background: var(--filcar-fuchsia-deep); color: var(--filcar-white); }
.vs__tabs button[aria-selected="true"] { background: var(--filcar-white); color: var(--filcar-ink-text); }
.crumbs li + li::before { background: var(--filcar-violet); }
.moto-feature__claim::before { background: var(--filcar-fuchsia); }

/* Loghi ufficiali delle case su fondo scuro: piastrina chiara, nessuna ricolorazione del marchio auto */
.offers-brand__head .brand-logo { display: grid; place-items: center; height: auto; padding: 0.7rem 0.9rem; border-radius: var(--r-md); background: var(--filcar-soft-white); box-shadow: 0 10px 24px -12px rgb(0 0 0 / 0.6); }
.offers-brand__head .brand-logo img { height: 2.4rem; width: auto; max-width: 8rem; object-fit: contain; }
.offers-brand__head :is(.brand-logo--honda, .brand-logo--kymco) img { height: 1.1rem; }
.offers-brand__head .brand-logo--voge img { height: 1.8rem; }
@media (hover: hover) { .mega__search:hover { background: var(--filcar-gradient-cta-hover); color: var(--filcar-white); } }

/* ---------- Moto: faretto e ombra a terra coerenti su fondo scuro (1.7.1) ---------- */
.moto-feature__media { isolation: isolate; }
.moto-feature__media::before { content: ""; position: absolute; z-index: -1; inset: 6% 8% 14%; border-radius: 50%; background: radial-gradient(closest-side, rgb(154 163 244 / 0.16), rgb(161 98 233 / 0.08) 55%, transparent 100%); pointer-events: none; }
.moto-feature__media::after { content: ""; position: absolute; z-index: 0; left: 14%; right: 14%; bottom: 6%; height: 9%; border-radius: 50%; background: radial-gradient(closest-side, rgb(0 0 0 / 0.75), rgb(0 0 0 / 0.35) 55%, transparent 100%); filter: blur(6px); pointer-events: none; }
.moto-feature__media img { position: relative; z-index: 1; filter: drop-shadow(0 18px 18px rgb(0 0 0 / 0.45)); }
.moto-show .moto-feature__media::after { bottom: 4%; height: 10%; }

/* ---------- Header: loghi dei marchi in celle chiare, colori originali (1.8.1) ---------- */
.header-brands { gap: 0.35rem; padding-left: 0; border-left: 0; }
.header-brands a { display: grid; place-items: center; height: 2.1rem; min-width: 2.4rem; padding: 0 0.5rem; border-radius: 0.55rem; background: var(--filcar-soft-white); box-shadow: inset 0 0 0 1px rgb(255 255 255 / 0.6), 0 4px 12px -6px rgb(0 0 0 / 0.6); opacity: 1; transition: transform var(--t-fast) var(--ease-out), box-shadow var(--t-fast) ease; }
.header-brands .brand-logo { display: block; height: 1.3rem; }
.header-brands .brand-logo img { height: 100%; width: auto; filter: none; }
.header-brands .brand-logo--renault { height: 1.45rem; }
.header-brands .brand-logo--suzuki { height: 1.35rem; }
.header-brands .brand-logo--dacia { height: 1.05rem; }
.header-brands .brand-logo--kia { height: 0.72rem; }
@media (hover: hover) { .header-brands a:hover { transform: translateY(-1px); box-shadow: inset 0 0 0 1px #fff, 0 6px 16px -6px rgb(0 0 0 / 0.6), 0 0 0 2px rgb(228 50 199 / 0.45); } }
.header-brands a:focus-visible { outline: 2px solid var(--filcar-violet); outline-offset: 2px; }
@media (min-width: 1100px) and (max-width: 1279px) {
	.header-brands { gap: 0.25rem; }
	.header-brands a { height: 1.85rem; min-width: 2.1rem; padding: 0 0.38rem; }
	.header-brands .brand-logo--renault { height: 1.25rem; }
	.header-brands .brand-logo--suzuki { height: 1.15rem; }
	.header-brands .brand-logo--dacia { height: 0.9rem; }
	.header-brands .brand-logo--kia { height: 0.6rem; }
}

/* ---------- Header 1.9.1: loghi dei marchi chiari, senza celle ---------- */
.header-brands { gap: 0.75rem; padding-left: var(--s-3); border-left: 1px solid rgb(255 255 255 / 0.16); }
.header-brands a { display: flex; align-items: center; height: 2.75rem; min-width: 0; padding: 0; border-radius: 0; background: none; box-shadow: none; opacity: 0.85; transition: opacity var(--t-fast) ease; }
.header-brands .brand-logo img { filter: brightness(0) invert(1); }
.header-brands .brand-logo { height: 1.3rem; }
.header-brands .brand-logo--renault { height: 1.45rem; }
.header-brands .brand-logo--suzuki { height: 1.35rem; }
.header-brands .brand-logo--dacia { height: 1.15rem; }
.header-brands .brand-logo--kia { height: 0.85rem; }
@media (hover: hover) { .header-brands a:hover { opacity: 1; transform: none; box-shadow: none; } }
@media (min-width: 1100px) and (max-width: 1279px) {
	.header-brands { gap: 0.6rem; }
	.header-brands a { height: 2.5rem; padding: 0; min-width: 0; }
	.header-brands .brand-logo--renault { height: 1.25rem; }
	.header-brands .brand-logo--suzuki { height: 1.15rem; }
	.header-brands .brand-logo--dacia { height: 0.98rem; }
	.header-brands .brand-logo--kia { height: 0.72rem; }
}

/* 1.9.3 — Linea del footer staccata dai testi + crediti Quantum Vibes */
.site-footer { position: relative; padding-bottom: 0; }
.site-footer::before { position: absolute; top: 0; left: 0; right: 0; }
.site-footer__legal { margin-top: var(--s-8); padding-top: var(--s-6); padding-bottom: var(--s-6); align-items: center; }
.qv-credits { background: #000; border-top: 1px solid rgb(255 255 255 / .08); padding: 1.25rem 0 calc(1.25rem + 4.5rem); }
.qv-credits__inner { display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 1rem 2rem; }
.qv-credits__group { display: flex; align-items: center; gap: .9rem; flex-wrap: wrap; justify-content: center; }
.qv-credits__label { font-size: .625rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: rgb(255 255 255 / .72); line-height: 1; }
.qv-credits__label--eco { font-size: .5625rem; color: rgb(255 255 255 / .6); }
.qv-credits__main { display: block; line-height: 0; }
.qv-credits__main img { height: 40px; width: auto; }
.qv-credits__sep { width: 1px; height: 30px; background: rgb(255 255 255 / .12); }
.qv-credits__logos { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; gap: 1.15rem; flex-wrap: wrap; justify-content: center; }
.qv-credits__logos a { display: inline-flex; align-items: center; gap: .35rem; min-height: 2.75rem; opacity: .7; transition: opacity .25s ease; text-decoration: none; }
.qv-credits__logos img { height: 18px; width: auto; display: block; }
.qv-credits__do span { font: 800 .8125rem/1 Inter, "Archivo", system-ui, sans-serif; letter-spacing: -.02em; color: #fff; }
.qv-credits__do b { font-weight: 800; color: #FF7A1A; }
@media (hover: hover) { .qv-credits__logos a:hover { opacity: 1; } }
.qv-credits a:focus-visible { outline: 2px solid var(--filcar-lilac); outline-offset: 3px; opacity: 1; }
@media (min-width: 1024px) { .qv-credits { padding-bottom: 1.25rem; } }
@media (max-width: 640px) {
	.qv-credits__sep { display: none; }
	.qv-credits__inner { flex-direction: column; gap: .75rem; }
	.qv-credits__main img { height: 30px; }
	.qv-credits__logos { gap: .2rem .85rem; }
	.qv-credits__logos img { height: 15px; }
	.qv-credits__do span { font-size: .6875rem; }
}

/* 1.9.4 — Foto nei box "I nostri servizi" */
.ts-card__media { position: absolute; inset: 0; z-index: -2; }
.ts-card__media img { width: 100%; height: 100%; object-fit: cover; transition: scale .6s var(--ease-out); }
.ts-card::before, .ts-card--b::before, .ts-card--c::before { background: linear-gradient(180deg, rgb(8 8 12 / .25) 0%, rgb(8 8 12 / .35) 30%, rgb(8 8 12 / .88) 62%, rgb(8 8 12 / .97) 100%); }
.ts-card::after { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none; background: radial-gradient(26rem 18rem at 85% 0%, rgb(228 50 199 / .28), transparent 65%); mix-blend-mode: screen; }
.ts-card--b::after { background: radial-gradient(26rem 18rem at 15% 0%, rgb(161 98 233 / .30), transparent 65%); }
.ts-card--c::after { background: radial-gradient(26rem 18rem at 50% 0%, rgb(154 163 244 / .26), transparent 65%); }
.ts-card { min-height: 28rem; }
.ts-card__icon { background: rgb(8 8 12 / .55); backdrop-filter: blur(6px); }
.ts-card__text { color: rgb(255 255 255 / .82); }
@media (hover: hover) { .ts-card:hover .ts-card__media img { scale: 1.04; } }
@media (prefers-reduced-motion: reduce) { .ts-card__media img { transition: none; } }

/* 1.9.5 — Header a cornici: Auto nuove (con i marchi), Usato e Km 0, Moto; niente "Cerca auto"; testi più grandi */
@media (min-width: 1100px) {
	.header-brands { display: none; }
	.nav__list { gap: 0.4rem; }
	.nav__link { font-size: 1rem; font-weight: 650; padding: 0.55rem 0.75rem; }
	.nav-frame { display: flex; align-items: center; padding: 0.15rem 0.2rem; border-radius: 999px; border: 1px solid var(--nf-c); background: var(--nf-bg); }
	.nav-frame > .nav__link { border-radius: 999px; }
	.nav-frame > .nav__toggle { margin-right: 0.2rem; }
	.nav-frame--new { --nf-c: rgb(228 50 199 / 0.6); --nf-bg: rgb(228 50 199 / 0.08); }
	.nav-frame--used { --nf-c: rgb(161 98 233 / 0.65); --nf-bg: rgb(161 98 233 / 0.09); }
	.nav-frame--moto { --nf-c: rgb(154 163 244 / 0.65); --nf-bg: rgb(154 163 244 / 0.09); }
	.nav-frame .nav__link.is-active { background-size: calc(100% - 2rem) 2px; }
	.nav-frame__brands { list-style: none; margin: 0; padding: 0 0.6rem 0 0.7rem; display: flex; align-items: center; gap: 0.7rem; border-right: 1px solid rgb(255 255 255 / 0.16); }
	.nav-frame__brands a { display: flex; align-items: center; height: 2.4rem; opacity: 0.9; transition: opacity var(--t-fast) ease; }
	.nav-frame__brands .brand-logo { display: block; height: 1.25rem; }
	.nav-frame__brands .brand-logo img { height: 100%; width: auto; filter: brightness(0) invert(1); }
	.nav-frame__brands .brand-logo--renault { height: 1.4rem; }
	.nav-frame__brands .brand-logo--suzuki { height: 1.3rem; }
	.nav-frame__brands .brand-logo--dacia { height: 1.05rem; }
	.nav-frame__brands .brand-logo--kia { height: 0.8rem; }
	.nav-frame__brands a:focus-visible { outline: 2px solid var(--filcar-lilac); outline-offset: 2px; border-radius: 4px; }
	@media (hover: hover) { .nav-frame__brands a:hover { opacity: 1; } .nav-frame:hover { border-color: color-mix(in srgb, var(--nf-c), #fff 25%); } }
}
@media (min-width: 1100px) and (max-width: 1359px) {
	.nav__list { gap: 0.25rem; }
	.nav__link { font-size: 0.9375rem; padding-inline: 0.55rem; }
	.nav-frame__brands { gap: 0.5rem; padding-inline: 0.5rem 0.45rem; }
	.nav-frame__brands .brand-logo { height: 1.05rem; }
	.nav-frame__brands .brand-logo--renault { height: 1.2rem; }
	.nav-frame__brands .brand-logo--suzuki { height: 1.1rem; }
	.nav-frame__brands .brand-logo--dacia { height: 0.9rem; }
	.nav-frame__brands .brand-logo--kia { height: 0.66rem; }
}
@media (min-width: 1100px) and (max-width: 1239px) {
	.nav__link { font-size: 0.875rem; padding-inline: 0.42rem; }
	.site-header__actions .icon-link__text { display: none; }
}

/* 1.9.5 — "Chiedi a Filcar" più in evidenza */
.assistant__launcher { position: relative; gap: 0.7rem; min-height: 3.6rem; padding: 0.4rem 1.35rem 0.4rem 0.45rem; border: 0; background: var(--filcar-gradient-cta); color: #fff; box-shadow: 0 14px 34px -12px rgb(194 31 168 / 0.75), 0 0 0 1px rgb(255 255 255 / 0.14) inset; text-align: left; }
.assistant__ico { display: grid; place-items: center; width: 2.75rem; height: 2.75rem; border-radius: 50%; background: #fff; flex: none; }
.assistant__launcher .assistant__ico .icon, .assistant__launcher .assistant__ico svg { width: 1.3rem; height: 1.3rem; color: var(--filcar-fuchsia-deep); fill: var(--filcar-fuchsia-deep); }
.assistant__lbl { display: grid; line-height: 1.15; }
.assistant__lbl > span { font-size: 1rem; font-weight: 800; letter-spacing: -0.01em; }
.assistant__lbl small { font-size: 0.75rem; font-weight: 600; color: rgb(255 255 255 / 0.85); }
.assistant__launcher::before { content: ""; position: absolute; inset: 0; border-radius: inherit; box-shadow: 0 0 0 0 rgb(228 50 199 / 0.55); animation: qv-ask-pulse 2.8s ease-out infinite; pointer-events: none; }
@keyframes qv-ask-pulse { 0% { box-shadow: 0 0 0 0 rgb(228 50 199 / 0.55); } 70%, 100% { box-shadow: 0 0 0 16px rgb(228 50 199 / 0); } }
.assistant__launcher[aria-expanded="true"]::before { animation: none; }
@media (hover: hover) { .assistant__launcher:hover { background: var(--filcar-gradient-cta-hover); transform: translateY(-2px); } }
.assistant__launcher:focus-visible { outline: 2px solid #fff; outline-offset: 3px; }
@media (prefers-reduced-motion: reduce) { .assistant__launcher::before { animation: none; } }

/* 1.9.5 — Galleria modello (Esterni / Interni / Dettagli) con visore */
.mgal__head { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: var(--s-4); margin-bottom: var(--s-6); }
.mgal__head .h2 { margin: 0; }
.mgal__kicker { margin: 0 0 0.4rem; font-size: var(--fs-xs); font-weight: 800; letter-spacing: 0.16em; text-transform: uppercase; color: var(--filcar-lilac); }
.mgal__grid[hidden] { display: none; }
.mgal__tabs { display: inline-flex; gap: 0.3rem; padding: 0.3rem; border-radius: 999px; background: rgb(255 255 255 / 0.05); box-shadow: inset 0 0 0 1px rgb(255 255 255 / 0.08); }
.mgal__tabs button { min-height: 2.75rem; padding: 0 1.1rem; border: 0; border-radius: 999px; background: none; color: var(--filcar-muted-1); font: inherit; font-weight: 700; cursor: pointer; }
.mgal__tabs button span { margin-left: 0.3rem; font-size: 0.75em; opacity: 0.7; }
.mgal__tabs button[aria-selected="true"] { background: var(--filcar-gradient-cta); color: #fff; }
.mgal__tabs button:focus-visible { outline: 2px solid var(--filcar-lilac); outline-offset: 2px; }
.mgal__grid { display: grid; gap: 0.6rem; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.mgal__item { position: relative; display: block; overflow: hidden; border-radius: var(--r-md); aspect-ratio: 4 / 3; background: var(--filcar-graphite); }
.mgal__item:first-child { grid-column: 1 / -1; aspect-ratio: 16 / 9; }
.mgal__item img { width: 100%; height: 100%; object-fit: cover; transition: scale 0.5s var(--ease-out); }
.mgal__item::after { content: ""; position: absolute; inset: 0; border-radius: inherit; box-shadow: inset 0 0 0 1px rgb(255 255 255 / 0.08); pointer-events: none; }
.mgal__item:focus-visible { outline: 2px solid var(--filcar-lilac); outline-offset: 3px; }
@media (hover: hover) { .mgal__item:hover img { scale: 1.04; } }
@media (min-width: 900px) {
	.mgal__grid { grid-template-columns: repeat(4, minmax(0, 1fr)); grid-auto-rows: 1fr; }
	.mgal__item, .mgal__item:first-child { aspect-ratio: auto; min-height: 12rem; }
	.mgal__item:first-child { grid-column: span 2; grid-row: span 2; }
	.mgal__grid--n1 .mgal__item:first-child { grid-column: 1 / -1; aspect-ratio: 21 / 9; }
	.mgal__grid--n2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.mgal__grid--n2 .mgal__item:first-child { grid-column: auto; grid-row: auto; }
	.mgal__grid--n2 .mgal__item { aspect-ratio: 4 / 3; }
	.mgal__grid--n3 { grid-template-columns: 2fr 1fr; }
	.mgal__grid--n3 .mgal__item:first-child { grid-column: auto; grid-row: span 2; }
	.mgal__grid--n4 { grid-template-columns: 2fr 1fr 1fr; }
	.mgal__grid--n4 .mgal__item:first-child { grid-column: auto; grid-row: span 2; }
	.mgal__grid--n4 .mgal__item:last-child { grid-column: span 2; }
}
.mgal__note { margin-top: var(--s-4); color: var(--filcar-muted-2, var(--filcar-muted)); font-size: var(--fs-xs); }
.mgal__lb { position: fixed; inset: 0; z-index: 200; display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 0.5rem; padding: clamp(0.5rem, 3vw, 2.5rem); background: rgb(5 5 8 / 0.94); backdrop-filter: blur(8px); }
.mgal__lb[hidden] { display: none; }
.mgal__lb-fig { margin: 0; display: grid; justify-items: center; gap: 0.75rem; min-width: 0; }
.mgal__lb-fig img { max-width: 100%; max-height: calc(100vh - 9rem); max-height: calc(100dvh - 9rem); width: auto; height: auto; border-radius: var(--r-md); object-fit: contain; }
.mgal__lb-fig figcaption { color: var(--filcar-muted-1); font-size: var(--fs-sm); text-align: center; }
.mgal__lb-nav, .mgal__lb-close { display: grid; place-items: center; width: 3rem; height: 3rem; border: 0; border-radius: 50%; background: rgb(255 255 255 / 0.1); color: #fff; cursor: pointer; }
.mgal__lb-nav svg, .mgal__lb-close svg { width: 1.25rem; height: 1.25rem; fill: currentColor; }
.mgal__lb-nav--prev svg { transform: rotate(180deg); }
.mgal__lb-close { position: absolute; top: clamp(0.5rem, 2vw, 1.25rem); right: clamp(0.5rem, 2vw, 1.25rem); }
@media (hover: hover) { .mgal__lb-nav:hover, .mgal__lb-close:hover { background: rgb(255 255 255 / 0.2); } }
.mgal__lb button:focus-visible { outline: 2px solid var(--filcar-lilac); outline-offset: 2px; }
@media (max-width: 599px) { .mgal__lb { grid-template-columns: 1fr; } .mgal__lb-nav { position: absolute; bottom: 1rem; } .mgal__lb-nav--prev { left: calc(50% - 3.5rem); } .mgal__lb-nav--next { right: calc(50% - 3.5rem); } .mgal__lb-fig img { max-height: calc(100dvh - 11rem); } }
@media (prefers-reduced-motion: reduce) { .mgal__item img { transition: none; } }

/* 2.0.0 — Gamma completa nelle pagine marchio, foto ufficiali scontornate, prenotazione appuntamenti */
.model-card__cut { position: relative; display: grid; place-items: end center; aspect-ratio: 16 / 10; padding: 8% 6% 9%; border-radius: var(--r-lg); overflow: hidden; background: radial-gradient(80% 60% at 50% 100%, rgb(161 98 233 / 0.22), transparent 70%), linear-gradient(180deg, #16161f 0%, #0c0c12 100%); box-shadow: inset 0 0 0 1px rgb(255 255 255 / 0.07); }
.model-card__cut::after { content: ""; position: absolute; left: 14%; right: 14%; bottom: 8.5%; height: 5%; border-radius: 50%; background: radial-gradient(closest-side, rgb(0 0 0 / 0.8), transparent); filter: blur(3px); }
.model-card__cut img { position: relative; z-index: 1; width: 100%; height: 100%; object-fit: contain; object-position: 50% 100%; transition: transform var(--t-slow) var(--ease-out); }
@media (hover: hover) { .model-card__link:hover .model-card__cut img { transform: translateY(-4px) scale(1.02); } }
.model-card__offer { display: inline-block; margin: var(--s-2) 0 0; padding: 0.2rem 0.6rem; border-radius: 999px; background: var(--filcar-gradient-cta); color: #fff !important; font-size: var(--fs-xs); font-weight: 700; }
.model-card__go { display: inline-flex; align-items: center; gap: 0.35rem; margin-top: var(--s-3); font-size: var(--fs-sm); font-weight: 800; color: var(--filcar-lilac); }
.model-card__go svg { width: 1rem; height: 1rem; fill: currentColor; }
.model-hero-cut { display: grid; place-items: end center; aspect-ratio: 16 / 10; padding: 6%; border-radius: var(--r-lg); background: radial-gradient(70% 55% at 50% 100%, rgb(228 50 199 / 0.22), transparent 70%), linear-gradient(180deg, #16161f, #0b0b10); }
.model-hero-cut img { width: 100%; height: 100%; object-fit: contain; object-position: 50% 100%; filter: drop-shadow(0 18px 14px rgb(0 0 0 / 0.55)); }
.appt-types { border: 0; padding: 0; margin: 0; }
.appt-types legend { margin-bottom: var(--s-2); font-weight: 700; }
.appt-types__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0.5rem; }
.appt-type { position: relative; cursor: pointer; }
.appt-type input { position: absolute; opacity: 0; inset: 0; }
.appt-type__box { display: grid; gap: 0.15rem; height: 100%; padding: 0.75rem 0.9rem; border-radius: 0.8rem; background: rgb(255 255 255 / 0.04); box-shadow: inset 0 0 0 1px rgb(255 255 255 / 0.14); transition: box-shadow var(--t-fast) ease, background var(--t-fast) ease; }
.appt-type__box strong { font-size: 0.95rem; }
.appt-type__box small { font-size: 0.75rem; color: var(--filcar-muted-1); }
.appt-type input:checked + .appt-type__box { background: rgb(228 50 199 / 0.12); box-shadow: inset 0 0 0 2px var(--filcar-fuchsia); }
.appt-type input:focus-visible + .appt-type__box { outline: 2px solid var(--filcar-lilac); outline-offset: 2px; }
.appt-quick { list-style: none; margin: var(--s-5) 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 0.5rem; }
.appt-hours { display: flex; align-items: center; gap: 0.5rem; margin-top: var(--s-4); color: var(--filcar-muted-1); font-size: var(--fs-sm); }
.appt-hours svg { width: 1.1rem; height: 1.1rem; fill: var(--filcar-lilac); }
@media (max-width: 480px) { .appt-types__grid { grid-template-columns: 1fr; } }

/* 2.0.1 — Schede modello con foto in studio (ombra reale, stessa luce per tutta la gamma) */
.model-card__cut--studio { padding: 0; background: #0c0c12; }
.model-card__cut--studio::after { display: none; }
.model-card__cut--studio img { object-fit: cover; object-position: 50% 55%; }
@media (hover: hover) { .model-card__link:hover .model-card__cut--studio img { transform: scale(1.03); } }
.model-hero-cut--studio { padding: 0; overflow: hidden; background: #0c0c12; }
.model-hero-cut--studio img { object-fit: cover; filter: none; }
