/* ==========================================================================
   Autosima Select – public site styles
   Hand-written, mobile-first. No framework, no build step.
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. Fonts (Poppins, self-hosted)
   -------------------------------------------------------------------------- */
@font-face { font-family: "Poppins"; font-style: normal; font-weight: 400; font-display: swap;
  src: url("../fonts/poppins-400-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02AF, U+0304, U+0308, U+0329, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Poppins"; font-style: normal; font-weight: 400; font-display: swap;
  src: url("../fonts/poppins-400-latin.woff2") format("woff2");
  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: "Poppins"; font-style: normal; font-weight: 500; font-display: swap;
  src: url("../fonts/poppins-500-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02AF, U+0304, U+0308, U+0329, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Poppins"; font-style: normal; font-weight: 500; font-display: swap;
  src: url("../fonts/poppins-500-latin.woff2") format("woff2");
  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: "Poppins"; font-style: normal; font-weight: 600; font-display: swap;
  src: url("../fonts/poppins-600-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02AF, U+0304, U+0308, U+0329, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Poppins"; font-style: normal; font-weight: 600; font-display: swap;
  src: url("../fonts/poppins-600-latin.woff2") format("woff2");
  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: "Poppins"; font-style: normal; font-weight: 700; font-display: swap;
  src: url("../fonts/poppins-700-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02AF, U+0304, U+0308, U+0329, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Poppins"; font-style: normal; font-weight: 700; font-display: swap;
  src: url("../fonts/poppins-700-latin.woff2") format("woff2");
  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; }

/* --------------------------------------------------------------------------
   2. Tokens
   -------------------------------------------------------------------------- */
:root {
  --black: #0F0F0F;
  --black-2: #1a1a1a;
  --red: #D71920;
  --red-dark: #b5141a;
  --gray-bg: #F2F2F2;
  --text: #0F0F0F;
  --text-2: #333333;
  --muted: #666666;
  --muted-2: #888888;
  --border: #e5e5e5;
  --input-border: #dddddd;
  --success: #1a8f4c;
  --wa: #1fa855;
  --white: #ffffff;

  --font: "Poppins", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --radius-sm: 8px;
  --radius: 14px;
  --radius-lg: 20px;
  --pill: 999px;
  --shadow-sm: 0 1px 2px rgba(15, 15, 15, .06);
  --shadow: 0 10px 30px rgba(15, 15, 15, .08);
  --shadow-lg: 0 20px 50px rgba(15, 15, 15, .18);

  --container: 1240px;
  --gutter: 16px;
  --section-y: 56px;
  --header-h: 64px;
  --ease: cubic-bezier(.2, .7, .2, 1);
}
@media (min-width: 768px) {
  :root { --gutter: 24px; --section-y: 72px; --header-h: 84px; }
}
@media (min-width: 1100px) {
  :root { --section-y: 88px; }
}

/* --------------------------------------------------------------------------
   3. Base
   -------------------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 16px); }
@media (max-width: 767px) { html { scroll-padding-bottom: calc(72px + env(safe-area-inset-bottom)); } }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.6;
  color: var(--text);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, svg, video, iframe { max-width: 100%; }
img { height: auto; display: block; }
h1, h2, h3, h4 { margin: 0 0 .5em; line-height: 1.2; font-weight: 700; letter-spacing: -.01em; }
p { margin: 0 0 1em; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 3px; transition: color .15s; }
a:hover { color: var(--red); }
ul, ol { margin: 0; padding: 0; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
[hidden] { display: none !important; }
:focus-visible { outline: 2px solid var(--red); outline-offset: 2px; border-radius: 4px; }
main:focus { outline: none; }
::selection { background: var(--red); color: #fff; }

.icon { width: 1.15em; height: 1.15em; flex: none; fill: none; vertical-align: -.2em; }
.icon--xl { width: 40px; height: 40px; }

/* Single-column grids: tracks may shrink below their content (long words, wide buttons) instead of overflowing. */
.car-layout, .car-details, .form-pair, .cert-block, .calc__grid, .calc__inputs, .contact-layout, .contact-side,
.finance-layout, .finance-aside, .verify, .visit, .stock, .teaser, .mini-grid, .steps, .hero__inner, .quick-search__form,
.form, .form__grid, .form__group, .site-footer__grid, .contact-cards, .card-grid--4, .faq, .spec-grid, .check-list,
.testimonial-grid, .partner-list, .consultants { grid-template-columns: minmax(0, 1fr); }

.container { width: 100%; max-width: calc(var(--container) + 2 * var(--gutter)); margin: 0 auto; padding: 0 var(--gutter); }
.container--narrow { max-width: calc(840px + 2 * var(--gutter)); }

.text-red { color: var(--red); }
.d-block { display: block; }
.sr-only {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}
.hp { position: absolute; left: -10000px; top: auto; width: 1px; height: 1px; overflow: hidden; }

.skip-link {
  position: absolute; left: 12px; top: -100px; z-index: 1000;
  background: var(--red); color: #fff; padding: 10px 16px; border-radius: var(--radius-sm); font-weight: 600;
}
.skip-link:focus { top: 12px; color: #fff; }

.kicker {
  margin: 0 0 12px; color: var(--red); font-size: 12px; font-weight: 600;
  letter-spacing: .18em; text-transform: uppercase;
}

/* --------------------------------------------------------------------------
   4. Buttons & links
   -------------------------------------------------------------------------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 44px; padding: 10px 22px;
  border: 1.5px solid transparent; border-radius: var(--pill);
  font-size: 15px; font-weight: 600; line-height: 1.2; text-align: center; text-decoration: none;
  cursor: pointer; transition: background-color .15s, border-color .15s, color .15s, transform .15s, box-shadow .15s;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: none; }
.btn[disabled], .btn.is-loading { opacity: .65; cursor: progress; transform: none; }
.btn--primary { background: var(--red); color: #fff; }
.btn--primary:hover { background: var(--red-dark); color: #fff; box-shadow: 0 6px 18px rgba(215, 25, 32, .3); }
.btn--secondary { background: var(--black); color: #fff; }
.btn--secondary:hover { background: #2a2a2a; color: #fff; }
.btn--outline-light { background: transparent; color: #fff; border-color: rgba(255, 255, 255, .4); }
.btn--outline-light:hover { border-color: #fff; color: #fff; background: rgba(255, 255, 255, .06); }
.btn--ghost { background: transparent; color: var(--text); border-color: var(--border); }
.btn--ghost:hover { border-color: var(--black); color: var(--text); }
.btn--wa { background: var(--wa); color: #fff; }
.btn--wa:hover { background: #178c45; color: #fff; }
.btn--sm { min-height: 40px; padding: 8px 16px; font-size: 14px; }
.btn--lg { min-height: 52px; padding: 14px 28px; font-size: 16px; }
.btn--block { display: flex; width: 100%; }
.btn--icon { padding: 0; width: 40px; flex: none; }
.btn--icon .icon { width: 20px; height: 20px; }
@media (max-width: 599px) { .btn--block-sm { width: 100%; } }

.btn-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 24px; }
.btn-row--tight { gap: 8px; margin-top: 12px; }
.btn-row--center { justify-content: center; }

.link-arrow { color: var(--red); font-weight: 600; text-decoration: none; white-space: nowrap; }
.link-arrow:hover { text-decoration: underline; }
.link-arrow--light { color: #fff; }
.link-btn { background: none; border: 0; padding: 0; color: inherit; text-decoration: underline; text-underline-offset: 3px; font-size: inherit; }
.link-btn:hover { color: var(--red); }

.icon-btn {
  display: inline-flex; align-items: center; justify-content: center;
  width: 44px; height: 44px; border-radius: 50%; border: 0;
  background: rgba(255, 255, 255, .1); color: inherit;
}
.icon-btn .icon { width: 22px; height: 22px; }

/* --------------------------------------------------------------------------
   5. Announcement, header & navigation
   -------------------------------------------------------------------------- */
.announcement { background: var(--red); color: #fff; font-size: 14px; font-weight: 500; text-align: center; padding: 8px 0; }

.site-header {
  position: sticky; top: 0; z-index: 100;
  background: var(--black); color: #fff;
  border-bottom: 1px solid rgba(255, 255, 255, .06);
}
.site-header__inner { display: flex; align-items: center; gap: 16px; min-height: var(--header-h); }

.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: #fff; flex: none; }
.brand:hover { color: #fff; }
.brand__logo { width: 52px; height: 52px; border-radius: 50%; object-fit: cover; background: #222; }
@media (min-width: 768px) { .site-header .brand__logo { width: 68px; height: 68px; } }
.site-footer .brand__logo { width: 84px; height: 84px; }
.brand__word { font-weight: 700; font-size: 17px; letter-spacing: .06em; white-space: nowrap; }

.site-nav { display: none; }
.site-nav__list { list-style: none; }
.site-nav__link { display: block; text-decoration: none; font-weight: 500; color: rgba(255, 255, 255, .86); }
.site-nav__link:hover, .site-nav__link.is-active { color: var(--red); }

.site-header__actions { display: flex; align-items: center; gap: 6px; margin-left: auto; }
.header-fav, .header-icon {
  position: relative; display: inline-flex; align-items: center; justify-content: center;
  width: 44px; height: 44px; border-radius: 50%; color: #fff; text-decoration: none;
}
.header-fav:hover, .header-icon:hover { color: var(--red); background: rgba(255, 255, 255, .06); }
.header-fav .icon, .header-icon .icon { width: 22px; height: 22px; }
.header-icon--wa { color: #3ad277; }
.header-fav__count {
  position: absolute; top: 4px; right: 2px; min-width: 18px; height: 18px; padding: 0 5px;
  border-radius: var(--pill); background: var(--red); color: #fff;
  font-size: 11px; font-weight: 700; line-height: 18px; text-align: center;
}
.header-phone { display: none; align-items: center; gap: 8px; color: #fff; text-decoration: none; font-weight: 600; white-space: nowrap; padding: 8px; }
.header-phone .icon { color: var(--red); }

.nav-toggle {
  display: inline-flex; align-items: center; justify-content: center;
  width: 44px; height: 44px; margin-right: -8px; border: 0; background: none; color: #fff;
}
.nav-toggle .icon { width: 26px; height: 26px; }
.nav-toggle__close { display: none; }
.nav-toggle[aria-expanded="true"] .nav-toggle__open { display: none; }
.nav-toggle[aria-expanded="true"] .nav-toggle__close { display: inline-flex; }
.nav-toggle__open, .nav-toggle__close { display: inline-flex; }
.nav-toggle[aria-expanded="false"] .nav-toggle__close { display: none; }

/* Mobile menu panel */
@media (max-width: 1099px) {
  .site-nav.is-open {
    display: block; position: fixed; left: 0; right: 0; top: var(--header-h); bottom: 0;
    background: var(--black); padding: 8px var(--gutter) 120px; overflow-y: auto;
    border-top: 1px solid rgba(255, 255, 255, .08);
    animation: slideDown .2s var(--ease);
  }
  .site-nav__link { padding: 16px 4px; font-size: 18px; border-bottom: 1px solid rgba(255, 255, 255, .08); }
  .site-nav__mobile-extra { display: grid; gap: 10px; margin-top: 24px; }
  body.nav-open { overflow: hidden; }
}
@keyframes slideDown { from { opacity: 0; transform: translateY(-8px); } to { opacity: 1; transform: none; } }

@media (min-width: 600px) {
  .header-phone { display: inline-flex; }
  .header-icon--wa { display: none; }
}
@media (max-width: 599px) {
  .brand__word { font-size: 15px; }
}
@media (max-width: 399px) {
  .brand__word { font-size: 13px; letter-spacing: .02em; }
  .header-icon--wa { display: none; } /* WhatsApp stays in the mobile bottom bar */
  .site-header__inner { gap: 10px; }
}
@media (max-width: 359px) {
  .brand__word { display: none; }
}
@media (min-width: 1100px) {
  .site-nav { display: block; margin: 0 auto; }
  .site-nav__list { display: flex; gap: 4px; }
  .site-nav__link { padding: 8px 12px; font-size: 15px; border-radius: var(--pill); }
  .site-nav__mobile-extra { display: none; }
  .site-header__actions { margin-left: 0; gap: 8px; }
  .nav-toggle { display: none; }
}
@media (min-width: 1100px) and (max-width: 1239px) {
  .site-nav__link { padding: 8px 10px; }
}

/* --------------------------------------------------------------------------
   6. Flash messages
   -------------------------------------------------------------------------- */
.flash-stack { display: grid; gap: 8px; margin-top: 16px; }
.flash {
  display: flex; align-items: flex-start; gap: 12px; padding: 14px 16px;
  border-radius: var(--radius-sm); border: 1px solid; font-weight: 500;
}
.flash p { margin: 0; flex: 1; }
.flash .icon { margin-top: 3px; }
.flash--success { background: #eaf7f0; border-color: #bfe5cf; color: #10603a; }
.flash--error { background: #fdecec; border-color: #f5c2c4; color: #8f1116; }
.flash--warning { background: #fff7e6; border-color: #f3dca8; color: #7a5300; }
.flash__close { border: 0; background: none; padding: 2px; color: inherit; opacity: .7; }
.flash__close:hover { opacity: 1; }

/* --------------------------------------------------------------------------
   7. Sections & headings
   -------------------------------------------------------------------------- */
.section { padding: var(--section-y) 0; }
.section--gray { background: var(--gray-bg); }
.section--tight { padding: calc(var(--section-y) / 2) 0; }
.section--flush { padding-bottom: 0; }
.section--top-0 { padding-top: 0; }
.section__head { margin-bottom: 32px; }
.section__head--center { text-align: center; max-width: 760px; margin-left: auto; margin-right: auto; }
.section__head--split { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 12px 24px; }
.section__head--split .section__title { margin: 0; }
.section__title { font-size: clamp(26px, 4vw, 40px); }
.section__title--sm { font-size: clamp(22px, 3vw, 28px); }
.section__title--light { color: #fff; }
.section__lead { color: var(--text-2); font-size: 17px; }
.section__more { margin: 32px 0 0; text-align: center; }

.page-head { padding: 24px 0 24px; }
.page-head__row { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; }
.page-title { font-size: clamp(28px, 4.5vw, 44px); margin-bottom: 8px; }
.page-lead { color: var(--text-2); font-size: 17px; max-width: 720px; }

.breadcrumb { font-size: 13px; color: var(--muted); margin-bottom: 12px; }
.breadcrumb ol { list-style: none; display: flex; flex-wrap: wrap; gap: 4px; }
.breadcrumb li + li::before { content: "/"; margin: 0 6px 0 2px; color: var(--muted-2); }
.breadcrumb a { text-decoration: none; }
.breadcrumb a:hover { color: var(--red); }
.breadcrumb [aria-current] { color: var(--text-2); font-weight: 500; }
.breadcrumb--light { color: rgba(255, 255, 255, .7); }
.breadcrumb--light [aria-current] { color: #fff; }

/* --------------------------------------------------------------------------
   8. Home hero & quick search
   -------------------------------------------------------------------------- */
.hero { position: relative; color: #fff; background: var(--black); overflow: hidden; }
.hero__bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero__overlay { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(15, 15, 15, .15) 0%, rgba(15, 15, 15, .92) 88%); }
.hero__inner { position: relative; display: grid; gap: 32px; padding-top: 120px; padding-bottom: 48px; }
.hero__title { font-size: clamp(34px, 6.5vw, 64px); line-height: 1.08; margin-bottom: 16px; }
.hero__subtitle { font-size: clamp(16px, 2vw, 19px); color: rgba(255, 255, 255, .85); max-width: 620px; }
.hero__note { margin: 20px 0 0; font-size: 13px; color: rgba(255, 255, 255, .7); letter-spacing: .02em; }

.quick-search {
  background: rgba(255, 255, 255, .97); color: var(--text);
  border-radius: var(--radius-lg); padding: 20px; box-shadow: var(--shadow-lg);
}
.quick-search__count { display: flex; align-items: center; gap: 10px; margin: 0 0 14px; font-size: 15px; color: var(--text-2); }
.quick-search__count strong { font-size: 22px; color: var(--text); }
.quick-search__form { display: grid; gap: 12px; }
.quick-search__form .btn { align-self: end; }
.live-dot { width: 10px; height: 10px; border-radius: 50%; background: var(--success); box-shadow: 0 0 0 0 rgba(26, 143, 76, .5); animation: pulse 2s infinite; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(26, 143, 76, .5); } 70% { box-shadow: 0 0 0 10px rgba(26, 143, 76, 0); } 100% { box-shadow: 0 0 0 0 rgba(26, 143, 76, 0); } }

@media (min-width: 700px) {
  .quick-search__form { grid-template-columns: 1fr 1fr; }
}
@media (min-width: 1000px) {
  .hero__inner { grid-template-columns: minmax(0, 1.4fr) minmax(320px, 1fr); align-items: end; padding-top: 180px; padding-bottom: 72px; min-height: 640px; }
  .quick-search { padding: 24px; }
  .quick-search__form { grid-template-columns: 1fr; }
}

/* --------------------------------------------------------------------------
   9. Trust band
   -------------------------------------------------------------------------- */
.trust-band { background: var(--gray-bg); border-top: 3px solid var(--red); }
.trust-band__list { list-style: none; display: flex; flex-wrap: wrap; justify-content: center; gap: 12px 28px; padding-top: 18px; padding-bottom: 18px; }
.trust-band__item { display: inline-flex; align-items: center; gap: 10px; font-size: 13px; font-weight: 600; letter-spacing: .06em; }
.trust-band__item--normal { letter-spacing: 0; font-size: 14px; }
.trust-band--dark { background: var(--black-2); color: #fff; }
@media (max-width: 599px) {
  /* One aligned column instead of ragged centred rows. */
  .trust-band__list { flex-direction: column; align-items: flex-start; gap: 10px; }
}
.tick {
  display: inline-flex; align-items: center; justify-content: center; flex: none;
  width: 22px; height: 22px; border-radius: 50%; background: var(--red); color: #fff;
}
.tick .icon { width: 13px; height: 13px; }

/* --------------------------------------------------------------------------
   10. Feature grid, steps, teasers
   -------------------------------------------------------------------------- */
.icon-circle {
  display: inline-flex; align-items: center; justify-content: center; flex: none;
  width: 56px; height: 56px; border-radius: 50%; border: 2px solid var(--red); color: var(--red); background: #fff;
}
.icon-circle .icon { width: 24px; height: 24px; }
.icon-circle--solid { background: var(--red); color: #fff; }

.feature-grid { list-style: none; display: grid; gap: 16px; grid-template-columns: minmax(0, 1fr); }
.feature {
  padding: 24px; border: 1px solid var(--border); border-radius: var(--radius); background: #fff;
  transition: box-shadow .2s, transform .2s;
}
.feature:hover { box-shadow: var(--shadow); transform: translateY(-2px); }
.feature__title { margin: 16px 0 6px; font-size: 15px; letter-spacing: .08em; }
.feature__text { margin: 0; color: var(--text-2); font-size: 15px; }
@media (min-width: 360px) { .feature-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 360px) and (max-width: 599px) {
  .feature-grid { gap: 12px; }
  .feature { padding: 18px 14px; }
  .feature .icon-circle { width: 46px; height: 46px; }
  .feature__title { font-size: 13px; letter-spacing: .04em; overflow-wrap: anywhere; }
  .feature__text { font-size: 14px; }
}
@media (min-width: 1000px) { .feature-grid { grid-template-columns: repeat(5, 1fr); } .feature { padding: 24px 20px; } }

.steps { list-style: none; display: grid; gap: 16px; counter-reset: step; }
.step { position: relative; padding: 28px 24px; background: #fff; border: 1px solid var(--border); border-radius: var(--radius); }
.section--gray .step { border-color: transparent; }
.step__num {
  display: inline-flex; align-items: center; justify-content: center;
  width: 44px; height: 44px; border-radius: 50%; background: var(--black); color: #fff; font-weight: 700; font-size: 18px; margin-bottom: 16px;
}
.step__title { font-size: 19px; }
.step__text { margin: 0; color: var(--text-2); }
@media (min-width: 800px) { .steps { grid-template-columns: repeat(3, 1fr); gap: 24px; } }

.teaser {
  display: grid; gap: 16px; align-items: center;
  padding: 28px; border-radius: var(--radius-lg); background: var(--gray-bg); border-left: 4px solid var(--red);
}
.teaser__title { font-size: clamp(20px, 2.6vw, 26px); margin-bottom: 6px; }
.teaser__text p { margin: 0; color: var(--text-2); }
@media (min-width: 800px) { .teaser { grid-template-columns: auto 1fr auto; padding: 32px 40px; gap: 28px; } }

.dark-block { background: var(--black); color: #fff; border-radius: var(--radius-lg); padding: 28px; overflow: hidden; }
.dark-block p { color: rgba(255, 255, 255, .8); }

.cert-block { display: grid; gap: 28px; align-items: center; }
.cert-block__media img { width: min(280px, 70%); margin: 0 auto; border-radius: 10px; box-shadow: 0 20px 50px rgba(0, 0, 0, .5); transform: rotate(2deg); }
.cert-mini { list-style: none; display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 8px 16px; margin: 0 0 24px; font-size: 14px; }
.cert-mini li { display: flex; gap: 8px; align-items: center; }
.cert-mini .icon { color: var(--red); }
@media (min-width: 900px) {
  .cert-block { grid-template-columns: 1.5fr 1fr; padding: 56px; }
  .cert-block--compact { padding: 40px; }
}

.cert-points { list-style: none; display: grid; gap: 0; margin: 16px 0 20px; }
.cert-points li { display: flex; justify-content: space-between; gap: 16px; padding: 10px 0; border-bottom: 1px solid rgba(255, 255, 255, .12); font-size: 15px; }
.cert-points li > span:first-child { display: inline-flex; gap: 10px; align-items: center; }
.cert-points .icon { color: var(--red); }
.cert-points__n { font-weight: 600; white-space: nowrap; }
.cert-points--light li { border-bottom-color: var(--border); }

.cta-final { background: var(--black); color: #fff; padding: var(--section-y) 0; text-align: center; }
.cta-final__title { font-size: clamp(28px, 4.5vw, 44px); }
.cta-final p { color: rgba(255, 255, 255, .75); }

/* --------------------------------------------------------------------------
   11. Chips, badges, prices
   -------------------------------------------------------------------------- */
.chips { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; }
.chip {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 5px 12px; border-radius: var(--pill); background: var(--gray-bg); color: var(--text-2);
  font-size: 13px; font-weight: 500; line-height: 1.4; text-decoration: none; white-space: nowrap;
}
.chips--sm .chip { padding: 3px 10px; font-size: 12px; }
.chip--accent { background: #fdecec; color: var(--red); }
.chip--icon .icon { color: var(--red); }
.chip--link { min-height: 36px; border: 1px solid transparent; }
.chip--link:hover { border-color: var(--black); color: var(--text); }
.chip--link.is-active { background: var(--black); color: #fff; }
.chip__n { color: var(--muted-2); font-size: 12px; }
.chip--link.is-active .chip__n { color: rgba(255, 255, 255, .6); }
.chip--removable { background: #fff; border: 1px solid var(--border); min-height: 36px; }
.chip--removable span { font-size: 18px; line-height: 1; color: var(--red); }
.chip--removable:hover { border-color: var(--red); color: var(--red); }

.badge {
  display: inline-block; padding: 5px 10px; border-radius: 6px;
  background: var(--red); color: #fff; font-size: 11px; font-weight: 700; letter-spacing: .1em; line-height: 1.2;
}
.badge--dark { background: var(--black); }

.price { font-size: 22px; font-weight: 700; color: var(--text); line-height: 1.2; }
.price--lg { font-size: clamp(30px, 4vw, 38px); }
.price-old { color: var(--muted-2); font-size: 15px; }

.tags { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; margin: 8px 0 0; }
.tag { padding: 4px 10px; border: 1px solid var(--border); border-radius: 6px; font-size: 12px; font-weight: 600; color: var(--text-2); }

/* --------------------------------------------------------------------------
   12. Car cards & grid
   -------------------------------------------------------------------------- */
.car-grid { display: grid; gap: 20px; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 600px) { .car-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .car-grid { grid-template-columns: repeat(3, 1fr); gap: 24px; } }
@media (min-width: 1200px) { .car-grid:not(.car-grid--stock):not(.car-grid--3) { grid-template-columns: repeat(4, 1fr); } }
@media (min-width: 1000px) and (max-width: 1199px) { .car-grid--stock { grid-template-columns: repeat(2, 1fr); } }

.car-card {
  display: flex; flex-direction: column; overflow: hidden;
  background: #fff; border: 1px solid var(--border); border-radius: var(--radius);
  transition: box-shadow .2s, transform .2s;
}
.car-card:hover { box-shadow: var(--shadow); transform: translateY(-3px); }
.car-card__media { position: relative; aspect-ratio: 4 / 3; background: #eaeaea; overflow: hidden; }
.car-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s var(--ease); }
.car-card:hover .car-card__media img { transform: scale(1.04); }
.car-card__badge { position: absolute; top: 12px; left: 12px; }
.car-card--reserved .car-card__media img { filter: grayscale(.35); }

.fav-btn {
  display: inline-flex; align-items: center; justify-content: center;
  width: 44px; height: 44px; border: 0; border-radius: 50%;
  background: rgba(255, 255, 255, .95); color: var(--text); box-shadow: var(--shadow-sm);
  transition: transform .15s, color .15s;
}
.fav-btn .icon { width: 22px; height: 22px; }
.fav-btn:hover { color: var(--red); transform: scale(1.06); }
.fav-btn[aria-pressed="true"] { color: var(--red); }
.fav-btn[aria-pressed="true"] .icon { fill: currentColor; }
.car-card__fav { position: absolute; top: 8px; right: 8px; }

.car-card__body { display: flex; flex-direction: column; gap: 10px; padding: 16px 18px 18px; flex: 1; }
.car-card__brand { margin: 0; color: var(--red); font-size: 12px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.car-card__title { margin: -6px 0 0; font-size: 17px; font-weight: 600; line-height: 1.35; }
.car-card__title a { text-decoration: none; }
.car-card__title a::after { content: none; }
.car-card__price { display: flex; align-items: baseline; flex-wrap: wrap; gap: 4px 10px; margin-top: auto; padding-top: 6px; }
.car-card__rate { margin: -6px 0 0; font-size: 13px; color: var(--muted); }
.car-card__rate strong { color: var(--text); }
.car-card__actions { display: flex; gap: 8px; margin-top: 4px; }
.car-card__actions .btn:not(.btn--icon) { flex: 1; padding-left: 10px; padding-right: 10px; }

/* --------------------------------------------------------------------------
   13. Empty states & skeletons
   -------------------------------------------------------------------------- */
.empty-state {
  text-align: center; padding: 48px 24px; border: 1px dashed #d6d6d6; border-radius: var(--radius); background: #fff;
}
.empty-state h2, .empty-state h3 { margin: 16px 0 8px; font-size: 22px; }
.empty-state p { color: var(--text-2); max-width: 520px; margin: 0 auto 20px; }

.skeleton { border-radius: var(--radius); background: linear-gradient(90deg, #eee 25%, #f6f6f6 50%, #eee 75%); background-size: 200% 100%; animation: shimmer 1.2s infinite; min-height: 360px; }
@keyframes shimmer { from { background-position: 200% 0; } to { background-position: -200% 0; } }

/* --------------------------------------------------------------------------
   14. Forms
   -------------------------------------------------------------------------- */
.form { display: grid; gap: 20px; }
.form__group { border: 0; padding: 0; margin: 0; display: grid; gap: 14px; min-width: 0; }
.form__legend { padding: 0; margin-bottom: 4px; font-weight: 700; font-size: 16px; }
.visit-fields { padding: 16px; border: 1px solid var(--border); border-radius: var(--radius); background: var(--gray-bg); }
.visit-fields .form__legend { display: inline-flex; align-items: center; gap: 8px; margin-bottom: 8px; }
.visit-fields .form__legend .icon { color: var(--red); }
.visit-fields .form__legend .field__opt { font-size: 14px; }
input[type="date"].field__control { appearance: none; -webkit-appearance: none; min-width: 0; }
.form__grid { display: grid; gap: 14px; }
@media (min-width: 600px) {
  .form__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .form__grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
.form__alert { padding: 12px 16px; border-radius: var(--radius-sm); background: #fdecec; border: 1px solid #f5c2c4; color: #8f1116; font-weight: 500; }
.form__note { margin: 0; font-size: 13px; color: var(--muted); }

.field { display: grid; gap: 6px; min-width: 0; }
.field__label { font-size: 14px; font-weight: 600; color: var(--text-2); }
.field__opt { font-weight: 400; color: var(--muted-2); }
.req { color: var(--red); }
.field__control {
  width: 100%; min-height: 48px; padding: 11px 14px;
  border: 1px solid var(--input-border); border-radius: var(--radius-sm); background: #fff;
  font-size: 16px; line-height: 1.4; transition: border-color .15s, box-shadow .15s;
}
.field__control--sm { min-height: 42px; padding: 8px 12px; font-size: 14px; }
textarea.field__control { min-height: 110px; resize: vertical; }
select.field__control {
  appearance: none; -webkit-appearance: none; padding-right: 40px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='none' stroke='%23333' stroke-width='1.8' d='M1 1.5l5 5 5-5'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 14px center;
}
.field__control:focus { outline: none; border-color: var(--black); box-shadow: 0 0 0 3px rgba(15, 15, 15, .08); }
.field__control:disabled { background-color: #f7f7f7; color: var(--muted-2); }
.field__control::placeholder { color: #9a9a9a; }
.has-error .field__control, .field__control[aria-invalid="true"] { border-color: var(--red); }
.has-error .field__control:focus { box-shadow: 0 0 0 3px rgba(215, 25, 32, .12); }
.field__error { margin: 0; color: var(--red); font-size: 13px; font-weight: 500; }
.field-pair { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }

.radio-row { display: flex; flex-wrap: wrap; gap: 8px; }
.radio { position: relative; display: inline-flex; }
.radio input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.radio span {
  display: inline-flex; align-items: center; min-height: 44px; padding: 8px 18px;
  border: 1px solid var(--input-border); border-radius: var(--pill); font-weight: 500; font-size: 15px; background: #fff;
}
.radio input:checked + span { background: var(--black); border-color: var(--black); color: #fff; }
.radio input:focus-visible + span { outline: 2px solid var(--red); outline-offset: 2px; }

.check { display: flex; gap: 12px; align-items: flex-start; font-size: 14px; color: var(--text-2); cursor: pointer; }
.check input { width: 22px; height: 22px; margin: 1px 0 0; flex: none; accent-color: var(--red); }
.check a { color: var(--red); }
.field--check { gap: 4px; }
.has-error .check { color: var(--red); }

.range { width: 100%; accent-color: var(--red); height: 32px; cursor: pointer; }

.form-card { background: #fff; border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 24px; }
.form-card__lead { color: var(--muted); margin-bottom: 20px; }
@media (min-width: 768px) { .form-card { padding: 36px; } }

.search-inline { display: flex; gap: 8px; max-width: 480px; margin: 24px auto 0; }
.search-inline .btn { flex: none; width: 48px; padding: 0; min-height: 48px; }

/* --------------------------------------------------------------------------
   15. Stock page: filters, toolbar, pagination
   -------------------------------------------------------------------------- */
.brand-chips { list-style: none; display: flex; gap: 8px; margin-top: 16px; overflow-x: auto; padding-bottom: 4px; scrollbar-width: thin; }
.stock { display: grid; gap: 24px; padding-bottom: var(--section-y); }
.stock__results { min-width: 0; }

.filters { background: #fff; }
.filters__head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 16px; }
.filters__title { display: flex; align-items: center; gap: 8px; margin: 0; font-size: 18px; }
.filters__title .icon { color: var(--red); }
.filters__close { background: var(--gray-bg); color: var(--text); }
.filters__form { display: grid; gap: 14px; }
.filters__actions {
  display: grid; gap: 8px; margin-top: 6px; padding: 12px 0 4px;
  position: sticky; bottom: 0; z-index: 1; background: #fff; box-shadow: 0 -10px 12px -10px rgba(15, 15, 15, .15);
}
.filters-backdrop { position: fixed; inset: 0; background: rgba(0, 0, 0, .5); z-index: 140; }

@media (max-width: 999px) {
  .filters {
    position: fixed; top: 0; bottom: 0; left: 0; z-index: 150;
    width: min(380px, 92vw); padding: 20px var(--gutter) 32px; overflow-y: auto;
    transform: translateX(-105%); transition: transform .25s var(--ease); visibility: hidden;
    box-shadow: var(--shadow-lg);
  }
  .filters.is-open { transform: none; visibility: visible; }
  body.filters-open { overflow: hidden; }
}
@media (min-width: 1000px) {
  .stock { grid-template-columns: 280px minmax(0, 1fr); gap: 32px; align-items: start; }
  .filters {
    position: sticky; top: calc(var(--header-h) + 16px);
    max-height: calc(100vh - var(--header-h) - 32px); overflow-y: auto;
    padding: 20px; border: 1px solid var(--border); border-radius: var(--radius);
  }
  .filters__close, .filters-backdrop, .toolbar__filters { display: none !important; }
}

.toolbar { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin-bottom: 16px; }
.toolbar__count { margin: 0 auto 0 0; font-size: 16px; font-weight: 500; color: var(--text-2); }
.toolbar__count strong { color: var(--text); font-weight: 700; }
.toolbar__sort { display: flex; gap: 8px; }
.toolbar__sort select { width: auto; min-width: 200px; }
@media (max-width: 599px) {
  .toolbar__count { order: -1; width: 100%; }
  .toolbar__sort { flex: 1; }
  .toolbar__sort select { min-width: 0; }
}

.active-filters { list-style: none; display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-bottom: 20px; }
.link-reset { color: var(--red); font-weight: 600; font-size: 14px; padding: 8px 4px; }

.pagination { display: flex; justify-content: center; align-items: center; gap: 6px; margin-top: 40px; flex-wrap: wrap; }
.pagination__list { list-style: none; display: flex; gap: 6px; flex-wrap: wrap; }
.pagination__link {
  display: inline-flex; align-items: center; justify-content: center;
  min-width: 44px; height: 44px; padding: 0 12px; border-radius: var(--pill);
  border: 1px solid var(--border); background: #fff; text-decoration: none; font-weight: 600;
}
.pagination__link:hover { border-color: var(--black); color: var(--text); }
.pagination__link.is-current { background: var(--black); border-color: var(--black); color: #fff; }
.pagination__gap { display: inline-flex; align-items: center; height: 44px; padding: 0 4px; color: var(--muted-2); }

/* --------------------------------------------------------------------------
   16. Car detail page
   -------------------------------------------------------------------------- */
.car-page { padding-top: 20px; }
.sold-banner {
  display: flex; gap: 14px; align-items: center; margin-bottom: 20px; padding: 16px 20px;
  background: var(--black); color: #fff; border-radius: var(--radius); border-left: 4px solid var(--red);
}
.sold-banner .icon { color: var(--red); width: 26px; height: 26px; }
.sold-banner strong { display: block; font-size: 17px; }
.sold-banner a { color: #fff; }
.sold-banner--draft { background: #fff7e6; color: #7a5300; border-left-color: #e0a100; display: block; }

.car-layout { display: grid; gap: 24px; }
.car-layout__main { min-width: 0; }
@media (min-width: 1000px) {
  .car-layout { grid-template-columns: minmax(0, 1fr) 400px; gap: 40px; align-items: start; }
  .car-summary { position: sticky; top: calc(var(--header-h) + 16px); }
}

.gallery__main {
  position: relative; display: block; width: 100%; padding: 0; border: 0;
  aspect-ratio: 4 / 3; border-radius: var(--radius); overflow: hidden; background: #eaeaea; cursor: zoom-in;
}
.gallery__main img { width: 100%; height: 100%; object-fit: cover; }
.gallery__main--empty { cursor: default; }
.gallery__badge { position: absolute; top: 14px; left: 14px; }
.gallery__count {
  position: absolute; right: 14px; bottom: 14px; display: inline-flex; align-items: center; gap: 6px;
  padding: 6px 12px; border-radius: var(--pill); background: rgba(15, 15, 15, .75); color: #fff; font-size: 13px; font-weight: 600;
}
.gallery__soon { position: absolute; left: 50%; bottom: 20px; transform: translateX(-50%); font-weight: 600; color: var(--muted); }
.gallery__thumbs {
  list-style: none; display: flex; gap: 8px; margin-top: 10px; overflow-x: auto;
  scroll-snap-type: x mandatory; padding-bottom: 6px; scrollbar-width: thin;
}
.gallery__thumb {
  display: block; width: 96px; aspect-ratio: 4 / 3; padding: 0; border: 2px solid transparent;
  border-radius: 8px; overflow: hidden; background: #eaeaea; scroll-snap-align: start; opacity: .75; transition: opacity .15s, border-color .15s;
}
.gallery__thumb img { width: 100%; height: 100%; object-fit: cover; }
.gallery__thumb:hover, .gallery__thumb.is-active { opacity: 1; border-color: var(--red); }
@media (min-width: 768px) { .gallery__thumb { width: 116px; } }

.lightbox {
  position: fixed; inset: 0; z-index: 500; display: flex; align-items: center; justify-content: center;
  background: rgba(10, 10, 10, .96); color: #fff; touch-action: pan-y;
}
.lightbox__figure { margin: 0; width: 100%; height: 100%; display: flex; align-items: center; justify-content: center; padding: 64px 8px; }
.lightbox__figure img { max-width: 100%; max-height: 100%; object-fit: contain; user-select: none; -webkit-user-drag: none; }
.lightbox__close { position: absolute; top: 12px; right: 12px; z-index: 2; }
.lightbox__nav { position: absolute; top: 50%; transform: translateY(-50%); z-index: 2; width: 52px; height: 52px; }
.lightbox__nav--prev { left: 8px; }
.lightbox__nav--next { right: 8px; }
.lightbox .icon-btn:hover { background: var(--red); }
.lightbox__counter { position: absolute; bottom: 16px; left: 0; right: 0; margin: 0; text-align: center; font-weight: 600; font-size: 14px; color: rgba(255, 255, 255, .85); }
body.lightbox-open { overflow: hidden; }
@media (min-width: 768px) { .lightbox__nav--prev { left: 24px; } .lightbox__nav--next { right: 24px; } .lightbox__figure { padding: 64px 100px; } }

.car-summary { background: #fff; border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 24px; }
.car-summary__brand { margin: 0; color: var(--red); font-size: 13px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; }
.car-summary__title { font-size: clamp(24px, 3vw, 30px); margin: 0 0 4px; }
.car-summary__title .car-summary__brand { display: block; margin-bottom: 4px; line-height: 1.4; }
.car-summary__subtitle { color: var(--muted); font-size: 14px; margin-bottom: 16px; }
.car-summary__price { display: flex; align-items: baseline; flex-wrap: wrap; gap: 4px 12px; }
.car-summary__rate { margin: 10px 0 0; padding: 10px 14px; background: var(--gray-bg); border-radius: var(--radius-sm); font-size: 15px; }
.car-summary__rate strong { color: var(--red); }
.car-summary .chips { margin: 16px 0; }
.car-summary__ctas { display: grid; gap: 10px; margin-top: 16px; }
.car-summary__tools { display: flex; gap: 8px; margin-top: 14px; }
.badge-list { list-style: none; display: grid; gap: 6px; margin-bottom: 12px; font-size: 14px; font-weight: 500; }
.badge-list li { display: flex; gap: 8px; align-items: center; }
.badge-list .icon { color: var(--success); }
.verified-line {
  display: flex; align-items: center; gap: 8px; margin: 0; padding: 10px 0;
  border-top: 1px solid var(--border); border-bottom: 1px solid var(--border);
  font-size: 13px; font-weight: 700; letter-spacing: .08em;
}
.verified-line .icon { color: var(--red); width: 20px; height: 20px; }
.tool-btn {
  flex: 1; display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px;
  border: 1px solid var(--border); border-radius: var(--pill); background: #fff; font-weight: 500; font-size: 14px; color: var(--text);
}
.tool-btn:hover { border-color: var(--black); }
.fav-btn--inline { width: auto; height: auto; box-shadow: none; transform: none !important; }
.fav-btn--inline .icon { width: 18px; height: 18px; }
.footnote { margin: 12px 0 0; font-size: 12px; color: var(--muted); line-height: 1.5; }

.car-details { display: grid; gap: 20px; margin-top: 32px; }
.car-section { border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 24px; scroll-margin-top: calc(var(--header-h) + 16px); }
.car-section.dark-block { border: 0; }
.car-section__title { font-size: clamp(20px, 2.4vw, 24px); margin-bottom: 18px; }
@media (min-width: 768px) { .car-section { padding: 32px; } }

.spec-grid { display: grid; grid-template-columns: 1fr; margin: 0; }
.spec { display: flex; justify-content: space-between; gap: 16px; padding: 12px 0; border-bottom: 1px solid var(--border); }
.spec dt { color: var(--muted); font-size: 14px; }
.spec dd { margin: 0; font-weight: 600; text-align: right; font-size: 15px; }
@media (min-width: 700px) { .spec-grid { grid-template-columns: 1fr 1fr; column-gap: 40px; } }

.check-list { list-style: none; display: grid; gap: 8px; }
.check-list li { display: flex; gap: 10px; align-items: flex-start; font-size: 15px; }
.check-list .icon { color: var(--red); margin-top: 4px; }
@media (min-width: 600px) { .check-list--cols { grid-template-columns: repeat(2, 1fr); column-gap: 24px; } }
@media (min-width: 1000px) { .check-list--cols { grid-template-columns: repeat(3, 1fr); } }

.video__btn { position: relative; display: block; width: 100%; aspect-ratio: 16 / 9; padding: 0; border: 0; border-radius: var(--radius); overflow: hidden; background: #000; }
.video__btn img { width: 100%; height: 100%; object-fit: cover; opacity: .85; }
.video__play {
  position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
  display: flex; align-items: center; justify-content: center; width: 76px; height: 76px; border-radius: 50%; background: var(--red); color: #fff;
  transition: transform .2s;
}
.video__btn:hover .video__play { transform: translate(-50%, -50%) scale(1.08); }
.video__play .icon { width: 30px; height: 30px; margin-left: 4px; fill: currentColor; }
.video__label { position: absolute; left: 16px; bottom: 14px; color: #fff; font-weight: 600; font-size: 14px; text-shadow: 0 1px 4px rgba(0, 0, 0, .6); }
.video__note { margin: 8px 0 0; font-size: 12px; color: var(--muted); }
.video iframe { display: block; width: 100%; aspect-ratio: 16 / 9; height: auto; border: 0; border-radius: var(--radius); }

.mini-grid { list-style: none; display: grid; gap: 16px; }
.mini-card h3 { margin: 10px 0 4px; font-size: 14px; letter-spacing: .06em; }
.mini-card p { margin: 0; font-size: 14px; color: var(--text-2); }
@media (min-width: 600px) { .mini-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .mini-grid { grid-template-columns: repeat(4, 1fr); } }

.calc__grid { display: grid; gap: 24px; }
.calc__inputs { display: grid; gap: 18px; }
.calc__result { background: var(--black); color: #fff; border-radius: var(--radius); padding: 24px; display: grid; gap: 8px; align-content: center; }
.calc__label { margin: 0; font-size: 13px; letter-spacing: .1em; text-transform: uppercase; color: rgba(255, 255, 255, .7); }
.calc__value { margin: 0; font-size: clamp(36px, 5vw, 48px); font-weight: 700; line-height: 1.1; }
.calc__value span { font-size: 18px; font-weight: 500; color: rgba(255, 255, 255, .7); }
.calc__meta { margin: 0 0 8px; font-size: 13px; color: rgba(255, 255, 255, .7); }
@media (min-width: 800px) { .calc__grid { grid-template-columns: 1.2fr 1fr; gap: 32px; } }

.form-pair { display: grid; gap: 20px; }
.form-pair .form-card { scroll-margin-top: calc(var(--header-h) + 16px); }
@media (min-width: 1100px) { .form-pair { grid-template-columns: 1.3fr 1fr; align-items: start; } }

/* --------------------------------------------------------------------------
   17. Inner page heroes, info cards, FAQ
   -------------------------------------------------------------------------- */
.page-hero { position: relative; overflow: hidden; color: #fff; background: var(--black); }
.page-hero__inner { position: relative; padding-top: 40px; padding-bottom: 56px; }
.page-hero__title { font-size: clamp(32px, 5.5vw, 56px); line-height: 1.1; margin-bottom: 14px; }
.page-hero__lead { font-size: clamp(16px, 2vw, 19px); color: rgba(255, 255, 255, .82); max-width: 680px; }
.page-hero--image .page-hero__inner { padding-top: 120px; padding-bottom: 56px; min-height: 360px; display: flex; flex-direction: column; justify-content: flex-end; }
.page-hero__bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.page-hero__overlay { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(15, 15, 15, .2) 0%, rgba(15, 15, 15, .9) 90%); }
@media (min-width: 1000px) { .page-hero__inner { padding-top: 56px; padding-bottom: 80px; } .page-hero--image .page-hero__inner { min-height: 460px; } }

.finance-layout { display: grid; gap: 24px; }
.finance-aside { display: grid; gap: 20px; align-content: start; }
@media (min-width: 1000px) { .finance-layout { grid-template-columns: minmax(0, 1fr) 360px; gap: 32px; align-items: start; } .finance-aside { position: sticky; top: calc(var(--header-h) + 16px); } }

.info-card { background: #fff; border: 1px solid var(--border); border-radius: var(--radius); padding: 24px; }
.info-card__title { display: flex; align-items: center; gap: 10px; font-size: 18px; }
.info-card__title .icon { color: var(--red); }
.info-card--dark { background: var(--black); color: #fff; border-color: var(--black); }
.info-card--dark p { color: rgba(255, 255, 255, .8); }

.selected-car { background: #fff; border: 2px solid var(--red); border-radius: var(--radius); padding: 16px; }
.selected-car__label { margin: 0 0 10px; font-size: 12px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--red); }
.selected-car__media { display: block; aspect-ratio: 4 / 3; overflow: hidden; border-radius: 10px; margin-bottom: 12px; background: #eaeaea; }
.selected-car__media img { width: 100%; height: 100%; object-fit: cover; }
.selected-car__title { font-size: 18px; margin: 2px 0 4px; }
.selected-car__title a { text-decoration: none; }
.selected-car__meta { font-size: 13px; color: var(--muted); margin-bottom: 8px; }
.selected-car .car-card__rate { margin: 6px 0 0; }

.card-grid--4 { list-style: none; display: grid; gap: 16px; }
@media (min-width: 600px) { .card-grid--4 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .card-grid--4 { grid-template-columns: repeat(4, 1fr); gap: 20px; } }
.info-tile { background: #fff; border-radius: var(--radius); padding: 24px; }
.info-tile__title { margin: 16px 0 6px; font-size: 17px; }
.info-tile p { margin: 0; color: var(--text-2); font-size: 15px; }

.faq { display: grid; gap: 10px; }
.faq__item { border: 1px solid var(--border); border-radius: var(--radius); background: #fff; overflow: hidden; }
.faq__item[open] { border-color: #cfcfcf; box-shadow: var(--shadow-sm); }
.faq__q {
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
  padding: 18px 20px; min-height: 44px; font-weight: 600; cursor: pointer; list-style: none;
}
.faq__q::-webkit-details-marker { display: none; }
.faq__q::after { content: "+"; flex: none; font-size: 24px; font-weight: 400; line-height: 1; color: var(--red); transition: transform .2s; }
.faq__item[open] .faq__q::after { transform: rotate(45deg); }
.faq__a { padding: 0 20px 18px; color: var(--text-2); }
.faq__a p { margin: 0; }

.center-note { text-align: center; margin-top: 20px; color: var(--muted); }
.center-note a { color: var(--red); font-weight: 600; }

/* About */
.prose--lead { font-size: 18px; color: var(--text-2); }
.verify { display: grid; gap: 32px; align-items: center; }
.verify__media img { width: min(320px, 80%); margin: 0 auto; border-radius: 10px; box-shadow: var(--shadow-lg); }
@media (min-width: 900px) { .verify { grid-template-columns: 1.4fr 1fr; gap: 56px; } }
.photo-guide { width: 100%; border-radius: var(--radius); background: var(--gray-bg); }
.visit { display: grid; gap: 24px; align-items: center; }
@media (min-width: 900px) { .visit { grid-template-columns: 1fr auto; padding: 48px; } }

/* Contact */
.contact-cards { list-style: none; display: grid; gap: 16px; }
@media (min-width: 600px) { .contact-cards { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .contact-cards { grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); } }
.contact-card { padding: 24px; border: 1px solid var(--border); border-radius: var(--radius); background: #fff; }
.contact-card__title { margin: 14px 0 6px; font-size: 16px; }
.contact-card p { margin: 0 0 6px; color: var(--text-2); }
.contact-card__big { font-size: 20px; font-weight: 700; color: var(--text); text-decoration: none; }
.contact-card__mid { font-size: 17px; font-weight: 600; color: var(--text); text-decoration: none; }
.contact-card p.contact-card__label { margin: 0 0 2px; font-size: 13px; color: var(--muted); }
.contact-card p.contact-card__label--spaced { margin-top: 12px; }
.contact-layout { display: grid; gap: 24px; }
.contact-side { display: grid; gap: 20px; align-content: start; }
@media (min-width: 1000px) { .contact-layout { grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 32px; align-items: start; } }

.map-box { position: relative; aspect-ratio: 4 / 3; border-radius: var(--radius); overflow: hidden; background: #e9e9e9; border: 1px solid var(--border); }
.map-box iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.map-box__placeholder {
  position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px;
  padding: 24px; text-align: center; color: var(--text-2); font-size: 14px;
  background: repeating-linear-gradient(45deg, #ececec 0 12px, #e6e6e6 12px 24px);
}
.map-box__placeholder .icon { color: var(--red); }
.map-box__placeholder p { margin: 0; max-width: 340px; }

.data-list { margin: 0; display: grid; gap: 8px; }
.data-list div { display: grid; grid-template-columns: 110px 1fr; gap: 8px; font-size: 14px; }
.data-list dt { color: var(--muted); }
.data-list dd { margin: 0; font-weight: 500; }

/* Favorites, thanks, errors */
.fav-status { text-align: center; color: var(--muted); }
.thanks__inner, .error-page__inner { text-align: center; }
.success-icon {
  display: inline-flex; align-items: center; justify-content: center; width: 84px; height: 84px; margin-bottom: 20px;
  border-radius: 50%; background: #eaf7f0; color: var(--success);
}
.success-icon .icon { width: 42px; height: 42px; }
.thanks .page-lead { margin-left: auto; margin-right: auto; }
.thanks__next { text-align: left; max-width: 560px; margin: 28px auto 0; }
.num-list { padding-left: 20px; display: grid; gap: 8px; color: var(--text-2); }
.error-page__code { margin: 0; font-size: clamp(80px, 16vw, 140px); font-weight: 700; line-height: 1; color: var(--red); letter-spacing: -.04em; }
.error-page .page-lead { margin-left: auto; margin-right: auto; }

/* --------------------------------------------------------------------------
   18. Prose (descriptions, legal pages)
   -------------------------------------------------------------------------- */
.prose { color: var(--text-2); line-height: 1.75; }
.prose > :last-child { margin-bottom: 0; }
.prose h1 { font-size: clamp(28px, 4vw, 40px); color: var(--text); margin-bottom: 20px; }
.prose h2 { font-size: clamp(20px, 2.6vw, 26px); color: var(--text); margin: 2em 0 .6em; }
.prose h3 { font-size: 18px; color: var(--text); margin: 1.6em 0 .5em; }
.prose ul, .prose ol { padding-left: 1.4em; margin: 0 0 1em; }
.prose li { margin-bottom: .35em; }
.prose a { color: var(--red); }
.prose strong { color: var(--text); }
.prose table { width: 100%; border-collapse: collapse; margin: 1em 0 1.5em; font-size: 14px; display: block; overflow-x: auto; }
.prose th, .prose td { padding: 10px 12px; border: 1px solid var(--border); text-align: left; vertical-align: top; }
.prose th { background: var(--gray-bg); color: var(--text); font-weight: 600; }
.legal { padding-top: 32px; padding-bottom: var(--section-y); max-width: calc(860px + 2 * var(--gutter)); }

/* --------------------------------------------------------------------------
   19. Footer
   -------------------------------------------------------------------------- */
.site-footer { background: var(--black); color: rgba(255, 255, 255, .8); font-size: 15px; }
.site-footer a { color: rgba(255, 255, 255, .85); text-decoration: none; }
.site-footer a:hover { color: var(--red); }
.site-footer__grid { display: grid; gap: 32px; padding-top: 48px; padding-bottom: 40px; }
@media (min-width: 700px) { .site-footer__grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .site-footer__grid { grid-template-columns: 1.3fr .8fr .9fr 1.3fr; gap: 40px; padding-top: 64px; } }
.site-footer__title { font-size: 13px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: #fff; margin-bottom: 16px; }
.site-footer__tagline { margin: 16px 0; color: rgba(255, 255, 255, .7); }
.site-footer__links { list-style: none; display: grid; gap: 4px; }
.site-footer__links a { display: inline-block; padding: 6px 0; }
.site-footer__text { line-height: 1.8; }
.socials { list-style: none; display: flex; gap: 8px; }
.socials a {
  display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px;
  border-radius: 50%; border: 1.5px solid rgba(255, 255, 255, .25); color: #fff;
}
.socials a:hover { border-color: var(--red); background: var(--red); color: #fff; }
.contact-list { list-style: none; display: grid; gap: 12px; }
.contact-list li { display: flex; gap: 10px; align-items: flex-start; }
.contact-list .icon { color: var(--red); margin-top: 4px; }
.contact-list__label { display: block; font-size: 12px; color: rgba(255, 255, 255, .6); line-height: 1.4; }
.contact-list--light { margin-top: 12px; color: rgba(255, 255, 255, .85); }
.contact-list--light a { color: #fff; }
.site-footer__legal { border-top: 1px solid rgba(255, 255, 255, .1); padding: 24px 0 32px; font-size: 13px; color: rgba(255, 255, 255, .6); }
.site-footer__company { margin-bottom: 12px; }
.legal-links { list-style: none; display: flex; flex-wrap: wrap; gap: 4px 20px; margin-bottom: 16px; }
.legal-links a, .legal-links .link-btn { display: inline-block; padding: 6px 0; color: rgba(255, 255, 255, .8); text-decoration: none; }
.legal-links .link-btn:hover { color: var(--red); }
.anpc-badges { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 16px; }
.anpc-badge {
  display: inline-flex; flex-direction: column; justify-content: center; min-width: 210px; min-height: 52px; padding: 6px 14px;
  border: 1.5px solid rgba(255, 255, 255, .45); border-radius: 8px; background: rgba(255, 255, 255, .03);
}
.site-footer .anpc-badge:hover { border-color: #fff; color: #fff; }
.anpc-badge__small { font-size: 10px; letter-spacing: .04em; text-transform: uppercase; color: rgba(255, 255, 255, .65); }
.anpc-badge__big { font-size: 15px; font-weight: 700; color: #fff; letter-spacing: .08em; }
.site-footer__copy { margin: 0; }

/* --------------------------------------------------------------------------
   20. Mobile bottom bar & floating WhatsApp
   -------------------------------------------------------------------------- */
.mobile-bar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 90;
  display: flex; background: var(--black); border-top: 1px solid rgba(255, 255, 255, .1);
  padding-bottom: env(safe-area-inset-bottom);
}
.mobile-bar__item {
  flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px;
  min-height: 58px; color: #fff; text-decoration: none; font-size: 11px; font-weight: 600;
}
.mobile-bar__item .icon { width: 22px; height: 22px; }
.mobile-bar__item:hover { color: #fff; }
.mobile-bar__item--wa .icon { color: #3ad277; }
.mobile-bar__item--primary { background: var(--red); }
@media (max-width: 767px) { body { padding-bottom: calc(58px + env(safe-area-inset-bottom)); } }
@media (min-width: 768px) { .mobile-bar { display: none; } }

.wa-float {
  position: fixed; right: 24px; bottom: 24px; z-index: 90; display: none;
  align-items: center; justify-content: center; width: 60px; height: 60px; border-radius: 50%;
  background: var(--wa); color: #fff; box-shadow: 0 10px 30px rgba(31, 168, 85, .45); transition: transform .2s;
}
.wa-float .icon { width: 30px; height: 30px; }
.wa-float:hover { color: #fff; transform: scale(1.07); }
@media (min-width: 768px) { .wa-float { display: inline-flex; } }

/* --------------------------------------------------------------------------
   21. Cookie banner
   -------------------------------------------------------------------------- */
.cookie-banner {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 400; padding: 12px;
  padding-bottom: calc(12px + env(safe-area-inset-bottom));
}
.cookie-banner__inner {
  max-width: 760px; margin: 0 auto; max-height: calc(100vh - 24px); overflow-y: auto;
  background: #fff; color: var(--text); border-radius: var(--radius-lg); padding: 20px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, .35); border-top: 3px solid var(--red);
}
.cookie-banner__title { font-size: 18px; margin-bottom: 6px; }
.cookie-banner__text { font-size: 14px; color: var(--text-2); margin-bottom: 14px; }
.cookie-banner__text a { color: var(--red); }
.cookie-banner__settings { display: grid; gap: 12px; margin-bottom: 16px; padding: 14px; background: var(--gray-bg); border-radius: var(--radius-sm); }
.cookie-banner__actions { display: flex; flex-wrap: wrap; gap: 8px; }
@media (max-width: 479px) { .cookie-banner__actions .btn { flex: 1 1 45%; } }
@media (min-width: 768px) { .cookie-banner { bottom: 16px; } .cookie-banner__inner { padding: 24px 28px; } }

.switch { display: flex; align-items: flex-start; gap: 12px; position: relative; font-size: 14px; cursor: pointer; }
.switch input { position: absolute; opacity: 0; width: 44px; height: 24px; margin: 0; cursor: pointer; }
.switch__ui { position: relative; flex: none; width: 44px; height: 24px; border-radius: var(--pill); background: #c7c7c7; transition: background .2s; }
.switch__ui::after { content: ""; position: absolute; top: 3px; left: 3px; width: 18px; height: 18px; border-radius: 50%; background: #fff; transition: transform .2s; box-shadow: var(--shadow-sm); }
.switch input:checked + .switch__ui { background: var(--red); }
.switch input:checked + .switch__ui::after { transform: translateX(20px); }
.switch input:disabled + .switch__ui { opacity: .6; }
.switch input:focus-visible + .switch__ui { outline: 2px solid var(--red); outline-offset: 2px; }
.switch__text { color: var(--text-2); }

/* --------------------------------------------------------------------------
   22. Toast (share / copy feedback)
   -------------------------------------------------------------------------- */
.toast {
  position: fixed; left: 50%; bottom: 84px; z-index: 600; transform: translateX(-50%);
  padding: 12px 20px; border-radius: var(--pill); background: var(--black); color: #fff; font-size: 14px; font-weight: 500;
  box-shadow: var(--shadow-lg); animation: toastIn .2s var(--ease);
}
@keyframes toastIn { from { opacity: 0; transform: translate(-50%, 8px); } to { opacity: 1; transform: translate(-50%, 0); } }

/* --------------------------------------------------------------------------
   23. Testimonials, consultants, financing partners, recently viewed
   -------------------------------------------------------------------------- */
.testimonial {
  display: flex; flex-direction: column; gap: 14px; height: 100%; margin: 0; padding: 24px;
  background: #fff; border: 1px solid var(--border); border-radius: var(--radius);
}
.section--gray .testimonial { border-color: transparent; }
.testimonial__stars { display: flex; gap: 3px; margin: 0; color: #cfcfcf; }
.testimonial__stars .icon { width: 18px; height: 18px; }
.testimonial__stars .icon.is-on { color: var(--red); fill: currentColor; }
.testimonial__quote { margin: 0; color: var(--text-2); font-size: 15px; line-height: 1.7; }
.testimonial__quote p { margin: 0; }
.testimonial__quote p::before { content: "„"; }
.testimonial__quote p::after { content: "”"; }
.testimonial--clamp .testimonial__quote p { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 7; overflow: hidden; }
.testimonial__author { display: flex; align-items: center; gap: 12px; margin-top: auto; padding-top: 14px; border-top: 1px solid var(--border); }
.testimonial__avatar { flex: none; width: 56px; height: 56px; border-radius: 50%; object-fit: cover; background: var(--gray-bg); }
.testimonial__avatar--initials {
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--black); color: #fff; font-weight: 700; font-size: 18px; letter-spacing: .04em;
}
.testimonial__who { display: grid; gap: 1px; min-width: 0; font-size: 13px; color: var(--muted); }
.testimonial__name { font-size: 15px; color: var(--text); }
.testimonial__car { display: inline-flex; align-items: center; gap: 6px; color: var(--text-2); font-weight: 500; }
.testimonial__car .icon { color: var(--red); }

.testimonial-grid { list-style: none; display: grid; gap: 20px; }
@media (min-width: 700px) { .testimonial-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1100px) { .testimonial-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; } }

/* Home: swipeable row on phones, grid from tablets up. */
.testimonial-track {
  list-style: none; display: flex; gap: 14px; overflow-x: auto; overscroll-behavior-x: contain;
  scroll-snap-type: x mandatory; scroll-padding: 0 var(--gutter);
  margin: 0 calc(-1 * var(--gutter)); padding: 4px var(--gutter) 12px; scrollbar-width: thin;
}
.testimonial-track > li { flex: 0 0 min(86%, 360px); scroll-snap-align: start; }
@media (min-width: 768px) {
  .testimonial-track { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; overflow: visible; margin: 0; padding: 0; }
}
@media (min-width: 1100px) { .testimonial-track { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; } }

.consultants { list-style: none; display: grid; gap: 14px; }
@media (min-width: 700px) { .consultants { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1100px) { .consultants { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.consultant {
  display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 12px 14px; align-items: center;
  padding: 18px; background: #fff; border: 1px solid var(--border); border-radius: var(--radius);
}
.consultant__avatar {
  display: inline-flex; align-items: center; justify-content: center; width: 52px; height: 52px; border-radius: 50%;
  background: var(--black); color: #fff; font-weight: 700; letter-spacing: .04em;
}
.consultant__name { margin: 0; font-size: 16px; }
.consultant__role { margin: 2px 0 0; font-size: 13px; color: var(--muted); }
.consultant__actions { grid-column: 1 / -1; display: flex; flex-wrap: wrap; gap: 8px; }
.consultant__actions .btn { flex: 1 1 140px; }

.partner-list { list-style: none; display: grid; gap: 12px; }
@media (min-width: 360px) { .partner-list { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 800px) { .partner-list { grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); } }
.partner {
  display: flex; align-items: center; justify-content: center; min-height: 72px; padding: 14px 16px;
  border: 1px solid var(--border); border-radius: var(--radius); background: #fff;
  font-weight: 600; text-align: center; color: var(--text-2); overflow-wrap: anywhere;
}

.recent { margin: var(--section-y) 0; }
.recent--compact { margin: 0 0 24px; padding-bottom: 20px; border-bottom: 1px solid var(--border); }
.recent__head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 8px 16px; margin-bottom: 16px; }
.recent__title { margin: 0; font-size: clamp(22px, 3vw, 28px); }
.recent--compact .recent__title { font-size: 18px; }
.recent__clear { font-size: 14px; color: var(--muted); }
.recent__list {
  display: flex; gap: 16px; overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x proximity;
  margin: 0 calc(-1 * var(--gutter)); padding: 4px var(--gutter) 12px; scroll-padding: 0 var(--gutter); scrollbar-width: thin;
}
.recent__list > * { flex: 0 0 min(78%, 280px); scroll-snap-align: start; }
.recent--compact .recent__list > * { flex-basis: min(70%, 240px); }
.recent--compact .car-card__actions, .recent--compact .car-card__rate { display: none; }
.recent .skeleton { min-height: 300px; }
@media (min-width: 1000px) { .recent--compact .recent__list { margin: 0; padding-left: 0; padding-right: 0; } }

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

@media print {
  .site-header, .site-footer, .mobile-bar, .wa-float, .cookie-banner, .filters, .toolbar, .pagination,
  .car-summary__ctas, .car-summary__tools, .form-pair, .calc, .fav-btn, .gallery__thumbs, .announcement, .skip-link, .btn-row, .recent { display: none !important; }
  body { padding: 0; color: #000; font-size: 12pt; }
  .car-layout { display: block; }
  .car-summary { position: static; border: 0; padding: 0; margin-top: 16px; }
  .dark-block, .hero, .page-hero, .cta-final { background: #fff !important; color: #000 !important; }
  .car-card, .car-section { break-inside: avoid; }
  a[href^="http"]::after { content: " (" attr(href) ")"; font-size: 9pt; }
}

/* Approximate price in lei (car page) */
.price-ron{display:block;width:100%;font-size:13px;color:#666;font-weight:500;margin-top:2px}

/* --------------------------------------------------------------------------
   25. Inspection certificate, "Preț redus", history report (IMBUNATATIRI #10, #21, #22)
   -------------------------------------------------------------------------- */
.badge--deal { background: var(--red); }
.badge--cert { display: inline-flex; align-items: center; gap: 4px; background: rgba(15, 15, 15, .88); color: #f3d27a; }
.badge--cert .icon { width: 13px; height: 13px; vertical-align: 0; }
.car-card__flags { position: absolute; left: 12px; bottom: 12px; display: flex; flex-wrap: wrap; gap: 6px; pointer-events: none; }
.price-drop { margin: 0 0 6px; }
.car-summary__docs { display: grid; gap: 8px; margin-top: 12px; }

.cert-mark {
  display: inline-flex; align-items: center; justify-content: center; flex: none;
  width: 26px; height: 26px; border-radius: 50%; color: #fff; font-size: 15px; line-height: 1;
}
.cert-mark .icon { width: 15px; height: 15px; vertical-align: 0; }
.cert-mark b { font-weight: 800; }
.cert-mark--ok { background: var(--success); }
.cert-mark--attention { background: #e07b00; }
.cert-mark--replaced { background: #1a6fd1; }
.cert-mark--none { background: #9a9a9a; }

/* Car page block */
.car-cert__head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-start; gap: 12px 24px; margin-bottom: 8px; }
.car-cert__head .car-section__title { margin-bottom: 6px; }
.car-cert__meta { margin: 0; color: var(--muted); font-size: 14px; }
.car-cert__meta strong { color: var(--text); white-space: nowrap; }
.car-cert__score {
  display: flex; flex-direction: column; align-items: center; min-width: 112px; margin: 0; padding: 10px 16px;
  border: 2px solid #c9a24a; border-radius: var(--radius); text-align: center; line-height: 1.1;
}
.car-cert__score strong { font-size: 34px; color: var(--red); }
.car-cert__score span { margin-top: 4px; font-size: 11px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--text-2); }
.car-cert__list { list-style: none; display: grid; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 700px) { .car-cert__list { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 32px; } }
.car-cert__item { display: flex; gap: 12px; align-items: flex-start; padding: 12px 0; border-bottom: 1px solid var(--border); }
.car-cert__text { flex: 1; min-width: 0; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 2px 12px; }
.car-cert__label { font-weight: 600; font-size: 15px; }
.car-cert__label small { margin-left: 4px; font-weight: 400; font-size: 12px; color: var(--muted); }
.car-cert__result { font-size: 13px; font-weight: 600; }
.car-cert__result--ok { color: var(--success); }
.car-cert__result--attention { color: #b05e00; }
.car-cert__result--replaced { color: #1a5fb4; }
.car-cert__note { flex-basis: 100%; margin: 2px 0 0; font-size: 13px; color: var(--text-2); }
.car-cert__notes { margin-top: 16px; padding: 14px 16px; background: var(--gray-bg); border-radius: var(--radius-sm); }
.car-cert__notes h3 { margin-bottom: 4px; font-size: 14px; }
.car-cert__notes p { margin: 0; font-size: 14px; }
.car-cert__foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 20px; margin-top: 18px; }
.car-cert__legend { flex: 1 1 260px; margin: 0; font-size: 13px; color: var(--muted); }

/* Printable certificate page (A4) */
.cert-page { padding-top: 20px; padding-bottom: var(--section-y); }
.cert-toolbar, .cert-preview { max-width: 820px; margin-left: auto; margin-right: auto; }
.cert-toolbar { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px; margin-bottom: 16px; }
.cert-sheet {
  --gold: #b8892b; --gold-soft: #e3d6b5;
  position: relative; max-width: 820px; margin: 0 auto; padding: 36px 40px 0; overflow: hidden;
  background: #fbf8f0; color: #1b1b1b; border: 3px double var(--gold); border-radius: 6px; box-shadow: var(--shadow);
  font-size: 14px; line-height: 1.45;
}
.cert-sheet::before { content: ""; position: absolute; inset: 9px; border: 1px solid rgba(184, 137, 43, .5); border-radius: 3px; pointer-events: none; }
.cert-sheet::after { content: ""; position: absolute; top: 0; right: 0; width: 86px; height: 86px; background: linear-gradient(225deg, var(--red) 0 33%, transparent 33.5%); pointer-events: none; }
.cert-sheet__top { position: relative; display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 16px; padding-right: 36px; }
.cert-sheet__logo { width: 84px; height: 84px; border-radius: 50%; object-fit: cover; }
.cert-sheet__company { margin: 0; font-size: 20px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; line-height: 1.2; }
.cert-sheet__tagline { margin: 2px 0 0; font-size: 11px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--red); }
.cert-sheet__serial { padding: 6px 14px; border: 1px solid var(--gold); border-radius: 8px; background: #fff; text-align: center; }
.cert-sheet__serial span { display: block; font-size: 10px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.cert-sheet__serial strong { font-size: 16px; letter-spacing: .04em; color: var(--red); white-space: nowrap; }
.cert-sheet__title {
  margin: 22px 0 0; text-align: center; font-family: Georgia, "Times New Roman", serif; font-weight: 700;
  font-size: clamp(40px, 8vw, 64px); letter-spacing: .08em; text-transform: uppercase; color: var(--gold); line-height: 1;
}
.cert-sheet__subtitle, .cert-sheet__section { display: flex; align-items: center; gap: 14px; text-transform: uppercase; }
.cert-sheet__subtitle::before, .cert-sheet__subtitle::after,
.cert-sheet__section::before, .cert-sheet__section::after { content: ""; flex: 1; height: 1px; background: var(--gold); }
.cert-sheet__subtitle { margin: 8px 0 0; font-family: Georgia, "Times New Roman", serif; font-size: 17px; letter-spacing: .28em; }
.cert-sheet__intro { max-width: 560px; margin: 10px auto 18px; text-align: center; font-size: 13px; color: #444; }
.cert-sheet__grid { display: grid; gap: 18px; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 700px) { .cert-sheet__grid { grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); align-items: center; } }
.cert-sheet__data, .cert-sheet__results { width: 100%; border-spacing: 0; background: rgba(255, 255, 255, .75); font-size: 13px; }
.cert-sheet__data { border: 1px solid var(--gold-soft); border-radius: 10px; overflow: hidden; }
.cert-sheet__data th, .cert-sheet__data td { padding: 6px 12px; border-bottom: 1px dotted #d8c9a3; text-align: left; }
.cert-sheet__data th { width: 45%; font-size: 11px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: #333; }
.cert-sheet__data td { font-weight: 500; }
.cert-sheet__data tr:last-child th, .cert-sheet__data tr:last-child td { border-bottom: 0; }
.cert-sheet__seal-box { text-align: center; }
.cert-seal {
  display: inline-flex; width: 150px; height: 150px; padding: 8px; border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, #f6e2a2, #c9a24a 55%, #9a6d1c); box-shadow: 0 6px 18px rgba(120, 85, 20, .35);
}
.cert-seal__ring {
  flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px;
  border: 2px dashed rgba(90, 60, 10, .45); border-radius: 50%; color: #3d2a08;
  font-family: Georgia, "Times New Roman", serif; font-size: 11px; font-weight: 700; letter-spacing: .1em;
}
.cert-seal__icon { width: 44px; height: 44px; }
.cert-sheet__seal-text { margin: 12px 0 0; font-size: 12px; color: #444; }
.cert-sheet__section { margin: 22px 0 10px; font-size: 13px; letter-spacing: .16em; }
.cert-sheet__results th, .cert-sheet__results td { padding: 7px 10px; border-bottom: 1px solid var(--gold-soft); text-align: left; vertical-align: middle; }
.cert-sheet__results thead th { border-bottom-color: var(--gold); font-size: 10px; letter-spacing: .1em; text-transform: uppercase; color: #666; }
.cert-sheet__results tbody th { font-weight: 600; }
.cert-sheet__results .num { text-align: right; white-space: nowrap; font-variant-numeric: tabular-nums; }
.cert-sheet__results tfoot th, .cert-sheet__results tfoot td { border-top: 2px solid var(--gold); border-bottom: 0; font-weight: 700; }
.cert-sheet__results tfoot strong { font-size: 18px; color: var(--red); }
.cert-sheet__result { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; white-space: nowrap; }
.cert-sheet .cert-mark { width: 20px; height: 20px; font-size: 12px; }
.cert-sheet .cert-mark .icon { width: 12px; height: 12px; }
.cert-sheet__notes { margin-top: 14px; padding: 10px 14px; border-left: 3px solid var(--gold); background: rgba(255, 255, 255, .75); font-size: 13px; }
.cert-sheet__notes h3 { margin: 0 0 4px; font-size: 12px; letter-spacing: .1em; text-transform: uppercase; }
.cert-sheet__notes p { margin: 0; }
.cert-sheet__foot { display: grid; gap: 16px; margin-top: 20px; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 700px) { .cert-sheet__foot { grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); align-items: end; } }
.cert-sheet__sign { display: flex; flex-direction: column; gap: 2px; }
.cert-sheet__sign strong { font-size: 15px; }
.cert-sheet__label { font-size: 10px; letter-spacing: .12em; text-transform: uppercase; color: #666; }
.cert-sheet__line { display: block; max-width: 240px; height: 34px; margin-top: 4px; border-bottom: 1px solid #888; }
.cert-sheet__legend p { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 8px; margin: 0 0 4px; font-size: 12px; }
.cert-sheet__legend .cert-sheet__fine { display: block; font-size: 11px; color: #666; }
.cert-sheet__bottom { position: relative; z-index: 1; margin: 18px -40px 0; padding: 12px 40px; background: #111; color: #fff; text-align: center; }
.cert-sheet__motto { margin: 0; font-size: 13px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: #f3d27a; }
.cert-sheet__company-line { margin: 2px 0 0; font-size: 11px; color: rgba(255, 255, 255, .75); }
@media (max-width: 599px) {
  .cert-sheet { padding: 24px 16px 0; font-size: 13px; }
  .cert-sheet__top { grid-template-columns: auto minmax(0, 1fr); padding-right: 24px; }
  .cert-sheet__logo { width: 64px; height: 64px; }
  .cert-sheet__company { font-size: 16px; }
  .cert-sheet__serial { grid-column: 1 / -1; justify-self: start; }
  .cert-sheet__subtitle { font-size: 13px; letter-spacing: .18em; }
  .cert-sheet__results { font-size: 12px; }
  .cert-sheet__results th, .cert-sheet__results td { padding: 6px; }
  .cert-sheet__result { white-space: normal; }
  .cert-sheet__bottom { margin: 18px -16px 0; padding: 12px 16px; }
}

@media print {
  @page { size: A4; margin: 8mm; }
  .cert-page { max-width: none; padding: 0; }
  .cert-page .breadcrumb, .cert-toolbar, .cert-preview { display: none !important; }
  .cert-sheet, .cert-sheet *, .cert-sheet *::before, .cert-sheet *::after, .cert-sheet::before, .cert-sheet::after {
    -webkit-print-color-adjust: exact; print-color-adjust: exact;
  }
  .cert-sheet { max-width: none; margin: 0; padding: 6mm 9mm 0; font-size: 9pt; line-height: 1.35; box-shadow: none; }
  .cert-sheet__top { grid-template-columns: auto minmax(0, 1fr) auto; }
  .cert-sheet__logo { width: 18mm; height: 18mm; }
  .cert-sheet__serial { grid-column: auto; }
  .cert-sheet__title { margin-top: 3mm; font-size: 30pt; }
  .cert-sheet__subtitle { margin-top: 1.5mm; font-size: 12pt; }
  .cert-sheet__intro { margin: 2mm auto 4mm; font-size: 9pt; }
  .cert-sheet__grid { grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); align-items: center; gap: 5mm; }
  .cert-sheet__foot { grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); align-items: end; margin-top: 4mm; gap: 4mm; }
  .cert-sheet__data, .cert-sheet__results { font-size: 8.5pt; }
  .cert-sheet__data th, .cert-sheet__data td { padding: .9mm 3mm; }
  .cert-sheet__results th, .cert-sheet__results td { padding: 1mm 2.5mm; }
  .cert-sheet__section { margin: 4mm 0 2mm; }
  .cert-sheet__notes { margin-top: 3mm; padding: 2mm 3mm; font-size: 8.5pt; }
  .cert-sheet__line { height: 8mm; }
  .cert-seal { width: 30mm; height: 30mm; padding: 2mm; box-shadow: none; }
  .cert-seal__ring { font-size: 7pt; letter-spacing: .1em; }
  .cert-seal__icon { width: 9mm; height: 9mm; }
  .cert-sheet__seal-text { margin-top: 2mm; font-size: 8pt; }
  .cert-sheet__bottom { margin: 4mm -9mm 0; padding: 2.5mm 9mm; }
  .car-summary__docs .btn[href^="#"] { display: none; }
}
/* --------------------------------------------------------------------------
   25. Car comparison, model chips, guides (articles)
   -------------------------------------------------------------------------- */
/* "Compară" toggle on cards and on the car page */
.compare-toggle {
  display: inline-flex; align-items: center; gap: 8px; align-self: flex-start;
  min-height: 36px; margin: -4px 0 -8px; padding: 4px 2px; border: 0; background: none;
  font-size: 13px; font-weight: 500; color: var(--text-2); cursor: pointer;
}
.compare-toggle:hover { color: var(--text); }
.compare-toggle__box {
  position: relative; flex: none; width: 18px; height: 18px;
  border: 1.5px solid #bdbdbd; border-radius: 4px; background: #fff; transition: background .15s, border-color .15s;
}
.compare-toggle:hover .compare-toggle__box { border-color: var(--black); }
.compare-toggle[aria-pressed="true"] { color: var(--text); }
.compare-toggle[aria-pressed="true"] .compare-toggle__box { background: var(--red); border-color: var(--red); }
.compare-toggle[aria-pressed="true"] .compare-toggle__box::after {
  content: ""; position: absolute; left: 5px; top: 1px; width: 5px; height: 10px;
  border: solid #fff; border-width: 0 2px 2px 0; transform: rotate(45deg);
}
.compare-toggle--tool {
  align-self: auto; margin: 0; min-height: 44px; padding: 0 12px;
  border: 1px solid var(--border); border-radius: var(--pill); background: #fff; font-size: 14px; color: var(--text);
}
.compare-toggle--tool:hover { border-color: var(--black); }
.car-summary__tools { flex-wrap: wrap; }
.recent--compact .compare-toggle { display: none; }

/* Floating compare bar (above the mobile CTA bar on phones) */
.compare-bar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 95;
  padding: 8px 0 calc(8px + env(safe-area-inset-bottom));
  background: #fff; border-top: 1px solid var(--border); box-shadow: 0 -8px 24px rgba(15, 15, 15, .12);
}
.compare-bar__inner { display: flex; align-items: center; gap: 8px 14px; }
.compare-bar__text { margin: 0 auto 0 0; min-width: 0; font-size: 14px; color: var(--text-2); }
.compare-bar__text strong { color: var(--red); font-size: 16px; }
.compare-bar__hint { color: var(--muted); }
.compare-bar__clear { flex: none; min-height: 40px; padding: 0 4px; font-size: 13px; color: var(--muted); }
.compare-bar__go { flex: none; }
@media (max-width: 767px) {
  .compare-bar { bottom: calc(58px + env(safe-area-inset-bottom)); padding-bottom: 8px; }
  .compare-bar__hint { display: none; }
  body.has-compare-bar { padding-bottom: calc(58px + 58px + env(safe-area-inset-bottom)); }
  .has-compare-bar .toast { bottom: calc(132px + env(safe-area-inset-bottom)); }
}
@media (min-width: 768px) {
  body.has-compare-bar { padding-bottom: 60px; }
  .has-compare-bar .wa-float { bottom: 84px; }
  .has-compare-bar .toast { bottom: 88px; }
}

/* Compare page: horizontal scroll on phones, first column sticky */
.compare-note {
  margin: 0 0 16px; padding: 12px 16px; border: 1px solid #f3dca8; border-radius: var(--radius-sm);
  background: #fff7e6; color: #7a5300; font-size: 14px;
}
.compare-note a { color: inherit; font-weight: 600; }
.compare-wrap {
  overflow-x: auto; overscroll-behavior-x: contain; scrollbar-width: thin;
  border: 1px solid var(--border); border-radius: var(--radius); background: #fff;
}
.compare-wrap:focus-visible { outline: 2px solid var(--red); outline-offset: 2px; }
.compare-table { width: 100%; border-collapse: separate; border-spacing: 0; table-layout: fixed; font-size: 14px; }
.compare-table--1 { min-width: 340px; }
.compare-table--2 { min-width: 540px; }
.compare-table--3 { min-width: 740px; }
.compare-table th, .compare-table td { padding: 12px 14px; border-bottom: 1px solid var(--border); text-align: left; vertical-align: top; overflow-wrap: anywhere; }
.compare-table td { color: var(--text); font-weight: 500; }
.compare-table td + td, .compare-table .compare-car + .compare-car { border-left: 1px solid var(--border); }
.compare-table th[scope="row"], .compare-table__corner {
  position: sticky; left: 0; z-index: 1; width: 112px;
  background: var(--gray-bg); color: var(--muted); font-size: 13px; font-weight: 600; border-right: 1px solid var(--border);
}
.compare-table tfoot th, .compare-table tfoot td { border-bottom: 0; }
.compare-table .price { display: block; font-size: 20px; }
.compare-table .price-old { font-size: 13px; }
.compare-table td.is-best { background: #eaf7f0; }
.compare-best { display: flex; align-items: center; gap: 4px; margin-top: 4px; font-size: 12px; font-weight: 600; color: var(--success); }
.compare-best .icon { flex: none; width: 14px; height: 14px; }
.compare-car { background: #fff; font-weight: 400; }
.compare-car__media { display: block; aspect-ratio: 4 / 3; margin-bottom: 10px; border-radius: var(--radius-sm); overflow: hidden; background: #eaeaea; }
.compare-car__media img { width: 100%; height: 100%; object-fit: cover; }
.compare-car__brand { display: block; color: var(--red); font-size: 11px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.compare-car__title { display: block; margin: 2px 0 6px; color: var(--text); font-size: 15px; font-weight: 600; line-height: 1.35; text-decoration: none; }
.compare-car__title:hover { color: var(--red); }
.compare-car__remove { display: inline-flex; align-items: center; gap: 4px; min-height: 32px; color: var(--muted); font-size: 13px; text-decoration: none; }
.compare-car__remove .icon { width: 14px; height: 14px; }
.compare-car__remove:hover { color: var(--red); }
.compare-actions { display: grid; gap: 8px; }
.compare-actions .btn { padding-left: 8px; padding-right: 8px; }
@media (min-width: 768px) {
  .compare-table th[scope="row"], .compare-table__corner { width: 190px; font-size: 14px; }
  .compare-table th, .compare-table td { padding: 14px 18px; }
}

/* Model chips on brand / model pages */
.model-chips { margin-top: 10px; }
.model-chips .chip--link { background: #fff; border-color: var(--border); }
.model-chips .chip--link:hover { border-color: var(--black); }
.model-chips .chip--link.is-active { background: var(--black); border-color: var(--black); }

/* Guides list */
.guide-grid { list-style: none; display: grid; gap: 20px; }
@media (min-width: 640px) { .guide-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1000px) { .guide-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; } }
.guide-card {
  position: relative; display: flex; flex-direction: column; height: 100%; overflow: hidden;
  background: #fff; border: 1px solid var(--border); border-radius: var(--radius); transition: box-shadow .2s, transform .2s;
}
.guide-card:hover { box-shadow: var(--shadow); transform: translateY(-3px); }
.guide-card__media { display: block; aspect-ratio: 16 / 9; background: var(--gray-bg); }
.guide-card__media img { width: 100%; height: 100%; object-fit: cover; }
.guide-card__placeholder { display: flex; align-items: center; justify-content: center; height: 100%; color: var(--red); background: linear-gradient(135deg, #f7f7f7, #e9e9e9); }
.guide-card__placeholder .icon { width: 44px; height: 44px; }
.guide-card__body { display: flex; flex-direction: column; gap: 8px; flex: 1; padding: 18px 20px 20px; }
.guide-card__date { margin: 0; color: var(--muted); font-size: 13px; }
.guide-card__title { margin: 0; font-size: 19px; line-height: 1.35; }
.guide-card__title a { color: var(--text); text-decoration: none; }
.guide-card__title a::after { content: ""; position: absolute; inset: 0; }
.guide-card__title a:hover { color: var(--red); }
.guide-card__excerpt { margin: 0; color: var(--text-2); font-size: 15px; }
.guide-card .link-arrow { margin-top: auto; padding-top: 4px; }

/* Article page */
.article { max-width: calc(800px + 2 * var(--gutter)); padding-top: 24px; padding-bottom: var(--section-y); }
.article .sold-banner { margin-bottom: 20px; }
.article__head { margin-bottom: 24px; }
.article__title { margin-bottom: 10px; font-size: clamp(28px, 4.5vw, 42px); line-height: 1.2; }
.article__meta { margin: 0 0 12px; color: var(--muted); font-size: 14px; }
.article__lead { margin: 0; color: var(--text-2); font-size: 18px; }
.article__cover { margin: 0 0 28px; overflow: hidden; border-radius: var(--radius); background: var(--gray-bg); }
.article__cover img { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; }
.article__body { font-size: 17px; }
.article__body > h2:first-child { margin-top: 0; }
.article-cta { display: grid; gap: 16px; margin: 40px 0; }
@media (min-width: 800px) { .article-cta { grid-template-columns: repeat(auto-fit, minmax(0, 1fr)); } }
.article-cta__item {
  display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 14px; align-items: center;
  padding: 20px; border-radius: var(--radius); background: var(--gray-bg);
}
.article-cta__item .btn { grid-column: 1 / -1; }
.article-cta__title { margin: 0 0 4px; font-size: 17px; }
.article-cta__item p { margin: 0; color: var(--text-2); font-size: 14px; }
.article-related { padding-top: 28px; border-top: 1px solid var(--border); }
.article-related .section__title { margin-bottom: 12px; font-size: clamp(20px, 2.6vw, 26px); }
.article-related__list { display: grid; gap: 8px; margin: 0 0 16px; padding-left: 1.2em; }
.article-related__list a { color: var(--text); font-weight: 500; }
.article-related__list a:hover { color: var(--red); }

@media print {
  .compare-bar, .compare-toggle, .article-cta, .compare-car__remove { display: none !important; }
  .compare-wrap { overflow: visible; border: 0; }
}

/* Header: desktop menu labels on one line. */
@media (min-width: 1100px) { .site-nav__link { white-space: nowrap; } }

/* --------------------------------------------------------------------------
   26. Design audit: form tabs on the car page, contextual mobile bar
   -------------------------------------------------------------------------- */
.form-tabs { display: none; }
@media (max-width: 899px) {
  .form-tabs:not([hidden]) {
    display: grid; grid-template-columns: 1fr 1fr; gap: 6px; margin: 0 0 12px; padding: 5px;
    border-radius: var(--pill); background: #F2F2F2; position: sticky; top: 72px; z-index: 5;
  }
  .form-tabs__btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 6px; min-height: 44px; padding: 0 10px;
    border: 0; border-radius: var(--pill); background: transparent; font: inherit; font-size: 13.5px; font-weight: 600;
    color: var(--text-2); cursor: pointer;
  }
  .form-tabs__btn .icon { width: 16px; height: 16px; }
  .form-tabs__btn[aria-selected="true"] { background: #0F0F0F; color: #fff; box-shadow: 0 4px 12px rgba(0, 0, 0, .15); }
  .form-pair.is-tabbed > .form-card:not(.is-active) { display: none; }
}

/* Car page: price + finance CTA in the sticky bottom bar */
.mobile-bar--car { display: flex; align-items: center; gap: 8px; padding: 8px 10px calc(8px + env(safe-area-inset-bottom)); }
.mobile-bar__price { flex: 1 1 auto; min-width: 0; display: flex; flex-direction: column; line-height: 1.15; color: #fff; }
.mobile-bar__price strong { font-size: 17px; white-space: nowrap; }
.mobile-bar__price small { font-size: 11.5px; color: rgba(255, 255, 255, .7); white-space: nowrap; }
.mobile-bar__icon {
  flex: none; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%;
  background: rgba(255, 255, 255, .1); color: #fff;
}
.mobile-bar__icon .icon { width: 20px; height: 20px; }
.mobile-bar__icon--wa { background: #25D366; }
.mobile-bar__cta {
  flex: none; display: inline-flex; align-items: center; gap: 6px; min-height: 44px; padding: 0 16px; border-radius: 999px;
  background: var(--red); color: #fff; font-weight: 600; font-size: 14px; text-decoration: none; white-space: nowrap;
}
.mobile-bar__cta .icon { width: 16px; height: 16px; }
.mobile-bar__cta:hover { color: #fff; }
@media (max-width: 359px) { .mobile-bar__price small { display: none; } .mobile-bar__cta { padding: 0 12px; } }

/* --------------------------------------------------------------------------
   27. Mobile P1 (docs/ANALIZA-UX.md): cookie sheet, short hero, trust row,
       menu info, finance wizard, "Te sunăm noi", contact actions, map
       preview, collapsible footer
   -------------------------------------------------------------------------- */

/* 1.1 Cookie banner: title row with "Setări", short text on phones, full text from 768px */
.cookie-banner__head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 6px; }
.cookie-banner__head .cookie-banner__title { margin: 0; }
.cookie-banner__toggle {
  flex: none; display: inline-flex; align-items: center; gap: 8px; min-height: 44px; margin-right: -6px; padding: 0 6px 0 12px;
  border: 0; background: none; color: var(--text-2); font-size: 14px; font-weight: 600;
  text-decoration: underline; text-underline-offset: 3px;
}
.cookie-banner__toggle::after {
  content: ""; width: 7px; height: 7px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor;
  transform: translateY(-2px) rotate(45deg); transition: transform .2s;
}
.cookie-banner__toggle[aria-expanded="true"]::after { transform: translateY(2px) rotate(-135deg); }
.cookie-banner__toggle:hover { color: var(--red); }
.cookie-banner__text--short { display: none; }
@media (max-width: 767px) {
  .cookie-banner { padding: 0; }
  .cookie-banner__inner {
    max-width: none; max-height: 85vh; padding: 4px 16px calc(14px + env(safe-area-inset-bottom));
    border-radius: 18px 18px 0 0; box-shadow: 0 -12px 40px rgba(0, 0, 0, .28);
  }
  .cookie-banner__title { font-size: 16px; }
  .cookie-banner__text--full { display: none; }
  .cookie-banner__text--short { display: block; margin-bottom: 12px; font-size: 13.5px; line-height: 1.45; }
  .cookie-banner__settings { margin-bottom: 12px; padding: 12px; }
  .cookie-banner__actions { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
  .cookie-banner__actions .btn { min-height: 44px; padding: 8px 10px; }
  .cookie-banner__save { grid-column: 1 / -1; }
}

/* 1.2 Home hero on phones: short headline, one button + text link, compact search card */
.hero__link-arrow { display: none; }
@media (max-width: 699px) {
  .hero__inner { gap: 18px; padding-top: 26px; padding-bottom: 22px; }
  .hero .kicker { margin-bottom: 8px; letter-spacing: .14em; }
  .hero__title { font-size: clamp(28px, 8.4vw, 34px); line-height: 1.1; margin-bottom: 10px; }
  .hero__subtitle { margin-bottom: 0; font-size: 15px; line-height: 1.5; }
  .hero__note { display: none; }
  .hero__actions { flex-direction: column; align-items: stretch; gap: 2px; margin-top: 18px; }
  .hero__cta { width: 100%; }
  .hero__link {
    align-self: flex-start; min-height: 44px; padding: 0 2px; border: 0; background: none;
    font-size: 15px; font-weight: 600; text-decoration: underline; text-underline-offset: 4px;
  }
  .hero__link:hover { transform: none; background: none; }
  .hero__link-arrow { display: inline; }
  .quick-search { padding: 14px; border-radius: 16px; }
  .quick-search__count { margin-bottom: 10px; font-size: 14px; }
  .quick-search__count strong { font-size: 18px; }
  .quick-search__form { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
  .quick-search .field { gap: 0; }
  .quick-search .field__label { position: absolute; width: 1px; height: 1px; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; }
  .quick-search .field__control { padding-left: 10px; padding-right: 26px; background-position: right 10px center; }
  .quick-search__form .btn { min-height: 48px; }
}

/* 1.3 Trust band: one swipeable row on phones; shown once on the home page */
@media (max-width: 767px) {
  .trust-band--scroll .trust-band__list {
    flex-direction: row; flex-wrap: nowrap; justify-content: flex-start; align-items: center; gap: 8px 22px;
    padding-top: 12px; padding-bottom: 12px; overflow-x: auto; overscroll-behavior-x: contain;
    scroll-snap-type: x proximity; scroll-padding: 0 var(--gutter); scrollbar-width: none;
    -webkit-mask-image: linear-gradient(90deg, #000 calc(100% - 28px), transparent);
    mask-image: linear-gradient(90deg, #000 calc(100% - 28px), transparent);
  }
  .trust-band--scroll .trust-band__list::-webkit-scrollbar { display: none; }
  .trust-band--scroll .trust-band__item { flex: none; gap: 8px; font-size: 13px; white-space: nowrap; scroll-snap-align: start; }
  .trust-band--scroll .tick { width: 20px; height: 20px; }
  .trust-band--dup { display: none; }
}
[data-hscroll]:focus-visible { outline: 2px solid var(--red); outline-offset: -2px; }

/* "De ce noi": swipeable cards on phones (keeps the first cars close to the hero) */
@media (max-width: 599px) {
  .feature-grid--swipe {
    display: flex; gap: 12px; margin: 0 calc(-1 * var(--gutter)); padding: 4px var(--gutter) 10px;
    overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x mandatory; scroll-padding: 0 var(--gutter);
    scrollbar-width: none;
  }
  .feature-grid--swipe::-webkit-scrollbar { display: none; }
  .feature-grid--swipe > .feature { flex: 0 0 min(64%, 240px); scroll-snap-align: start; }
  .feature-grid--swipe > .feature:hover { transform: none; }
}

/* 2.1 Mobile menu: shortcuts + contact info */
.nav-shortcuts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.nav-shortcut {
  display: flex; align-items: center; gap: 10px; min-height: 52px; padding: 0 14px; border-radius: var(--radius);
  border: 1px solid rgba(255, 255, 255, .12); background: rgba(255, 255, 255, .05);
  color: #fff; font-size: 15px; font-weight: 600; text-decoration: none;
}
.nav-shortcut:hover { color: #fff; border-color: rgba(255, 255, 255, .3); }
.nav-shortcut .icon { width: 20px; height: 20px; color: var(--red); }
.nav-shortcut__count {
  margin-left: auto; min-width: 22px; height: 22px; padding: 0 6px; border-radius: var(--pill);
  background: var(--red); color: #fff; font-size: 12px; font-weight: 700; line-height: 22px; text-align: center;
}
.site-nav__contact-btns { display: grid; gap: 10px; }
.nav-info {
  list-style: none; padding: 2px 14px; border-radius: var(--radius);
  border: 1px solid rgba(255, 255, 255, .1); background: rgba(255, 255, 255, .04);
}
.nav-info__row { display: flex; align-items: center; gap: 12px; padding: 12px 0; color: rgba(255, 255, 255, .9); font-size: 14px; line-height: 1.4; }
.nav-info__row + .nav-info__row { border-top: 1px solid rgba(255, 255, 255, .08); }
.nav-info__row > .icon { width: 20px; height: 20px; color: var(--red); }
.nav-info__row > span { flex: 1; min-width: 0; }
.nav-info__label { display: block; font-size: 12px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: rgba(255, 255, 255, .55); }
.nav-info__go {
  flex: none; display: inline-flex; align-items: center; min-height: 44px; padding: 0 16px; border-radius: var(--pill);
  background: #fff; color: var(--black); font-size: 14px; font-weight: 600; text-decoration: none;
}
.nav-info__go:hover { background: var(--red); color: #fff; }
@media (max-width: 1099px) {
  .site-nav__mobile-extra { gap: 14px; margin-top: 20px; }
}

/* 5.1 Finance wizard (classes added by site.js; without JS the steps are one long form) */
.wizard-step__legend { display: flex; align-items: center; gap: 10px; }
.wizard-step__num {
  display: inline-flex; align-items: center; justify-content: center; flex: none; width: 28px; height: 28px;
  border-radius: 50%; background: var(--black); color: #fff; font-size: 14px;
}
.wizard-progress { display: grid; gap: 10px; padding: 14px 16px; border-radius: var(--radius); background: var(--gray-bg); }
.wizard-progress__label { display: flex; flex-wrap: wrap; align-items: baseline; gap: 2px 10px; margin: 0; }
.wizard-progress__label:focus { outline: none; }
.wizard-progress__label:focus-visible { outline: 2px solid var(--red); outline-offset: 4px; }
.wizard-progress__count { font-size: 12px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--red); }
.wizard-progress__title { font-size: 17px; line-height: 1.3; }
.wizard-progress__bar { list-style: none; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; }
.wizard-progress__seg { display: grid; gap: 6px; font-size: 12px; color: var(--muted); line-height: 1.3; }
.wizard-progress__seg::before { content: ""; height: 6px; border-radius: var(--pill); background: #d9d9d9; transition: background .25s; }
.wizard-progress__seg.is-done::before, .wizard-progress__seg.is-current::before { background: var(--red); }
.wizard-progress__seg.is-current { color: var(--text); font-weight: 600; }
@media (max-width: 599px) { .wizard-progress__seg span { display: none; } }
.form.is-wizard .wizard-step:not(.is-current) { display: none; }
.form.is-wizard .wizard-step.is-current { animation: wizardIn .25s var(--ease); }
.form.is-wizard .wizard-step__legend { position: absolute; width: 1px; height: 1px; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; }
@keyframes wizardIn { from { opacity: 0; transform: translateX(12px); } to { opacity: 1; transform: none; } }
.wizard-nav { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 10px; margin-top: 4px; }
.wizard-nav__back { margin-right: auto; }
@media (max-width: 599px) {
  .wizard-nav { flex-wrap: nowrap; }
  .wizard-nav .btn { flex: 1 1 0; min-width: 0; padding-left: 12px; padding-right: 12px; }
  .wizard-nav .wizard-nav__back { flex-grow: .6; margin-right: 0; }
}

/* 5.2 "Te sunăm noi" */
.callback__head { display: flex; align-items: flex-start; gap: 14px; }
.callback__icon {
  display: inline-flex; align-items: center; justify-content: center; flex: none; width: 44px; height: 44px;
  border-radius: 50%; background: var(--red); color: #fff;
}
.callback__icon .icon { width: 22px; height: 22px; }
.callback__title { margin: 0 0 4px; font-size: 20px; }
.callback__lead { margin: 0; color: var(--text-2); font-size: 14.5px; line-height: 1.5; }
.callback__form { display: grid; gap: 12px; }
.callback__fields { display: grid; gap: 10px; grid-template-columns: minmax(0, 1fr); }
.callback__submit { min-height: 48px; }
.check--sm { gap: 10px; font-size: 13px; line-height: 1.5; }
.check--sm input { width: 20px; height: 20px; }
.callback--card {
  display: grid; gap: 16px; margin-top: 32px; padding: 20px;
  border: 1px solid var(--border); border-top: 3px solid var(--red); border-radius: var(--radius-lg); background: #fff; box-shadow: var(--shadow);
}
@media (min-width: 600px) {
  .callback__fields { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .callback__submit { grid-column: 1 / -1; }
}
@media (min-width: 900px) {
  .callback--card { grid-template-columns: minmax(0, 1fr) minmax(0, 1.7fr); align-items: center; gap: 32px; padding: 28px 32px; }
  .callback--card .callback__fields { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) auto; align-items: end; }
  .callback--card .callback__submit { grid-column: auto; }
}
.callback--dark {
  display: grid; gap: 14px; max-width: 560px; margin-top: 28px; padding: 18px;
  border: 1px solid rgba(255, 255, 255, .16); border-radius: var(--radius-lg); background: rgba(255, 255, 255, .06);
}
.callback--dark .callback__title { color: #fff; font-size: 18px; }
.callback--dark .callback__lead, .callback--dark .field__label, .callback--dark .check { color: rgba(255, 255, 255, .82); }
.callback--dark .check a, .callback--dark .req { color: #fff; }
.callback--dark .field__error, .callback--dark .has-error .check { color: #ff9a9e; }
.callback--dark .field__control { border-color: transparent; }
@media (min-width: 1000px) {
  .page-hero__inner--split { display: grid; grid-template-columns: minmax(0, 1fr) 400px; column-gap: 56px; align-items: start; }
  .page-hero__inner--split > * { grid-column: 1; }
  .page-hero__inner--split > .callback { grid-column: 2; grid-row: 1 / span 8; align-self: center; margin-top: 0; }
  .page-hero__inner--split .callback__fields { grid-template-columns: minmax(0, 1fr); }
}
.callback--fold { display: block; }
.callback__toggle { list-style: none; }
.callback__toggle::-webkit-details-marker { display: none; }
.callback--fold[open] > .callback__toggle { border-color: var(--black); background: var(--gray-bg); }
.callback--fold .callback__body { display: grid; gap: 12px; padding: 14px 2px 4px; }
.callback--fold .callback__fields { grid-template-columns: minmax(0, 1fr); }
.callback--fold .callback__submit { grid-column: auto; }
.callback { scroll-margin-top: calc(var(--header-h) + 16px); }

/* Finance hero on phones: main button full width, WhatsApp + phone side by side */
@media (max-width: 599px) {
  .page-hero__inner--split > .btn-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .page-hero__inner--split > .btn-row > .btn { padding-left: 10px; padding-right: 10px; }
  .page-hero__inner--split > .btn-row > .btn:first-child { grid-column: 1 / -1; }
  .page-hero__inner--split > .btn-row > .btn:last-child:nth-child(2) { grid-column: 1 / -1; }
}

/* 6.1 Contact: quick actions on phones, form before the detail cards */
.contact-flow { display: flex; flex-direction: column; }
.contact-quick { padding-bottom: 20px; }
.contact-quick__list { list-style: none; display: flex; gap: 8px; }
.contact-quick__list > li { flex: 1 1 0; min-width: 0; }
.contact-quick__btn {
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; min-height: 76px; padding: 10px 4px;
  border-radius: var(--radius); background: var(--black); color: #fff; font-size: 13px; font-weight: 600; text-decoration: none; text-align: center;
  box-shadow: var(--shadow-sm); transition: transform .15s, box-shadow .15s;
}
.contact-quick__btn:hover { color: #fff; transform: translateY(-1px); box-shadow: var(--shadow); }
.contact-quick__btn .icon { width: 24px; height: 24px; }
.contact-quick__btn--call { background: var(--red); }
.contact-quick__btn--wa { background: var(--wa); }
.contact-quick__btn--mail { background: #fff; color: var(--text); border: 1px solid var(--border); }
.contact-quick__btn--mail:hover { color: var(--text); }
.contact-quick__btn--mail .icon, .contact-quick__btn--nav .icon { color: var(--red); }
@media (max-width: 767px) {
  .contact-flow__form { padding-top: 24px; }
  .contact-flow__cards { padding-top: 32px; }
}
@media (min-width: 768px) {
  .contact-quick { display: none; }
  .contact-flow__cards { order: 1; }
  .contact-flow__consultants { order: 2; }
  .contact-flow__form { order: 3; }
}

/* 6.2 Map: self-hosted stylized preview (no request to Google before consent / click) */
.map-box:not([data-loaded]) { aspect-ratio: auto; }
.map-box__placeholder.map-preview {
  position: relative; inset: auto; display: flex; flex-direction: column; align-items: stretch; justify-content: flex-start; gap: 0;
  padding: 0; background: #fff; text-align: left; color: var(--text);
}
.map-preview__canvas { position: relative; height: 200px; background: #eceee9 url("../img/map-preview.svg") center / cover no-repeat; }
.map-preview__pin {
  position: absolute; left: 50%; top: 50%; width: 38px; height: 38px; margin: -46px 0 0 -19px;
  border-radius: 50% 50% 50% 0; background: var(--red); transform: rotate(-45deg);
  box-shadow: -4px 6px 14px rgba(215, 25, 32, .35);
}
.map-preview__pin::after { content: ""; position: absolute; inset: 12px; border-radius: 50%; background: #fff; }
.map-preview__pulse {
  position: absolute; left: 50%; top: 50%; width: 18px; height: 8px; margin: -4px 0 0 -9px; border-radius: 50%;
  background: rgba(15, 15, 15, .25); animation: mapPulse 2.2s infinite;
}
@keyframes mapPulse { 0% { box-shadow: 0 0 0 0 rgba(215, 25, 32, .45); } 70% { box-shadow: 0 0 0 18px rgba(215, 25, 32, 0); } 100% { box-shadow: 0 0 0 0 rgba(215, 25, 32, 0); } }
.map-preview__panel { display: grid; gap: 6px; padding: 16px 18px 18px; border-top: 1px solid var(--border); }
.map-box__placeholder .map-preview__panel p { max-width: none; }
.map-preview__name { margin: 0; color: var(--red); font-size: 12px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
.map-preview__addr { margin: 0; font-size: 17px; font-weight: 600; line-height: 1.35; }
.map-preview__actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 6px; }
.map-preview__actions .btn { min-height: 44px; }
.map-preview__actions .btn:first-child { flex: 1 1 100%; }
.map-preview__actions .btn:not(:first-child) { flex: 1 1 0; }
.map-preview__note { margin: 4px 0 0; color: var(--muted); font-size: 12px; line-height: 1.45; }
@media (min-width: 768px) { .map-preview__canvas { height: 240px; } }

/* Thank-you page: stacked full-width actions on phones */
@media (max-width: 599px) { .thanks .btn-row .btn { flex: 1 1 100%; } }

/* The car-page contextual bar is for phones only (its display:flex above overrode the 768px rule). */
@media (min-width: 768px) { .mobile-bar--car { display: none; } }

/* 7.1 Footer: Link-uri / Program / Contact collapsible on phones, open columns from 768px */
.site-footer__sum { display: block; list-style: none; }
.site-footer__sum::-webkit-details-marker { display: none; }
@media (min-width: 768px) {
  .site-footer__sum { pointer-events: none; cursor: default; }
}
@media (max-width: 767px) {
  .site-footer__grid { grid-template-columns: minmax(0, 1fr); gap: 0; padding-top: 36px; padding-bottom: 24px; }
  .site-footer__brand { padding-bottom: 24px; }
  .site-footer__sum {
    display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 54px; cursor: pointer;
    border-top: 1px solid rgba(255, 255, 255, .12);
  }
  .site-footer__sum .site-footer__title { margin: 0; }
  .site-footer__sum::after { content: "+"; flex: none; color: var(--red); font-size: 24px; font-weight: 400; line-height: 1; transition: transform .2s; }
  .site-footer__fold[open] > .site-footer__sum::after { transform: rotate(45deg); }
  .site-footer__fold[open] { padding-bottom: 18px; }
  .site-footer__col:last-child .site-footer__fold { border-bottom: 1px solid rgba(255, 255, 255, .12); }
  .anpc-badge__small { font-size: 12px; letter-spacing: .02em; }
  /* Small text in the bottom bars ≥ 12px */
  .mobile-bar__item { font-size: 12px; }
  .mobile-bar__price small { font-size: 12px; }
}

/* --------------------------------------------------------------------------
   28. Page transitions: a quick cross-fade between pages with the header kept
   in place (Chrome/Edge 126+, Safari 18.2+; other browsers just navigate)
   -------------------------------------------------------------------------- */
@view-transition { navigation: auto; }
.site-header { view-transition-name: site-header; }
::view-transition-old(root), ::view-transition-new(root) { animation-duration: .16s; }
@media (prefers-reduced-motion: reduce) {
  @view-transition { navigation: none; }
}

/* --------------------------------------------------------------------------
   29. Header menu: 5 desktop items with a "Despre noi" drop-down, phone as the
   main action; the mobile menu stays one flat list
   -------------------------------------------------------------------------- */
.site-nav__group-btn { display: none; }
@media (max-width: 1099px) {
  .site-nav__sub { list-style: none; }
}
@media (min-width: 1100px) {
  .site-nav__item--mobile { display: none; }
  .site-nav__group { position: relative; }
  .site-nav__group-btn {
    display: inline-flex; align-items: center; gap: 4px; border: 0; background: none; font: inherit; cursor: pointer;
  }
  .site-nav__group-btn .icon { width: 14px; height: 14px; transform: rotate(90deg); transition: transform .2s var(--ease); }
  .site-nav__group.is-open .site-nav__group-btn .icon { transform: rotate(-90deg); }
  .site-nav__sub {
    position: absolute; top: 100%; left: 0; z-index: 60; min-width: 230px; margin-top: 6px; padding: 8px; list-style: none;
    background: #181818; border: 1px solid rgba(255, 255, 255, .1); border-radius: 14px; box-shadow: 0 18px 40px rgba(0, 0, 0, .45);
    opacity: 0; visibility: hidden; transform: translateY(-4px); transition: opacity .15s, transform .15s, visibility 0s .15s;
  }
  .site-nav__sub::before { content: ""; position: absolute; left: 0; right: 0; top: -10px; height: 10px; } /* hover bridge */
  .site-nav__group:hover .site-nav__sub, .site-nav__group:focus-within .site-nav__sub, .site-nav__group.is-open .site-nav__sub {
    opacity: 1; visibility: visible; transform: none; transition: opacity .15s, transform .15s;
  }
  .site-nav__sub .site-nav__link { padding: 10px 14px; border-radius: 10px; font-size: 15px; }
  .site-nav__sub .site-nav__link:hover { background: rgba(255, 255, 255, .06); }
  /* The phone number is the main header action on desktop */
  .header-phone { padding: 10px 18px; border-radius: var(--pill); background: var(--red); }
  .header-phone .icon { color: #fff; }
  .header-phone:hover { color: #fff; background: var(--red-dark, #b5141a); }
}

/* --------------------------------------------------------------------------
   30. "Verificăm în 10 puncte esențiale": numbered check list with icons
   (home, car page, about page)
   -------------------------------------------------------------------------- */
.cert-list {
  list-style: none; margin: 0; padding: 10px 18px;
  background: #121212; color: #fff; border: 1px solid rgba(215, 25, 32, .55); border-radius: 18px;
  box-shadow: 0 0 0 1px rgba(215, 25, 32, .12), 0 18px 44px rgba(0, 0, 0, .35);
}
.cert-list__item {
  display: grid; grid-template-columns: 30px 30px minmax(0, 1fr); gap: 12px; align-items: center;
  padding: 10px 0; border-bottom: 1px solid rgba(255, 255, 255, .09);
}
.cert-list__item:last-child { border-bottom: 0; }
.cert-list__n {
  display: inline-flex; align-items: center; justify-content: center; width: 28px; height: 28px; border-radius: 50%;
  background: var(--red); color: #fff; font-size: 13px; font-weight: 700; line-height: 1;
}
.cert-list__icon { display: inline-flex; color: #fff; }
.cert-list__icon .icon { width: 24px; height: 24px; }
.cert-list__label { font-size: 15px; font-weight: 500; line-height: 1.35; }
.cert-block__media--list { width: 100%; }
@media (min-width: 900px) {
  .cert-block:has(.cert-block__media--list) { grid-template-columns: 1fr 1.1fr; }
}
@media (max-width: 399px) {
  .cert-list { padding: 6px 12px; }
  .cert-list__item { grid-template-columns: 26px 24px minmax(0, 1fr); gap: 10px; }
  .cert-list__label { font-size: 14px; }
}

/* --------------------------------------------------------------------------
   31. Finance form: search box above the stock list
   -------------------------------------------------------------------------- */
.car-pick__search { margin-bottom: 8px; }
.field__hint { margin: 6px 0 0; font-size: 13px; color: var(--text-2); }

/* --------------------------------------------------------------------------
   32. Footer credit line
   -------------------------------------------------------------------------- */
.site-footer__credit { margin: 6px 0 0; font-size: 12px; color: rgba(255, 255, 255, .55); }
.site-footer__credit a { color: rgba(255, 255, 255, .8); text-decoration: none; }
.site-footer__credit a:hover { color: #fff; text-decoration: underline; }
.site-footer__heart { color: var(--red); }

/* --------------------------------------------------------------------------
   33. Sold cars as suggestions: "Vândute recent" on brand / model listings,
   sold car cards (grey overlay + "VÂNDUTĂ") and the sold car page banner
   with "Vrei o mașină ca aceasta? Ți-o găsim noi."
   -------------------------------------------------------------------------- */
.car-card--sold .car-card__media::after {
  content: ""; position: absolute; inset: 0; pointer-events: none; background: rgba(30, 30, 30, .38);
}
.car-card--sold .car-card__media img { filter: grayscale(.85); }
.car-card--sold .car-card__badge { z-index: 1; letter-spacing: .08em; }
.car-card--sold .car-card__brand { color: var(--muted); }
.car-card__sold-price { margin: auto 0 0; padding-top: 6px; color: var(--muted); font-size: 14px; }

.sold-recent { margin-top: 40px; padding-top: 28px; border-top: 1px solid var(--border); scroll-margin-top: calc(var(--header-h) + 16px); }
.sold-recent__head { display: grid; gap: 12px; justify-items: start; margin-bottom: 20px; }
.sold-recent__head .kicker { margin: 0; }
.sold-recent__title { margin: 0; font-size: clamp(20px, 2.6vw, 26px); line-height: 1.3; }
.sold-recent__btn { min-height: 48px; }
.sold-recent .callback--card { margin-top: 24px; }
/* Nothing in stock for this brand / model: the section leads the page */
.sold-recent--lead { margin-top: 16px; padding: 22px 18px; border: 1px solid var(--border); border-top: 3px solid var(--red); border-radius: var(--radius-lg); background: var(--gray-bg); }
.sold-recent--lead .sold-recent__title { font-size: clamp(22px, 3vw, 30px); }
.sold-recent-empty { display: flex; align-items: center; gap: 14px; padding: 16px 18px; border: 1px dashed #d6d6d6; border-radius: var(--radius); background: #fff; }
.sold-recent-empty p { margin: 0; color: var(--text-2); }
.sold-recent-empty .icon-circle { width: 44px; height: 44px; }
@media (min-width: 900px) {
  .sold-recent__head { grid-template-columns: minmax(0, 1fr) auto; align-items: end; column-gap: 24px; }
  .sold-recent__head .kicker { grid-column: 1 / -1; }
  .sold-recent--lead { padding: 28px; }
  .sold-recent .callback--card { grid-template-columns: minmax(0, 1fr); }
  .sold-recent .callback--card .callback__fields { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) auto; }
}
@media (max-width: 599px) {
  .sold-recent__btn { width: 100%; }
  .sold-recent-empty { align-items: flex-start; }
}

/* Sold car page: banner with the "find me one like this" form, similar cars right below */
.sold-banner--cta { display: grid; gap: 16px; align-items: start; padding: 20px; border-radius: var(--radius-lg); }
.sold-banner__info { display: flex; gap: 12px; align-items: flex-start; }
.sold-banner__info span { color: rgba(255, 255, 255, .78); font-size: 14.5px; }
.sold-banner__title { margin: 0 0 6px; color: #fff; font-size: clamp(22px, 3.2vw, 32px); line-height: 1.2; }
.sold-banner__lead { margin: 0; color: rgba(255, 255, 255, .82); font-size: 15px; }
.sold-banner--cta .callback--dark { max-width: none; margin-top: 0; }
/* .sold-banner .icon (red, 26px) is meant for the banner's own check icon only */
.sold-banner--cta .callback .icon { width: 1.15em; height: 1.15em; color: inherit; }
.sold-banner--cta .callback__icon .icon { width: 22px; height: 22px; color: #fff; }
.sold-banner--cta .callback--dark .callback__fields { grid-template-columns: minmax(0, 1fr); }
.sold-banner--cta + .section { padding-top: 8px; padding-bottom: 32px; }
@media (min-width: 600px) {
  .sold-banner--cta .callback--dark .callback__fields { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (min-width: 1000px) {
  .sold-banner--cta { grid-template-columns: minmax(0, 1fr) 440px; column-gap: 40px; padding: 28px 32px; }
  .sold-banner--cta > .sold-banner__info, .sold-banner--cta > .sold-banner__cta { grid-column: 1; }
  .sold-banner--cta > .callback { grid-column: 2; grid-row: 1 / span 2; }
}
.car-summary__sold-price { margin: 8px 0 12px; color: var(--muted); font-size: 15px; }

/* --------------------------------------------------------------------------
   34. Partner stock: "STOC PARTENER" label on photos, note in the description
   -------------------------------------------------------------------------- */
.car-card__partner {
  position: absolute; left: 12px; bottom: 12px; z-index: 2; padding: 5px 10px; border-radius: var(--pill);
  background: rgba(15, 15, 15, .82); color: #fff; font-size: 11px; font-weight: 700; letter-spacing: .06em;
  line-height: 1.2; text-transform: uppercase; pointer-events: none; backdrop-filter: blur(2px);
}
.gallery__partner { left: 16px; bottom: 16px; font-size: 12px; }
.partner-note {
  display: flex; gap: 10px; align-items: flex-start; margin: 0 0 16px; padding: 14px 16px;
  background: #fff6f6; border: 1px solid rgba(215, 25, 32, .25); border-left: 4px solid var(--red); border-radius: 12px;
  font-size: 15px; line-height: 1.55; color: var(--text);
}
.partner-note .icon { flex: none; width: 20px; height: 20px; margin-top: 2px; color: var(--red); }
/* Home quick search on phones: compact 2×2 grid, the phone's own picker lists the brands */
@media (max-width: 599px) { .quick-search__form .car-pick__search { display: none; } }

/* --------------------------------------------------------------------------
   35. Contact preference (Telefon / WhatsApp / Email): one row, equal widths
   -------------------------------------------------------------------------- */
.radio-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(0, 1fr)); gap: 6px; }
.radio-row .radio { display: flex; }
.radio-row .radio span { flex: 1; justify-content: center; padding: 8px 6px; font-size: 14px; white-space: nowrap; }

/* --------------------------------------------------------------------------
   36. Brand chips: phones = swipe row without a scrollbar (fade on the right);
   desktop = wrapped rows, first 10 + "+N mărci"
   -------------------------------------------------------------------------- */
.brand-chips { scrollbar-width: none; -webkit-mask-image: linear-gradient(90deg, #000 85%, transparent); mask-image: linear-gradient(90deg, #000 85%, transparent); }
.brand-chips::-webkit-scrollbar { display: none; }
.brand-chips li { flex: none; }
.brand-chips__more { display: none; }
.chip--more { border: 1px dashed var(--input-border); background: #fff; font-family: inherit; cursor: pointer; }
@media (min-width: 768px) {
  .brand-chips { flex-wrap: wrap; overflow: visible; -webkit-mask-image: none; mask-image: none; padding-bottom: 0; }
  .brand-chips.is-collapsible:not(.is-open) .is-extra { display: none; }
  .brand-chips__more { display: block; }
}

/* --------------------------------------------------------------------------
   37. About page: the 12 photo angles as a grid of tiles
   -------------------------------------------------------------------------- */
.photo-grid { list-style: none; margin: 0 auto; padding: 0; max-width: 1080px; display: grid; gap: 12px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (min-width: 600px) { .photo-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (min-width: 900px) { .photo-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; } }
.photo-grid__item {
  position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px;
  min-height: 132px; padding: 22px 12px 18px; border-radius: 16px; background: #141414; color: #fff; text-align: center;
  border: 1px solid rgba(255, 255, 255, .06);
}
.photo-grid__item .icon { width: 34px; height: 34px; color: #fff; }
.photo-grid__n {
  position: absolute; top: 10px; left: 10px; display: inline-flex; align-items: center; justify-content: center;
  width: 24px; height: 24px; border-radius: 50%; background: var(--red); color: #fff; font-size: 12px; font-weight: 700;
}
.photo-grid__label { font-size: 14px; font-weight: 600; line-height: 1.3; }
.photo-grid__item--flip .icon { transform: scaleX(-1); }

/* --------------------------------------------------------------------------
   38. Monthly rates more visible: hero badge + red rate pill on car cards
   -------------------------------------------------------------------------- */
.hero__rate {
  display: inline-flex; align-items: center; gap: 10px; margin: 0 0 18px; padding: 8px 16px 8px 8px; border-radius: var(--pill);
  background: rgba(215, 25, 32, .16); border: 1px solid rgba(215, 25, 32, .55); color: #fff; text-decoration: none; font-size: 15px;
}
.hero__rate strong { color: #fff; font-weight: 700; }
.hero__rate:hover { background: rgba(215, 25, 32, .28); color: #fff; }
.hero__rate-icon { display: inline-flex; align-items: center; justify-content: center; width: 30px; height: 30px; border-radius: 50%; background: var(--red); }
.hero__rate-icon .icon { width: 16px; height: 16px; color: #fff; }
.hero__rate-go { color: var(--red); font-weight: 700; }
.car-card__rate {
  display: inline-flex; align-items: center; gap: 6px; align-self: flex-start; margin: 0; padding: 5px 10px; border-radius: var(--pill);
  background: #fff1f1; color: var(--red); font-size: 13px; font-weight: 500;
}
.car-card__rate strong { color: var(--red); font-weight: 700; }
.car-card__rate .icon { width: 14px; height: 14px; }
@media (max-width: 599px) { .hero__rate { font-size: 14px; margin-bottom: 14px; } }

/* --------------------------------------------------------------------------
   39. Home hero benefits: 4 short bullets, two per row
   -------------------------------------------------------------------------- */
.hero__bullets { list-style: none; margin: 0 0 22px; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px 18px; max-width: 620px; }
.hero__bullets li { display: flex; align-items: center; gap: 10px; color: #fff; font-size: 15px; font-weight: 500; line-height: 1.3; }
.hero__bullet-icon { flex: none; display: inline-flex; align-items: center; justify-content: center; width: 30px; height: 30px; border-radius: 50%; background: var(--red); }
.hero__bullet-icon .icon { width: 16px; height: 16px; color: #fff; }
@media (max-width: 599px) {
  .hero__bullets { gap: 10px 12px; margin-bottom: 16px; }
  .hero__bullets li { font-size: 13px; gap: 8px; align-items: flex-start; }
  .hero__bullet-icon { width: 26px; height: 26px; }
  .hero__bullet-icon .icon { width: 14px; height: 14px; }
}

/* --------------------------------------------------------------------------
   40. Home hero on phones: more air, no search card on the first screen
   (the stock page and the bottom bar "Mașini" have the full filters)
   -------------------------------------------------------------------------- */
@media (max-width: 699px) {
  .hero__inner { padding-top: 34px; padding-bottom: 40px; }
  .hero .kicker { margin-bottom: 14px; }
  .hero__title { margin-bottom: 18px; line-height: 1.12; }
  .hero__subtitle { margin-bottom: 24px; font-size: 15.5px; line-height: 1.6; }
  .hero__bullets { gap: 16px 14px; margin-bottom: 28px; }
  .hero__actions { margin-top: 0; gap: 8px; }
  .hero .quick-search { display: none; }
}
/* Contact form: email + contact preference on full-width rows (3 pills fit in narrow columns) */
.form__grid > .field--wide { grid-column: 1 / -1; }
.field--wide .radio-row { max-width: 420px; }
