/* ===== Переменные (из стилей макета) ===== */
:root {
    --blue: #0826EC;
    --blue-ticker: #284BFF;
    --green: #7BFC01;
    --black: #141414;
    --gray: #707D89;
    --fon: #F6F6F6;
    --white: #FFFFFF;
    --line: #DCE3EB;

    --font-main: 'Montserrat', sans-serif;
    --font-accent: 'Unbounded', sans-serif;

    --container: 1296px;
}

/* ===== Сброс ===== */
*,
*::before,
*::after {
    box-sizing: border-box;
}

body,
p,
h1, h2, h3, h4, h5, h6 {
    margin: 0;
}

body {
    font-family: var(--font-main);
    font-size: 16px;
    line-height: 24px;
    color: var(--black);
    background: var(--white);
    -webkit-font-smoothing: antialiased;
}

a {
    color: inherit;
    text-decoration: none;
}

img {
    display: block;
    max-width: 100%;
}

[hidden] {
    display: none !important;
}

.container {
    width: var(--container);
    max-width: calc(100% - 40px);
    margin: 0 auto;
}

/* ===== Общие элементы ===== */
.logo {
    display: block;
    flex-shrink: 0;
    width: 219px;
    height: 32px;
}

.link-dotted {
    font-weight: 500;
    font-size: 16px;
    line-height: 22px;
    color: var(--blue);
    text-decoration: underline dotted;
    text-decoration-thickness: 10%;
    text-underline-offset: 16%;
    transition: opacity .2s;
}

.link-dotted:hover {
    opacity: .7;
}

.nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav__link {
    font-weight: 700;
    font-size: 16px;
    line-height: 20px;
    color: var(--black);
    transition: color .2s;
}

.nav__link:hover {
    color: var(--blue);
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 18px 32px;
    border-radius: 8px;
    background: var(--blue);
    color: var(--white);
    font-weight: 600;
    font-size: 18px;
    line-height: 24px;
    white-space: nowrap;
    transition: background .2s;
}

.btn:hover {
    background: #0620c4;
}

/* ===== Бегущая строка ===== */
.ticker {
    overflow: hidden;
    padding: 8px 0;
    background: var(--blue-ticker);
    color: var(--white);
}

.ticker__track {
    display: flex;
    width: max-content;
    animation: ticker 40s linear infinite;
}

.ticker:hover .ticker__track {
    animation-play-state: paused;
}

.ticker__group {
    display: flex;
    align-items: center;
    gap: 24px;
    padding-right: 24px;
}

.ticker__text {
    font-style: italic;
    font-size: 14px;
    line-height: 22px;
    white-space: nowrap;
}

.ticker__dot {
    flex-shrink: 0;
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background: var(--white);
}

.ticker__icon {
    flex-shrink: 0;
    width: 24px;
    height: 24px;
}

.ticker__icon + .ticker__icon {
    margin-left: -16px; /* иконки рядом: 8px между ними */
}

.ticker__icon img {
    width: 100%;
    height: 100%;
}

@keyframes ticker {
    from { transform: translateX(0); }
    to   { transform: translateX(-50%); }
}

/* ===== Шапка ===== */
.header__top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 27px;
    padding-bottom: 27px;
    border-bottom: 1px solid var(--line);
}

.header__brand {
    display: flex;
    align-items: center;
    gap: 48px;
}

.header__logo-wrap {
    display: flex;
    align-items: center;
    gap: 20px;
}

.header__tagline {
    width: 241px;
    font-size: 14px;
    line-height: 22px;
    color: var(--gray);
    opacity: .5;
}

.rating {
    padding: 8px 12px;
    border-radius: 12px;
    background: var(--fon);
}

.rating__row {
    display: flex;
    align-items: center;
    gap: 6px;
}

.rating__value {
    font-family: var(--font-accent);
    font-weight: 700;
    font-size: 20px;
    line-height: 30px;
}

.rating__stars {
    display: flex;
    gap: 2px;
}

.rating__text {
    font-size: 12px;
    line-height: 16px;
}

.header__contacts {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 1px;
    text-align: right;
}

.header__phone {
    font-family: var(--font-accent);
    font-weight: 700;
    font-size: 20px;
    line-height: 30px;
    white-space: nowrap;
}

.header__nav {
    padding-top: 24px;
}

/* ===== Первый экран ===== */
.accent {
    color: var(--blue);
}

.hero {
    overflow-x: clip;
}

.hero__inner {
    position: relative;
}

.hero__image {
    position: absolute;
    top: -20px;
    left: 601px;
    width: 894px;
    height: 716px;
    max-width: none;
    object-fit: contain;
    pointer-events: none;
}

.hero__content {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 48px;
    width: 701px;
    padding-top: 121px;
}

.hero__text {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.hero__title {
    font-family: var(--font-accent);
    font-weight: 700;
    font-size: 44px;
    line-height: 58px;
}

.hero__subtitle {
    font-size: 20px;
    line-height: 30px;
}

.hero__subtitle b {
    font-family: var(--font-accent);
    font-weight: 700;
}

.hero__features {
    position: relative;
    display: flex;
    gap: 24px;
    margin: 135px 0 0;
    padding: 0;
    list-style: none;
}

.feature {
    display: flex;
    align-items: center;
    flex: 1;
    gap: 16px;
    padding: 24px;
    border-radius: 16px;
    background: var(--fon);
}

.feature__icon {
    display: flex;
    flex-shrink: 0;
    padding: 12px;
    border-radius: 50%;
    background: var(--blue);
}

.feature__text {
    flex: 1;
    font-size: 16px;
    line-height: 24px;
}

/* ===== Общие секции ===== */
.section-title {
    font-family: var(--font-accent);
    font-weight: 700;
    font-size: 40px;
    line-height: 52px;
    text-align: center;
}

.btn--green {
    background: var(--green);
    color: var(--black);
}

.btn--green:hover {
    background: #6fe300;
}

/* ===== Слайдер ===== */
.slider {
    position: relative;
}

.slider__viewport {
    overflow: hidden;
}

.slider__track {
    display: flex;
    gap: 24px;
    transition: transform .4s ease;
}

.slider__arrow {
    position: absolute;
    top: 50%;
    z-index: 1;
    display: flex;
    padding: 18px;
    border: 0;
    border-radius: 8px;
    background: var(--blue);
    cursor: pointer;
    transform: translateY(-50%);
    transition: background .2s, opacity .2s;
}

.slider__arrow:hover {
    background: #0620c4;
}

.slider__arrow:disabled {
    background: var(--blue);
    cursor: default;
}

.slider__arrow--prev {
    right: calc(100% + 35px);
}

.slider__arrow--next {
    left: calc(100% + 35px);
}

.slider__arrow img {
    width: 24px;
    max-width: none;
}

.slider__arrow--next img {
    transform: scaleX(-1);
}

/* ===== Примеры авто ===== */
.examples {
    padding-top: 104px;
}

.examples .section-title {
    margin-bottom: 48px;
}

.car-card {
    display: flex;
    flex-direction: column;
    flex: 0 0 calc((100% - 48px) / 3);
    overflow: hidden;
    border-radius: 16px;
    background: var(--blue);
    color: var(--white);
}

.car-card__image {
    width: 100%;
    height: 312px;
    object-fit: cover;
}

.car-card__body {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 24px;
    padding: 32px 32px 40px;
}

.car-card__title {
    min-height: 60px;
    font-family: var(--font-accent);
    font-weight: 700;
    font-size: 20px;
    line-height: 30px;
}

.car-card__specs {
    display: flex;
    flex-direction: column;
    gap: 8px;
    width: 100%;
    margin: 0;
    padding: 0;
    list-style: none;
}

.spec {
    display: flex;
    gap: 8px;
    font-size: 16px;
    line-height: 24px;
}

.spec span {
    white-space: nowrap;
}

.spec__line {
    flex: 1;
    align-self: flex-end;
    height: 1px;
    margin-bottom: 7px;
    background: linear-gradient(to right, rgba(255, 255, 255, .5) 1px, transparent 1px) 0 0 / 5px 1px repeat-x;
}

.car-card__prices {
    display: flex;
    gap: 24px;
    width: 100%;
}

.car-card__price,
.car-card__benefit {
    display: flex;
    flex-direction: column;
    font-size: 16px;
    line-height: 24px;
}

.car-card__price {
    flex: 1;
    gap: 8px;
}

.car-card__benefit {
    gap: 6px;
}

.car-card__price b {
    font-family: var(--font-accent);
    font-size: 20px;
    line-height: 30px;
    white-space: nowrap;
}

.car-card__benefit b {
    font-family: var(--font-accent);
    font-size: 32px;
    line-height: 42px;
    color: var(--green);
}

/* ===== Цифры ===== */
.stats {
    margin: 104px 24px 0;
    padding: 104px 0;
    border-radius: 24px;
    background: var(--blue);
    color: var(--white);
}

.stats__list {
    display: flex;
    gap: 24px;
    width: var(--container);
    max-width: calc(100% - 40px);
    margin: 0 auto;
    padding: 0;
    list-style: none;
}

.stat {
    display: flex;
    flex-direction: column;
    flex: 1;
    gap: 24px;
}

.stat__value {
    display: flex;
    flex-direction: column;
    font-family: var(--font-accent);
    font-weight: 700;
}

.stat__value b {
    font-size: 64px;
    line-height: 74px;
    color: var(--green);
}

.stat__value span {
    font-size: 32px;
    line-height: 42px;
}

.stat__text {
    font-size: 16px;
    line-height: 24px;
}

/* ===== Отзывы ===== */
.reviews {
    padding-top: 104px;
}

.section-head {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    margin-bottom: 48px;
}

.section-subtitle {
    font-size: 20px;
    line-height: 30px;
    text-align: center;
}

.reviews__grid {
    display: flex;
    align-items: flex-start;
    gap: 24px;
}

.reviews__col {
    display: flex;
    flex-direction: column;
    flex: 1;
    gap: 24px;
    min-width: 0;
}

.deal {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.deal__image {
    width: 100%;
    height: 412px;
    border-radius: 24px;
    object-fit: cover;
}

.deal__info {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.deal__title {
    font-family: var(--font-accent);
    font-weight: 700;
    font-size: 20px;
    line-height: 30px;
}

.deal__city,
.deal__benefit span {
    font-size: 16px;
    line-height: 24px;
    color: var(--gray);
}

.deal__benefit {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.deal__benefit b {
    font-family: var(--font-accent);
    font-size: 32px;
    line-height: 42px;
    color: var(--blue);
}

.review {
    display: flex;
    flex-direction: column;
    gap: 16px;
    padding: 28px;
    border-radius: 24px;
    background: var(--fon);
}

.review__head {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.review__name {
    font-family: var(--font-accent);
    font-weight: 700;
    font-size: 20px;
    line-height: 30px;
}

.review__stars {
    display: flex;
}

.review__stars img,
.rating-card__stars img {
    width: 20px;
    height: 20px;
}

.review__text {
    font-size: 14px;
    line-height: 22px;
}

.review[style*="--lines"] .review__text {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: var(--lines);
    overflow: hidden;
}

.review__source {
    display: flex;
    align-items: center;
    gap: 12px;
}

.review__source img {
    width: 24px;
    height: 24px;
}

.reviews__more {
    display: flex;
    flex-direction: column;
    gap: 18px;
    margin-top: 48px;
}

.reviews__more-title {
    font-style: italic;
    font-size: 16px;
    line-height: 24px;
    color: var(--gray);
    text-align: center;
}

.reviews__ratings {
    display: flex;
    gap: 24px;
}

.rating-card {
    display: flex;
    flex-direction: column;
    flex: 1;
    gap: 12px;
    padding: 24px 32px;
    border-radius: 24px;
    background: var(--fon);
    transition: background .2s;
}

.rating-card:hover {
    background: #eceef1;
}

.rating-card__row {
    display: flex;
    align-items: center;
    gap: 12px;
}

.rating-card__row > img {
    width: 32px;
    height: 32px;
}

.rating-card__row b {
    font-family: var(--font-accent);
    font-size: 24px;
    line-height: 32px;
}

.rating-card__stars {
    display: flex;
}

.rating-card__text {
    font-size: 16px;
    line-height: 24px;
}

/* ===== Лента фото ===== */
.strip {
    overflow: hidden;
    padding-top: 104px;
}

.strip__track {
    display: flex;
    width: max-content;
    animation: strip 60s linear infinite;
}

.strip__group {
    display: flex;
    align-items: flex-start;
    gap: 24px;
    padding-right: 24px;
}

.strip__photo {
    flex-shrink: 0;
    max-width: none;
    border-radius: 24px;
    object-fit: cover;
}

.strip__photo--t {
    width: 340px;
    height: 458px;
}

.strip__photo--s {
    width: 264px;
    height: 355px;
}

@keyframes strip {
    from { transform: translateX(0); }
    to   { transform: translateX(-50%); }
}

@media (prefers-reduced-motion: reduce) {
    .strip__track,
    .ticker__track {
        animation-duration: 240s;
    }
}

/* ===== Акция ===== */
.promo {
    overflow-x: clip;
    padding-top: 60px;
}

.promo__inner {
    position: relative;
    min-height: 836px;
}

.promo__photo {
    position: absolute;
    top: 0;
    left: 766px;
    width: 517px;
    max-width: none;
    height: 836px;
    object-fit: cover;
    pointer-events: none;
}

.promo__content {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 48px;
    width: 697px;
    padding-top: 256px;
}

.promo__text {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.promo__title {
    font-weight: 700;
    font-size: 64px;
    line-height: 74px;
}

.promo__timer {
    font-family: var(--font-accent);
    font-weight: 500;
    font-size: 96px;
    line-height: 96px;
    color: var(--blue);
    font-variant-numeric: tabular-nums;
}

.manager-card {
    position: absolute;
    top: 552px;
    left: 898px;
    display: flex;
    flex-direction: column;
    gap: 24px;
    width: 398px;
    padding: 24px 32px;
    border-radius: 24px;
    background: var(--fon);
    box-shadow: 0 24px 48px rgba(20, 20, 20, .12);
}

.manager-card__text {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.manager-card__name {
    font-family: var(--font-accent);
    font-weight: 700;
    font-size: 24px;
    line-height: 32px;
}

.manager-card__desc {
    font-size: 14px;
    line-height: 22px;
}

/* ===== Как проходит работа ===== */
.steps {
    padding-top: 104px;
}

.steps__grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-auto-rows: 260px;
    gap: 24px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.step {
    display: flex;
    flex-direction: column;
    gap: 24px;
    padding: 24px 32px;
    border-radius: 24px;
    background: var(--fon);
}

.step__icon {
    display: flex;
    align-self: flex-start;
    padding: 16px;
    border-radius: 16px;
    background: var(--blue);
    color: var(--white);
}

.step__icon svg {
    width: 24px;
    height: 24px;
}

.step__title {
    flex: 1;
    font-family: var(--font-accent);
    font-weight: 700;
    font-size: 20px;
    line-height: 30px;
}

.step__num {
    font-style: italic;
    font-size: 16px;
    line-height: 24px;
    color: var(--gray);
}

.step--accent {
    grid-column: span 2;
    background: var(--blue);
    color: var(--white);
}

.step--accent .step__icon {
    background: var(--green);
    color: var(--blue);
}

.step--accent .step__title {
    max-width: 572px;
    font-size: 32px;
    line-height: 42px;
}

.step--accent .step__title span {
    color: var(--green);
}

.step--accent .step__num {
    color: var(--white);
    opacity: .6;
}

/* ===== Форма ===== */
.lead {
    padding-top: 104px;
}

.lead__box {
    position: relative;
    display: flex;
    justify-content: flex-end;
    min-height: 582px;
    padding: 64px 80px;
    border-radius: 24px;
    background: var(--blue);
    color: var(--white);
}

.lead__catalog {
    position: absolute;
    top: -29px;
    left: -111px;
    width: 816px;
    max-width: none;
    height: 658px;
    transform: rotate(.25deg);
    pointer-events: none;
}

.lead__badge {
    position: absolute;
    top: 101px;
    left: 501px;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 160px;
    height: 160px;
    border-radius: 50%;
    background: rgba(255, 255, 255, .04);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    color: var(--green);
}

.lead__badge-text {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    fill: var(--white);
    font-family: var(--font-main);
    font-weight: 500;
    font-size: 14px;
    animation: badge-spin 14s linear infinite;
}

.lead__badge-icon {
    width: 32px;
    height: 32px;
}

@keyframes badge-spin {
    to { transform: rotate(360deg); }
}

.lead__form {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 24px;
    width: 508px;
}

.lead__head {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.lead__title {
    font-family: var(--font-accent);
    font-weight: 700;
    font-size: 32px;
    line-height: 42px;
}

.lead__subtitle {
    font-size: 16px;
    line-height: 24px;
}

.lead__fields {
    display: flex;
    flex-direction: column;
    gap: 16px;
    width: 100%;
}

.field {
    display: flex;
    align-items: center;
    gap: 10px;
    width: 100%;
    height: 60px;
    padding: 18px;
    border: 0;
    border-radius: 8px;
    background: var(--white);
    color: var(--black);
    font: inherit;
    font-size: 16px;
    line-height: 24px;
    outline: none;
}

.field input {
    flex: 1;
    min-width: 0;
    padding: 0;
    border: 0;
    background: none;
    color: inherit;
    font: inherit;
    outline: none;
}

.field::placeholder,
.field input::placeholder {
    color: var(--gray);
}

.field:focus,
.field:focus-within {
    box-shadow: 0 0 0 2px var(--green);
}

.lead__form .btn {
    border: 0;
    cursor: pointer;
}

.checkbox {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 14px;
    line-height: 22px;
    cursor: pointer;
}

.checkbox input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.checkbox__box {
    flex-shrink: 0;
    width: 24px;
    height: 24px;
    border-radius: 6px;
    background: var(--white);
}

.checkbox input:checked + .checkbox__box {
    background: var(--green) url("img/check-dark.svg") center / 14px no-repeat;
}

.checkbox a {
    color: var(--green);
    text-decoration: underline dotted;
    text-decoration-thickness: 10%;
    text-underline-offset: 16%;
}

/* ===== О компании ===== */
.about {
    padding-top: 104px;
}

.about__text {
    display: flex;
    flex-direction: column;
    gap: 34px;
    max-width: 1087px;
}

.about__title {
    font-family: var(--font-accent);
    font-weight: 700;
    font-size: 40px;
    line-height: 52px;
}

.about__desc {
    display: flex;
    flex-direction: column;
    gap: 12px;
    max-width: 969px;
    font-size: 16px;
    line-height: 24px;
}

.about__team {
    position: relative;
    overflow: hidden;
    height: 752px;
    margin-top: 46px;
}

.about__photo {
    position: absolute;
    top: 0;
    left: 50%;
    width: 1920px;
    max-width: none;
    height: 752px;
    transform: translateX(-50%);
}

.about__facts {
    position: relative;
    display: flex;
    gap: 24px;
    margin: 572px 0 0;
    padding: 0;
    list-style: none;
}

.fact {
    display: flex;
    flex-direction: column;
    flex: 1;
    gap: 16px;
    padding: 32px;
    border-radius: 24px;
    background: var(--blue);
    color: var(--white);
}

.fact b {
    font-family: var(--font-accent);
    font-size: 40px;
    line-height: 52px;
    color: var(--green);
}

.fact span {
    font-size: 16px;
    line-height: 24px;
}

/* ===== Соцсети ===== */
.social {
    padding-top: 80px;
}

.social__head {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 24px;
    margin-bottom: 48px;
}

.social__topics {
    display: flex;
    gap: 48px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.social__topics li {
    display: flex;
    align-items: center;
    gap: 16px;
    font-size: 20px;
    line-height: 30px;
}

.social__cards {
    display: flex;
    gap: 24px;
}

.social-card {
    position: relative;
    display: flex;
    align-items: flex-end;
    flex: 0 0 calc((100% - 72px) / 4);
    height: 419px;
    padding: 24px 32px;
    border-radius: 24px;
    background: var(--fon);
    transition: background .2s;
}

.social-card--wide {
    flex-basis: calc((100% - 72px) / 2 + 24px);
}

.social-card:hover {
    background: #eceef1;
}

.social-card__placeholder {
    position: absolute;
    top: 50%;
    left: 50%;
    font-style: italic;
    font-size: 16px;
    line-height: 24px;
    color: var(--gray);
    opacity: .5;
    transform: translate(-50%, -50%);
}

.social-card__name {
    display: flex;
    align-items: center;
    gap: 12px;
    font-family: var(--font-accent);
    font-weight: 700;
    font-size: 24px;
    line-height: 32px;
}

/* ===== Подвал ===== */
.footer {
    padding-top: 104px;
}
.footer__inner {
    display: flex;
    flex-direction: column;
    gap: 40px;
    padding-bottom: 40px;
}

.footer__contacts-block {
    display: flex;
    flex-direction: column;
    gap: 32px;
}

.footer__map {
    height: 400px;
    border-radius: 24px;
    overflow: hidden;
    background: var(--fon);
}

.footer__map iframe {
    display: block;
    width: 100%;
    height: 100%;
    border: 0;
}

.footer__contacts {
    display: flex;
    align-items: flex-start;
    gap: 24px;
}

.footer__contact {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.footer__contact--address {
    width: 360px;
    flex-shrink: 0;
}

.footer__contact--phone {
    flex: 1;
}

.footer__label {
    font-size: 16px;
    line-height: 24px;
    opacity: .5;
}

.footer__value {
    font-family: var(--font-accent);
    font-weight: 700;
    font-size: 20px;
    line-height: 30px;
    white-space: nowrap;
}

p.footer__value {
    white-space: normal;
}

.footer__actions {
    display: flex;
    align-items: center;
    gap: 40px;
}

.socials {
    display: flex;
    gap: 12px;
}

.socials__link {
    position: relative;
    display: block;
    width: 48px;
    height: 48px;
    transition: transform .2s;
}

.socials__link:hover {
    transform: translateY(-2px);
}

.socials__link--marked::after {
    content: '*';
    position: absolute;
    top: -6px;
    right: -8px;
    font-size: 14px;
    line-height: 1;
}

.footer__logo {
    align-self: center;
}

.footer__legal {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 24px;
    text-align: center;
}

.footer__note {
    font-style: italic;
    font-size: 14px;
    line-height: 20px;
    opacity: .5;
}

.footer__copyright {
    font-size: 16px;
    line-height: 24px;
}

.footer__requisites {
    display: flex;
    gap: 24px;
    font-size: 14px;
    line-height: 22px;
    opacity: .5;
}

/* ===== Пункт «Акция» в меню ===== */
.nav__link--promo {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    color: var(--blue);
}

.nav__link--promo:hover {
    opacity: .8;
}

/* ===== Машина за менеджером в акции ===== */
.promo__car {
    position: absolute;
    top: 86px;
    left: 594px;
    width: 829px;
    max-width: none;
    height: 663px;
    object-fit: contain;
    pointer-events: none;
}

.promo__visual {
    display: contents;
}

/* Элементы, которые есть только на мобильном */
.d-mob,
.br-mob {
    display: none;
}

.burger,
.menu,
.swipe-hint {
    display: none;
}

/* =========================================================
   Промежуточные ширины (1100–1335): макет десктопа,
   контейнер резиновый, абсолютные элементы привязаны к краям
   ========================================================= */
@media (max-width: 1439px) {
    .slider__arrow {
        display: none;
    }
}

@media (max-width: 1335px) {
    .hero__image {
        left: auto;
        right: -99px;
    }

    .promo__car {
        left: auto;
        right: -127px;
    }

    .promo__photo {
        left: auto;
        right: 13px;
    }

    .manager-card {
        left: auto;
        right: 0;
    }

    .lead__catalog {
        left: calc(100% - 1407px);
    }

    .lead__badge {
        left: calc(100% - 795px);
    }

    .footer__contacts {
        flex-wrap: wrap;
    }

    .footer__actions {
        margin-left: auto;
    }
}

/* =========================================================
   Мобильная версия (макет 360px)
   ========================================================= */
@media (max-width: 1099px) {
    .container {
        width: calc(100% - 32px);
        max-width: 600px;
    }

    body.menu-open {
        overflow: hidden;
    }

    /* --- Общие --- */
    .section-title {
        font-size: 22px;
        line-height: 26px;
    }

    .section-subtitle {
        font-size: 16px;
        line-height: 24px;
    }

    .section-head {
        gap: 8px;
        margin-bottom: 24px;
    }

    .btn {
        width: 100%;
        padding: 18px 24px;
        font-size: 14px;
        line-height: 18px;
    }

    .btn img,
    .btn svg {
        width: 20px;
        height: 20px;
    }

    .link-dotted {
        font-size: 14px;
        line-height: 20px;
    }

    .swipe-hint {
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 8px;
        margin-top: 16px;
        font-size: 14px;
        line-height: 20px;
        color: var(--gray);
    }

    /* --- Бегущая строка --- */
    .ticker {
        padding: 6px 0;
    }

    .ticker__text {
        font-size: 12px;
        line-height: 18px;
    }

    .ticker__group {
        gap: 16px;
        padding-right: 16px;
    }

    .ticker__icon + .ticker__icon {
        margin-left: -8px;
    }

    /* --- Шапка --- */
    .header__top {
        margin-top: 20px;
        padding-bottom: 0;
        border-bottom: 0;
    }

    .logo {
        width: 164px;
        height: 24px;
    }

    .header__tagline,
    .header__brand > .rating,
    .header__contacts,
    .header__nav {
        display: none;
    }

    .burger {
        display: flex;
        padding: 0;
        border: 0;
        background: none;
        color: var(--black);
        cursor: pointer;
    }

    /* --- Мобильное меню --- */
    .menu {
        position: fixed;
        inset: 0;
        z-index: 100;
        display: flex;
        flex-direction: column;
        overflow-y: auto;
        padding-bottom: 24px;
        background-color: #fff;
        background-image: radial-gradient(120% 45% at 50% 100%, #e3e6ff 0%, rgba(227, 230, 255, 0) 70%);
        opacity: 0;
        visibility: hidden;
        transition: opacity .25s, visibility .25s;
    }

    .menu.is-open {
        opacity: 1;
        visibility: visible;
    }

    .menu__head {
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding-top: 20px;
    }

    .menu__close {
        display: flex;
        padding: 0;
        border: 0;
        background: none;
        color: var(--blue);
        cursor: pointer;
    }

    .menu__nav {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 16px;
        margin-top: 32px;
    }

    .menu__nav a {
        font-family: var(--font-accent);
        font-weight: 700;
        font-size: 16px;
        line-height: 24px;
        text-align: center;
    }

    .menu__nav .menu__promo {
        display: inline-flex;
        align-items: center;
        gap: 4px;
        font-size: 20px;
        line-height: 30px;
        color: var(--blue);
    }

    .menu__contacts {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 24px;
        margin-top: auto;
        padding: 48px 16px 0;
        text-align: center;
    }

    .menu__tagline {
        max-width: 260px;
        font-size: 12px;
        line-height: 18px;
        color: var(--gray);
    }

    .menu__phone {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 1px;
    }

    .menu .rating {
        background: var(--white);
    }

    /* --- Первый экран --- */
    .hero__content {
        width: auto;
        gap: 32px;
        padding-top: 24px;
    }

    .hero__text {
        gap: 16px;
    }

    .hero__title {
        font-size: 24px;
        line-height: 32px;
    }

    .hero__subtitle {
        font-size: 16px;
        line-height: 24px;
    }

    .hero__image {
        position: relative;
        top: 0;
        left: 50%;
        right: auto;
        order: 2;
        width: 382px;
        height: 306px;
        margin: 16px 0 0;
        transform: translateX(-50%);
    }

    .hero__inner {
        display: flex;
        flex-direction: column;
    }

    .hero__content {
        order: 1;
    }

    .hero__features {
        order: 3;
        flex-direction: column;
        gap: 8px;
        margin-top: 16px;
    }

    .feature {
        gap: 12px;
        padding: 14px 16px;
    }

    .feature__text {
        font-size: 14px;
        line-height: 20px;
    }

    /* --- Примеры авто --- */
    .examples {
        padding-top: 48px;
    }

    .examples .section-title {
        margin-bottom: 24px;
    }

    .slider__viewport {
        overflow-x: auto;
        margin: 0 -16px;
        padding: 0 16px;
        scroll-snap-type: x mandatory;
        scroll-padding: 0 16px;
        scrollbar-width: none;
    }

    .slider__viewport::-webkit-scrollbar {
        display: none;
    }

    .slider__track {
        gap: 12px;
        transform: none !important;
    }

    .car-card {
        flex: 0 0 280px;
        scroll-snap-align: start;
    }

    .car-card__image {
        height: 210px;
    }

    .car-card__body {
        gap: 20px;
        padding: 20px 20px 24px;
    }

    .car-card__title {
        min-height: 0;
        font-size: 16px;
        line-height: 24px;
    }

    .spec {
        gap: 4px;
        font-size: 14px;
        line-height: 20px;
    }

    .d-desk {
        display: none;
    }

    .d-mob {
        display: inline;
    }

    .spec__line {
        margin-bottom: 5px;
    }



    .car-card__prices {
        flex-direction: column;
        gap: 8px;
    }

    .car-card__price,
    .car-card__benefit {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
        width: 100%;
        font-size: 14px;
        line-height: 20px;
    }

    .car-card__price b {
        font-size: 16px;
        line-height: 24px;
    }

    .car-card__benefit {
        margin-top: -12px;
    }

    .car-card__benefit b {
        font-size: 20px;
        line-height: 26px;
    }

    /* --- Цифры --- */
    .stats {
        width: calc(100% - 32px);
        max-width: 600px;
        margin: 48px auto 0;
        padding: 48px 20px;
    }

    .stats__list {
        flex-direction: column;
        width: auto;
        max-width: none;
    }

    .stat {
        gap: 12px;
    }

    .stat__value b {
        font-size: 40px;
        line-height: 56px;
    }

    .stat__value span {
        font-size: 20px;
        line-height: 26px;
    }

    .stat__text {
        font-size: 14px;
        line-height: 20px;
    }

    /* --- Отзывы --- */
    .reviews {
        padding-top: 48px;
    }

    .reviews__grid {
        overflow-x: auto;
        margin: 0 -16px;
        padding: 0 16px;
        gap: 12px;
        scroll-snap-type: x mandatory;
        scroll-padding: 0 16px;
        scrollbar-width: none;
    }

    .reviews__grid::-webkit-scrollbar {
        display: none;
    }

    .reviews__col {
        flex: 0 0 280px;
        gap: 12px;
        scroll-snap-align: start;
    }

    .deal {
        gap: 16px;
    }

    .deal__image {
        height: 330px;
    }

    .deal__info {
        gap: 4px;
    }

    .deal__title {
        font-size: 16px;
        line-height: 24px;
    }

    .deal__city,
    .deal__benefit span {
        font-size: 14px;
        line-height: 20px;
    }

    .deal__benefit {
        gap: 4px;
    }

    .deal__benefit b {
        font-size: 20px;
        line-height: 26px;
    }

    .review {
        gap: 12px;
        padding: 20px;
    }

    .review__name {
        font-size: 16px;
        line-height: 24px;
    }

    .review__stars img {
        width: 16px;
        height: 16px;
    }

    .review__text {
        font-size: 12px;
        line-height: 18px;
    }

    .reviews__more {
        gap: 12px;
        margin-top: 24px;
    }

    .reviews__more-title {
        font-size: 14px;
        line-height: 20px;
    }

    .reviews__ratings {
        flex-direction: column;
        gap: 12px;
    }

    .rating-card {
        align-items: center;
        gap: 8px;
        padding: 20px;
        text-align: center;
    }

    .rating-card__row b {
        font-size: 20px;
        line-height: 26px;
    }

    .rating-card__stars img {
        width: 16px;
        height: 16px;
    }

    .rating-card__text {
        font-size: 14px;
        line-height: 20px;
    }

    /* --- Лента фото --- */
    .strip {
        padding-top: 48px;
    }

    .strip__track {
        animation-duration: 40s;
    }

    .strip__group {
        gap: 12px;
        padding-right: 12px;
    }

    .strip__photo {
        border-radius: 16px;
    }

    .strip__photo--t {
        width: 220px;
        height: 296px;
    }

    .strip__photo--s {
        width: 171px;
        height: 230px;
    }

    /* --- Акция --- */
    .promo {
        padding-top: 48px;
    }

    .promo__inner {
        display: flex;
        flex-direction: column;
        min-height: 0;
    }

    .promo__content {
        width: auto;
        gap: 24px;
        padding-top: 0;
    }

    .promo__text {
        gap: 16px;
    }

    .promo__title {
        font-family: var(--font-accent);
        font-size: 36px;
        line-height: 44px;
    }

    .promo__title .accent {
        display: block;
    }

    .promo__timer {
        font-size: 48px;
        line-height: 56px;
    }

    .promo__visual {
        position: relative;
        display: block;
        order: 2;
        height: 395px;
        margin-top: 20px;
    }

    .promo__car {
        top: 35px;
        left: 50%;
        right: auto;
        width: 382px;
        height: 306px;
        transform: translateX(-50%);
    }

    .promo__photo {
        top: 0;
        left: 50%;
        right: auto;
        width: 244px;
        height: 395px;
        transform: translateX(-50%);
    }

    .manager-card {
        position: relative;
        top: 0;
        left: 0;
        right: auto;
        order: 3;
        gap: 16px;
        width: auto;
        margin-top: -50px;
        padding: 20px;
    }

    .manager-card__name {
        font-size: 18px;
        line-height: 24px;
    }

    .manager-card__desc {
        font-size: 12px;
        line-height: 18px;
    }

    /* --- Как проходит работа --- */
    .steps {
        padding-top: 48px;
    }

    .steps__grid {
        grid-template-columns: minmax(0, 1fr);
        grid-auto-rows: auto;
        gap: 12px;
    }

    .step {
        display: grid;
        grid-template-columns: 56px minmax(0, 1fr);
        grid-template-rows: auto auto;
        column-gap: 20px;
        row-gap: 8px;
        align-items: center;
        padding: 20px;
    }

    .step__icon {
        grid-row: span 2;
        align-self: center;
    }

    .step__title,
    .step--accent .step__title {
        align-self: end;
        font-size: 18px;
        line-height: 24px;
    }

    .br-desk {
        display: none;
    }

    .br-mob {
        display: inline;
    }

    .step__num {
        align-self: start;
        font-size: 14px;
        line-height: 20px;
    }

    .step--accent {
        grid-column: auto;
    }

    .step--accent .step__title span {
        color: inherit;
    }

    /* --- Форма --- */
    .lead {
        padding-top: 188px;
    }

    .lead__box {
        display: block;
        min-height: 0;
        padding: 155px 20px 20px;
    }

    .lead__catalog {
        top: -142px;
        left: -8px;
        width: 333px;
        height: 268px;
    }

    .lead__badge {
        top: 0;
        left: 194px;
        width: 120px;
        height: 120px;
    }

    .lead__badge-text {
        font-size: 13px;
    }

    .lead__badge-icon {
        width: 26px;
        height: 26px;
    }

    .lead__form {
        width: auto;
        gap: 24px;
    }

    .lead__head {
        gap: 12px;
    }

    .lead__title {
        font-size: 20px;
        line-height: 26px;
    }

    .lead__subtitle {
        font-size: 14px;
        line-height: 20px;
    }

    .lead__fields {
        gap: 12px;
    }

    .field {
        height: 58px;
        font-size: 14px;
    }

    .checkbox {
        align-items: flex-start;
        font-size: 12px;
        line-height: 18px;
    }

    /* --- О компании --- */
    .about {
        padding-top: 48px;
    }

    .about__text {
        gap: 24px;
    }

    .about__title {
        font-size: 22px;
        line-height: 26px;
    }

    .about__desc {
        font-size: 14px;
        line-height: 20px;
    }

    .about__team {
        height: auto;
        margin-top: 22px;
        padding-top: 244px;
    }

    .about__photo {
        width: 817px;
        height: 320px;
    }

    .about__facts {
        flex-direction: column;
        gap: 8px;
        margin: 0;
    }

    .fact {
        gap: 8px;
        padding: 20px;
    }

    .fact b {
        font-size: 22px;
        line-height: 26px;
    }

    .fact span {
        font-size: 14px;
        line-height: 20px;
    }

    /* --- Соцсети --- */
    .social {
        padding-top: 48px;
    }

    .social__head {
        gap: 16px;
        margin-bottom: 24px;
    }

    .social__head .section-title {
        max-width: 260px;
    }

    .social__topics {
        display: grid;
        grid-template-columns: 1fr 1fr;
        grid-template-rows: auto auto;
        grid-auto-flow: column;
        gap: 12px 16px;
        width: 100%;
    }

    .social__topics li {
        align-items: flex-start;
        gap: 12px;
        font-size: 16px;
        line-height: 24px;
    }

    .social__topics .feature__icon {
        padding: 10px;
    }

    .social__cards {
        flex-wrap: wrap;
        gap: 12px;
    }

    .social-card {
        flex: 1 1 calc(50% - 7px);
        min-width: 0;
        height: 215px;
        padding: 20px;
    }

    .social-card--wide {
        order: 3;
        flex-basis: 100%;
    }

    .social-card__name {
        font-size: 18px;
        line-height: 24px;
    }

    .social-card__name svg {
        display: none;
    }

    .social-card__placeholder {
        top: 45%;
    }

    /* --- Подвал --- */
    .footer {
        padding-top: 48px;
    }

    .footer__inner {
        gap: 32px;
        padding-bottom: 32px;
    }

    .footer__contacts-block {
        gap: 24px;
    }

    .footer__map {
        height: 220px;
    }

    .footer__contacts {
        flex-direction: column;
        gap: 24px;
    }

    .footer__contact--address {
        width: auto;
    }

    .footer__label {
        font-size: 14px;
        line-height: 20px;
    }

    .footer__value {
        font-size: 16px;
        line-height: 24px;
    }

    .footer__actions {
        flex-direction: column;
        align-items: stretch;
        gap: 32px;
        width: 100%;
        margin-left: 0;
    }

    .footer .nav {
        flex-wrap: wrap;
        justify-content: center;
        gap: 18px 24px;
    }

    .nav__link {
        font-size: 14px;
        line-height: 18px;
    }

    .footer .nav__link--promo img {
        width: 18px;
        height: 18px;
    }

    .footer__legal {
        gap: 16px;
    }

    .footer__note {
        font-size: 12px;
        line-height: 18px;
    }

    .footer__copyright {
        font-size: 14px;
        line-height: 20px;
    }

    .footer__requisites {
        flex-direction: column;
        gap: 4px;
        font-size: 12px;
        line-height: 18px;
    }
}

/* ===== Модальное окно заявки ===== */
.modal {
    position: fixed;
    inset: 0;
    z-index: 200;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 16px;
    opacity: 0;
    visibility: hidden;
    transition: opacity .25s, visibility .25s;
}

.modal.is-open {
    opacity: 1;
    visibility: visible;
}

.modal__overlay {
    position: absolute;
    inset: 0;
    background: rgba(20, 20, 20, .6);
}

.modal__dialog {
    position: relative;
    width: 100%;
    max-width: 520px;
    max-height: calc(100vh - 32px);
    overflow-y: auto;
    padding: 48px 40px 40px;
    border-radius: 24px;
    background: var(--white);
    transform: translateY(16px);
    transition: transform .25s;
}

.modal.is-open .modal__dialog {
    transform: none;
}

.modal__close {
    position: absolute;
    top: 16px;
    right: 16px;
    display: flex;
    padding: 8px;
    border: 0;
    border-radius: 50%;
    background: var(--fon);
    color: var(--black);
    cursor: pointer;
    transition: background .2s;
}

.modal__close:hover {
    background: #e7e9ec;
}

body.modal-open {
    overflow: hidden;
}

.callback {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.callback__title {
    padding-right: 32px;
    font-family: var(--font-accent);
    font-weight: 700;
    font-size: 24px;
    line-height: 32px;
}

.callback__fields {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.field--light {
    background: var(--fon);
}

.field--light:focus,
.field--light:focus-within {
    box-shadow: 0 0 0 2px var(--blue);
}

.field.is-invalid {
    box-shadow: 0 0 0 2px #ff3b30;
}

.callback__contact {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin: 0;
    padding: 0;
    border: 0;
}

.callback__contact legend {
    margin-bottom: 12px;
    padding: 0;
    font-weight: 600;
    font-size: 16px;
    line-height: 24px;
}

.choice,
.messengers {
    display: flex;
    gap: 12px;
}

.choice__item,
.messengers__item {
    flex: 1;
    cursor: pointer;
}

.choice__item input,
.messengers__item input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.choice__item span,
.messengers__item span {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    height: 52px;
    padding: 0 16px;
    border: 2px solid var(--fon);
    border-radius: 8px;
    background: var(--fon);
    font-weight: 600;
    font-size: 16px;
    line-height: 22px;
    transition: background .2s, border-color .2s, color .2s;
}

.choice__item input:checked + span {
    border-color: var(--blue);
    background: var(--blue);
    color: var(--white);
}

.messengers__item span {
    height: 48px;
    background: var(--white);
    border-color: var(--line);
    font-size: 15px;
}

.messengers__item input:checked + span {
    border-color: var(--blue);
    color: var(--blue);
}

.choice__item input:focus-visible + span,
.messengers__item input:focus-visible + span {
    outline: 2px solid var(--green);
    outline-offset: 2px;
}

.callback__submit {
    width: 100%;
    border: 0;
    cursor: pointer;
}

.callback__submit:disabled {
    opacity: .6;
    cursor: default;
}

.checkbox--light .checkbox__box {
    background: var(--fon);
}

.checkbox--light a {
    color: var(--blue);
}

.checkbox--light input:checked + .checkbox__box {
    background-color: var(--blue);
    background-image: url("img/check.svg");
}

.callback__done {
    display: flex;
    flex-direction: column;
    gap: 12px;
    font-size: 16px;
    line-height: 24px;
}

@media (max-width: 1099px) {
    .modal__dialog {
        padding: 48px 20px 24px;
        border-radius: 20px;
    }

    .callback {
        gap: 20px;
    }

    .callback__title {
        font-size: 18px;
        line-height: 24px;
    }

    .choice__item span,
    .messengers__item span {
        height: 48px;
        font-size: 14px;
    }
}

/* ===== Сообщение «спасибо» в форме каталога ===== */
.lead__done {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 12px;
    width: 508px;
}

/* ===== Карта (статичная картинка без рекламы) ===== */
.footer__map-link {
    position: relative;
    display: block;
    height: 100%;
}

.footer__map-link img {
    width: 100%;
    height: 100%;
    max-width: none;
    object-fit: cover;
}

.footer__map-btn {
    position: absolute;
    left: 24px;
    bottom: 24px;
    padding: 10px 16px;
    border-radius: 8px;
    background: var(--white);
    box-shadow: 0 4px 16px rgba(20, 20, 20, .12);
    font-weight: 600;
    font-size: 14px;
    line-height: 20px;
    transition: color .2s;
}

.footer__map-link:hover .footer__map-btn {
    color: var(--blue);
}

@media (max-width: 1099px) {
    .lead__done {
        width: auto;
    }

    .footer__map-btn {
        left: 12px;
        bottom: 12px;
        padding: 8px 12px;
        font-size: 12px;
        line-height: 16px;
    }
}

/* ===== Страница политики ===== */
.page-doc {
    background: var(--white);
}

.doc-header {
    border-bottom: 1px solid var(--line);
}

.doc-header__inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    padding: 24px 0;
}

.doc {
    max-width: 860px;
    padding: 64px 0 96px;
}

.doc__title {
    margin-bottom: 40px;
    font-family: var(--font-accent);
    font-weight: 700;
    font-size: 40px;
    line-height: 52px;
}

.doc__body h2 {
    margin: 40px 0 16px;
    font-family: var(--font-accent);
    font-weight: 700;
    font-size: 24px;
    line-height: 32px;
}

.doc__body h2:first-child {
    margin-top: 0;
}

.doc__body p,
.doc__body li {
    margin: 0 0 16px;
    font-size: 16px;
    line-height: 26px;
}

.doc__body a {
    color: var(--blue);
    text-decoration: underline;
    word-break: break-word;
}

.doc-footer {
    padding: 32px 0;
    border-top: 1px solid var(--line);
    font-size: 14px;
    line-height: 22px;
    color: var(--gray);
    text-align: center;
}

@media (max-width: 1099px) {
    .doc {
        padding: 32px 0 64px;
    }

    .doc__title {
        margin-bottom: 24px;
        font-size: 20px;
        line-height: 28px;
        overflow-wrap: anywhere;
    }

    .doc-header__inner .logo {
        width: 140px;
    }

    .doc__body h2 {
        margin-top: 32px;
        font-size: 18px;
        line-height: 24px;
    }

    .doc__body p,
    .doc__body li {
        font-size: 14px;
        line-height: 22px;
    }

    .doc-header__inner .link-dotted {
        font-size: 12px;
    }

    .doc-footer {
        font-size: 12px;
        line-height: 18px;
    }
}

/* ===== Соцсети: скриншоты каналов ===== */
.social-card {
    overflow: hidden;
    justify-content: center;
    border: 1px solid var(--line);
    background: var(--white);
}

.social-card::after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 117px;
    background: linear-gradient(to bottom, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, .88) 55%, #fff 100%);
    pointer-events: none;
}

.social-card:hover {
    background: var(--white);
}

.social-card__shot {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    max-width: none;
    object-fit: cover;
    object-position: top center;
    transition: transform .4s ease;
}

.social-card:hover .social-card__shot {
    transform: scale(1.03);
}

.social-card__name {
    position: relative;
    z-index: 1;
    color: var(--blue);
}

.social-card--wide .social-card__shot {
    height: auto;
    aspect-ratio: 636 / 403;
}

@media (max-width: 1099px) {
    .social-card::after {
        height: 90px;
    }

}

/* ===== Кликабельный рейтинг в шапке ===== */
a.rating {
    display: block;
    transition: background .2s, box-shadow .2s;
}

a.rating:hover {
    background: #eceef1;
}

a.rating:hover .rating__text {
    color: var(--blue);
}
