/* ==========================================================================
   TEMA 8 — Rosso Corsa
   Stile "dealer classico": bianco + rosso + blu ardesia, titoli Montserrat
   bicolore, angoli vivi, pannello diagonale nell'hero.
   Il rosso segue il "colore primario" scelto dal rivenditore (--brand-primary).
   ========================================================================== */
:root {
  --font-head: var(--font-heading, "Montserrat"), Arial, sans-serif;
  --font-body: "Open Sans", Arial, sans-serif;

  --red: var(--brand-primary, #D7191F);
  --red-dark: var(--btn-hover-bg, color-mix(in srgb, var(--red) 80%, #000));
  --on-red: var(--btn-text, #FFFFFF);
  --slate: #1F2A37;
  --slate-2: #253241;
  --slate-3: #33415A;
  --ink: #222831;
  --muted: #5F6B7A;
  --bg: #FFFFFF;
  --bg-grey: #F4F5F7;
  --line: #E3E6EA;
  --white: #FFFFFF;
  --star: #F2B01E;
  --red-on-dark: color-mix(in srgb, var(--red) 55%, #fff);

  --shadow: 0 10px 30px rgba(31, 42, 55, .10);
  --radius: 0;                         /* angoli vivi: cambia qui per arrotondare */
}

/* ---------- base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; font-family: var(--font-body); font-size: 16px; line-height: 1.65; color: var(--muted); background: var(--bg); }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4, p, ul, ol, dl, dd, figure, blockquote { margin: 0; padding: 0; }
ul, ol { list-style: none; }
button, input, select { font: inherit; color: inherit; }
.container { width: 100%; max-width: 1240px; margin: 0 auto; padding: 0 24px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.icon { width: 18px; height: 18px; flex-shrink: 0; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.center { text-align: center; }

.kicker { font-family: var(--font-head); font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--ink); margin-bottom: 10px; }
.title { font-family: var(--font-head); font-size: clamp(30px, 3.2vw, 42px); font-weight: 800; line-height: 1.15; color: var(--ink); letter-spacing: -.01em; }
.title span { color: var(--red); }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 0 30px; border: 2px solid transparent; border-radius: var(--radius);
  font-family: var(--font-head); font-size: 13px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase;
  cursor: pointer; transition: background-color .15s, color .15s, border-color .15s;
}
.btn--red { background: var(--red); color: var(--on-red); }
.btn--red:hover { background: var(--red-dark); color: var(--on-red); }
.btn--outline { border-color: var(--slate); color: var(--slate); }
.btn--outline:hover { background: var(--slate); color: var(--white); }
.btn--sm { min-height: 40px; padding: 0 18px; font-size: 12px; }

/* ---------- top bar ---------- */
.topbar { background: var(--slate); color: #C9D1DC; font-size: 13px; }
.topbar__inner { display: flex; justify-content: space-between; align-items: stretch; min-height: 44px; }
.topbar__info { display: flex; gap: 28px; align-items: center; flex-wrap: wrap; }
.topbar__info > * { display: inline-flex; align-items: center; gap: 8px; }
.topbar__info .icon { width: 14px; height: 14px; stroke: #FF7A7F; }
.topbar a:hover { color: var(--white); }
.topbar__cta { display: flex; align-items: center; padding: 0 22px; background: var(--red); color: var(--on-red); font-family: var(--font-head); font-weight: 700; font-size: 12px; letter-spacing: .06em; text-transform: uppercase; }
.topbar a.topbar__cta:hover { background: var(--red-dark); color: var(--on-red); }

/* ---------- header ---------- */
.header { position: sticky; top: 0; z-index: 50; background: var(--white); box-shadow: 0 1px 0 var(--line); }
.header__inner { display: flex; align-items: center; gap: 40px; min-height: 92px; }
.logo { display: inline-flex; align-items: center; gap: 12px; font-family: var(--font-head); font-weight: 800; font-size: 20px; text-transform: uppercase; color: var(--slate); letter-spacing: .01em; }
.logo__mark { width: 44px; height: 44px; display: inline-flex; align-items: center; justify-content: center; background: var(--red); color: var(--on-red); font-size: 20px; }
.header__phone { display: flex; align-items: center; gap: 12px; color: var(--ink); }
.header__phone-icon { width: 44px; height: 44px; display: inline-flex; align-items: center; justify-content: center; border: 2px solid var(--red); color: var(--red); border-radius: 50%; }
.header__phone small { display: block; font-size: 12px; color: var(--muted); line-height: 1.2; }
.header__phone strong { font-family: var(--font-head); font-size: 17px; }
.mainnav { margin-left: auto; display: flex; gap: 28px; }
.mainnav a { position: relative; padding: 34px 0; font-family: var(--font-head); font-size: 13px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; color: var(--ink); }
.mainnav a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 3px; background: var(--red); transform: scaleX(0); transition: transform .2s; }
.mainnav a:hover::after, .mainnav a.is-active::after { transform: scaleX(1); }
.burger { display: none; margin-left: auto; background: none; border: 0; color: var(--ink); cursor: pointer; padding: 8px; }

/* ---------- hero ---------- */
.hero {
  position: relative; min-height: 680px; overflow: hidden; display: flex;
  background-color: var(--slate);
}
.hero__slides, .hero__slides .carousel-inner, .hero__slides .carousel-item { position: absolute; inset: 0; height: 100%; }
.hero__slides { z-index: 0; }
.hero__slides img { width: 100%; height: 100%; object-fit: cover; object-position: center right; }
.hero__fallback { position: absolute; inset: 0; background: var(--slate) url("img/hero.1bb133378699.jpg") center right / cover; background-image: image-set(url("img/hero.02c38cb7f6c4.webp") type("image/webp"), url("img/hero.1bb133378699.jpg") type("image/jpeg")); }
.hero__panel {
  position: relative; z-index: 2; width: 54%;
  background: rgba(31, 42, 55, .92);
  clip-path: polygon(0 0, 100% 0, 72% 100%, 0 100%);
  display: flex; align-items: center;
}
.hero__content { padding-left: max(24px, calc((100vw - 1240px) / 2 + 24px)); padding-bottom: 60px; padding-right: 90px; color: var(--white); }
.hero__kicker { font-family: var(--font-head); font-size: 15px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: #C9D1DC; margin-bottom: 8px; }
.hero__title { font-family: var(--font-head); font-size: clamp(34px, 4.4vw, 62px); font-weight: 800; line-height: 1; text-transform: uppercase; letter-spacing: -.01em; }
.hero__title span { display: block; font-weight: 600; }
.hero__price { display: flex; align-items: flex-start; gap: 4px; margin: 22px 0 30px; font-family: var(--font-head); font-size: 54px; font-weight: 700; line-height: 1; }
.hero__price sup { font-size: 24px; margin-top: 6px; }
.hero__price small { font-size: 13px; font-weight: 600; text-transform: uppercase; letter-spacing: .06em; line-height: 1.4; margin: 6px 0 0 8px; color: #C9D1DC; }
.hero__lead { max-width: 480px; margin: 18px 0 30px; color: #C9D1DC; font-size: 18px; }
.hero__more { display: inline-flex; align-items: center; gap: 16px; font-family: var(--font-head); font-size: 13px; font-weight: 700; text-transform: uppercase; letter-spacing: .1em; color: var(--white); }
.hero__line { width: 56px; height: 3px; background: var(--red-on-dark); }
.hero__dots { position: absolute; z-index: 3; right: 40px; top: 50%; transform: translateY(-50%); display: flex; flex-direction: column; gap: 10px; }
.hero__dots button { width: 12px; height: 12px; padding: 0; border: 2px solid var(--white); border-radius: 50%; background: transparent; cursor: pointer; }
.hero__dots .active { background: var(--red-on-dark); border-color: var(--red-on-dark); }

/* ---------- ricerca ---------- */
.search-wrap { position: relative; z-index: 5; margin-top: -86px; }
.search { box-shadow: var(--shadow); }
.search__tabs { display: flex; }
.search__tab { min-width: 180px; padding: 18px 24px; border: 0; background: var(--slate-2); color: var(--white); font-family: var(--font-head); font-weight: 600; font-size: 15px; cursor: pointer; border-right: 1px solid var(--slate-3); }
.search__tab.is-active { position: relative; background: var(--white); color: var(--ink); }
.search__tab.is-active::before { content: ""; position: absolute; left: 0; top: 0; border-style: solid; border-width: 14px 14px 0 0; border-color: var(--red) transparent transparent transparent; }
.search__body { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)) 200px; gap: 20px; align-items: end; padding: 30px; background: var(--white); }
.search__field { display: flex; flex-direction: column; gap: 8px; }
.search__field > span { font-family: var(--font-head); font-size: 14px; font-weight: 700; color: var(--ink); }
.search__field b { color: var(--red); margin-right: 6px; }
.search select { height: 52px; padding: 0 14px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--bg-grey); color: var(--ink); }

/* ---------- sezioni ---------- */
.section { padding: 110px 0; }
.head-row { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; margin-bottom: 44px; }
.head-center { text-align: center; margin-bottom: 56px; }

/* benvenuto */
.welcome__grid { display: grid; grid-template-columns: 5fr 6fr; gap: 48px; align-items: center; }
.welcome__grid--solo { grid-template-columns: 1fr; max-width: 820px; }
.welcome__text p { margin-top: 18px; }
.welcome__text .kicker { margin-top: 0; }
.features { display: grid; grid-template-columns: repeat(auto-fit, minmax(120px, 1fr)); gap: 16px; margin-top: 40px; text-align: center; }
.features li { font-family: var(--font-head); font-size: 13px; font-weight: 700; text-transform: uppercase; color: var(--ink); line-height: 1.4; }
.features__icon { width: 64px; height: 64px; margin: 0 auto 14px; display: flex; align-items: center; justify-content: center; border: 2px solid var(--line); border-radius: 50%; color: var(--slate); font-size: 26px; }
.welcome__media img { width: 100%; max-height: 520px; object-fit: contain; }
.welcome__media--photo img { object-fit: cover; box-shadow: var(--shadow); }

/* auto in evidenza: metà superiore chiara, inferiore ardesia */
.featured { background: linear-gradient(to bottom, var(--bg-grey) 0, var(--bg-grey) 55%, var(--slate) 55%, var(--slate) 100%); }
.featured .mc-nav-btn { background: var(--white); border-color: var(--line); color: var(--ink); border-radius: 0; }
.featured .mc-nav-btn:hover { background: var(--red); border-color: var(--red); color: var(--on-red); }
.featured .mc-box { border: 0; border-radius: 0; background: var(--white); box-shadow: var(--shadow); color: var(--muted); }
.featured .mc-box-media { aspect-ratio: 9 / 6.4; background: var(--bg-grey); }
.featured .mc-box-body { text-align: center; align-items: center; padding: 20px 20px 22px; gap: .5rem; }
.featured .mc-brand { color: var(--muted); letter-spacing: .1em; font-family: var(--font-head); font-size: 11px; opacity: 1; }
.featured .mc-title { font-family: var(--font-head); font-size: 18px; font-weight: 700; color: var(--ink); }
.featured .mc-specs { justify-content: center; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 10px 0; width: 100%; font-size: 13px; opacity: 1; }
.featured .mc-specs i { color: var(--red); }
.featured .mc-price { justify-content: center; }
.featured .mc-price strong { font-family: var(--font-head); font-size: 24px; font-weight: 800; color: var(--red); }
.featured .mc-badge, .featured .mc-flag { left: 0; right: auto; top: 16px; border-radius: 0; background: var(--red); color: var(--on-red); font-family: var(--font-head); text-transform: uppercase; letter-spacing: .06em; font-size: 11px; }
.featured .mc-flag { top: 48px; background: var(--slate); }
.featured .center { margin-top: 48px; }

/* servizi (punti di forza gestiti dal rivenditore) */
.services__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: start; }
.tiles { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); box-shadow: var(--shadow); }
.tile { position: relative; min-height: 190px; padding: 26px; display: flex; flex-direction: column; justify-content: flex-end; align-items: center; gap: 18px; text-align: center; background: var(--white); border: 1px solid var(--line); font-family: var(--font-head); font-size: 14px; font-weight: 700; color: var(--ink); cursor: pointer; transition: background-color .15s, color .15s; width: 100%; }
.tile b { position: absolute; left: 22px; top: 18px; font-size: 26px; font-weight: 800; color: var(--line); }
.tile i { font-size: 42px; line-height: 1; }
.tile:hover, .tile.is-active { background: var(--red); color: var(--on-red); border-color: var(--red); }
.tile:hover b, .tile.is-active b { color: rgba(255, 255, 255, .35); }
.service-detail img { margin: 28px 0 24px; width: 100%; }
.service-detail h3 { font-family: var(--font-head); font-size: 22px; font-weight: 700; color: var(--ink); margin-bottom: 10px; }

/* CTA + numeri */
.cta {
  padding: 72px 0; color: var(--white);
  background-color: var(--slate);
  background-image: url("img/cta-bg.bd176efc15cd.jpg");
  background-image: image-set(url("img/cta-bg.0a172716a375.webp") type("image/webp"), url("img/cta-bg.bd176efc15cd.jpg") type("image/jpeg"));
  background-size: cover; background-position: center;
}
.cta__row { display: grid; grid-template-columns: 1fr auto auto; gap: 40px; align-items: center; padding-bottom: 56px; border-bottom: 1px solid rgba(255, 255, 255, .15); }
.cta h2 { font-family: var(--font-head); font-size: 32px; font-weight: 700; }
.cta p { color: #C9D1DC; }
.cta__phone small { display: block; font-size: 13px; color: #C9D1DC; }
.cta__phone strong { font-family: var(--font-head); font-size: 26px; }
.stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 24px; padding-top: 56px; text-align: center; }
.stats dd { font-family: var(--font-head); font-size: 48px; font-weight: 800; line-height: 1.1; }
.stats dd::after { content: ""; display: block; width: 36px; height: 3px; margin: 12px auto; background: var(--red-on-dark); }
.stats dt { font-family: var(--font-head); font-size: 13px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: #C9D1DC; }

/* come funziona */
.steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; }
.steps li { position: relative; padding: 36px 28px; background: var(--bg-grey); border-top: 3px solid var(--slate); }
.steps li:first-child { border-top-color: var(--red); }
.steps b { display: block; font-family: var(--font-head); font-size: 44px; font-weight: 800; color: var(--red); line-height: 1; margin-bottom: 16px; }
.steps h3 { font-family: var(--font-head); font-size: 18px; font-weight: 700; color: var(--ink); margin-bottom: 8px; }

/* compra / vendi */
.dual { display: grid; grid-template-columns: 1fr 1fr; }
.dual__item { padding: 64px max(24px, calc((100vw - 1240px) / 2 + 24px)); color: var(--white); display: flex; flex-direction: column; gap: 6px; }
.dual__item--dark { background: var(--slate-2); }
.dual__item--red { background: var(--red); color: var(--on-red); }
.dual__item small { font-family: var(--font-head); font-size: 13px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; opacity: .8; }
.dual__item strong { font-family: var(--font-head); font-size: 30px; font-weight: 800; line-height: 1.2; }
.dual__link { margin-top: 14px; font-family: var(--font-head); font-size: 13px; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; }

/* recensioni */
.reviews-section { background: var(--bg-grey); }
.reviews { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.review { display: flex; flex-direction: column; gap: 18px; padding: 36px; background: var(--white); box-shadow: var(--shadow); }
.review__stars { color: var(--star); letter-spacing: 3px; font-size: 18px; }
.review blockquote { flex: 1; font-size: 17px; font-style: italic; color: var(--ink); }
.review figcaption { display: flex; gap: 14px; align-items: center; padding-top: 18px; border-top: 1px solid var(--line); }
.review strong { display: block; font-family: var(--font-head); color: var(--ink); }
.review small { font-size: 13px; }
.avatar { width: 48px; height: 48px; display: inline-flex; align-items: center; justify-content: center; border-radius: 50%; background: var(--red); color: var(--on-red); font-family: var(--font-head); font-weight: 700; font-size: 15px; }

/* contatti */
.contact { display: grid; grid-template-columns: 1fr 1fr; }
.contact__map { min-height: 520px; background: var(--bg-grey); }
.contact__map img, .contact__map iframe { width: 100%; height: 100%; min-height: 520px; object-fit: cover; border: 0; display: block; }
.contact__body { padding: 90px max(24px, calc((100vw - 1240px) / 2 + 24px)) 90px 72px; }
.contact__list { margin: 32px 0; display: grid; gap: 18px; }
.contact__list li { display: flex; gap: 16px; align-items: flex-start; color: var(--ink); font-weight: 700; }
.contact__list .icon { width: 22px; height: 22px; color: var(--red); margin-top: 3px; }
.contact__list small { display: block; font-size: 12px; font-weight: 400; color: var(--muted); text-transform: uppercase; letter-spacing: .06em; }
.contact__actions { display: flex; gap: 12px; flex-wrap: wrap; }

/* footer */
.footer { background: var(--slate); color: #AEB8C5; font-size: 15px; }
.footer__grid { display: grid; grid-template-columns: 1.3fr 1fr 1.2fr; gap: 40px; padding-top: 72px; padding-bottom: 56px; }
.footer .logo { color: var(--white); margin-bottom: 18px; }
.footer h4 { font-family: var(--font-head); font-size: 15px; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; color: var(--white); margin-bottom: 18px; }
.footer h4::after { content: ""; display: block; width: 30px; height: 3px; margin-top: 10px; background: var(--red-on-dark); }
.footer__grid a { display: block; padding: 3px 0; }
.footer__grid a:hover { color: var(--white); }
.footer__grid img { max-width: 200px; margin-bottom: 18px; }
.footer__bottom { background: #18212C; font-size: 13px; }
.footer__bottom-inner { display: flex; justify-content: space-between; gap: 16px; padding-top: 18px; padding-bottom: 18px; flex-wrap: wrap; }
.footer__bottom a:hover { color: var(--white); }

/* ==========================================================================
   Pagine interne (elenco auto, scheda, chi siamo, contatti, recensioni)
   ========================================================================== */
.page { padding: 56px 0 90px; }
.page-head { background: var(--slate); color: var(--white); padding: 44px 0; }
.page-head h1 { font-family: var(--font-head); font-size: clamp(28px, 3vw, 40px); font-weight: 800; text-transform: uppercase; letter-spacing: -.01em; }
.page-head h1::after { content: ""; display: block; width: 56px; height: 3px; margin-top: 14px; background: var(--red-on-dark); }
.page p { margin: 0 0 1rem; }
.page ul:not(.list-unstyled):not(.mainnav):not(.pagination) { padding-left: 1.25rem; list-style: disc; }
.page .list-unstyled { padding: 0; list-style: none; }
.page h1, .page h2, .page h3, .page h4, .page h5, .page h6 { margin: 0 0 .6rem; font-family: var(--font-head); color: var(--ink); }
.page a:not(.btn):not(.page-link):not(.nav-link):not(.car) { color: var(--red); }
.panel { background: var(--white); border: 1px solid var(--line); padding: 28px; box-shadow: var(--shadow); }
.page .card { border-radius: 0; border: 1px solid var(--line); box-shadow: var(--shadow); background: var(--white); }
.page .form-control, .page .form-select { border-radius: 0; border-color: var(--line); background-color: var(--bg-grey); min-height: 46px; }
.page .form-control:focus, .page .form-select:focus { border-color: var(--red); box-shadow: 0 0 0 .2rem color-mix(in srgb, var(--red) 18%, transparent); }
.page .form-check-input:checked { background-color: var(--red); border-color: var(--red); }
.page .btn-primary { background: var(--red); border-color: var(--red); color: var(--on-red); border-radius: 0; font-family: var(--font-head); font-weight: 700; text-transform: uppercase; letter-spacing: .05em; }
.page .btn-primary:hover { background: var(--red-dark); border-color: var(--red-dark); }
.page .btn-outline-primary { color: var(--slate); border: 2px solid var(--slate); background: transparent; border-radius: 0; font-family: var(--font-head); font-weight: 700; text-transform: uppercase; letter-spacing: .05em; }
.page .btn-outline-primary:hover { background: var(--slate); color: var(--white); }
.page .btn-outline-secondary { border-radius: 0; }
.nav-tabs { border-bottom: 1px solid var(--line); flex-wrap: wrap; }
.nav-tabs .nav-link { color: var(--muted); border: 0; border-bottom: 3px solid transparent; border-radius: 0; background: transparent; font-family: var(--font-head); font-weight: 700; text-transform: uppercase; letter-spacing: .04em; font-size: 13px; padding: .75rem 0 .9rem; margin-right: 1.75rem; }
.nav-tabs .nav-link:hover { color: var(--ink); border-color: var(--line); }
.nav-tabs .nav-link.active { color: var(--ink); border-color: var(--red); background: transparent; }
.page-link { color: var(--ink); border-radius: 0 !important; }
.page-item.active .page-link { background: var(--red); border-color: var(--red); color: var(--on-red); }
.text-primary, .text-success { color: var(--red) !important; }
.text-muted { color: var(--muted) !important; }
.badge-promo { display: inline-block; padding: 4px 12px; background: var(--red); color: var(--on-red); font-family: var(--font-head); font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; }

/* griglia auto (elenco + correlate) */
.cars { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.cars.car-grid .car { background: var(--white); box-shadow: var(--shadow); display: flex; flex-direction: column; transition: transform .2s; color: var(--muted); }
.cars.car-grid .car:hover { transform: translateY(-4px); }
.car__media { position: relative; aspect-ratio: 9 / 6.4; overflow: hidden; background: var(--bg-grey); }
.car__media img { width: 100%; height: 100%; object-fit: cover; }
.car__badge { position: absolute; left: 0; top: 16px; padding: 4px 12px; background: var(--red); color: var(--on-red); font-family: var(--font-head); font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; }
.car__body { padding: 20px 20px 0; text-align: center; flex: 1; }
.car__title { font-family: var(--font-head); font-size: 17px; font-weight: 700; color: var(--ink); margin-bottom: 14px; }
.car__specs { display: flex; justify-content: space-between; gap: 6px; padding: 12px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); font-size: 13px; flex-wrap: wrap; }
.car__specs li { display: inline-flex; align-items: center; gap: 5px; }
.car__specs i { color: var(--red); }
.car__price { padding: 14px 0 6px; font-family: var(--font-head); font-size: 22px; font-weight: 800; color: var(--red); }
.car__extra { padding-bottom: 14px; font-size: 13px; }
.car-grid.view-list { display: flex; flex-direction: column; gap: 16px; }
.view-list .car { flex-direction: row; }
.view-list .car__media { width: 280px; flex: 0 0 280px; aspect-ratio: auto; min-height: 190px; }
.view-list .car__body { display: flex; flex-direction: column; justify-content: center; text-align: left; padding: 20px 24px; }
.view-list .car__specs { justify-content: flex-start; gap: 18px; }
.view-toggle { display: inline-flex; gap: 4px; margin-bottom: 18px; }
.view-toggle-btn { width: 40px; height: 40px; border: 1px solid var(--line); background: var(--white); color: var(--ink); cursor: pointer; }
.view-toggle-btn.active, .view-toggle-btn:hover { background: var(--red); border-color: var(--red); color: var(--on-red); }
.filters { padding: 22px; }
.filters h2 { font-family: var(--font-head); font-size: 15px; text-transform: uppercase; letter-spacing: .06em; }
.filters .form-label { font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .05em; color: var(--ink); }

/* ---------- menu mobile ---------- */
@media (max-width: 1100px) {
  .header__phone { display: none; }
  .burger { display: block; }
  .mainnav { display: none; }
  .mainnav.is-open { display: flex; flex-direction: column; gap: 0; position: absolute; top: 100%; left: 0; right: 0; background: var(--white); padding: 12px 24px 20px; border-bottom: 1px solid var(--line); z-index: 60; margin: 0; }
  .mainnav.is-open a { padding: 14px 0; border-bottom: 1px solid var(--line); }
  .mainnav a::after { display: none; }
  .header__inner { position: relative; }
  .hero__panel { width: 78%; }
  .search__body { grid-template-columns: 1fr 1fr; }
  .welcome__grid, .services__grid { grid-template-columns: 1fr; }
  .featured { background: var(--bg-grey); }
  .cta__row { grid-template-columns: 1fr; gap: 20px; }
  .stats, .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .reviews { grid-template-columns: 1fr; }
  .contact { grid-template-columns: 1fr; }
  .contact__map, .contact__map img, .contact__map iframe { min-height: 320px; }
  .contact__body { padding: 64px 24px; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .cars { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 640px) {
  .topbar__info span:not(:first-child), .topbar__info a { display: none; }
  .topbar__info { gap: 12px; }
  .header__inner { min-height: 72px; }
  .hero { min-height: 560px; }
  .hero__slides img { object-position: 70% center; }
  .hero__panel { width: 100%; clip-path: none; background: rgba(31, 42, 55, .78); }
  .hero__content { padding-right: 24px; }
  .hero__dots { display: none; }
  .search-wrap { margin-top: 0; padding: 0; }
  .search__tab { min-width: 0; flex: 1; padding: 14px 8px; font-size: 13px; }
  .search__body { grid-template-columns: 1fr; padding: 20px; }
  .section { padding: 72px 0; }
  .head-row { flex-direction: column; align-items: flex-start; }
  .features, .tiles, .stats, .steps, .dual, .footer__grid, .cars { grid-template-columns: 1fr; }
  .dual__item { padding: 44px 24px; }
  .tile { min-height: 130px; }
  .view-list .car { flex-direction: column; }
  .view-list .car__media { width: 100%; flex-basis: auto; aspect-ratio: 9 / 6.4; }
  .footer__bottom-inner { flex-direction: column; }
}
