@import url('reset.css');

@font-face {
    font-family: 'Golos Text';
    src: url('../fonts/golostext_regular.ttf') format('truetype');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Golos Text';
    src: url('../fonts/golostext_medium.ttf') format('truetype');
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Golos Text';
    src: url('../fonts/golostext_demibold.ttf') format('truetype');
    font-weight: 600;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Golos Text';
    src: url('../fonts/golostext_bold.ttf') format('truetype');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Golos Text';
    src: url('../fonts/golostext_black.ttf') format('truetype');
    font-weight: 900;
    font-style: normal;
    font-display: swap;
}


:root {
    --font-main: "Golos Text", sans-serif;

    --color-blue: #E9F4FB;
    --color-gray: #F5F5F5;
    --color-light-blue: #F4F8FB;
    --color-light: #FFFFFF;
    --color-dark-blue: #BAC7CF;
    --color-red: #E31E24;
    --color-red-hover: #B2202F;

    --color-text-black: #303030;
    --color-text-white: #FFFFFF;
    --color-text-grey: #5C5C5C;

}

html,
body {
    height: 100%;
}

body {
    background-color: var(--color-light);
}

.page-wrapper {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.page-content {
    flex: 1 0 auto;
}

.error-page,
.static-page {
    flex: 1 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.error-page .container,
.static-page .container {
    width: 100%;
}

.error-page__code {
    font-family: var(--font-main);
    font-weight: 700;
    font-size: 48px;
    line-height: 1.2;
    margin-bottom: 8px;
}

.error-page__message {
    font-family: var(--font-main);
    font-size: 20px;
    line-height: 150%;
    color: var(--color-text-grey);
    max-width: 420px;
    margin: 0 auto 16px;
}

.error-page .btn-form {
    width: auto;
    min-width: 220px;
    padding: 0 32px;
    margin-bottom: 0;
    text-decoration: none;
}

.btn-error {
    margin-top: 8px;
}

/* ХЕДЕР */
.sect-b {
    background-color: var(--color-gray);
}

div.sect-b {
    padding: 80px 0;
}

.sect-lb {
    background-color: var(--color-light-blue);
}

.wrapper-header {
    max-width: 1160px;
    margin: 0 auto;
    padding: 17px 0 8px;
    border-bottom: 1px solid var(--color-dark-blue);
}

.header-nav-center {
    gap: 25px;
}

.header-item {
    padding: 0;
    font-family: var(--font-main);
    font-weight: 400;
    font-size: 15px;
    line-height: 150%;
    color: var(--color-text-black);
    border-bottom: 1px solid transparent;
    transition: all 0.3s ease;
}

.header-item:hover {
    color: var(--color-text-black);
    border-bottom: 1px solid var(--color-text-black);
}

.header-item:focus {
    border-bottom-color: var(--color-text-black);
}

.header-icon {
    width: 40px;
    height: 40px;
    transform-origin: center;
}

.header-icon,
.header-icon * {
    fill: transparent;
    stroke: #1A1A18;
    transition: all 0.3s ease;
}

.header-item:hover .header-icon, /* иконки хедера */
.header-item:focus .header-icon {
    fill: #1A1A18;
    transform: scale(1.3);
}

.header-item:hover .icon-auto, /* иконка подбора */
.header-item:focus .icon-auto {
    transform: scale(1.15);
}

.header-item:hover .header-icon *, /* иконки хедера */
.header-item:focus .header-icon * {
    fill: #1A1A18;
    stroke: #fff;
}

.header-item:hover .icon-auto *, /* иконка подбора */
.header-item:focus .icon-auto * {
    stroke-width: 0;
}

.icon-auto path {
    stroke-width: 7;
}

.header-icon-arrow {
    width: 8.8px;
    height: 4px;
}

.header-item-city-wrapper {
    position: relative;
}

/* Плашка "Ваш город ...?" под выбором города в хедере (десктоп) */
.city-confirm-banner {
    position: absolute;
    top: 100%;
    right: 0;
    margin-top: 8px;
    padding: 12px 16px;
    border-radius: 16px;
    background: #ffffff;
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.12);
    min-width: 260px;
    max-width: 320px;
    font-family: var(--font-main);
    font-size: 14px;
    line-height: 140%;
    color: var(--color-text-black);
    display: none;
    z-index: 1100;
}

.city-confirm-banner--visible {
    display: block;
}

.city-confirm-banner__text {
    margin-bottom: 10px;
}

.city-confirm-banner__city {
    font-weight: 600;
}

.city-confirm-banner__actions {
    display: flex;
    gap: 8px;
}

.city-confirm-banner__btn {
    flex: 1 1 0;
    height: 36px;
    border-radius: 999px;
    border: none;
    font-family: var(--font-main);
    font-weight: 500;
    font-size: 13px;
    line-height: 120%;
    text-transform: uppercase;
    cursor: pointer;
    transition: background 0.15s ease, box-shadow 0.15s ease, transform 0.15s ease;
}

.city-confirm-banner__btn--primary {
    background: var(--color-red);
    color: var(--color-text-white);
}

.city-confirm-banner__btn--secondary {
    background: var(--color-gray);
    color: var(--color-text-black);
}

.city-confirm-banner__btn:hover,
.city-confirm-banner__btn:focus {
    outline: none;
    transform: translateY(-1px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.12);
}
/* ХЕДЕР */

/* МОБИЛЬНЫЙ ХЕДЕР И НАВИГАЦИЯ */
.mobile-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 21px 20px 10px;
    border-bottom: 1px solid var(--color-dark-blue);
}

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

.mobile-header__logos--avito {
    gap: 0;
}

.mobile-header__logo img {
    display: block;
    height: 40px;
}

.mobile-header__logo--brand img {
    height: 28px;
}

.mobile-header__logo--avito img {
    height: 18px;
    width: auto;
}

.mobile-header__divider {
    display: inline-block;
    width: 1px;
    height: 20px;
    background: #BAC7CF;
    border-radius: 2px;
}

.mobile-header__city {
    display: flex;
    align-items: center;
    gap: 8px;
    background: transparent;
    border: none;
    font-family: var(--font-main);
    font-size: 16px;
    line-height: 160%;
    color: var(--color-text-black);
    cursor: pointer;

}

.mobile-header__city:focus {
    outline: none;
}

.mobile-header__city-icon {
    display: none;
}

.mobile-header__city-arrow img {
    width: 9px;
    height: 5px;
}

.mobile-bottom-nav {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background: #ffffff;
    border-top-left-radius: 20px;
    border-top-right-radius: 20px;
    border-bottom-left-radius: 0;
    border-bottom-right-radius: 0;
    box-shadow: 0 -6px 20px rgba(24, 38, 56, 0.12);
    display: flex;
    justify-content: space-around;
    /*grid-template-columns: repeat(4, 1fr);*/
    align-items: center;
    padding: 14px 8px 14px;
    z-index: 1050;
}

.mobile-bottom-nav__item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 8px 0;
    background: transparent;
    border: none;
    font-family: var(--font-main);
    font-size: 12px;
    line-height: 1.2;
    color: var(--color-text-black);
    text-decoration: none;
    cursor: pointer;
}

.mobile-bottom-nav__item:focus {
    outline: none;
}

.mobile-bottom-nav__icon img {
    width: 40px;
    height: 40px;
}

.mobile-bottom-nav__burger {
    position: relative;
    display: block;
    width: 26px;
    height: 40px;
}

.mobile-bottom-nav__burger::before {
    content: "";
    position: absolute;
    top: 50%;
    left: 0;
    width: 26px;
    height: 2px;
    background: var(--color-text-black);
    border-radius: 2px;
    transform: translateY(-50%);
    box-shadow: 0 -6px 0 var(--color-text-black), 0 6px 0 var(--color-text-black);
}

.modal-open .mobile-bottom-nav {
    display: none !important;
}

@media (max-width: 992px) {
    body {
        padding-bottom: 96px;
        padding-top: 72px; /* высота фиксированной мобильной шапки */
    }

    body.hide-site-layout {
        padding-top: 0;
        padding-bottom: 0;
    }

    .mobile-header {
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        z-index: 1040; /* ниже модалок, выше контента */
        background-color: var(--color-gray);
        max-width: 100%;
    }
}

@media (min-width: 992px) {
    .header {
        position: sticky;
        top: 0;
        z-index: 1030;
    }

    .mobile-header,
    .mobile-bottom-nav {
        display: none;
    }
}

.mobile-burger-modal .modal-dialog {
    margin: 0;
    height: 100%;
    display: flex;
    align-items: center;
}

.mobile-burger-modal__content {
    width: 100%;
    border: none;
    border-radius: 32px;
    background: #ffffff;
    padding: 24px 24px 32px;
    display: flex;
    flex-direction: column;
    max-height: 100%;
    box-shadow: 0 16px 48px rgba(24, 38, 56, 0.16);
}

.mobile-burger-modal__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.mobile-burger-modal__title {
    font-family: var(--font-main);
    font-size: 20px;
    font-weight: 600;
    color: var(--color-text-black);
}

.mobile-burger-modal__close {
    position: relative;
    width: 32px;
    height: 32px;
    border: none;
    background: transparent;
    cursor: pointer;
}

.mobile-burger-modal__close::before,
.mobile-burger-modal__close::after {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    width: 20px;
    height: 2px;
    background: var(--color-text-black);
    border-radius: 2px;
}

.mobile-burger-modal__close::before {
    transform: translate(-50%, -50%) rotate(45deg);
}

.mobile-burger-modal__close::after {
    transform: translate(-50%, -50%) rotate(-45deg);
}

.mobile-burger-modal__body {
    flex: 1;
    overflow-y: auto;
}

.mobile-burger-modal__nav {
    margin: 0;
    padding: 0;
}

.mobile-burger-modal__link {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 0;
    font-family: var(--font-main);
    font-size: 16px;
    line-height: 1.3;
    color: var(--color-text-black);
    text-decoration: none;
}

.mobile-burger-modal__link:hover,
.mobile-burger-modal__link:focus {
    color: var(--color-text-black);
    text-decoration: none;
}
.mobile-burger-modal__link-icon {
    min-width: 40px;
    display: flex;
    justify-content: center;
}

.mobile-burger-modal__link-icon img {
    width: 40px;
    height: 40px;
}

.mobile-burger-modal__contacts {
    padding-top: 20px;
    margin-top: 8px;
    border-top: 1px solid rgba(186, 199, 207, 0.6);
}

.mobile-burger-modal__contacts-list {
    margin: 16px 0 0;
    padding: 0;
    display: grid;
    gap: 12px;
}

.mobile-burger-modal__contacts-text {
    font-family: var(--font-main);
    font-size: 14px;
    color: var(--color-text-black);
}

.mobile-burger-modal__socials {
    margin-top: 24px;
}

.mobile-burger-modal__socials-title {
    display: block;
    margin-bottom: 12px;
    font-family: var(--font-main);
    font-size: 14px;
    font-weight: 500;
    color: var(--color-text-black);
}

.mobile-burger-modal__socials-list {
    margin: 0;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.mobile-burger-modal__socials-list a {
    font-family: var(--font-main);
    font-size: 14px;
    color: var(--color-text-black);
    text-decoration: none;
}

.mobile-burger-modal__socials-list a:hover,
.mobile-burger-modal__socials-list a:focus {
    text-decoration: underline;
}

.mobile-burger-modal__contacts-item {
    display: flex;
    align-items: flex-start;
    gap: 25px;
    padding: 9px 9px 9px 0;
}

.mobile-burger-modal__contacts-item-socials {
    display: flex;
    gap: 12px;
}

.mobile-burger-modal__contacts-icon img {
    width: 22px;
    height: 22px;
}

.mobile-burger-modal__contacts-text,
.mobile-burger-modal__contacts-text a {
    font-family: var(--font-main);
    font-weight: 600;
    font-size: 16px;
    line-height: 160%;
    text-decoration: none;
    color: var(--color-text-black);
}

.mobile-burger-modal__contacts-text a:hover,
.mobile-burger-modal__contacts-text a:focus {
    text-decoration: underline;
}

.mobile-burger-modal__socials-title {
    font-size: 16px;
    font-weight: 600;
    line-height: 160%;
}

.mobile-burger-modal__socials-icons {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
}

.mobile-burger-modal__socials-icons img {
    display: block;
}

.mobile-burger-modal__routes-icons {
    display: flex;
    align-items: center;
    gap: 20px;
}

.mobile-burger-modal__routes-icons img {
    display: block;
}

@media (min-width: 768px) {
    .mobile-burger-modal .modal-dialog {
        padding: 32px 40px;
    }

    .mobile-burger-modal__content {
        padding: 32px 36px 40px;
        border-radius: 40px;
    }
}

@media (min-width: 992px) {
    .mobile-burger-modal .modal-dialog {
        max-width: 480px;
    }
}

/* МОБИЛЬНЫЙ ХЕДЕР И НАВИГАЦИЯ */

/* МОДАЛКА выбора городов*/
.city-modal .modal-dialog {
    max-width: 960px;
}

.city-modal__content {
    border-radius: 28px;
    border: none;
    padding: 32px 32px 40px;
    background: #fff;
}

.city-modal__header {
    border: none;
    padding: 0 0 24px;
    justify-content: space-between;
    align-items: flex-start;
}

.city-modal__title {
    font-family: var(--font-main);
    font-size: 28px;
    font-weight: 600;
    line-height: 1.3;
    margin: 0;
    color: var(--color-text-black);
}

.city-modal__body {
    padding: 0;
}

.city-modal__search-group {
    display: flex;
    align-items: center;
    gap: 8px;
    border-radius: 16px;
    padding: 10px 14px;
    background: var(--color-light-blue);
}

.city-modal__search-input {
    flex: 1 1 auto;
    border: none;
    background: transparent;
    padding: 4px;
    font-size: 16px;
}

.city-modal__search-input:focus {
    box-shadow: none;
}

.city-modal__search-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    background: transparent;
    border: none;
    font-size: 18px;
    color: #8E8E8E;
    padding: 0;
}

.city-modal__search-clear {
    display: none;
    align-items: center;
    justify-content: center;
    background: transparent;
    border: none;
    padding: 0;
    font-size: 18px;
    color: #8E8E8E;
    transition: color 0.2s ease;
}

.city-modal__search-clear:hover,
.city-modal__search-clear:focus {
    color: #4e4e4e;
    outline: none;
}

.city-modal__search-clear.is-visible {
    display: flex;
}

.city-modal__list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 12px 24px;
    max-height: 300px;
    overflow-y: auto;
    padding: 0;
    margin: 0;
}

.city-modal__list li {
    display: flex;
    justify-content: center;
}

.city-modal__city-btn {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    width: 320px;
    max-width: 100%;
    text-align: left;
    padding: 12px 18px;
    border-radius: 16px;
    border: 1px solid transparent;
    background: transparent;
    font-family: var(--font-main);
    font-size: 16px;
    color: var(--color-text-black);
    transition: all 0.2s ease;
}

.city-modal__city-label {
    flex: 1 1 auto;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.city-modal__city-check {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    display: none;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    color: #1a1a1a;
}

.city-modal__city-btn:hover,
.city-modal__city-btn:focus {
    border-color: var(--color-dark-blue);
    background: rgba(233, 244, 251, 0.6);
    outline: none;
}

.city-modal__city-btn.is-active {
    background: #e5f1fb;
    border-color: #9bc2e2;
}

.city-modal__city-btn.is-active .city-modal__city-check {
    display: flex;
}

.city-modal__city-btn.is-active .city-modal__city-check::before {
    content: "\2713";
}

.city-modal__footer {
    border: none;
    padding: 32px 0 0;
    justify-content: center;
}

.city-modal__submit {
    min-width: 220px;
    padding: 14px 24px;
    border-radius: 24px;
    background: var(--color-red);
    color: var(--color-text-white);
    font-family: var(--font-main);
    font-size: 18px;
    font-weight: 600;
    border: none;
    transition: background 0.2s ease;
}

.city-modal__submit:hover,
.city-modal__submit:focus {
    background: var(--color-red-hover);
    color: var(--color-text-white);
    outline: none;
}

@media (max-width: 576px) {
    .city-modal__content {
        padding: 24px 20px 32px;
        border-radius: 20px;
    }

    .city-modal__title {
        font-size: 24px;
    }

    .city-modal__list {
        grid-template-columns: 1fr;
    }

    .city-modal__city-btn {
        width: 100%;
    }
}

/* МОДАЛКА выбора городов*/

/* Главный экран */
.hero-section {
    padding: 35px 0;
    border-bottom-left-radius: 60px;
    border-bottom-right-radius: 60px;
    overflow: visible;
}

.hero-section .row {
    overflow: visible;
}

.wrapper-main {
    max-width: 1160px;
    margin: 0 auto;
}

.hero-section__title {
    font-family: var(--font-main);
    font-weight: 500;
    font-size: 50px;
    line-height: 130%;
    color: var(--color-text-black);
    padding-bottom: 20px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
}

.hero-section__title-text {
    display: block;
}

.hero-section__city-badge {
    display: inline-block;
    padding: 10px 22px;
    background: #303030;
    border-radius: 20px 20px 20px 4px;
    color: var(--color-text-white);
    font-family: var(--font-main);
    font-weight: 500;
    font-size: 50px;
    line-height: 130%;
    white-space: nowrap;
}

.hero-section__benefits {
    font-family: var(--font-main);
    font-style: normal;
    font-weight: 400;
    font-size: 20px;
    line-height: 150%;
    color: var(--color-text-grey);
    padding-bottom: 30px;
    list-style: disc;
}

 .hero-section--error .hero-section__image img {
     width: 100%;
     height: auto;
     max-width: 745px;
     max-height: 523px;
     object-fit: contain;
 }

/* Hero slider — стопка из 3 реальных фото */
.hero-slider {
    display: block;
    width: 100%;
    max-width: 600px;
    margin-left: auto;
    overflow: visible;
}

.hero-slider__stage {
    position: relative;
    width: 100%;
    display: flex;
    justify-content: flex-end;
    overflow: visible;
    padding: 0;
    box-sizing: border-box;
}

.hero-section__image {
    overflow: visible;
}

.hero-slider__card {
    position: relative;
    width: var(--hero-card-w);
    max-width: 100%;
    height: calc(var(--hero-card-h) + var(--hero-layer-offset) * 2);
    margin-left: auto;
    overflow: visible;
    --hero-card-w: 520px;
    --hero-card-h: 390px;
    --hero-layer-offset: 28px;
    --hero-stack-scale-1: 0.93;
    --hero-stack-scale-2: 0.86;
    --hero-anim-duration: 0.75s;
    --hero-anim-ease: cubic-bezier(0.34, 1.15, 0.64, 1);
}

.hero-slider__slides {
    position: absolute;
    left: 0;
    top: 0;
    width: var(--hero-card-w);
    max-width: 100%;
    height: var(--hero-card-h);
    overflow: visible;
}

.hero-slider__slide {
    position: absolute;
    left: 0;
    top: 0;
    box-sizing: border-box;
    width: var(--hero-card-w);
    max-width: 100%;
    height: var(--hero-card-h);
    border: 2px solid #C5C5C5;
    border-radius: 20px;
    background: #F5F5F5;
    box-shadow: 0 0 20px rgba(143, 167, 181, 0.2);
    overflow: hidden;
    pointer-events: none;
    z-index: 1;
    opacity: 0;
    visibility: hidden;
    transform: translate(calc(var(--hero-layer-offset) * 2.5), calc(var(--hero-layer-offset) * 2.5)) scale(0.82);
    filter: brightness(0.88);
    transition:
        transform var(--hero-anim-duration) var(--hero-anim-ease),
        opacity 0.55s ease,
        box-shadow var(--hero-anim-duration) var(--hero-anim-ease),
        filter var(--hero-anim-duration) ease,
        visibility 0s linear var(--hero-anim-duration);
    will-change: transform, opacity;
}

.hero-slider__slide.is-instant {
    transition: none !important;
}

/* Передний слайд */
.hero-slider__slide[data-stack="0"] {
    opacity: 1;
    visibility: visible;
    z-index: 3;
    transform: translate(0, 0) scale(1);
    box-shadow: 0 0 24px rgba(143, 167, 181, 0.28);
    filter: brightness(1);
    transition:
        transform var(--hero-anim-duration) var(--hero-anim-ease),
        opacity 0.55s ease,
        box-shadow var(--hero-anim-duration) var(--hero-anim-ease),
        filter var(--hero-anim-duration) ease,
        visibility 0s linear 0s;
}

/* Средний слайд (бывшая «красная» позиция) */
.hero-slider__slide[data-stack="1"] {
    opacity: 1;
    visibility: visible;
    z-index: 2;
    transform: translate(var(--hero-layer-offset), var(--hero-layer-offset)) scale(var(--hero-stack-scale-1));
    box-shadow: 0 0 14px rgba(143, 167, 181, 0.16);
    filter: brightness(0.95);
    transition:
        transform var(--hero-anim-duration) var(--hero-anim-ease),
        opacity 0.55s ease,
        box-shadow var(--hero-anim-duration) var(--hero-anim-ease),
        filter var(--hero-anim-duration) ease,
        visibility 0s linear 0s;
}

/* Задний слайд (бывшая «тёмная» позиция) */
.hero-slider__slide[data-stack="2"] {
    opacity: 1;
    visibility: visible;
    z-index: 1;
    transform: translate(calc(var(--hero-layer-offset) * 2), calc(var(--hero-layer-offset) * 2)) scale(var(--hero-stack-scale-2));
    box-shadow: 0 0 8px rgba(143, 167, 181, 0.1);
    filter: brightness(0.9);
    transition:
        transform var(--hero-anim-duration) var(--hero-anim-ease),
        opacity 0.55s ease,
        box-shadow var(--hero-anim-duration) var(--hero-anim-ease),
        filter var(--hero-anim-duration) ease,
        visibility 0s linear 0s;
}

.hero-slider__slide[data-stack="hidden"] {
    opacity: 0;
    visibility: hidden;
    z-index: 0;
    pointer-events: none;
    transform: translate(calc(var(--hero-layer-offset) * 2.5), calc(var(--hero-layer-offset) * 2.5)) scale(0.82);
    filter: brightness(0.88);
    transition:
        transform var(--hero-anim-duration) var(--hero-anim-ease),
        opacity 0.45s ease,
        filter 0.45s ease,
        visibility 0s linear var(--hero-anim-duration);
}

.hero-slider__slide.is-interactive {
    pointer-events: auto;
}

.hero-slider__link {
    display: block;
    width: 100%;
    height: 100%;
    border-radius: inherit;
    cursor: pointer;
}

.hero-slider__img {
    display: block;
    width: 100%;
    height: 100%;
    border-radius: 18px;
    object-fit: cover;
    object-position: center;
}

.hero-slider__pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    margin: 18px;
}

.hero-slider__dot {
    width: 10px;
    height: 10px;
    padding: 0;
    border: none;
    border-radius: 50%;
    background: #686868;
    cursor: pointer;
    transition: background 0.2s ease, transform 0.2s ease;
}

.hero-slider__dot.is-active {
    background: var(--color-red);
}

.hero-slider__dot:hover {
    transform: scale(1.15);
}

.hero-slider__dot:focus-visible {
    outline: 2px solid var(--color-text-black);
    outline-offset: 2px;
}

@media (prefers-reduced-motion: reduce) {
    .hero-slider__slide,
    .hero-slider__slide[data-stack="0"],
    .hero-slider__slide[data-stack="1"],
    .hero-slider__slide[data-stack="2"],
    .hero-slider__slide[data-stack="hidden"] {
        transition: none;
    }
}

.btn-form {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 262px;
    height: 50px;
    background: var(--color-red);
    border-radius: 30px;
    margin-bottom: 30px;
    border: none;
    transition: all 0.3s ease;
}

.btn-form:hover {
    background: var(--color-red-hover);
    transform: translateY(-2px);
    box-shadow: 0 6px 14px rgba(0, 0, 0, 0.15);
}

.btn-form:active {
    transform: translateY(0);
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
}

.btn-form-text {
    font-family: var(--font-main);
    font-weight: 500;
    font-size: 16px;
    line-height: 120%;
    letter-spacing: 0.02em;
    text-transform: uppercase;
    color: var(--color-text-white);
    margin: auto 0;
}

small {
    font-family: var(--font-main);
    font-weight: 400;
    font-size: 12px;
    line-height: 150%;
    color: var(--color-text-grey);
}

.form-oferta-main {
    display: block;
    padding: 32px 0 30px 0;
    font-family: var(--font-main);
    font-weight: 400;
    font-size: 12px;
    line-height: 150%;
}

.form-oferta {
    display: block;
    padding: 32px 100px 40px 70px;
    font-family: var(--font-main);
    font-weight: 400;
    font-size: 12px;
    line-height: 150%;
}

@media (max-width: 992px) {
    .hero-section {
        padding: 35px 0 0;
    }

    .hero-section .row {
        flex-direction: column;
    }

    .hero-section__image {
        margin-top: 24px;
        margin-bottom: 0;
    }

    .hero-section__content .form-oferta-main {
        padding-top: 20px;
        padding-bottom: 0;
    }

    .wrapper-main {
        max-width: 720px;
        padding: 0 20px;
    }

    .hero-section__title {
        font-size: 26px;
        gap: 8px;
    }

    .hero-section__city-badge {
        font-size: 26px;
        padding: 6px 14px;
    }

    .hero-section__benefits {
        font-size: 16px;
        padding-bottom: 20px;
    }

    .btn-form {
        width: 100%;
        max-width: 100%;
        margin-bottom: 20px;
    }

    .hero-section__image img {
        max-width: 100%;
    }

    .hero-slider {
        max-width: 100%;
        margin-left: auto;
        margin-right: auto;
    }

    .hero-slider__stage {
        justify-content: center;
        padding: 0 16px;
    }

    .hero-slider__card {
        --hero-card-w: min(360px, 100%);
        --hero-card-h: 270px;
        --hero-layer-offset: 20px;
        --hero-stack-scale-1: 0.91;
        --hero-stack-scale-2: 0.83;
        height: calc(var(--hero-card-h) + var(--hero-layer-offset) * 2);
    }

    .hero-slider__img {
        border-radius: 16px;
    }

     .hero-section--error .hero-section__image img {
         max-width: 100%;
         max-height: none;
     }

     .hero-section--error {
         padding-bottom: 24px;
     }

     .hero-section--error .wrapper-main {
         padding-left: 20px !important;
         padding-right: 20px !important;
     }

     .hero-section--error .hero-section__content {
         text-align: center;
     }

     .hero-section--error .hero-section__benefits {
         margin-left: auto;
         margin-right: auto;
     }

     .hero-section--error .btn-form {
         margin-left: auto;
         margin-right: auto;
     }

     .hero-section--error .hero-section__image {
         text-align: center !important;
         margin-top: 16px;
     }
}

@media (max-width: 768px) {
    .wrapper-main {
        max-width: 540px;
    }
}

@media (max-width: 460px) {
    .btn-form {
        width: 100%;
    }
}

/* Главный экран */

/* Calculator */
#calculator {
    scroll-margin-top: 80px;
}

#calculator .container {
    max-width: 1160px;
}

[data-cc-root] {
    display: block;
}

.calculator-logos img {
    height: auto;
    max-height: 75px;
    width: auto;
}

.range-block {
    margin-bottom: 50px;
}

[data-cc-root] .calc-card {
    margin-right: 95px;
    padding: 40px 0 0 68px;
}

@media (min-width: 992px) {
    .calc-aside {
        border-left: 1px solid var(--color-dark-blue); /* разделительная линия */
        padding-left: 85px;
        padding-right: 2%;
    }
}

[data-cc-root] h4 {
    font-family: var(--font-main);
    font-weight: 500;
    font-size: 20px;
    line-height: 140%;
    padding-bottom: 20px;
    color: var(--color-text-black);
}

.calc-card-label {
    font-family: var(--font-main);
    font-weight: 400;
    font-size: 16px;
    line-height: 160%;
    color: var(--color-text-grey);
}

/* Крупные значения возле ползунков */
[data-cc-root] .input-group .form-control[textmode],
[data-cc-root] .input-group .form-control {
    font-family: var(--font-main);
    font-weight: 500;
    font-size: 26px;
    line-height: 120%;
    color: var(--color-text-black);
    border: none;
    background: transparent;
    box-shadow: none;
    padding: 0;
}

[data-cc-root] .input-group {
    display: flex;
    align-items: center;
}

[data-cc-root] .input-group .form-control {
    width: auto;
    flex: 0 0 auto;
    padding-right: 0;
}

[data-cc-root] .input-group {
    width: auto;
}

[data-cc-root] .input-group .input-group-text {
    border: none;
    background: transparent;
    font-weight: 700;
    font-size: 22px;
    color: var(--color-text-black);
    padding: 0 4px 0 0;
}

[data-cc-root] .input-group .btn {
    border: none;
    color: #9AA7B2;
    padding-left: 6px;
    padding-right: 6px;
}

/* Поля над ползунками (число + ₽ + инпут + иконка редактирования) */
[data-cc-root] .range-top {
    display: flex;
    align-items: center;
    gap: 12px;
    padding-bottom: 20px;
}

[data-cc-root] .range-text {
    display: flex;
    align-items: baseline;
    gap: 8px;
}

[data-cc-root] .range-text-number {
    font-family: var(--font-main);
    font-weight: 500;
    font-size: 26px;
    line-height: 120%;
    color: var(--color-text-black);
}

[data-cc-root] .range-text-number span {
    margin-left: 2px;
}

[data-cc-root] input.range-input[type="tel"] {
    display: none;
    border: none;
    background: transparent;
    box-shadow: none;
    padding: 0;
    font-family: var(--font-main);
    font-weight: 400;
    font-size: 16px;
    line-height: 150%;
    color: var(--color-text-grey);
    height: auto;
    max-width: 270px;
}

[data-cc-root] [data-cc-block].is-editing .range-text-number {
    display: none;
}

[data-cc-root] [data-cc-block].is-editing input.range-input[type="tel"] {
    display: inline-block;
    font-family: var(--font-main);
    font-weight: 500;
    font-size: 26px;
    line-height: 120%;
    color: var(--color-text-black);
    background: #ffffff;
    border: 2px solid var(--color-red);
    border-radius: 999px;
    padding: 2px 14px 4px;
    width: auto;
    min-width: 120px;
}

[data-cc-root] input.range-input[type="tel"][readonly] {
    cursor: default;
}

[data-cc-root] .range-edit {
    border: none;
    background: transparent;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #9AA7B2;
}

[data-cc-root] .range-edit.active {
    color: var(--color-text-black);
}

/* Ползунки */
[data-cc-root] .form-range {
    height: 1.5rem;
    accent-color: var(--color-red);
    background: linear-gradient(to right, var(--color-red) 0%, #cfd7de 0%);
    background-repeat: no-repeat;
    background-size: 100% 4px;
    background-position: center;
}

[data-cc-root] .form-range::-webkit-slider-runnable-track {
    height: 4px;
    background: transparent; /* внутреннюю заливку рисуем на input через background */
    border-radius: 4px;
}

[data-cc-root] .form-range::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 12px;
    height: 12px;
    background: var(--color-red);
    border-radius: 50%;
    box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.06);
}

[data-cc-root] .form-range::-moz-range-track {
    height: 4px;
    background: transparent;
    border-radius: 4px;
}

[data-cc-root] .form-range::-moz-range-thumb {
    width: 20px;
    height: 20px;
    background: var(--color-red);
    border: 3px solid #fff;
    border-radius: 50%;
}

[data-cc-root] .form-range + .d-flex span, .form-label {
    font-family: var(--font-main);
    font-weight: 400;
    font-size: 16px;
    line-height: 160%;
    color: var(--color-text-grey);
}

/* Срок кредита (селект) */
.select-year {
    margin-bottom: 47px;
}

[data-cc-root] .form-select {
    height: 54px;
    border-radius: 4px;
    border-color: #C5C5C5;
    box-shadow: none;
}

[data-cc-root] .form-select:focus {
    border-color: #d2e4f1;
    box-shadow: 0 0 0 0.2rem rgba(30, 144, 255, 0.08);
}

[data-cc-root] .form-select option {
    font-family: var(--font-main);
    font-style: normal;
    font-weight: 400;
    font-size: 16px;
    line-height: 160%;
    color: var(--color-text-black);
}

/* Итоговая сумма */
[data-cc-root] .cc-summary {
    background: var(--color-gray) !important;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 25px 40px;
    margin: 0 80px;
    border-radius: 40px;
}

[data-cc-root] .cc-summary-text {
    font-family: var(--font-main);
    font-weight: 500;
    font-size: 20px;
    line-height: 140%;
    color: var(--color-text-grey);
}

[data-cc-root] .cc-summary-sum {
    font-family: var(--font-main);
    font-weight: 500;
    font-size: 26px;
    line-height: 120%;
    color: var(--color-text-black);
}

/* Нижняя форма */
[data-cc-root] input[type="text"],
[data-cc-root] input[type="tel"] {
    height: 48px;
    border-radius: 14px;
}

[data-cc-root] .btn-warning {
    width: 375px;
    height: 50px;
    background: var(--color-red);
    border: none;
    border-radius: 30px;
    text-transform: uppercase;
    font-family: var(--font-main);
    font-weight: 500;
    font-size: 16px;
    line-height: 120%;
    letter-spacing: 0.02em;
    color: var(--color-text-black);
}

[data-cc-root] .btn-warning:hover {
    background: var(--color-red-hover);
}

/* Вертикальные логотипы */
.calculator-logos {
    height: 890px;
    overflow: hidden;
}

.calculator-logos .swiper-wrapper {
    display: flex;
    flex-direction: column;
}

.calculator-logos .swiper-slide + .swiper-slide {
    margin-top: 12px;
}

.calculator-logos .swiper-slide {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 114px;
    width: 114px;
    background: var(--color-gray);
    border-radius: 12px;
}

.calculator-logos .swiper-slide img {
    height: auto;
    max-width: 75px;
}


/* Бесшовная прокрутка */
.calculator-logos .swiper-wrapper.logos-marquee {
    animation: logos-marquee var(--logos-duration, 30s) linear infinite reverse;
}

@keyframes logos-marquee {
    from {
        transform: translateY(0);
    }
    to {
        transform: translateY(calc(-1 * var(--logos-distance, 300px)));
    }
}

.form-data {
    padding: 30px 120px 25px 68px;
}

.form-data-agreement {
    max-width: 500px;
    font-family: var(--font-main);
    font-weight: 400;
    font-size: 14px;
    line-height: 140%;
    color: var(--color-text-grey);
    padding-bottom: 31px;
}

.form-data-agreement > div {
    padding-left: 25px;
}

@media (max-width: 992px) {
    .calculator-logos .swiper-slide + .swiper-slide {
        margin-top: 0;
    }
    #calculator {
        padding: 0;
    }

    #calculator .container {
        padding-left: 0;
        padding-right: 0;
    }

    #calculator [data-cc-root].row {
        margin-left: 0;
        margin-right: 0;
    }

    .cooperate-section .container,
    .stats .container {
        padding-left: 0;
        padding-right: 0;
    }

    [data-cc-root] .calc-card {
        margin-right: 0;
        padding: 40px 32px;
    }

    [data-cc-root] h4 {
        text-align: center;
        font-size: 24px;
        padding-bottom: 32px;
    }

    .calculator-nums span {
        display: none;
    }

    .calculator-nums span:first-child,
    .calculator-nums span:last-child {
        display: inline-block;
    }

    .range-block {
        margin-bottom: 32px;
    }

    .select-year {
        margin-bottom: 0;
    }

    [data-cc-root] .cc-summary {
        padding: 20px 24px;
        flex-direction: column;
        align-items: start;
        margin: 0 32px;
    }

    [data-cc-root] .cc-summary-text {
        font-size: 16px;
        margin-bottom: 20px;
    }

    .cc-summary-info {
        text-align: center;
        margin-bottom: 20px;
    }

    .btn-form {
        margin-bottom: 0;
    }

    /* Горизонтальная лента логотипов под калькулятором */
    .calc-aside {
        border-left: none;
        margin-top: 24px;
    }

    .calculator-logos {
        height: auto;
        overflow-x: hidden;
        overflow-y: hidden;
        padding: 8px 0 4px;
    }

    .calculator-logos .swiper-wrapper {
        flex-direction: row;
        align-items: center;
        width: max-content;
    }

    .calculator-logos .swiper-wrapper.logos-marquee {
        animation: logos-marquee-x var(--logos-duration, 30s) linear infinite;
    }

    .calculator-logos .swiper-slide {
        width: 52px;
        height: 52px;
        margin-right: 8px;
        border-radius: 12px;
        background: var(--color-gray);
    }

    .calculator-logos .swiper-slide:last-child {
        margin-right: 0;
    }

    .calculator-logos .swiper-slide img {
        max-width: 35px;
        max-height: 35px;
    }

    @keyframes logos-marquee-x {
        from {
            transform: translateX(0);
        }
        to {
            transform: translateX(calc(-1 * var(--logos-distance, 300px)));
        }
    }

    .form-data {
        padding: 32px;
    }

    .form-data-agreement {
        padding-bottom: 20px;
    }

    .form-data .btn {
        margin-bottom: 20px;
    }

    .form-oferta {
        padding: 32px;
        font-size: 12px;
        line-height: 150%;
    }
}

/* Calculator */

/* Why us */
.why-us-section {
    padding: 60px 0 80px;
}

.why-us-section .container {
    max-width: 1160px;
    padding: 0;
}

.why-us-section__title {
    margin: 0 0 60px;
    font-family: var(--font-main);
    font-weight: 500;
    font-size: 36px;
    line-height: 130%;
    color: var(--color-text-black);
}

.why-us-section__list {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 0;
    align-items: center;
}

.why-us-section__item {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    gap: 22px;
    padding: 0 20px;
    position: relative;
}

.why-us-section__item:not(:last-child)::after {
    content: "";
    position: absolute;
    top: 50%;
    right: 0;
    width: 1px;
    height: 40px;
    background-color: var(--color-dark-blue);
    transform: translateY(-50%);
}

.why-us-section__icon {
    flex: 0 0 36px;
    width: 36px;
    height: 36px;
}

.why-us-section__icon img {
    margin-top: 5px;
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.why-us-section__content {
    flex: 0 1 auto;
    min-width: 0;
}

.why-us-section__item-title {
    margin: 0 0 8px;
    font-family: var(--font-main);
    font-weight: 500;
    font-size: 16px;
    line-height: 140%;
    color: var(--color-text-black);
}

.why-us-section__item-text {
    margin: 0;
    font-family: var(--font-main);
    font-weight: 400;
    font-size: 12px;
    line-height: 160%;
    color: var(--color-text-grey);
}

@media (max-width: 992px) {
    .why-us-section {
        padding: 32px 32px 40px;
    }

    .why-us-section__title {
        margin-bottom: 32px;
        font-size: 24px;
        line-height: 140%;
    }

    .why-us-section__list {
        grid-template-columns: 1fr;
        gap: 0;
    }

    .why-us-section__item {
        flex-direction: row;
        align-items: flex-start;
        justify-content: flex-start;
        padding: 20px 0;
        gap: 26px;
    }

    .why-us-section__item:first-child {
        padding-top: 0;
    }

    .why-us-section__item:last-child {
        padding-bottom: 0;
    }

    .why-us-section__item:not(:last-child)::after {
        top: auto;
        right: auto;
        left: 50%;
        bottom: 0;
        width: 40px;
        height: 1px;
        transform: translateX(-50%);
    }

    .why-us-section__icon {
        flex: 0 0 40px;
        width: 40px;
        height: 40px;
    }

    .why-us-section__item-title {
        font-size: 16px;
    }

    .why-us-section__item-text {
        font-size: 12px;
        line-height: 150%;
    }

    .why-us-section__content {
        flex: 1 1 auto;
        padding-right: 20px;
    }
}

/* How we work */
.how-we-work-section {
    padding: 0 0 80px;
}

.how-we-work-section .container {
    max-width: 1160px;
    padding: 0;
}

.how-we-work-section__title {
    margin: 0 0 60px;
    font-family: var(--font-main);
    font-weight: 500;
    font-size: 36px;
    line-height: 130%;
    color: var(--color-text-black);
}

.how-we-work-section__list {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 60px;
    align-items: start;
}

.how-we-work-section__item {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    min-width: 0;
}

.how-we-work-section__visual {
    position: relative;
    display: flex;
    align-items: flex-end;
    margin-bottom: 20px;
}

.how-we-work-section__item:not(:last-child)::after {
    content: "";
    position: absolute;
    top: 53px;
    left: 149px;
    width: 138px;
    height: 1px;
    background-image: radial-gradient(circle, #BAC7CF 2px, transparent 2px);
    background-size: 10px 2px;
    background-repeat: repeat-x;
    opacity: 0.8;
    pointer-events: none;
}

.how-we-work-section__icon {
    flex: 0 0 80px;
    width: 80px;
    height: 80px;
}

.how-we-work-section__icon img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.how-we-work-section__number {
    position: relative;
    flex: 0 0 57px;
    width: 57px;
    height: 54px;
    margin-left: 12px;
    top: 10px;
}

.how-we-work-section__number img {
    display: block;
    width: 100%;
    height: 100%;
}

.how-we-work-section__number-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -58%);
    font-family: var(--font-main);
    font-weight: 500;
    font-size: 16px;
    line-height: 140%;
    color: #464646;
}

.how-we-work-section__content {
    min-width: 0;
}

.how-we-work-section__item-title {
    margin: 0 0 8px;
    font-family: var(--font-main);
    font-weight: 500;
    font-size: 16px;
    line-height: 140%;
    color: var(--color-text-black);
}

.how-we-work-section__item-text {
    margin: 0;
    font-family: var(--font-main);
    font-weight: 400;
    font-size: 12px;
    line-height: 160%;
    color: var(--color-text-grey);
}

@media (max-width: 992px) {
    .how-we-work-section {
        padding: 40px 72px 0 32px;
    }

    .how-we-work-section__title {
        font-size: 24px;
        line-height: 140%;
    }

    .how-we-work-section__list {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .how-we-work-section__item:not(:last-child)::after {
        display: none;
    }
}

/* Auto credit */
.auto-credit-section {
    padding: 60px 0 80px;
    background: linear-gradient(360deg, #202023 0%, #3C3C3C 100%);
    color: #fff;
}

.auto-credit-section .container {
    max-width: 1160px;
    padding: 0;
}

.auto-credit-section__head {
    margin-bottom: 40px;
}

.auto-credit-section__title {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 0 24px;
    margin: 0 0 16px;
    font-family: var(--font-main);
    font-weight: 500;
    font-size: 36px;
    line-height: 130%;
    color: #fff;
}

.auto-credit-section__title-br {
    display: none;
}

.auto-credit-section__title-accent-wrap {
    position: relative;
    display: inline-flex;
    align-items: center;
    min-height: 53px;
    padding: 0 150px 0 12px;
}

.auto-credit-section__title-accent {
    position: relative;
    z-index: 1;
    white-space: nowrap;
}

.auto-credit-section__car {
    position: absolute;
    left: 0;
    top: 50%;
    width: 261px;
    max-width: none;
    height: auto;
    transform: translateY(-50%);
    z-index: 0;
    pointer-events: none;
}

.auto-credit-section__subtitle {
    margin: 0;
    font-family: var(--font-main);
    font-weight: 400;
    font-size: 22px;
    line-height: 140%;
    color: #fff;
}

.auto-credit-section__list {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 40px;
}

.auto-credit-section__item {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    min-width: 0;
}

.auto-credit-section__arrow {
    flex: 0 0 20px;
    width: 20px;
    height: 26px;
    margin-top: 2px;
}

.auto-credit-section__text {
    margin: 0;
    font-family: var(--font-main);
    font-weight: 400;
    font-size: 20px;
    line-height: 150%;
    color: #fff;
}

.auto-credit-section__highlight {
    display: inline;
    padding: 2px 4px;
    background-color: var(--color-red);
    color: #fff;
    box-decoration-break: clone;
    -webkit-box-decoration-break: clone;
}

@media (max-width: 992px) {
    .auto-credit-section {
        padding: 40px 32px;
    }

    .auto-credit-section__head {
        margin-bottom: 32px;
    }

    .auto-credit-section__title {
        display: block;
        font-size: 28px;
        line-height: 140%;
    }

    .auto-credit-section__title-br {
        display: block;
    }

    .auto-credit-section__title-accent-wrap {
        display: inline-flex;
        margin-top: 8px;
        padding: 0 120px 0 0;
        min-height: 44px;
    }

    .auto-credit-section__car {
        width: 200px;
    }

    .auto-credit-section__subtitle {
        font-size: 16px;
    }

    .auto-credit-section__list {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .auto-credit-section__text {
        font-size: 16px;
        line-height: 140%;
    }
}

/* Promo banner */
.promo-banner-section {
    padding: 0 0 60px;
}

.promo-banner-section .container {
    max-width: 1160px;
    padding: 0;
}

.promo-banner {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    border-radius: 20px;
    background-color: #202023;
    height: 400px;
    max-height: 400px;
}

.promo-banner__media {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.promo-banner__media img {
    display: block;
    width: 100%;
    height: 100%;
    max-width: 100%;
    max-height: 400px;
    object-fit: contain;
    object-position: center;
}

.promo-banner__text {
    position: absolute;
    left: 30px;
    right: auto;
    bottom: 25px;
    z-index: 2;
    margin: 0;
    font-family: var(--font-main);
    font-weight: 500;
    font-size: 160px;
    line-height: 1;
    color: #fff;
    pointer-events: none;
}

@media (max-width: 992px) {
    .promo-banner-section {
        padding: 0 32px 40px;
    }

    .promo-banner {
        display: flex;
        flex-direction: column;
        align-items: stretch;
        justify-content: flex-start;
        border-radius: 20px;
        height: 400px;
        max-height: 400px;
    }

    .promo-banner__text {
        position: absolute;
        top: 24px;
        left: 30px;
        right: 30px;
        bottom: auto;
        z-index: 2;
        order: -1;
        flex: 0 0 auto;
        padding: 0;
        font-size: 48px;
        line-height: 110%;
        text-align: left;
        pointer-events: auto;
    }

    .promo-banner__media {
        position: absolute;
        inset: 0;
        z-index: 1;
        order: 0;
        display: flex;
        align-items: center;
        justify-content: center;
        min-height: 0;
        width: 100%;
        overflow: hidden;
    }

    .promo-banner__media img {
        width: 100%;
        height: 100%;
        max-width: 100%;
        max-height: 100%;
        object-fit: contain;
        object-position: center bottom;
    }
}

/* Cooperate with us */
.cooperate-section {
    position: relative;
    padding: 60px 0 80px;
    overflow: hidden;
}

.cooperate-section__bg {
    position: absolute;
    inset: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    pointer-events: none;
    z-index: 0;
}

.cooperate-section__bg-img {
    width: min(890px, 95%);
    height: auto;
    max-height: 100%;
    object-fit: contain;
    transform: translateX(200px) translateY(50px);
}

.cooperate-section__inner {
    position: relative;
    z-index: 1;
}

.cooperate-section__header {
    margin-bottom: 60px;
    text-align: left;
}

.cooperate-section__title {
    font-family: var(--font-main);
    font-weight: 500;
    font-size: 40px;
    line-height: 130%;
    color: #202023;
    margin: 0;
}

.cooperate-section__groups {
    display: flex;
    flex-direction: column;
    gap: 60px;
}

.cooperate-group {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 20px;
    width: 100%;
}

.cooperate-group__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    width: 100%;
}

.cooperate-group__label {
    font-family: var(--font-main);
    font-weight: 500;
    font-size: 24px;
    line-height: 130%;
    color: #464646;
    text-align: left;
    margin: 0;
}

.cooperate-group__content {
    width: 100%;
    min-width: 0;
}

.cooperate-slider__nav-group {
    display: flex;
    align-items: center;
    gap: 20px;
    flex: 0 0 auto;
}

.cooperate-section .cooperate-slider__nav {
    position: relative;
    width: 40px;
    height: 40px;
    padding: 0;
    border: none;
    border-radius: 0;
    background: transparent;
    color: #C5C5C5;
    flex: 0 0 40px;
}

.cooperate-section .cooperate-slider__nav::before {
    position: absolute;
    left: 50%;
    top: 50%;
    width: 28px;
    height: 28px;
    transform: translate(-50%, -50%);
    background: #C5C5C5;
}

.cooperate-section .cooperate-slider__nav--prev::before {
    transform: translate(-50%, -50%) rotate(180deg);
}

.cooperate-section .cooperate-slider__nav:hover {
    background: transparent;
    color: #464646;
}

.cooperate-section .cooperate-slider__nav:hover::before {
    background: #464646;
}

.cooperate-section__footer {
    display: flex;
    justify-content: center;
    margin-top: 60px;
}

.cooperate-section__cta {
    min-width: 262px;
}

.cooperate-slider {
    width: 100%;
    overflow: hidden;
    flex: 1 1 auto;
    min-width: 0;
}

/* Ensure Swiper wrapper behaves inside flex container */
.cooperate-slider .swiper-wrapper {
    display: flex;
    align-items: stretch;
}

.cooperate-card--link {
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    align-items: center;
    width: 100%;
    height: 144px;
    border-radius: 30px;
    gap: 10px;
    text-decoration: none;
}

.cooperate-card--link-avito {
    justify-content: center;
    height: 180px;
    gap: 30px;
}

.cooperate-card {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 144px;
    border-radius: 30px;
    gap: 10px;
    text-decoration: none;
}

.cooperate-card-avito {
    height: 180px;
    gap: 30px;
}

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

.cert-download {
    font-family: var(--font-main);
    font-weight: 400;
    font-size: 12px;
    line-height: 150%;
    color: #464646;
    margin-bottom: 15px;
}

.cooperate-slider__nav {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: none;
    background: #1A1A18;
    color: #FFFFFF;
    transition: background 0.2s ease;
    flex: 0 0 auto;
}

.cooperate-slider__nav::before {
    content: '';
    display: inline-block;
    width: 16px;
    height: 16px;
    mask: url("../img/arrow-right.svg") center/contain no-repeat;
    background: currentColor;
}

.cooperate-slider__nav--prev::before {
    transform: rotate(180deg);
}

.cooperate-slider__nav:hover {
    background: var(--color-text-grey);
}

@media (max-width: 1100px) {
    .cooperate-card {
        height: 112px;
    }

    .cooperate-card img {
        max-width: 150px;
        height: auto;
    }
}

@media (max-width: 992px) {
    .cooperate-section {
        padding: 40px 0 50px;
    }

    .cooperate-section__bg {
        justify-content: flex-start;
        align-items: center;
    }

    .cooperate-section__bg-img {
        width: min(890px, 890px);
        max-width: 890px;
        transform: translateX(calc(100vw - 445px));
    }

    .cooperate-section__header {
        margin-bottom: 40px;
        text-align: center;
    }

    .cooperate-section__title {
        font-size: 24px;
        line-height: 140%;
    }

    .cooperate-section__groups {
        gap: 40px;
    }

    .cooperate-group {
        gap: 16px;
        align-items: center;
    }

    .cooperate-group__head {
        justify-content: center;
    }

    .cooperate-group__label {
        font-size: 20px;
        line-height: 140%;
        text-align: center;
        width: 100%;
    }

    .cooperate-section .cooperate-slider__nav-group {
        display: none;
    }

    .cooperate-group__content {
        width: 100%;
    }

    .cooperate-slider {
        overflow: hidden;
        padding: 0 12px;
    }

    .cooperate-slider .swiper-slide {
        width: 220px;
    }

    .cooperate-section__footer {
        margin-top: 40px;
    }

    .cooperate-section__cta {
        width: 100%;
        max-width: 260px;
        min-width: 0;
    }
}

/* Cooperate with us */

/* Stats */
.stats {
    padding: 80px 0 65px;
}

.stats .container {
    max-width: 1160px;
}

.stats-header {
    margin-bottom: 40px;
}

.stats-title {
    font-family: var(--font-main);
    font-weight: 500;
    font-size: 36px;
    line-height: 130%;
    color: var(--color-text-black);
}

.stats-main {
    max-width: 1160px;
    display: flex;
    align-items: center;
    gap: 43px;
    margin: 0 auto 86px;
}

.stats-image {
    position: relative;
    flex: 0 0 50%;
    border-radius: 40px;
    padding: 38px 3px 14px;
}

.stats-image img {
    display: block;
    width: 100%;
    height: auto;
}

.stats-image-map {
    position: relative;
}

.stats-image-map img {
    display: block;
    width: 100%;
    height: auto;
}

.map-block1 {
    position: absolute;
    inset: 0;
    pointer-events: none;
}

.map-block1__item {
    position: absolute;
    pointer-events: auto;
}

.map-block1__item.pos4 { top: 86.89%; left: 62.72%; }
.map-block1__item.pos5 { top: 87.92%; left: 64.77%; }
.map-block1__item.pos6 { top: 88.43%; left: 68.71%; }
.map-block1__item.pos7 { top: 55.53%; left: 73.83%; }
.map-block1__item.pos10 { top: 81.18%; left: 80.12%; }
.map-block1__item.pos11 { top: 80.46%; left: 84.21%; }
.map-block1__item.pos12 { top: 91.13%; left: 87.02%; }

.map-block1__current {
    width: 7px;
    height: 7px;
    background-color: #fff;
    border-radius: 10px;
    position: absolute;
    top: 0;
    left: 0;
}

.map-block1__current:hover {
    z-index: 1;
}

.map-block1__current:hover .map-block1__drop {
    display: block;
}

.map-block1__current::before {
    position: absolute;
    top: -10px;
    left: -10px;
    right: -10px;
    bottom: -10px;
    display: block;
    content: '';
}

.map-block1__current::after {
    position: absolute;
    bottom: 3px;
    left: 3px;
    display: block;
    content: '';
    background: url("../img/flag-sm.svg") no-repeat 0 0;
    background-size: contain;
    width: 17px;
    height: 22px;
}

.map-block1__drop {
    position: absolute;
    top: -60px;
    left: -102px;
    right: -100px;
    text-align: center;
    font-size: 0;
    display: none;
    z-index: 1;
}

.map-block1__drop span {
    display: block;
    margin: auto;
    height: 40px;
    box-sizing: border-box;
    padding: 0 18px;
    border: 2px solid #fff;
    background-color: #dcdcdc;
    border-radius: 8px;
    position: relative;
    color: #545454;
    font-size: 13px;
    font-weight: 500;
    line-height: 36px;
    text-transform: uppercase;
    white-space: nowrap;
}

.map-block1__drop span::before {
    position: absolute;
    bottom: -10px;
    left: 50%;
    margin-left: -7px;
    display: block;
    content: '';
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 10px 7px 0;
    border-color: #fff transparent transparent;
}

.map-block1__drop span::after {
    position: absolute;
    bottom: -7px;
    left: 50%;
    margin-left: -7px;
    display: block;
    content: '';
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 10px 7px 0;
    border-color: #dcdcdc transparent transparent;
}

.stats-image-flag {
    position: absolute;
    left: 0;
    top: 0;
    width: 346px;
    z-index: 1;
    pointer-events: none;
}

.stats-image-flag__img {
    display: block;
    width: 100%;
    height: auto;
}

.stats-image-flag__text {
    position: absolute;
    top: 4%;
    left: 7%;
    height: 35%;
    display: flex;
    align-items: center;
    font-family: var(--font-main);
    font-weight: 500;
    font-size: 24px;
    line-height: 1.2;
    color: #fff;
    white-space: nowrap;
}

.stats-text {
    flex: 1 1 50%;
    font-family: var(--font-main);
    font-weight: 400;
    font-size: 16px;
    line-height: 160%;
    color: var(--color-text-grey);
}

.stats-text p + p {
    margin-top: 12px;
}

.stats-numbers {
    border-radius: 40px;
}

.stats-list {
    display: flex;
    justify-content: space-between;
    gap: 31px;
    margin: 0;
    padding: 0;
    position: relative;
}

.stats-item {
    flex: 1 1 0;
    position: relative;
    z-index: 1;
}

.stats-item-value {
    margin: 0 0 8px;
    font-family: var(--font-main);
    font-weight: 500;
    font-size: 40px;
    line-height: 130%;
    color: var(--color-text-black);
    position: relative;
}

.stats-item-value::before {
    content: "";
    position: absolute;
    top: 50%;
    left: 30%;
    margin-left: 24px;
    width: 180px;
    height: 1px;
    background-image: radial-gradient(circle, #BAC7CF 2px, transparent 2px);
    background-size: 10px 2px;
    background-repeat: repeat-x;
    opacity: 0.8;
    pointer-events: none;
}

.stats-item:last-child .stats-item-value::before {
    display: none;
}

.stats-item-text {
    margin: 0;
    font-family: var(--font-main);
    font-weight: 400;
    font-size: 16px;
    line-height: 160%;
    color: var(--color-text-grey);
}

@media (max-width: 992px) {
    .stats {
        padding: 32px 0;
    }

    .stats-header {
        margin-bottom: 24px;
    }

    .stats-title {
        font-size: 24px;
        line-height: 140%;
        text-align: center;
    }

    .stats-main {
        flex-direction: column;
        gap: 30px;
        margin: 0 auto 32px;
        padding: 0 20px;
    }

    .stats-image {
        width: 100%;
        padding: 22px 1px 8px;
    }

    .stats-image-flag {
        width: 262px;
    }

    .stats-image-flag__text {
        font-size: 18px;
    }

    .stats-numbers {
        width: 100%;
        position: relative;
        padding: 0 20px;
    }

    .stats-list {
        flex-direction: column;
        gap: 48px;
    }

    .stats-item {
        display: flex;
        flex-direction: row;
        justify-content: flex-start;
        align-items: flex-start;
        gap: 20px;
    }

    .stats-item-value {
        width: 80px;
        text-align: right;
    }

    .stats-item-text {
        flex: 1 1 auto;
    }

    .stats-item-value::before {
        left: 50%;
        right: auto;
        top: 50px;
        margin-left: 30px;
        width: 2px;
        height: 60px;
        background-image: radial-gradient(circle, #BAC7CF 2px, transparent 2px);
        background-size: 3px 10px;
        background-repeat: repeat-y;
        transform: translateX(-50%);
    }

    .stats-item:last-child .stats-item-value::before {
        display: none;
    }
}

/* Stats */

/* Autofit */
section.autofit {
    padding-bottom: 80px;
    background: var(--color-light-blue);
}

.autofit .container {
    max-width: 1160px;
}

.autofit-head__title {
    font-family: var(--font-main);
    font-weight: 500;
    font-size: 40px;
    line-height: 130%;
    text-align: center;
    color: var(--color-text-black);
    margin-bottom: 37px;
}

.autofit-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 40px;
}

.autofit-card {
    width: 553px;
    height: 335px;
    background: var(--color-red);
    border-radius: 60px;
    padding: 32px 60px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 32px;
}

.autofit-card__flag {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
}

.autofit-flag img {
    width: 61px;
    height: 61px;
    object-fit: cover;
}

.autofit-card__title {
    max-width: 385px;
    font-family: var(--font-main);
    font-weight: 500;
    font-size: 24px;
    line-height: 130%;
    color: var(--color-text-black);
    text-transform: uppercase;
    text-align: center;
}

.autofit-card__text {
    font-family: var(--font-main);
    font-weight: 400;
    font-size: 20px;
    line-height: 130%;
    color: var(--color-text-black);
    text-align: center;
    margin: 0;
}

.autofit-card__footer {
    width: 100%;
    display: flex;
    justify-content: center;
}

.autofit-card__button {
    width: 240px;
    height: 50px;
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    border: none;
    border-radius: 30px;
    background: #FFFFFF;
    font-family: var(--font-main);
    font-weight: 500;
    font-size: 16px;
    line-height: 120%;
    letter-spacing: 0.02em;
    text-transform: uppercase;
    text-decoration: none;
    color: var(--color-text-black);
    cursor: pointer;
}

.autofit-card__button:hover {
    background: rgba(255, 255, 255, 0.8);
}

@media (max-width: 1200px) {
    .autofit-grid {
        justify-items: center;
    }

    .autofit-card {
        padding: 32px;
        width: 90%;
        height: auto;
    }

    .autofit-card__title {
        max-width: 290px;
        font-size: 18px;
    }

    .autofit-card__text {
        font-size: 17px;
    }

    .autofit-card__button {
        width: 100%;
        height: 50px;
    }

}

@media (max-width: 992px) {
    section.autofit {
        padding-top: 17px;
    }

    section.autofit > .container {
        padding-left: 0;
        padding-right: 0;
    }

    .autofit-head__title {
        font-size: 24px;
        line-height: 140%;
    }

    .autofit-card__text {
        font-size: 18px;
    }

    .autofit-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .autofit-card {
        padding: 28px 24px 32px;
    }
}

@media (max-width: 768px) {
    .autofit-card {
        width: 100%;
    }
}

/* Autofit */

/* Examples */
.examples {
    padding-bottom: 80px;
}

.examples .container {
    max-width: 1160px;
    margin-top: 60px;
    padding: 0;
}

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

.examples__title {
    font-family: var(--font-main);
    font-weight: 500;
    font-size: 40px;
    line-height: 130%;
    text-align: left;
    color: var(--color-text-black);
    margin: 0;
}

.examples .cooperate-slider__nav {
    position: relative;
    width: 40px;
    height: 40px;
    padding: 0;
    border: none;
    border-radius: 0;
    background: transparent;
    color: #C5C5C5;
    flex: 0 0 40px;
}

.examples .cooperate-slider__nav::before {
    position: absolute;
    left: 50%;
    top: 50%;
    width: 28px;
    height: 28px;
    transform: translate(-50%, -50%);
    background: #C5C5C5;
}

.examples .cooperate-slider__nav--prev::before {
    transform: translate(-50%, -50%) rotate(180deg);
}

.examples .cooperate-slider__nav:hover {
    background: transparent;
    color: #464646;
}

.examples .cooperate-slider__nav:hover::before {
    background: #464646;
}

.examples__content {
    width: 100%;
    min-width: 0;
}

.examples-slider {
    width: 100%;
    overflow: hidden;
}

.examples-slider .swiper-wrapper {
    align-items: stretch;
}

.examples-slider .swiper-slide {
    display: flex;
    height: auto;
    align-items: stretch;
    width: 275px;
    box-sizing: border-box;
}

.examples-card {
    width: 275px;
    max-width: 275px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    height: 100%;
    background: transparent;
}

.examples-card__image {
    flex-shrink: 0;
    width: 275px;
    height: 275px;
    margin: 0 auto;
    border-radius: 20px;
    overflow: hidden;
}

.examples-card__image img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top center;
}

.examples-card__body {
    display: flex;
    flex-direction: column;
    flex: 1 1 auto;
    padding: 20px 0 0;
    background: transparent;
}

.examples-card__title {
    font-family: var(--font-main);
    font-weight: 500;
    font-size: 20px;
    line-height: 130%;
    text-align: center;
    margin: 0 0 14px;
    min-height: calc(2 * 1.3em);
}

.examples-card__subtitle {
    font-family: var(--font-main);
    font-weight: 400;
    font-size: 14px;
    line-height: 160%;
    text-align: center;
    color: var(--color-text-grey);
    margin: 0 0 18px;
    min-height: 1.6em;
}

.examples-card__info {
    margin: auto 0 0;
}

.examples-card__info-row {
    display: flex;
    justify-content: space-between;
    font-family: var(--font-main);
    font-weight: 500;
    font-size: 12px;
    line-height: 130%;
}

.examples-card__info-row + .examples-card__info-row {
    margin-top: 4px;
}

.examples-card__info-row dt {
    font-weight: 400;
    color: var(--color-text-grey);
    max-width: min-content;
}

.examples-card__info-row dd {
    margin: 0;
    text-align: right;
    display: flex;
    align-items: end;
}

.examples__footer {
    display: flex;
    justify-content: center;
    margin-top: 60px;
}

@media (max-width: 991px) {

    .examples__head {
        justify-content: center;
        margin-bottom: 32px;
        padding-left: 16px;
        padding-right: 16px;
    }

    .examples__title {
        font-size: 24px;
        line-height: 140%;
        text-align: center;
    }

    .examples .cooperate-slider__nav-group {
        display: none;
    }

    .examples-card__title {
        font-size: 24px;
        min-height: calc(2 * 1.4em);
    }

    .examples-card__info-row {
        font-size: 14px;
    }

    .examples__footer {
        margin-top: 40px;
    }
}

@media (max-width: 539px) {
    .examples > .container {
        padding-left: 0;
        padding-right: 0;
    }

    .examples-slider {
        overflow: hidden;
        padding: 0;
    }

    .examples__footer {
        padding-left: 16px;
        padding-right: 16px;
    }

    .examples__footer .cooperate-section__cta {
        width: 100%;
        max-width: 260px;
        min-width: 0;
    }
}

.examples--single .examples__content {
    display: flex;
    justify-content: center;
}

.examples--single .examples-slider {
    max-width: 275px;
}

.examples--single .examples-slider .swiper-slide {
    justify-content: center;
}

.examples--single .cooperate-slider__nav-group {
    display: none;
}

/* Examples */

/* Team */
.team {
    padding-bottom: 80px;
}

.team .container {
    max-width: 1160px;
    padding: 0;
}

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

.team__title {
    font-family: var(--font-main);
    font-weight: 500;
    font-size: 40px;
    line-height: 130%;
    text-align: left;
    color: var(--color-text-black);
    margin: 0;
}

.team .cooperate-slider__nav {
    position: relative;
    width: 40px;
    height: 40px;
    padding: 0;
    border: none;
    border-radius: 0;
    background: transparent;
    color: #C5C5C5;
    flex: 0 0 40px;
}

.team .cooperate-slider__nav::before {
    position: absolute;
    left: 50%;
    top: 50%;
    width: 28px;
    height: 28px;
    transform: translate(-50%, -50%);
    background: #C5C5C5;
}

.team .cooperate-slider__nav--prev::before {
    transform: translate(-50%, -50%) rotate(180deg);
}

.team .cooperate-slider__nav:hover {
    background: transparent;
    color: #464646;
}

.team .cooperate-slider__nav:hover::before {
    background: #464646;
}

.team__content {
    width: 100%;
    min-width: 0;
}

.team-slider {
    width: 100%;
    overflow: hidden;
}

.team-slider .swiper-slide {
    display: flex;
    height: auto;
    justify-content: center;
    width: 275px;
    box-sizing: border-box;
}

.team-card {
    width: 275px;
    max-width: 275px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    background: transparent;
    border-radius: 40px;
    overflow: hidden;
}

.team-card__image {
    height: 320px;
    max-height: 320px;
}

.team-card__image img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top center;
}

.team-card__body {
    position: relative;
    padding: 20px 40px 27px;
    border-radius: 20px;
    background: #FFFFFF;
}

.team-card__triangle {
    position: absolute;
    right: 0;
    bottom: 0;
    width: 100px;
    height: 36px;
    pointer-events: none;
}

.team-card__name {
    font-family: var(--font-main);
    font-weight: 500;
    font-size: 18px;
    line-height: 140%;
}

.team-card__role {
    font-family: var(--font-main);
    font-weight: 400;
    font-size: 16px;
    line-height: 115%;
    color: var(--color-text-grey);
}

@media (max-width: 991px) {
    .team {
        padding-bottom: 90px;
    }

    .team__head {
        justify-content: center;
        margin-bottom: 32px;
        padding-left: 16px;
        padding-right: 16px;
    }

    .team__title {
        font-size: 24px;
        line-height: 140%;
        text-align: center;
    }

    .team .cooperate-slider__nav-group {
        display: none;
    }

    .team-slider {
        overflow: hidden;
        padding: 0;
    }

    .team-card__name {
        font-size: 20px;
    }
}

@media (min-width: 540px) and (max-width: 991px) {
    .team > .container {
        padding-left: 16px;
        padding-right: 16px;
    }
}

@media (max-width: 539px) {
    .team > .container {
        padding-left: 0;
        padding-right: 0;
    }
}

/* Team */

/* FAQ */
.faq {
    padding-bottom: 60px;
}

.faq .container {
    max-width: 1160px;
}

.faq__header {
    margin-bottom: 40px;
}

.faq__title {
    font-family: var(--font-main);
    font-weight: 500;
    font-size: 40px;
    line-height: 130%;
    text-align: left;
    color: var(--color-text-black);
    margin: 0;
}

.faq__list {
    display: flex;
    flex-wrap: wrap;
    gap: 32px 40px;
    align-items: flex-start;
}

.faq-item {
    flex: 0 0 calc(50% - 20px);
    box-sizing: border-box;
    padding: 0;
    background: transparent;
    border-radius: 0;
    box-shadow: none;
}

.faq-item__header {
    width: 100%;
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 20px;
    padding: 0;
    border: 0;
    background: transparent;
    text-align: left;
    cursor: pointer;
}

.faq-item__icon {
    flex: 0 0 28px;
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-main);
    font-weight: 400;
    font-size: 28px;
    line-height: 1;
    color: var(--color-text-black);
}

.faq-item__icon::before {
    content: '+';
}

.faq-item__question {
    flex: 1 1 auto;
    font-family: var(--font-main);
    font-weight: 500;
    font-size: 20px;
    line-height: 140%;
    color: var(--color-text-black);
}

.faq-item__body {
    margin-top: 12px;
    margin-left: 0;
    padding-right: 48px;
    font-family: var(--font-main);
    font-weight: 400;
    font-size: 16px;
    line-height: 160%;
    color: var(--color-text-grey);
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    transition: max-height 0.25s ease, opacity 0.25s ease;
}

.faq-item__body p {
    margin: 0;
}

.faq-item--open .faq-item__body {
    max-height: 100%;
    opacity: 1;
}

.faq-item--open .faq-item__icon::before {
    content: '−';
}

@media (max-width: 992px) {
    .faq__list {
        gap: 24px;
    }

    .faq__title {
        font-size: 24px;
        line-height: 140%;
    }

    .faq-item {
        flex: 0 0 100%;
    }

    .faq-item__question {
        font-size: 16px;
    }

    .faq-item__body {
        font-size: 14px;
        padding-right: 0;
    }

    .faq-item__icon {
        flex: 0 0 24px;
        width: 24px;
        height: 24px;
        font-size: 24px;
    }
}

@media (max-width: 576px) {
    .faq > .container {
        padding-left: 20px;
        padding-right: 20px;
    }

    .faq__header {
        margin-bottom: 24px;
    }

    .faq__title {
        text-align: center;
    }

    .faq__list {
        gap: 28px;
    }
}

/* FAQ */

/* Question */
.question {
    padding-bottom: 0;
}

.question .container {
    max-width: 1160px;
}

.question__inner {
    display: flex;
    align-items: center;
    gap: 40px;
    background: var(--color-red);
    border-radius: 20px;
    padding: 21px 17px 0;
    overflow: hidden;
}

.question__image {
    flex: 0 0 340px;
}

.question__image img {
    display: block;
    width: 100%;
    height: auto;
}

.question__content {
    flex: 0 0 420px;
    max-width: 420px;
}

.question__title {
    font-family: var(--font-main);
    font-weight: 500;
    font-size: 40px;
    line-height: 130%;
    text-align: center;
    color: var(--color-text-white);
    margin: 0 0 24px;
}

.question__subtitle {
    font-family: var(--font-main);
    font-weight: 500;
    font-size: 22px;
    line-height: 130%;
    text-align: center;
    color: var(--color-text-white);
    margin: 0 0 24px;
}

.question__actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 16px;
}

.question__btn {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 12px 24px;
    height: 50px;
    border-radius: 25px;
    background: #ffffff;
    border: none;
    text-decoration: none;
    font-family: var(--font-main);
    font-weight: 500;
    font-size: 22px;
    line-height: 130%;
    color: var(--color-text-black);
}

.question__btn:hover,
.question__btn:focus {
    background: #f7f7f7;
    transform: translateY(-1px);
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.12);
}

.question__btn-icon img {
    display: block;
    width: 35px;
    height: 35px;
}

@media (max-width: 992px) {
    div.sect-b {
        padding: 60px 0 0;
    }
}

@media (max-width: 768px) {
    .question > .container {
        padding-left: 0;
        padding-right: 0;
    }

    .question__inner {
        display: grid;
        grid-template-columns: minmax(0, 52%) minmax(0, 48%);
        grid-template-areas:
            "title title"
            "subtitle subtitle"
            "image actions";
        gap: 0 12px;
        padding: 24px 20px 0;
        align-items: end;
    }

    .question__content {
        display: contents;
    }

    .question__title {
        grid-area: title;
        font-size: 24px;
        line-height: 140%;
        text-align: center;
        margin: 0 0 8px;
    }

    .question__subtitle {
        grid-area: subtitle;
        font-size: 16px;
        line-height: 140%;
        text-align: center;
        margin: 0 0 16px;
    }

    .question__image {
        grid-area: image;
        flex: none;
        width: 100%;
        max-width: none;
        margin: 0;
        align-self: end;
    }

    .question__actions {
        grid-area: actions;
        flex-direction: column;
        align-items: stretch;
        justify-content: center;
        gap: 12px;
        padding-bottom: 20px;
        align-self: center;
        width: 100%;
    }

    .question__btn {
        width: 100%;
        height: 48px;
        border-radius: 24px;
        justify-content: flex-start;
        padding: 8px 16px;
        font-size: 16px;
        gap: 10px;
    }

    .question__btn-icon img {
        width: 32px;
        height: 32px;
    }
}

/* Question */

/* Contacts */
.contacts {
    scroll-margin-top: 100px;
    padding-bottom: 0;
}

.contacts .container {
    max-width: 1160px;
    padding-top: 60px;
}

.contacts__header {
    margin-bottom: 32px;
}

.contacts__title {
    font-family: var(--font-main);
    font-weight: 500;
    font-size: 40px;
    line-height: 130%;
    text-align: left;
    color: var(--color-text-black);
    margin: 0;
}

.contacts__cities {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    justify-content: flex-start;
    margin-bottom: 32px;
}

.contacts-city-chip {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    height: 40px;
    padding: 0 24px;
    border: 1px solid #DDE3E8;
    border-radius: 30px;
    background: #fff;
    font-family: var(--font-main);
    font-weight: 400;
    font-size: 16px;
    line-height: 1;
    color: var(--color-text-black);
    cursor: pointer;
    transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.contacts-city-chip:hover {
    border-color: #BAC7CF;
    background: #F8F9FA;
}

.contacts-city-chip--active {
    background: var(--color-red);
    border-color: var(--color-red);
    color: #fff;
}

.contacts-city-chip--active:hover {
    background: var(--color-red-hover);
    border-color: var(--color-red-hover);
    color: #fff;
}

.contacts__cities-content {
    margin-bottom: 32px;
}

.contacts-city {
    display: none;
}

.contacts-city--active {
    display: block;
}

.contacts__cards {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
}

.contacts-card {
    background: #F5F5F5;
    border-radius: 20px;
    padding: 24px 20px;
}

.contacts-card__header {
    display: flex;
    gap: 16px;
    align-items: flex-start;
}

.contacts-card__icon {
    flex: 0 0 48px;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
}

.contacts-card__icon img {
    display: block;
    width: 32px;
    height: 32px;
}

.contacts-card__title {
    font-family: var(--font-main);
    font-weight: 400;
    font-size: 14px;
    line-height: 160%;
    color: var(--color-text-grey);
    margin: 0 0 4px;
}

.contacts-card__text {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    font-family: var(--font-main);
    font-weight: 500;
    font-size: 18px;
    line-height: 140%;
    color: var(--color-text-black);
    margin: 0;
}

.contacts-card__text a {
    margin-right: 8px;
    color: inherit;
    text-decoration: none;
}

.contacts-card__text a:hover {
    text-decoration: underline;
}

/* Hover для иконок соцсетей и маршрутов в контактах */
.contacts-card__text a img {
    transition: transform 0.2s ease, opacity 0.2s ease;
}

.contacts-card__text a:hover img {
    transform: scale(1.15);
    opacity: 0.85;
}

.contacts__map-wrapper {
    max-width: 1400px;
    margin: 0 auto;
    border-radius: 16px;
    overflow: hidden;
}

.contacts__map {
    width: 100%;
    height: 466px;
}

.contacts-map-widget {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.contacts-map-widget__label {
    position: absolute;
    left: -9999px;
    top: -9999px;
    font-size: 0;
    color: transparent;
}

.contacts-map-widget iframe {
    position: relative;
    width: 100%;
    height: 100%;
    border: 0;
}

@media (max-width: 992px) {
    .contacts {
        padding-bottom: 0;
    }

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

@media (max-width: 768px) {
    .contacts__cards {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 576px) {
    .contacts > .container {
        padding-left: 0;
        padding-right: 0;
        padding-top: 24px;
    }

    .contacts__header {
        margin-bottom: 24px;
    }

    .contacts__title {
        font-size: 24px;
        line-height: 140%;
        text-align: center;
    }

    .contacts__cities {
        justify-content: center;
        gap: 10px;
        margin-bottom: 24px;
    }

    .contacts-city-chip {
        height: 36px;
        padding: 0 18px;
        font-size: 14px;
    }

    .contacts__cards {
        gap: 12px;
    }

    .contacts-card {
        border-radius: 16px;
        padding: 20px 16px;
    }

    .contacts-card__icon {
        flex: 0 0 44px;
        width: 44px;
        height: 44px;
    }

    .contacts-card__text {
        font-size: 16px;
    }

    .contacts__map {
        height: 580px;
    }
}

/* Contacts */

/* Footer */
.footer {
    background: #1A1A18;
    color: #FFFFFF;
    padding: 40px 32px;
}

.footer__container {
    max-width: 1160px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.footer__item {
    font-family: var(--font-main);
    font-size: 16px;
    line-height: 160%;
}

.footer__center {
    display: grid;
    flex: 1 1 auto;
    grid-template-columns: auto auto;
    justify-content: center;
    column-gap: 48px;
    row-gap: 12px;
    text-align: center;
}

.footer__link {
    font-family: var(--font-main);
    font-size: 16px;
    line-height: 120%;
    color: #ffffff;
    text-decoration: underline;
    text-underline-offset: 3px;
}

.footer__center .footer__link:nth-child(3) {
    grid-column: 2;
    grid-row: 2;
}

.footer__link:hover {
    text-decoration-thickness: 2px;
}

.footer__dev {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: #ffffff;
    text-decoration: none;
    font-family: var(--font-main);
    font-size: 16px;
    line-height: 120%;
}

.footer__dev:hover {
    text-decoration: underline;
    text-decoration-thickness: 1px;
}

.footer__dev-icon {
    font-size: 16px;
}
@media (max-width: 992px) {
    .footer {
        margin-bottom: 70px;
    }
}


@media (max-width: 768px) {
    .footer__container {
        flex-direction: column;
        align-items: flex-start;
    }

    .footer__center {
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        justify-content: flex-start;
        gap: 12px;
    }
}

@media (max-width: 576px) {
    .footer__container {
        gap: 40px;
    }

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

/* Footer */

/* Modal select */
.request-modal .modal-dialog {
    max-width: 640px;
}

.request-modal__content {
    border: none;
    border-radius: 60px;
    background: #ffffff;
    padding: 40px 80px;
}

.request-modal__content.request-modal__content--success {
    background: var(--color-gray);
}

.request-modal__header {
    border: none;
    padding: 0 0 40px;
    position: relative;
    justify-content: center;
}

.request-modal__title {
    width: 100%;
    margin: 0;
    font-family: var(--font-main);
    font-weight: 500;
    font-size: 32px;
    line-height: 130%;
    text-align: center;
    color: var(--color-text-black);
}

.request-modal__close {
    position: absolute;
    top: 0;
    right: -30px;
}

.request-modal__body {
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.request-modal__content.request-modal__content--success .request-modal__title {
    color: var(--color-text-black);
}

.request-modal__content.request-modal__content--success .fast-request-modal__success-text {
    color: var(--color-text-black);
    font-family: var(--font-main);
    font-weight: 400;
    font-size: 16px;
    line-height: 130%;
    text-align: center;
}

/* Кнопки внутри модалки */
.request-modal__option {
    position: relative;
    max-width: 480px;
    border: none;
    border-radius: 60px;
    padding: 24px 40px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    cursor: pointer;
    font-family: var(--font-main);
    transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}

.request-modal__option-main {
    font-weight: 500;
    font-size: 24px;
    line-height: 130%;
    text-transform: uppercase;
}

.request-modal__option-sub {
    margin-top: 10px;
    font-weight: 400;
    font-size: 16px;
    line-height: 130%;
}

/* Стрелка справа */
.request-modal__option-arrow {
    position: absolute;
    top: 50%;
    right: 30px;
    transform: translateY(-50%);
    width: 48px;
    height: 48px;
    border-radius: 50%;
    border: 1px solid currentColor;
    display: flex;
    align-items: center;
    justify-content: center;
}

.request-modal__option-arrow::before {
    content: '→';
    font-size: 20px;
}

/* Жёлтая кнопка */
.request-modal__option--primary {
    background: var(--color-red);
    color: var(--color-text-white);
}

/* Чёрная кнопка */
.request-modal__option--secondary {
    background: #1A1A18;
    color: #ffffff;
}

/* Hover/active */
.request-modal__option:hover,
.request-modal__option:focus {
    outline: none;
    transform: translateY(-1px);
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.15);
}

.request-modal__option--primary:hover,
.request-modal__option--primary:focus {
    background: var(--color-red-hover);
}

.request-modal__option--secondary:hover,
.request-modal__option--secondary:focus {
    background: #000000;
}

@media (max-width: 576px) {
    .request-modal__content {
        padding: 32px;
    }

    .request-modal__title {
        font-size: 24px;
        line-height: 140%;
    }

    .request-modal__option {
        padding: 24px 40px;
    }

    .request-modal__option-arrow {
        right: 18px;
        width: 36px;
        height: 36px;
    }

    .request-modal__close {
        right: 0;
    }

    .request-modal__option-main {
        font-size: 18px;
    }

    .request-modal__option-sub {
        font-size: 12px;
    }
}

@media (max-width: 360px) {
    .request-modal__option-arrow {
        right: 8px;
    }

    .request-modal__content {
        padding: 18px;
    }

    .request-modal__option {
        padding: 12px 12px;
    }

    .request-modal__close {
        top: 6px;
        right: 6px;
    }
}

/* Modal select */