/* ==========================================================================
   Дизайн v4 («Главная v4»). Подключается только layout'ом layouts.v4,
   все классы с префиксом v4- — старые страницы не затрагиваются.
   ========================================================================== */

:root {
    --v4-ink: #1d1d1f;
    --v4-ink-2: #424245;
    --v4-muted: #6e6e73;
    --v4-muted-2: #86868b;
    --v4-line: #e8e8ed;
    --v4-soft: #f5f5f7;
    --v4-card: rgb(236, 236, 239);
    --v4-card-hover: rgb(226, 226, 230);
    --v4-bg: #fff;
    --v4-accent: #d9560b;
    --v4-accent-dark: #b8470a;
    --v4-accent-tint: #fff1e6;
    --v4-cta: #ff8a3d;
    --v4-cta-hover: #ffa060;
    --v4-dark: #1c1a19;
    --v4-dark-2: #2a2725;
    --v4-max: 1240px;
    --v4-gutter: 22px;
    --v4-ease: cubic-bezier(.2, .7, .2, 1);
}

html { scroll-behavior: smooth; }

body.v4 {
    margin: 0;
    background: var(--v4-bg);
    color: var(--v4-ink);
    font-family: 'Onest', system-ui, sans-serif;
    font-size: 16px;
    line-height: 1.4;
    -webkit-font-smoothing: antialiased;
}

body.v4 *, body.v4 *::before, body.v4 *::after { box-sizing: border-box; }
body.v4 a { color: var(--v4-accent); text-decoration: none; }
body.v4 a:hover { text-decoration: underline; }
body.v4 button { font: inherit; }
body.v4 img { max-width: 100%; }
body.v4 input::placeholder { color: var(--v4-muted); }
body.v4 input[type=range] { accent-color: var(--v4-accent); width: 100%; }
body.v4 .v4-wrapper { display: block; width: auto; max-width: none; padding: 0; margin: 0; }
body.v4 main.v4-main { display: block; padding: 0; margin: 0; }

.v4-container { max-width: var(--v4-max); margin: 0 auto; }

/* ---------- фон ---------- */
.v4-bg { position: fixed; inset: 0; z-index: -1; pointer-events: none; overflow: hidden; }
.v4-bg__dots {
    position: absolute; inset: 0;
    background-image: radial-gradient(rgba(29,29,31,.07) 1px, transparent 1px);
    background-size: 28px 28px;
    -webkit-mask-image: linear-gradient(180deg, transparent, #000 20%, #000 80%, transparent);
    mask-image: linear-gradient(180deg, transparent, #000 20%, #000 80%, transparent);
}
.v4-bg__orb { position: absolute; will-change: transform; }
.v4-bg__orb > i { display: block; border-radius: 50%; filter: blur(80px); }
.v4-bg__orb--a { top: 10vh; left: -12vw; }
.v4-bg__orb--a > i { width: 46vw; height: 46vw; background: rgba(196,84,18,.07); animation: v4OrbA 26s ease-in-out infinite; }
.v4-bg__orb--b { top: 45vh; right: -10vw; }
.v4-bg__orb--b > i { width: 40vw; height: 40vw; background: rgba(160,60,10,.05); animation: v4OrbB 32s ease-in-out infinite; }
.v4-bg__orb--c { top: 85vh; left: 30vw; }
.v4-bg__orb--c > i { width: 34vw; height: 34vw; background: rgba(214,110,40,.05); animation: v4OrbC 38s ease-in-out infinite; }
@keyframes v4OrbA { 0%{transform:translate(0,0) scale(1)} 50%{transform:translate(8vw,6vh) scale(1.15)} 100%{transform:translate(0,0) scale(1)} }
@keyframes v4OrbB { 0%{transform:translate(0,0) scale(1)} 50%{transform:translate(-10vw,-4vh) scale(.9)} 100%{transform:translate(0,0) scale(1)} }
@keyframes v4OrbC { 0%{transform:translate(0,0)} 50%{transform:translate(4vw,-8vh)} 100%{transform:translate(0,0)} }

/* ---------- появление при прокрутке (классы ставит v4.js) ---------- */
.v4-reveal { opacity: 0; transform: translateY(36px) scale(.98); transition: opacity 1s var(--v4-ease), transform 1s var(--v4-ease); }
.v4-reveal.is-in { opacity: 1; transform: none; }

/* ---------- кнопки ---------- */
.v4-btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 10px;
    border: 0; cursor: pointer; text-decoration: none; font-weight: 700;
    transition: background .2s, transform .2s;
}
body.v4 .v4-btn:hover { text-decoration: none; }
.v4-btn--cta { background: var(--v4-cta); color: #000; }
.v4-btn--cta:hover { background: var(--v4-cta-hover); }
.v4-btn--lg { padding: 15px 26px; border-radius: 14px; font-size: 16px; }
.v4-btn--glass { background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.28); color: #fff; font-weight: 600; backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.v4-btn--glass:hover { background: rgba(255,255,255,.2); }
.v4-btn--dark { background: var(--v4-ink); color: #fff; font-weight: 500; }
.v4-btn--dark:hover { background: #000; }
.v4-btn--white { background: #fff; color: #000; font-weight: 600; }
.v4-btn--white:hover { background: #f0f0f0; }
.v4-arrow {
    width: 44px; height: 44px; border-radius: 50%; border: 1.5px solid #8e8e93; flex: none;
    background: #fff; color: var(--v4-ink); font-size: 22px; cursor: pointer; line-height: 1; padding: 0;
    transition: background .2s, color .2s, border-color .2s;
}
.v4-arrow:hover { background: var(--v4-ink); border-color: var(--v4-ink); color: #fff; }
.v4-arrow--glass { border: 1.5px solid rgba(255,255,255,.8); background: rgba(255,255,255,.18); color: #fff; font-size: 20px; backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.v4-arrow--glass:hover { background: rgba(255,255,255,.32); border-color: #fff; color: #fff; }

/* ---------- типографика секций ---------- */
.v4-section { padding: 120px var(--v4-gutter) 0; }
.v4-section__head { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; flex-wrap: wrap; }
.v4-eyebrow { font-size: 15px; font-weight: 600; color: var(--v4-accent); }
.v4-h2 { margin: 0; font-size: clamp(40px, 6vw, 72px); letter-spacing: -.04em; line-height: 1; font-weight: 800; }
.v4-eyebrow + .v4-h2 { margin-top: 10px; }
.v4-label { font-size: 11px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--v4-muted); }

/* ==========================================================================
   Шапка
   ========================================================================== */
.v4-header { position: sticky; top: 0; z-index: 50; padding: 12px var(--v4-gutter) 0; height: 0; overflow: visible; }
.v4-header__bar {
    max-width: var(--v4-max); margin: 0 auto; height: 60px; padding: 0 10px 0 22px;
    display: flex; align-items: center; justify-content: space-between; gap: 20px;
    border-radius: 20px; background: rgba(255,255,255,.82);
    backdrop-filter: saturate(180%) blur(24px); -webkit-backdrop-filter: saturate(180%) blur(24px);
    box-shadow: 0 8px 30px rgba(0,0,0,.12);
}
.v4-header__brand { display: flex; align-items: center; gap: 20px; }
body.v4 .v4-logo { font-weight: 800; font-size: 17px; letter-spacing: -.02em; color: var(--v4-accent); white-space: nowrap; }
body.v4 .v4-logo:hover { text-decoration: none; }
.v4-logo span { color: var(--v4-accent); }
.v4-header__hours { display: none; font-size: 11px; line-height: 1.3; color: var(--v4-muted); white-space: nowrap; border-left: 1px solid var(--v4-line); padding-left: 16px; }
.v4-header__hours b { color: var(--v4-ink); }
.v4-nav { display: none; gap: 24px; font-size: 13px; font-weight: 500; justify-content: center; white-space: nowrap; }
body.v4 .v4-nav a { color: var(--v4-ink); }
.v4-header__actions { display: flex; align-items: center; gap: 14px; }
.v4-header__phone { display: none; text-align: right; line-height: 1.3; white-space: nowrap; }
body.v4 .v4-header__phone a { font-size: 14px; font-weight: 700; color: var(--v4-ink); }
.v4-header__phone div { font-size: 11px; color: var(--v4-muted); }
body.v4 .v4-header__call { font-size: 13px; font-weight: 600; background: var(--v4-ink); color: #fff; padding: 10px 16px; border-radius: 12px; white-space: nowrap; }
body.v4 .v4-header__call:hover { background: #000; text-decoration: none; }
.v4-burger { display: grid; place-items: center; width: 40px; height: 40px; border: 0; border-radius: 12px; background: var(--v4-soft); cursor: pointer; padding: 0; }
.v4-burger span, .v4-burger span::before, .v4-burger span::after { display: block; width: 18px; height: 2px; border-radius: 2px; background: var(--v4-ink); content: ''; transition: transform .25s, background .25s; }
.v4-burger span { position: relative; }
.v4-burger span::before { position: absolute; top: -6px; }
.v4-burger span::after { position: absolute; top: 6px; }
.v4-burger[aria-expanded=true] span { background: transparent; }
.v4-burger[aria-expanded=true] span::before { transform: translateY(6px) rotate(45deg); }
.v4-burger[aria-expanded=true] span::after { transform: translateY(-6px) rotate(-45deg); }
.v4-mobile-menu {
    display: none; max-width: var(--v4-max); margin: 8px auto 0; padding: 12px; border-radius: 20px;
    background: rgba(255,255,255,.96); backdrop-filter: blur(24px); -webkit-backdrop-filter: blur(24px);
    box-shadow: 0 8px 30px rgba(0,0,0,.12);
}
.v4-mobile-menu.is-open { display: grid; gap: 2px; }
body.v4 .v4-mobile-menu a { padding: 12px 14px; border-radius: 12px; color: var(--v4-ink); font-size: 16px; font-weight: 500; }
body.v4 .v4-mobile-menu a:hover { background: var(--v4-soft); text-decoration: none; }
.v4-mobile-menu__meta { padding: 10px 14px 4px; font-size: 12px; color: var(--v4-muted); }

@media (min-width: 640px) { .v4-header__phone { display: block; } }
@media (min-width: 1180px) {
    .v4-header__hours { display: block; }
    .v4-nav { display: flex; }
    .v4-burger, .v4-mobile-menu, .v4-mobile-menu.is-open { display: none; }
}

/* ==========================================================================
   Hero
   ========================================================================== */
.v4-hero { margin-top: -12px; position: relative; min-height: min(92vh, 820px); background: #0e0d0c; color: #fff; overflow: hidden; display: flex; flex-direction: column; }
.v4-hero__slide { position: absolute; inset: 0; opacity: 0; transition: opacity .9s ease; pointer-events: none; }
.v4-hero__slide.is-active { opacity: 1; pointer-events: auto; }
.v4-hero__slide-bg { position: absolute; inset: 0; background: radial-gradient(60% 80% at 80% 55%, rgba(255,138,61,.28) 0%, rgba(14,13,12,0) 70%), linear-gradient(135deg, #1c1a19 0%, #0e0d0c 70%); }
.v4-hero__slide-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.v4-hero__slide-shade { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(10,9,8,.86) 0%, rgba(10,9,8,.45) 45%, rgba(10,9,8,0) 100%); pointer-events: none; }
.v4-hero__body { position: relative; flex: 1; max-width: var(--v4-max); width: 100%; margin: 0 auto; padding: 150px var(--v4-gutter) 40px; display: flex; flex-direction: column; justify-content: center; pointer-events: none; }
.v4-hero__tag { display: inline-flex; align-self: flex-start; font-size: 11px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; padding: 7px 12px; border-radius: 980px; background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.2); }
.v4-hero__title { margin: 18px 0 0; max-width: 640px; font-size: clamp(40px, 5.6vw, 72px); line-height: 1; letter-spacing: -.04em; font-weight: 800; text-wrap: balance; }
.v4-hero__points { display: grid; gap: 10px; margin: 24px 0 0; padding: 0; list-style: none; font-size: 16px; }
.v4-hero__points li { display: flex; gap: 10px; align-items: center; }
.v4-hero__points li::before { content: ''; flex: none; width: 6px; height: 6px; border-radius: 50%; background: var(--v4-cta); }
.v4-hero__cta { display: flex; gap: 12px; margin-top: 32px; flex-wrap: wrap; pointer-events: auto; }
body.v4 .v4-hero__cta .v4-btn--cta { color: #000; }
body.v4 .v4-hero__cta .v4-btn--glass { color: #fff; font-weight: 600; }
.v4-hero__rating { display: flex; align-items: center; gap: 12px; margin-top: 28px; font-size: 13px; color: #d2d2d7; flex-wrap: wrap; }
.v4-hero__rating b { font-size: 22px; font-weight: 800; color: #fff; }
.v4-hero__rating i { font-style: normal; color: var(--v4-cta); letter-spacing: 2px; }
.v4-hero__foot { position: relative; max-width: var(--v4-max); width: 100%; margin: 0 auto; padding: 0 var(--v4-gutter) 28px; }
.v4-hero__controls { display: flex; justify-content: space-between; align-items: center; gap: 16px; margin-bottom: 18px; }
.v4-hero__dots { display: flex; gap: 8px; }
.v4-hero__dot { border: 0; cursor: pointer; height: 4px; width: 16px; padding: 0; border-radius: 4px; background: rgba(255,255,255,.4); transition: width .4s, background .4s; }
.v4-hero__dot.is-active { width: 40px; background: var(--v4-cta); }
.v4-hero__arrows { display: flex; gap: 10px; }
.v4-hero__perks { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 1px; border-radius: 18px; overflow: hidden; background: rgba(255,255,255,.14); backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px); }
.v4-hero__perk { background: rgba(20,18,17,.55); padding: 16px 18px; }
.v4-hero__perk b { display: block; font-size: 14px; font-weight: 700; }
.v4-hero__perk span { display: block; font-size: 12px; color: #a1a1a6; margin-top: 3px; }
@media (max-width: 720px) {
    .v4-hero__body { padding-top: 120px; }
}

/* ==========================================================================
   Марки
   ========================================================================== */
.v4-brands { padding: 72px var(--v4-gutter) 0; }
.v4-brands__head { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; flex-wrap: wrap; }
.v4-brands__head .v4-label { font-size: 12px; letter-spacing: .1em; }
.v4-brands__head a { font-size: 14px; }
.v4-brands__box { margin-top: 18px; background: #fff; border-radius: 28px; box-shadow: 0 10px 40px rgba(0,0,0,.08), 0 0 0 1px rgba(0,0,0,.04); padding: 14px; }
.v4-brands__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 4px; }
body.v4 .v4-brand { display: grid; grid-template-columns: 44px minmax(0, 1fr); align-items: center; justify-items: start; gap: 12px; height: 60px; padding: 0 14px; border-radius: 14px; color: var(--v4-ink); transition: background .2s; }
body.v4 .v4-brand:hover { background: var(--v4-soft); text-decoration: none; }
.v4-brand__logo { width: 44px; height: 30px; display: grid; place-items: center; justify-self: center; }
.v4-brand__logo img { display: block; width: auto; height: auto; max-width: 44px; max-height: 30px; object-fit: contain; }
.v4-brand__logo--stub { border: 3px solid var(--v4-ink); border-radius: 50%; font-size: 11px; font-weight: 800; }
.v4-brand__name { font-size: 13px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 100%; }
@media (min-width: 480px) { .v4-brands__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (min-width: 760px) { .v4-brands__grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
@media (min-width: 1100px) { .v4-brands__grid { grid-template-columns: repeat(6, minmax(0, 1fr)); } }

/* ==========================================================================
   Модели (карусель с вкладками)
   ========================================================================== */
.v4-models { padding: 120px 0; }
.v4-models .v4-section__head { max-width: var(--v4-max); margin: 0 auto; padding: 0 var(--v4-gutter); }
.v4-tabs { display: flex; background: var(--v4-soft); border-radius: 980px; padding: 4px; gap: 2px; max-width: 100%; overflow-x: auto; scrollbar-width: none; }
.v4-tabs::-webkit-scrollbar { display: none; }
.v4-tab { border: 0; cursor: pointer; font-size: 14px; font-weight: 500; padding: 8px 18px; border-radius: 980px; background: transparent; color: var(--v4-ink-2); white-space: nowrap; transition: background .25s, color .25s; }
.v4-tab.is-active { background: var(--v4-ink); color: #fff; }
.v4-track {
    display: flex; gap: 20px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none;
    padding: 48px max(22px, calc((100% - 1240px) / 2)) 8px;
    scroll-padding: 0 max(22px, calc((100% - 1240px) / 2));
}
.v4-track::-webkit-scrollbar { display: none; }
.v4-track--tight { gap: 16px; padding-top: 40px; }
.v4-track__pane[hidden] { display: none; }
.v4-track__pane { display: contents; }
.v4-car { flex: none; width: min(380px, 82vw); scroll-snap-align: start; background: var(--v4-card); border-radius: 28px; padding: 32px 30px 30px; display: flex; flex-direction: column; transition: transform .4s var(--v4-ease); }
.v4-car:hover { transform: translateY(-6px); }
.v4-car__tag { font-size: 12px; font-weight: 600; color: var(--v4-accent); min-height: 16px; }
.v4-car__name { margin: 8px 0 0; font-size: 30px; letter-spacing: -.025em; font-weight: 700; }
body.v4 .v4-car__name a { color: var(--v4-ink); }
body.v4 .v4-car__name a:hover { text-decoration: none; }
.v4-car__line { font-size: 15px; color: var(--v4-muted-2); margin-top: 4px; }
.v4-car__img { height: 210px; position: relative; margin: 24px 0; display: block; border-radius: 18px; overflow: hidden; background: rgba(0,0,0,.06); }
.v4-car__img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.v4-car__stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; border-top: 1px solid var(--v4-line); padding-top: 18px; }
.v4-car__stats b { display: block; font-size: 19px; font-weight: 600; }
.v4-car__stats span { display: block; font-size: 11px; color: var(--v4-muted-2); margin-top: 2px; }
.v4-car__foot { margin-top: 22px; display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.v4-car__price { font-size: 17px; font-weight: 600; }
.v4-pill { flex: none; border: 0; cursor: pointer; background: var(--v4-ink); color: #fff; padding: 8px 16px; border-radius: 980px; font-size: 14px; font-weight: 500; transition: background .2s, color .2s; }
.v4-pill:hover { background: #000; }
.v4-models__nav { max-width: var(--v4-max); margin: 20px auto 0; padding: 0 var(--v4-gutter); display: flex; justify-content: flex-end; gap: 12px; }

/* ==========================================================================
   Госпрограмма
   ========================================================================== */
.v4-gov { padding: 0 var(--v4-gutter) 120px; }
.v4-gov__stats { display: flex; gap: 28px; }
.v4-gov__stat span { display: block; font-size: 12px; color: var(--v4-muted); }
.v4-gov__stat b { display: block; font-size: 28px; font-weight: 800; letter-spacing: -.02em; }
.v4-gov__stat--accent b { color: var(--v4-accent); }
.v4-gov__body { display: flex; gap: 16px; flex-wrap: wrap; margin-top: 40px; align-items: flex-start; }
.v4-gov__card { flex: 1 1 340px; max-width: 420px; position: sticky; top: 96px; border-radius: 28px; overflow: hidden; min-height: 520px; background: radial-gradient(90% 70% at 70% 30%, rgba(255,138,61,.35) 0%, rgba(28,26,25,0) 70%), var(--v4-dark); color: #fff; }
.v4-gov__card-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.v4-gov__card::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,0) 30%, rgba(0,0,0,.85) 100%); pointer-events: none; }
.v4-gov__card-body { position: absolute; z-index: 1; left: 28px; right: 28px; bottom: 28px; }
.v4-gov__card-kicker { font-size: 12px; font-weight: 600; color: var(--v4-cta); }
.v4-gov__card-big { font-size: 72px; font-weight: 800; letter-spacing: -.05em; line-height: .9; margin-top: 8px; }
.v4-gov__card-text { font-size: 14px; color: #d2d2d7; margin-top: 10px; line-height: 1.45; }
body.v4 .v4-gov__card-body .v4-btn { margin-top: 18px; padding: 11px 18px; border-radius: 12px; font-size: 14px; }
.v4-gov__list { flex: 1 1 520px; min-width: 0; }
body.v4 .v4-gov__row { display: flex; align-items: center; gap: 18px; padding: 14px 16px; border-radius: 16px; color: var(--v4-ink); border-bottom: 1px solid #f0f0f2; transition: background .2s; }
body.v4 .v4-gov__row:hover { background: var(--v4-soft); text-decoration: none; }
body.v4 .v4-gov__row[hidden] { display: none; }
.v4-gov__n { flex: none; width: 28px; font-size: 14px; font-weight: 600; color: var(--v4-muted-2); font-variant-numeric: tabular-nums; }
.v4-gov__thumb { flex: none; width: 76px; height: 48px; position: relative; border-radius: 10px; overflow: hidden; background: var(--v4-soft); }
.v4-gov__thumb img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.v4-gov__name { flex: 1; min-width: 0; }
.v4-gov__name small { display: block; font-size: 12px; color: var(--v4-muted-2); }
.v4-gov__name b { display: block; font-size: 16px; font-weight: 700; }
.v4-gov__off { flex: none; font-size: 12px; font-weight: 700; color: #fff; background: var(--v4-accent); padding: 4px 8px; border-radius: 8px; }
.v4-gov__price { flex: none; width: 120px; text-align: right; }
.v4-gov__price b { display: block; font-size: 16px; font-weight: 700; font-variant-numeric: tabular-nums; }
.v4-gov__price s { display: block; font-size: 12px; color: var(--v4-muted-2); }
.v4-gov__chev { flex: none; color: #c7c7cc; font-size: 18px; }
.v4-gov__more { margin-top: 16px; border: 0; background: var(--v4-soft); font-size: 14px; font-weight: 600; color: var(--v4-ink); padding: 12px 20px; border-radius: 12px; cursor: pointer; transition: background .2s; }
.v4-gov__more:hover { background: var(--v4-line); }
@media (max-width: 560px) {
    .v4-gov__thumb, .v4-gov__chev, .v4-gov__n { display: none; }
    .v4-gov__price { width: auto; }
    .v4-gov__row { gap: 10px; padding: 12px 8px; }
}

/* ==========================================================================
   Trade-in
   ========================================================================== */
.v4-tradein { padding: 0 var(--v4-gutter); }
.v4-tradein__box { max-width: var(--v4-max); margin: 0 auto; background: var(--v4-card); border-radius: 32px; padding: clamp(28px, 4vw, 48px); }
.v4-tradein__title { margin: 10px 0 0; font-size: clamp(32px, 4.4vw, 52px); letter-spacing: -.035em; line-height: 1.02; font-weight: 800; max-width: 760px; text-wrap: balance; }
.v4-tradein__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 380px), 1fr)); gap: 16px; margin-top: 36px; }
.v4-tradein__card { background: #fff; border-radius: 24px; padding: 28px; }
.v4-tradein__card--col { display: flex; flex-direction: column; }
.v4-tradein__value { font-size: 40px; font-weight: 800; letter-spacing: -.035em; margin-top: 8px; font-variant-numeric: tabular-nums; }
.v4-tradein__card input[type=range] { margin-top: 14px; }
.v4-range-scale { display: flex; justify-content: space-between; font-size: 11px; color: var(--v4-muted-2); }
.v4-tradein__sums { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-top: 22px; }
.v4-sum { background: var(--v4-soft); border-radius: 14px; padding: 12px; min-width: 0; }
.v4-sum > span { display: block; font-size: 11px; color: var(--v4-muted); }
.v4-sum b { display: block; font-size: 15px; font-weight: 700; margin-top: 4px; white-space: nowrap; }
.v4-sum--bonus { background: var(--v4-accent-tint); }
.v4-sum--bonus > span, .v4-sum--bonus b { color: var(--v4-accent-dark); }
.v4-sum--total { background: var(--v4-ink); color: #fff; }
.v4-sum--total > span { color: #a1a1a6; }
.v4-note { font-size: 12px; color: var(--v4-muted-2); margin-top: 14px; }
.v4-steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: 18px; }
.v4-step__n { width: 34px; height: 34px; border-radius: 50%; background: var(--v4-accent-tint); color: var(--v4-accent); display: grid; place-items: center; font-size: 14px; font-weight: 800; }
.v4-step b { display: block; font-size: 15px; font-weight: 700; margin-top: 12px; }
.v4-step span { display: block; font-size: 13px; color: var(--v4-muted); margin-top: 4px; line-height: 1.4; }
body.v4 .v4-cta-row { margin-top: auto; padding: 16px 22px; border-radius: 16px; background: var(--v4-cta); color: #000; display: flex; justify-content: space-between; align-items: center; gap: 12px; font-size: 16px; font-weight: 700; transition: background .2s; }
body.v4 .v4-cta-row:hover { background: var(--v4-cta-hover); text-decoration: none; }
.v4-tradein__card--col .v4-steps { margin-bottom: 24px; }
.v4-cta-row small { display: block; font-size: 12px; font-weight: 400; opacity: .75; margin-top: 2px; }
.v4-cta-row b { display: block; font-size: 17px; }
.v4-stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 16px; margin-top: 28px; }
.v4-stats b { display: block; font-size: 28px; font-weight: 800; letter-spacing: -.03em; }
.v4-stats span { display: block; font-size: 13px; color: var(--v4-muted); margin-top: 2px; }

/* ==========================================================================
   Новинки
   ========================================================================== */
.v4-new .v4-section__head a.v4-more { font-size: 17px; }
.v4-featured { margin-top: 56px; border-radius: 32px; overflow: hidden; position: relative; min-height: 520px; background: radial-gradient(90% 80% at 70% 60%, #ffe7d6 0%, var(--v4-card) 65%); display: flex; flex-direction: column; }
.v4-featured__body { position: relative; z-index: 1; padding: 48px 48px 0; max-width: 460px; }
.v4-badge { display: inline-flex; font-size: 12px; font-weight: 600; color: #000; background: var(--v4-cta); padding: 4px 10px; border-radius: 980px; }
.v4-featured__name { margin: 16px 0 0; font-size: clamp(36px, 4.6vw, 56px); letter-spacing: -.035em; line-height: 1; font-weight: 800; }
.v4-featured__text { margin: 14px 0 0; font-size: 17px; line-height: 1.45; color: var(--v4-muted); text-wrap: pretty; }
.v4-featured__actions { display: flex; gap: 24px; align-items: center; margin-top: 24px; flex-wrap: wrap; }
.v4-featured__actions .v4-pill { padding: 12px 22px; font-size: 16px; }
.v4-featured__actions a { font-size: 16px; }
.v4-featured__img { flex: 1; min-height: 280px; position: relative; margin-top: 24px; }
.v4-featured__img::before { content: ''; position: absolute; inset: 0; z-index: 1; background: linear-gradient(180deg, var(--v4-card) 0%, rgba(236,236,239,0) 35%); pointer-events: none; }
.v4-featured__img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.v4-new__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); gap: 16px; margin-top: 16px; }
.v4-mini { text-align: left; border: 0; color: inherit; cursor: pointer; background: var(--v4-card); border-radius: 28px; padding: 28px; display: flex; flex-direction: column; gap: 4px; transition: background .3s; }
.v4-mini:hover { background: var(--v4-card-hover); }
body.v4 a.v4-mini { color: inherit; }
body.v4 a.v4-mini:hover { text-decoration: none; }
.v4-mini__img { height: 150px; position: relative; margin: -8px -8px 16px; border-radius: 18px; overflow: hidden; }
.v4-mini__img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.v4-mini__when { font-size: 12px; font-weight: 600; color: var(--v4-accent); }
.v4-mini__name { font-size: 22px; font-weight: 700; letter-spacing: -.02em; }
.v4-mini__meta { font-size: 15px; color: var(--v4-muted-2); }

/* ==========================================================================
   Подборки
   ========================================================================== */
.v4-collections { padding: 120px 0 0; }
.v4-collections .v4-section__head { max-width: var(--v4-max); margin: 0 auto; padding: 0 var(--v4-gutter); }
.v4-collections__tools { display: flex; gap: 12px; align-items: center; }
.v4-collections__tools a { font-size: 15px; }
body.v4 .v4-collection { flex: none; width: min(300px, 76vw); aspect-ratio: 4 / 5; scroll-snap-align: start; border-radius: 24px; overflow: hidden; position: relative; background: radial-gradient(90% 60% at 50% 55%, #3a332e 0%, #1c1a19 80%); color: #fff; transition: transform .4s var(--v4-ease); }
body.v4 .v4-collection:hover { transform: scale(.98); text-decoration: none; }
.v4-collection__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.v4-collection::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,.55) 0%, rgba(0,0,0,0) 40%, rgba(0,0,0,0) 65%, rgba(0,0,0,.6) 100%); pointer-events: none; }
.v4-collection__top { position: absolute; z-index: 1; left: 24px; right: 24px; top: 22px; }
.v4-collection__top b { display: block; font-size: 26px; font-weight: 800; letter-spacing: -.025em; }
.v4-collection__top span { display: block; font-size: 14px; opacity: .85; margin-top: 2px; }
.v4-collection__bot { position: absolute; z-index: 1; left: 24px; right: 24px; bottom: 20px; display: flex; justify-content: space-between; align-items: center; }
.v4-collection__bot span { font-size: 14px; font-weight: 600; }
.v4-collection__bot i { font-style: normal; width: 34px; height: 34px; border-radius: 50%; background: var(--v4-cta); color: #000; display: grid; place-items: center; font-size: 16px; font-weight: 700; }

/* ==========================================================================
   Улучшим предложение
   ========================================================================== */
.v4-beat__box { position: relative; border-radius: 32px; background: var(--v4-ink); color: #fff; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 340px), 1fr)); align-items: center; background-image: radial-gradient(70% 120% at 15% 60%, rgba(255,138,61,.28) 0%, rgba(29,29,31,0) 60%); }
.v4-beat__media { position: relative; align-self: stretch; min-height: 300px; border-radius: 32px 0 0 32px; overflow: hidden; }
.v4-beat__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.v4-beat__body { padding: 48px 44px; }
.v4-beat__kicker { font-size: 15px; font-weight: 600; color: var(--v4-cta); }
.v4-beat__title { margin: 10px 0 0; font-size: clamp(28px, 3.4vw, 42px); letter-spacing: -.03em; line-height: 1.05; font-weight: 800; text-wrap: balance; }
.v4-beat__title span { color: var(--v4-cta); }
@media (max-width: 560px) { .v4-beat__body { padding: 32px 24px; } .v4-beat__media { border-radius: 32px 32px 0 0; } }

/* ==========================================================================
   Калькулятор кредита
   ========================================================================== */
.v4-calc { padding: 120px var(--v4-gutter); }
.v4-calc__head { text-align: center; }
.v4-calc__head .v4-eyebrow { font-size: 17px; }
.v4-calc__grid { margin-top: 56px; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 340px), 1fr)); gap: 16px; align-items: stretch; }
.v4-calc__promo { position: relative; border-radius: 28px; overflow: hidden; background: radial-gradient(90% 70% at 70% 80%, rgba(255,138,61,.4) 0%, rgba(29,29,31,0) 70%), var(--v4-ink); color: #fff; min-height: 520px; }
.v4-calc__promo-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity .6s ease; }
.v4-calc__promo-img.is-active { opacity: 1; }
.v4-calc__promo::before { content: ''; position: absolute; inset: 0; z-index: 1; background: linear-gradient(180deg, rgba(0,0,0,.72) 0%, rgba(0,0,0,.2) 55%, rgba(0,0,0,0) 100%); pointer-events: none; }
.v4-calc__promo-body { position: relative; z-index: 2; padding: 32px; }
.v4-calc__tag { display: inline-flex; font-size: 11px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; padding: 7px 12px; border-radius: 980px; border: 1px solid rgba(255,255,255,.3); background: rgba(255,255,255,.08); }
.v4-calc__promo h3 { margin: 20px 0 0; font-size: clamp(28px, 2.8vw, 36px); font-weight: 800; letter-spacing: -.03em; line-height: 1.08; text-wrap: balance; }
.v4-checks { display: grid; gap: 12px; margin: 24px 0 0; padding: 0; list-style: none; font-size: 15px; }
.v4-checks li { display: flex; gap: 10px; align-items: center; }
.v4-checks li::before { content: '✓'; flex: none; width: 22px; height: 22px; border-radius: 50%; background: rgba(255,138,61,.25); color: var(--v4-cta); display: grid; place-items: center; font-size: 12px; font-weight: 700; }
.v4-calc__panel { background: var(--v4-card); border-radius: 28px; padding: 30px; display: flex; flex-direction: column; gap: 26px; }
.v4-calc__panel--result { gap: 0; }
.v4-field__row { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.v4-field__val { font-size: 24px; font-weight: 800; letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.v4-field__val small { font-size: 14px; font-weight: 500; color: var(--v4-muted-2); }
.v4-field__car { font-size: 12px; color: var(--v4-muted-2); margin-top: 2px; text-align: right; }
.v4-calc__panel input[type=range] { margin-top: 8px; }
.v4-field .v4-range-scale { text-transform: uppercase; letter-spacing: .04em; }
.v4-chips { display: grid; gap: 6px; margin-top: 12px; }
.v4-chips--4 { grid-template-columns: repeat(4, 1fr); }
.v4-chips--6 { grid-template-columns: repeat(6, 1fr); margin-top: 14px; }
.v4-chip { position: relative; cursor: pointer; border: 1px solid var(--v4-line); background: #fff; color: var(--v4-ink); border-radius: 12px; transition: background .2s; padding: 10px 4px; font-size: 13px; font-weight: 600; }
.v4-chip.is-active { background: var(--v4-cta); border-color: var(--v4-cta); color: #000; }
.v4-chip--down { font-size: 14px; font-weight: 700; padding: 12px 2px 10px; }
.v4-chip--term { padding: 9px 2px; display: flex; flex-direction: column; align-items: center; gap: 1px; }
.v4-chip--term b { font-size: 14px; font-weight: 700; }
.v4-chip--term span { font-size: 10px; opacity: .7; }
.v4-chip em { position: absolute; top: -9px; left: 50%; transform: translateX(-50%); font-size: 9px; font-style: normal; font-weight: 700; background: var(--v4-ink); color: #fff; padding: 2px 6px; border-radius: 980px; white-space: nowrap; }
.v4-calc__note { background: #fff; border-radius: 14px; padding: 14px 16px; font-size: 13px; line-height: 1.45; color: var(--v4-ink-2); }
.v4-monthly { display: flex; align-items: baseline; gap: 6px; margin-top: 8px; }
.v4-monthly b { font-size: clamp(40px, 4.4vw, 56px); font-weight: 800; letter-spacing: -.04em; line-height: 1; font-variant-numeric: tabular-nums; }
.v4-monthly > span { font-size: 15px; color: var(--v4-muted-2); }
.v4-daily { margin-top: 16px; align-self: flex-start; background: var(--v4-accent-tint); color: var(--v4-accent-dark); font-size: 14px; font-weight: 600; padding: 8px 14px; border-radius: 980px; }
.v4-rows { margin: 20px 0 24px; display: flex; flex-direction: column; }
.v4-rows div { display: flex; justify-content: space-between; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--v4-line); font-size: 14px; }
.v4-rows span { color: var(--v4-muted); }
.v4-rows b { font-weight: 700; font-variant-numeric: tabular-nums; text-align: right; }
.v4-calc__secure { font-size: 12px; color: var(--v4-muted-2); text-align: center; margin-top: 12px; }
.v4-guarantees { margin-top: 16px; background: var(--v4-card); border-radius: 24px; padding: 22px 28px; display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 20px; }
.v4-guarantee { display: flex; gap: 12px; align-items: center; }
.v4-guarantee i { font-style: normal; flex: none; width: 36px; height: 36px; border-radius: 50%; background: #fff; color: var(--v4-accent); display: grid; place-items: center; font-size: 14px; font-weight: 800; }
.v4-guarantee b { display: block; font-size: 14px; font-weight: 700; }
.v4-guarantee span { display: block; font-size: 12px; color: var(--v4-muted); margin-top: 2px; }
.v4-calc__disclaimer { font-size: 12px; color: var(--v4-muted-2); margin-top: 16px; text-align: center; }

/* ==========================================================================
   Салон и заявка
   ========================================================================== */
.v4-apply { padding: 120px var(--v4-gutter); background: var(--v4-dark); color: #fff; }
.v4-apply__grid { max-width: var(--v4-max); margin: 0 auto; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 400px), 1fr)); gap: 16px; }
.v4-salon { background: var(--v4-dark-2); border-radius: 28px; overflow: hidden; display: flex; flex-direction: column; }
.v4-salon__map { position: relative; aspect-ratio: 16 / 9; background: #3a3633; }
.v4-salon__map iframe, .v4-salon__map img { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; object-fit: cover; }
.v4-salon__body { padding: 28px; display: grid; gap: 14px; }
.v4-salon__title { font-size: 24px; font-weight: 800; letter-spacing: -.02em; color: var(--v4-cta); }
.v4-salon__text { font-size: 15px; color: #d2d2d7; line-height: 1.6; }
body.v4 .v4-salon__text a { color: var(--v4-cta); font-weight: 600; }
body.v4 .v4-salon__body .v4-btn { justify-self: start; padding: 11px 18px; border-radius: 12px; font-size: 14px; }
.v4-ask { border-radius: 28px; padding: clamp(28px, 4vw, 48px); background: radial-gradient(90% 90% at 100% 0%, rgba(255,138,61,.3) 0%, var(--v4-dark-2) 60%); display: flex; flex-direction: column; justify-content: center; }
.v4-ask h2 { margin: 0; font-size: clamp(36px, 4.6vw, 56px); letter-spacing: -.04em; line-height: 1; font-weight: 800; color: #fff; }
.v4-ask p { margin: 14px 0 0; font-size: 17px; color: #d2d2d7; line-height: 1.4; }

/* ---------- форма заявки ---------- */
.v4-form { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 12px; margin-top: 32px; }
.v4-form__input { font: inherit; font-size: 17px; width: 100%; padding: 16px 18px; border-radius: 14px; border: 0; background: #fff; outline: none; color: var(--v4-ink); }
.v4-form__input:focus { box-shadow: 0 0 0 4px rgba(255,255,255,.45); }
.v4-form--dark .v4-form__input { font-size: 16px; padding: 14px 18px; border: 1px solid #3a3a3c; background: #2c2c2e; color: #fff; }
.v4-form--dark .v4-form__input:focus { border-color: var(--v4-cta); box-shadow: none; }
.v4-form--dark .v4-form__input::placeholder { color: #8e8e93; }
.v4-form__submit { grid-column: 1 / -1; font-size: 17px; font-weight: 600; padding: 16px; border-radius: 14px; border: 0; background: var(--v4-cta); color: #000; cursor: pointer; transition: background .2s; }
.v4-form__submit:hover { background: var(--v4-cta-hover); }
.v4-form__submit:disabled { opacity: .6; cursor: wait; }
.v4-form--dark .v4-form__submit { font-size: 16px; font-weight: 700; padding: 15px 24px; }
.v4-form__consent { grid-column: 1 / -1; display: flex; gap: 10px; align-items: flex-start; font-size: 12px; line-height: 1.4; color: #a1a1a6; cursor: pointer; }
.v4-form__consent input { flex: none; margin-top: 1px; width: 15px; height: 15px; accent-color: var(--v4-cta); }
body.v4 .v4-form__consent a { color: #d2d2d7; text-decoration: underline; }
.v4-form-wrap--dark { margin-top: 28px; }
.v4-form-wrap--dark .v4-form { margin-top: 0; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); }
.v4-hp { position: absolute !important; left: -9999px !important; }

/* ==========================================================================
   Футер
   ========================================================================== */
.v4-footer { background: var(--v4-dark); padding: 0 var(--v4-gutter) 40px; font-size: 13px; color: #fff; }
.v4-footer__grid { max-width: var(--v4-max); margin: 0 auto; border-top: 1px solid rgba(255,255,255,.3); padding-top: 28px; display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 28px; }
.v4-footer__title { font-weight: 700; color: #fff; margin-bottom: 10px; }
.v4-footer__text { line-height: 1.7; }
.v4-footer__links { display: grid; gap: 6px; }
body.v4 .v4-footer a { color: #fff; }
body.v4 .v4-footer__tel { font-weight: 600; }
.v4-footer__legal { max-width: var(--v4-max); margin: 28px auto 0; font-size: 12px; color: rgba(255,255,255,.75); line-height: 1.6; }

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    .v4-reveal, .v4-car, .v4-collection, .v4-bg__orb > i { transition: none; animation: none; }
}

/* ---------- выделенные карточки (максимальная скидка) ---------- */
.v4-car--hot { background: var(--v4-dark); color: #fff; box-shadow: 0 0 0 2px var(--v4-cta), 0 18px 40px rgba(217,86,11,.22); }
.v4-car__ribbon { margin: -32px -30px 20px; padding: 8px 30px; background: var(--v4-cta); color: #000; font-size: 11px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; border-radius: 28px 28px 0 0; }
.v4-car--hot .v4-car__tag { color: var(--v4-cta); }
body.v4 .v4-car--hot .v4-car__name a { color: #fff; }
.v4-car--hot .v4-car__line, .v4-car--hot .v4-car__stats span { color: #a1a1a6; }
.v4-car--hot .v4-car__stats { border-top-color: rgba(255,255,255,.14); }
.v4-car--hot .v4-pill { background: var(--v4-cta); color: var(--v4-ink); font-weight: 600; }
.v4-car--hot .v4-pill:hover { background: var(--v4-cta-hover); }

body.v4 .v4-gov__row--hot { background: var(--v4-dark); color: #fff; border-bottom-color: transparent; box-shadow: 0 0 0 2px var(--v4-cta); margin: 6px 0; }
body.v4 .v4-gov__row--hot:hover { background: #262322; }
.v4-gov__row--hot .v4-gov__n, .v4-gov__row--hot .v4-gov__name small, .v4-gov__row--hot .v4-gov__price s { color: #a1a1a6; }
.v4-gov__row--hot .v4-gov__thumb { background: rgba(255,255,255,.08); }
.v4-gov__row--hot .v4-gov__off { background: var(--v4-cta); color: #000; }
.v4-gov__row--hot .v4-gov__chev { color: var(--v4-cta); }

/* ---------- полоса прокрутки страницы ---------- */
html { scrollbar-color: var(--v4-cta) var(--v4-dark); scrollbar-width: thin; }
html::-webkit-scrollbar { width: 10px; }
html::-webkit-scrollbar-track { background: var(--v4-dark); }
html::-webkit-scrollbar-thumb { background: var(--v4-cta); border-radius: 10px; border: 2px solid var(--v4-dark); }
html::-webkit-scrollbar-thumb:hover { background: var(--v4-cta-hover); }

/* ---------- попапы ---------- */
.fancybox-content.v4-modal, .v4-modal.fancybox-content { width: min(460px, 92vw); padding: 36px 32px 32px; border-radius: 28px; background: #fff; color: var(--v4-ink); font-family: 'Onest', system-ui, sans-serif; }
.v4-modal__title { font-size: 28px; font-weight: 800; letter-spacing: -.03em; line-height: 1.05; }
.v4-modal__text { margin: 10px 0 0; font-size: 15px; line-height: 1.45; color: var(--v4-muted); }
.v4-modal__summary { margin-top: 16px; padding: 12px 14px; border-radius: 14px; background: var(--v4-accent-tint); color: var(--v4-accent-dark); font-size: 14px; font-weight: 600; line-height: 1.45; }
.v4-modal__summary[hidden] { display: none; }
.v4-modal .v4-form { margin-top: 22px; grid-template-columns: 1fr; }
.v4-modal .v4-form__input { background: var(--v4-soft); font-size: 16px; }
.v4-modal .v4-form__input:focus { box-shadow: 0 0 0 3px rgba(255,138,61,.45); }
.v4-modal .v4-form__consent { color: var(--v4-muted); }
body.v4 .v4-modal .v4-form__consent a { color: var(--v4-ink-2); }

/* ---------- выбор автомобиля в калькуляторе ---------- */
.v4-select { position: relative; margin-top: 10px; }
.v4-select::after { content: ''; position: absolute; right: 18px; top: 50%; width: 8px; height: 8px; margin-top: -6px; border-right: 2px solid var(--v4-ink); border-bottom: 2px solid var(--v4-ink); transform: rotate(45deg); pointer-events: none; }
.v4-select select { appearance: none; -webkit-appearance: none; width: 100%; font: inherit; font-size: 15px; font-weight: 600; color: var(--v4-ink); background: #fff; border: 1px solid var(--v4-line); border-radius: 12px; padding: 13px 44px 13px 16px; cursor: pointer; outline: none; text-overflow: ellipsis; }
.v4-select select:focus { border-color: var(--v4-cta); box-shadow: 0 0 0 3px rgba(255,138,61,.25); }
.v4-calc__promo-car { position: absolute; z-index: 2; left: 32px; right: 32px; bottom: 28px; display: flex; justify-content: space-between; align-items: baseline; gap: 12px; flex-wrap: wrap; color: #fff; pointer-events: none; }
.v4-calc__promo-car span { font-size: 20px; font-weight: 800; letter-spacing: -.02em; }
.v4-calc__promo-car b { font-size: 15px; font-weight: 600; opacity: .9; }
.v4-calc__promo::after { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 40%; z-index: 1; background: linear-gradient(0deg, rgba(0,0,0,.65), rgba(0,0,0,0)); pointer-events: none; }

.v4-car__stats b small { font-size: 12px; font-weight: 500; color: var(--v4-muted-2); margin-left: 4px; }
.v4-car--hot .v4-car__stats b small { color: #a1a1a6; }

/* премьера: название и описание слева, цена и «Подробнее» справа в конце той же строки */
.v4-featured__head { position: relative; z-index: 1; display: flex; justify-content: space-between; align-items: flex-end; gap: 24px 32px; flex-wrap: wrap; padding: 48px 48px 0; }
.v4-featured__head .v4-featured__body { padding: 0; }
.v4-featured__head .v4-featured__actions { margin: 0; flex: none; }
@media (max-width: 720px) { .v4-featured__head { padding: 32px 24px 0; } }

/* чекбокс согласия: старые стили (general3.css) уводят любой checkbox за экран, поэтому рисуем свой */
body.v4 .v4-form__consent input[type="checkbox"] {
    position: static; left: auto; flex: none; appearance: none; -webkit-appearance: none;
    width: 20px; height: 20px; margin: 0; border: 1.5px solid #8e8e93; border-radius: 6px; background: transparent center / 12px no-repeat; cursor: pointer;
    transition: background-color .15s, border-color .15s;
}
body.v4 .v4-form__consent input[type="checkbox"]:checked {
    border-color: var(--v4-cta); background-color: var(--v4-cta);
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M2 6.5l2.6 2.6L10 3.4' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
}
body.v4 .v4-form__consent input[type="checkbox"]:focus-visible { outline: 2px solid var(--v4-cta); outline-offset: 2px; }
.v4-form__consent { align-items: center; }

/* ==========================================================================
   Каталог
   ========================================================================== */
body.v4 .v4-nav a.is-active { color: var(--v4-accent); }
.v4-h1 { margin: 0; font-size: clamp(40px, 6vw, 72px); letter-spacing: -.045em; line-height: .95; font-weight: 800; }
.v4-cat-head { padding: 96px var(--v4-gutter) 0; } /* шапка наложена поверх страницы (высота 72px), поэтому отступ больше */
.v4-crumbs { display: flex; gap: 8px; font-size: 12px; color: var(--v4-muted-2); flex-wrap: wrap; }
body.v4 .v4-crumbs a { color: var(--v4-muted-2); }
.v4-crumbs .is-current { color: var(--v4-ink); }

/* выбор марок: кнопки-переключатели */
body.v4 button.v4-brand { width: 100%; border: 0; background: transparent; font: inherit; cursor: pointer; text-align: left; transition: background .2s, color .2s; }
body.v4 button.v4-brand:hover { background: var(--v4-soft); }
body.v4 button.v4-brand.is-active { background: var(--v4-ink); color: #fff; }
.v4-brand__name small { margin-left: 6px; font-size: 11px; font-weight: 600; opacity: .6; letter-spacing: 0; }
body.v4 button.v4-brand.is-active .v4-brand__logo img { filter: brightness(0) invert(1); }

/* липкая панель фильтров */
.v4-filters { position: sticky; top: 80px; z-index: 40; padding: 16px var(--v4-gutter) 0; }
.v4-filters__bar { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; padding: 8px; border-radius: 18px; background: rgba(255,255,255,.86); backdrop-filter: saturate(180%) blur(20px); -webkit-backdrop-filter: saturate(180%) blur(20px); box-shadow: 0 0 0 1px rgba(0,0,0,.05); }
.v4-filters__search { flex: 1 1 220px; display: flex; align-items: center; gap: 8px; height: 42px; padding: 0 14px; border-radius: 12px; background: var(--v4-card); color: var(--v4-muted-2); font-size: 15px; }
.v4-filters__search input { flex: 1; min-width: 0; border: 0; background: transparent; font: inherit; font-size: 15px; color: var(--v4-ink); outline: none; }
.v4-filters__search:focus-within { box-shadow: 0 0 0 3px rgba(255,138,61,.35); }
.v4-seg { display: flex; gap: 2px; padding: 3px; border-radius: 12px; background: var(--v4-card); }
/* первая строка: поиск, сортировка и «Сбросить»; вторая — типы кузова на всю ширину с переносом.
   Без прокрутки: иначе при появлении «Сбросить» выбранный тип уезжал за край и пропадал */
.v4-filters__search { order: 1; }
.v4-filters__bar > .v4-seg:not(.v4-seg--scroll) { order: 2; flex: none; }
.v4-filters__reset { order: 3; }
.v4-seg--scroll { order: 4; flex: 1 1 100%; flex-wrap: wrap; gap: 4px; }
.v4-seg__btn { border: 0; cursor: pointer; padding: 9px 14px; border-radius: 10px; background: transparent; color: var(--v4-muted); font-size: 13px; font-weight: 600; white-space: nowrap; transition: background .2s, color .2s; }
.v4-seg__btn.is-active { background: #fff; color: var(--v4-ink); box-shadow: 0 1px 4px rgba(0,0,0,.1); }
.v4-filters__reset { border: 0; cursor: pointer; padding: 11px 14px; border-radius: 12px; background: transparent; color: var(--v4-accent); font-size: 13px; font-weight: 600; }
.v4-filters__reset[hidden] { display: none; }

/* группы по маркам */
.v4-cat-list { padding: 24px var(--v4-gutter) 0; }
.v4-cgroup { padding-top: 48px; }
.v4-cgroup[hidden] { display: none; }
.v4-cgroup__head { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding-bottom: 18px; border-bottom: 1px solid var(--v4-line); flex-wrap: wrap; }
.v4-cgroup__title { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.v4-cgroup__logo { flex: none; position: relative; width: 48px; height: 48px; border-radius: 14px; background: var(--v4-card); }
.v4-cgroup__logo img { position: absolute; inset: 10px; width: calc(100% - 20px); height: calc(100% - 20px); object-fit: contain; }
.v4-cgroup h2 { margin: 0; font-size: 32px; letter-spacing: -.03em; font-weight: 800; }
body.v4 .v4-cgroup h2 a { color: var(--v4-ink); }
body.v4 .v4-cgroup h2 a:hover { text-decoration: none; color: var(--v4-accent); }
.v4-cgroup__count { font-size: 13px; font-weight: 600; color: var(--v4-muted); background: var(--v4-card); padding: 4px 10px; border-radius: 980px; }
.v4-cgroup__from { font-size: 13px; color: var(--v4-muted); white-space: nowrap; }
.v4-cgrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 272px), 1fr)); gap: 16px; margin-top: 20px; }
.v4-cgrid__cell { display: contents; }
.v4-cgrid__cell[hidden] { display: none; }
.v4-cgroup .v4-gov__more { margin-top: 16px; }
.v4-cgroup .v4-gov__more[hidden] { display: none; }

/* карточка модели */
@keyframes v4CardIn { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: none; } }
.v4-ccard { display: flex; flex-direction: column; position: relative; overflow: hidden; border-radius: 24px; background: var(--v4-card); color: var(--v4-ink); animation: v4CardIn .6s var(--v4-ease) both; transition: transform .35s var(--v4-ease); }
.v4-ccard:hover { transform: translateY(-4px); }
body.v4 .v4-ccard__link { display: flex; flex-direction: column; flex: 1; color: inherit; }
body.v4 .v4-ccard__link:hover { text-decoration: none; }
.v4-ccard__ribbon { display: none; padding: 8px 20px; background: var(--v4-cta); color: #000; font-size: 11px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.v4-ccard__top { display: flex; justify-content: space-between; align-items: flex-start; gap: 8px; padding: 20px 20px 0; }
.v4-ccard__body { font-size: 12px; color: var(--v4-muted); }
.v4-ccard__model { margin-top: 2px; font-size: 20px; font-weight: 800; letter-spacing: -.02em; }
.v4-ccard__off { flex: none; padding: 4px 8px; border-radius: 8px; background: var(--v4-accent); color: #fff; font-size: 12px; font-weight: 700; }
.v4-ccard__img { position: relative; aspect-ratio: 16 / 10; margin: 14px 12px 0; border-radius: 16px; overflow: hidden; background: rgba(0,0,0,.06); }
.v4-ccard__img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.v4-ccard__prices { display: flex; justify-content: space-between; align-items: flex-end; gap: 12px; padding: 16px 20px 0; }
.v4-ccard__old { min-height: 16px; font-size: 12px; color: var(--v4-muted-2); text-decoration: line-through; }
.v4-ccard__price { font-size: 20px; font-weight: 800; letter-spacing: -.02em; font-variant-numeric: tabular-nums; white-space: nowrap; }
.v4-ccard__credit { text-align: right; }
.v4-ccard__credit div { font-size: 12px; color: var(--v4-muted); }
.v4-ccard__credit b { display: block; font-size: 14px; font-weight: 700; white-space: nowrap; }
.v4-ccard__actions { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; padding: 16px 12px 12px; margin-top: auto; }
.v4-ccard__btn { border: 0; cursor: pointer; padding: 11px; border-radius: 12px; font-size: 14px; font-weight: 600; transition: background .2s; }
.v4-ccard__btn--buy { background: var(--v4-ink); color: #fff; }
.v4-ccard__btn--buy:hover { background: #000; }
.v4-ccard__btn--credit { background: #fff; color: var(--v4-ink); }
.v4-ccard__btn--credit:hover { background: #f4f4f6; }

.v4-ccard--hot { background: var(--v4-dark); color: #fff; box-shadow: 0 0 0 2px var(--v4-cta), 0 18px 40px rgba(217,86,11,.22); }
.v4-ccard--hot .v4-ccard__ribbon { display: block; }
.v4-ccard--hot .v4-ccard__body, .v4-ccard--hot .v4-ccard__credit div { color: #a1a1a6; }
.v4-ccard--hot .v4-ccard__off { background: var(--v4-cta); color: #000; }
.v4-ccard--hot .v4-ccard__img { background: rgba(255,255,255,.06); }
.v4-ccard--hot .v4-ccard__btn--buy { background: #fff; color: #000; }
.v4-ccard--hot .v4-ccard__btn--buy:hover { background: #ececef; }
.v4-ccard--hot .v4-ccard__btn--credit { background: var(--v4-cta); color: var(--v4-ink); }
.v4-ccard--hot .v4-ccard__btn--credit:hover { background: var(--v4-cta-hover); }

.v4-cat-empty { padding: 80px 0; text-align: center; }
.v4-cat-empty[hidden] { display: none; }
.v4-cat-empty__title { font-size: 28px; font-weight: 800; letter-spacing: -.02em; }
.v4-cat-empty__text { margin-top: 8px; font-size: 15px; color: var(--v4-muted); }

/* «Не нашли нужную модель?» */
.v4-cta-box { display: flex; gap: 32px; flex-wrap: wrap; align-items: center; justify-content: space-between; padding: clamp(28px, 5vw, 56px); border-radius: 32px; background: var(--v4-dark) radial-gradient(70% 100% at 100% 0%, rgba(255,138,61,.28) 0%, rgba(28,26,25,0) 60%); color: #fff; }
.v4-cta-box__text { flex: 1 1 380px; }
.v4-cta-box h2 { margin: 0; font-size: clamp(32px, 4.4vw, 52px); letter-spacing: -.035em; line-height: 1.02; font-weight: 800; text-wrap: balance; }
.v4-cta-box p { margin: 12px 0 0; font-size: 17px; color: #d2d2d7; }
.v4-cta-box__form { flex: 1 1 420px; }
.v4-cta-box__form .v4-form { margin-top: 0; }
@media (prefers-reduced-motion: reduce) { .v4-ccard { animation: none; } }

/* блок «Не нашли нужную модель?» стоит перед подвалом — нужен отступ снизу */
.v4-section--cta { padding-bottom: 120px; }
@media (max-width: 720px) { .v4-section--cta { padding-bottom: 72px; } }

/* ==========================================================================
   Страница марки
   ========================================================================== */
.v4-btn--md { padding: 14px; border-radius: 14px; font-size: 15px; font-weight: 600; }
.v4-h2--md { font-size: clamp(36px, 5vw, 56px); }
.v4-h2--md span { color: var(--v4-muted-2); }
.v4-seg--wrap { flex-wrap: wrap; gap: 4px; max-width: 100%; }
.v4-seg--wrap .v4-seg__btn { font-size: 14px; padding: 10px 16px; }

/* hero */
.v4-bhero { position: relative; margin-top: -12px; overflow: hidden; background: var(--v4-dark); color: #fff; }
.v4-bhero__glow { position: absolute; inset: 0; background: radial-gradient(60% 80% at 85% 30%, rgba(255,138,61,.22) 0%, rgba(28,26,25,0) 60%); pointer-events: none; }
.v4-bhero__inner { position: relative; max-width: var(--v4-max); margin: 0 auto; padding: 120px var(--v4-gutter) 0; }
.v4-crumbs--dark { color: #a1a1a6; }
body.v4 .v4-crumbs--dark a { color: #a1a1a6; }
.v4-crumbs--dark .is-current { color: #fff; }
.v4-bhero__row { display: flex; gap: 40px; flex-wrap: wrap; align-items: flex-end; margin-top: 32px; }
.v4-bhero__text { flex: 1 1 440px; min-width: 0; }
.v4-bhero__brand { display: flex; align-items: center; gap: 14px; }
.v4-bhero__logo { flex: none; display: grid; place-items: center; width: 56px; height: 56px; padding: 10px; border-radius: 16px; overflow: hidden; background: #fff; color: var(--v4-ink); font-size: 22px; font-weight: 800; }
.v4-bhero__logo img { max-width: 100%; max-height: 100%; object-fit: contain; }
.v4-bhero__eyebrow { font-size: 13px; font-weight: 600; color: var(--v4-cta); }
.v4-bhero__title { margin: 22px 0 0; font-size: clamp(56px, 10vw, 136px); line-height: .85; letter-spacing: -.055em; font-weight: 900; overflow-wrap: anywhere; }
.v4-bhero__title span { color: var(--v4-cta); }
.v4-bhero__lead { margin: 20px 0 0; max-width: 440px; font-size: 17px; line-height: 1.45; color: #d2d2d7; }
.v4-bhero .v4-hero__cta { margin-top: 28px; }
.v4-bhero__photo { position: relative; flex: 1 1 520px; min-width: 0; aspect-ratio: 16 / 10; border-radius: 28px; overflow: hidden; background: rgba(255,255,255,.06); }
.v4-bhero__slide { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity 1.2s ease; }
.v4-bhero__slide.is-active { opacity: 1; }
.v4-bhero__caption { position: absolute; left: 16px; bottom: 16px; padding: 7px 12px; border-radius: 980px; background: rgba(20,18,17,.55); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); color: #fff; font-size: 13px; font-weight: 600; transition: opacity .4s; pointer-events: none; }
.v4-bhero__stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 1px; margin-top: 48px; border-radius: 20px 20px 0 0; overflow: hidden; background: rgba(255,255,255,.12); }
.v4-bhero__stats div { padding: 22px 24px; background: #242120; }
.v4-bhero__stats b { display: block; font-size: 32px; font-weight: 800; letter-spacing: -.03em; }
.v4-bhero__stats span { display: block; margin-top: 4px; font-size: 13px; color: #a1a1a6; }

/* бегущая строка */
.v4-ticker { overflow: hidden; white-space: nowrap; background: var(--v4-cta); color: #000; }
.v4-ticker__track { display: flex; width: max-content; padding: 14px 0; font-size: 14px; font-weight: 700; animation: v4Marquee 45s linear infinite; }
.v4-ticker__group { display: flex; flex: none; gap: 48px; padding-right: 48px; }
.v4-ticker__group > span { display: inline-flex; gap: 48px; }
.v4-ticker__group i { font-style: normal; }
@keyframes v4Marquee { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .v4-ticker__track { animation: none; } }

/* шоурум */
.v4-show { margin-top: 28px; overflow: hidden; border-radius: 32px; background: var(--v4-card); }
.v4-show__pane { display: flex; flex-wrap: wrap; animation: v4ShowIn .5s var(--v4-ease) both; }
.v4-show__pane[hidden] { display: none; }
@keyframes v4ShowIn { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }
.v4-show__photo { position: relative; flex: 1 1 560px; min-width: 0; min-height: 380px; background: rgba(0,0,0,.06); }
.v4-show__photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.v4-show__off { position: absolute; left: 20px; top: 20px; padding: 6px 10px; border-radius: 10px; background: var(--v4-accent); color: #fff; font-size: 12px; font-weight: 700; }
.v4-show__info { flex: 1 1 380px; display: flex; flex-direction: column; gap: 20px; padding: clamp(24px, 4vw, 44px); }
.v4-show__name { margin-top: 6px; font-size: clamp(32px, 4vw, 48px); font-weight: 800; letter-spacing: -.035em; line-height: 1; }
.v4-show__tiles { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.v4-show__tiles div { padding: 14px 16px; border-radius: 16px; background: #fff; }
.v4-show__tiles b { display: block; font-size: 20px; font-weight: 800; letter-spacing: -.02em; overflow-wrap: anywhere; }
.v4-show__tiles span { display: block; margin-top: 2px; font-size: 12px; color: var(--v4-muted); }
.v4-show__prices { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.v4-show__old { min-height: 17px; font-size: 13px; color: var(--v4-muted-2); text-decoration: line-through; }
.v4-show__price { font-size: 32px; font-weight: 800; letter-spacing: -.03em; white-space: nowrap; }
.v4-show__credit { text-align: right; }
.v4-show__credit div { font-size: 12px; color: var(--v4-muted); }
.v4-show__credit b { display: block; font-size: 16px; font-weight: 700; white-space: nowrap; }
.v4-show__actions { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: auto; }

/* ценовая линейка */
.v4-ladder { position: relative; height: 200px; margin-top: 48px; }
.v4-ladder__scale { position: absolute; left: 0; right: 0; bottom: 36px; height: 6px; border-radius: 6px; background: linear-gradient(90deg, #ffd9bf, #ff8a3d, #b8470a); }
.v4-ladder__item { position: absolute; bottom: 30px; transform: translateX(-50%); display: flex; flex-direction: column; align-items: center; gap: 8px; padding: 0; border: 0; background: none; cursor: pointer; font: inherit; }
.v4-ladder__label { display: flex; flex-direction: column; align-items: center; padding: 10px 14px; border-radius: 14px; background: #fff; color: var(--v4-ink); box-shadow: 0 6px 20px rgba(0,0,0,.08); white-space: nowrap; transition: background .25s, color .25s; }
.v4-ladder__label b { font-size: 14px; font-weight: 800; }
.v4-ladder__label span { margin-top: 2px; font-size: 12px; opacity: .75; }
.v4-ladder__stem { width: 2px; height: var(--stem); background: #d2d2d7; }
.v4-ladder__dot { width: 18px; height: 18px; border-radius: 50%; background: var(--v4-cta); border: 3px solid #fff; box-shadow: 0 0 0 1px rgba(0,0,0,.1); }
.v4-ladder__item.is-active .v4-ladder__label { background: var(--v4-ink); color: #fff; }
.v4-ladder__item.is-active .v4-ladder__stem { background: var(--v4-ink); }
.v4-ladder__item.is-active .v4-ladder__dot { background: var(--v4-ink); }
.v4-ladder__min, .v4-ladder__max { position: absolute; bottom: 0; font-size: 12px; color: var(--v4-muted); }
.v4-ladder__min { left: 0; }
.v4-ladder__max { right: 0; }
/* на телефоне — список: слева модель и цена, справа мини-шкала с точкой на месте цены */
@media (max-width: 760px) {
    .v4-ladder { height: auto; display: grid; gap: 6px; margin-top: 28px; }
    .v4-ladder__scale { display: none; }
    .v4-ladder__min, .v4-ladder__max { position: static; order: -1; }
    .v4-ladder__min { display: none; }
    .v4-ladder__max { display: none; }
    body.v4 .v4-ladder__item { position: relative; left: auto !important; bottom: auto; transform: none; display: grid; grid-template-columns: minmax(0, 1fr) 32%; align-items: center; gap: 14px; width: 100%; padding: 12px 14px; border-radius: 16px; background: #fff; box-shadow: 0 4px 16px rgba(0,0,0,.06); text-align: left; transition: background .25s; }
    .v4-ladder__label { flex-direction: row; justify-content: space-between; align-items: baseline; gap: 10px; min-width: 0; padding: 0; border-radius: 0; background: none; box-shadow: none; white-space: normal; }
    .v4-ladder__label b { font-size: 15px; overflow-wrap: anywhere; }
    .v4-ladder__label span { flex: none; margin-top: 0; font-size: 13px; white-space: nowrap; }
    .v4-ladder__stem { position: relative; width: 100%; height: 6px; border-radius: 6px; background: linear-gradient(90deg, #ffd9bf, #ff8a3d, #b8470a); }
    .v4-ladder__dot { display: none; }
    .v4-ladder__stem::after { content: ""; position: absolute; top: 50%; left: calc(var(--t) * (100% - 16px)); width: 16px; height: 16px; margin-top: -8px; border-radius: 50%; background: var(--v4-cta); border: 3px solid #fff; box-shadow: 0 0 0 1px rgba(0,0,0,.12); box-sizing: border-box; }
    body.v4 .v4-ladder__item.is-active { background: var(--v4-ink); }
    .v4-ladder__item.is-active .v4-ladder__label { background: none; color: #fff; }
    .v4-ladder__item.is-active .v4-ladder__stem { background: linear-gradient(90deg, #ffd9bf, #ff8a3d, #b8470a); opacity: .9; }
    .v4-ladder__item.is-active .v4-ladder__stem::after { background: #fff; border-color: var(--v4-cta); }
}

/* предложения */
.v4-offers { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); gap: 16px; }
body.v4 .v4-offer { display: flex; flex-direction: column; justify-content: space-between; min-height: 260px; padding: 30px; border-radius: 28px; text-decoration: none; transition: transform .35s var(--v4-ease); }
body.v4 .v4-offer:hover { transform: translateY(-4px); text-decoration: none; }
body.v4 .v4-offer--dark { background: var(--v4-dark); color: #fff; }
body.v4 .v4-offer--accent { background: var(--v4-cta); color: #000; }
body.v4 .v4-offer--light { background: var(--v4-card); color: var(--v4-ink); }
.v4-offer__k { font-size: 13px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; opacity: .75; }
.v4-offer__v { font-size: clamp(44px, 5vw, 64px); font-weight: 900; letter-spacing: -.05em; line-height: .9; }
.v4-offer__d { margin-top: 12px; font-size: 15px; font-weight: 600; line-height: 1.4; }
.v4-offer__more { margin-top: 18px; font-size: 14px; font-weight: 700; }

/* текстовые блоки из админки */
.v4-prose { max-width: 860px; margin-bottom: 32px; font-size: 16px; line-height: 1.65; color: var(--v4-ink-2); overflow: auto; }
.v4-prose h1, .v4-prose h2, .v4-prose h3 { margin: 28px 0 12px; color: var(--v4-ink); letter-spacing: -.02em; line-height: 1.15; }
.v4-prose h2 { font-size: 28px; }
.v4-prose h3 { font-size: 22px; }
.v4-prose p { margin: 0 0 14px; }
.v4-prose ul, .v4-prose ol { margin: 0 0 14px; padding-left: 22px; }
.v4-prose img { height: auto; border-radius: 16px; }
.v4-archive__title { margin: 0 0 16px; font-size: 24px; font-weight: 800; letter-spacing: -.02em; }
.v4-archive__list { display: flex; flex-wrap: wrap; gap: 8px; }
body.v4 .v4-archive__chip { padding: 8px 14px; border-radius: 980px; background: var(--v4-card); color: var(--v4-ink); font-size: 14px; font-weight: 600; }
body.v4 .v4-archive__chip:hover { background: var(--v4-line); text-decoration: none; }

/* ==========================================================================
   Страница модели
   ========================================================================== */
.v4-section--tight { padding-top: 96px; }
.v4-btn--sm { padding: 10px 18px; border-radius: 980px; font-size: 14px; font-weight: 600; }
.v4-note { font-size: 12px; color: var(--v4-muted-2); line-height: 1.5; }

/* липкая панель модели: появляется после прокрутки hero (v4.js) */
.v4-msub { position: fixed; top: 84px; left: 0; right: 0; z-index: 39; padding: 0 var(--v4-gutter); opacity: 0; transform: translateY(-14px); pointer-events: none; transition: opacity .3s, transform .3s var(--v4-ease); }
.v4-msub.is-visible { opacity: 1; transform: none; pointer-events: auto; }
.v4-msub__bar { display: flex; align-items: center; justify-content: space-between; gap: 16px 24px; flex-wrap: wrap; padding: 8px 8px 8px 20px; border-radius: 18px; background: rgba(255,255,255,.9); backdrop-filter: saturate(180%) blur(20px); -webkit-backdrop-filter: saturate(180%) blur(20px); box-shadow: 0 8px 30px rgba(0,0,0,.12); }
.v4-msub__name { font-size: 18px; font-weight: 800; letter-spacing: -.02em; white-space: nowrap; }
.v4-msub__nav { display: none; gap: 22px; font-size: 13px; font-weight: 500; }
body.v4 .v4-msub__nav a { color: var(--v4-ink); }
.v4-msub__buy { display: flex; align-items: center; gap: 14px; }
.v4-msub__trim { font-size: 13px; color: var(--v4-muted); white-space: nowrap; }
.v4-msub__trim b { color: var(--v4-ink); }
@media (min-width: 980px) { .v4-msub__nav { display: flex; } }
@media (max-width: 560px) { .v4-msub__trim { display: none; } .v4-msub__bar { padding-left: 16px; } }

/* hero */
.v4-mhero { padding: 96px var(--v4-gutter) 0; background: radial-gradient(90% 60% at 40% 70%, #fff1e6 0%, rgba(255,255,255,0) 65%); }
.v4-mhero__row { display: flex; gap: 40px; flex-wrap: wrap; align-items: flex-start; margin-top: 40px; }
.v4-mhero__main { flex: 1 1 560px; min-width: 0; }
.v4-mhero__title { margin: 8px 0 0; font-size: clamp(44px, 7vw, 88px); line-height: .95; letter-spacing: -.045em; font-weight: 800; overflow-wrap: anywhere; }
.v4-mhero__lead { margin: 14px 0 0; font-size: 17px; line-height: 1.45; color: var(--v4-muted); }
.v4-mhero__photo { position: relative; aspect-ratio: 16 / 10; width: min(100%, 565px); margin-top: 24px; border-radius: 28px; overflow: hidden; }
.v4-mhero__photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; transition: opacity .25s; }
.v4-mhero__photo img.is-swapping { opacity: 0; }
.v4-mhero__colors { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; margin-top: 20px; }
.v4-swatches { display: flex; gap: 10px; flex-wrap: wrap; }
.v4-swatch { width: 30px; height: 30px; padding: 0; border-radius: 50%; border: 2px solid #fff; background: #ccc; box-shadow: 0 0 0 1px #d2d2d7; cursor: pointer; transition: box-shadow .2s; }
.v4-swatch.is-active { box-shadow: 0 0 0 2px var(--v4-ink); }
.v4-mhero__colorname { font-size: 14px; color: var(--v4-muted); }
.v4-mhero__colorname b { color: var(--v4-ink); }

.v4-mhero__aside { flex: 1 1 320px; max-width: 400px; position: sticky; top: 140px; padding: 30px; border-radius: 28px; background: var(--v4-card); }
.v4-offerbox__price { display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; margin-top: 6px; }
.v4-offerbox__price > span { font-size: 40px; font-weight: 800; letter-spacing: -.035em; font-variant-numeric: tabular-nums; }
.v4-offerbox__price s { font-size: 15px; color: var(--v4-muted-2); }
.v4-offerbox__price s[hidden], .v4-offerbox__save[hidden] { display: none; }
.v4-offerbox__save { display: inline-flex; gap: .3em; margin-top: 10px; padding: 6px 12px; border-radius: 980px; background: var(--v4-accent-tint); color: var(--v4-accent-dark); font-size: 13px; font-weight: 600; }
.v4-offerbox__line { margin-top: 12px; font-size: 14px; color: var(--v4-muted); }
.v4-offerbox__line b { color: var(--v4-ink); white-space: nowrap; }
.v4-offerbox__links { margin-top: 18px; font-size: 14px; }
/* форма на светлой карточке и в попапах */
.v4-mhero__aside .v4-form { margin-top: 22px; grid-template-columns: 1fr; gap: 10px; }
.v4-mhero__aside .v4-form__input { padding: 14px 16px; font-size: 16px; border: 1px solid #d2d2d7; }
.v4-mhero__aside .v4-form__input:focus { border-color: var(--v4-cta); box-shadow: 0 0 0 3px rgba(255,138,61,.3); }
.v4-mhero__aside .v4-form__consent { color: var(--v4-muted); }
body.v4 .v4-mhero__aside .v4-form__consent a { color: var(--v4-ink-2); }
@media (max-width: 900px) { .v4-mhero__aside { position: static; max-width: none; } }

.v4-keyspecs { display: grid; grid-template-columns: repeat(auto-fit, minmax(130px, 1fr)); margin-top: 40px; border-top: 1px solid var(--v4-line); border-bottom: 1px solid var(--v4-line); }
.v4-keyspecs > div { padding: 22px 0; }
.v4-keyspecs b { font-size: 26px; font-weight: 800; letter-spacing: -.03em; }
.v4-keyspecs small { font-size: 14px; font-weight: 600; color: var(--v4-muted); }
.v4-keyspecs span { display: block; margin-top: 4px; font-size: 12px; color: var(--v4-muted); }

/* программы и комплектации */
.v4-programs { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 12px; margin-top: 32px; }
.v4-program { display: flex; align-items: center; gap: 14px; padding: 20px 22px; border-radius: 20px; background: var(--v4-card); }
.v4-program__i { flex: none; display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: #fff; color: var(--v4-accent); }
.v4-program > div b { display: block; font-size: 15px; font-weight: 700; }
.v4-program > div span { display: block; margin-top: 2px; font-size: 13px; color: var(--v4-muted); }
.v4-program em { font-style: normal; font-weight: 700; color: var(--v4-ink); }

.v4-trims { display: flex; flex-direction: column; gap: 8px; margin-top: 16px; }
.v4-trim { overflow: hidden; border-radius: 20px; background: var(--v4-card); border: 1px solid var(--v4-card); transition: background .2s, border-color .2s; }
.v4-trim.is-selected { background: #fff; border-color: var(--v4-cta); }
.v4-trim__head { display: flex; align-items: center; flex-wrap: wrap; gap: 20px 32px; padding: 20px 24px; cursor: pointer; }
.v4-trim__name { flex: 1 1 180px; display: flex; align-items: center; gap: 14px; }
.v4-trim__dot { flex: none; width: 20px; height: 20px; border-radius: 50%; border: 2px solid #d2d2d7; background: #d2d2d7; box-shadow: inset 0 0 0 4px #fff; }
.v4-trim.is-selected .v4-trim__dot { border-color: var(--v4-cta); background: var(--v4-cta); }
.v4-trim__name b { display: block; font-size: 18px; font-weight: 700; letter-spacing: -.01em; }
.v4-trim__name span { display: block; margin-top: 2px; font-size: 12px; color: var(--v4-muted); }
.v4-trim__sale { flex: 0 1 auto; text-align: right; min-width: 90px; }
.v4-trim__sale s { display: block; font-size: 13px; color: var(--v4-muted-2); }
.v4-trim__sale em { display: block; font-size: 13px; font-style: normal; font-weight: 600; color: var(--v4-accent); }
.v4-trim__price { flex: 0 0 150px; text-align: right; font-size: 22px; font-weight: 800; letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.v4-trim__chev { flex: none; display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; background: var(--v4-line); color: var(--v4-ink); transition: transform .3s; }
.v4-trim.is-open .v4-trim__chev { transform: rotate(180deg); }
.v4-trim__body { padding: 4px 24px 24px; border-top: 1px solid var(--v4-line); }
.v4-trim__body[hidden] { display: none; }
.v4-trim__base { margin-top: 20px; font-size: 12px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--v4-muted); }
.v4-checklist { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 10px 24px; margin: 12px 0 0; padding: 0; list-style: none; font-size: 14px; line-height: 1.4; }
.v4-checklist--col { grid-template-columns: 1fr; gap: 8px; margin-top: 16px; }
.v4-checklist li { display: flex; gap: 8px; }
.v4-checklist li[hidden] { display: none; }
.v4-checklist li::before { content: '+'; flex: none; color: var(--v4-accent); font-weight: 800; }
.v4-trim__actions { display: flex; align-items: center; gap: 20px; flex-wrap: wrap; margin-top: 20px; }
.v4-trim__actions span { font-size: 14px; color: var(--v4-muted); }
@media (max-width: 640px) { .v4-trim__price { flex: 1 1 auto; text-align: left; } .v4-trim__sale { text-align: left; } }

/* «Что в комплектациях» */
.v4-featgrid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 270px), 1fr)); gap: 16px; margin-top: 40px; }
.v4-feat { display: flex; flex-direction: column; padding: 26px; border-radius: 28px; background: var(--v4-card); }
.v4-feat__img { position: relative; height: 150px; margin: -6px -6px 18px; border-radius: 18px; overflow: hidden; background: rgba(0,0,0,.05); }
.v4-feat__img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; }
.v4-feat h3 { margin: 0; font-size: 22px; font-weight: 800; letter-spacing: -.02em; }
.v4-feat__price { margin-top: 4px; font-size: 15px; font-weight: 700; white-space: nowrap; }
.v4-feat__base { margin-top: 4px; font-size: 12px; color: var(--v4-muted); }
.v4-feat__more { align-self: flex-start; margin-top: auto; padding: 16px 0 0; border: 0; background: none; color: var(--v4-accent); font-size: 14px; font-weight: 600; cursor: pointer; }

/* характеристики и сравнение */
.v4-specs { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr)); gap: 0 56px; margin-top: 36px; }
.v4-specs[hidden], .v4-compare[hidden] { display: none; }
.v4-specs__row { display: flex; justify-content: space-between; gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--v4-line); font-size: 15px; }
.v4-specs__row span { color: var(--v4-muted); }
.v4-specs__row b { font-weight: 600; text-align: right; }
.v4-compare { max-height: 680px; margin-top: 36px; overflow: auto; }
.v4-compare__table { width: 100%; min-width: 640px; border-collapse: collapse; }
.v4-compare__table th { position: sticky; top: 0; padding: 14px 8px; border-bottom: 1px solid var(--v4-ink); background: #fff; font-size: 14px; font-weight: 700; text-align: center; }
.v4-compare__table th:first-child { text-align: left; font-size: 13px; font-weight: 500; color: var(--v4-muted); padding-left: 0; }
.v4-compare__table td { padding: 13px 8px; border-bottom: 1px solid var(--v4-line); font-size: 14px; text-align: center; }
.v4-compare__table td:first-child { padding-left: 0; text-align: left; font-weight: 500; }
.v4-compare__table td.is-yes { color: var(--v4-accent); font-weight: 700; }
.v4-compare__table td.is-no { color: #c7c7cc; font-weight: 700; }

/* галерея */
.v4-gallery { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); grid-auto-rows: 220px; grid-auto-flow: dense; gap: 12px; margin-top: 36px; }
.v4-gallery[hidden] { display: none; }
.v4-gallery__item { position: relative; display: block; overflow: hidden; border-radius: 22px; background: var(--v4-soft); }
.v4-gallery__item img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--v4-ease); }
.v4-gallery__item:hover img { transform: scale(1.04); }
@media (min-width: 700px) { .v4-gallery__item.is-big { grid-column: span 2; grid-row: span 2; } }

/* кредит */
.v4-creditbox { padding: clamp(32px, 5vw, 56px); border-radius: 32px; background: var(--v4-dark) radial-gradient(60% 90% at 100% 0%, rgba(255,138,61,.25) 0%, rgba(28,26,25,0) 60%); color: #fff; }
.v4-creditbox__title { max-width: 640px; margin: 8px 0 0; font-size: clamp(32px, 4.4vw, 52px); letter-spacing: -.035em; line-height: 1.02; font-weight: 800; text-wrap: balance; }
.v4-creditbox__tiles { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 12px; margin-top: 36px; }
.v4-creditbox__tiles > div { display: flex; flex-direction: column; justify-content: space-between; gap: 12px; min-height: 120px; padding: 22px; border-radius: 20px; background: var(--v4-dark-2); }
.v4-creditbox__tiles b { font-size: 28px; font-weight: 800; letter-spacing: -.03em; }
.v4-creditbox__tiles span { display: block; font-size: 15px; font-weight: 600; }
.v4-creditbox__tiles small { display: block; margin-top: 2px; font-size: 13px; color: #a1a1a6; }
.v4-creditbox__form { margin-top: 24px; }
.v4-creditbox__form .v4-form { margin-top: 0; }

/* гарантия */
.v4-warranty { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 12px; margin-top: 36px; }
.v4-warranty__item { padding: 28px; border-radius: 24px; background: var(--v4-card); }
.v4-warranty__item b { display: block; font-size: 64px; font-weight: 800; letter-spacing: -.05em; line-height: .9; background: linear-gradient(135deg, #ff8a3d, #d4380d); -webkit-background-clip: text; background-clip: text; color: transparent; }
.v4-warranty__item span { display: block; margin-top: 6px; font-size: 14px; font-weight: 600; color: var(--v4-muted); }
.v4-warranty__item p { margin: 18px 0 0; font-size: 16px; font-weight: 700; }
.v4-warranty__note { max-width: 720px; margin: 16px 0 0; font-size: 14px; line-height: 1.5; color: var(--v4-muted); }

/* другие модели */
.v4-others { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); gap: 16px; margin-top: 36px; }
body.v4 .v4-other { display: flex; flex-direction: column; gap: 4px; padding: 24px; border-radius: 28px; background: var(--v4-card); color: var(--v4-ink); transition: transform .35s var(--v4-ease); }
body.v4 .v4-other:hover { transform: translateY(-4px); text-decoration: none; }
.v4-other__img { position: relative; display: block; height: 150px; margin: -4px -4px 16px; border-radius: 18px; overflow: hidden; background: rgba(0,0,0,.05); }
.v4-other__img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.v4-other__name { font-size: 20px; font-weight: 800; letter-spacing: -.02em; }
.v4-other__row { display: flex; justify-content: space-between; align-items: baseline; gap: 8px; margin-top: 6px; }
.v4-other__row b { font-size: 16px; font-weight: 700; }
.v4-other__row small { font-size: 13px; color: var(--v4-muted); }

/* ==========================================================================
   Страница автокредита
   ========================================================================== */
.v4-achero .v4-bhero__inner { padding-bottom: 56px; }
.v4-achero__title { font-size: clamp(56px, 9vw, 124px); line-height: .88; }
.v4-achero__card { flex: 0 1 380px; min-width: 0; padding: 28px; border: 1px solid rgba(255,255,255,.12); border-radius: 28px; background: rgba(255,255,255,.06); backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px); }
.v4-achero__photo { position: relative; aspect-ratio: 16 / 10; margin-bottom: 20px; border-radius: 18px; overflow: hidden; background: rgba(255,255,255,.08); }
.v4-achero__photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.v4-achero__car { margin-top: 14px; font-size: 14px; color: #d2d2d7; }
.v4-achero__monthly { margin-top: 4px; font-size: 48px; font-weight: 800; letter-spacing: -.04em; white-space: nowrap; }
.v4-achero__monthly small { font-size: 20px; font-weight: 500; color: #a1a1a6; letter-spacing: 0; }
.v4-achero__row3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; margin-top: 18px; }
.v4-achero__row3 span { display: block; font-size: 11px; color: #a1a1a6; }
.v4-achero__row3 b { display: block; margin-top: 2px; font-size: 16px; font-weight: 700; }

/* выбор автомобиля: выпадающий список с поиском */
.v4-combo { position: relative; margin-top: 32px; max-width: 760px; }
.v4-combo__trigger { display: flex; align-items: center; gap: 14px; width: 100%; padding: 12px 18px 12px 12px; border: 0; border-radius: 22px; background: #fff; box-shadow: 0 10px 40px rgba(0,0,0,.08), 0 0 0 1px rgba(0,0,0,.08); text-align: left; font: inherit; color: var(--v4-ink); cursor: pointer; transition: box-shadow .2s; }
.v4-combo__trigger:hover, .v4-combo.is-open .v4-combo__trigger { box-shadow: 0 10px 40px rgba(0,0,0,.1), 0 0 0 2px var(--v4-cta); }
.v4-combo__thumb { flex: none; position: relative; width: 84px; height: 56px; border-radius: 14px; overflow: hidden; background: var(--v4-soft); }
.v4-combo__thumb img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.v4-combo__text { flex: 1; min-width: 0; }
.v4-combo__text small { display: block; font-size: 12px; color: var(--v4-muted); }
.v4-combo__text b { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 19px; font-weight: 800; letter-spacing: -.02em; }
.v4-combo__price { flex: none; text-align: right; font-size: 15px; font-weight: 700; white-space: nowrap; }
.v4-combo__chev { flex: none; transition: transform .25s; }
.v4-combo.is-open .v4-combo__chev { transform: rotate(180deg); }
.v4-combo__panel { position: absolute; z-index: 30; top: calc(100% + 8px); left: 0; right: 0; overflow: hidden; border-radius: 22px; background: #fff; box-shadow: 0 24px 70px rgba(0,0,0,.2), 0 0 0 1px rgba(0,0,0,.06); }
.v4-combo__panel[hidden] { display: none; }
.v4-combo__bar { display: flex; align-items: center; gap: 8px; margin: 12px 12px 4px; }
.v4-combo__back { flex: none; display: grid; place-items: center; width: 44px; height: 44px; border: 0; border-radius: 12px; background: var(--v4-card); color: var(--v4-ink); cursor: pointer; transition: background .2s; }
.v4-combo__back:hover { background: var(--v4-line); }
.v4-combo__back[hidden] { display: none; }
.v4-combo__title { padding: 10px 20px 6px; font-size: 11px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--v4-muted-2); }
.v4-combo__search { flex: 1; min-width: 0; display: flex; align-items: center; gap: 10px; padding: 0 14px; height: 44px; border-radius: 12px; background: var(--v4-card); color: var(--v4-muted-2); }
.v4-combo__search:focus-within { box-shadow: 0 0 0 3px rgba(255,138,61,.35); }
.v4-combo__search input { flex: 1; min-width: 0; border: 0; background: transparent; font: inherit; font-size: 15px; color: var(--v4-ink); outline: none; }
.v4-combo__list { max-height: 400px; overflow-y: auto; padding: 0 8px 8px; overscroll-behavior: contain; }
.v4-combo__group { position: sticky; top: 0; z-index: 1; padding: 10px 12px 6px; background: #fff; font-size: 11px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--v4-muted-2); }
.v4-combo__group[hidden], .v4-combo__option[hidden], .v4-combo__empty[hidden] { display: none; }
.v4-combo__option { display: flex; align-items: center; gap: 12px; width: 100%; padding: 8px 12px 8px 8px; border: 0; border-radius: 14px; background: transparent; text-align: left; font: inherit; color: var(--v4-ink); cursor: pointer; }
.v4-combo__option:hover, .v4-combo__option:focus-visible { background: var(--v4-soft); outline: none; }
.v4-combo__option.is-selected { background: var(--v4-accent-tint); }
.v4-combo__option .v4-combo__thumb { width: 64px; height: 44px; border-radius: 10px; }
.v4-combo__option .v4-combo__text b { font-size: 15px; letter-spacing: -.01em; }
.v4-combo__option .v4-combo__price b { display: block; font-size: 14px; font-weight: 700; }
.v4-combo__option .v4-combo__price small { display: block; margin-top: 2px; font-size: 12px; font-weight: 500; color: var(--v4-muted); }
.v4-combo__empty { padding: 28px 16px 32px; text-align: center; font-size: 14px; color: var(--v4-muted); }
@media (max-width: 560px) { .v4-combo__trigger .v4-combo__price { display: none; } .v4-combo__thumb { width: 68px; height: 48px; } }

/* калькулятор */
.v4-section--calc { padding-top: 72px; }
.v4-accalc { display: flex; gap: 16px; flex-wrap: wrap; align-items: flex-start; margin-top: 36px; }
.v4-accalc__panel { flex: 1 1 560px; min-width: 0; display: grid; gap: 30px; padding: clamp(22px, 3vw, 36px); border-radius: 28px; background: #fff; box-shadow: 0 10px 40px rgba(0,0,0,.08), 0 0 0 1px rgba(0,0,0,.04); }
.v4-accalc__car { display: flex; align-items: center; gap: 16px; }
.v4-accalc__carimg { flex: none; position: relative; width: 96px; height: 64px; border-radius: 14px; overflow: hidden; background: var(--v4-soft); }
.v4-accalc__carimg img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.v4-accalc__car > div { flex: 1; min-width: 0; }
.v4-accalc__car span { display: block; font-size: 12px; color: var(--v4-muted); }
.v4-accalc__car b { display: block; font-size: 20px; font-weight: 800; letter-spacing: -.02em; }
.v4-accalc__car a { font-size: 14px; font-weight: 600; white-space: nowrap; }
.v4-accalc__progs { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 8px; margin-top: 12px; }
.v4-accalc__prog { padding: 14px 16px; border: 0; border-radius: 16px; text-align: left; font: inherit; cursor: pointer; background: var(--v4-card); color: var(--v4-ink); transition: background .2s, box-shadow .2s; }
.v4-accalc__prog b { display: block; font-size: 15px; font-weight: 700; }
.v4-accalc__prog span { display: block; margin-top: 4px; font-size: 12px; opacity: .75; }
.v4-accalc__prog.is-active { background: var(--v4-ink); color: #fff; box-shadow: 0 0 0 2px var(--v4-cta); }
.v4-accalc__row { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.v4-accalc__val { font-size: 22px; font-weight: 800; letter-spacing: -.02em; white-space: nowrap; }
.v4-accalc__val small { font-size: 14px; font-weight: 500; color: var(--v4-muted-2); letter-spacing: 0; }
.v4-accalc__panel input[type=range] { margin-top: 14px; }
.v4-segbar { display: grid; grid-template-columns: repeat(8, minmax(0, 1fr)); gap: 4px; margin-top: 14px; padding: 4px; border-radius: 14px; background: var(--v4-card); }
.v4-segbar button { padding: 10px 0; border: 0; border-radius: 10px; background: transparent; color: var(--v4-muted); font: inherit; font-size: 14px; font-weight: 700; cursor: pointer; }
.v4-segbar button.is-active { background: #fff; color: var(--v4-ink); box-shadow: 0 1px 4px rgba(0,0,0,.1); }
.v4-segbar button:disabled { opacity: .35; cursor: not-allowed; }
.v4-accalc__warn { margin-top: 18px; padding: 12px 14px; border-radius: 14px; background: rgba(255,138,61,.16); color: #ffb98a; font-size: 13px; line-height: 1.45; }
.v4-accalc__warn[hidden], [data-cr-banks-section][hidden] { display: none; }
.v4-accalc__extras { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 8px; }
.v4-extra { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 14px 16px; border: 0; border-radius: 16px; text-align: left; font: inherit; cursor: pointer; background: var(--v4-card); color: var(--v4-ink); }
.v4-extra b { display: block; font-size: 14px; font-weight: 700; }
.v4-extra small { display: block; margin-top: 2px; font-size: 12px; color: var(--v4-muted); }
.v4-switch { position: relative; flex: none; width: 44px; height: 26px; border-radius: 26px; background: #d2d2d7; transition: background .2s; }
.v4-switch::after { content: ''; position: absolute; top: 3px; left: 3px; width: 20px; height: 20px; border-radius: 50%; background: #fff; box-shadow: 0 1px 3px rgba(0,0,0,.2); transition: left .2s; }
.v4-extra.is-on .v4-switch { background: var(--v4-cta); }
.v4-extra.is-on .v4-switch::after { left: 21px; }

.v4-accalc__result { flex: 1 1 360px; max-width: 440px; position: sticky; top: 96px; padding: clamp(22px, 3vw, 32px); border-radius: 28px; background: var(--v4-dark) radial-gradient(80% 60% at 100% 0%, rgba(255,138,61,.25) 0%, rgba(28,26,25,0) 60%); color: #fff; }
.v4-accalc__monthly { margin-top: 10px; font-size: clamp(44px, 5vw, 60px); font-weight: 900; letter-spacing: -.045em; line-height: 1; white-space: nowrap; font-variant-numeric: tabular-nums; }
.v4-accalc__meta { margin-top: 8px; font-size: 14px; color: #d2d2d7; }
.v4-accalc__bar { display: flex; height: 12px; margin-top: 24px; border-radius: 12px; overflow: hidden; background: #3a3a3c; }
.v4-accalc__bar i { display: block; height: 100%; transition: width .4s; }
.v4-accalc__bar i:first-child { background: #fff; }
.v4-accalc__bar i:last-child { background: var(--v4-cta); }
.v4-accalc__legend { display: flex; justify-content: space-between; gap: 12px; margin-top: 10px; font-size: 13px; }
.v4-accalc__legend span { display: flex; align-items: center; gap: 6px; }
.v4-accalc__legend i { width: 8px; height: 8px; border-radius: 50%; background: #fff; }
.v4-accalc__legend .is-int i { background: var(--v4-cta); }
.v4-accalc__legend b { font-weight: 600; font-variant-numeric: tabular-nums; }
.v4-accalc__rows { margin-top: 22px; border-top: 1px solid rgba(255,255,255,.12); }
.v4-accalc__rows div { display: flex; justify-content: space-between; gap: 12px; padding: 11px 0; border-bottom: 1px solid rgba(255,255,255,.08); font-size: 14px; }
.v4-accalc__rows span { color: #a1a1a6; }
.v4-accalc__rows b { font-weight: 700; white-space: nowrap; font-variant-numeric: tabular-nums; }
.v4-accalc__result .v4-cta-row { margin-top: 22px; }
@media (max-width: 900px) { .v4-accalc__result { position: static; max-width: none; } }

/* график долга */
.v4-debt { padding: clamp(24px, 4vw, 48px); border-radius: 32px; background: var(--v4-card); }
.v4-debt__head { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; flex-wrap: wrap; }
.v4-debt__head h2 { max-width: 620px; margin: 0; font-size: clamp(32px, 4.4vw, 52px); letter-spacing: -.035em; line-height: 1.02; font-weight: 800; text-wrap: balance; }
.v4-debt__head h2 span { color: var(--v4-muted-2); }
.v4-debt__head p { max-width: 300px; margin: 0; font-size: 14px; color: var(--v4-muted); }
.v4-debt__bars { display: flex; align-items: flex-end; gap: clamp(6px, 1.4vw, 16px); height: 260px; margin-top: 40px; }
.v4-debt__col { flex: 1; min-width: 0; height: 100%; display: flex; flex-direction: column; justify-content: flex-end; gap: 8px; }
.v4-debt__col b { font-size: 12px; font-weight: 700; text-align: center; white-space: nowrap; }
.v4-debt__col i { display: block; border-radius: 12px 12px 4px 4px; transition: height .5s var(--v4-ease); }
.v4-debt__col span { font-size: 12px; color: var(--v4-muted); text-align: center; }

/* банки */
.v4-banks { display: flex; flex-direction: column; gap: 8px; margin-top: 32px; }
.v4-bank { display: flex; align-items: center; flex-wrap: wrap; gap: 16px 28px; padding: 16px 22px; border-radius: 20px; background: var(--v4-card); color: var(--v4-ink); }
.v4-bank.is-best { background: var(--v4-dark); color: #fff; box-shadow: 0 0 0 2px var(--v4-cta); }
.v4-bank__logo { flex: none; display: block; width: 52px; height: 52px; border-radius: 14px; overflow: hidden; background: #fff; }
.v4-bank__logo img { display: block; width: 100%; height: 100%; object-fit: cover; }
.v4-bank__name { flex: 1 1 160px; min-width: 0; }
.v4-bank__name b { display: block; font-size: 17px; font-weight: 800; }
.v4-bank__name small { display: block; margin-top: 2px; font-size: 12px; color: var(--v4-muted); }
.v4-bank.is-best .v4-bank__name small, .v4-bank.is-best .v4-bank__cell span, .v4-bank.is-best .v4-bank__over > span { color: #a1a1a6; }
.v4-bank__cell { flex: 0 0 90px; }
.v4-bank__cell--rate { flex-basis: 120px; }
.v4-bank__cell--sum { flex-basis: 200px; }
.v4-bank__cell--pay { flex-basis: 120px; }
.v4-bank__cell small { display: block; margin-top: 2px; font-size: 11px; color: var(--v4-muted); }
.v4-bank__cell small:empty { display: none; }
.v4-bank.is-best .v4-bank__cell small { color: #a1a1a6; }
.v4-bank__cell span { display: block; font-size: 11px; color: var(--v4-muted); }
.v4-bank__cell b { display: block; font-size: 17px; font-weight: 800; white-space: nowrap; font-variant-numeric: tabular-nums; }
.v4-bank__over { flex: 1 1 140px; min-width: 120px; }
.v4-bank__over > span { display: block; font-size: 11px; color: var(--v4-muted); }
.v4-bank__track { height: 6px; margin-top: 8px; border-radius: 6px; overflow: hidden; background: #dedee3; }
.v4-bank.is-best .v4-bank__track { background: #3a3a3c; }
.v4-bank__track i { display: block; height: 100%; border-radius: 6px; background: var(--v4-cta); transition: width .5s; }
body.v4 .v4-bank__cta { flex: none; padding: 10px 16px; border-radius: 12px; background: #fff; color: #000; font-size: 14px; font-weight: 700; }
body.v4 .v4-bank.is-best .v4-bank__cta { background: var(--v4-cta); }
body.v4 .v4-bank__cta:hover { text-decoration: none; }

/* путь от заявки до ключей */
.v4-timeline { position: relative; margin-top: 48px; }
.v4-timeline__line { position: absolute; left: 0; right: 0; top: 27px; height: 2px; background: linear-gradient(90deg, #ff8a3d, #d4380d); }
.v4-timeline__grid { position: relative; display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 24px; }
.v4-timeline__dot { display: grid; place-items: center; width: 56px; height: 56px; border-radius: 50%; background: #fff; box-shadow: 0 0 0 2px var(--v4-cta), 0 8px 20px rgba(217,86,11,.18); font-size: 13px; font-weight: 800; color: var(--v4-accent); }
.v4-timeline__title { margin-top: 18px; font-size: 18px; font-weight: 800; letter-spacing: -.01em; }
.v4-timeline__desc { margin-top: 6px; font-size: 14px; line-height: 1.45; color: var(--v4-muted); }

/* документы */
.v4-docs { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); gap: 16px; }
.v4-docs__big, .v4-docs__card { display: flex; flex-direction: column; justify-content: space-between; min-height: 280px; padding: 32px; border-radius: 28px; }
.v4-docs__big { background: var(--v4-cta); color: #000; }
.v4-docs__k { font-size: 13px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; }
.v4-docs__big b { display: block; font-size: 120px; font-weight: 900; letter-spacing: -.06em; line-height: .8; }
.v4-docs__big span { display: block; margin-top: 14px; font-size: 22px; font-weight: 800; letter-spacing: -.02em; }
.v4-docs__card { background: var(--v4-card); }
.v4-docs__sheet { display: flex; flex-direction: column; gap: 6px; width: 72px; height: 96px; padding: 14px 12px; border-radius: 12px; background: #fff; box-shadow: 0 8px 24px rgba(0,0,0,.08); }
.v4-docs__sheet i { display: block; height: 5px; border-radius: 4px; background: var(--v4-line); }
.v4-docs__sheet i:first-child { width: 60%; height: 8px; }
.v4-docs__sheet i:last-child { width: 70%; }
.v4-docs__card b { display: block; font-size: 24px; font-weight: 800; letter-spacing: -.02em; }
.v4-docs__card p { margin: 6px 0 0; font-size: 14px; line-height: 1.45; color: var(--v4-muted); }

/* условия */
.v4-conditions { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr)); gap: 16px; margin-top: 36px; }
.v4-conditions__box { padding: clamp(24px, 3vw, 36px); border-radius: 28px; background: var(--v4-card); }
.v4-conditions__box h3 { margin: 0 0 16px; font-size: 26px; font-weight: 800; letter-spacing: -.02em; }
.v4-conditions__box h4 { margin: 24px 0 8px; font-size: 15px; font-weight: 700; }
.v4-conditions__box p { margin: 16px 0 0; font-size: 14px; line-height: 1.5; }

/* госпрограммы */
.v4-govcards { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); gap: 16px; margin-top: 36px; }
body.v4 .v4-govcard { display: flex; flex-direction: column; gap: 4px; padding: 16px 16px 22px; border-radius: 28px; background: var(--v4-card); color: var(--v4-ink); transition: transform .35s var(--v4-ease); }
body.v4 .v4-govcard:hover { transform: translateY(-4px); text-decoration: none; }
.v4-govcard__img { display: block; position: relative; aspect-ratio: 16 / 10; margin-bottom: 14px; border-radius: 18px; overflow: hidden; background: rgba(0,0,0,.05); }
.v4-govcard__img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.v4-govcard__title { padding: 0 8px; font-size: 20px; font-weight: 800; letter-spacing: -.02em; }
.v4-govcard__text { padding: 0 8px; font-size: 14px; line-height: 1.4; color: var(--v4-muted); }

/* вопросы */
.v4-faq { display: flex; gap: 40px; flex-wrap: wrap; }
.v4-faq .v4-h2 { flex: 1 1 300px; }
.v4-faq__list { flex: 2 1 560px; min-width: 0; }
.v4-faq__item { border-bottom: 1px solid var(--v4-line); }
.v4-faq__q { display: flex; justify-content: space-between; align-items: center; gap: 16px; width: 100%; padding: 22px 0; border: 0; background: none; font: inherit; font-size: 18px; font-weight: 700; color: var(--v4-ink); text-align: left; cursor: pointer; }
.v4-faq__plus { position: relative; flex: none; width: 32px; height: 32px; border-radius: 50%; background: var(--v4-card); transition: transform .3s; }
.v4-faq__plus::before, .v4-faq__plus::after { content: ''; position: absolute; left: 50%; top: 50%; width: 12px; height: 2px; margin: -1px 0 0 -6px; border-radius: 2px; background: var(--v4-ink); }
.v4-faq__plus::after { transform: rotate(90deg); }
.v4-faq__item.is-open .v4-faq__plus { transform: rotate(45deg); }
.v4-faq__a { padding: 0 48px 22px 0; font-size: 15px; line-height: 1.55; color: var(--v4-ink-2); }
.v4-faq__a[hidden] { display: none; }

/* итоги расчёта в заявке */
.v4-chips-row { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 18px; }
.v4-chips-row span { padding: 7px 12px; border-radius: 980px; background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.16); font-size: 13px; font-weight: 600; }

/* банки‑партнёры */
.v4-partners { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 340px), 1fr)); gap: 16px; margin-top: 36px; }
.v4-partner { display: flex; flex-direction: column; gap: 18px; padding: 24px; border-radius: 28px; background: var(--v4-card); }
.v4-partner__head { display: flex; align-items: center; gap: 14px; }
.v4-partner__logo { flex: none; display: block; width: 56px; height: 56px; border-radius: 16px; overflow: hidden; background: #fff; }
.v4-partner__logo img { display: block; width: 100%; height: 100%; object-fit: cover; }
.v4-partner h3 { margin: 0; font-size: 20px; font-weight: 800; letter-spacing: -.02em; }
.v4-partner__head span { display: block; margin-top: 2px; font-size: 12px; color: var(--v4-muted); }
.v4-partner__facts { margin: 0; }
.v4-partner__facts div { display: flex; justify-content: space-between; gap: 12px; padding: 10px 0; border-bottom: 1px solid rgba(0,0,0,.07); font-size: 14px; }
.v4-partner__facts div:last-child { border-bottom: 0; }
.v4-partner__facts dt { color: var(--v4-muted); }
.v4-partner__facts dd { margin: 0; font-weight: 700; text-align: right; font-variant-numeric: tabular-nums; }
.v4-partner__features { display: grid; gap: 8px; margin: 0; padding: 0; list-style: none; font-size: 14px; }
.v4-partner__features li { display: flex; align-items: center; gap: 8px; }
.v4-partner__features svg { flex: none; padding: 3px; width: 20px; height: 20px; border-radius: 50%; background: #fff; color: var(--v4-accent); }

/* шаг «марка» в выпадающем списке */
.v4-combo__brand { display: flex; align-items: center; gap: 12px; width: 100%; padding: 8px 14px 8px 8px; border: 0; border-radius: 14px; background: transparent; text-align: left; font: inherit; color: var(--v4-ink); cursor: pointer; }
.v4-combo__brand:hover, .v4-combo__brand:focus-visible { background: var(--v4-soft); outline: none; }
.v4-combo__brand.is-current { background: var(--v4-accent-tint); }
.v4-combo__brand[hidden] { display: none; }
.v4-combo__brand .v4-combo__text b { font-size: 16px; letter-spacing: -.01em; }
.v4-combo__logo { flex: none; display: grid; place-items: center; width: 44px; height: 44px; padding: 7px; border-radius: 12px; background: var(--v4-soft); font-size: 16px; font-weight: 800; }
.v4-combo__logo img { max-width: 100%; max-height: 100%; object-fit: contain; }
.v4-combo__go { flex: none; color: var(--v4-muted-2); }
[data-cr-brand-list][hidden], [data-cr-model-list][hidden] { display: none; }

/* ==========================================================================
   Страница Trade‑in
   ========================================================================== */
.v4-section--bleed { padding-left: 0; padding-right: 0; }

/* hero */
.v4-tihero__head { margin-top: 28px; text-align: center; }
.v4-tihero__title { margin: 14px auto 0; max-width: 1000px; font-size: clamp(52px, 8.5vw, 116px); line-height: .88; }
.v4-tihero__arrows { display: inline-block; margin: 0 .1em; color: var(--v4-cta); vertical-align: -.04em; }
.v4-tihero__arrows svg { width: .7em; height: .7em; stroke-width: 2.8; }
.v4-tihero .v4-bhero__lead { margin: 20px auto 0; max-width: 480px; text-align: center; }
.v4-tihero__swap { display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); gap: clamp(10px, 2vw, 24px); align-items: center; margin-top: 44px; }
.v4-tihero__photo { position: relative; aspect-ratio: 4 / 3; border-radius: 28px; overflow: hidden; background: rgba(255,255,255,.06); }
.v4-tihero__photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.v4-tihero__photo span { position: absolute; left: 16px; top: 16px; padding: 6px 10px; border-radius: 10px; background: rgba(0,0,0,.6); color: #fff; font-size: 12px; font-weight: 700; }
.v4-tihero__photo--old { filter: grayscale(.6); }
.v4-tihero__photo--new { box-shadow: 0 0 0 2px var(--v4-cta); }
.v4-tihero__photo--new span { background: var(--v4-cta); color: #000; }
.v4-tihero__badge { display: grid; place-items: center; width: clamp(56px, 7vw, 88px); height: clamp(56px, 7vw, 88px); border-radius: 50%; background: var(--v4-cta); color: #000; font-size: clamp(22px, 3vw, 34px); box-shadow: 0 0 0 8px rgba(255,138,61,.18); }
.v4-tihero__badge svg { stroke-width: 2.8; }
.v4-tihero .v4-bhero__stats { margin-top: 40px; }
@media (max-width: 640px) { .v4-tihero__swap { grid-template-columns: 1fr; } .v4-tihero__badge { margin: 0 auto; transform: rotate(90deg); } }

/* оценка */
.v4-timakes { display: grid; grid-template-columns: repeat(auto-fill, minmax(110px, 1fr)); gap: 6px; margin-top: 12px; }
.v4-timake { padding: 12px 8px; border: 0; border-radius: 12px; background: var(--v4-card); color: var(--v4-ink); font: inherit; font-size: 14px; font-weight: 700; cursor: pointer; transition: background .2s, color .2s; }
.v4-timake.is-active { background: var(--v4-ink); color: #fff; }
.v4-ticonds { display: grid; grid-template-columns: repeat(auto-fit, minmax(130px, 1fr)); gap: 8px; margin-top: 12px; }
.v4-ticond { padding: 14px 16px; border: 0; border-radius: 16px; text-align: left; background: var(--v4-card); color: var(--v4-ink); font: inherit; cursor: pointer; transition: background .2s, box-shadow .2s; }
.v4-ticond b { display: block; margin-top: 10px; font-size: 15px; font-weight: 700; }
.v4-ticond small { display: block; margin-top: 2px; font-size: 12px; opacity: .7; }
.v4-ticond__dots { display: flex; gap: 3px; }
.v4-ticond__dots i { width: 14px; height: 5px; border-radius: 3px; background: #d2d2d7; }
.v4-ticond__dots i.is-on { background: var(--v4-cta); }
.v4-ticond.is-active { background: var(--v4-ink); color: #fff; box-shadow: 0 0 0 2px var(--v4-cta); }
.v4-ticond.is-active .v4-ticond__dots i { background: #3a3a3c; }
.v4-ticond.is-active .v4-ticond__dots i.is-on { background: var(--v4-cta); }
.v4-tirange { margin-top: 22px; }
.v4-tirange__bar { position: relative; height: 10px; border-radius: 10px; background: linear-gradient(90deg, #3a3a3c, #ff8a3d); }
.v4-tirange__bar i { position: absolute; top: 50%; left: 50%; width: 22px; height: 22px; box-sizing: border-box; border-radius: 50%; border: 4px solid var(--v4-cta); background: #fff; transform: translate(-50%, -50%); transition: left .4s var(--v4-ease); }
.v4-tirange__ends { display: flex; justify-content: space-between; margin-top: 10px; font-size: 12px; color: #a1a1a6; }
.v4-tiresult { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; margin-top: 16px; }
.v4-tiresult span { font-size: 14px; font-weight: 600; }
.v4-tiresult b { font-size: 26px; font-weight: 900; letter-spacing: -.03em; color: var(--v4-cta); white-space: nowrap; font-variant-numeric: tabular-nums; }

/* что можно взять */
body.v4 .v4-swap { flex: none; display: flex; flex-direction: column; width: 290px; border-radius: 24px; overflow: hidden; scroll-snap-align: start; background: var(--v4-card); color: var(--v4-ink); transition: transform .35s var(--v4-ease); }
body.v4 .v4-swap:hover { transform: translateY(-4px); text-decoration: none; }
.v4-swap__img { display: block; position: relative; aspect-ratio: 16 / 10; margin: 10px 10px 0; border-radius: 16px; overflow: hidden; background: rgba(0,0,0,.06); }
.v4-swap__img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.v4-swap__body { display: flex; flex: 1; flex-direction: column; gap: 12px; padding: 16px 18px 18px; }
.v4-swap__name small { display: block; font-size: 12px; color: var(--v4-muted); }
.v4-swap__name b { display: block; font-size: 20px; font-weight: 800; letter-spacing: -.02em; }
.v4-swap__cover i { display: flex; height: 8px; border-radius: 8px; overflow: hidden; background: #dedee3; }
.v4-swap__cover i b { display: block; height: 100%; width: 0; background: var(--v4-cta); transition: width .4s; }
.v4-swap__cover > span { display: flex; justify-content: space-between; gap: 8px; margin-top: 8px; font-size: 12px; color: var(--v4-muted); }
.v4-swap__foot { display: flex; justify-content: space-between; align-items: flex-end; gap: 10px; margin-top: auto; padding-top: 12px; border-top: 1px solid #dedee3; }
.v4-swap__foot small { display: block; font-size: 12px; color: var(--v4-muted); }
.v4-swap__foot b { display: block; font-size: 20px; font-weight: 800; letter-spacing: -.02em; white-space: nowrap; font-variant-numeric: tabular-nums; }
.v4-swap__credit { text-align: right; }
.v4-swap__credit b { font-size: 14px; font-weight: 700; }

/* что влияет на цену */
.v4-factors { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 520px), 1fr)); gap: 16px; }
.v4-factors__box { padding: clamp(24px, 4vw, 44px); border-radius: 32px; background: var(--v4-card); }
.v4-factors__box h2 { margin: 0; font-size: clamp(32px, 4.4vw, 48px); letter-spacing: -.035em; line-height: 1.02; font-weight: 800; }
.v4-factors__list { display: grid; gap: 10px; margin-top: 28px; }
.v4-factors__list > div { display: flex; align-items: center; gap: 14px; padding: 14px 16px; border-radius: 16px; background: #fff; }
.v4-factors__mark { flex: none; display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; background: var(--v4-accent-tint); color: var(--v4-accent); font-style: normal; font-weight: 900; }
.v4-factors__list span { flex: 1; font-size: 15px; font-weight: 600; }
.v4-factors__list b { font-size: 14px; font-weight: 800; color: var(--v4-accent); white-space: nowrap; }
.v4-factors__box--dark { background: var(--v4-dark); color: #fff; }
.v4-factors__box--dark h2 span { color: var(--v4-cta); }
.v4-factors__box--dark .v4-factors__list > div { background: var(--v4-dark-2); }
.v4-factors__box--dark .v4-factors__mark { background: #3a3a3c; color: var(--v4-cta); }

/* осмотр */
.v4-inspect { display: flex; gap: 16px; flex-wrap: wrap; margin-top: 32px; }
.v4-inspect__photo { position: relative; flex: 1 1 560px; min-width: 0; aspect-ratio: 16 / 9; border-radius: 28px; overflow: hidden; background: var(--v4-card); }
.v4-inspect__photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.v4-inspect__spot { position: absolute; width: 22px; height: 22px; padding: 0; border-radius: 50%; border: 3px solid #fff; background: rgba(255,255,255,.5); transform: translate(-50%, -50%); cursor: pointer; transition: all .3s; }
.v4-inspect__spot.is-active { width: 30px; height: 30px; background: var(--v4-cta); box-shadow: 0 0 0 10px rgba(255,138,61,.35); }
.v4-inspect__panel { display: flex; flex: 1 1 340px; min-width: 0; flex-direction: column; gap: 16px; padding: clamp(22px, 3vw, 32px); border-radius: 28px; background: var(--v4-card); }
.v4-inspect__pane[hidden] { display: none; }
.v4-inspect__pane h3 { margin: 8px 0 0; font-size: 28px; font-weight: 800; letter-spacing: -.03em; line-height: 1.05; }
.v4-inspect__items { display: grid; gap: 8px; margin-top: 16px; }
.v4-inspect__items > div { display: flex; align-items: center; gap: 10px; padding: 12px 14px; border-radius: 12px; background: #fff; font-size: 15px; }
.v4-inspect__items svg { flex: none; color: var(--v4-accent); }
.v4-inspect__bars { display: flex; gap: 4px; margin-top: auto; }
.v4-inspect__bars i { flex: 1; height: 4px; border-radius: 4px; background: #d2d2d7; transition: background .3s; }
.v4-inspect__bars i.is-on { background: var(--v4-cta); }

/* два пути */
.v4-paths { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr)); gap: 16px; margin-top: 36px; }
.v4-path { display: flex; flex-direction: column; gap: 20px; min-height: 360px; padding: clamp(24px, 4vw, 40px); border-radius: 32px; }
.v4-path--accent { background: var(--v4-cta); color: #000; }
.v4-path--light { background: var(--v4-card); color: var(--v4-ink); }
.v4-path__k { font-size: 13px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; }
.v4-path--light .v4-path__k { color: var(--v4-muted); }
.v4-path__title { font-size: clamp(32px, 4vw, 44px); font-weight: 900; letter-spacing: -.04em; line-height: 1; }
.v4-path ul { display: grid; gap: 8px; margin: 0; padding: 0; list-style: none; font-size: 15px; font-weight: 600; }
.v4-path--light ul { color: var(--v4-ink-2); }
.v4-path li::before { content: '— '; }
.v4-path__foot { display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; flex-wrap: wrap; margin-top: auto; }
.v4-path__foot > div > span { display: block; font-size: 13px; }
.v4-path--light .v4-path__foot > div > span { color: var(--v4-muted); }
.v4-path__foot b { display: block; font-size: 32px; font-weight: 900; letter-spacing: -.03em; font-variant-numeric: tabular-nums; }
body.v4 .v4-path__btn { padding: 13px 20px; border-radius: 14px; background: var(--v4-ink); color: #fff; font-size: 15px; font-weight: 700; }
body.v4 .v4-path__btn--dark { background: #000; }
body.v4 .v4-path__btn:hover { text-decoration: none; }

/* условия */
.v4-tifacts { margin-top: 36px; border-radius: 20px; color: #fff; }
.v4-tifacts + .v4-conditions { margin-top: 16px; }

/* ---------- госпрограммы ---------- */
.v4-gphero__head { display: flex; justify-content: space-between; align-items: flex-end; gap: 32px; flex-wrap: wrap; }
.v4-gphero__lead { max-width: 380px; margin: 0; color: #a1a1a6; font-size: 17px; line-height: 1.5; }
.v4-gpcards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-top: 40px; margin-bottom: 64px; }
.v4-gpcard { display: flex; flex-direction: column; justify-content: space-between; gap: 28px; min-height: 230px; padding: 22px; border-radius: 24px; color: #fff; background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.12); transition: background .3s, transform .35s var(--v4-ease); text-decoration: none; }
.v4-gpcard:hover { background: rgba(255,255,255,.12); transform: translateY(-4px); text-decoration: none; }
.v4-gpcard.is-active { background: rgba(255,255,255,.16); border-color: var(--v4-cta); }
.v4-gpcard__top { display: flex; justify-content: space-between; align-items: center; }
.v4-gpcard__n { font-size: 13px; color: #a1a1a6; letter-spacing: .08em; }
.v4-gpcard__icon { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 14px; background: rgba(255,255,255,.1); color: var(--v4-cta); }
.v4-gpcard__body { display: flex; flex-direction: column; gap: 4px; }
.v4-gpcard__pct { font-size: 40px; font-weight: 700; letter-spacing: -.03em; line-height: 1; color: var(--v4-cta); }
.v4-gpcard__body b { font-size: 18px; font-weight: 600; }
.v4-gpcard__body small { font-size: 13px; color: #a1a1a6; line-height: 1.4; }

.v4-gpdetail { display: grid; grid-template-columns: 1.1fr 1fr 1fr; gap: 14px; margin-top: 32px; }
.v4-gpdetail[hidden] { display: none; }
.v4-gpdetail__main { padding: 28px; border-radius: 28px; background: #1d1d1f; color: #fff; }
.v4-gpdetail__top { display: flex; justify-content: space-between; align-items: center; }
.v4-gpdetail__icon { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 16px; background: rgba(255,255,255,.1); color: var(--v4-cta); }
.v4-gpdetail__pct { margin-top: 8px; font-size: 88px; font-weight: 700; letter-spacing: -.04em; line-height: 1; color: var(--v4-cta); }
.v4-gpdetail__lead { margin: 14px 0 0; color: #d2d2d7; font-size: 15px; line-height: 1.55; }
.v4-gpdetail__facts { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 20px; }
.v4-gpdetail__facts div { padding: 12px 14px; border-radius: 14px; background: rgba(255,255,255,.07); }
.v4-gpdetail__facts span { display: block; font-size: 12px; color: #a1a1a6; }
.v4-gpdetail__facts b { display: block; margin-top: 2px; font-size: 15px; font-weight: 600; }
.v4-gpdetail__calc { margin-top: 22px; padding-top: 20px; border-top: 1px solid rgba(255,255,255,.12); }
.v4-gpdetail__calcrow { display: flex; justify-content: space-between; margin: 8px 0; font-size: 14px; color: #d2d2d7; }
.v4-gpdetail__calcrow b { color: #fff; font-size: 18px; }
.v4-gpdetail__calc input[type=range] { width: 100%; accent-color: var(--v4-cta); }
.v4-gpdetail__calcgrid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-top: 14px; }
.v4-gpdetail__calcgrid span { display: block; font-size: 12px; color: #a1a1a6; }
.v4-gpdetail__calcgrid b { font-size: 16px; font-weight: 600; white-space: nowrap; }
.v4-gpdetail__card { padding: 28px; border-radius: 28px; background: var(--v4-card); color: var(--v4-ink); }
.v4-gpdetail__list { display: flex; flex-direction: column; gap: 10px; margin-top: 14px; font-size: 14px; line-height: 1.45; }
.v4-gpdetail__list > div { display: flex; gap: 10px; align-items: flex-start; }
.v4-gpdetail__list--docs > div { padding: 10px 14px; border-radius: 12px; background: #fff; }
.v4-gpdetail__tick { flex: none; display: grid; place-items: center; width: 20px; height: 20px; margin-top: 1px; border-radius: 50%; background: var(--v4-cta); color: #fff; }
.v4-gpsteps { display: flex; flex-direction: column; margin: 14px 0 18px; }
.v4-gpsteps__item { display: flex; gap: 14px; }
.v4-gpsteps__mark { display: flex; flex-direction: column; align-items: center; }
.v4-gpsteps__mark span { display: grid; place-items: center; flex: none; width: 28px; height: 28px; border-radius: 50%; background: #1d1d1f; color: #fff; font-size: 13px; font-weight: 600; }
.v4-gpsteps__mark i { flex: 1; width: 2px; min-height: 18px; background: rgba(0,0,0,.12); }
.v4-gpsteps__item > div:last-child { padding-bottom: 16px; }
.v4-gpsteps__item b { font-size: 15px; }
.v4-gpsteps__item p { margin: 2px 0 0; font-size: 13px; color: #6e6e73; line-height: 1.4; }

.v4-gpquiz { padding: 32px; border-radius: 32px; background: var(--v4-card); }
.v4-gpquiz__head { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; flex-wrap: wrap; }
.v4-gpquiz__head h2 { margin: 0; font-size: 32px; letter-spacing: -.02em; }
.v4-gpquiz__head span { color: #6e6e73; font-size: 14px; }
.v4-gpquiz__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-top: 22px; }
.v4-gpquiz__q { display: flex; flex-direction: column; justify-content: space-between; gap: 18px; padding: 18px; border-radius: 20px; background: #fff; }
.v4-gpquiz__q b { font-size: 15px; font-weight: 600; line-height: 1.35; }
.v4-gpquiz__btns { display: flex; gap: 8px; }
.v4-gpquiz__btns button { flex: 1; padding: 9px 0; border: 0; border-radius: 999px; background: var(--v4-card); color: var(--v4-ink); font: inherit; font-size: 14px; cursor: pointer; transition: background .2s, color .2s; }
.v4-gpquiz__btns button.is-on { background: #1d1d1f; color: #fff; }
.v4-gpquiz__result { display: flex; justify-content: space-between; align-items: center; gap: 20px; flex-wrap: wrap; margin-top: 14px; padding: 22px 26px; border-radius: 22px; background: #1d1d1f; color: #fff; }
.v4-gpquiz__text { margin-top: 4px; font-size: 20px; font-weight: 600; }
.v4-gpquiz__links { display: flex; gap: 8px; flex-wrap: wrap; }
body.v4 .v4-gpquiz__links a, body.v4 .v4-gpquiz__links a:visited, body.v4 .v4-gpquiz__links a:hover, body.v4 .v4-gpquiz__links a:focus, body.v4 .v4-gpquiz__links a:active { color: #fff; text-decoration: none; }
.v4-gpquiz__links a { padding: 10px 18px; border-radius: 999px; background: var(--v4-cta); color: #fff; font-size: 14px; text-decoration: none; }

.v4-gpcar .v4-swap__img { position: relative; }
.v4-gpcar__badge { position: absolute; top: 12px; left: 12px; padding: 5px 11px; border-radius: 999px; background: var(--v4-cta); color: #fff; font-size: 13px; font-weight: 600; }
.v4-gpcar__price { display: flex; align-items: baseline; gap: 8px; }
.v4-gpcar__price b { font-size: 20px; font-weight: 700; }
.v4-gpcar__price s { font-size: 13px; color: #86868b; }
.v4-gpcar__save { font-size: 13px; color: var(--v4-cta); font-weight: 600; }

.v4-gpcmp { overflow-x: auto; border-radius: 24px; background: var(--v4-card); }
.v4-gpcmp table { width: 100%; min-width: 720px; border-collapse: collapse; }
.v4-gpcmp th, .v4-gpcmp td { padding: 16px 20px; text-align: left; font-size: 14px; line-height: 1.4; vertical-align: top; border-bottom: 1px solid rgba(0,0,0,.07); transition: background .25s; }
.v4-gpcmp tbody tr:last-child > * { border-bottom: 0; }
.v4-gpcmp tbody th { width: 190px; color: #6e6e73; font-weight: 500; }
.v4-gpcmp thead button { padding: 0; border: 0; background: none; font: inherit; font-size: 15px; font-weight: 700; color: inherit; cursor: pointer; }
.v4-gpcmp .is-active { background: #fff; }

@media (max-width: 1000px) {
    .v4-gpcards, .v4-gpquiz__grid { grid-template-columns: 1fr 1fr; }
    .v4-gpdetail { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
    .v4-gpcards, .v4-gpquiz__grid { grid-template-columns: 1fr; }
    .v4-gpcard { min-height: 0; }
    .v4-gpdetail__pct { font-size: 68px; }
    .v4-gpquiz { padding: 22px; }
}

/* ---------- правовая информация ---------- */
.v4-lgcards { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 10px; margin: 40px 0 64px; }
.v4-lgcards .v4-gpcard { min-height: 150px; padding: 18px; gap: 16px; }
.v4-lgcards .v4-gpcard__body b { font-size: 16px; line-height: 1.25; }
.v4-lgcards__n { font-size: 13px; font-weight: 800; color: var(--v4-cta); }

.v4-lg { display: flex; gap: 40px; align-items: flex-start; }
.v4-lg__side { flex: 0 0 280px; position: sticky; top: 96px; }
.v4-lg__toc { padding: 12px; border-radius: 24px; background: #fff; box-shadow: 0 10px 40px rgba(0,0,0,.08), 0 0 0 1px rgba(0,0,0,.04); }
body.v4 .v4-lg__link { display: flex; gap: 12px; align-items: flex-start; padding: 12px; border-radius: 14px; color: var(--v4-ink); text-decoration: none; transition: background .25s, color .25s; }
body.v4 .v4-lg__link:hover { text-decoration: none; background: var(--v4-card); }
.v4-lg__link span { flex: none; margin-top: 2px; font-size: 12px; font-weight: 800; color: #86868b; }
.v4-lg__link b { flex: 1; font-size: 14px; font-weight: 600; line-height: 1.3; }
body.v4 .v4-lg__link.is-active { background: #1c1a19; color: #fff; }
.v4-lg__link.is-active span { color: var(--v4-cta); }
.v4-lg__bar { height: 4px; margin: 8px 12px 10px; border-radius: 4px; background: #ececef; overflow: hidden; }
.v4-lg__bar i { display: block; height: 100%; width: 0; background: var(--v4-cta); transition: width .1s linear; }
.v4-lg__read { display: flex; justify-content: space-between; padding: 0 12px 6px; font-size: 12px; color: #6e6e73; }
.v4-lg__read b { color: var(--v4-ink); }
.v4-lg__print { width: 100%; margin-top: 10px; padding: 13px; border: 0; border-radius: 14px; background: #ececef; color: var(--v4-ink); font: inherit; font-size: 14px; font-weight: 600; cursor: pointer; transition: background .2s; }
.v4-lg__print:hover { background: #dedee3; }

.v4-lg__main { flex: 1; min-width: 0; display: grid; gap: 16px; }
.v4-lg__doc { scroll-margin-top: 96px; padding: clamp(24px, 4vw, 48px); border-radius: 32px; background: var(--v4-card); transition: box-shadow .3s; }
.v4-lg__doc:not(.is-active) { display: none; }
.v4-lg__head { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; flex-wrap: wrap; }
.v4-lg__title { display: flex; gap: 16px; align-items: center; }
.v4-lg__title h2 { margin: 4px 0 0; font-size: clamp(22px, 3vw, 32px); letter-spacing: -.03em; line-height: 1.1; font-weight: 800; }
.v4-lg__num { flex: none; display: grid; place-items: center; width: 56px; height: 56px; border-radius: 18px; background: #1c1a19; color: var(--v4-cta); font-size: 18px; font-weight: 900; }
.v4-lg__copy { padding: 9px 14px; border: 0; border-radius: 10px; background: #fff; color: var(--v4-ink); font: inherit; font-size: 13px; font-weight: 600; white-space: nowrap; cursor: pointer; }

/* прежние тексты документов: приводим к стилю страницы (цвета и отступы из старой вёрстки не нужны) */
.v4-lg__body { margin-top: 28px; max-width: 800px; font-size: 16px; line-height: 1.7; color: #424245; }
.v4-lg__body .politic { display: block !important; height: auto !important; }
.v4-lg__body .section-break { display: none !important; }
.v4-lg__body span, .v4-lg__body strong, .v4-lg__body a { color: inherit !important; }
.v4-lg__body strong { color: var(--v4-ink) !important; }
.v4-lg__body a { text-decoration: underline; }
.v4-lg__body h2, .v4-lg__body h3, .v4-lg__body h4 { margin: 28px 0 10px; font-size: 18px; font-weight: 800; line-height: 1.3; letter-spacing: -.01em; }
.v4-lg__body .mb-6 > h2:first-child, .v4-lg__body .mb-6 > h3:first-child { display: none; }
.v4-lg__body p { margin: 0 0 10px; }
.v4-lg__body p:empty, .v4-lg__body p:has(> br:only-child) { display: none; }
.v4-lg__body ul, .v4-lg__body ol { margin: 0 0 12px; padding-left: 22px; }
.v4-lg__body li { margin: 0 0 6px; }
.v4-lg__body table { max-width: 100%; display: block; overflow-x: auto; }

.v4-lg__ask { display: flex; justify-content: space-between; align-items: center; gap: 24px; flex-wrap: wrap; padding: clamp(24px, 4vw, 40px); border-radius: 32px; background: #1c1a19; color: #fff; }
.v4-lg__ask b { display: block; font-size: 24px; font-weight: 800; letter-spacing: -.02em; }
.v4-lg__ask span { display: block; margin-top: 6px; font-size: 15px; color: #d2d2d7; }
.v4-lg__ask-btns { display: flex; gap: 10px; flex-wrap: wrap; }
body.v4 .v4-lg__ask-main, body.v4 .v4-lg__ask-phone { padding: 13px 20px; border-radius: 14px; font-size: 15px; font-weight: 700; text-decoration: none; }
body.v4 .v4-lg__ask-main { background: var(--v4-cta); color: #000; }
body.v4 .v4-lg__ask-phone { background: rgba(255,255,255,.1); color: #fff; font-weight: 600; }

@media (max-width: 1100px) { .v4-lgcards { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 960px) {
    .v4-lg__side { display: none; }
}
@media (max-width: 560px) {
    .v4-lgcards { grid-template-columns: minmax(0, 1fr); gap: 8px; margin-bottom: 40px; }
    .v4-lgcards .v4-gpcard { min-height: 0; flex-direction: row-reverse; justify-content: space-between; align-items: center; gap: 14px; padding: 14px 16px; }
    .v4-lgcards .v4-gpcard__top { flex-direction: column; align-items: flex-end; gap: 2px; flex: none; }
    .v4-lgcards .v4-gpcard__body { min-width: 0; }
    .v4-lgcards .v4-gpcard__body b { font-size: 15px; overflow-wrap: anywhere; }
    .v4-lg__num { width: 44px; height: 44px; border-radius: 14px; font-size: 15px; }
}
@media print {
    body.v4 .v4-header, .v4-header, .v4-footer, .v4-bhero, .v4-lg__side, .v4-lg__copy, .v4-lg__ask, .v4-ticker { display: none !important; }
    .v4-lg__doc, .v4-lg__doc:not(.is-active) { display: block; box-shadow: none !important; background: none; page-break-inside: avoid; }
}

/* правовая: отступ до подвала и от блока «Остались вопросы?»; длинные слова не вылезают за карточку */
[data-v4-legal] .v4-section { padding-bottom: 120px; }
.v4-lg__main { margin-bottom: 0; }
.v4-lg__ask { margin-top: 32px; }
.v4-lg__doc { overflow: hidden; }
.v4-lg__body { overflow-wrap: anywhere; }

/* ---------- контакты ---------- */
.v4-ctcard { min-height: 190px; }
.v4-ctcard .v4-gpcard__n { letter-spacing: .02em; }
.v4-ctcard .v4-gpcard__body b { font-size: 19px; line-height: 1.3; }
body.v4 a.v4-ctcard, body.v4 a.v4-ctcard:hover, body.v4 a.v4-ctcard:visited { color: #fff; }
div.v4-ctcard:hover { transform: none; background: rgba(255,255,255,.07); }

.v4-ctmap { position: relative; margin-top: 28px; border-radius: 32px; overflow: hidden; background: var(--v4-card); }
.v4-ctmap__map { position: relative; height: 560px; }
.v4-ctmap__map iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.v4-ctmap__card { position: absolute; left: 24px; bottom: 24px; width: 380px; max-width: calc(100% - 48px); box-shadow: 0 20px 60px rgba(0,0,0,.25); }
.v4-ctmap__btns { display: flex; gap: 8px; flex-wrap: wrap; }
body.v4 .v4-ctmap__btns .v4-btn { padding: 11px 16px; border-radius: 12px; font-size: 14px; }

.v4-cthelp { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-top: 28px; }
body.v4 .v4-cthelp__item { position: relative; display: flex; flex-direction: column; gap: 8px; min-height: 200px; padding: 24px; border-radius: 24px; background: var(--v4-card); color: var(--v4-ink); text-decoration: none; transition: transform .35s var(--v4-ease), background .25s; }
body.v4 .v4-cthelp__item:hover { transform: translateY(-4px); background: #e2e2e6; text-decoration: none; }
.v4-cthelp__n { font-size: 13px; font-weight: 800; color: var(--v4-cta); }
.v4-cthelp__item b { margin-top: auto; font-size: 22px; font-weight: 800; letter-spacing: -.02em; }
.v4-cthelp__item span:not(.v4-cthelp__n) { font-size: 14px; color: #6e6e73; line-height: 1.45; }
.v4-cthelp__item i { position: absolute; top: 20px; right: 22px; font-style: normal; font-size: 20px; transition: transform .3s; }
.v4-cthelp__item:hover i { transform: translateX(4px); }

@media (max-width: 1000px) {
    .v4-cthelp { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 700px) {
    .v4-ctmap { background: var(--v4-dark-2); }
    .v4-ctmap__map { height: 360px; }
    .v4-ctmap__card { position: static; width: auto; max-width: none; border-radius: 0; box-shadow: none; }
}
@media (max-width: 560px) {
    .v4-cthelp { grid-template-columns: 1fr; }
    .v4-cthelp__item { min-height: 0; }
    .v4-ctcard { min-height: 0; }
}
body.v4 .v4-ctmap__btns .v4-btn--cta, body.v4 .v4-ctmap__btns .v4-btn--white { color: #000; text-decoration: none; }
@media (max-width: 560px) { body.v4 .v4-cthelp__item { min-height: 0; } .v4-cthelp__item b { margin-top: 12px; } }

/* ---------- ошибки полей заявки: красная линия сразу под полем и подсказка под ней ---------- */
.v4-form__field { min-width: 0; }
.v4-form__err { display: block; max-height: 0; overflow: hidden; opacity: 0; font-size: 12px; line-height: 1.3; color: #ff453a; transition: max-height .25s, opacity .25s; }
.v4-form__field .v4-form__err::before { content: ""; display: block; height: 2px; margin: 0 14px 6px; border-radius: 2px; background: #ff453a; transform: scaleX(0); transition: transform .3s var(--v4-ease); }
.v4-form__field .v4-form__err { padding: 0 14px; margin-top: -2px; }
.v4-form__field .v4-form__err::before { margin-left: 0; margin-right: 0; }
.v4-form__field.is-invalid .v4-form__err, .v4-form__consent.is-invalid .v4-form__err { max-height: 30px; opacity: 1; }
.v4-form__field.is-invalid .v4-form__err::before { transform: scaleX(1); }
.v4-form__field.is-invalid .v4-form__input { animation: v4-shake .35s; }
.v4-form__consent { flex-wrap: wrap; }
.v4-form__consent .v4-form__err { flex-basis: 100%; padding-left: 25px; }
body.v4 .v4-form__consent.is-invalid input[type="checkbox"] { box-shadow: 0 0 0 2px #ff453a; }
@keyframes v4-shake { 0%, 100% { transform: none; } 25% { transform: translateX(-4px); } 75% { transform: translateX(4px); } }
@media (prefers-reduced-motion: reduce) { .v4-form__field.is-invalid .v4-form__input { animation: none; } }
.v4-form--dark .v4-form__field.is-invalid .v4-form__input, .v4-mhero__aside .v4-form__field.is-invalid .v4-form__input { border-color: #ff453a; }

/* шапка на узких экранах: логотип, «Обратный звонок» и бургер помещаются в строку */
@media (max-width: 520px) {
    .v4-header__bar { padding: 0 8px 0 16px; gap: 10px; }
    .v4-header__brand { min-width: 0; }
    .v4-header__actions { gap: 8px; flex: none; }
    body.v4 .v4-logo { font-size: 16px; }
    body.v4 .v4-header__call { padding: 9px 12px; font-size: 12px; }
    .v4-burger { flex: none; }
}
@media (max-width: 350px) {
    body.v4 .v4-header__call { display: none; }
}

/* каталог на телефоне: фильтры не прилипают (иначе закрывают карточки), сортировка — на всю ширину без выхода за край */
@media (max-width: 700px) {
    .v4-filters { position: static; padding-top: 12px; }
    .v4-filters__bar > .v4-seg:not(.v4-seg--scroll) { flex: 1 1 100%; min-width: 0; overflow-x: auto; scrollbar-width: none; }
    .v4-filters__bar > .v4-seg:not(.v4-seg--scroll)::-webkit-scrollbar { display: none; }
    .v4-filters__bar > .v4-seg:not(.v4-seg--scroll) .v4-seg__btn { flex: 1 0 auto; padding: 9px 10px; }
    .v4-seg--scroll .v4-seg__btn { padding: 8px 12px; }
}

/* ---------- спасибо ---------- */
.v4-thanks__inner { display: flex; flex-direction: column; align-items: flex-start; min-height: min(78vh, 720px); justify-content: center; padding-top: 140px; padding-bottom: 72px; }
.v4-thanks__icon { display: grid; place-items: center; width: 76px; height: 76px; margin-bottom: 28px; border-radius: 24px; background: var(--v4-cta); color: #000; animation: v4-pop .5s var(--v4-ease) both; }
.v4-thanks__title { max-width: 900px; font-size: clamp(44px, 7.5vw, 104px); }
.v4-thanks__lead { max-width: 560px; margin: 24px 0 0; font-size: 18px; line-height: 1.5; color: #d2d2d7; }
.v4-thanks__btns { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 32px; }
body.v4 .v4-thanks__btns .v4-btn { color: #000; text-decoration: none; }
.v4-thanks__phone { margin: 22px 0 0; font-size: 14px; color: #a1a1a6; }
body.v4 .v4-thanks__phone a { color: var(--v4-cta); font-weight: 700; }
@keyframes v4-pop { from { transform: scale(.6); opacity: 0; } to { transform: none; opacity: 1; } }
@media (prefers-reduced-motion: reduce) { .v4-thanks__icon { animation: none; } }
body.v4 .v4-thanks__btns .v4-btn { padding: 14px 24px; }

/* ---------- авторизация ---------- */
.v4-login__inner { display: flex; align-items: center; justify-content: center; min-height: min(84vh, 760px); padding-top: 130px; padding-bottom: 72px; }
.v4-login__card { width: 100%; max-width: 440px; padding: clamp(28px, 5vw, 44px); border-radius: 32px; background: rgba(255,255,255,.06); box-shadow: inset 0 0 0 1px rgba(255,255,255,.1), 0 30px 80px rgba(0,0,0,.35); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); }
.v4-login__title { margin: 14px 0 0; font-size: clamp(40px, 6vw, 56px); line-height: .95; letter-spacing: -.05em; font-weight: 900; color: #fff; }
.v4-login__title span { color: var(--v4-cta); }
.v4-login__lead { margin: 12px 0 0; font-size: 15px; color: #a1a1a6; }
.v4-login__error { margin-top: 20px; padding: 12px 16px; border-radius: 14px; background: rgba(255,69,58,.12); box-shadow: inset 0 0 0 1px rgba(255,69,58,.35); color: #ff8a80; font-size: 14px; }
.v4-login__form { grid-template-columns: 1fr; gap: 14px; margin-top: 24px; }
.v4-login__field { display: grid; gap: 6px; }
.v4-login__field > span { font-size: 12px; font-weight: 600; letter-spacing: .04em; color: #a1a1a6; }
.v4-login__form .v4-form__submit { margin-top: 6px; }
body.v4 .v4-login__back { display: inline-block; margin-top: 22px; font-size: 14px; color: #a1a1a6; }
body.v4 .v4-login__back:hover { color: #fff; text-decoration: none; }

/* марки на телефоне: половина скрыта, остальные — по кнопке */
.v4-brands__more { display: none; }
@media (max-width: 759px) {
    .v4-brands:not(.is-expanded) .v4-brand--extra { display: none; }
    .v4-brands__more { display: flex; align-items: center; justify-content: center; gap: 8px; width: 100%; margin-top: 8px; padding: 13px; border: 0; border-radius: 14px; background: var(--v4-soft); color: var(--v4-ink); font: inherit; font-size: 14px; font-weight: 600; cursor: pointer; }
    .v4-brands__more i { font-style: normal; transition: transform .25s; }
    .v4-brands.is-expanded .v4-brands__more i { transform: rotate(180deg); }
}

/* госпрограммы на главной: на телефоне баннер не прилипает (иначе закрывает список) */
@media (max-width: 900px) {
    .v4-gov__card { position: relative; top: auto; max-width: none; min-height: 420px; }
}

/* Trade-in на телефоне: три плашки в ряд слишком узкие для сумм до 5 млн — ставим строками: подпись слева, сумма справа */
@media (max-width: 560px) {
    .v4-tradein__sums { grid-template-columns: 1fr; gap: 6px; }
    .v4-sum { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; padding: 11px 14px; }
    .v4-sum > span { font-size: 13px; }
    .v4-sum b { margin-top: 0; font-size: 16px; }
}

/* без горизонтальной прокрутки страницы (iOS Safari сдвигал страницу вбок из-за фоновых пятен и бегущей строки).
   html — hidden (уходит на viewport, прилипающая шапка работает), body — clip (не создаёт своего скролла) */
html { overflow-x: hidden; }
body.v4 { overflow-x: clip; }

/* шоурум марки на телефоне: вкладки моделей — одна строка с прокруткой пальцем вместо стены кнопок */
@media (max-width: 760px) {
    #lineup .v4-section__head { flex-wrap: nowrap; flex-direction: column; align-items: stretch; gap: 16px; }
    #lineup .v4-seg--wrap { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; -webkit-overflow-scrolling: touch; scroll-snap-type: x proximity; }
    #lineup .v4-seg--wrap::-webkit-scrollbar { display: none; }
    #lineup .v4-seg--wrap .v4-seg__btn { flex: none; scroll-snap-align: start; }
}
