/* Hyundai Test Drive — Figma 119:10765 (desktop), 119:2191/3825/4393 (mobile)
 * Mobile-first, breakpoints: 568, 768, 1024, 1280, 1440
 * Tokens, fluid spacing via clamp(), no horizontal overflow.
 */

:root {
    --bstd-blue: #002c5f;
    --bstd-blue-deep: #002c5f;
    --bstd-blue-brand: #002c5f;
    --bstd-blue-cta: #002c5f;
    --bstd-blue-cta-hover: #001f45;
    --bstd-blue-soft: #002c5f;
    --bstd-blue-advanced: #0000ff;
    --bstd-blue-performance: #aacae6;
    --bstd-green: #01e676;
    --bstd-white: #ffffff;
    --bstd-black: #000000;
    --bstd-gold: #a36b4f;
    --bstd-sand: #e4dcd3;
    --bstd-sand-light: #f6f3f2;
    --bstd-text: #101010;
    --bstd-text-soft: #0f0f0f;
    --bstd-text-muted: #69696e;
    --bstd-text-grey: #666666;
    --bstd-bg-soft: var(--bstd-sand-light);
    --bstd-border: #e5e5e5;
    --bstd-radius-sm: 8px;
    --bstd-radius-md: 16px;
    --bstd-radius-lg: 24px;
    --bstd-pad-x: clamp(24px, 5vw, 240px);
    --bstd-pad-x-narrow: clamp(24px, 11vw, 422px);
    --bstd-section-y: clamp(40px, 8vw, 120px);
    --bstd-header-h: 64px;
    --bstd-font-head: 'Hyundai Sans Head Pro', system-ui, -apple-system, 'Segoe UI', Roboto, Arial, sans-serif;
    --bstd-font-text: 'Hyundai Sans Text Pro', system-ui, -apple-system, 'Segoe UI', Roboto, Arial, sans-serif;
}

@media (min-width: 1024px) {
    :root {
        --bstd-header-h: 83px;
    }
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body.bstd-page {
    margin: 0;
    color: var(--bstd-text);
    background: var(--bstd-white);
    /* clip (а не hidden) не создаёт скролл-контейнер — иначе ломается position: sticky */
    overflow-x: clip;
}

img {
    max-width: 100%;
    height: auto;
}

.bstd-visually-hidden {
    position: absolute !important;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

a {
    color: inherit;
}

/* ==========================================================================
   HEADER 119:10897
   ========================================================================== */

.bstd-header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: var(--bstd-white);
    box-shadow: 0 1px 0 rgba(0, 44, 95, 0.06);
}

.bstd-header__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    align-self: stretch;
    gap: 16px;
    box-sizing: border-box;
    width: 100%;
    margin: 0 auto;
    min-height: var(--bstd-header-h);
    padding: 19px clamp(24px, 5vw, 240px);
}

@media (min-width: 1024px) {
    .bstd-header__inner {
        height: 83px;
        min-height: 83px;
        padding: 24px var(--bstd-pad-x);
    }
}

.bstd-header__logo {
    display: inline-flex;
    flex-shrink: 0;
    line-height: 0;
    text-decoration: none;
}

.bstd-logo__img {
    display: block;
    width: auto;
    height: 25px;
    max-height: 25px;
}

.bstd-header__nav-wrap {
    display: none;
    flex: 1 1 auto;
    justify-content: center;
}

@media (min-width: 1280px) {
    .bstd-header__nav-wrap {
        display: flex;
    }
}

.bstd-header__menu {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 40px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.bstd-header__menu a {
    font-family: var(--bstd-font-head);
    font-size: 16px;
    font-weight: 500;
    line-height: 22px;
    color: var(--bstd-blue);
    text-decoration: none;
}

.bstd-header__menu a:hover {
    color: var(--bstd-blue);
    opacity: 0.75;
}

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

.bstd-header__cta {
    display: none !important;
    align-items: center;
    justify-content: center;
    padding: clamp(10px, 1.2vw, 16px) clamp(16px, 2vw, 32px);
    border: none;
    border-radius: var(--bstd-radius-sm);
    background: var(--bstd-blue-cta);
    color: var(--bstd-white);
    font-family: var(--bstd-font-text);
    font-size: clamp(13px, 1vw, 16px);
    font-weight: 500;
    line-height: 1.4;
    text-decoration: none;
    white-space: nowrap;
    transition: background 0.18s ease;
}

@media (min-width: 1280px) {
    .bstd-header__cta {
        display: inline-flex !important;
    }
}

.bstd-header__cta:hover {
    background: var(--bstd-blue-cta-hover);
}

.bstd-header__burger {
    display: inline-flex;
    flex-shrink: 0;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 28px;
    padding: 0;
    border: none;
    background: none;
    cursor: pointer;
}

.bstd-header__burger-icon {
    display: block;
    width: 38px;
    height: 28px;
}

.bstd-header__lang {
    display: inline-flex;
    flex-shrink: 0;
    align-items: center;
    gap: 4px;
    font-family: var(--bstd-font-head);
    font-size: 16px;
    font-weight: 400;
    line-height: 24px;
    color: var(--bstd-blue);
    text-decoration: none;
    white-space: nowrap;
}

.bstd-header__lang:hover {
    opacity: 0.85;
}

.bstd-header__lang-icon {
    display: block;
    flex-shrink: 0;
    width: 20px;
    height: 20px;
}

.bstd-header__lang-text {
    display: inline !important;
    flex-shrink: 0;
    visibility: visible;
    opacity: 1;
    width: auto;
    max-width: none;
    overflow: visible;
    font-size: 16px;
    line-height: 24px;
}

.bstd-header__lang-text--full {
    display: none !important;
}

@media (min-width: 1280px) {
    .bstd-header__lang-text--short {
        display: none !important;
    }

    .bstd-header__lang-text--full {
        display: inline !important;
    }

    .bstd-header__inner {
        padding-left: var(--bstd-pad-x);
        padding-right: var(--bstd-pad-x);
    }

    .bstd-header__actions {
        gap: clamp(12px, 2vw, 40px);
    }

    .bstd-header__burger {
        display: none;
    }

    .bstd-header__lang {
        gap: 6px;
    }
}

/* Mobile drawer Figma 173:12703 */
.bstd-mobile-drawer {
    position: fixed;
    inset: 0;
    z-index: 200;
    display: none;
    background: var(--bstd-white);
}

.bstd-mobile-drawer[hidden] {
    display: none !important;
}

.bstd-mobile-drawer.is-open {
    display: block;
}

.bstd-mobile-drawer__panel {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    box-sizing: border-box;
    width: 100%;
    height: 100%;
    padding: 0 0 64px;
    background: var(--bstd-white);
}

.bstd-mobile-drawer__top {
    display: flex;
    flex-shrink: 0;
    align-items: center;
    justify-content: space-between;
    box-sizing: border-box;
    min-height: var(--bstd-header-h);
    padding: 19px clamp(24px, 5vw, 240px);
}

.bstd-mobile-drawer__logo {
    display: inline-flex;
    line-height: 0;
    text-decoration: none;
}

.bstd-mobile-drawer__close {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 28px;
    padding: 0;
    border: none;
    background: none;
    cursor: pointer;
}

.bstd-mobile-drawer__body {
    display: flex;
    flex: 1 1 auto;
    flex-direction: column;
    gap: 48px;
    min-height: 0;
    padding: 80px clamp(24px, 5vw, 240px) 0;
    overflow-y: auto;
}

.bstd-mobile-drawer__nav {
    margin: 0;
    padding: 0;
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.bstd-mobile-drawer__nav-link {
    display: inline-block;
    font-family: var(--bstd-font-head);
    font-size: 32px;
    font-style: normal;
    font-weight: 500;
    line-height: 38px;
    color: #10164f;
    text-decoration: none;
}

.bstd-mobile-drawer__divider {
    flex-shrink: 0;
    width: 100%;
    height: 1px;
    margin: 0;
    border: none;
    background: rgba(0, 44, 95, 0.12);
}

.bstd-mobile-drawer__meta {
    display: flex;
    flex: 1 1 auto;
    flex-direction: column;
    justify-content: space-between;
    gap: 24px;
    min-height: 120px;
    padding-bottom: 48px;
}

.bstd-mobile-drawer__lang {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 16px;
    font-weight: 400;
    line-height: 24px;
    color: var(--bstd-blue);
    text-decoration: none;
}

.bstd-mobile-drawer__terms {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 16px;
    font-weight: 400;
    line-height: 22px;
    color: var(--bstd-blue-brand);
    text-decoration: none;
}

.bstd-mobile-drawer__footer {
    display: flex;
    flex-shrink: 0;
    gap: 10px;
    width: 100%;
    padding: 0 clamp(24px, 5vw, 240px);
    box-sizing: border-box;
}

.bstd-mobile-drawer__btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    box-sizing: border-box;
    min-height: 60px;
    border-radius: 16px;
    font-family: var(--bstd-font-text);
    font-size: 16px;
    font-weight: 500;
    line-height: 28px;
    text-decoration: none;
    cursor: pointer;
}

.bstd-mobile-drawer__btn--primary {
    flex: 1 1 auto;
    min-width: min-content;
    padding: 16px 32px;
    border: none;
    background: var(--bstd-blue-cta);
    color: var(--bstd-white);
}

.bstd-mobile-drawer__btn--phone,
.bstd-mobile-drawer__btn--phone:link,
.bstd-mobile-drawer__btn--phone:visited,
.bstd-mobile-drawer__btn--phone:hover,
.bstd-mobile-drawer__btn--phone:active {
    flex: 0 0 auto;
    padding: 16px 32px;
    border: none;
    background-color: #0000ff;
    color: #ffffff;
    -webkit-tap-highlight-color: transparent;
}

.bstd-mobile-drawer__btn--phone img {
    display: block;
    flex-shrink: 0;
}

body.bstd-menu-open {
    overflow: hidden;
}

/* Mobile sticky CTA (Тест-драйв / Позвонить) — после hero и ~середины характеристик, до «Узнать цену» */
.bstd-mobile-sticky-cta {
    display: none;
}

@media (max-width: 1023px) {
    .bstd-mobile-sticky-cta {
        position: fixed;
        right: 0;
        bottom: 0;
        left: 0;
        z-index: 150;
        display: block;
        box-sizing: border-box;
        padding: 12px 20px calc(12px + env(safe-area-inset-bottom, 0px));
        background: linear-gradient(180deg, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0.92) 24%, #fff 100%);
        pointer-events: none;
        transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s ease;
    }

    .bstd-mobile-sticky-cta.is-hidden {
        opacity: 0;
        transform: translateY(100%);
        visibility: hidden;
    }

    .bstd-mobile-sticky-cta__inner {
        width: 100%;
        pointer-events: auto;
    }

    .bstd-mobile-sticky-cta .bstd-hero__actions {
        flex-wrap: nowrap;
        width: 100%;
        margin: 0;
    }

    .bstd-mobile-sticky-cta .bstd-hero__btn {
        border-radius: 16px;
    }

    .bstd-mobile-sticky-cta .bstd-hero__btn--primary {
        flex: 1 1 auto;
        min-width: min-content;
    }

    .bstd-mobile-sticky-cta .bstd-hero__btn--secondary {
        flex: 0 0 auto;
    }
}

@media (min-width: 1280px) {
    .bstd-mobile-drawer {
        display: none !important;
    }
}

/* ==========================================================================
   HERO 119:10898
   ========================================================================== */

.bstd-section--hero {
    position: relative;
    background: var(--bstd-blue-deep);
    color: var(--bstd-white);
    overflow: hidden;
}

/* Локальная серая подложка только для hero с видео (до загрузки media). */
.bstd-section--hero.bstd-hero--has-video {
    --bstd-hero-video-fallback-bg: #8f949b;
    background: var(--bstd-hero-video-fallback-bg);
}

.bstd-hero {
    position: relative;
    display: flex;
    align-items: center;
    box-sizing: border-box;
    width: 100%;
    min-height: clamp(380px, 50vw, 848px);
    padding: 80px var(--bstd-pad-x);
}

.bstd-hero__bg {
    position: absolute;
    inset: 0;
    z-index: 0;
    background-color: var(--bstd-blue-deep);
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
    pointer-events: none;
}

.bstd-hero.bstd-hero--has-video .bstd-hero__bg {
    background-color: var(--bstd-hero-video-fallback-bg, #8f949b);
}

.bstd-hero__bg--desktop {
    display: none;
}

.bstd-hero__media--mobile {
    display: none;
}

.bstd-hero__bg-video {
    display: block;
    width: 100%;
    height: 100%;
    max-width: none;
    object-fit: cover;
    object-position: center top;
    pointer-events: none;
}

.bstd-hero__bg--desktop .bstd-hero__bg-video--desktop {
    position: absolute;
    inset: 0;
}

/* Mobile hero Figma 119:4395 — cover-фон, контент внизу, px 20 / pb 64 */
@media (max-width: 1023px) {
    .bstd-section--hero.bstd-hero--has-bg {
        background: transparent;
    }

    .bstd-hero.bstd-hero--has-bg {
        margin-top: calc(-1 * var(--bstd-header-h));
        position: relative;
        display: flex;
        flex-direction: column;
        width: 100%;
        min-height: 0;
        padding: 0;
        background: transparent;
        overflow: hidden;
        aspect-ratio: var(--bstd-hero-aspect, 390 / 751);
    }

    .bstd-hero.bstd-hero--has-bg .bstd-hero__media--mobile {
        display: block;
        position: absolute;
        inset: 0;
        z-index: 0;
    }

    .bstd-hero.bstd-hero--has-bg .bstd-hero__bg-img--mobile,
    .bstd-hero.bstd-hero--has-bg .bstd-hero__bg-video--mobile {
        display: block;
        width: 100%;
        height: 100%;
        max-width: none;
        object-fit: cover;
        object-position: center top;
    }

    .bstd-hero__overlay {
        position: absolute;
        inset: 0;
        z-index: 1;
        pointer-events: none;
        background: linear-gradient(
            2.56deg,
            rgba(0, 0, 0, 0.2) 14.084%,
            rgba(0, 0, 0, 0) 46.161%
        );
    }

    .bstd-hero.bstd-hero--has-bg .bstd-hero__inner {
        position: relative;
        z-index: 2;
        display: flex;
        flex-direction: column;
        flex: 1 0 0;
        align-self: stretch;
        width: 100%;
        max-width: none;
        margin: 0;
        padding: 128px 20px 20px;
        box-sizing: border-box;
    }

    .bstd-hero.bstd-hero--has-bg .bstd-hero__content {
        display: flex;
        flex-direction: column;
        flex: 1 0 0;
        align-self: stretch;
        gap: 36px;
        width: 100%;
        max-width: none;
    }

    .bstd-hero.bstd-hero--has-bg .bstd-hero__copy {
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        gap: 16px;
        width: 100%;
    }

    .bstd-hero.bstd-hero--has-bg .bstd-hero__actions {
        margin-top: auto;
        gap: 10px;
        width: 100%;
    }

    .bstd-hero.bstd-hero--has-bg .bstd-hero__badge {
        font-size: 28px;
        font-weight: 500;
        line-height: 34px;
        text-transform: none;
        opacity: 1;
    }

    .bstd-hero.bstd-hero--has-bg .bstd-hero__title {
        font-size: 44px;
        line-height: 1.2;
        letter-spacing: -1.7171px;
    }

    .bstd-hero.bstd-hero--has-bg .bstd-hero__price {
        font-size: 20px;
        font-weight: 500;
        line-height: 34px;
        text-transform: none;
        opacity: 1;
    }

    .bstd-hero.bstd-hero--has-bg .bstd-hero__text {
        max-width: 315px;
        font-size: 16px;
        line-height: 22px;
        padding-bottom: 0;
    }

    .bstd-hero.bstd-hero--has-bg .bstd-hero__btn {
        min-height: 60px;
        border-radius: 16px;
    }

    .bstd-hero.bstd-hero--has-bg .bstd-hero__btn--primary {
        flex: 1 1 auto;
        min-width: min-content;
    }

    .bstd-hero.bstd-hero--has-bg .bstd-hero__btn--secondary {
        flex: 0 0 auto;
    }
}

@media (min-width: 1024px) {
    .bstd-hero__bg-img--mobile,
    .bstd-hero__bg-video--mobile {
        display: none;
    }

    .bstd-hero__bg--desktop {
        display: block;
    }

    .bstd-hero.bstd-hero--has-bg {
        min-height: clamp(520px, 44vw, 848px);
    }
}

@media (max-width: 1023px) {
    .bstd-hero:not(.bstd-hero--has-bg) {
        min-height: auto;
        padding: 128px 20px 20px;
        align-items: flex-start;
    }

    .bstd-hero__content {
        width: 100%;
        max-width: 100%;
    }

    .bstd-hero:not(.bstd-hero--has-bg) .bstd-hero__content {
        gap: 36px;
    }

    .bstd-hero:not(.bstd-hero--has-bg) .bstd-hero__copy {
        gap: 16px;
    }

    .bstd-hero:not(.bstd-hero--has-bg) .bstd-hero__title {
        font-size: 44px;
        line-height: 1.2;
        letter-spacing: -1.7171px;
    }

    .bstd-hero:not(.bstd-hero--has-bg) .bstd-hero__badge {
        font-size: 28px;
        font-weight: 500;
        line-height: 34px;
        text-transform: none;
        opacity: 1;
    }

    .bstd-hero:not(.bstd-hero--has-bg) .bstd-hero__price {
        font-size: 20px;
        font-weight: 500;
        line-height: 34px;
        text-transform: none;
        opacity: 1;
    }
}

.bstd-hero__inner {
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: 1920px;
    margin: 0 auto;
}

.bstd-hero__content {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 80px;
    width: 100%;
    max-width: 672px;
}

.bstd-hero__copy {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 26px;
    width: 100%;
}

.bstd-hero__badge,
.bstd-hero__price {
    margin: 0;
    color: var(--bstd-white);
    font-family: var(--bstd-font-head);
    font-size: 28px;
    font-weight: 400;
    line-height: 34px;
    text-transform: uppercase;
    opacity: 0.8;
    text-decoration: none;
    -webkit-text-decoration: none;
}

.bstd-hero__price {
    opacity: 1;
}

.bstd-hero__price a {
    color: inherit;
    text-decoration: none;
    -webkit-text-decoration: none;
    pointer-events: none;
}

.bstd-hero__title {
    margin: 0;
    width: 100%;
    font-family: var(--bstd-font-head);
    font-size: 92px;
    font-weight: 500;
    line-height: 1.1;
    letter-spacing: -1.665px;
    color: var(--bstd-white);
}

.bstd-hero__title-line {
    display: block;
    white-space: normal;
}

.bstd-hero__text {
    margin: 0;
    max-width: 572px;
    padding-bottom: 8px;
    font-family: var(--bstd-font-text);
    font-size: clamp(15px, 1.4vw, 20px);
    font-weight: 500;
    line-height: 1.4;
    color: var(--bstd-white);
    opacity: 0.9;
}

.bstd-hero__text p {
    margin: 0;
}

.bstd-hero__text p + p {
    margin-top: 0;
}

.bstd-hero__actions {
    display: flex;
    flex-wrap: wrap;
    align-items: stretch;
    gap: 10px;
}

.bstd-hero__btn-text--desktop {
    display: block;
}

.bstd-hero__btn-text--mobile {
    display: none;
}

.bstd-hero__btn-text {
    white-space: nowrap;
}

@media (max-width: 1023px) {
    .bstd-hero__btn-text--desktop {
        display: none;
    }

    .bstd-hero__btn-text--mobile {
        display: block;
    }
}

.bstd-hero__btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    box-sizing: border-box;
    min-height: 60px;
    padding: 16px clamp(20px, 2vw, 32px);
    border: 1px solid transparent;
    border-radius: var(--bstd-radius-sm);
    font-family: var(--bstd-font-text);
    font-size: 16px;
    font-weight: 500;
    line-height: 28px;
    color: var(--bstd-white);
    text-decoration: none;
    cursor: pointer;
    transition: opacity 0.2s ease, background 0.2s ease;
}

@media (min-width: 1024px) {
    .bstd-hero__btn {
        border-radius: var(--bstd-radius-md);
    }
}

.bstd-hero__btn:hover {
    opacity: 0.92;
}

.bstd-hero__btn--primary {
    background: var(--bstd-blue-cta);
    border-color: var(--bstd-blue-cta);
}

.bstd-hero__btn--secondary {
    background: var(--bstd-blue-advanced);
    border-color: transparent;
}

.bstd-hero__btn--secondary:hover {
    opacity: 0.92;
    background: var(--bstd-blue-advanced);
}

.bstd-hero__btn--phone,
.bstd-hero__btn--phone:link,
.bstd-hero__btn--phone:visited,
.bstd-hero__btn--phone:hover,
.bstd-hero__btn--phone:active {
    background-color: #0000ff;
    border-color: transparent;
    color: #ffffff;
    -webkit-tap-highlight-color: transparent;
}

.bstd-hero__btn-icon {
    display: block;
    flex-shrink: 0;
    width: 24px;
    height: 24px;
}

/* ==========================================================================
   ADVANTAGES / SPECS Figma 970:7105
   ========================================================================== */

.bstd-section--advantages {
    background: var(--bstd-white);
}

.bstd-advantages__inner {
    box-sizing: border-box;
    width: 100%;
    max-width: 1920px;
    margin: 0 auto;
    padding: 80px 80px 0;
}

.bstd-advantages__grid {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    align-self: stretch;
    width: 100%;
    background:
        linear-gradient(0deg, rgba(255, 255, 255, 0.8) 0%, rgba(255, 255, 255, 0.8) 100%),
        #aacae6;
}

.bstd-advantages__item {
    display: flex;
    flex: 1 0 0;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    gap: 18px;
    min-width: 0;
    padding: 40px 40px 80px 40px;
    box-sizing: border-box;
}

.bstd-advantages__item + .bstd-advantages__item {
    border-left: 1px solid rgba(0, 44, 95, 0.12);
}

.bstd-advantages__label {
    margin: 0;
    min-height: 40px;
    color: #69696e;
    font-family: var(--bstd-font-text);
    font-size: 18px;
    font-style: normal;
    font-weight: 400;
    line-height: 20px;
}

.bstd-advantages__value {
    margin: 0;
    color: #101010;
    font-family: var(--bstd-font-head);
    font-size: 28px;
    font-style: normal;
    font-weight: 500;
    line-height: 1.4;
    text-align: left;
}

@media (max-width: 1023px) {
    .bstd-advantages__inner {
        padding: 20px 20px 0;
    }

    .bstd-advantages__grid {
        flex-direction: column;
        gap: 0;
        padding: 20px 0;
    }

    .bstd-advantages__item {
        flex: none;
        flex-direction: row;
        align-items: baseline;
        justify-content: space-between;
        gap: 12px;
        width: 100%;
        padding: 0 20px;
    }

    .bstd-advantages__item + .bstd-advantages__item {
        border-left: none;
        border-top: 1px solid rgba(0, 44, 95, 0.12);
        margin-top: 16px;
        padding-top: 16px;
    }

    .bstd-advantages__label {
        flex: 1 1 auto;
        min-width: 0;
        min-height: auto;
        font-size: 16px;
        line-height: 20px;
    }

    .bstd-advantages__value {
        flex: 0 0 auto;
        font-size: 16px;
        line-height: 1.4;
        text-align: right;
    }
}

/* ==========================================================================
   MODELS 119:10909
   ========================================================================== */

.bstd-section--models {
    background: var(--bstd-white);
}

.bstd-models {
    box-sizing: border-box;
    padding: var(--bstd-section-y) var(--bstd-pad-x);
}

.bstd-models__inner {
    display: flex;
    flex-direction: column;
    gap: clamp(32px, 5vw, 56px);
    width: 100%;
    max-width: 1440px;
    margin: 0 auto;
}

.bstd-models__header {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.bstd-models__header--desktop,
.bstd-models__configurator--desktop {
    display: none;
}

.bstd-models__configurator--mobile {
    display: flex;
    flex-direction: column;
    gap: 24px;
    width: 100%;
}

.bstd-models__configurator--mobile .bstd-models__colors {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: nowrap;
    gap: 10px;
    width: 100%;
    --bstd-color-swatch-size: min(64px, calc((100% - 40px) / 5));
}

.bstd-models__configurator--mobile .bstd-models__color {
    -webkit-appearance: none;
    appearance: none;
    display: flex;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
    flex: 0 0 var(--bstd-color-swatch-size);
    width: var(--bstd-color-swatch-size);
    height: var(--bstd-color-swatch-size);
    min-width: 0;
    min-height: 0;
    padding: 6px;
    border: 2px solid rgba(0, 44, 95, 0.2);
    border-radius: 50%;
    background: var(--bstd-white, #fff);
    cursor: pointer;
    overflow: hidden;
    line-height: 0;
    transition: transform 0.2s ease;
}

.bstd-models__configurator--mobile .bstd-models__color.is-active {
    padding: 0;
    border-color: transparent;
    transform: scale(1.18);
}

.bstd-models__configurator--mobile .bstd-models__color-img {
    display: block;
    flex: 0 0 auto;
    width: 100%;
    height: 100%;
    max-width: 100%;
    max-height: 100%;
    border-radius: 50%;
    object-fit: cover;
}

.bstd-models__configurator--mobile .bstd-models__car {
    position: relative;
    box-sizing: border-box;
    width: 100%;
    overflow: hidden;
    background: var(--bstd-white, #fff);
    display: flex;
    align-items: center;
    justify-content: center;
}

.bstd-models__configurator--mobile .bstd-models__car-img {
    display: block;
    width: 100%;
    height: auto;
    max-width: 100%;
    object-fit: contain;
    object-position: center;
}

.bstd-models__configurator--mobile .bstd-models__trims {
    display: flex;
    flex-direction: column;
    gap: 16px;
    width: 100%;
}

.bstd-models__configurator--mobile .bstd-models__trim {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    box-sizing: border-box;
    width: 100%;
    border: 2px solid rgba(0, 44, 95, 0.2);
    border-radius: 8px;
    background: var(--bstd-white, #fff);
    overflow: hidden;
    transition: border-color 0.2s ease;
}

.bstd-models__configurator--mobile .bstd-models__trim.is-active,
.bstd-models__configurator--mobile .bstd-models__trim.is-open {
    border-color: var(--bstd-blue-brand, #002c5f);
}

.bstd-models__configurator--mobile .bstd-models__trim-toggle {
    display: flex;
    flex-direction: row;
    align-items: baseline;
    justify-content: space-between;
    box-sizing: border-box;
    width: 100%;
    min-height: 63px;
    padding: 20px 24px;
    gap: 4px;
    border: none;
    background: none;
    cursor: pointer;
    text-align: left;
}

.bstd-models__configurator--mobile .bstd-models__trim-head {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    min-width: 0;
}

.bstd-models__configurator--mobile .bstd-models__trim-name {
    color: #0f0f0f;
    font-size: 24px;
    font-weight: 500;
    line-height: 22px;
}

.bstd-models__configurator--mobile .bstd-models__trim-icon {
    display: block;
    flex-shrink: 0;
    width: 9px;
    height: 15px;
}

.bstd-models__configurator--mobile .bstd-models__trim-price {
    flex-shrink: 0;
    color: var(--bstd-blue-brand, #002c5f);
    font-size: 16px;
    font-weight: 400;
    line-height: 20px;
    opacity: 0.6;
    white-space: nowrap;
}

.bstd-models__configurator--mobile .bstd-models__trim-panel {
    display: none;
    flex-direction: column;
    padding: 0 24px 24px;
}

.bstd-models__configurator--mobile .bstd-models__trim.is-open .bstd-models__trim-panel {
    display: flex;
}

.bstd-models__trim-extra {
    display: none;
}

.bstd-models__configurator--mobile .bstd-models__trim-extra {
    display: block;
    margin: 0 0 12px;
    color: #0f0f0f;
    font-family: var(--bstd-font-head);
    font-size: 16px;
    font-weight: 500;
    line-height: 22px;
}

.bstd-models__configurator--mobile .bstd-models__trim-features {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin: 0;
    padding: 8px 0 16px;
    list-style: none;
}

.bstd-models__configurator--mobile .bstd-models__trim-features--boxed {
    margin-bottom: 28px;
    padding: 16px 20px;
    border-radius: 8px;
    background: var(--bstd-light-sand, #f6f3f2);
}

.bstd-models__configurator--mobile .bstd-models__trim-group {
    color: #0f0f0f;
    font-family: var(--bstd-font-head);
    font-size: 16px;
    font-weight: 500;
    line-height: 22px;
}

.bstd-models__configurator--mobile .bstd-models__trim-group:not(:first-child) {
    margin-top: 8px;
}

.bstd-models__configurator--mobile .bstd-models__trim-feature {
    position: relative;
    padding-left: 16px;
    color: rgba(0, 0, 0, 0.6);
    font-family: var(--bstd-font-text);
    font-size: 16px;
    font-weight: 400;
    line-height: 22px;
}

.bstd-models__configurator--mobile .bstd-models__trim-feature::before {
    content: '';
    position: absolute;
    left: 0;
    top: 9px;
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.6);
}

.bstd-models__configurator--mobile .bstd-models__trim-actions {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.bstd-models__configurator--mobile .bstd-models__trim-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
    width: 100%;
    height: 60px;
    padding: 16px 32px;
    border: none;
    color: var(--bstd-white, #fff);
    font-family: var(--bstd-font-text);
    font-size: 16px;
    font-weight: 500;
    line-height: 28px;
    text-align: center;
    text-decoration: none;
    cursor: pointer;
}

.bstd-models__configurator--mobile .bstd-models__trim-btn--collapse {
    background: var(--bstd-performance-blue, #aacae6);
}

.bstd-models__configurator--mobile .bstd-models__trim-btn--select {
    background: var(--bstd-blue-brand, #002c5f);
}

.bstd-models__heading {
    margin: 0;
    font-family: var(--bstd-font-head);
    font-weight: 500;
    color: var(--bstd-blue-brand, #002c5f);
    font-size: 40px;
    line-height: 1.2;
    letter-spacing: -1px;
    text-align: left;
}

.bstd-models__subtitle {
    margin: 0;
    color: var(--bstd-blue-brand, #002c5f);
    font-family: var(--bstd-font-head);
    font-size: 16px;
    font-weight: 400;
    line-height: 1.4;
    text-align: left;
}

.bstd-models__subtitle--trims,
.bstd-models__subtitle--colors {
    opacity: 0.6;
}

.bstd-models__heading-step {
    margin-right: 6px;
}

@media (min-width: 1024px) {
    .bstd-models__header--mobile,
    .bstd-models__configurator--mobile {
        display: none !important;
    }

    .bstd-models__header--desktop {
        display: flex;
        flex-direction: column;
        gap: 24px;
        align-items: center;
    }

    .bstd-models__header--desktop .bstd-models__heading {
        color: var(--bstd-blue-brand, #002c5f);
        font-size: 80px;
        line-height: 1.1;
        letter-spacing: normal;
        text-align: center;
    }

    .bstd-models__header--desktop .bstd-models__subtitle {
        display: none;
        color: var(--bstd-text, #101010);
        font-size: 28px;
        font-weight: 400;
        line-height: 34px;
        text-align: center;
        opacity: 0.8;
    }

    .bstd-models__configurator--desktop .bstd-models__visual .bstd-models__colors {
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 24px;
        flex-wrap: wrap;
        margin-top: 24px;
    }

    .bstd-models__configurator--desktop .bstd-models__visual .bstd-models__color {
        display: flex;
        align-items: center;
        justify-content: center;
        box-sizing: border-box;
        width: 90px;
        height: 90px;
        padding: 8px;
        border: 2px solid rgba(0, 44, 95, 0.2);
        border-radius: 50%;
        background: var(--bstd-white, #fff);
        cursor: pointer;
        flex-shrink: 0;
        transition: border-color 0.2s ease;
    }

    .bstd-models__configurator--desktop .bstd-models__visual .bstd-models__color.is-active {
        border-color: var(--bstd-blue-brand, #002c5f);
    }

    .bstd-models__configurator--desktop .bstd-models__visual .bstd-models__color-img {
        display: block;
        width: 100%;
        height: 100%;
        border-radius: 50%;
        object-fit: cover;
    }

    .bstd-models__inner {
        gap: 64px;
    }

    .bstd-models__configurator--desktop {
        display: flex;
        flex-direction: row;
        align-items: flex-start;
        width: 100%;
    }

    .bstd-models__configurator--desktop .bstd-models__visual {
        display: flex;
        flex: 1 1 auto;
        flex-direction: column;
        align-items: stretch;
        align-self: flex-start;
        position: sticky;
        top: calc(var(--bstd-header-h) + 24px);
        min-width: 0;
    }

    .bstd-models__configurator--desktop .bstd-models__trims {
        display: flex;
        box-sizing: border-box;
        flex-direction: column;
        align-items: flex-start;
        align-self: flex-start;
        flex-shrink: 0;
        gap: 16px;
        width: 499px;
        padding: 64px 80px 140px 0;
        overflow-anchor: none;
    }

    .bstd-models__configurator--desktop .bstd-models__car {
        position: relative;
        box-sizing: border-box;
        flex: 0 0 auto;
        align-self: stretch;
        margin-top: 64px;
        height: 498.523px;
        min-width: 0;
        aspect-ratio: 151 / 80;
        overflow: hidden;
        background: var(--bstd-white, #fff);
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .bstd-models__configurator--desktop .bstd-models__car-img {
        display: block;
        width: 100%;
        height: 100%;
        max-width: 100%;
        max-height: 100%;
        object-fit: contain;
        object-position: center;
    }

    .bstd-models__configurator--desktop .bstd-models__trim {
        display: flex;
        flex-direction: column;
        align-items: stretch;
        box-sizing: border-box;
        width: 100%;
        border: 2px solid rgba(0, 44, 95, 0.2);
        border-radius: 8px;
        background: var(--bstd-white, #fff);
        overflow: hidden;
        transition: border-color 0.2s ease;
    }

    .bstd-models__configurator--desktop .bstd-models__trim.is-active,
    .bstd-models__configurator--desktop .bstd-models__trim.is-open {
        border-color: var(--bstd-blue-brand, #002c5f);
    }

    .bstd-models__configurator--desktop .bstd-models__trim-toggle {
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        justify-content: flex-start;
        box-sizing: border-box;
        width: 100%;
        min-height: 155px;
        padding: 24px;
        border: none;
        background: none;
        cursor: pointer;
        text-align: left;
    }

    .bstd-models__configurator--desktop .bstd-models__trim.is-open .bstd-models__trim-toggle {
        min-height: 0;
        padding-bottom: 0;
    }

    .bstd-models__configurator--desktop .bstd-models__trim-head {
        display: inline-flex;
        align-items: center;
        gap: 6px;
    }

    .bstd-models__configurator--desktop .bstd-models__trim-name {
        color: var(--bstd-blue-brand, #002c5f);
        font-size: 24px;
        font-weight: 500;
        line-height: 22px;
    }

    .bstd-models__configurator--desktop .bstd-models__trim-icon {
        display: block;
        flex-shrink: 0;
        width: 9px;
        height: 15px;
    }

    .bstd-models__configurator--desktop .bstd-models__trim-price {
        color: var(--bstd-blue-brand, #002c5f);
        font-size: 20px;
        font-weight: 400;
        line-height: 34px;
        opacity: 0.6;
    }

    .bstd-models__configurator--desktop .bstd-models__trim-panel {
        display: none;
        flex-direction: column;
        padding: 0 24px 24px;
    }

    .bstd-models__configurator--desktop .bstd-models__trim.is-open .bstd-models__trim-panel {
        display: flex;
    }

    .bstd-models__configurator--desktop .bstd-models__trim-extra {
        display: block;
        margin: 0 0 12px;
        color: #0f0f0f;
        font-family: var(--bstd-font-head);
        font-size: 16px;
        font-weight: 500;
        line-height: 22px;
    }

    .bstd-models__configurator--desktop .bstd-models__trim-features {
        display: flex;
        flex-direction: column;
        gap: 12px;
        margin: 0;
        padding: 8px 0 16px;
        list-style: none;
    }

    .bstd-models__configurator--desktop .bstd-models__trim-features--boxed {
        margin-bottom: 28px;
        padding: 16px 20px;
        border-radius: 8px;
        background: var(--bstd-sand-light, #f6f3f2);
    }

    .bstd-models__configurator--desktop .bstd-models__trim-group {
        color: #0f0f0f;
        font-family: var(--bstd-font-head);
        font-size: 16px;
        font-weight: 500;
        line-height: 22px;
    }

    .bstd-models__configurator--desktop .bstd-models__trim-group:not(:first-child) {
        margin-top: 8px;
    }

    .bstd-models__configurator--desktop .bstd-models__trim-feature {
        position: relative;
        padding-left: 16px;
        color: rgba(0, 0, 0, 0.6);
        font-family: var(--bstd-font-text);
        font-size: 16px;
        font-weight: 400;
        line-height: 22px;
    }

    .bstd-models__configurator--desktop .bstd-models__trim-feature::before {
        content: '';
        position: absolute;
        left: 0;
        top: 9px;
        width: 4px;
        height: 4px;
        border-radius: 50%;
        background: rgba(0, 0, 0, 0.6);
    }

    .bstd-models__configurator--desktop .bstd-models__trim-actions {
        display: flex;
        flex-direction: column;
        gap: 10px;
    }

    .bstd-models__configurator--desktop .bstd-models__trim-btn {
        display: flex;
        align-items: center;
        justify-content: center;
        box-sizing: border-box;
        width: 100%;
        height: 60px;
        padding: 16px 32px;
        border: none;
        color: var(--bstd-white, #fff);
        font-family: var(--bstd-font-text);
        font-size: 16px;
        font-weight: 500;
        line-height: 28px;
        text-align: center;
        text-decoration: none;
        cursor: pointer;
    }

    .bstd-models__configurator--desktop .bstd-models__trim-btn--collapse {
        background: var(--bstd-performance-blue, #aacae6);
    }

    .bstd-models__configurator--desktop .bstd-models__trim-btn--select {
        background: var(--bstd-blue-brand, #002c5f);
    }

    .bstd-models__body--legacy {
        display: none;
    }

    .bstd-models__heading-step,
    .bstd-models__heading-text {
        display: block;
    }

    .bstd-models__heading-step {
        margin-right: 0;
    }
}

.bstd-models__body {
    display: flex;
    flex-direction: column;
    gap: clamp(32px, 4vw, 64px);
    width: 100%;
}

.bstd-models__panel[hidden] {
    display: none !important;
}

/* Mobile accordion row (Figma 119:3845 / 197:2076) */
.bstd-models__row {
    margin: 0 0 12px;
    border: 1px solid var(--bstd-black);
    border-radius: 8px;
    background: var(--bstd-white);
    overflow: hidden;
    transition: border-color 0.2s ease, background 0.2s ease;
}

.bstd-models__row.is-open {
    border-color: transparent;
    background: transparent;
    margin-bottom: 8px;
}

.bstd-models__row-toggle {
    border: none;
    background: none;
    font-family: var(--bstd-font-head);
    text-align: left;
    cursor: pointer;
}

.bstd-models__row-close {
    display: none;
}

@media (max-width: 1023px) {
    .bstd-models__row {
        display: flex;
        flex-direction: row;
        align-items: stretch;
        align-self: stretch;
        min-height: 120px;
    }

    .bstd-models__row-toggle {
        display: flex;
        flex: 1 1 auto;
        flex-direction: column;
        justify-content: center;
        align-items: flex-start;
        align-self: stretch;
        gap: 10px;
        box-sizing: border-box;
        min-width: 0;
        height: 120px;
        min-height: 120px;
        padding: 10px 18px;
        color: #002c5f;
    }

    .bstd-models__row-top {
        display: inline-flex;
        align-items: center;
        gap: 6px;
        max-width: 100%;
    }

    .bstd-models__row-name {
        flex: 0 1 auto;
        margin: 0;
        padding: 0;
        font-size: clamp(24px, 7.5vw, 32px);
        font-weight: 500;
        line-height: 1.15;
        color: #002c5f;
    }

    .bstd-models__row-icon {
        flex: 0 0 12px;
        width: 12px;
        height: 20px;
        background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='20' viewBox='0 0 12 20'%3E%3Cpath fill='none' stroke='%23002C5F' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round' d='m2 2 8 8-8 8'/%3E%3C/svg%3E") center / 12px 20px no-repeat;
    }

    .bstd-models__row-price {
        display: block;
        width: 100%;
        max-width: 100%;
        font-size: 14px;
        font-weight: 400;
        line-height: 18px;
        color: var(--bstd-text-muted);
        white-space: nowrap;
    }

    /* Figma 173:12841 — машина в закрытой строке: 121×65 */
    .bstd-models__row-visual {
        display: flex;
        flex: 0 0 121px;
        align-items: center;
        align-self: center;
        justify-content: flex-end;
        width: 121px;
        height: 65px;
        margin-right: 18px;
    }

    .bstd-models__row-img {
        display: block;
        width: 121px;
        height: 65px;
        aspect-ratio: 121 / 65;
        object-fit: contain;
        object-position: center;
    }

    .bstd-models__row.is-open {
        display: block;
        min-height: 0;
    }

    .bstd-models__row.is-open .bstd-models__row-visual {
        display: none;
    }

    .bstd-models__row.is-open .bstd-models__row-toggle {
        display: grid;
        grid-template-columns: 1fr auto;
        grid-template-areas:
            "top close"
            "price close";
        align-items: center;
        column-gap: 12px;
        row-gap: 4px;
        width: 100%;
        height: auto;
        min-height: 0;
        padding: 8px 0 16px;
        color: var(--bstd-text);
    }

    .bstd-models__row.is-open .bstd-models__row-top {
        grid-area: top;
        min-width: 0;
    }

    .bstd-models__row.is-open .bstd-models__row-name {
        color: var(--bstd-text);
    }

    .bstd-models__row.is-open .bstd-models__row-price {
        grid-area: price;
        display: block;
    }

    .bstd-models__row.is-open .bstd-models__row-icon {
        display: none;
    }

    .bstd-models__row.is-open .bstd-models__row-close {
        grid-area: close;
        align-self: center;
        display: inline-block;
        flex-shrink: 0;
        color: var(--bstd-blue-cta);
        font-size: 16px;
        font-weight: 500;
        line-height: 22px;
    }
}

@media (min-width: 1024px) {
    .bstd-models__row {
        display: none;
    }
}

@media (max-width: 1023px) {
    .bstd-models__panel {
        display: block !important;
    }
    .bstd-models__panel[hidden] {
        display: block !important;
    }
    .bstd-models__name {
        display: none;
    }
    .bstd-models__card[hidden] {
        display: none !important;
    }
    .bstd-models__card {
        flex-direction: column;
        align-items: stretch;
        gap: 16px;
        margin: 0 0 16px;
    }
    .bstd-models__media {
        order: 1;
        aspect-ratio: 4 / 3;
        max-height: 320px;
        border-radius: var(--bstd-radius-md);
    }
    .bstd-models__info {
        order: 2;
        gap: 16px;
    }
    .bstd-models__actions {
        order: 3;
    }
    .bstd-models__desc,
    .bstd-models__specs-wrap {
        display: none;
    }
    .bstd-models__specs-wrap.is-open {
        display: block;
    }
}

.bstd-models__card {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: clamp(24px, 3vw, 64px);
    width: 100%;
}

@media (min-width: 1024px) {
    .bstd-models__card {
        flex-direction: row;
        align-items: center;
    }
}

.bstd-models__info {
    display: flex;
    flex-direction: column;
    gap: clamp(20px, 2.5vw, 40px);
    align-items: flex-start;
    flex: 1 1 0;
    min-width: 0;
}

.bstd-models__name {
    margin: 0;
    font-family: var(--bstd-font-head);
    font-size: clamp(28px, 3vw, 40px);
    font-weight: 500;
    line-height: 1.1;
    color: var(--bstd-blue);
}

.bstd-models__price {
    margin: 0;
    font-family: var(--bstd-font-head);
    font-size: 16px;
    font-weight: 400;
    line-height: 22px;
    color: var(--bstd-text);
}

/* Desktop: название + цена (Figma: gap 12px) */
.bstd-models__title-block {
    display: none;
}

.bstd-models__price--card {
    display: none;
}

@media (min-width: 1024px) {
    .bstd-models__title-block {
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
        width: 100%;
    }

    .bstd-models__price--card {
        display: block;
        margin: 0;
    }
}

.bstd-models__price-from,
.bstd-models__price-currency {
    color: var(--bstd-text-muted);
}

.bstd-models__price-amount,
.bstd-models__price-line {
    color: var(--bstd-text);
}

.bstd-models__content {
    display: flex;
    flex-direction: column;
    gap: 24px;
    width: 100%;
}

.bstd-models__desc {
    margin: 0;
    font-family: var(--bstd-font-text);
    font-size: 16px;
    font-weight: 400;
    line-height: 1.6;
    color: var(--bstd-text);
}

.bstd-models__specs-wrap {
    width: 100%;
}

.bstd-models__specs-title {
    margin: 0 0 8px;
    font-family: var(--bstd-font-text);
    font-size: 16px;
    font-weight: 500;
    line-height: 22px;
    color: var(--bstd-text);
}

.bstd-models__specs {
    margin: 0;
    padding: 0;
    list-style: none;
}

.bstd-models__specs li {
    padding: 4px 0 8px;
    font-family: var(--bstd-font-text);
    font-size: 16px;
    font-weight: 400;
    line-height: 22px;
    color: rgba(0, 0, 0, 0.6);
}

.bstd-models__specs--extra.is-collapsed {
    display: none;
}

.bstd-models__specs--extra:not(.is-collapsed) {
    margin-bottom: 4px;
}

.bstd-models__more {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin: 0;
    padding: 4px 0;
    border: none;
    background: none;
    font-family: var(--bstd-font-head);
    font-size: 16px;
    font-weight: 500;
    line-height: 22px;
    color: var(--bstd-blue-cta);
    cursor: pointer;
}

.bstd-models__more.is-open img {
    transform: rotate(-90deg);
}

@media (min-width: 1024px) {
    .bstd-models__panel:not(.is-active) {
        display: none !important;
    }
}

.bstd-models__cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
    min-height: 60px;
    padding: 16px 32px;
    border: 1px solid var(--bstd-blue-cta);
    border-radius: var(--bstd-radius-sm);
    background: var(--bstd-blue-cta);
    color: var(--bstd-white);
    font-family: var(--bstd-font-text);
    font-size: 16px;
    font-weight: 500;
    line-height: 28px;
    text-decoration: none;
    white-space: nowrap;
    transition: background 0.2s ease;
}

.bstd-models__cta:hover {
    background: var(--bstd-blue-cta-hover);
}

.bstd-models__actions {
    display: flex;
    flex-direction: column;
    gap: 12px;
    width: 100%;
}

.bstd-models__specs-toggle {
    box-sizing: border-box;
    min-height: 60px;
    padding: 16px 32px;
    border: 1px solid var(--bstd-blue-cta);
    border-radius: var(--bstd-radius-sm);
    background: var(--bstd-white);
    color: var(--bstd-blue-cta);
    font-family: var(--bstd-font-text);
    font-size: 16px;
    font-weight: 500;
    line-height: 28px;
    cursor: pointer;
    transition: background 0.2s ease;
}

.bstd-models__specs-toggle:hover {
    background: var(--bstd-bg-soft);
}

@media (min-width: 1024px) {
    .bstd-models__specs-toggle {
        display: none;
    }
    .bstd-models__actions {
        flex-direction: row;
        align-items: flex-start;
        flex-wrap: wrap;
    }
    .bstd-models__cta {
        white-space: normal;
        text-align: center;
    }
}

.bstd-models__media {
    flex: 0 0 auto;
    width: 100%;
    max-width: 1077px;
    aspect-ratio: 1077 / 632;
    border-radius: var(--bstd-radius-md);
    overflow: hidden;
    background: var(--bstd-sand-light);
}

@media (min-width: 1024px) {
    .bstd-models__card {
        flex-direction: row;
        align-items: center;
        gap: clamp(24px, 3vw, 64px);
    }
    .bstd-models__info {
        order: 1;
        flex: 1 1 32%;
        min-width: 280px;
        max-width: 360px;
    }
    .bstd-models__media {
        order: 2;
        flex: 1 1 60%;
        max-width: 1077px;
    }
}

@media (min-width: 1280px) {
    .bstd-models__info {
        flex: 0 0 360px;
    }
    .bstd-models__media {
        flex: 1 1 auto;
        max-width: none;
    }
}

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

.bstd-models__placeholder {
    width: 100%;
    height: 100%;
    background: #c8c8c8;
}

/* ==========================================================================
   TEST DRIVE 119:10952
   ========================================================================== */

.bstd-section--test-drive {
    background: var(--bstd-white);
    box-sizing: border-box;
    padding: var(--bstd-section-y) var(--bstd-pad-x);
}

.bstd-testdrive__inner {
    display: flex;
    flex-direction: column;
    gap: clamp(20px, 3vw, 56px);
    width: 100%;
    max-width: 1077px;
    margin: 0 auto;
    padding: 0;
    box-sizing: border-box;
}

.bstd-testdrive__heading {
    margin: 0;
    font-family: var(--bstd-font-head);
    font-weight: 500;
    color: var(--bstd-blue);
}

.bstd-testdrive__header {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.bstd-testdrive__step-heading {
    display: none;
}

.bstd-testdrive__step-heading-text {
    margin: 0;
}

.bstd-testdrive__step-heading-text span {
    display: block;
}

.bstd-testdrive__heading-text {
    display: inline;
}

@media (max-width: 1023px) {
    /* Figma 1086:5177 — заголовок */
    .bstd-testdrive__heading {
        font-size: 40px;
        line-height: 1.2;
        letter-spacing: -1px;
        text-align: left;
    }

    .bstd-testdrive__heading-text {
        display: block;
        white-space: nowrap;
    }

    /* Figma 1086:5178 — подзаголовок шага */
    .bstd-testdrive__step-heading {
        display: block;
    }

    .bstd-testdrive__step-heading-text {
        font-size: 16px;
        font-weight: 400;
        line-height: 1.4;
        color: var(--bstd-blue);
        opacity: 0.6;
    }

    .bstd-testdrive__inner {
        gap: 24px;
    }
}

@media (min-width: 1024px) {
    .bstd-testdrive__heading {
        font-size: clamp(40px, 4vw, 56px);
        line-height: 1.1;
    }
    .bstd-testdrive__heading-text {
        display: block;
    }
}

.bstd-testdrive__layout {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    width: 100%;
}

@media (min-width: 1024px) {
    .bstd-testdrive__layout {
        flex-direction: row;
        align-items: flex-start;
    }
}

/* Promo card — только desktop */
.bstd-testdrive__promo {
    display: none;
    position: relative;
    flex-direction: column;
    justify-content: space-between;
    flex-shrink: 0;
    min-height: 340px;
    padding: clamp(24px, 5vw, 40px);
    border-radius: 0;
    background: var(--bstd-blue-brand);
    overflow: hidden;
    box-sizing: border-box;
}

.bstd-testdrive__promo--desktop {
    display: none;
}

@media (min-width: 1024px) {
    .bstd-testdrive__promo--desktop {
        display: flex;
    }

    .bstd-testdrive__promo {
        width: 400px;
        height: 449px;
        min-height: 0;
        padding: 40px;
        border-radius: 24px;
        background: var(--bstd-blue-brand);
    }
}

.bstd-testdrive__promo-text {
    margin: 0;
    max-width: 280px;
    font-family: var(--bstd-font-head);
    font-size: clamp(20px, 2vw, 28px);
    font-weight: 500;
    line-height: 1.2;
    color: var(--bstd-white);
}

@media (min-width: 1024px) {
    .bstd-testdrive__promo-text {
        max-width: 279px;
        line-height: 34px;
    }
}

.bstd-testdrive__promo-text span {
    display: block;
}

.bstd-testdrive__promo-note {
    margin: 16px 0 0;
    font-family: var(--bstd-font-head);
    font-size: 16px;
    font-weight: 500;
    line-height: 22px;
    color: var(--bstd-white);
}

/* Form area */
.bstd-testdrive__form-wrap {
    flex: 1 1 0;
    min-width: 0;
    padding: clamp(20px, 3vw, 40px) 0;
    box-sizing: border-box;
}

@media (max-width: 1023px) {
    .bstd-testdrive__form-wrap {
        padding: 0;
    }

    .bstd-testdrive__step--1 {
        box-sizing: border-box;
        padding: 0;
        background: transparent;
    }

    .bstd-testdrive__step--1 .bstd-testdrive__form {
        display: flex;
        flex-direction: column;
        gap: 24px;
    }

    .bstd-testdrive__step--1 .bstd-testdrive__field {
        gap: 8px;
    }

    .bstd-testdrive__step--1 .bstd-testdrive__label {
        margin: 0;
    }

    /* Figma 119:4466 — телефон border-radius 16px */
    .bstd-testdrive__step--1 .iti {
        border-radius: var(--bstd-radius-md);
        overflow: hidden;
    }

    .bstd-testdrive__step--1 .iti__tel-input.bstd-testdrive__input {
        border-radius: var(--bstd-radius-md);
    }

    .bstd-testdrive__step--1 .bstd-testdrive__actions {
        margin-top: 0;
    }

    /* Figma 119:4472 — закруглённый фрейм капчи (внешний контейнер) */
    .bstd-testdrive__step--1 .bstd-testdrive__captcha {
        row-gap: 18px;
        column-gap: 12px;
        border-radius: var(--bstd-radius-md);
        overflow: hidden;
    }

    .bstd-testdrive__step--2 {
        padding: 0;
        box-sizing: border-box;
    }
}

@media (min-width: 1024px) {
    .bstd-testdrive__form-wrap {
        padding: 40px clamp(24px, 4vw, 64px);
    }

    .bstd-testdrive__step--2 .bstd-testdrive__form {
        display: flex;
        flex-direction: column;
        gap: 24px;
    }

    .bstd-testdrive__step--2 .bstd-testdrive__phone-confirm {
        margin-bottom: 0;
    }

    .bstd-testdrive__step--2 .bstd-testdrive__actions {
        margin-top: 0;
    }
}

.bstd-testdrive__step {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.bstd-testdrive__step.is-hidden {
    display: none;
}

.bstd-testdrive__promo-text.is-hidden,
.bstd-testdrive__step-heading-text.is-hidden {
    display: none;
}

.bstd-testdrive__phone-confirm {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 24px;
    padding: 16px 24px;
    border-radius: var(--bstd-radius-sm);
    background: var(--bstd-bg-soft);
    font-family: var(--bstd-font-text);
    font-size: 16px;
    line-height: 24px;
    color: var(--bstd-text);
    flex-wrap: wrap;
}

.bstd-testdrive__phone-confirm-text {
    margin: 0;
}

.bstd-testdrive__phone-confirm-edit {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    background: none;
    border: none;
    padding: 0;
    color: var(--bstd-blue-cta);
    font-family: var(--bstd-font-head);
    font-size: 16px;
    font-weight: 500;
    line-height: 24px;
    cursor: pointer;
    text-decoration: none;
}

.bstd-testdrive__phone-confirm-edit::after {
    content: '›';
}

.bstd-testdrive__fields {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.bstd-testdrive__field {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin: 0;
    width: 100%;
}

.bstd-testdrive__row {
    display: grid;
    grid-template-columns: 1fr;
    gap: 16px;
}

@media (min-width: 568px) {
    .bstd-testdrive__row {
        grid-template-columns: 1fr 1fr;
    }
}

.bstd-testdrive__label {
    font-family: var(--bstd-font-head);
    font-size: 16px;
    font-weight: 500;
    line-height: 22px;
    color: var(--bstd-text-soft);
}

.bstd-testdrive__label-required {
    margin-left: 2px;
    color: var(--bstd-blue-soft);
}

.bstd-testdrive__input,
.bstd-testdrive__select,
.bstd-testdrive__textarea {
    box-sizing: border-box;
    width: 100%;
    min-height: 56px;
    padding: 16px 22px;
    border: 1px solid var(--bstd-border);
    border-radius: var(--bstd-radius-sm);
    background: var(--bstd-white);
    font-family: var(--bstd-font-text);
    font-size: 16px;
    font-weight: 400;
    line-height: 22px;
    color: var(--bstd-text);
    appearance: none;
    -webkit-appearance: none;
    transition: border-color 0.18s ease;
}

.bstd-testdrive__textarea {
    min-height: 120px;
    resize: vertical;
}

.bstd-testdrive__input:focus,
.bstd-testdrive__select:focus,
.bstd-testdrive__textarea:focus {
    outline: none;
    border-color: var(--bstd-blue-cta);
}

.bstd-testdrive__input::placeholder,
.bstd-testdrive__textarea::placeholder {
    color: var(--bstd-text-grey);
}

.bstd-testdrive__select {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%23002c5f' d='M6 7.4 0 1.4 1.4 0 6 4.6 10.6 0 12 1.4z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 22px center;
    padding-right: 52px;
}

/* Captcha — Figma 119:10316: mobile rows [code|refresh] / [input], desktop one row */
.bstd-testdrive__captcha {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px;
    padding: 16px;
    border-radius: var(--bstd-radius-md);
    background: var(--bstd-bg-soft);
}

.bstd-testdrive__captcha-code {
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 1 1 auto;
    min-width: 0;
    height: 56px;
    padding: 4px 16px;
    border: 1px solid var(--bstd-border);
    border-radius: var(--bstd-radius-sm);
    background: var(--bstd-white);
    overflow: hidden;
}

.bstd-testdrive__captcha-input-wrap {
    flex: 1 1 100%;
    min-width: 0;
    margin: 0;
}

@media (min-width: 1024px) {
    .bstd-testdrive__captcha {
        flex-wrap: nowrap;
    }
    .bstd-testdrive__captcha-code {
        flex: 0 0 auto;
        width: 189px;
    }
    .bstd-testdrive__captcha-input-wrap {
        flex: 1 1 auto;
    }
}

.bstd-testdrive__captcha-img {
    display: block;
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
}

.bstd-testdrive__captcha-refresh {
    display: inline-flex;
    flex-shrink: 0;
    align-self: center;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    padding: 0;
    border: none;
    background: none;
    cursor: pointer;
    transition: opacity 0.18s ease;
}

.bstd-testdrive__captcha-input {
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.bstd-testdrive__captcha-input::placeholder {
    text-transform: none;
    letter-spacing: 0;
}

.bstd-testdrive__required {
    margin-left: 2px;
    color: var(--bstd-blue);
}

.bstd-testdrive__captcha-refresh:hover {
    opacity: 0.7;
}

.bstd-testdrive__captcha-refresh img {
    display: block;
    width: 24px;
    height: 24px;
}

/* Buttons */
.bstd-testdrive__actions {
    display: grid;
    grid-template-columns: 1fr;
    gap: 12px;
    margin-top: 8px;
}

@media (min-width: 1024px) {
    .bstd-testdrive__actions {
        grid-template-columns: 1fr 1fr;
    }
}

.bstd-testdrive__actions--single {
    grid-template-columns: 1fr;
}

@media (min-width: 1024px) {
    .bstd-testdrive__actions--single {
        grid-template-columns: minmax(220px, 320px);
    }
}

.bstd-testdrive__btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
    min-height: 60px;
    padding: 16px 32px;
    border: 1px solid transparent;
    border-radius: var(--bstd-radius-md);
    font-family: var(--bstd-font-text);
    font-size: 16px;
    font-weight: 500;
    line-height: 28px;
    cursor: pointer;
    transition: background 0.18s ease, color 0.18s ease, opacity 0.18s ease;
}

.bstd-testdrive__btn--primary {
    background: var(--bstd-blue-cta);
    color: var(--bstd-white);
}

.bstd-testdrive__btn--primary:hover {
    background: var(--bstd-blue-cta-hover);
}

.bstd-testdrive__btn--secondary {
    background: var(--bstd-white);
    color: var(--bstd-blue-cta);
    border-color: var(--bstd-blue-cta);
}

.bstd-testdrive__btn--secondary:hover {
    background: var(--bstd-bg-soft);
}

.bstd-testdrive__btn[disabled] {
    opacity: 0.5;
    cursor: not-allowed;
}

/* Consent block */
.bstd-testdrive__consent {
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding: 16px;
    border: 1px solid var(--bstd-border);
    border-radius: var(--bstd-radius-sm);
    background: var(--bstd-white);
}

.bstd-testdrive__consent-row {
    display: flex;
    align-items: center;
    gap: 12px;
}

.bstd-testdrive__consent-text {
    margin: 0;
    font-family: var(--bstd-font-text);
    font-size: 14px;
    line-height: 22px;
    color: var(--bstd-text-grey);
    max-height: 6.6em;
    overflow: hidden;
    position: relative;
}

.bstd-testdrive__consent-text.is-expanded {
    max-height: none;
}

.bstd-testdrive__consent-toggle {
    align-self: flex-start;
    background: none;
    border: none;
    padding: 0;
    color: var(--bstd-blue-cta);
    font-family: var(--bstd-font-head);
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
}

.bstd-testdrive__check {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin: 0;
    font-family: var(--bstd-font-text);
    font-size: 14px;
    line-height: 22px;
    color: var(--bstd-text);
    cursor: pointer;
}

.bstd-testdrive__check input[type="checkbox"] {
    flex-shrink: 0;
    width: 20px;
    height: 20px;
    margin: 0;
    accent-color: var(--bstd-blue-cta);
}

.bstd-testdrive__check-required {
    color: var(--bstd-blue-soft);
    margin-left: 2px;
}

.bstd-testdrive__messages {
    padding: 12px 16px;
    border-radius: var(--bstd-radius-sm);
    background: #fdecea;
}

.bstd-testdrive__error {
    margin: 0;
    font-family: var(--bstd-font-text);
    font-size: 14px;
    line-height: 20px;
    color: #b71c1c;
}

/* Success modal */
.bstd-testdrive__modal {
    position: fixed;
    inset: 0;
    z-index: 200;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 16px;
    background: rgba(16, 22, 79, 0.55);
}

.bstd-testdrive__modal[hidden] {
    display: none;
}

.bstd-testdrive__modal-card {
    box-sizing: border-box;
    width: 100%;
    max-width: 677px;
    padding: clamp(28px, 5vw, 64px);
    border-radius: var(--bstd-radius-lg);
    background: var(--bstd-white);
    text-align: center;
}

.bstd-testdrive__modal-title {
    margin: 0 0 16px;
    font-family: var(--bstd-font-head);
    font-size: clamp(24px, 3vw, 32px);
    font-weight: 500;
    line-height: 1.2;
    color: var(--bstd-blue);
}

.bstd-testdrive__modal-text {
    margin: 0 0 32px;
    font-family: var(--bstd-font-text);
    font-size: 16px;
    line-height: 24px;
    color: var(--bstd-text-grey);
}

.bstd-testdrive__modal-btn {
    width: 100%;
    min-height: 60px;
    padding: 16px 32px;
    border: none;
    border-radius: var(--bstd-radius-md);
    background: var(--bstd-blue-cta);
    color: var(--bstd-white);
    font-family: var(--bstd-font-text);
    font-size: 16px;
    font-weight: 500;
    line-height: 28px;
    cursor: pointer;
}

.bstd-testdrive__modal-btn:hover {
    background: var(--bstd-blue-cta-hover);
}

/* ==========================================================================
   intl-tel-input override
   ========================================================================== */

.iti {
    width: 100%;
}

.iti__tel-input.bstd-testdrive__input {
    padding-left: 96px !important;
}

/* ==========================================================================
   DEALERS 119:11102
   ========================================================================== */

/* 404 */
.bstd-notfound {
    box-sizing: border-box;
    padding: var(--bstd-section-y) var(--bstd-pad-x);
    background: var(--bstd-white);
}

.bstd-notfound__inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 16px;
    min-height: min(50vh, 480px);
    max-width: 560px;
    margin: 0 auto;
    text-align: center;
}

.bstd-notfound__code {
    margin: 0;
    font-size: clamp(56px, 14vw, 120px);
    font-weight: 500;
    line-height: 1;
    color: var(--bstd-blue);
}

.bstd-notfound__title {
    margin: 0;
    font-size: clamp(22px, 5vw, 32px);
    font-weight: 500;
    line-height: 1.2;
    color: var(--bstd-blue);
}

.bstd-notfound__text {
    margin: 0;
    font-size: 16px;
    line-height: 24px;
    color: var(--bstd-text-muted);
}

.bstd-notfound__btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-top: 8px;
    min-height: 60px;
    padding: 16px 32px;
    border-radius: var(--bstd-radius-md);
    background: var(--bstd-blue-cta);
    color: var(--bstd-white);
    font-size: 16px;
    font-weight: 500;
    line-height: 28px;
    text-decoration: none;
    transition: background 0.18s ease;
}

.bstd-notfound__btn:hover {
    background: var(--bstd-blue-cta-hover);
}

.bstd-section--dealers {
    background: linear-gradient(0deg, rgba(255, 255, 255, 0.80) 0%, rgba(255, 255, 255, 0.80) 100%), var(--bstd-blue-performance, #aacae6);
}

.bstd-dealers {
    box-sizing: border-box;
    padding: var(--bstd-section-y) var(--bstd-pad-x);
}

.bstd-dealers__inner {
    display: flex;
    flex-direction: column;
    gap: clamp(28px, 4vw, 56px);
    align-items: flex-start;
    width: 100%;
    max-width: 1440px;
    margin: 0 auto;
}

.bstd-dealers__heading {
    margin: 0;
    width: 100%;
    font-family: var(--bstd-font-head);
    font-size: clamp(28px, 4vw, 56px);
    font-weight: 500;
    line-height: 1.1;
    color: var(--bstd-blue);
    text-align: left;
}

.bstd-dealers__layout {
    display: flex;
    flex-direction: column;
    gap: 24px;
    width: 100%;
}

.bstd-dealers__list {
    margin: 0;
    padding: 0;
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 8px;
    flex: 1 1 0;
    min-width: 0;
}

@media (min-width: 1024px) {
    .bstd-dealers__inner {
        align-items: center;
    }

    .bstd-dealers__heading {
        text-align: center;
    }

    .bstd-dealers__list {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 24px;
        padding: 24px 0;
        max-width: 100%;
    }
}

/* Mobile dealer card (Figma 119:4491 / 119:3941) — grey card, plate on top */
.bstd-dealers__item {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 24px;
    padding: 40px 16px 40px 20px;
    border: none;
    border-radius: 16px;
    background: var(--bstd-white, #fff);
}

.bstd-dealers__map-plate {
    display: inline-flex;
    flex-shrink: 0;
    align-items: center;
    justify-content: center;
    width: 64px;
    height: 64px;
    border-radius: 8px;
    background: var(--bstd-blue-brand);
}

.bstd-dealers__map-plate--desktop {
    display: none;
}

.bstd-dealers__map-plate--mobile .bstd-dealers__map-plate-icon {
    display: block;
    background: url('images/icon-map-pin-white.svg') center / contain no-repeat;
}

.bstd-dealers__map-plate-icon {
    display: block;
    width: 16px;
    height: 20px;
    background: url('images/icon-map-pin.svg') center / contain no-repeat;
}

.bstd-dealers__item-body {
    display: flex;
    flex-direction: column;
    gap: 16px;
    flex: 1 1 0;
    min-width: 0;
    width: 100%;
}

.bstd-dealers__name {
    margin: 0;
    font-family: var(--bstd-font-head);
    font-size: 32px;
    font-weight: 500;
    line-height: 38px;
    color: var(--bstd-blue);
}

.bstd-dealers__name-brand,
.bstd-dealers__name-dealer {
    display: block;
}

.bstd-dealers__meta {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.bstd-dealers__address {
    margin: 0;
    font-family: var(--bstd-font-text);
    font-size: 16px;
    font-weight: 400;
    line-height: 22px;
    color: var(--bstd-blue);
}

.bstd-dealers__actions {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
    width: 100%;
}

.bstd-dealers__call {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 0;
    border: none;
    background: transparent;
    color: var(--bstd-blue-cta);
    font-family: var(--bstd-font-head);
    font-size: 16px;
    font-weight: 500;
    line-height: 22px;
    text-decoration: none;
    transition: opacity 0.18s ease;
}

.bstd-dealers__call:hover {
    opacity: 0.85;
}

.bstd-dealers__call-icon {
    display: block;
    flex-shrink: 0;
    width: 18px;
    height: 18px;
}

.bstd-dealers__route {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-family: var(--bstd-font-head);
    font-size: 16px;
    font-weight: 500;
    line-height: 22px;
    color: var(--bstd-blue-cta);
    text-decoration: none;
}

.bstd-dealers__route span {
    font-size: 18px;
    line-height: 1;
}

@media (min-width: 1024px) {
    /* Desktop dealer card — grey bg like mobile, route link, pin square hover */
    .bstd-dealers__item {
        flex-direction: row;
        align-items: flex-start;
        justify-content: space-between;
        gap: 16px;
        padding: 24px 24px 24px 28px;
        background: var(--bstd-white, #fff);
        border-radius: 16px;
        white-space: normal;
        min-width: 0;
    }
    .bstd-dealers__map-plate--mobile {
        display: none;
    }
    .bstd-dealers__map-plate--desktop {
        display: inline-flex;
        background: var(--bstd-blue-performance);
        order: 2;
        align-self: center;
        flex-shrink: 0;
        transition: background 0.18s ease;
    }
    .bstd-dealers__map-plate--desktop .bstd-dealers__map-plate-icon {
        display: block;
        background: url('images/icon-map-pin-white.svg') center / contain no-repeat;
        transition: background 0.18s ease;
    }
    .bstd-dealers__item-body {
        order: 1;
        flex: 1 1 0;
        gap: 16px;
        width: auto;
        min-width: 0;
    }
    .bstd-dealers__name {
        margin: 0;
        font-size: 24px;
        line-height: 34px;
        white-space: normal;
    }
    .bstd-dealers__name-brand,
    .bstd-dealers__name-dealer {
        display: inline;
    }
    .bstd-dealers__name-brand::after {
        content: ' ';
    }
    .bstd-dealers__address {
        white-space: normal;
        overflow-wrap: anywhere;
    }
    .bstd-dealers__item:hover .bstd-dealers__map-plate--desktop {
        background: var(--bstd-blue-advanced);
    }
}

/* ==========================================================================
   FOOTER 119:11153
   ========================================================================== */

.bstd-footer {
    position: relative;
    overflow: hidden;
    background: var(--bstd-blue-brand);
    color: var(--bstd-white);
}

.bstd-footer__inner {
    position: relative;
    max-width: 1920px;
    margin: 0 auto;
    padding: clamp(48px, 6vw, 80px) var(--bstd-pad-x) clamp(28px, 3vw, 48px);
    box-sizing: border-box;
}

.bstd-footer__grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 32px;
    padding-bottom: clamp(32px, 5vw, 80px);
}

@media (min-width: 768px) {
    .bstd-footer__grid {
        grid-template-columns: 1fr 1fr;
        gap: 40px 64px;
    }
}

@media (min-width: 1024px) {
    .bstd-footer__grid {
        grid-template-columns: minmax(220px, 1.3fr) repeat(3, minmax(150px, 1fr));
        gap: 48px 64px;
        align-items: start;
    }
}

.bstd-footer__brand {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.bstd-footer__logo {
    display: inline-flex;
    line-height: 0;
    text-decoration: none;
}

.bstd-footer__logo-img {
    display: block;
    width: auto;
    height: auto;
    max-width: 225px;
}

.bstd-footer__col-title {
    margin: 0 0 16px;
    font-family: var(--bstd-font-head);
    font-size: 20px;
    font-weight: 500;
    line-height: 24px;
    color: var(--bstd-white);
}

.bstd-footer__menu {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.bstd-footer__menu a {
    font-family: var(--bstd-font-text);
    font-size: 16px;
    font-weight: 400;
    line-height: 24px;
    color: rgba(255, 255, 255, 0.85);
    text-decoration: none;
}

.bstd-footer__menu a:hover {
    color: var(--bstd-white);
}

.bstd-footer__callcenter {
    margin: 0;
    font-family: var(--bstd-font-head);
    font-size: 20px;
    font-weight: 500;
    line-height: 28px;
}

.bstd-footer__callcenter-line {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--bstd-white);
    text-decoration: none;
}

.bstd-footer__callcenter-icon {
    display: block;
    flex-shrink: 0;
    width: 24px;
    height: 24px;
}

.bstd-footer__callcenter-line:hover {
    opacity: 0.9;
}

.bstd-footer__social {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
}

.bstd-footer__social-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--bstd-white);
    color: var(--bstd-blue-brand);
    text-decoration: none;
    transition: opacity 0.2s ease;
}

.bstd-footer__social-link:hover {
    opacity: 0.85;
}

.bstd-footer__social-link img {
    display: block;
    width: 20px;
    height: 20px;
    object-fit: contain;
}

@media (min-width: 1024px) {
    .bstd-footer__callcenter {
        margin-bottom: 24px;
    }
}

.bstd-footer__legal {
    display: flex;
    flex-direction: column;
    gap: 16px;
    padding-top: 24px;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
}

@media (min-width: 768px) {
    .bstd-footer__legal {
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
        gap: 32px;
    }
}

.bstd-footer__copy {
    margin: 0;
    font-family: var(--bstd-font-text);
    font-size: 14px;
    font-weight: 400;
    line-height: 20px;
    color: rgba(255, 255, 255, 0.7);
}

.bstd-footer__legal-nav .bstd-footer__menu {
    flex-direction: row;
    flex-wrap: wrap;
    gap: 16px 32px;
}

.bstd-footer__legal-nav .bstd-footer__menu a {
    font-size: 14px;
    line-height: 20px;
}

/* Footer mobile — Figma 119:9938 (desktop ≥1024px не трогаем) */
@media (max-width: 1023px) {
    .bstd-footer__inner {
        padding: 64px 20px 0;
    }

    .bstd-footer__grid {
        grid-template-columns: 1fr;
        gap: 64px;
        padding-bottom: 80px;
    }

    .bstd-footer__brand {
        box-sizing: border-box;
        min-height: 102px;
        padding-bottom: 40px;
    }

    .bstd-footer__logo-img {
        max-width: 225px;
        max-height: 31px;
    }

    .bstd-footer__col-title {
        margin-bottom: 24px;
    }

    .bstd-footer__callcenter {
        margin: 0;
    }

    .bstd-footer__callcenter-line {
        font-size: 20px;
        line-height: 22px;
    }

    .bstd-footer__col--contacts > .bstd-footer__col-title {
        margin-top: 64px;
    }

    .bstd-footer__col--contacts {
        padding-bottom: 104px;
    }

    .bstd-footer__legal {
        flex-direction: column;
        gap: 0;
        padding-top: 33px;
        border-top-color: rgba(255, 255, 255, 0.6);
    }

    .bstd-footer__legal-nav {
        order: 1;
        width: 100%;
    }

    .bstd-footer__legal-nav .bstd-footer__menu {
        flex-direction: column;
        flex-wrap: nowrap;
        gap: 8px;
    }

    .bstd-footer__legal-nav .bstd-footer__menu a {
        font-size: 16px;
        line-height: 24px;
        color: var(--bstd-white);
    }

    /* «Контакты» нет в мобильном макете */
    .bstd-footer__legal-nav .bstd-footer__menu li:nth-child(3) {
        display: none;
    }

    .bstd-footer__copy {
        order: 2;
        width: 100%;
        margin: 64px 0 0;
        padding: 33px 0 64px;
        border-top: 1px solid rgba(255, 255, 255, 0.6);
        font-size: 16px;
        line-height: 24px;
        color: var(--bstd-white);
    }
}

/* --------------------------------------------------------------------------
   Cookie banner (inform-only)
   Разметка: include/cookie_banner.php
   Логика:   include/cookie_banner.js
   -------------------------------------------------------------------------- */
.bstd-cookie-banner {
    position: fixed;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 1000;
    display: none;
    border-top: 1px solid var(--bstd-border);
    background: #f6f3f2;
    box-shadow: 0 -1px 8px rgba(0, 0, 0, 0.12);
}

.bstd-cookie-banner.is-visible {
    display: block;
}

.bstd-cookie-banner__inner {
    position: relative;
    box-sizing: border-box;
    max-width: 1120px;
    margin: 0 auto;
    padding: 35px clamp(16px, 3vw, 24px);
}

.bstd-cookie-banner__content {
    max-width: 915px;
    padding-right: 160px;
}

.bstd-cookie-banner__title {
    margin: 0 0 8px;
    font-size: 14px;
    font-weight: 500;
    line-height: 24px;
    letter-spacing: 0.02em;
    color: var(--bstd-text);
}

.bstd-cookie-banner__text {
    margin: 0;
    font-size: 14px;
    line-height: 24px;
    letter-spacing: 0.02em;
    color: var(--bstd-text);
}

.bstd-cookie-banner__actions {
    position: absolute;
    right: 0;
    bottom: 35px;
}

.bstd-cookie-banner__accept {
    box-sizing: border-box;
    min-width: 140px;
    min-height: 40px;
    padding: 0 24px;
    border: 0;
    border-radius: var(--bstd-radius-sm);
    background: var(--bstd-blue-brand);
    color: var(--bstd-white);
    font-size: 14px;
    font-weight: 500;
    line-height: 40px;
    cursor: pointer;
    transition: background-color 0.2s ease;
}

.bstd-cookie-banner__accept:hover {
    background: var(--bstd-blue-cta-hover);
}

.bstd-cookie-banner__close {
    position: absolute;
    top: 35px;
    right: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    padding: 0;
    border: 0;
    background: transparent;
    cursor: pointer;
}

.bstd-cookie-banner__close img {
    display: block;
    width: 20px;
    height: 20px;
}

@media (max-width: 767px) {
    .bstd-cookie-banner__inner {
        padding: 20px 48px 20px 16px;
    }

    .bstd-cookie-banner__content {
        max-width: none;
        padding-right: 0;
    }

    .bstd-cookie-banner__title,
    .bstd-cookie-banner__text {
        font-size: 12px;
        line-height: 17px;
    }

    .bstd-cookie-banner__actions {
        position: static;
        margin-top: 12px;
    }

    .bstd-cookie-banner__accept {
        width: 100%;
        min-width: 0;
    }

    .bstd-cookie-banner__close {
        top: 16px;
        right: 16px;
    }
}

/* ==========================================================================
   Brand override: square corners everywhere except footer social icons
   Remove this block to rollback quickly.
   ========================================================================== */
:root {
    --bstd-radius-sm: 0;
    --bstd-radius-md: 0;
    --bstd-radius-lg: 0;
}

.bstd-header__cta,
.bstd-mobile-drawer__btn,
.bstd-hero__btn,
.bstd-models__row,
.bstd-models__media,
.bstd-models__media img,
.bstd-models__cta,
.bstd-models__specs-toggle,
.bstd-testdrive__promo,
.bstd-testdrive__step--1 .iti,
.bstd-testdrive__step--1 .iti__tel-input.bstd-testdrive__input,
.bstd-testdrive__phone-confirm,
.bstd-testdrive__input,
.bstd-testdrive__select,
.bstd-testdrive__textarea,
.bstd-testdrive__captcha,
.bstd-testdrive__captcha-code,
.bstd-testdrive__btn,
.bstd-testdrive__consent,
.bstd-testdrive__messages,
.bstd-testdrive__modal-card,
.bstd-testdrive__modal-btn,
.bstd-notfound__btn,
.bstd-dealers__item,
.bstd-dealers__map-plate,
.bstd-dealers__call,
.bstd-cookie-banner__accept {
    border-radius: 0 !important;
}

/* ============================================================
   Секция «Дизайн» (bstd:design.block)
   Mobile-first: по умолчанию слайдер; десктоп — две колонки sticky.
   ============================================================ */
.bstd-section--design {
    background: var(--bstd-white);
}

.bstd-design {
    box-sizing: border-box;
    padding: 80px var(--bstd-pad-x) 0;
}

.bstd-design__inner {
    display: flex;
    flex-direction: column;
    gap: clamp(24px, 4vw, 48px);
    width: 100%;
    max-width: 1440px;
    margin: 0 auto;
}

.bstd-design__header {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.bstd-design__eyebrow {
    color: #101010;
    font-size: 24px;
    font-weight: 400;
    line-height: 1.1;
    text-transform: uppercase;
    opacity: 0.8;
}

.bstd-design__heading {
    margin: 0;
    color: var(--bstd-blue-brand, #002c5f);
    font-size: 40px;
    font-weight: 500;
    line-height: 1.2;
    letter-spacing: -1px;
}

/* --- общие элементы карточки --- */
.bstd-design__media {
    position: relative;
    width: 100%;
    overflow: hidden;
    border-radius: var(--bstd-radius-sm, 8px);
    background: var(--bstd-sand-light, #f6f3f2);
}

.bstd-design__media-el {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.bstd-design__media--empty {
    background: var(--bstd-sand-light, #f6f3f2);
}

.bstd-design__text {
    margin: 0;
    font-size: 18px;
    line-height: 1.4;
}

.bstd-design__lead {
    color: #101010;
    font-weight: 500;
}

.bstd-design__announce {
    color: #757575;
    font-weight: 400;
}

/* --- мобайл: слайдер --- */
.bstd-design__grid--desktop {
    display: none;
}

.bstd-design__slider--mobile {
    display: flex;
    gap: 16px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    /* Слева выравниваем по контенту (вровень с заголовком), справа — bleed за край. */
    margin: 0 calc(-1 * var(--bstd-pad-x)) 0 0;
    padding: 0 var(--bstd-pad-x) 8px 0;
    scrollbar-width: none;
}

.bstd-design__slider--mobile::-webkit-scrollbar {
    display: none;
}

.bstd-design__slide {
    flex: 0 0 auto;
    width: min(330px, 80vw);
    scroll-snap-align: start;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.bstd-design__slide .bstd-design__media {
    aspect-ratio: 330 / 396;
}

.bstd-design__slide .bstd-design__text {
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.bstd-design__more {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    align-self: flex-start;
    padding: 0;
    border: none;
    background: none;
    color: var(--bstd-blue-brand, #002c5f);
    font-size: 16px;
    font-weight: 500;
    line-height: 1.4;
    cursor: pointer;
}

.bstd-design__more-icon {
    font-size: 18px;
    line-height: 1;
}

.bstd-design__full {
    display: none;
}

/* --- bottom-попап --- */
.bstd-design__popup {
    position: fixed;
    inset: 0;
    z-index: 1000;
    display: flex;
    align-items: flex-end;
}

.bstd-design__popup[hidden] {
    display: none;
}

.bstd-design__popup-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 44, 95, 0.8);
    opacity: 0;
    transition: opacity 0.25s ease;
}

.bstd-design__popup.is-open .bstd-design__popup-overlay {
    opacity: 1;
}

.bstd-design__popup-panel {
    position: relative;
    z-index: 1;
    box-sizing: border-box;
    width: 100%;
    max-height: 85vh;
    overflow-y: auto;
    padding: 32px 24px calc(24px + env(safe-area-inset-bottom, 0px));
    background: var(--bstd-white, #fff);
    border-radius: 24px 24px 0 0;
    transform: translateY(100%);
    transition: transform 0.25s ease;
}

.bstd-design__popup.is-open .bstd-design__popup-panel {
    transform: translateY(0);
}

.bstd-design__popup-close {
    position: absolute;
    top: 16px;
    right: 16px;
    z-index: 2;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    padding: 0;
    border: none;
    border-radius: 50%;
    background: var(--bstd-sand-light, #f6f3f2);
    color: #101010;
    font-size: 22px;
    line-height: 1;
    cursor: pointer;
}

.bstd-design__popup-body .bstd-design__media {
    aspect-ratio: 330 / 220;
    margin-top: 24px;
    margin-bottom: 16px;
}

.bstd-design__popup-lead {
    margin: 0 0 12px;
    padding-right: 40px;
    color: #0f0f0f;
    font-size: 24px;
    font-weight: 500;
    line-height: 1.2;
}

.bstd-design__popup-announce {
    margin: 0 0 16px;
    color: #757575;
    font-size: 18px;
    font-weight: 400;
    line-height: 1.4;
}

.bstd-design__popup-detail {
    color: rgba(0, 0, 0, 0.6);
    font-size: 16px;
    font-weight: 400;
    line-height: 1.4;
}

.bstd-design__popup-detail p {
    margin: 0 0 12px;
}

body.bstd-design-popup-open {
    overflow: hidden;
}

/* --- десктоп: две колонки со sticky --- */
@media (min-width: 1024px) {
    .bstd-design__slider--mobile {
        display: none;
    }

    .bstd-design__header {
        align-items: center;
        text-align: center;
        gap: 8px;
    }

    .bstd-design__eyebrow {
        font-size: 28px;
        font-weight: 400;
        line-height: 34px;
    }

    .bstd-design__heading {
        font-size: 80px;
        font-weight: 500;
        line-height: 1.1;
        letter-spacing: normal;
        text-align: center;
    }

    .bstd-design__grid--desktop {
        display: grid;
        /* Асимметрия по макету: левая колонка узкая (481), правая широкая (895). */
        grid-template-columns: minmax(0, 481fr) minmax(0, 895fr);
        gap: 64px;
        align-items: start;
    }

    .bstd-design__col {
        display: flex;
        flex-direction: column;
        gap: clamp(24px, 3vw, 56px);
        min-width: 0;
    }

    /* Правая (широкая) колонка короче — прижимается, левая прокручивается. */
    .bstd-design__col--right {
        position: sticky;
        top: calc(var(--bstd-header-h) + 24px);
        align-self: start;
    }

    .bstd-design__card {
        display: flex;
        flex-direction: column;
        gap: 16px;
    }

    .bstd-design__card--left .bstd-design__media {
        aspect-ratio: 481 / 394;
    }

    .bstd-design__card--right .bstd-design__media {
        aspect-ratio: 895 / 668;
    }

    /* Инверсия (блок «Безопасность»): левая колонка широкая и прижимается, правая узкая прокручивается. */
    .bstd-design--sticky-left .bstd-design__grid--desktop {
        grid-template-columns: minmax(0, 895fr) minmax(0, 481fr);
    }

    .bstd-design--sticky-left .bstd-design__col--right {
        position: static;
        top: auto;
    }

    .bstd-design--sticky-left .bstd-design__col--left {
        position: sticky;
        top: calc(var(--bstd-header-h) + 24px);
        align-self: start;
    }

    .bstd-design--sticky-left .bstd-design__card--left .bstd-design__media {
        aspect-ratio: 895 / 668;
    }

    .bstd-design--sticky-left .bstd-design__card--right .bstd-design__media {
        aspect-ratio: 481 / 394;
    }
}
