/* Car.dive — макет v2, адаптив */
@font-face {
    font-family: 'Montserrat';
    src: url('../fonts/Montserrat-VariableFont_wght.ttf') format('truetype');
    font-weight: 100 900;
    font-style: normal;
    font-display: swap;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
    --bg: #f5f5f7;
    --surface: #ffffff;
    --surface-soft: #f9fafb;
    --accent: #e8604d;
    --accent-hover: #d44f3d;
    --accent-soft: #fde8e4;
    --success: #12b76a;
    --success-hover: #0e9f5c;
    --text: #1a1a1a;
    --text-muted: #6b7280;
    --text-light: #9ca3af;
    --border: #e8eaed;
    --badge-stock-bg: #ecfdf3;
    --badge-stock-text: #027a48;
    --badge-order-bg: #fffaeb;
    --badge-order-text: #b54708;
    --radius-xl: 24px;
    --radius-lg: 20px;
    --radius-md: 14px;
    --radius-sm: 10px;
    --shadow-card: 0 4px 24px rgba(26, 26, 26, 0.06);
    --shadow-hover: 0 12px 40px rgba(26, 26, 26, 0.1);
    --font: 'Montserrat', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-weight-bold: 600;
    --container: 1200px;
    --header-h: 72px;
}

html { scroll-behavior: smooth; }

body {
    font-family: var(--font);
    background: var(--bg);
    color: var(--text);
    line-height: 1.5;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    -webkit-font-smoothing: antialiased;
}

strong,
b,
h1, h2, h3, h4, h5, h6 {
    font-weight: var(--font-weight-bold);
}

img { max-width: 100%; display: block; height: auto; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; }

.container {
    width: 100%;
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 24px;
}

.container--narrow { max-width: 440px; }
.container--narrow-text { max-width: 560px; text-align: center; }

/* ——— Header ——— */
.header {
    background: var(--surface);
    position: sticky;
    top: 0;
    z-index: 200;
    box-shadow: 0 1px 0 var(--border);
}

.header__inner {
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    min-height: var(--header-h);
    gap: 16px;
}

.logo {
    flex-shrink: 0; 
    height: 100%;
    align-content: center;
    background-image: url('../img/grid-2@2x.png');
    background-repeat: no-repeat;
    background-position: -10% 60%;
    background-size: 80%;
    background-blend-mode: saturation;
}

.logo__brand {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 6px 20px;
    
}

.logo__img {
    position: relative;
    z-index: 1;
    display: block;
    width: auto;
    height: 32px;
    max-width: 100%;
    object-fit: contain;
}

.header__burger {
    display: none;
    position: relative;
    z-index: 190;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 44px;
    height: 44px;
    padding: 10px;
    border: none;
    background: transparent;
    cursor: pointer;
    border-radius: var(--radius-sm);
}

.header__burger span {
    display: block;
    height: 2px;
    background: var(--text);
    border-radius: 1px;
    transition: transform 0.25s, opacity 0.25s;
}

.header__burger.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.header__burger.is-open span:nth-child(2) { opacity: 0; }
.header__burger.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.nav {
    display: flex;
    justify-content: center;
    gap: 36px;
}

.nav__link {
    font-size: 14px;
    font-weight: 500;
    color: var(--text-muted);
    transition: color 0.2s;
    white-space: nowrap;
}

.nav__link:hover,
.nav__link--active { color: var(--accent); }

.header__actions {
    display: flex;
    align-items: center;
    gap: 20px;
}

.header__action {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--text-muted);
    transition: color 0.2s;
}

.header__action:hover,
.header__action--active { color: var(--accent); }

.header__icon { flex-shrink: 0; }

.header__overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.4);
    z-index: 150;
    opacity: 0;
    transition: opacity 0.3s;
    pointer-events: none;
}

.header__overlay.is-visible {
    opacity: 1;
    pointer-events: auto;
}

.main { flex: 1; }

/* ——— Insurance landing ——— */
.page-insurance { --ins-navy: #111827; --ins-coral: #ef574c; --ins-coral-dark: #dc4038; --ins-mint: #15985f; --ins-ink-soft: #566176; --ins-line: #e7e9ee; background: #fff; }
.page-insurance .main { overflow: hidden; }
.insurance-symbols { position: absolute; width: 0; height: 0; overflow: hidden; }
.insurance-symbols symbol { fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.insurance-hero { position: relative; padding: 56px 0 52px; background: linear-gradient(118deg, #fff 0%, #f7f8fa 54%, #eceff3 100%); isolation: isolate; }
.insurance-hero::before { content: ''; position: absolute; inset: 0; z-index: -1; opacity: .55; background-image: linear-gradient(rgba(17,24,39,.025) 1px, transparent 1px), linear-gradient(90deg, rgba(17,24,39,.025) 1px, transparent 1px); background-size: 48px 48px; mask-image: linear-gradient(to right, #000, transparent 70%); }
.insurance-hero__glow { position: absolute; width: 520px; height: 520px; left: 48%; bottom: -240px; border-radius: 50%; background: rgba(239,87,76,.16); filter: blur(90px); pointer-events: none; }
.insurance-hero__grid { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(340px, 420px); gap: 64px; align-items: center; }
.insurance-hero__copy { position: relative; min-height: 590px; display: flex; flex-direction: column; align-items: flex-start; padding-top: 18px; }
.insurance-eyebrow { display: inline-flex; align-items: center; gap: 9px; margin-bottom: 24px; padding: 7px 13px 7px 8px; border: 1px solid rgba(17,24,39,.1); border-radius: 999px; background: rgba(255,255,255,.82); color: #394356; font-size: 12px; font-weight: 650; box-shadow: 0 8px 30px rgba(17,24,39,.05); }
.insurance-yandex-mark { display: block; width: 25px; height: 25px; border-radius: 50%; object-fit: contain; }
.insurance-hero h1 { max-width: 770px; color: var(--ins-navy); font-size: clamp(42px, 5vw, 68px); line-height: 1.02; letter-spacing: -.055em; }
.insurance-hero h1 span { color: var(--ins-coral); }
.insurance-hero__lead { max-width: 610px; margin-top: 24px; color: var(--ins-ink-soft); font-size: 17px; line-height: 1.7; }
.insurance-hero__trust { display: flex; flex-wrap: wrap; gap: 10px 22px; margin-top: 24px; position: relative; z-index: 2; }
.insurance-hero__trust span { display: inline-flex; align-items: center; gap: 8px; color: #384255; font-size: 12px; font-weight: 650; }
.insurance-hero__trust svg { width: 19px; height: 19px; color: var(--ins-coral); fill: none; stroke: currentColor; stroke-width: 1.8; }
.insurance-hero__visual { position: absolute; right: -60px; bottom: -52px; width: 76%; height: 330px; display: flex; justify-content: flex-end; align-items: flex-end; pointer-events: none; }
.insurance-hero__visual img { position: relative; z-index: 2; width: 100%; height: 100%; object-fit: contain; object-position: right bottom; filter: drop-shadow(0 30px 22px rgba(17,24,39,.25)); }
.insurance-shield-art { position: absolute; z-index: 1; right: 30%; bottom: 16px; width: 240px; height: 240px; display: grid; place-items: center; color: rgba(239,87,76,.34); }
.insurance-shield-art::before { content: ''; position: absolute; inset: 0; border-radius: 44% 44% 52% 52%; background: linear-gradient(145deg, rgba(255,255,255,.7), rgba(239,87,76,.14)); filter: blur(3px); }
.insurance-shield-art svg { position: relative; width: 84%; height: 84%; fill: none; stroke: currentColor; stroke-width: .75; }
.insurance-car-fallback { position: relative; z-index: 2; width: 76%; height: 76%; color: #253043; fill: rgba(255,255,255,.2); stroke: currentColor; stroke-width: .7; filter: drop-shadow(0 28px 18px rgba(17,24,39,.18)); }
.insurance-form-card { position: relative; z-index: 3; min-height: 590px; padding: 30px; border: 1px solid rgba(255,255,255,.85); border-radius: 28px; background: rgba(255,255,255,.94); box-shadow: 0 28px 70px rgba(17,24,39,.16), 0 2px 8px rgba(17,24,39,.05); backdrop-filter: blur(18px); }
.insurance-form-card__head > span, .insurance-section__head > span, .insurance-final__card > div > span { color: var(--ins-coral); font-size: 11px; font-weight: 750; letter-spacing: .09em; text-transform: uppercase; }
.insurance-form-card h2 { margin-top: 7px; color: var(--ins-navy); font-size: 25px; line-height: 1.2; letter-spacing: -.035em; }
.insurance-form-card__head p { margin-top: 8px; color: var(--ins-ink-soft); font-size: 12px; line-height: 1.55; }
.insurance-form { display: grid; gap: 13px; margin-top: 22px; }
.insurance-form__row label { display: grid; gap: 6px; color: #475168; font-size: 11px; font-weight: 650; }
.insurance-form input:not([type="checkbox"]) { width: 100%; min-height: 48px; padding: 0 14px; border: 1px solid #dfe2e8; border-radius: 11px; outline: none; background: #fff; color: var(--ins-navy); font: 500 14px/1 var(--font); transition: border-color .2s, box-shadow .2s, background .2s; }
.insurance-form input:not([type="checkbox"]):hover { border-color: #bbc1cc; }
.insurance-form input:not([type="checkbox"]):focus { border-color: var(--ins-coral); box-shadow: 0 0 0 3px rgba(239,87,76,.14); }
.insurance-form input::placeholder { color: #a4abb7; }
.insurance-field-error, .insurance-form-error { color: #b42318; font-size: 11px; line-height: 1.35; }
.insurance-field-error:empty { display: none; }
.insurance-form-error { margin-top: 14px; padding: 10px 12px; border-radius: 10px; background: #fff0ef; }
.insurance-consent { display: grid; grid-template-columns: 18px 1fr; gap: 9px; align-items: start; color: #6d7688; font-size: 10px; line-height: 1.45; cursor: pointer; }
.insurance-consent input { width: 18px; height: 18px; margin: 0; accent-color: var(--ins-coral); }
.insurance-button { min-height: 50px; display: inline-flex; align-items: center; justify-content: center; gap: 18px; border: 0; border-radius: 12px; background: linear-gradient(135deg, #f76659, #e9463d); box-shadow: 0 12px 24px rgba(232,70,61,.24); color: #fff; font: 700 13px/1 var(--font); cursor: pointer; transition: transform .2s ease, box-shadow .2s ease, background .2s; }
.insurance-button:hover { background: linear-gradient(135deg, #ef574c, #d9362e); box-shadow: 0 16px 30px rgba(232,70,61,.31); transform: translateY(-1px); }
.insurance-button:active { transform: translateY(0) scale(.99); }
.insurance-button:focus-visible, .insurance-compare-card a:focus-visible { outline: 3px solid rgba(17,24,39,.8); outline-offset: 3px; }
.insurance-form__note { display: flex; align-items: center; justify-content: center; gap: 7px; color: #7a8394; font-size: 9px; }
.insurance-form__note svg { width: 14px; height: 14px; color: var(--ins-mint); fill: none; stroke: currentColor; stroke-width: 1.8; }
.insurance-success { min-height: 530px; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; }
.insurance-success > span { width: 80px; height: 80px; display: grid; place-items: center; margin-bottom: 22px; border-radius: 50%; color: var(--ins-mint); background: #eaf8f1; }
.insurance-success svg { width: 43px; height: 43px; fill: none; stroke: currentColor; stroke-width: 1.6; }
.insurance-success p { max-width: 290px; margin: 14px 0 28px; color: var(--ins-ink-soft); font-size: 14px; }
.insurance-button--secondary { padding: 0 24px; background: var(--ins-navy); box-shadow: none; }
.insurance-benefits { position: relative; z-index: 4; padding: 22px 0; border-bottom: 1px solid #eceef2; background: #fff; }
.insurance-benefits__grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.insurance-benefits article { display: grid; grid-template-columns: 44px 1fr; gap: 13px; align-items: center; padding: 10px 24px; border-right: 1px solid var(--ins-line); }
.insurance-benefits article:first-child { padding-left: 0; }.insurance-benefits article:last-child { padding-right: 0; border: 0; }
.insurance-benefits article > svg { width: 42px; height: 42px; padding: 10px; border-radius: 13px; color: var(--ins-coral); background: #fff0ee; fill: none; stroke: currentColor; stroke-width: 1.5; }
.insurance-benefits article div { display: grid; gap: 3px; }.insurance-benefits strong { color: var(--ins-navy); font-size: 12px; }.insurance-benefits span { color: #727b8d; font-size: 9px; line-height: 1.4; }
.insurance-section { padding: 88px 0; background: #fff; }
.insurance-section__head { max-width: 670px; margin-bottom: 42px; }
.insurance-section__head h2 { margin-top: 9px; color: var(--ins-navy); font-size: clamp(30px, 3.2vw, 44px); line-height: 1.12; letter-spacing: -.045em; }
.insurance-section__head p { margin-top: 14px; color: var(--ins-ink-soft); font-size: 15px; line-height: 1.65; }
.insurance-compare { background: #f7f8fa; }
.insurance-compare__grid { display: grid; grid-template-columns: 1fr 1fr .85fr; gap: 18px; align-items: stretch; }
.insurance-compare-card, .insurance-saving { padding: 30px; border: 1px solid #e2e5ea; border-radius: 22px; background: #fff; }
.insurance-compare-card > span, .insurance-saving > span { color: #7a8394; font-size: 10px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.insurance-compare-card h3 { margin-top: 9px; color: var(--ins-navy); font-size: 18px; }
.insurance-compare-card > strong { display: block; margin: 24px 0; color: var(--ins-navy); font-size: 22px; font-variant-numeric: tabular-nums; }
.insurance-compare-card > strong small { color: #7b8495; font-size: 11px; font-weight: 550; }
.insurance-compare-card ul { display: grid; gap: 13px; list-style: none; }
.insurance-compare-card li { position: relative; padding-left: 20px; color: #5d6677; font-size: 12px; }
.insurance-compare-card li::before { content: '×'; position: absolute; left: 0; top: -1px; color: #9ca3af; font-weight: 700; }
.insurance-compare-card--featured { border-color: rgba(239,87,76,.55); box-shadow: 0 16px 44px rgba(239,87,76,.1); }
.insurance-compare-card--featured > span, .insurance-compare-card--featured > strong { color: var(--ins-coral); }.insurance-compare-card--featured li::before { content: '✓'; color: var(--ins-mint); }
.insurance-compare-card a { min-height: 44px; display: inline-flex; align-items: center; margin-top: 24px; padding: 0 18px; border-radius: 10px; background: #fff0ee; color: #d94037; font-size: 11px; font-weight: 700; transition: background .2s; }.insurance-compare-card a:hover { background: #ffe3df; }
.insurance-saving { position: relative; overflow: hidden; color: #fff; border: 0; background: linear-gradient(145deg, #131d30, #26344a); }
.insurance-saving > span { color: #9ee4c1; }.insurance-saving > strong { display: block; margin-top: 18px; color: #fff; font-size: 52px; line-height: 1; letter-spacing: -.06em; }.insurance-saving p { position: relative; z-index: 2; max-width: 220px; margin-top: 16px; color: #c9d0dc; font-size: 12px; line-height: 1.6; }
.insurance-saving svg { position: absolute; right: -38px; bottom: -40px; width: 180px; height: 180px; color: rgba(80,209,145,.25); fill: none; stroke: currentColor; stroke-width: .7; }
.insurance-disclaimer { margin-top: 18px; color: #858d9c; font-size: 9px; line-height: 1.55; }
.insurance-cover__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.insurance-cover article { padding: 28px; border: 1px solid var(--ins-line); border-radius: 20px; transition: transform .2s, box-shadow .2s, border-color .2s; }.insurance-cover article:hover { transform: translateY(-3px); border-color: #f2bbb6; box-shadow: 0 18px 40px rgba(17,24,39,.07); }
.insurance-cover article > span { width: 50px; height: 50px; display: grid; place-items: center; border-radius: 15px; color: var(--ins-coral); background: #fff0ee; }
.insurance-cover svg { width: 25px; height: 25px; fill: none; stroke: currentColor; stroke-width: 1.6; }.insurance-cover h3 { margin-top: 22px; color: var(--ins-navy); font-size: 16px; }.insurance-cover p { margin-top: 8px; color: #737c8e; font-size: 11px; line-height: 1.55; }
.insurance-steps { background: #f7f8fa; }
.insurance-steps ol { display: grid; grid-template-columns: repeat(4, 1fr); list-style: none; }
.insurance-steps li { position: relative; display: grid; grid-template-columns: 48px 1fr; gap: 14px; align-items: center; padding-right: 30px; }
.insurance-steps li:not(:last-child)::after { content: ''; position: absolute; top: 24px; right: 12px; width: 22px; border-top: 1px solid #cdd2da; }
.insurance-steps li > span { width: 48px; height: 48px; display: grid; place-items: center; border-radius: 50%; color: var(--ins-coral); background: #fff; box-shadow: 0 5px 18px rgba(17,24,39,.06); font-size: 11px; font-weight: 750; }
.insurance-steps strong { color: var(--ins-navy); font-size: 12px; }.insurance-steps p { margin-top: 4px; color: #737c8e; font-size: 9px; }
.insurance-final { padding: 0 0 88px; background: #f7f8fa; }
.insurance-final__card { min-height: 265px; display: flex; justify-content: space-between; align-items: center; gap: 32px; padding: 48px 56px; overflow: hidden; position: relative; border-radius: 28px; background: radial-gradient(circle at 72% 105%, rgba(255,255,255,.2), transparent 30%), linear-gradient(120deg, #df3b34, #f45e52); color: #fff; }
.insurance-final__card::after { content: ''; position: absolute; width: 340px; height: 340px; right: 80px; bottom: -250px; border: 42px solid rgba(255,255,255,.13); border-radius: 50%; }
.insurance-final__card > div { position: relative; z-index: 1; }.insurance-final__card > div > span { color: #ffd2cf; }.insurance-final h2 { margin-top: 8px; font-size: clamp(28px, 3vw, 40px); line-height: 1.14; letter-spacing: -.04em; }.insurance-final p { margin-top: 12px; color: #ffe6e4; font-size: 13px; }
.insurance-button--light { position: relative; z-index: 1; flex: 0 0 auto; padding: 0 28px; background: #fff; box-shadow: 0 14px 30px rgba(118,20,15,.18); color: #cf3931; }.insurance-button--light:hover { background: #fff7f6; color: #c83028; }

@media (max-width: 1050px) {
    .insurance-hero__grid { gap: 30px; grid-template-columns: minmax(0, 1fr) 370px; }
    .insurance-hero__copy { min-height: 560px; }.insurance-hero__visual { width: 88%; right: -30px; }
    .insurance-benefits__grid { grid-template-columns: repeat(2, 1fr); gap: 1px; background: var(--ins-line); }.insurance-benefits article { background: #fff; border: 0; padding: 16px; }
    .insurance-compare__grid { grid-template-columns: 1fr 1fr; }.insurance-saving { grid-column: 1 / -1; min-height: 230px; }.insurance-saving svg { width: 250px; height: 250px; }
}

@media (max-width: 760px) {
    .page-insurance .container { padding-left: 18px; padding-right: 18px; }
    .insurance-hero { padding: 28px 0 0; }
    .insurance-hero__grid { display: flex; flex-direction: column; gap: 0; padding: 0; }
    .insurance-hero__copy { width: 100%; min-height: 560px; padding: 0 18px; }
    .insurance-eyebrow { margin-bottom: 19px; font-size: 10px; }
    .insurance-hero h1 { font-size: clamp(38px, 11vw, 52px); line-height: 1.04; }
    .insurance-hero h1 br { display: none; }
    .insurance-hero__lead { margin-top: 18px; font-size: 15px; line-height: 1.6; }
    .insurance-hero__trust { gap: 10px 16px; margin-top: 18px; }.insurance-hero__trust span { font-size: 10px; }
    .insurance-hero__visual { right: -18px; bottom: 0; width: calc(100% + 12px); height: 245px; }.insurance-shield-art { right: 16%; width: 185px; height: 185px; }
    .insurance-form-card { width: 100%; min-height: 0; padding: 26px 18px 30px; border-radius: 26px 26px 0 0; box-shadow: 0 -18px 55px rgba(17,24,39,.12); }
    .insurance-form-card h2 { font-size: 24px; }.insurance-form { gap: 14px; }.insurance-form input:not([type="checkbox"]) { min-height: 52px; font-size: 16px; }
    .insurance-success { min-height: 390px; }.insurance-button { min-height: 54px; }
    .insurance-benefits { padding: 12px 0; }.insurance-benefits__grid { grid-template-columns: 1fr 1fr; }.insurance-benefits article { grid-template-columns: 38px 1fr; gap: 10px; padding: 14px 8px; }.insurance-benefits article > svg { width: 38px; height: 38px; }.insurance-benefits strong { font-size: 10px; }.insurance-benefits span { font-size: 8px; }
    .insurance-section { padding: 64px 0; }.insurance-section__head { margin-bottom: 28px; }.insurance-section__head h2 { font-size: 32px; }.insurance-section__head p { font-size: 14px; }
    .insurance-compare__grid { grid-template-columns: 1fr; }.insurance-compare-card, .insurance-saving { padding: 24px; }.insurance-saving { grid-column: auto; min-height: 250px; order: -1; }.insurance-saving > strong { font-size: 56px; }
    .insurance-cover__grid { grid-template-columns: 1fr 1fr; gap: 12px; }.insurance-cover article { padding: 20px 16px; }.insurance-cover article:hover { transform: none; }.insurance-cover h3 { margin-top: 16px; }.insurance-cover p { font-size: 10px; }
    .insurance-steps ol { grid-template-columns: 1fr; gap: 20px; }.insurance-steps li:not(:last-child)::after { top: auto; right: auto; left: 24px; bottom: -20px; width: 1px; height: 20px; border: 0; border-left: 1px solid #cdd2da; }.insurance-steps li { padding: 0; }
    .insurance-final { padding-bottom: 64px; }.insurance-final__card { min-height: 340px; flex-direction: column; justify-content: center; align-items: flex-start; padding: 36px 26px; border-radius: 22px; }.insurance-final__card::after { right: -130px; }.insurance-button--light { width: 100%; }
}

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

/* ——— Cards & buttons ——— */
.card {
    background: var(--surface);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-card);
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 28px;
    border-radius: 999px;
    font-weight: 600;
    font-size: 0.9375rem;
    border: none;
    cursor: pointer;
    transition: background 0.2s, transform 0.15s;
}

.btn:active { transform: scale(0.98); }

.btn--primary {
    background: var(--accent);
    color: #fff;
}

.btn--primary:hover { background: var(--accent-hover); color: #fff; }

.btn--success {
    background: var(--success);
    color: #fff;
}

.btn--success:hover { background: var(--success-hover); color: #fff; }

.btn--outline {
    background: var(--surface);
    color: var(--text);
    border: 1px solid var(--border);
}

.btn--outline:hover {
    border-color: var(--accent);
    color: var(--accent);
}

.btn--block { width: 100%; }
.btn--lg { padding: 16px 24px; font-size: 1rem; }

.badge {
    display: inline-block;
    padding: 5px 10px;
    border-radius: 999px;
    font-size: 0.6875rem;
    font-weight: 600;
    white-space: nowrap;
    flex-shrink: 0;
}

.badge--stock {
    background: var(--badge-stock-bg);
    color: var(--badge-stock-text);
}

.badge--order {
    background: var(--badge-order-bg);
    color: var(--badge-order-text);
}

/* ——— Hero (главная + страница авто) ——— */
.home-hero { padding: 24px 0 0; }

.car-page { padding: 16px 0 48px; }

.home-hero__grid {
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) minmax(320px, 400px);
    gap: 20px;
    align-items: stretch;
}

/* ——— Страница авто (auto.ru) ——— */
.car-page__head {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 24px;
    margin-bottom: 20px;
}

.car-page__title {
    font-size: clamp(1.375rem, 2.5vw, 1.75rem);
    font-weight: 600;
    line-height: 1.2;
    letter-spacing: -0.02em;
    margin-bottom: 8px;
}

.car-page__meta {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 0.8125rem;
    color: var(--text-muted);
}

.car-page__badge {
    display: inline-block;
    padding: 2px 8px;
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: 600;
    background: var(--text);
    color: #fff;
}

.car-page__badge--in_stock { background: var(--success); }

.car-page__head-price { text-align: right; flex-shrink: 0; }

.car-page__price {
    font-size: clamp(1.25rem, 2vw, 1.5rem);
    font-weight: 600;
    letter-spacing: -0.02em;
}

.car-page__price-hint {
    font-size: 0.8125rem;
    color: #4183d7;
    margin-top: 4px;
}

.car-page__layout {
    display: grid;
    grid-template-columns: minmax(280px, 380px) minmax(0, 1fr);
    gap: 24px;
    align-items: start;
}

.car-page__main { display: flex; flex-direction: column; gap: 8px; min-width: 0; }

.car-page__desktop-only { display: block; }

.car-page__info { display: flex; flex-direction: column; gap: 24px; }

/* Мобильные блоки (скрыты на десктопе) */
.car-mobile-bar,
.car-mobile-summary,
.car-mobile-specs,
.car-mobile-sticky,
.car-gallery__slider,
.car-gallery__counter {
    display: none;
}

.car-page__credit-wrap .car-credit { padding: 20px; }

.car-page__similar-head { margin-top: 48px; }

.car-block__title {
    font-size: 1.125rem;
    font-weight: 600;
    margin-bottom: 16px;
    letter-spacing: -0.02em;
}

.car-facts__row {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    padding: 10px 0;
    border-bottom: 1px solid var(--border);
    font-size: 0.9375rem;
}

.car-facts__row:last-child { border-bottom: none; }

.car-facts__label { color: var(--text-muted); }

.car-facts__value { font-weight: 600; text-align: right; }

.car-chars {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0;
}

.car-chars__item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 14px 0;
    border-bottom: 1px solid var(--border);
}

.car-chars__item:last-of-type { border-bottom: none; }

.car-chars__icon {
    width: 24px;
    height: 24px;
    flex-shrink: 0;
    object-fit: contain;
}

.car-chars__body {
    display: flex;
    flex-direction: column;
    gap: 2px;
    min-width: 0;
}

.car-chars__label {
    font-size: 0.8125rem;
    color: #8e8e8e;
    font-weight: 500;
}

.car-chars__value {
    font-size: 0.9375rem;
    font-weight: 600;
    color: var(--text);
    line-height: 1.3;
}

.car-chars__value--link { color: #4183d7; }

.car-chars__all-btn {
    width: 100%;
    margin-top: 16px;
    padding: 14px 20px;
    border: none;
    border-radius: 12px;
    background: #f0f0f0;
    font-family: inherit;
    font-size: 0.9375rem;
    font-weight: 600;
    color: var(--text);
    cursor: pointer;
    transition: background 0.2s;
}

.car-chars__all-btn:hover { background: #e5e5e5; }

/* Галерея */
.car-gallery { display: flex; flex-direction: column; gap: 8px; position: relative; }

.car-gallery__desktop { display: flex; flex-direction: column; gap: 8px; }

.car-gallery__main {
    background: #ebebeb;
    border-radius: 16px;
    overflow: hidden;
    aspect-ratio: 4 / 3;
}

.car-gallery__main-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
}

.car-gallery__thumbs {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 6px;
}

.car-gallery__thumb {
    position: relative;
    padding: 0;
    border: 2px solid transparent;
    border-radius: 10px;
    overflow: hidden;
    background: #ebebeb;
    cursor: pointer;
    aspect-ratio: 4 / 3;
    transition: border-color 0.2s;
}

.car-gallery__thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.car-gallery__thumb--active { border-color: var(--accent); }

.car-gallery__thumb--more img { filter: brightness(0.55); }

.car-gallery__more {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 4px;
    font-size: 0.75rem;
    font-weight: 600;
    color: #fff;
    text-align: center;
    line-height: 1.2;
    background: rgba(0, 0, 0, 0.35);
}

/* Popup характеристик */
.specs-modal {
    position: fixed;
    inset: 0;
    z-index: 500;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
}

.specs-modal[hidden] { display: none; }

.specs-modal__overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.55);
}

.specs-modal__dialog {
    position: relative;
    width: min(960px, 100%);
    max-height: calc(100vh - 48px);
    background: var(--surface);
    border-radius: 20px;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    box-shadow: 0 24px 64px rgba(0, 0, 0, 0.2);
}

.specs-modal__close {
    position: absolute;
    top: 16px;
    left: 16px;
    z-index: 2;
    width: 40px;
    height: 40px;
    border: none;
    border-radius: 50%;
    background: var(--surface-soft);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text);
}

.specs-modal__scroll {
    flex: 1;
    overflow-y: auto;
    padding: 56px 32px 24px;
}

.specs-modal__head { margin-bottom: 24px; }

.specs-modal__title {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 8px;
}

.specs-modal__subtitle {
    font-size: 0.875rem;
    color: var(--text-muted);
    line-height: 1.5;
}

.specs-modal__dims {
    margin-bottom: 28px;
    padding: 20px;
    background: var(--surface-soft);
    border-radius: 12px;
}

.specs-modal__dims-visual {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    gap: 16px;
    align-items: center;
    min-height: 100px;
}

.specs-dim { text-align: center; font-size: 0.8125rem; }

.specs-dim__label { display: block; color: var(--text-muted); margin-bottom: 4px; }

.specs-dim__value { font-weight: 600; }

.specs-dim__line {
    display: block;
    background: var(--border);
    margin: 8px auto;
}

.specs-dim__line--h { width: 80%; height: 2px; }
.specs-dim__line--v { width: 2px; height: 48px; }

.specs-modal__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 32px 40px;
}

.specs-section { margin-bottom: 24px; }

.specs-section__title {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 12px;
}

.specs-section__row {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    padding: 8px 0;
    font-size: 0.875rem;
    border-bottom: 1px solid var(--border);
}

.specs-section__row:last-child { border-bottom: none; }

.specs-section__row dt {
    color: var(--text-muted);
    font-weight: 500;
    flex: 1;
}

.specs-section__row dd {
    font-weight: 600;
    text-align: right;
    max-width: 55%;
}

.specs-modal__footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 16px 24px;
    border-top: 1px solid var(--border);
    background: var(--surface);
    flex-shrink: 0;
}

.specs-modal__footer-car {
    display: flex;
    align-items: center;
    gap: 12px;
}

.specs-modal__footer-car img {
    border-radius: 8px;
    object-fit: cover;
}

.specs-modal__footer-title {
    font-size: 0.875rem;
    font-weight: 600;
}

.specs-modal__footer-price {
    font-size: 0.9375rem;
    font-weight: 600;
}

.btn--success {
    background: #3bc059;
    color: #fff;
    border: none;
}

.btn--success:hover {
    background: #32a84e;
    color: #fff;
}

body.specs-modal-open { overflow: hidden; }

/* Showcase на главной (hero) */
.home-hero .car-showcase {
    padding: 28px 28px 20px;
    display: flex;
    flex-direction: column;
}

.home-hero .car-showcase__header { margin-bottom: 20px; }

.home-hero .car-showcase__title {
    font-size: clamp(1.5rem, 3vw, 2rem);
    font-weight: 600;
    line-height: 1.15;
}

.home-hero .car-showcase__brand { color: var(--text-muted); font-weight: 600; }
.home-hero .car-showcase__model { color: var(--accent); font-weight: 600; }

.home-hero .car-showcase__specs {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
    margin-bottom: 20px;
}

.home-hero .car-spec {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 6px;
    padding: 12px 8px;
    background: var(--surface-soft);
    border-radius: var(--radius-md);
}

.home-hero .car-spec__icon { color: var(--accent); display: flex; }
.home-hero .car-spec__value { font-size: 0.8125rem; font-weight: 600; }
.home-hero .car-spec__label { font-size: 0.6875rem; color: var(--text-muted); }

.home-hero .car-showcase__gallery {
    position: relative;
    flex: 1;
    min-height: 220px;
    background: var(--surface-soft);
    border-radius: var(--radius-lg);
    overflow: hidden;
}

.home-hero .car-showcase__gallery img {
    width: 100%;
    min-height: 200px;
    object-fit: contain;
    padding: 16px 48px;
}

.home-hero .car-showcase__nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 40px;
    height: 40px;
    border: none;
    border-radius: 50%;
    background: var(--surface);
    box-shadow: var(--shadow-card);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}

.home-hero .car-showcase__nav--prev { left: 12px; }
.home-hero .car-showcase__nav--next { right: 12px; }

.home-hero .car-showcase__dots {
    display: flex;
    justify-content: center;
    gap: 6px;
    padding: 14px;
    background: var(--surface);
}

.home-hero .car-showcase__dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--border);
    border: none;
    cursor: pointer;
    padding: 0;
}

.home-hero .car-showcase__dot--active {
    width: 24px;
    border-radius: 4px;
    background: var(--accent);
}

/* ——— Калькулятор ——— */
.car-credit {
    padding: 28px;
    display: flex;
    flex-direction: column;
}

.car-credit__title {
    font-size: 1.125rem;
    font-weight: 600;
    margin-bottom: 24px;
    letter-spacing: -0.02em;
}

.credit-field { margin-bottom: 24px; }

.credit-field__head {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    gap: 12px;
    margin-bottom: 12px;
}

.credit-field__label {
    font-size: 0.8125rem;
    color: var(--text-muted);
    font-weight: 600;
}

.credit-field__value {
    font-size: 0.9375rem;
    font-weight: 600;
    text-align: right;
}

.credit-field__track {
    position: relative;
    height: 6px;
    background: var(--border);
    border-radius: 3px;
}

.credit-field__range {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 6px;
    margin: 0;
    -webkit-appearance: none;
    appearance: none;
    background: transparent;
    cursor: pointer;
}

.credit-field__range::-webkit-slider-runnable-track {
    height: 6px;
    background: linear-gradient(
        to right,
        var(--accent) 0%,
        var(--accent) var(--progress, 30%),
        var(--border) var(--progress, 30%),
        var(--border) 100%
    );
    border-radius: 3px;
}

.credit-field__range::-webkit-slider-thumb {
    -webkit-appearance: none;
    width: 22px;
    height: 22px;
    margin-top: -8px;
    border-radius: 50%;
    background: var(--accent);
    box-shadow: 0 2px 8px rgba(232, 96, 77, 0.45);
    border: 3px solid #fff;
}

.credit-field__range::-moz-range-track {
    height: 6px;
    background: var(--border);
    border-radius: 3px;
}

.credit-field__range::-moz-range-thumb {
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: var(--accent);
    border: 3px solid #fff;
    box-shadow: 0 2px 8px rgba(232, 96, 77, 0.45);
}

.credit-terms { margin-bottom: 20px; }

.credit-terms__label {
    display: block;
    font-size: 0.8125rem;
    color: var(--text-muted);
    font-weight: 600;
    margin-bottom: 10px;
}

.credit-terms__buttons {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 8px;
}

.credit-terms__btn {
    padding: 12px 6px;
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    background: var(--surface);
    font-size: 0.8125rem;
    font-weight: 600;
    color: var(--text);
    cursor: pointer;
    transition: all 0.2s;
}

.credit-terms__btn:hover:not(.credit-terms__btn--active) {
    border-color: var(--accent);
    color: var(--accent);
}

.credit-terms__btn--active {
    background: var(--accent);
    border-color: var(--accent);
    color: #fff;
}

.credit-monthly-hint {
    font-size: 0.8125rem;
    color: var(--text-muted);
    text-align: center;
    margin-bottom: 16px;
    min-height: 1.25em;
}

.credit-monthly-hint:not(:empty) {
    color: var(--accent);
    font-weight: 600;
}

.car-credit__note {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    gap: 8px;
    font-size: 0.6875rem;
    color: var(--text-light);
    margin-top: 14px;
    text-align: center;
    line-height: 1.45;
}

.car-credit__note svg { flex-shrink: 0; margin-top: 1px; }

.car-credit .btn--primary { margin-top: auto; }

/* ——— Features ——— */
.features-bar { padding: 20px 0 32px; }

.features-bar__list {
    list-style: none;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.features-bar__item {
    display: flex;
    gap: 14px;
    align-items: flex-start;
}

.features-bar__icon {
    width: 44px;
    height: 44px;
    flex-shrink: 0;
    border-radius: 50%;
    background: var(--accent-soft);
    color: var(--accent);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.125rem;
    font-weight: 600;
}

.features-bar__title {
    display: block;
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: 4px;
    line-height: 1.3;
}

.features-bar__desc {
    font-size: 0.75rem;
    color: var(--text-muted);
    line-height: 1.4;
}

/* ——— Sections ——— */
.section { padding: 8px 0 40px; }
.section--models { padding-top: 16px; }
.section--promo { padding-bottom: 24px; }
.section--about { padding-bottom: 56px; }

.section__head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    gap: 16px;
}

.section__title {
    font-size: 28px;
font-weight: 500;
color: #454547;
margin-top: 16px;
    letter-spacing: -0.02em;
}

.section__title--center { text-align: center; width: 100%; margin-bottom: 12px; }
.section__title--page { margin-bottom: 12px; }

.section__lead {
    color: var(--text-muted);
    font-size: 0.9375rem;
    margin-bottom: 24px;
    max-width: 640px;
}

.section__link {
    font-size: 0.9375rem;
    font-weight: 600;
    color: var(--accent);
}

.section__link:hover { color: var(--accent-hover); }

.about-lead {
    color: var(--text-muted);
    font-size: 0.9375rem;
    line-height: 1.65;
}

/* ——— Car grid & cards ——— */
.car-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}

.car-card {
    background: var(--surface);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-card);
    overflow: hidden;
    transition: transform 0.2s, box-shadow 0.2s;
}

.car-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-hover);
}

.car-card__link {
    display: flex;
    flex-direction: column;
    height: 100%;
    color: inherit;
}

.car-card__head {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 8px;
    padding: 16px 16px 0;
}

.car-card__title {
    font-size: 0.9375rem;
    font-weight: 600;
    line-height: 1.25;
    letter-spacing: -0.01em;
}

.car-card__price {
    font-size: 0.8125rem;
    font-weight: 600;
    color: var(--text-muted);
    margin-top: 4px;
}

.car-card__image {
    padding: 8px 12px 12px;
    aspect-ratio: 16/11;
    display: flex;
    align-items: flex-end;
    justify-content: center;
}

.car-card__image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center bottom;
}

/* ——— Promo ——— */
.promo-banners {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.promo-banner {
    position: relative;
    border-radius: var(--radius-xl);
    min-height: 200px;
    overflow: hidden;
    box-shadow: var(--shadow-card);
}

.promo-banner__content {
    position: relative;
    z-index: 1;
    padding: 28px 32px;
    max-width: 65%;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
    min-height: 200px;
    justify-content: center;
}

.promo-banner--loan {
    background: linear-gradient(120deg, #fff8f6 0%, #ffece8 45%, #fff 100%);
}

.promo-banner--tradein {
    background: linear-gradient(120deg, #f6fef9 0%, #e8f8ef 50%, #fff 100%);
}

.promo-banner__title {
    font-size: 1.25rem;
    font-weight: 600;
    letter-spacing: -0.02em;
}

.promo-banner__text {
    font-size: 0.8125rem;
    color: var(--text-muted);
    line-height: 1.45;
    margin-bottom: 4px;
}

.promo-banner__decor {
    position: absolute;
    right: 20px;
    bottom: 16px;
    font-size: 4rem;
    opacity: 0.35;
    pointer-events: none;
    line-height: 1;
}

.promo-banner__decor--wallet { right: 28px; bottom: 24px; font-size: 3.5rem; }

/* ——— Breadcrumb ——— */
.breadcrumb {
    margin-bottom: 16px;
    font-size: 0.8125rem;
    color: var(--text-muted);
}

.breadcrumb a:hover { color: var(--accent); }

/* ——— Catalog ——— */
.catalog {
    display: grid;
    grid-template-columns: 260px 1fr;
    gap: 24px;
    align-items: start;
}

.catalog__sidebar { position: sticky; top: calc(var(--header-h) + 16px); }

.filter {
    background: var(--surface);
    padding: 24px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-card);
}

.filter__title {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 18px;
}

.filter__group { margin-bottom: 14px; }

.filter__label {
    display: block;
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--text-muted);
    margin-bottom: 6px;
    text-transform: uppercase;
    letter-spacing: 0.03em;
}

.filter__select,
.filter__input {
    width: 100%;
    padding: 11px 14px;
    background: var(--surface-soft);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    font-size: 0.875rem;
    font-family: inherit;
    color: var(--text);
}

.filter__row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}

.filter__actions {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-top: 16px;
}

.catalog__toolbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 20px;
}

.catalog__count { font-size: 0.9375rem; color: var(--text-muted); }

.catalog__sort { display: flex; align-items: center; gap: 8px; }

.catalog__sort-label { font-size: 0.8125rem; color: var(--text-muted); }

.catalog__empty {
    text-align: center;
    padding: 48px 24px;
    color: var(--text-muted);
    background: var(--surface);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-card);
}

/* ——— Auth ——— */
.auth-tabs {
    display: flex;
    margin-bottom: 28px;
}

.auth-tabs__btn {
    flex: 1;
    padding: 14px 16px 11px;
    border: none;
    border-bottom: 1px solid #d1d1d1;
    background: transparent;
    font-weight: 600;
    font-size: 1rem;
    color: #8e8e8e;
    cursor: pointer;
    transition: color 0.2s ease, border-color 0.2s ease;
}

.auth-tabs__btn:hover {
    color: var(--text);
}

.auth-tabs__btn--active {
    color: var(--accent);
    font-weight: 600;
    border-bottom: 3px solid var(--accent);
    padding-bottom: 9px;
}

.auth-tabs__btn--active:hover {
    color: var(--accent);
}

.auth-panel { display: none; }
.auth-panel--active { display: block; }

.btn--yandex {
    display: inline-flex;
    align-items: center;
    align-self: center;
    justify-content: center;
    gap: 12px;
    background: #1f2128;
    color: #fff;
    border: none;
    font-weight: 600;
    border-radius: 999px;
    padding: 6px 12px;
    min-height: 56px;
    margin-bottom: 0;
    
    align-self: center;
}

.btn--yandex:hover {
    background: #2a2d36;
    color: #fff;
}

.btn--yandex__icon-wrap {
    width: 32px;
    height: 32px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.08);
    flex-shrink: 0;
}

.btn--yandex__icon {
    width: 34px;
    height: 34px;
    display: block;
    flex-shrink: 0;
}

.auth-divider {
    display: flex;
    align-items: center;
    gap: 16px;
    margin: 24px 0;
    color: var(--text-muted);
    font-size: 0.8125rem;
}

.auth-divider::before,
.auth-divider::after {
    content: '';
    flex: 1;
    height: 1px;
    background: var(--border);
}

.auth-profile {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 20px;
    margin-bottom: 20px;
    background: var(--surface);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-card);
}

.auth-profile__avatar {
    border-radius: 50%;
    object-fit: cover;
}

.auth-profile__name {
    font-size: 1.125rem;
    font-weight: 600;
    margin: 0 0 4px;
}

.auth-profile__email {
    margin: 0;
    font-size: 0.875rem;
    color: var(--text-muted);
}

.header__avatar {
    border-radius: 50%;
    object-fit: cover;
}

.header__action--user .header__action-text {
    max-width: 120px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.form__group { margin-bottom: 16px; }

.form__label {
    display: block;
    font-size: 12px;
    font-weight: 500;
    color: var(--text-muted);
    margin-bottom: 6px;
}

.form__input {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    font-size: 1rem;
    font-family: inherit;
    background: var(--surface);
}

.form__input:focus {
    outline: none;
    border-color: var(--accent);
    box-shadow: 0 0 0 3px rgba(232, 96, 77, 0.12);
}

.alert {
    padding: 12px 16px;
    border-radius: var(--radius-sm);
    margin-bottom: 20px;
    font-size: 0.875rem;
}

.alert--success { background: var(--badge-stock-bg); color: var(--badge-stock-text); }
.alert--error { background: #fef3f2; color: #b42318; }

/* ——— Footer ——— */
.footer {
    background: var(--surface);
    border-top: 1px solid var(--border);
    padding: 20px 0;
    margin-top: auto;
}

.footer__inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
    font-size: 0.8125rem;
    color: var(--text-muted);
}

/* ——— Responsive: tablet ——— */
@media (max-width: 1024px) {
    .home-hero__grid { grid-template-columns: 1fr; }

    .car-page__layout { grid-template-columns: 1fr; }

    .car-credit { max-width: 100%; }

    .specs-modal__grid { grid-template-columns: 1fr; }

    .car-grid { grid-template-columns: repeat(2, 1fr); }

    .features-bar__list { grid-template-columns: repeat(2, 1fr); gap: 24px; }
}

/* ——— Responsive: mobile nav ——— */
@media (max-width: 900px) {
    .header__inner {
        grid-template-columns: 1fr auto auto;
    }

    .header__burger { display: flex; }

    .nav {
        position: fixed;
        top: 0;
        right: 0;
        width: min(300px, 85vw);
        height: 100vh;
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        padding: calc(var(--header-h) + 16px) 24px 24px;
        background: var(--surface);
        box-shadow: -8px 0 32px rgba(0, 0, 0, 0.12);
        transform: translateX(100%);
        transition: transform 0.3s ease;
        z-index: 180;
        justify-content: flex-start;
    }

    .nav.is-open { transform: translateX(0); }

    .nav__link {
        padding: 14px 0;
        border-bottom: 1px solid var(--border);
        font-size: 1rem;
    }

    .header__overlay { display: block; }

    .header__action-text { display: none; }

    .header__actions { gap: 8px; }

    .car-gallery__thumbs { grid-template-columns: repeat(4, 1fr); }

    .catalog { grid-template-columns: 1fr; }

    .catalog__sidebar { position: static; }

    .promo-banners { grid-template-columns: 1fr; }

    .promo-banner__content { max-width: 100%; }
}

/* ——— Responsive: small mobile ——— */
@media (max-width: 600px) {
    :root { --header-h: 64px; }

    .container { padding: 0 16px; }

    .home-hero { padding-top: 16px; }

    .specs-modal { padding: 0; }

    .specs-modal__dialog {
        max-height: 100vh;
        border-radius: 0;
        width: 100%;
    }

    .specs-modal__scroll { padding: 48px 16px 16px; }

    .credit-terms__buttons { grid-template-columns: repeat(2, 1fr); }

    .features-bar__list { grid-template-columns: 1fr; }

    .car-grid { grid-template-columns: 1fr; }

    .section__head {
        flex-direction: column;
        align-items: flex-start;
    }

    .footer__inner {
        flex-direction: column;
        text-align: center;
    }

    .logo__brand {
        padding: 4px 12px;
        background-size: cover;
    }

    .logo__img { height: 32px; }

    .promo-banner__decor { font-size: 2.5rem; }
}

@media (max-width: 380px) {
    .credit-terms__btn { font-size: 0.75rem; padding: 10px 4px; }
}

/* ——— Страница авто: мобильная (auto.ru) ——— */
@media (max-width: 768px) {
    body.page-car { padding-bottom: 88px; }

    body.page-car .header,
    body.page-car .footer { display: none; }

    body.page-car .main { padding-top: 0; }

    .car-mobile-bar {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 12px;
        position: sticky;
        top: 0;
        z-index: 120;
        padding: 10px 16px;
        background: var(--surface);
        border-bottom: 1px solid var(--border);
    }

    .car-mobile-bar__back,
    .car-mobile-bar__btn {
        width: 40px;
        height: 40px;
        border: none;
        background: transparent;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        color: var(--text);
        cursor: pointer;
        padding: 0;
    }

    .car-mobile-bar__logo {
        flex: 1;
        display: flex;
        justify-content: center;
        min-width: 0;
    }

    .car-mobile-bar__logo img {
        height: 28px;
        width: auto;
        max-width: 160px;
        object-fit: contain;
    }

    .car-mobile-bar__actions {
        display: flex;
        gap: 4px;
    }

    .car-page {
        padding: 0 0 24px;
    }

    .car-page__container {
        padding: 0;
        max-width: none;
    }

    .car-page__breadcrumb,
    .car-page__head,
    .car-page__desktop-only {
        display: none !important;
    }

    .car-page__layout {
        display: flex;
        flex-direction: column;
        gap: 0;
    }

    .car-page__info {
        order: 3;
        padding: 0 16px;
        gap: 0;
    }

    .car-page__main {
        order: 1;
        gap: 0;
    }

    .car-page__gallery-wrap {
        margin: 0;
    }

    .car-gallery__desktop { display: none; }

    .car-gallery__slider {
        display: flex;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
        background: #1a1a1a;
    }

    .car-gallery__slider::-webkit-scrollbar { display: none; }

    .car-gallery__slide {
        flex: 0 0 92%;
        scroll-snap-align: center;
        scroll-snap-stop: always;
        padding: 0 4px;
    }

    .car-gallery__slide:first-child { padding-left: 8px; }
    .car-gallery__slide:last-child { padding-right: 8px; }

    .car-gallery__slide img {
        width: 100%;
        aspect-ratio: 4 / 3;
        object-fit: cover;
        border-radius: 12px;
        display: block;
    }

    .car-gallery__counter {
        display: block;
        position: absolute;
        right: 20px;
        bottom: 12px;
        z-index: 2;
        padding: 4px 10px;
        border-radius: 8px;
        background: rgba(0, 0, 0, 0.55);
        color: #fff;
        font-size: 0.75rem;
        font-weight: 600;
        pointer-events: none;
    }

    .car-mobile-summary {
        display: block;
        padding: 16px 16px 12px;
        background: var(--surface);
    }

    .car-mobile-summary__price-row {
        display: flex;
        align-items: center;
        gap: 10px;
        margin-bottom: 6px;
    }

    .car-mobile-summary__price {
        font-size: 1.375rem;
        font-weight: 600;
        letter-spacing: -0.02em;
    }

    .car-mobile-summary__badge {
        padding: 3px 8px;
        border-radius: 6px;
        font-size: 0.6875rem;
        font-weight: 600;
        background: var(--text);
        color: #fff;
    }

    .car-mobile-summary__badge--in_stock { background: var(--success); }

    .car-mobile-summary__title {
        font-size: 1rem;
        font-weight: 600;
        line-height: 1.35;
        margin-bottom: 8px;
    }

    .car-mobile-summary__link {
        font-size: 0.8125rem;
        color: #4183d7;
        font-weight: 500;
    }

    .car-mobile-specs {
        display: block;
        margin: 0 16px 16px;
        padding: 16px;
        border-radius: 16px;
        box-shadow: var(--shadow-card);
    }

    .car-mobile-specs__grid {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 20px 16px;
        margin-bottom: 16px;
    }

    .car-mobile-specs__cell {
        display: flex;
        align-items: flex-start;
        gap: 10px;
        min-width: 0;
    }

    .car-mobile-specs__icon {
        width: 28px;
        height: 28px;
        flex-shrink: 0;
        object-fit: contain;
    }

    .car-mobile-specs__text {
        display: flex;
        flex-direction: column;
        gap: 2px;
        min-width: 0;
    }

    .car-mobile-specs__value {
        font-size: 0.9375rem;
        font-weight: 600;
        line-height: 1.25;
    }

    .car-mobile-specs__label {
        font-size: 0.75rem;
        color: var(--text-muted);
        line-height: 1.3;
    }

    .car-mobile-specs__rows { margin-bottom: 16px; }

    .car-mobile-specs__row {
        display: flex;
        justify-content: space-between;
        gap: 12px;
        padding: 12px 0;
        border-bottom: 1px solid var(--border);
        font-size: 0.9375rem;
    }

    .car-mobile-specs__row:last-child { border-bottom: none; }

    .car-mobile-specs__row dt { color: var(--text-muted); font-weight: 500; }

    .car-mobile-specs__row dd {
        font-weight: 600;
        text-align: right;
        max-width: 58%;
    }

    .car-mobile-specs__all {
        width: 100%;
        padding: 14px;
        border: none;
        border-radius: 12px;
        background: #f0f0f0;
        font-family: inherit;
        font-size: 0.9375rem;
        font-weight: 600;
        cursor: pointer;
    }

    .car-page__credit-wrap .car-credit {
        padding: 20px 16px;
        border-radius: 16px;
        box-shadow: var(--shadow-card);
    }

    .car-page__similar-head {
        padding: 0 16px;
        margin-top: 24px;
    }

    .car-page .car-grid {
        padding: 0 16px;
    }

    .car-mobile-sticky {
        display: flex;
        align-items: stretch;
        gap: 8px;
        position: fixed;
        left: 0;
        right: 0;
        bottom: 0;
        z-index: 200;
        padding: 10px 12px calc(10px + env(safe-area-inset-bottom));
        background: var(--surface);
        border-top: 1px solid var(--border);
        box-shadow: 0 -4px 24px rgba(0, 0, 0, 0.08);
    }

    .car-mobile-sticky__primary {
        flex: 1;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        padding: 12px 16px;
        border-radius: 12px;
        text-align: center;
        text-decoration: none;
        min-height: 52px;
    }

    .car-mobile-sticky__primary-title {
        font-size: 1rem;
        font-weight: 600;
        display: block;
    }

    .car-mobile-sticky__primary-sub {
        font-size: 0.6875rem;
        font-weight: 500;
        opacity: 0.9;
        display: block;
        margin-top: 2px;
    }

    .car-mobile-sticky__chat {
        width: 52px;
        flex-shrink: 0;
        border: none;
        border-radius: 12px;
        background: #e8f8ec;
        color: var(--success);
        display: flex;
        align-items: center;
        justify-content: center;
        cursor: pointer;
    }
}

.auth-verify__lead {
    color: var(--text-muted);
    font-size: 0.9375rem;
    margin-bottom: 24px;
    line-height: 1.5;
}

.auth-verify__resend {
    text-align: center;
    margin-top: 20px;
    font-size: 0.875rem;
    color: var(--text-muted);
}

.auth-verify__resend a { color: var(--accent); font-weight: 600; }

.auth-verify__back {
    text-align: center;
    margin-top: 12px;
    font-size: 0.875rem;
}

.auth-verify__back a { color: var(--text-muted); }

.form__input--code {
    font-size: 1.5rem;
    letter-spacing: 0.35em;
    text-align: center;
    font-weight: 600;
}

/* ——— Личный кабинет (dashboard) ——— */
.cabinet-body {
    background: var(--bg);
    min-height: 100vh;
}

.cabinet-layout {
    display: flex;
    min-height: 100vh;
    max-width: 1320px;
    margin: 0 auto;
    padding: 20px;
    gap: 20px;
}

.cabinet-sidebar {
    width: 248px;
    flex-shrink: 0;
    background: #1a1a1a;
    color: #fff;
    border-radius: var(--radius-xl);
    padding: 24px 18px;
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.cabinet-sidebar__logo img {
    height: 28px;
    width: auto;
    filter: brightness(0) invert(1);
    opacity: 0.95;
}

.cabinet-sidebar__profile {
    display: flex;
    align-items: center;
    gap: 12px;
}

.cabinet-sidebar__avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    object-fit: cover;
    flex-shrink: 0;
}

.cabinet-sidebar__avatar--placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--accent);
    color: #fff;
    font-size: 1.125rem;
    font-weight: 600;
}

.cabinet-sidebar__profile-text {
    display: flex;
    flex-direction: column;
    gap: 6px;
    min-width: 0;
}

.cabinet-sidebar__name {
    font-size: 0.9375rem;
    font-weight: 600;
    line-height: 1.3;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.cabinet-sidebar__badge {
    display: inline-flex;
    align-self: flex-start;
    padding: 2px 8px;
    border-radius: 999px;
    font-size: 0.6875rem;
    font-weight: 600;
    background: rgba(255, 255, 255, 0.12);
    color: rgba(255, 255, 255, 0.85);
}

.cabinet-sidebar__nav {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.cabinet-sidebar__link {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 12px;
    border-radius: 12px;
    font-size: 0.875rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.65);
    transition: background 0.2s, color 0.2s;
}

.cabinet-sidebar__link:hover {
    background: rgba(255, 255, 255, 0.08);
    color: #fff;
}

.cabinet-sidebar__link--active {
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
    font-weight: 600;
}

.cabinet-sidebar__link-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0.85;
}

.cabinet-sidebar__link-dot {
    width: 6px;
    height: 6px;
    margin-left: auto;
    border-radius: 50%;
    background: var(--accent);
}

.cabinet-sidebar__help {
    margin-top: auto;
    padding: 14px;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.06);
}

.cabinet-sidebar__help-title {
    font-size: 0.8125rem;
    font-weight: 600;
    margin-bottom: 6px;
}

.cabinet-sidebar__help-text {
    font-size: 0.75rem;
    line-height: 1.45;
    color: rgba(255, 255, 255, 0.55);
    margin-bottom: 10px;
}

.cabinet-sidebar__help-link {
    font-size: 0.8125rem;
    font-weight: 600;
    color: var(--accent);
}

.cabinet-sidebar__logout {
    font-size: 0.8125rem;
    color: rgba(255, 255, 255, 0.45);
    padding: 0 12px;
}

.cabinet-sidebar__logout:hover {
    color: rgba(255, 255, 255, 0.75);
}

.cabinet-shell {
    flex: 1;
    min-width: 0;
}

.cabinet-main {
    min-height: calc(100vh - 40px);
}

.cabinet-dashboard {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.cabinet-alert {
    padding: 12px 16px;
    border-radius: var(--radius-md);
    font-size: 0.875rem;
    font-weight: 500;
}

.cabinet-alert--success {
    background: var(--badge-stock-bg);
    color: var(--badge-stock-text);
}

.cabinet-dashboard__head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 20px;
    flex-wrap: wrap;
}

.cabinet-dashboard__greeting {
    font-size: 1.5rem;
    font-weight: 600;
    margin: 0 0 4px;
}

.cabinet-dashboard__subtitle {
    margin: 0;
    font-size: 0.875rem;
    color: var(--text-muted);
}

.cabinet-search {
    position: relative;
    flex: 0 1 320px;
    width: 100%;
    max-width: 320px;
}

.cabinet-search__icon {
    position: absolute;
    left: 14px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-light);
    pointer-events: none;
}

.cabinet-search__input {
    width: 100%;
    padding: 12px 14px 12px 42px;
    border: 1px solid var(--border);
    border-radius: 999px;
    background: var(--surface);
    font-family: inherit;
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--text);
    outline: none;
    transition: border-color 0.2s, box-shadow 0.2s;
}

.cabinet-search__input:focus {
    border-color: var(--accent);
    box-shadow: 0 0 0 3px var(--accent-soft);
}

.cabinet-dashboard__grid {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    gap: 20px;
}

.cabinet-widget {
    background: var(--surface);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-card);
    padding: 22px;
}

.cabinet-widget--hero {
    grid-column: span 5;
    background: linear-gradient(135deg, var(--accent) 0%, #c94a38 100%);
    color: #fff;
    min-height: 180px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.cabinet-widget__hero-top {
    display: flex;
    align-items: center;
    gap: 10px;
}

.cabinet-widget__hero-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.18);
}

.cabinet-widget__hero-label {
    font-size: 0.875rem;
    font-weight: 500;
    opacity: 0.9;
}

.cabinet-widget__hero-value {
    font-size: 2rem;
    font-weight: 600;
    line-height: 1.1;
    margin: 16px 0 6px;
}

.cabinet-widget__hero-meta {
    margin: 0;
    font-size: 0.8125rem;
    opacity: 0.85;
}

.cabinet-dashboard__stats {
    grid-column: span 2;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.cabinet-widget--mini {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-height: 0;
}

.cabinet-widget__mini-label {
    font-size: 0.8125rem;
    color: var(--text-muted);
    margin-bottom: 8px;
}

.cabinet-widget__mini-value {
    font-size: 1.75rem;
    font-weight: 600;
    line-height: 1;
    margin: 0 0 6px;
}

.cabinet-widget__mini-hint {
    font-size: 0.75rem;
    color: var(--text-light);
}

.cabinet-widget--list {
    grid-column: span 5;
}

.cabinet-widget--wide {
    grid-column: span 8;
}

.cabinet-widget--side {
    grid-column: span 4;
}

.cabinet-widget--cta {
    grid-column: span 12;
    padding: 0;
    background: transparent;
    box-shadow: none;
}

.cabinet-widget__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 18px;
}

.cabinet-widget__title {
    font-size: 1rem;
    font-weight: 600;
    margin: 0;
}

.cabinet-widget__empty {
    text-align: center;
    padding: 20px 0 8px;
}

.cabinet-widget__empty p {
    margin-bottom: 14px;
    color: var(--text-muted);
    font-size: 0.875rem;
}

.cabinet-widget__muted {
    font-size: 0.875rem;
    color: var(--text-muted);
    margin: 0;
}

.cabinet-widget__progress {
    margin-top: 18px;
    padding-top: 18px;
    border-top: 1px solid var(--border);
}

.cabinet-widget__progress-labels {
    display: flex;
    justify-content: space-between;
    font-size: 0.75rem;
    color: var(--text-muted);
    margin-bottom: 8px;
}

.cabinet-widget__progress-bar {
    height: 8px;
    background: var(--border);
    border-radius: 999px;
    overflow: hidden;
}

.cabinet-widget__progress-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--accent), var(--success));
    border-radius: 999px;
    transition: width 0.4s ease;
}

.cabinet-credit-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.cabinet-credit-list__item {
    display: flex;
    align-items: center;
    gap: 12px;
}

.cabinet-credit-list__icon {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    overflow: hidden;
    flex-shrink: 0;
    background: var(--surface-soft);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    color: var(--accent);
}

.cabinet-credit-list__icon img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.cabinet-credit-list__body {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.cabinet-credit-list__body strong {
    font-size: 0.9375rem;
}

.cabinet-credit-list__body span {
    font-size: 0.75rem;
    color: var(--text-muted);
}

.cabinet-credit-list__status {
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--text-muted);
    white-space: nowrap;
}

.cabinet-history {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.cabinet-history__row {
    display: grid;
    grid-template-columns: 1fr auto auto;
    align-items: center;
    gap: 16px;
    padding-bottom: 14px;
    border-bottom: 1px solid var(--border);
}

.cabinet-history__row:last-child {
    padding-bottom: 0;
    border-bottom: none;
}

.cabinet-history__user {
    display: flex;
    align-items: center;
    gap: 12px;
    min-width: 0;
}

.cabinet-history__avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--accent-soft);
    color: var(--accent);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    flex-shrink: 0;
}

.cabinet-history__user strong {
    display: block;
    font-size: 0.875rem;
    margin-bottom: 2px;
}

.cabinet-history__user span {
    font-size: 0.75rem;
    color: var(--text-muted);
}

.cabinet-history__amount {
    font-size: 0.875rem;
    font-weight: 600;
    white-space: nowrap;
}

.cabinet-badge {
    display: inline-flex;
    align-items: center;
    padding: 4px 10px;
    border-radius: 999px;
    font-size: 0.6875rem;
    font-weight: 600;
    white-space: nowrap;
}

.cabinet-badge--active {
    background: var(--badge-stock-bg);
    color: var(--badge-stock-text);
}

.cabinet-badge--pending {
    background: var(--badge-order-bg);
    color: var(--badge-order-text);
}

.cabinet-badge--closed {
    background: var(--surface-soft);
    color: var(--text-muted);
}

.cabinet-badge--new {
    background: var(--accent-soft);
    color: var(--accent);
}

.cabinet-badge--tag {
    background: var(--surface-soft);
    color: var(--text-muted);
}

.cabinet-recommend__image {
    display: block;
    border-radius: var(--radius-md);
    overflow: hidden;
    margin-bottom: 14px;
    aspect-ratio: 16 / 10;
    background: var(--surface-soft);
}

.cabinet-recommend__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.cabinet-recommend__meta {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 10px;
}

.cabinet-recommend__updated {
    font-size: 0.75rem;
    color: var(--text-light);
}

.cabinet-recommend__title {
    font-size: 1rem;
    font-weight: 600;
    margin: 0 0 8px;
    line-height: 1.35;
}

.cabinet-recommend__title a:hover {
    color: var(--accent);
}

.cabinet-recommend__text {
    font-size: 0.8125rem;
    color: var(--text-muted);
    line-height: 1.5;
    margin: 0 0 16px;
}

.cabinet-recommend__footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    flex-wrap: wrap;
}

.cabinet-recommend__price {
    font-size: 0.9375rem;
    font-weight: 600;
}

.cabinet-cta {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 18px 22px;
    background: #1a1a1a;
    color: #fff;
    border-radius: var(--radius-lg);
    flex-wrap: wrap;
}

.cabinet-cta__icon {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    font-weight: 600;
    flex-shrink: 0;
}

.cabinet-cta__text {
    flex: 1;
    min-width: 180px;
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.cabinet-cta__text strong {
    font-size: 0.9375rem;
}

.cabinet-cta__text span {
    font-size: 0.8125rem;
    color: rgba(255, 255, 255, 0.6);
}

.btn--sm {
    padding: 10px 18px;
    font-size: 0.8125rem;
}

@media (max-width: 1100px) {
    .cabinet-widget--hero,
    .cabinet-dashboard__stats,
    .cabinet-widget--list,
    .cabinet-widget--wide,
    .cabinet-widget--side {
        grid-column: span 12;
    }

    .cabinet-dashboard__stats {
        flex-direction: row;
    }

    .cabinet-widget--mini {
        flex: 1;
    }
}

@media (max-width: 768px) {
    .cabinet-layout {
        flex-direction: column;
        padding: 12px;
    }

    .cabinet-sidebar {
        width: 100%;
    }

    .cabinet-sidebar__help,
    .cabinet-sidebar__logout {
        display: none;
    }

    .cabinet-sidebar__nav {
        flex-direction: row;
        flex-wrap: wrap;
        gap: 8px;
    }

    .cabinet-sidebar__link {
        flex: 1 1 calc(50% - 4px);
        justify-content: center;
    }

    .cabinet-sidebar__link-dot {
        display: none;
    }

    .cabinet-dashboard__stats {
        flex-direction: column;
    }

    .cabinet-history__row {
        grid-template-columns: 1fr;
        gap: 8px;
    }

    .cabinet-search {
        max-width: none;
    }
}

@media (max-width: 480px) {
    .cabinet-dashboard__greeting {
        font-size: 1.25rem;
    }

    .cabinet-widget__hero-value {
        font-size: 1.625rem;
    }

    .cabinet-cta {
        flex-direction: column;
        align-items: stretch;
        text-align: center;
    }

    .cabinet-cta .btn {
        width: 100%;
    }
}

/* body lock when menu open */
body.menu-open { overflow: hidden; }

/* ——— Главная по новому лендингу ——— */
.skip-link {
    position: fixed;
    top: 8px;
    left: 8px;
    z-index: 2000;
    padding: 10px 14px;
    border-radius: 8px;
    background: #171a21;
    color: #fff;
    transform: translateY(-150%);
    transition: transform 0.2s ease;
}

.skip-link:focus { transform: translateY(0); }

:where(a, button, summary, input, select):focus-visible {
    outline: 3px solid rgba(198, 60, 49, 0.35);
    outline-offset: 3px;
}

.page-home {
    --home-accent: #df574a;
    --home-accent-strong: #c63c31;
    --home-accent-soft: #fff0ee;
    --home-ink: #20232b;
    --home-muted: #687083;
    --home-line: #eceef2;
    --home-surface: #ffffff;
    --home-canvas: #fbfbfc;
    --home-shadow: 0 12px 36px rgba(38, 45, 61, 0.055);
    background: var(--home-canvas);
}

.page-home .footer .container,
.page-home .home-page .container {
    max-width: 1488px;
}

.page-home .main { overflow: hidden; }
.page-home .footer { margin-top: 36px; }

.home-symbols {
    position: absolute;
    width: 0;
    height: 0;
    overflow: hidden;
}

.home-page {
    color: var(--home-ink);
    padding-bottom: 16px;
}

.home-page svg {
    display: block;
    width: 24px;
    height: 24px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.7;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.home-surface {
    background: var(--home-surface);
    border: 1px solid var(--home-line);
    border-radius: 20px;
    box-shadow: var(--home-shadow);
}

.home-landing-hero { padding: 0 0 20px; }

.home-landing-hero__card {
    position: relative;
    display: grid;
    grid-template-columns: minmax(400px, 0.86fr) minmax(520px, 1.14fr);
    min-height: clamp(600px, 43vw, 710px);
    overflow: hidden;
    border-radius: 20px;
    background:
        radial-gradient(circle at 83% 36%, rgba(255, 216, 211, 0.7), transparent 33%),
        linear-gradient(120deg, #fff 0%, #fffdfd 48%, #fff6f5 100%);
    border: 1px solid #f2eeee;
    box-shadow: var(--home-shadow);
}

.home-landing-hero__card::after {
    content: '';
    position: absolute;
    right: 3%;
    top: 6%;
    width: 58%;
    aspect-ratio: 1;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255, 231, 228, 0.75), rgba(255, 249, 248, 0) 70%);
    pointer-events: none;
}

.home-landing-hero__copy {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    padding: clamp(46px, 4.3vw, 72px) 24px 34px clamp(34px, 4vw, 64px);
}

.home-landing-hero__title {
    max-width: 650px;
    font-size: clamp(43px, 4.15vw, 68px);
    line-height: 1.08;
    letter-spacing: -0.045em;
    font-weight: 650;
}

.home-landing-hero__title span {
    display: block;
    color: var(--home-accent);
}

.home-landing-hero__lead {
    margin-top: 24px;
    color: var(--home-muted);
    font-size: clamp(15px, 1.25vw, 19px);
    line-height: 1.55;
}

.home-benefits {
    display: grid;
    gap: 15px;
    margin-top: 28px;
    list-style: none;
}

.home-benefits li {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 14px;
    font-weight: 550;
}

.home-benefits li > span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: var(--home-accent-soft);
    color: var(--home-accent-strong);
}

.home-benefits svg { width: 12px; height: 12px; stroke-width: 2.5; }

.home-landing-hero__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 34px;
}

.home-button {
    display: inline-flex;
    min-height: 48px;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 12px 22px;
    border: 1px solid transparent;
    border-radius: 11px;
    font-size: 13px;
    font-weight: 650;
    cursor: pointer;
    transition: color 0.2s ease, background 0.2s ease, border-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.home-button:hover { transform: translateY(-2px); }
.home-button:active { transform: translateY(0) scale(0.98); }

.home-button--primary {
    background: var(--home-accent-strong);
    color: #fff;
    box-shadow: 0 10px 24px rgba(198, 60, 49, 0.18);
}

.home-button--primary:hover { background: #ad3027; color: #fff; }

.home-button--outline {
    border-color: var(--home-accent);
    background: rgba(255, 255, 255, 0.72);
    color: var(--home-accent-strong);
}

.home-button--outline:hover { background: var(--home-accent-soft); }

.home-button__play {
    display: inline-flex;
    width: 22px;
    height: 22px;
    align-items: center;
    justify-content: center;
    border: 1px solid currentColor;
    border-radius: 50%;
    font-size: 8px;
    padding-left: 1px;
}

.home-partner {
    display: flex;
    align-items: flex-end;
    gap: clamp(26px, 4vw, 68px);
    margin-top: auto;
    padding-top: 24px;
}

.home-partner strong {
    display: block;
    margin-bottom: 6px;
    font-size: 12px;
}

.home-partner small {
    display: block;
    color: var(--home-muted);
    font-size: 9px;
    line-height: 1.55;
}

.home-partner__brand {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 27px;
    font-weight: 650;
    letter-spacing: -0.05em;
}

.home-partner__brand img { width: 28px; height: 28px; }

.home-landing-hero__visual {
    position: relative;
    z-index: 1;
    min-width: 0;
}

.home-saving-card {
    position: absolute;
    z-index: 4;
    top: 34px;
    right: 34px;
    display: flex;
    min-width: 174px;
    flex-direction: column;
    padding: 20px 22px;
    border: 1px solid #f1efef;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.9);
    box-shadow: 0 14px 34px rgba(42, 45, 57, 0.08);
    backdrop-filter: blur(10px);
}

.home-saving-card span {
    color: var(--home-accent-strong);
    font-size: 12px;
    font-weight: 650;
}

.home-saving-card strong {
    margin: 4px 0 6px;
    color: var(--home-accent);
    font-size: 30px;
    letter-spacing: -0.04em;
}

.home-saving-card small { font-size: 11px; line-height: 1.45; }

.home-car-stage {
    position: absolute;
    z-index: 2;
    inset: 15% 3% 9% -8%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.home-car-stage > img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    filter: drop-shadow(0 34px 24px rgba(20, 24, 33, 0.2));
}

.home-image-placeholder {
    display: flex;
    width: min(100%, 700px);
    aspect-ratio: 1.75;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 14px;
    border: 1px dashed rgba(198, 60, 49, 0.28);
    border-radius: 32% 48% 22% 20% / 50% 48% 28% 28%;
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.78), rgba(255, 235, 232, 0.56));
    color: rgba(198, 60, 49, 0.58);
}

.home-image-placeholder svg { width: 150px; height: 150px; stroke-width: 0.9; }
.home-image-placeholder span { font-size: 12px; font-weight: 600; letter-spacing: 0.04em; }

.home-slider-dots {
    position: absolute;
    z-index: 3;
    left: 50%;
    bottom: 34px;
    display: flex;
    align-items: center;
    gap: 8px;
    transform: translateX(-50%);
}

.home-slider-dots span {
    width: 11px;
    height: 7px;
    border-radius: 999px;
    background: #dfe1e6;
}

.home-slider-dots .is-active { width: 32px; background: var(--home-accent); }

.home-stats,
.home-why,
.home-process,
.home-centers,
.home-popular,
.home-trust,
.home-faq,
.home-final-cta { padding: 0 0 20px; scroll-margin-top: 24px; }

.home-stats__grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    min-height: 146px;
    align-items: center;
    padding: 24px 30px;
}

.home-stat {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    min-height: 82px;
    border-right: 1px solid var(--home-line);
}

.home-stat:last-child { border-right: 0; }

.home-round-icon {
    display: inline-flex;
    width: 64px;
    height: 64px;
    flex: 0 0 64px;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: var(--home-accent-soft);
    color: var(--home-accent);
}

.home-round-icon svg { width: 30px; height: 30px; }

.home-stat strong {
    display: block;
    font-size: clamp(24px, 2.2vw, 35px);
    line-height: 1.1;
    letter-spacing: -0.035em;
}

.home-stat small {
    display: block;
    margin-top: 7px;
    font-size: 11px;
    line-height: 1.45;
}

.home-why__card {
    display: grid;
    grid-template-columns: minmax(260px, 0.62fr) minmax(0, 2.38fr);
    min-height: 390px;
    padding: 40px 36px 36px;
}

.home-why__intro {
    padding-right: 30px;
    border-right: 1px solid var(--home-line);
}

.home-why__intro h2,
.home-process__card > h2,
.home-centers__copy h2,
.home-section-head h2,
.home-faq > .container > h2,
.home-final-cta h2 {
    font-size: clamp(26px, 2.35vw, 38px);
    line-height: 1.14;
    letter-spacing: -0.035em;
}

.home-why__intro p {
    max-width: 270px;
    margin-top: 24px;
    color: var(--home-muted);
    font-size: 12px;
    line-height: 1.7;
}

.home-why__intro a {
    display: inline-flex;
    min-height: 44px;
    align-items: center;
    gap: 6px;
    margin-top: 25px;
    color: var(--home-accent-strong);
    font-size: 12px;
    font-weight: 650;
}

.home-why__steps {
    display: grid;
    grid-template-columns: 1fr auto 1fr auto 1fr auto 1fr;
    align-items: center;
    gap: clamp(10px, 1.2vw, 22px);
    padding-left: 34px;
}

.home-why-step {
    display: flex;
    min-width: 0;
    height: 100%;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    padding: 22px 12px;
    text-align: center;
}

.home-round-icon--lg { width: 76px; height: 76px; flex-basis: 76px; }
.home-round-icon--lg svg { width: 38px; height: 38px; }

.home-why-step h3 {
    margin-top: 20px;
    font-size: 12px;
    line-height: 1.55;
}

.home-why-step p {
    max-width: 185px;
    margin-top: 16px;
    color: var(--home-muted);
    font-size: 10px;
    line-height: 1.65;
}

.home-why-step--result {
    align-self: stretch;
    border-radius: 14px;
    background: linear-gradient(145deg, #fff7f5, #fff0ed);
}

.home-step-arrow,
.home-process__arrow {
    color: var(--home-accent);
    font-size: 26px;
    font-weight: 300;
}

.home-process__card {
    min-height: 465px;
    padding: 32px 44px 24px;
    text-align: center;
}

.home-process__steps {
    display: grid;
    grid-template-columns: 1fr auto 1fr auto 1fr auto 1fr;
    align-items: start;
    gap: 18px;
    margin-top: 22px;
}

.home-process-step {
    display: flex;
    align-items: center;
    flex-direction: column;
}

.home-process-step__visual {
    display: flex;
    width: 112px;
    height: 112px;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    border: 2px solid #f8cec8;
    border-radius: 50%;
    background: linear-gradient(145deg, #fff, #fff5f3);
}

.home-process-step__visual svg { width: 62px; height: 62px; color: var(--home-accent); stroke-width: 1.15; }
.home-process-step__visual img { width: 86%; height: 70%; object-fit: contain; }

.home-process-step h3 {
    display: flex;
    align-items: center;
    gap: 9px;
    margin-top: 18px;
    font-size: 12px;
    line-height: 1.45;
}

.home-process-step h3 span {
    display: inline-flex;
    width: 22px;
    height: 22px;
    align-items: center;
    justify-content: center;
    flex: 0 0 22px;
    border-radius: 50%;
    background: var(--home-accent);
    color: #fff;
    font-size: 10px;
}

.home-process-step p {
    max-width: 210px;
    margin-top: 14px;
    color: var(--home-muted);
    font-size: 10px;
    line-height: 1.65;
}

.home-process__arrow { align-self: center; margin-top: 47px; }

.home-process__note {
    display: inline-flex;
    min-height: 54px;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin-top: 26px;
    padding: 12px 24px;
    border-radius: 10px;
    background: #fff4f2;
    color: #4e5360;
    font-size: 13px;
}

.home-process__note svg { width: 22px; height: 22px; color: var(--home-accent-strong); }
.home-process__note strong { color: var(--home-accent-strong); }

.home-centers__card {
    display: grid;
    grid-template-columns: 330px minmax(0, 1fr);
    min-height: 450px;
    overflow: hidden;
}

.home-centers__copy { padding: 42px 32px; }

.home-centers__copy > p {
    margin-top: 14px;
    color: var(--home-muted);
    font-size: 12px;
    line-height: 1.6;
}

.home-centers__copy ul {
    display: grid;
    gap: 10px;
    margin-top: 22px;
    list-style: none;
}

.home-centers__copy li {
    position: relative;
    padding-left: 22px;
    color: var(--home-muted);
    font-size: 11px;
}

.home-centers__copy li::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    width: 10px;
    height: 10px;
    border: 2px solid #8fa3d1;
    border-radius: 50%;
    transform: translateY(-50%);
}

.home-centers__copy small {
    display: block;
    margin: 12px 0 20px;
    color: var(--home-accent-strong);
    font-size: 10px;
}

.home-map {
    position: relative;
    min-height: 450px;
    overflow: hidden;
    background-color: #eef3e9;
    background-image:
        linear-gradient(24deg, transparent 47%, rgba(255, 255, 255, 0.92) 48%, rgba(255, 255, 255, 0.92) 50%, transparent 51%),
        linear-gradient(155deg, transparent 46%, rgba(255, 255, 255, 0.82) 47%, rgba(255, 255, 255, 0.82) 49%, transparent 50%),
        repeating-linear-gradient(18deg, transparent 0 64px, rgba(196, 208, 184, 0.65) 65px 67px),
        repeating-linear-gradient(104deg, transparent 0 80px, rgba(196, 208, 184, 0.6) 81px 83px);
}

.home-map::before,
.home-map::after {
    content: '';
    position: absolute;
    border: 3px solid rgba(245, 211, 139, 0.78);
    border-radius: 50%;
}

.home-map::before { inset: 10% 19% 8% 18%; transform: rotate(-8deg); }
.home-map::after { inset: 28% 33% 27% 31%; border-color: rgba(247, 190, 113, 0.86); }

.home-map__road {
    position: absolute;
    z-index: 1;
    width: 130%;
    height: 5px;
    border: 1px solid rgba(230, 183, 111, 0.52);
    background: rgba(255, 252, 241, 0.9);
}

.home-map__road--one { top: 30%; left: -10%; transform: rotate(9deg); }
.home-map__road--two { top: 60%; left: -9%; transform: rotate(-10deg); }
.home-map__road--three { top: 48%; left: -12%; transform: rotate(27deg); }

.home-map__river {
    position: absolute;
    z-index: 1;
    inset: -20% 35% -20% 44%;
    border: 7px solid rgba(137, 197, 224, 0.55);
    border-top-color: transparent;
    border-bottom-color: transparent;
    border-radius: 50%;
    transform: rotate(28deg);
}

.home-map__city {
    position: absolute;
    z-index: 2;
    color: #5e665c;
    font-size: 9px;
}

.home-map__city--main { top: 48%; left: 49%; color: #303830; font-size: 15px; font-weight: 650; }
.home-map__city--one { top: 29%; left: 16%; }
.home-map__city--two { top: 17%; left: 61%; }
.home-map__city--three { top: 54%; right: 9%; }
.home-map__city--four { bottom: 10%; right: 18%; }

.home-map__pin {
    position: absolute;
    z-index: 3;
    display: flex;
    width: 34px;
    height: 34px;
    align-items: center;
    justify-content: center;
    border: 1px solid #f7d7d2;
    border-radius: 50% 50% 50% 8px;
    background: #fff;
    color: var(--home-accent);
    box-shadow: 0 6px 14px rgba(48, 58, 49, 0.14);
    transform: rotate(-45deg);
}

.home-map__pin svg { width: 20px; height: 20px; transform: rotate(45deg); }
.home-map__pin--1 { top: 18%; left: 31%; }
.home-map__pin--2 { top: 31%; left: 57%; }
.home-map__pin--3 { top: 43%; left: 25%; }
.home-map__pin--4 { top: 48%; right: 20%; }
.home-map__pin--5 { bottom: 15%; left: 42%; }
.home-map__pin--6 { bottom: 25%; right: 29%; }
.home-map__pin--7 { top: 19%; right: 17%; }
.home-map__pin--8 { bottom: 8%; left: 18%; }

.home-popular { padding-top: 10px; }

.home-section-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 20px;
}

.home-section-head a {
    display: inline-flex;
    min-height: 44px;
    align-items: center;
    color: var(--home-accent-strong);
    font-size: 12px;
    font-weight: 650;
}

.home-cars {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 18px;
}

.home-car-card {
    position: relative;
    min-width: 0;
    overflow: hidden;
    border: 1px solid var(--home-line);
    border-radius: 16px;
    background: #fff;
    box-shadow: var(--home-shadow);
    transition: transform 0.22s ease, box-shadow 0.22s ease;
}

.home-car-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 18px 42px rgba(38, 45, 61, 0.1);
}

.home-car-card__main { display: block; padding: 16px 16px 20px; }

.home-car-card__saving {
    display: inline-flex;
    min-height: 25px;
    align-items: center;
    padding: 5px 10px;
    border-radius: 999px;
    background: #ebf1ff;
    color: #3567c9;
    font-size: 9px;
    font-weight: 650;
}

.home-car-card__image {
    display: flex;
    height: 170px;
    align-items: center;
    justify-content: center;
    margin: 2px -6px 12px;
}

.home-car-card__image > img { width: 100%; height: 100%; object-fit: contain; }

.home-image-placeholder--card {
    width: 100%;
    height: 145px;
    aspect-ratio: auto;
    border-radius: 12px;
    background: linear-gradient(145deg, #fbfbfc, #f5f6f8);
    color: #a5aab5;
}

.home-image-placeholder--card svg { width: 88px; height: 88px; }

.home-car-card h3 {
    padding-right: 34px;
    font-size: 13px;
    line-height: 1.4;
}

.home-car-card p {
    margin-top: 8px;
    font-size: 11px;
    font-weight: 600;
}

.home-car-card small {
    display: block;
    margin-top: 4px;
    color: var(--home-muted);
    font-size: 9px;
}

.home-car-card__favorite {
    position: absolute;
    right: 12px;
    bottom: 13px;
    display: flex;
    width: 44px;
    height: 44px;
    align-items: center;
    justify-content: center;
    border: 0;
    background: transparent;
    color: var(--home-accent);
    cursor: pointer;
}

.home-car-card__favorite svg { width: 22px; height: 22px; }
.home-car-card__favorite:hover { color: var(--home-accent-strong); }
.home-car-card__favorite.is-active svg { fill: currentColor; }

.home-trust__grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    overflow: hidden;
}

.home-trust__grid article {
    min-height: 210px;
    padding: 25px 16px 22px;
    border-right: 1px solid var(--home-line);
    text-align: center;
}

.home-trust__grid article:last-child { border-right: 0; }
.home-trust__grid .home-round-icon { width: 58px; height: 58px; flex-basis: 58px; }
.home-trust__grid .home-round-icon svg { width: 30px; height: 30px; }

.home-trust__grid h3 { margin-top: 18px; font-size: 12px; line-height: 1.45; }
.home-trust__grid p { margin-top: 11px; color: var(--home-muted); font-size: 9px; line-height: 1.65; }

.home-faq { padding-top: 10px; }
.home-faq > .container > h2 { margin-bottom: 20px; font-size: 24px; }

.home-faq__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px 30px;
}

.home-faq details {
    border: 1px solid var(--home-line);
    border-radius: 12px;
    background: #fff;
    box-shadow: 0 5px 16px rgba(38, 45, 61, 0.035);
}

.home-faq summary {
    position: relative;
    display: flex;
    min-height: 50px;
    align-items: center;
    padding: 12px 46px 12px 16px;
    font-size: 11px;
    font-weight: 550;
    list-style: none;
    cursor: pointer;
}

.home-faq summary::-webkit-details-marker { display: none; }

.home-faq summary::after {
    content: '⌄';
    position: absolute;
    top: 50%;
    right: 17px;
    color: var(--home-accent-strong);
    font-size: 20px;
    transform: translateY(-58%);
    transition: transform 0.2s ease;
}

.home-faq details[open] summary::after { transform: translateY(-42%) rotate(180deg); }

.home-faq details p {
    padding: 0 16px 16px;
    color: var(--home-muted);
    font-size: 11px;
    line-height: 1.65;
}

.home-final-cta { padding-top: 8px; }

.home-final-cta__card {
    position: relative;
    display: grid;
    grid-template-columns: 0.72fr 1.28fr;
    min-height: 340px;
    overflow: hidden;
    border-radius: 20px;
    background:
        radial-gradient(circle at 78% 14%, rgba(255, 189, 181, 0.8), transparent 34%),
        linear-gradient(115deg, #b9322a 0%, #dd4d40 47%, #ff9387 100%);
    color: #fff;
    box-shadow: 0 18px 42px rgba(169, 48, 40, 0.2);
}

.home-final-cta__copy {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    flex-direction: column;
    padding: 44px 0 44px 68px;
}

.home-final-cta h2 { font-size: clamp(28px, 2.7vw, 42px); }
.home-final-cta p { margin-top: 15px; font-size: 11px; line-height: 1.55; }

.home-button--light {
    min-width: 220px;
    margin-top: 22px;
    background: #fff;
    color: var(--home-accent-strong);
    box-shadow: 0 10px 24px rgba(92, 29, 24, 0.14);
}

.home-button--light:hover { background: #fff5f3; }

.home-final-cta__visual { position: relative; min-width: 0; }

.home-final-cta__visual > img {
    position: absolute;
    right: 2%;
    bottom: -15%;
    width: 100%;
    height: 125%;
    object-fit: contain;
    filter: drop-shadow(0 28px 22px rgba(73, 20, 17, 0.36));
}

.home-image-placeholder--inverse {
    position: absolute;
    right: 5%;
    bottom: -10%;
    width: 90%;
    border-color: rgba(255, 255, 255, 0.34);
    background: rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.72);
}

.home-about {
    padding: clamp(64px, 6vw, 96px) 0 clamp(36px, 2.8vw, 48px);
    scroll-margin-top: 24px;
}

.home-about__grid {
    display: grid;
    grid-template-columns: minmax(0, 0.96fr) minmax(440px, 1.04fr);
    align-items: stretch;
    gap: clamp(42px, 4.8vw, 76px);
}

.home-about__content {
    display: flex;
    min-width: 0;
    flex-direction: column;
}

.home-about h2 {
    font-size: clamp(42px, 4.2vw, 68px);
    line-height: 1;
    letter-spacing: -0.045em;
}

.home-about__intro {
    max-width: 670px;
    margin-top: clamp(28px, 2.5vw, 40px);
    color: #41495d;
    font-size: clamp(16px, 1.2vw, 19px);
    line-height: 1.75;
}

.home-about__intro p + p { margin-top: 24px; }

.home-about__features {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: clamp(18px, 2.1vw, 34px);
    margin-top: clamp(38px, 3.5vw, 56px);
}

.home-about-feature { min-width: 0; }

.home-about-feature__icon,
.home-about-stat__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--home-accent-soft);
    color: var(--home-accent);
}

.home-about-feature__icon {
    width: 64px;
    height: 64px;
    border-radius: 18px;
}

.home-about-feature__icon svg { width: 32px; height: 32px; }

.home-about-feature h3 {
    margin-top: 20px;
    font-size: 15px;
    line-height: 1.4;
}

.home-about-feature p {
    margin-top: 14px;
    color: var(--home-muted);
    font-size: 12px;
    line-height: 1.75;
}

.home-about__stats {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    margin-top: auto;
    padding-top: clamp(32px, 3vw, 46px);
    border-top: 1px solid var(--home-line);
}

.home-about__stats article {
    display: flex;
    min-width: 0;
    align-items: center;
    gap: 16px;
    padding: 0 clamp(16px, 2vw, 30px);
    border-right: 1px solid var(--home-line);
}

.home-about__stats article:first-child { padding-left: 0; }
.home-about__stats article:last-child { padding-right: 0; border-right: 0; }

.home-about-stat__icon {
    width: 56px;
    height: 56px;
    flex: 0 0 56px;
    border-radius: 50%;
}

.home-about-stat__icon svg { width: 27px; height: 27px; }

.home-about__stats strong {
    display: block;
    font-size: clamp(24px, 2vw, 34px);
    line-height: 1;
    letter-spacing: -0.035em;
    font-variant-numeric: tabular-nums;
    white-space: nowrap;
}

.home-about__stats small {
    display: block;
    margin-top: 7px;
    font-size: 12px;
    line-height: 1.45;
}

.home-about__media {
    min-width: 0;
    min-height: clamp(560px, 44vw, 720px);
    overflow: hidden;
    border-radius: 24px;
    background: #eef2f5;
    box-shadow: var(--home-shadow);
}

.home-about__media img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.page-home .home-footer {
    margin-top: 0;
    padding: 0;
    border-top: 1px solid var(--home-line);
    background: #fff;
    color: var(--home-ink);
}

.home-footer svg {
    display: block;
    width: 22px;
    height: 22px;
    flex: 0 0 22px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.7;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.home-footer__grid {
    display: grid;
    grid-template-columns: 0.76fr 0.92fr 1.32fr;
    padding-top: 44px;
    padding-bottom: 42px;
}

.home-footer__column {
    min-width: 0;
    padding: 0 clamp(28px, 3vw, 52px);
    border-left: 1px solid var(--home-line);
}

.home-footer__column:first-child { padding-left: 0; border-left: 0; }
.home-footer__column:last-child { padding-right: 0; }

.home-footer__column h2 {
    font-size: 17px;
    line-height: 1.3;
    letter-spacing: -0.015em;
}

.home-footer__list {
    display: grid;
    gap: 2px;
    margin-top: 20px;
    list-style: none;
}

.home-footer__list a,
.home-footer__item {
    display: flex;
    min-height: 44px;
    align-items: center;
    gap: 15px;
    color: #41495d;
    font-size: 14px;
    line-height: 1.45;
}

.home-footer__list a {
    border-radius: 8px;
    transition: color 0.2s ease, background 0.2s ease;
}

.home-footer__list a:hover { color: var(--home-accent-strong); }
.home-footer__list svg { color: #3e4963; transition: color 0.2s ease; }
.home-footer__list a:hover svg { color: var(--home-accent-strong); }

.home-footer__phone { align-items: flex-start !important; padding-top: 8px; padding-bottom: 8px; }
.home-footer__phone > svg { margin-top: 2px; }
.home-footer__phone strong { display: block; color: var(--home-ink); font-size: 15px; }
.home-footer__phone small { display: block; margin-top: 3px; color: var(--home-muted); font-size: 12px; }

.home-footer__office {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    margin-top: 30px;
    color: #4d566c;
}

.home-footer__flag {
    width: 25px;
    height: 17px;
    flex: 0 0 25px;
    margin-top: 4px;
    overflow: hidden;
    border: 1px solid #e1e4ea;
    border-radius: 3px;
    background: linear-gradient(to bottom, #fff 0 33.33%, #1769d2 33.33% 66.66%, #e13939 66.66% 100%);
}

.home-footer__office address {
    font-size: 14px;
    font-style: normal;
    line-height: 1.65;
}

.home-footer__bottom { border-top: 1px solid var(--home-line); }

.home-footer__bottom .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    min-height: 58px;
    color: var(--home-muted);
    font-size: 12px;
}

@media (max-width: 1180px) {
    .home-landing-hero__card { grid-template-columns: minmax(370px, 0.9fr) minmax(440px, 1.1fr); }
    .home-landing-hero__title { font-size: clamp(42px, 4.8vw, 58px); }
    .home-stat { gap: 12px; }
    .home-round-icon { width: 56px; height: 56px; flex-basis: 56px; }
    .home-why__card { grid-template-columns: 230px 1fr; padding-left: 28px; padding-right: 22px; }
    .home-why__steps { padding-left: 20px; gap: 8px; }
    .home-why-step { padding-left: 6px; padding-right: 6px; }
    .home-process__card { padding-left: 26px; padding-right: 26px; }
    .home-about__grid { gap: 38px; }
    .home-about__features { gap: 18px; }
    .home-about__stats article { gap: 11px; padding-left: 14px; padding-right: 14px; }
    .home-about-stat__icon { width: 48px; height: 48px; flex-basis: 48px; }
    .home-about-stat__icon svg { width: 24px; height: 24px; }
    .home-about__stats small { font-size: 11px; }
}

@media (max-width: 1024px) {
    .home-landing-hero__card { grid-template-columns: 1fr; min-height: 1040px; }
    .home-landing-hero__copy { padding-right: 38%; padding-bottom: 0; }
    .home-landing-hero__visual { min-height: 500px; }
    .home-car-stage { inset: 4% 8% 8% 8%; }
    .home-saving-card { top: 12px; right: 28px; }
    .home-partner { margin-top: 42px; }
    .home-stats__grid { grid-template-columns: repeat(2, 1fr); gap: 12px 0; }
    .home-stat:nth-child(2) { border-right: 0; }
    .home-stat:nth-child(-n+2) { border-bottom: 1px solid var(--home-line); }
    .home-why__card { grid-template-columns: 1fr; }
    .home-why__intro { padding: 0 0 28px; border-right: 0; border-bottom: 1px solid var(--home-line); }
    .home-why__intro h2 br { display: none; }
    .home-why__intro p { max-width: 680px; }
    .home-why__steps { padding: 28px 0 0; }
    .home-process__steps { grid-template-columns: 1fr 1fr; gap: 30px; }
    .home-process__arrow { display: none; }
    .home-process-step p { max-width: 260px; }
    .home-centers__card { grid-template-columns: 280px minmax(0, 1fr); }
    .home-cars { grid-template-columns: repeat(2, 1fr); }
    .home-car-card__image { height: 210px; }
    .home-trust__grid { grid-template-columns: repeat(3, 1fr); }
    .home-trust__grid article:nth-child(3) { border-right: 0; }
    .home-trust__grid article:nth-child(-n+3) { border-bottom: 1px solid var(--home-line); }
    .home-final-cta__card { grid-template-columns: 0.9fr 1.1fr; }
    .home-final-cta__copy { padding-left: 42px; }
    .home-about__grid { grid-template-columns: 1fr; }
    .home-about__content { min-height: 610px; }
    .home-about__media { min-height: 0; aspect-ratio: 1.35; }
    .home-footer__grid { grid-template-columns: 1fr 1fr; }
    .home-footer__column--office {
        grid-column: 1 / -1;
        margin-top: 32px;
        padding: 32px 0 0;
        border-top: 1px solid var(--home-line);
        border-left: 0;
    }
}

@media (max-width: 768px) {
    .home-landing-hero__card { min-height: 930px; }
    .home-landing-hero__copy { padding: 38px 28px 0; }
    .home-landing-hero__visual { min-height: 380px; }
    .home-landing-hero__title { font-size: clamp(40px, 8vw, 56px); }
    .home-saving-card { min-width: 146px; padding: 14px 16px; }
    .home-saving-card strong { font-size: 24px; }
    .home-car-stage { inset: 5% 5% 10%; }
    .home-why__steps { grid-template-columns: 1fr 1fr; gap: 12px; }
    .home-step-arrow { display: none; }
    .home-why-step { min-height: 260px; }
    .home-process__card { padding: 30px 22px 24px; }
    .home-centers__card { grid-template-columns: 1fr; }
    .home-centers__copy { padding: 32px 28px; }
    .home-map { min-height: 390px; }
    .home-trust__grid { grid-template-columns: 1fr 1fr; }
    .home-trust__grid article,
    .home-trust__grid article:nth-child(3) { border-right: 1px solid var(--home-line); }
    .home-trust__grid article:nth-child(even) { border-right: 0; }
    .home-trust__grid article:nth-child(-n+4) { border-bottom: 1px solid var(--home-line); }
    .home-trust__grid article:last-child {
        grid-column: 1 / -1;
        border-right: 0;
    }
    .home-faq__grid { grid-template-columns: 1fr; gap: 10px; }
    .home-final-cta__card { grid-template-columns: 1fr; min-height: 560px; }
    .home-final-cta__copy { padding: 38px 30px 0; justify-content: flex-start; }
    .home-final-cta__visual { min-height: 300px; }
    .home-final-cta__visual > img { right: -5%; width: 110%; height: 120%; }
    .home-image-placeholder--inverse { right: 10%; bottom: -3%; width: 80%; }
    .home-about { padding-top: 60px; }
    .home-about__content { min-height: 0; }
    .home-about__features { grid-template-columns: 1fr 1fr; }
    .home-about__stats { margin-top: 48px; }
    .home-footer__grid { grid-template-columns: 1fr; padding-top: 34px; padding-bottom: 34px; }
    .home-footer__column,
    .home-footer__column:first-child,
    .home-footer__column--office {
        grid-column: auto;
        margin-top: 0;
        padding: 28px 0 0;
        border-top: 1px solid var(--home-line);
        border-left: 0;
    }
    .home-footer__column:first-child { padding-top: 0; border-top: 0; }
    .home-footer__column + .home-footer__column { margin-top: 28px; }
}

@media (max-width: 600px) {
    .home-landing-hero { padding-top: 4px; }
    .home-landing-hero__card { min-height: 840px; border-radius: 18px; }
    .home-landing-hero__copy { padding: 32px 20px 0; }
    .home-landing-hero__title { font-size: clamp(35px, 10vw, 45px); }
    .home-landing-hero__lead { margin-top: 18px; font-size: 15px; }
    .home-benefits { gap: 12px; margin-top: 22px; }
    .home-benefits li { font-size: 12px; }
    .home-landing-hero__actions { flex-direction: column; margin-top: 26px; }
    .home-button { width: 100%; }
    .home-partner { align-items: center; justify-content: space-between; gap: 12px; margin-top: 25px; }
    .home-partner small { display: none; }
    .home-partner__brand { font-size: 21px; }
    .home-partner__brand img { width: 24px; height: 24px; }
    .home-landing-hero__visual { min-height: 300px; }
    .home-saving-card { top: 4px; right: 14px; min-width: 126px; padding: 11px 12px; }
    .home-saving-card span,
    .home-saving-card small { font-size: 9px; }
    .home-saving-card strong { font-size: 20px; }
    .home-car-stage { inset: 8% 1% 12%; }
    .home-image-placeholder { gap: 5px; border-radius: 24px; }
    .home-image-placeholder svg { width: 92px; height: 92px; }
    .home-slider-dots { bottom: 18px; }
    .home-surface { border-radius: 18px; }
    .home-stats__grid { padding: 14px 8px; }
    .home-stat { flex-direction: column; min-height: 135px; gap: 8px; text-align: center; }
    .home-stat strong { font-size: 25px; }
    .home-stat small { font-size: 9px; }
    .home-round-icon { width: 50px; height: 50px; flex-basis: 50px; }
    .home-round-icon svg { width: 25px; height: 25px; }
    .home-why__card { padding: 28px 20px 20px; }
    .home-why__intro h2 br { display: none; }
    .home-why__steps { grid-template-columns: 1fr; }
    .home-why-step { min-height: 225px; }
    .home-process__steps { grid-template-columns: 1fr; }
    .home-process-step { padding-bottom: 10px; }
    .home-process__note { align-items: flex-start; margin-top: 14px; padding: 14px; text-align: left; font-size: 11px; }
    .home-centers__copy h2 br,
    .home-section-head h2 br { display: none; }
    .home-map { min-height: 300px; }
    .home-map__pin { width: 28px; height: 28px; }
    .home-map__pin svg { width: 16px; height: 16px; }
    .home-section-head { align-items: flex-end; }
    .home-section-head h2 { font-size: 26px; }
    .home-cars { grid-template-columns: 1fr; }
    .home-car-card__image { height: 195px; }
    .home-trust__grid article { min-height: 190px; padding-left: 10px; padding-right: 10px; }
    .home-trust__grid h3 { font-size: 11px; }
    .home-trust__grid p { font-size: 8px; }
    .home-faq > .container > h2 { font-size: 22px; }
    .home-final-cta__card { min-height: 520px; }
    .home-final-cta__copy { padding: 30px 20px 0; }
    .home-final-cta h2 { font-size: 30px; }
    .home-final-cta__visual { min-height: 260px; }
    .home-about { padding: 48px 0 40px; }
    .home-about h2 { font-size: 42px; }
    .home-about__intro { margin-top: 24px; font-size: 16px; line-height: 1.65; }
    .home-about__intro p + p { margin-top: 20px; }
    .home-about__features { gap: 28px 18px; margin-top: 36px; }
    .home-about-feature__icon { width: 56px; height: 56px; border-radius: 16px; }
    .home-about-feature__icon svg { width: 28px; height: 28px; }
    .home-about-feature h3 { margin-top: 16px; font-size: 14px; }
    .home-about-feature p { margin-top: 10px; font-size: 12px; }
    .home-about__stats { grid-template-columns: 1fr; padding-top: 10px; }
    .home-about__stats article,
    .home-about__stats article:first-child,
    .home-about__stats article:last-child {
        min-height: 92px;
        padding: 16px 0;
        border-right: 0;
        border-bottom: 1px solid var(--home-line);
    }
    .home-about__stats article:last-child { border-bottom: 0; }
    .home-about-stat__icon { width: 52px; height: 52px; flex-basis: 52px; }
    .home-about__stats strong { font-size: 28px; }
    .home-about__stats small { font-size: 12px; }
    .home-about__media { border-radius: 18px; aspect-ratio: 1.06; }
    .home-footer__bottom .container {
        align-items: flex-start;
        flex-direction: column;
        gap: 4px;
        min-height: 0;
        padding-top: 18px;
        padding-bottom: 18px;
    }
}

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

/* ——— Каталог: премиальная витрина ——— */
.page-catalog {
    --catalog-accent: #ee5b4a;
    --catalog-accent-strong: #d94638;
    --catalog-ink: #111827;
    --catalog-muted: #667085;
    --catalog-line: #e3e7ed;
    --catalog-canvas: #f6f7f9;
    --catalog-surface: rgba(255, 255, 255, 0.94);
    --catalog-shadow: 0 18px 50px rgba(29, 41, 57, 0.07);
    background: var(--catalog-canvas);
    overflow-x: hidden;
}

.page-catalog .header {
    background: rgba(255, 255, 255, 0.94);
    box-shadow: 0 1px 0 rgba(17, 24, 39, 0.06);
    backdrop-filter: blur(16px);
}

.page-catalog .header .container,
.page-catalog .catalog-page .container,
.page-catalog .footer .container {
    max-width: 1504px;
}

.page-catalog .main {
    background:
        radial-gradient(circle at 72% 16%, rgba(223, 230, 239, 0.55), transparent 30%),
        linear-gradient(180deg, #f7f8fa 0%, #ffffff 74%);
}

.catalog-page {
    min-height: calc(100dvh - var(--header-h));
    padding: 26px 0 72px;
    color: var(--catalog-ink);
}

.page-catalog .catalog {
    display: grid;
    grid-template-columns: 312px minmax(0, 1fr);
    gap: 28px;
    align-items: start;
}

.page-catalog .catalog__sidebar {
    position: sticky;
    top: calc(var(--header-h) + 18px);
    z-index: 20;
}

.page-catalog .filter {
    padding: 26px 24px 24px;
    border: 1px solid rgba(227, 231, 237, 0.82);
    border-radius: 22px;
    background: var(--catalog-surface);
    box-shadow: var(--catalog-shadow);
    backdrop-filter: blur(14px);
}

.page-catalog .filter__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 32px;
    margin-bottom: 22px;
}

.page-catalog .filter__title {
    margin: 0;
    font-size: 1.125rem;
    line-height: 1.2;
    color: var(--catalog-ink);
}

.page-catalog .filter__reset {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
    gap: 6px;
    color: var(--catalog-accent-strong);
    font-size: 0.75rem;
    font-weight: 600;
    transition: color 180ms ease;
}

.page-catalog .filter__reset:hover { color: #a92f27; }

.page-catalog .filter__close {
    display: none;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border: 0;
    border-radius: 50%;
    background: #f2f4f7;
    color: var(--catalog-ink);
    cursor: pointer;
}

.page-catalog .filter__group { margin-bottom: 16px; }

.page-catalog .filter__label,
.page-catalog .filter__legend {
    display: block;
    margin-bottom: 7px;
    color: #515c70;
    font-size: 0.8125rem;
    font-weight: 600;
    line-height: 1.35;
    letter-spacing: 0;
    text-transform: none;
}

.page-catalog .filter__sublabel {
    display: block;
    margin-bottom: 6px;
    color: #7b8494;
    font-size: 0.6875rem;
    font-weight: 500;
}

.page-catalog .filter__select,
.page-catalog .filter__input {
    width: 100%;
    min-height: 44px;
    padding: 10px 38px 10px 13px;
    border: 1px solid var(--catalog-line);
    border-radius: 10px;
    background-color: #fff;
    color: #263142;
    font-family: inherit;
    font-size: 0.8125rem;
    font-weight: 500;
    outline: none;
    transition: border-color 180ms ease, box-shadow 180ms ease, background-color 180ms ease;
}

.page-catalog .filter__select {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23475569' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 12px center;
}

.page-catalog .filter__input { padding-right: 10px; }

.page-catalog .filter__select:hover,
.page-catalog .filter__input:hover { border-color: #cbd2dc; }

.page-catalog .filter__select:focus,
.page-catalog .filter__input:focus {
    border-color: var(--catalog-accent);
    box-shadow: 0 0 0 3px rgba(238, 91, 74, 0.12);
}

.page-catalog .filter__input::placeholder { color: #7a8495; opacity: 1; }

.page-catalog .filter__fieldset {
    min-width: 0;
    margin: 0;
    padding: 0;
    border: 0;
}

.page-catalog .filter__fieldset--price { margin-top: 1px; }

.page-catalog .filter__row {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 10px;
}

.page-catalog .filter__price-range {
    --range-start: 0%;
    --range-end: 100%;
    position: relative;
    height: 44px;
    margin: -6px 2px 1px;
}

.page-catalog .filter__price-range::before,
.page-catalog .filter__price-range::after {
    position: absolute;
    top: 20px;
    height: 4px;
    border-radius: 999px;
    content: '';
}

.page-catalog .filter__price-range::before {
    right: 0;
    left: 0;
    background: #f0d8d5;
}

.page-catalog .filter__price-range::after {
    right: calc(100% - var(--range-end));
    left: var(--range-start);
    background: var(--catalog-accent);
}

.page-catalog .filter__range {
    position: absolute;
    inset: 0;
    z-index: 2;
    width: 100%;
    height: 44px;
    margin: 0;
    appearance: none;
    background: transparent;
    pointer-events: none;
}

.page-catalog .filter__range::-webkit-slider-runnable-track { height: 4px; background: transparent; }
.page-catalog .filter__range::-moz-range-track { height: 4px; background: transparent; }

.page-catalog .filter__range::-webkit-slider-thumb {
    width: 15px;
    height: 15px;
    margin-top: -6px;
    appearance: none;
    border: 3px solid var(--catalog-accent);
    border-radius: 50%;
    background: #fff;
    box-shadow: 0 2px 6px rgba(217, 70, 56, 0.18);
    cursor: pointer;
    pointer-events: auto;
}

.page-catalog .filter__range::-moz-range-thumb {
    width: 11px;
    height: 11px;
    border: 3px solid var(--catalog-accent);
    border-radius: 50%;
    background: #fff;
    box-shadow: 0 2px 6px rgba(217, 70, 56, 0.18);
    cursor: pointer;
    pointer-events: auto;
}

.page-catalog .filter__actions { margin-top: 2px; }

.page-catalog .filter__actions .btn {
    min-height: 44px;
    border-radius: 999px;
    background: linear-gradient(135deg, #f26450, #ea5244);
    box-shadow: 0 9px 22px rgba(234, 82, 68, 0.22);
    font-size: 0.8125rem;
}

.page-catalog .filter__actions .btn:hover {
    background: linear-gradient(135deg, #eb5846, #dc4438);
    box-shadow: 0 12px 28px rgba(220, 68, 56, 0.27);
}

.page-catalog .filter__support {
    margin-top: 22px;
    padding: 15px;
    border: 1px solid #eef0f4;
    border-radius: 14px;
    background: linear-gradient(145deg, #f8f9fb, #f5f6f8);
}

.page-catalog .filter__support-title {
    display: flex;
    align-items: center;
    gap: 7px;
    color: #4b5565;
    font-size: 0.75rem;
    line-height: 1.35;
}

.page-catalog .filter__support-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 18px;
    height: 18px;
    flex: 0 0 18px;
    border-radius: 50%;
    background: #73aef4;
    color: #fff;
}

.page-catalog .filter__support p {
    margin-top: 10px;
    color: #7a8494;
    font-size: 0.75rem;
    line-height: 1.65;
}

.page-catalog .filter__support a {
    display: inline-flex;
    min-height: 36px;
    align-items: center;
    color: var(--catalog-accent-strong);
    font-size: 0.75rem;
    font-weight: 600;
}

.page-catalog .catalog__main { min-width: 0; }

.page-catalog .catalog__title {
    margin: 4px 0 16px;
    color: #11151c;
    font-size: clamp(1.75rem, 2.4vw, 2.125rem);
    font-weight: 650;
    line-height: 1.18;
    letter-spacing: -0.035em;
}

.page-catalog .catalog__toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 44px;
    margin-bottom: 16px;
    gap: 16px;
}

.page-catalog .catalog__toolbar-start {
    display: flex;
    align-items: center;
    gap: 10px;
}

.page-catalog .catalog__count {
    display: inline-flex;
    align-items: center;
    min-height: 34px;
    padding: 7px 14px;
    border: 1px solid rgba(255, 255, 255, 0.86);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.82);
    box-shadow: 0 6px 18px rgba(29, 41, 57, 0.04);
    color: #465163;
    font-size: 0.8125rem;
    white-space: nowrap;
}

.page-catalog .catalog__count-dot {
    width: 8px;
    height: 8px;
    margin-right: 8px;
    border-radius: 50%;
    background: var(--catalog-accent);
    box-shadow: 0 0 0 4px rgba(238, 91, 74, 0.09);
}

.page-catalog .catalog__sort {
    display: flex;
    align-items: center;
    gap: 9px;
}

.page-catalog .catalog__sort-label {
    color: #6f7988;
    font-size: 0.75rem;
    white-space: nowrap;
}

.page-catalog .catalog__sort .filter__select {
    width: 218px;
    min-height: 40px;
    padding-top: 8px;
    padding-bottom: 8px;
    border-radius: 12px;
    font-size: 0.75rem;
}

.page-catalog .catalog__filter-toggle {
    display: none;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    padding: 0 14px;
    gap: 8px;
    border: 1px solid var(--catalog-line);
    border-radius: 12px;
    background: #fff;
    color: #344054;
    font-family: inherit;
    font-size: 0.8125rem;
    font-weight: 600;
    cursor: pointer;
}

.page-catalog .catalog__filter-count {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 20px;
    height: 20px;
    padding: 0 5px;
    border-radius: 999px;
    background: var(--catalog-accent);
    color: #fff;
    font-size: 0.6875rem;
}

.page-catalog .car-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
}

.catalog-car-card {
    position: relative;
    height: clamp(420px, 32vw, 470px);
    overflow: hidden;
    border: 1px solid rgba(17, 24, 39, 0.08);
    border-radius: 20px;
    background: #171b20;
    box-shadow: 0 12px 30px rgba(24, 31, 42, 0.12);
    isolation: isolate;
    transition: transform 220ms ease, box-shadow 220ms ease;
}

.catalog-car-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 22px 46px rgba(24, 31, 42, 0.18);
}

.catalog-car-card:focus-within {
    outline: 3px solid rgba(238, 91, 74, 0.32);
    outline-offset: 3px;
}

.catalog-car-card__link {
    position: absolute;
    inset: 0;
    z-index: 1;
    display: block;
    color: #fff;
}

.catalog-car-card__link:focus-visible { outline: none; }

.catalog-car-card__image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: transform 350ms ease;
}

.catalog-car-card:hover .catalog-car-card__image { transform: scale(1.035); }

.catalog-car-card__scrim {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(180deg, rgba(10, 15, 21, 0.02) 30%, rgba(11, 16, 22, 0.42) 56%, rgba(12, 17, 22, 0.96) 82%),
        linear-gradient(90deg, rgba(8, 12, 16, 0.1), transparent 54%);
}

.catalog-car-card__content {
    position: absolute;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 2;
    display: flex;
    flex-direction: column;
    padding: 22px 18px 18px;
}

.catalog-car-card__content > .badge {
    align-self: flex-start;
    margin-bottom: 12px;
    padding: 5px 10px;
    border: 1px solid rgba(255, 255, 255, 0.38);
    font-size: 0.625rem;
    line-height: 1.2;
    box-shadow: 0 5px 14px rgba(0, 0, 0, 0.12);
}

.catalog-car-card__heading {
    display: block;
    padding-right: 44px;
}

.catalog-car-card__title {
    display: block;
    font-size: clamp(1.0625rem, 1.4vw, 1.25rem);
    font-weight: 650;
    line-height: 1.25;
    letter-spacing: -0.02em;
}

.catalog-car-card__price {
    display: block;
    margin-top: 5px;
    color: rgba(255, 255, 255, 0.78);
    font-size: 0.75rem;
    font-weight: 500;
    font-variant-numeric: tabular-nums;
}

.catalog-car-card__year { display: none; }

.catalog-car-card__specs {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    margin-top: 16px;
    padding-top: 15px;
    gap: 9px;
    border-top: 1px solid rgba(255, 255, 255, 0.16);
}

.catalog-car-card__spec {
    display: flex;
    min-width: 0;
    align-items: flex-start;
    gap: 7px;
    color: rgba(255, 255, 255, 0.82);
}

.catalog-car-card__spec svg {
    width: 18px;
    height: 18px;
    flex: 0 0 18px;
    margin-top: 1px;
}

.catalog-car-card__spec > span { min-width: 0; }

.catalog-car-card__spec strong,
.catalog-car-card__spec small {
    display: block;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.catalog-car-card__spec strong {
    color: #fff;
    font-size: 0.6875rem;
    font-weight: 600;
    font-variant-numeric: tabular-nums;
}

.catalog-car-card__spec small {
    margin-top: 2px;
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.5625rem;
    line-height: 1.25;
}

.catalog-car-card__favorite {
    position: absolute;
    right: 15px;
    bottom: 82px;
    z-index: 3;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border: 0;
    border-radius: 50%;
    background: rgba(19, 25, 32, 0.2);
    color: rgba(255, 255, 255, 0.9);
    cursor: pointer;
    backdrop-filter: blur(8px);
    transition: color 180ms ease, background-color 180ms ease, transform 150ms ease;
}

.catalog-car-card__favorite:hover,
.catalog-car-card__favorite.is-active {
    background: rgba(255, 255, 255, 0.94);
    color: var(--catalog-accent);
}

.catalog-car-card__favorite.is-active svg { fill: currentColor; }
.catalog-car-card__favorite:active { transform: scale(0.94); }

.page-catalog .catalog__empty {
    display: flex;
    min-height: 420px;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 48px 24px;
    border: 1px solid var(--catalog-line);
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.84);
    box-shadow: var(--catalog-shadow);
    text-align: center;
}

.page-catalog .catalog__empty-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 64px;
    height: 64px;
    margin-bottom: 18px;
    border-radius: 50%;
    background: #fff0ee;
    color: var(--catalog-accent-strong);
}

.page-catalog .catalog__empty h2 { color: var(--catalog-ink); font-size: 1.25rem; }
.page-catalog .catalog__empty p { margin: 8px 0 22px; font-size: 0.875rem; }

.page-catalog .catalog__filter-overlay {
    position: fixed;
    inset: 0;
    z-index: 410;
    display: block;
    visibility: hidden;
    border: 0;
    background: rgba(15, 23, 42, 0.48);
    opacity: 0;
    cursor: pointer;
    transition: opacity 220ms ease, visibility 220ms ease;
}

@media (max-width: 1320px) {
    .page-catalog .car-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 1100px) {
    .page-catalog .catalog { display: block; }
    .page-catalog .catalog__filter-toggle { display: inline-flex; }

    .page-catalog .catalog__sidebar {
        position: fixed;
        top: 0;
        right: 0;
        z-index: 420;
        width: min(390px, calc(100vw - 24px));
        height: 100dvh;
        overflow-y: auto;
        overscroll-behavior: contain;
        background: #fff;
        box-shadow: -20px 0 50px rgba(15, 23, 42, 0.18);
        transform: translateX(105%);
        transition: transform 260ms ease;
    }

    .page-catalog .catalog__sidebar.is-open { transform: translateX(0); }

    .page-catalog .catalog__sidebar .filter {
        min-height: 100%;
        border: 0;
        border-radius: 22px 0 0 22px;
        box-shadow: none;
        backdrop-filter: none;
    }

    .page-catalog .filter__reset { margin-left: auto; margin-right: 8px; }
    .page-catalog .filter__close { display: inline-flex; flex: 0 0 44px; }

    .page-catalog .catalog__filter-overlay.is-visible {
        visibility: visible;
        opacity: 1;
    }

    body.page-catalog.catalog-filter-open { overflow: hidden; }
}

@media (max-width: 900px) {
    .page-catalog .nav:not(.is-open) { display: none; }

    .page-catalog .nav.is-open {
        display: flex;
        visibility: visible;
    }
}

@media (max-width: 700px) {
    .page-catalog .catalog-page { padding: 20px 0 48px; }
    .page-catalog .catalog-page .container { padding: 0 16px; }
    .page-catalog .catalog__title { margin-top: 0; margin-bottom: 14px; font-size: 1.75rem; }
    .page-catalog .catalog__toolbar { align-items: stretch; flex-direction: column; gap: 10px; }
    .page-catalog .catalog__toolbar-start { justify-content: space-between; }
    .page-catalog .catalog__count { min-height: 44px; }
    .page-catalog .catalog__sort { width: 100%; }
    .page-catalog .catalog__sort-label { display: none; }
    .page-catalog .catalog__sort .filter__select { width: 100%; min-height: 44px; }
    .page-catalog .car-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }

    .catalog-car-card {
        height: auto;
        overflow: visible;
        border: 0;
        border-radius: 0;
        background: transparent;
        box-shadow: none;
    }

    .catalog-car-card:hover { transform: none; box-shadow: none; }

    .catalog-car-card__link {
        position: relative;
        display: flex;
        flex-direction: column;
        color: var(--catalog-ink);
        touch-action: manipulation;
    }

    .catalog-car-card__image {
        height: auto;
        aspect-ratio: 4 / 3;
        border-radius: 16px;
        background: #e9edf1;
        object-fit: cover;
    }

    .catalog-car-card__scrim {
        top: 0;
        right: 0;
        bottom: auto;
        left: 0;
        width: 100%;
        height: auto;
        aspect-ratio: 4 / 3;
        border-radius: 16px;
        background: linear-gradient(180deg, rgba(10, 15, 21, 0.05), rgba(10, 15, 21, 0.18));
    }

    .catalog-car-card__content {
        position: static;
        display: block;
        padding: 9px 2px 3px;
        color: var(--catalog-ink);
    }

    .catalog-car-card__content > .badge {
        position: absolute;
        top: 8px;
        left: 8px;
        z-index: 3;
        margin: 0;
        padding: 5px 8px;
        border: 0;
        font-size: 0.625rem;
        box-shadow: none;
    }

    .catalog-car-card__heading {
        display: flex;
        flex-direction: column;
        min-width: 0;
        padding: 0;
    }

    .catalog-car-card__price {
        order: 1;
        margin: 0;
        color: var(--catalog-ink);
        font-size: 0.875rem;
        font-weight: 700;
        line-height: 1.25;
    }

    .catalog-car-card__title {
        display: block;
        order: 2;
        overflow: hidden;
        margin-top: 4px;
        color: #263142;
        font-size: 0.8125rem;
        font-weight: 500;
        line-height: 1.25;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

    .catalog-car-card__year {
        display: block;
        order: 3;
        margin-top: 5px;
        color: #7a8494;
        font-size: 0.75rem;
        font-weight: 500;
        line-height: 1.25;
    }

    .catalog-car-card__specs { display: none; }

    .catalog-car-card__favorite {
        top: 4px;
        right: 4px;
        bottom: auto;
        width: 44px;
        height: 44px;
        background: rgba(18, 25, 32, 0.22);
        color: #fff;
    }
}

@media (max-width: 400px) {
    .page-catalog .catalog__count { padding-right: 11px; padding-left: 11px; font-size: 0.75rem; }
    .page-catalog .catalog__filter-toggle { padding: 0 11px; }
    .page-catalog .car-grid { gap: 10px; }
    .catalog-car-card__content { padding-top: 8px; }
    .catalog-car-card__price { font-size: 0.8125rem; }
    .catalog-car-card__title { font-size: 0.75rem; }
}

@media (prefers-reduced-motion: reduce) {
    .catalog-car-card,
    .catalog-car-card__image,
    .page-catalog .catalog__sidebar,
    .page-catalog .catalog__filter-overlay {
        transition: none;
    }

    .catalog-car-card:hover { transform: none; }
    .catalog-car-card:hover .catalog-car-card__image { transform: none; }
}
