/* Основные стили для лендинга импорта автомобилей */
/* Цветовая схема: #032734 (темный), #0B7297 (голубой), #B30003 (красный), #FFFFFF (белый) */

/* Сброс стилей и базовые настройки */
/* Подключаем обычный начертание */
/* ——— Bounded ——— */
html,
body {
    margin: 0;
    padding: 0;
    overflow-x: hidden;
}

.btn-loader svg {
    vertical-align: middle;
}


@font-face {
    font-family: 'Bounded';
    src: url('../fonts/Bounded-ExtraLight.ttf') format('truetype');
    font-weight: 200;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Bounded';
    src: url('../fonts/Bounded-Regular.ttf') format('truetype');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Bounded';
    src: url('../fonts/Bounded-Black.ttf') format('truetype');
    font-weight: 900;
    font-style: normal;
    font-display: swap;
}

/* ——— Переменное начертание (variable) ——— */
@font-face {
    font-family: 'Bounded Variable';
    src: url('../fonts/Bounded-Variable.ttf') format('truetype');
    /* позволяет выбирать веса в диапазоне 100–900 */
    font-weight: 100 900;
    font-style: normal;
    font-display: swap;
}

/* Ftanima: Regular, Medium */
@font-face {
    font-family: 'Ftanima';
    src: url('../fonts/ftanima-Regular.otf') format('opentype');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Ftanima';
    src: url('../fonts/ftanima-Medium.otf') format('opentype');
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}

/* Helvetica Regular */
@font-face {
    font-family: 'Helvetica Custom';
    src: url('../fonts/helvetica_regular.otf') format('opentype');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

/* Helvetica Light */
@font-face {
    font-family: 'Helvetica Custom';
    src: url('../fonts/helvetica_light.otf') format('opentype');
    font-weight: 300;
    font-style: normal;
    font-display: swap;
}

/* Helvetica Light Oblique */
@font-face {
    font-family: 'Helvetica Custom';
    src: url('../fonts/helvetica_lightoblique.otf') format('opentype');
    font-weight: 300;
    font-style: oblique;
    font-display: swap;
}

/* Helvetica Oblique */
@font-face {
    font-family: 'Helvetica Custom';
    src: url('../fonts/helvetica_oblique.otf') format('opentype');
    font-weight: 400;
    font-style: oblique;
    font-display: swap;
}

/* Helvetica Bold Oblique */
@font-face {
    font-family: 'Helvetica Custom';
    src: url('../fonts/helvetica_boldoblique.otf') format('opentype');
    font-weight: 700;
    font-style: oblique;
    font-display: swap;
}

/* Helvetica Cyrillic Oblique */
@font-face {
    font-family: 'Helvetica Cyr';
    src: url('../fonts/helvetica_cyr_oblique.ttf') format('truetype');
    font-weight: 400;
    font-style: oblique;
    font-display: swap;
}

/* Helvetica Cyrillic Bold Oblique */
@font-face {
    font-family: 'Helvetica Cyr';
    src: url('../fonts/helvetica_cyr_boldoblique.ttf') format('truetype');
    font-weight: 700;
    font-style: oblique;
    font-display: swap;
}


* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --dark-color: #032734;
    --blue-color: #0B7297;
    --red-color: #B30003;
    --white-color: #FFFFFF;
    --light-gray: #f5f5f5;
    --mid-gray: #e0e0e0;
    --dark-gray: #333333;
}

body {
    font-family: 'Helvetica Custom';
    color: var(--dark-color);
    line-height: 1.6;
    background-color: var(--white-color);
}

.container {
    z-index: 1;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

/* Типографика */
h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: 'Helvetica Custom', sans-serif;
    font-weight: 700;
    margin-bottom: 1.5em;
    color: var(--dark-color);
}

h1,
h2,
.headline {

    font-family: 'Helvetica Custom', sans-serif;
    font-weight: 600;
    /* жирнее обычного */
}



p {
    margin-bottom: 1em;
}

a {
    color: var(--blue-color);
    text-decoration: none;
    transition: color 0.3s;
}

a:hover {
    color: var(--dark-color);
}

ul,
ol {
    margin-left: 20px;
    margin-bottom: 1em;
}

/* Кнопки */
.btn {
    display: inline-block;
    padding: 12px 25px;
    background-color: var(--blue-color);
    color: var(--white-color);
    border: none;
    border-radius: 5px;
    font-weight: 600;
    text-align: center;
    cursor: pointer;
    transition: background-color 0.3s, transform 0.2s;
    text-decoration: none;
}

.btn:hover {
    background-color: #095e7b;
    color: var(--white-color);
    transform: translateY(-2px);
}

.btn:active {
    transform: translateY(0);
}

.btn-primary {
    background-color: var(--red-color);
}

.btn-secondary {
    background-color: var(--dark-color);
}

.btn-accent {
    background-color: var(--red-color);
}

.btn-large {
    padding: 15px 35px;
    font-size: 18px;
}

.btn-small {
    padding: 8px 15px;
    font-size: 14px;
}

.call-btn {
    display: flex;
    align-items: center;
    gap: 5px;
}

/* Шапка сайта */
header {
    background-color: var(--dark-color);
    color: var(--white-color);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
}

.site-logo {
    display: block;
    width: 80px;
}

.main-menu ul {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    justify-content: center;
}

.main-menu li {
    margin-left: 15px;
    margin-right: 15px;
}

.main-menu a {
    color: var(--white-color);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s;
    font-size: 15px;
    white-space: nowrap;
}

.main-menu a:hover {
    color: var(--blue-color);
}

.header-contacts {
    display: flex;
    align-items: center;
    gap: 20px;
}

.phone {
    color: var(--white-color);
    font-weight: 700;
    font-size: 18px;
}

.social-icons {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100px;
    gap: 10px;
}

.social-icons a {
    color: var(--white-color);
    font-size: 20px;
}

.social-icons a img:hover {
    filter: brightness(0.8);
    transition: filter 0.3s;
}

.telegram-icon img:hover {
    filter: brightness(1) drop-shadow(0 0 5px #29A9EA);
    /* голубой для тг */
}

.instagram-icon img:hover {
    filter: brightness(1) drop-shadow(0 0 5px #E1306C);
    /* розовый для инсты */
}

.youtube-icon img:hover {
    filter: brightness(1) drop-shadow(0 0 5px #FF0000);
    /* красный для ютуба */
}

.whatsApp-icon img:hover {
    filter: brightness(1) drop-shadow(0 0 5px #088628);
}



.mobile_btns {
    display: none;
    align-items: center;
    height: 100%;
    gap: 20px;
}

.mobile_btns .btn {
    padding: 6px 25px;
}

a img {
    display: flex;
    align-items: center;
}

.telegram-icon img,
.instagram-icon img,
.youtube-icon img {
    width: 30px;
    height: 30px;
}

.whatsApp-icon img {
    width: 25px;
    height: 25px;
}

/* Плавающее меню */
.sticky-header {
    position: fixed;
    top: -80px;
    left: 0;
    width: 100%;
    background-color: var(--dark-color);
    padding: 10px 0;
    z-index: 999;
    transition: top 0.3s;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    opacity: 0.95;
}

.sticky-header.visible {
    top: 0;
}

.burger {
    display: flex;
    width: 24px;
    height: 20px;
    position: relative;
    cursor: pointer;
}

.burger span {
    position: absolute;
    height: 3px;
    width: 100%;
    background-color: var(--white-color);
    left: 0;
    transition: transform 0.3s ease, opacity 0.6s ease;
}

.burger span:nth-child(1) {
    top: 0;
}

.burger span:nth-child(2) {
    top: 50%;
    transform: translateY(-50%);
}

.burger span:nth-child(3) {
    bottom: 0;
}

.burger.open span:nth-child(1) {
    transform: translateY(8px) rotate(44deg);
}

.burger.open span:nth-child(2) {
    opacity: 0;
}

.burger.open span:nth-child(3) {
    transform: translateY(-9px) rotate(-43deg);
}

.mobile-menu {
    display: none;
    flex-direction: column;
    align-items: center;
    background-color: var(--dark-color);
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    padding: 20px;
    animation: slideDown 0.3s ease forwards;
    z-index: 1000;
}

.mobile-menu.open {
    display: flex;
    animation: slideDown 0.3s ease forwards;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.mobile-menu ul {
    margin: 0;
    width: 100%;
    list-style: none;
}

.mobile-menu li {
    display: flex;
    justify-content: center;
}

.mobile-menu a {
    color: var(--white-color);
    font-size: 18px;
    margin: 10px 0;
    transition: color 0.3s;
}

.mobile-menu a:hover {
    color: var(--blue-color);
}

.mobile-menu .social-icons {
    margin-top: 20px;
    display: flex;
    gap: 15px;
}

.mobile-menu .social-icons img {
    width: 30px;
    height: 30px;
    filter: brightness(100%);
}

.hero {
    position: relative;
    background: url('../img/bg/back1.webp') no-repeat center center;
    background-size: cover;
    min-height: 760px;
    color: var(--white-color);
    padding: 120px 0 100px;
    overflow: visible;
}

.hero2 {
    position: relative;
    background: url('../img/bg/back4.webp') no-repeat center center;
    background-size: cover;
    min-height: 700px;
    color: var(--white-color);
    padding: 180px 0 100px;
    overflow: visible;
}

/* Контент над оверлеем */
.hero .hero-content {
    width: 100%;
    position: relative;
    z-index: 1;
}

/* Полупрозрачный оверлей */
.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    /* top:0; right:0; bottom:0; left:0; */
    background-color: rgba(3, 39, 52, 0);
    /* цвет + прозрачность */
    z-index: 0;
}


.hero-content {
    width: 100%;
    align-items: center;
    justify-content: space-between;
    position: relative;
    z-index: 2;
}

.hero-text {
    z-index: 2;
    width: 100%;
}


.hero-image {
    position: relative;
    flex: 1 1 50%;
    z-index: 1;
    overflow: visible;
    filter: brightness(0.9)
}

.hero-image-2 {
    position: relative;
    flex: 1 1 50%;
    z-index: 1;
    overflow: visible;
}

.hero-image-3 {
    position: relative;
    flex: 1 1 50%;
    z-index: 1;
    overflow: visible;
}

.hero-buttonWrapper {
    position: absolute;
    bottom: 0px;
    right: 50%;
    transform: translateX(50%);
    max-width: 600px !important;
    padding-bottom: 30px;
}

/* Стиль для машинки */
.hero-image img {
    position: absolute;
    right: -350px;
    /* "вылезает" за границу */
    bottom: -352px;
    width: 1000px;
    max-width: none;
    transform: translateX(100%);
    opacity: 0;
    animation: slideInCar 1.5s ease-out forwards 0.5s;
}

.hero-image-2 img {
    position: absolute;
    right: 425px;
    bottom: -490px;
    width: 1088px;
    max-width: none;
    transform: translateX(100%);
    opacity: 0;
    transition: transform 1.5s ease-out, opacity 1.5s ease-out;
}

.hero-image-3 img {
    position: absolute;
    right: -359px;
    bottom: -424px;
    width: 786px;
    max-width: none;
    transform: translateX(100%);
    opacity: 0;
    animation: slideInCar 1.5s ease-out forwards 0.5s;
}

.hero-image-2.visible img {
    transform: translateX(0);
    opacity: 1;
}


.afterHero {
    background-color: #032734;
    min-height: 300px;
    font-family: "Helvetica Custom";
}

.afterHero-text {
    width: 70%;
}

.afterHero-text>h1 {
    font-size: 40px;
    font-weight: 200;
    line-height: 40px;
    color: white;
    overflow-wrap: break-word;
}

.afterHero-button-wrapper {
    width: 100%;
    font-family: "Helvetica Custom";
    background-color: #B30003;
    height: 100%;
    display: flex;
    justify-content: center;
    border-radius: 30px;
    box-shadow: 0 4px 12px rgba(255, 255, 255, 0.4);
    z-index: 20;
    padding: 0.7rem;
}

.buttonWrapper {
    width: 100%;
    display: flex;
    justify-content: center;
}

.afterHero-button-wrapper-new {
    width: 100%;
    font-family: "Helvetica Custom";
    background-color: #B30003;
    height: 100%;
    display: flex;
    justify-content: center;
    border-radius: 50px;
    margin-top: 6rem;
    box-shadow: 0 4px 12px rgba(255, 255, 255, 0.4);
    padding: 0.7rem;
}

.afterHero-button {
    background-color: #B30003;
    color: white;

    font-size: 40px;
    font-weight: 900;
    text-align: center;
    border-radius: 10px;
    cursor: pointer;
}

/* Анимация появления */
@keyframes slideInCar {
    0% {
        transform: translateX(100%);
        opacity: 0;
    }

    100% {
        transform: translateX(0);
        opacity: 1;
    }
}


/* 1) Задаём начальное скрытое состояние */
.section-title {
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
    padding: 0.7rem;
    border-radius: 30px !important;
    align-items: center;
}

.section-title p {
    margin-bottom: 0;
}

/* 2) Класс‑триггер появление */
.animate-in {
    opacity: 1;
    transform: translateY(0);
}


.hero h1 {
    font-family: 'Helvetica Custom', sans-serif;
    font-size: 90px;
    line-height: 120px;
    font-weight: 900;
    margin-bottom: 20px;
    color: var(--white-color);
}

.hero h2 {
    font-family: 'Helvetica Custom', sans-serif;
    font-size: 50px;
    font-weight: 100;
    line-height: 60px;
    margin-bottom: 40px;
    color: var(--white-color);
    display: flex;
    flex-direction: column;
}

.hero-text .afterHero-button-wrapper {
    width: 350px;
}

.hero-text .afterHero-button {
    font-size: 25px;
}


.benefits-list {
    list-style: none;
    margin: 0 0 40px 0;
    padding: 0;
}

.benefits-list li {
    padding-left: 30px;
    position: relative;
    margin-bottom: 15px;
}

.benefits-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    top: 2px;
    color: var(--blue-color);
    font-weight: bold;
}

.ceo-guarantee {
    display: flex;
    align-items: center;
    margin-bottom: 40px;
    background: rgba(255, 255, 255, 0.1);
    padding: 15px;
    border-radius: 8px;
}

.ceo-image {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    object-fit: cover;
    margin-right: 20px;
    border: 2px solid var(--blue-color);
}

/* Общие стили для секций */
.section {
    padding: 0px 0;
}

.section-title-wrapper {
    text-align: center;
    font-size: 36px;
    position: relative;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.section-title {
    width: 100%;
    background-color: #ffffff;
    color: #294f7c;
    padding-left: 5rem;
    padding-right: 5rem;
    font-size: 60px;
    line-height: 45px;
    border-radius: 50px;
    border-top: 5px solid #294f7c;
    padding: 2rem;
}

.section-title-long {
    width: 100%;
    background-color: #ffffff;
    color: #294f7c;
    padding: 0.7rem;
    padding-left: 5rem;
    padding-right: 5rem;
    font-size: 60px;
    line-height: 45px;
    border-radius: 50px;
    border-top: 5px solid #294f7c;
    padding: 2.7rem;
}

/* Блок "Почему это выгодно" */
.why-profitable {
    background-color: var(--light-gray);
}

.compare-table {
    display: flex;
    justify-content: space-between;
    margin-bottom: 40px;
}

.compare-column {
    flex: 1;
    padding: 30px;
    border-radius: 8px;
}

.compare-column:first-child {
    background-color: #ffeeee;
    margin-right: 20px;
}

.compare-column:last-child {
    background-color: #e6f5fa;
}

.compare-header {
    font-size: 24px;
    font-weight: 700;
    text-align: center;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid;
}

.compare-column:first-child .compare-header {
    color: var(--red-color);
    border-color: var(--red-color);
}

.compare-column:last-child .compare-header {
    color: var(--blue-color);
    border-color: var(--blue-color);
}

.compare-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.compare-list li {
    padding: 10px 0 10px 35px;
    position: relative;
    font-size: 22px;
}

.compare-list.negative li::before {
    content: '✕';
    position: absolute;
    left: 0;
    color: var(--red-color);
    font-weight: bold;
}

.compare-list.positive li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--blue-color);
    font-weight: bold;
}

.auction-example {
    text-align: center;
}

.auction-img {
    max-width: 100%;
    border: 1px solid #ddd;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.example-caption {
    font-style: italic;
    margin-top: 10px;
}

.afterHero-detail {
    position: relative;
    padding: 140px 0;
    background: url('../img/bg/back2.webp') no-repeat center center;
    background-size: cover;
    color: white;
    font-family: "Helvetica Custom";
    font-size: 45px;
    font-weight: 400;
}

.afterHero-detail-elemWrapper {
    display: flex;
    margin-top: 20px;
}

.afterHero-detail-elemWrapper-icon-wrapper {
    width: 80px;
    height: 80px;
    display: flex;
    justify-content: left;
    align-items: center;
}

.afterHero-detail-elemWrapper-icon {
    width: 70px;
    height: 70px;

}

.afterHero-detail-elemWrapper-text {
    display: flex;
    justify-content: left;
    align-items: center;
    margin-left: 1rem;
    width: 90%;
    font-size: 30px
}

/* Этапы работы */
.how-it-works {
    position: relative;
    background: url('../img/bg/back3.webp') no-repeat center center;
    background-size: cover;
    padding-top: 4rem;

}

.steps-list {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 30px;
}

.step-item {
    flex: 0 0 calc(30% - 30px);
    text-align: center;
    padding: 30px 15px;
    background: linear-gradient(to right,
            rgba(255, 255, 255, 1) 0%,
            rgb(236, 234, 234) 50%,
            rgb(255, 255, 255) 100%);
    border-top: 3px solid #294f7c;
    border-radius: 30px;
    position: relative;
    transition: transform 0.3s, box-shadow 0.3s;
    font-family: "Helvetica Custom";
}

.step-arrow-right {
    width: 3%;
    display: flex;
}

.arrow-right {
    display: none;
}

.step-toggle {
    cursor: pointer;
    width: 100%;
    display: flex;
    justify-content: center;
    padding: 0 46%;
}

.step-toggle img {
    margin-top: 20px;
    width: 40px;
}

.step-toggle1 {
    cursor: pointer;
    width: 100%;
    display: flex;
    justify-content: center;
    padding: 0 46%;
}

.step-toggle1 img {
    margin-top: 20px;
    width: 40px;
}

.step-arrow-down {
    width: 100%;
    display: flex;
    justify-content: center;
}

.step-arrow-down img {
    width: 3%;
}

.step-arrow-right img {
    width: 100%;
}

.step-item-long {
    width: 100%;
    text-align: center;
    padding: 30px 15px;
    background: linear-gradient(to right,
            rgba(255, 255, 255, 1) 0%,
            rgb(236, 234, 234) 50%,
            rgb(255, 255, 255) 100%);
    /* background: linear-gradient(to right,
    rgba(255, 255, 255, 1) 0%,
    rgb(108, 166, 198) 50%,
    rgb(255, 255, 255) 100%); */
    border-top: 3px solid #294f7c;
    border-radius: 25px;
    position: relative;
    transition: transform 0.3s, box-shadow 0.3s;
    font-family: "Helvetica Custom";
}

.step-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.step-item-long:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

/* .step-number {
    position: absolute;
    top: 10px;
    left: 10px;
    width: 30px;
    height: 30px;
    background-color: #294f7c;
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
} */

.step-number {
    position: absolute;
    top: 10px;
    left: 10px;
    width: 30px;
    height: 30px;
    background-color: #294f7c;
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
}

.arrow-right2 {
    display: flex;
}

.step-icon {
    margin-bottom: 10px;
}

.step-icon span {
    font-size: 60px;
    color: var(--blue-color);
}

.step-icon img {
    width: 60px;
    height: 60px;
}

.step-title {
    font-weight: 700;
    margin-bottom: 10px;
    font-size: 18px;
}

.step-description {
    font-size: 14px;
    color: var(--dark-gray);
}

.cta-block {
    text-align: center;
    margin-top: 50px;
}

/* Наши преимущества */
.advantages {
    background-color: var(--light-gray);
}

.advantages-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
}

.advantage-item {
    flex: 0 0 calc(33.33% - 30px);
    padding: 30px;
    background-color: var(--white-color);
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s;
}

.advantage-item:hover {
    transform: translateY(-5px);
}

.advantage-icon {
    margin-bottom: 20px;
}

.advantage-icon img {
    width: 50px;
    height: 50px;
}

.advantage-title {
    font-weight: 700;
    margin-bottom: 10px;
    font-size: 18px;
}

.advantage-description {
    font-size: 14px;
    color: var(--dark-gray);
}

/* Калькулятор */

.calculator {
    position: relative;
    background: linear-gradient(rgba(255, 255, 255, 0.7), rgba(255, 255, 255, 0.7)), url('../img/bg/back3.webp');
    background-size: cover;
    background-position: center;
    min-height: 600px;
}

.calculator-form {
    max-width: 800px;
    margin: 0 auto;
    padding: 40px;
    background-color: var(--light-gray);
    border-radius: 10px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 16px;
}

.form-group textarea {
    height: 120px;
    resize: vertical;
}

.form-group input[type="checkbox"] {
    width: 20px;
    height: 20px;
}

.form-agreement label {
    margin-bottom: 0;
}

.form-agreement {
    display: flex;
    align-items: center;
    justify-content: center;
}

.range-slider {
    position: relative;
}

.range-slider input[type="range"] {
    width: 100%;
    margin-top: 10px;
}

.range-slider input[type="range"]::-webkit-slider-runnable-track {
    background: var(--red-color);
}

.range-slider input[type=range] {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    background: transparent;
}

/* Chrome, Safari, Edge */
.range-slider input[type=range]::-webkit-slider-thumb {
    -webkit-appearance: none;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: #000;
    cursor: pointer;
    /* Если трек примерно 4px высотой, то смещение: -(thumbHeight/2 - trackHeight/2) */
    margin-top: -10px;
    /*  -(24/2 - 4/2) = -10px */
}

/* Firefox */
.range-slider input[type=range]::-moz-range-thumb {
    width: 24px;
    height: 24px;
    border: none;
    border-radius: 50%;
    background: #000;
    cursor: pointer;
}

/* IE 10+ / Edge Legacy */
.range-slider input[type=range]::-ms-thumb {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: #000;
    cursor: pointer;
}



.range-value {
    margin-top: 5px;
    font-weight: 700;
    text-align: center;
    color: #032734;
}

.form-actions {
    text-align: center;
    margin-top: 30px;
}

/* Наши кейсы */
.cases {
    background-color: #000;
    background-size: cover;
}



.case-slide {
    width: 100%;
    height: 100%;
    margin: 0;

    box-sizing: border-box;
    display: flex;
    background-color: var(--white-color);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.case-image {
    flex: 0 0 60%;
    overflow: hidden;
}

.case-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s;
}

@keyframes pulse {
    0% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.05);
    }

    100% {
        transform: scale(1);
    }
}

/* Применяем анимацию только зума к картинкам в кейсах */
.case-image img {
    animation: pulse 4s ease-in-out infinite;
}

.case-slide:hover .case-image img {
    transform: scale(1.1);
}

.case-info {
    flex: 0 0 40%;
    padding: 20px;
}

.case-title {
    font-size: 24px;
    margin-bottom: 15px;
}

.case-details {
    list-style: none;
    padding: 0;
    margin: 0 0 30px 0;
}

.case-details li {
    padding: 5px 0;
    border-bottom: 1px solid #eee;
}

.carousel-controls {
    text-align: center;
    padding-top: 5rem;
    padding-bottom: 7rem;
}

.carousel-prev,
.carousel-next {
    background-color: transparent;
    color: white;
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 18px;
    margin: 0 10px;
}

.case-slide {
    display: none;
}

.case-slide.active {
    display: block;
}

.case-card {
    display: flex;
    flex-direction: row;
    background: #f8f8f8;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.case-image {
    flex: 0 0 60%;
    max-width: 60%;
}

.case-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.case-info {
    flex: 1;
    padding: 24px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    background: white;
}

.case-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.case-title {
    font-size: 20px;
    margin: 0;
}

.country-flag {
    width: 24px;
    height: 24px;
    object-fit: contain;
    box-shadow: 1px 1px 5px 0px rgba(66, 68, 90, 1);
    border-radius: 50%;
}

.case-details {
    list-style: none;
    padding: 0;
    margin: 16px 0;
    font-size: 16px;
}

.case-review {
    position: relative;
    display: inline-block;
    max-width: 100%;
    padding: 16px 24px;
    margin: 12px 0;

    background: linear-gradient(135deg, rgba(9, 94, 123, 0.3), rgba(255, 255, 255, 0.2));
    backdrop-filter: blur(6px);
    border-radius: 16px;
    color: #002B3F;
    font-size: 16px;
    line-height: 1.5;

    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}


.btn-primary {
    align-self: center;
    background: #e53935;
    color: white;
    padding: 12px 20px;
    border-radius: 6px;
    text-decoration: none;
    font-weight: bold;
}

.case-info .btn-primary {
    align-self: start;
}



/* Адаптив */
@media (max-width: 768px) {
    .case-card {
        flex-direction: column;
    }

    .case-image,
    .case-image img {
        max-width: 100%;
    }
}


/* Отзывы */
.reviews {
    position: relative;
    background: linear-gradient(rgba(255, 255, 255, 0.7), rgba(255, 255, 255, 0.7)), url('../img/bg/back4.webp');
    background-size: cover;
    background-position: center;
    min-height: 600px;
}

.reviews-list {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
}

.review-card {
    flex: 0 0 calc(33.33% - 30px);
    background-color: var(--light-gray);
    border-radius: 10px;
    overflow: hidden;
}

.review-video {
    position: relative;
    padding-bottom: 56.25%;
    /* 16:9 aspect ratio */
}

.video-preview {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.play-btn {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 60px;
    height: 60px;
    background-color: rgba(11, 114, 151, 0.8);
    border: none;
    border-radius: 50%;
    cursor: pointer;
}

.play-btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-35%, -50%);
    border-style: solid;
    border-width: 15px 0 15px 25px;
    border-color: transparent transparent transparent var(--white-color);
}

.car-picker {
    position: relative;
    background-color: #000;
    background-size: cover;
    color: white;
    font-family: "Helvetica Custom";
    padding-bottom: 5rem;

}

.picker-title {
    margin-bottom: 0;
    color: #ddd
}

/* Скрываем нативный input */
.picker-form input {
    display: none;
}

/* Создаём кастомную иконку радиокнопки */
.picker-form .radio-mark {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 2px solid #fff;
    border-radius: 50%;
    margin-right: 10px;
    vertical-align: middle;
    position: relative;
}

/* Активное состояние — точка внутри */
.picker-form input:checked+.radio-mark::after {
    content: '';
    position: absolute;
    top: 20%;
    left: 17%;
    width: 10px;
    height: 10px;
    background: #e53935;
    /* твой фиолетовый или другой цвет */
    border-radius: 50%;
}

.car-type {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    /* фон блока */
    border-radius: 10px;
    cursor: pointer;
    width: 22%;
    position: relative;
    color: #fff;
    user-select: none;
}

.picker-block {
    display: flex;
    flex-direction: row;
    gap: 1.5rem;
    flex-wrap: wrap;
    margin-bottom: 1.5rem;
}

.picker-form {
    display: flex;
    flex-direction: column;
    gap: 30px;
    padding: 40px;
    border-radius: 20px !important;
    background-color: #003344d0;

}

.subtitle {
    font-size: 18px;
    font-weight: 600;
    margin-block-end: 0;
}

.car-label {
    margin-top: 10px;
}

.picker-form-bottom {
    display: flex;
    flex-direction: row;
    gap: 10px;
}

.custom-radio {
    font-size: 18px;
    font-weight: 400;
}

.picker-form-bottom .form-group {
    display: flex;
    padding: 10px;
    border-radius: 10px;
    margin-bottom: 0;
}

.executor {
    position: relative;
    background: linear-gradient(rgba(255, 255, 255, 0), rgba(255, 255, 255, 0.0)), url(../img/bg/back6.webp);
    background-size: cover;
    background-position: center;
    min-height: 700px;
    padding-top: 7rem;
}

.executor_cont {
    display: flex;
    flex-direction: row;
    justify-content: space-evenly;
    width: 100%;
}

.executor_card {
    position: relative;
    padding: 20px;
    width: 300px;
    height: 350px;
    background: #FFFF;
    border-radius: 20px;
}

.executor_img {
    width: 150px;
    height: 200px;
    object-fit: cover;
    border-radius: 20px;
}

.executor_name {
    font-size: 24px;
    font-weight: normal;
    color: #294f7c;
    margin-bottom: 0;
}

.executor_token {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 40px;
    height: 40px;
}

.executor_position {}


.review-info {
    padding: 20px;
    background-color: var(--dark-color);
    color: var(--white-color);
}

.reviewer-name {
    font-weight: 700;
    margin-bottom: 5px;
}

.review-text {
    padding: 20px;
}

.review-text h4 {
    margin-bottom: 10px;
    color: var(--blue-color);
}

/* Партнерская программа */
.partner {
    background-color: var(--light-gray);
}

.partner-block {
    display: flex;
    gap: 40px;
    align-items: center;
}

.partner-description {
    flex: 0 0 50%;
}

.partner-title {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 20px;
    color: var(--blue-color);
}

.partner-form {
    flex: 0 50%;
    background-color: var(--white-color);
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

/* FAQ */
.faq {
    position: relative;
    background: linear-gradient(rgba(255, 255, 255, 0), rgba(255, 255, 255, 0.0)), url('../img/bg/back7.webp');
    background-size: cover;
    background-position: center;
    min-height: 849px;
    padding-bottom: 7rem;
}

.faq-list,
.faq-accordion {
    width: 100%;
}

.faq-item {
    margin-bottom: 15px;
    border-top: 2px solid #fff;
    border-radius: 50px;
    overflow: hidden;
}

.faq-button {
    width: 100%;
    padding: 20px;
    font-weight: 700;
    font-size: 24px;
    background: #fff;
    font-family: "Helvetica Custom";
    cursor: pointer;
    position: relative;
    transition: background-color 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border: none;
    text-align: left;
    outline: none;
    color: var(--white-color);
}

.faq-button:hover {
    background-color: rgba(255, 255, 255, 0.5);
}

.faq-question-text {
    flex: 1;
    margin-right: 20px;
    color: #294f7c;
}

.faq-icon {
    padding: 11px 14px;
    text-align: center;
    line-height: 80%;
    background-color: var(--blue-color);
    color: white;
    border-radius: 50%;
    transition: transform 0.3s, background-color 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
}

.faq-content {
    font-size: 16px;
    font-family: "Helvetica Custom";
    background-color: #f2f7f9;
}

.faq-item.active .faq-icon {
    background-color: var(--dark-color);
}

.faq-content {
    padding: 0 20px;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s ease, padding 0.5s ease;
    will-change: max-height, padding;
}

.faq-item.active .faq-content {
    padding: 20px;
    max-height: 1000px;
}

/* Для обратной совместимости со старой структурой */
.faq-question {
    padding: 20px;
    background-color: #294f7c;
    font-weight: 700;
    cursor: pointer;
    position: relative;
    transition: background-color 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.faq-question:hover {
    background-color: #e0e0e0;
}

.faq-question::after {
    content: '+';
    position: absolute;
    right: 20px;
    width: 24px;
    height: 24px;
    line-height: 22px;
    text-align: center;
    background-color: var(--blue-color);
    color: white;
    border-radius: 50%;
    transition: transform 0.3s, background-color 0.3s;
}

.faq-item.active .faq-question {
    background-color: #e8f4f8;
    color: var(--blue-color);
}

.faq-item.active .faq-question::after {
    transform: rotate(45deg);
    background-color: var(--dark-color);
}

.faq-answer {
    padding: 0 20px;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s ease, padding 0.5s ease;
    will-change: max-height, padding;
}

.faq-item.active .faq-answer {
    padding: 20px;
    max-height: 1000px;
}


.info-wrapper {
    display: flex;
    gap: 20px;
    /* или твой тёмный фон */
    border-radius: 16px;
    width: 100%;
}

.info-contacts {
    display: flex;
    flex-direction: column;
    gap: 15px;
    padding: 20px;
    width: 30%;
    height: 400px;
    background-color: #003344;
    border-radius: 16px;
}

#yandex-map {
    flex: 1 1 60%;
    height: 100%;
    border-radius: 12px;
    overflow: hidden;
    width: 100%;
}


.info-contacts .contact-label {
    color: #fff !important;
}

.info-contacts .contact-value {
    word-break: break-all;
}

/* Акции */
.promo {
    background-color: var(--light-gray);
}

.promo-banner {
    background-color: var(--dark-color);
    color: var(--white-color);
    padding: 40px;
    border-radius: 10px;
    text-align: center;
}

.promo-text h3 {
    font-size: 28px;
    margin-bottom: 10px;
    color: var(--white-color);
}

.promo-timer {
    margin: 30px 0;
}

.timer-title {
    margin-bottom: 15px;
}

.countdown {
    display: flex;
    justify-content: center;
    gap: 20px;
}

.countdown-item {
    text-align: center;
}

.countdown-number {
    font-size: 36px;
    font-weight: 700;
    background-color: var(--blue-color);
    color: var(--white-color);
    width: 80px;
    height: 80px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.countdown-label {
    margin-top: 5px;
    font-size: 14px;
}

.promo-action {
    margin-top: 30px;
}

.map-section {
    position: relative;
    background: url(../img/bg/back3.webp) no-repeat center center;
    background-size: cover;
}

/* Футер */
.footer {
    background-color: var(--dark-color);
    color: var(--white-color);
    padding: 60px 0 30px;
}

.footer-top {
    display: flex;
    justify-content: space-between;
    margin-bottom: 40px;
}

.footer-logo {
    font-size: 24px;
    font-weight: 700;
}

.footer-logo a {
    color: var(--white-color);
}

.footer-contacts {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.contact-item {
    display: flex;
    flex-direction: column;
}

.contact-label {
    font-weight: 200;
}

.contact-value {
    color: var(--white-color) !important;
}

.footer-social {
    display: flex;
    gap: 15px;
    align-items: center;

}

.footer-social img {
    width: 50px;
    height: 50px;
}

.footer-social .whatsApp-icon img {
    width: 40px;
    height: 40px;
}

.social-link {
    color: var(--white-color);
    display: flex;
    align-items: center;
    gap: 5px;
}

.footer-qr {
    text-align: center;
}

.footer-qr img {
    width: 100px;
    height: 100px;
    margin-bottom: 10px;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 30px;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.footer-links {
    display: flex;
    gap: 20px;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
}

.footer-links a:hover {
    color: var(--white-color);
}

.footer-form {
    max-width: 600px;
    margin: 0 auto;
}

.form-row {
    display: flex;
    gap: 10px;
}

.form-row input {
    flex: 1;
    padding: 12px 15px;
    border: none;
    border-radius: 5px;
}

.form-agreement {
    margin-top: 10px;
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
}

.footer-copyright {
    text-align: center;
    font-size: 14px;
    color: rgba(255, 255, 255, 0.5);
}

/* Модальные окна */
.popup {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 1100;
}

.popup-content {
    background-color: var(--white-color);
    padding: 40px;
    border-radius: 10px;
    max-width: 500px;
    width: 100%;
    position: relative;
    z-index: 1110;
}

.popup-close {
    position: absolute;
    top: 10px;
    right: 15px;
    font-size: 30px;
    cursor: pointer;
    color: #FFFF;
}

.popup-title {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 30px;
    text-align: center;
}

.overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    display: none;
    z-index: 1050;
}

/* Страницы политики и условий */
.terms-section,
.privacy-section {
    padding-top: 120px;
}

.terms-content,
.privacy-content {
    max-width: 800px;
    margin: 0 auto;
}

.terms-content h2,
.privacy-content h2 {
    margin-top: 40px;
    font-size: 24px;
    color: var(--blue-color);
}

.terms-content p,
.privacy-content p {
    margin-bottom: 20px;
}

.terms-content ul,
.privacy-content ul {
    margin-bottom: 20px;
}

/* Адаптивность */
@media (max-width: 1199px) {

    .hero-par {
        width: 90% !important;
    }

    .arrow-right2 {
        display: none;
    }

    .container {
        max-width: 960px;
    }

    .site-logo {
        width: 80px;
    }

    .main-menu li {
        margin-left: 8px;
        margin-right: 8px;
    }

    .main-menu a {
        font-size: 12px;
    }

    .btn-small {
        padding: 8px 10px;
    }

    .header-contacts {
        gap: 14px;
    }

    .advantage-item {
        flex: 0 0 calc(50% - 30px);
    }

    .section-title {
        font-size: 42px;
    }


    .step-item {
        flex: 0 0 calc(33.33% - 30px);
    }

    .arrow-right {
        display: flex;
    }

    .arrow-right1 {
        display: none;
    }

    .case-title {
        font-size: 20px;
        margin-bottom: 0px;
    }

    .case-details {
        font-size: 16px;
    }

    .hero-image img {
        bottom: -420px;
    }

    .hero-image-3 img {
        right: -267px;
        bottom: -463px;
    }

    .hero-image-2 img {
        right: 269px;
        bottom: -490px;
        width: 1133px;
    }

    .hero h1 {
        font-size: 70px;
        line-height: 100px;
    }

    .hero h2 {
        font-size: 40px;
    }

    .afterHero-detail-elemWrapper-text {
        display: flex;
        justify-content: left;
        align-items: center;
        margin-left: 1rem;
        width: 90%;
        font-size: 32px;
    }
}

@media (max-width: 991px) {
    .container {
        max-width: 720px;
    }

    .hero h1 {
        font-size: 50px;
        line-height: 90px;
    }

    .hero h2 {
        font-size: 30px;
        line-height: 40px;
    }

    .hero-par p {
        font-size: 32px !important;
    }

    .hero-text .afterHero-button-wrapper {
        width: 250px;
        padding: 0.5rem;
    }

    .hero-text .afterHero-button {
        line-height: 30px;
    }

    .hero-text .afterHero-button {
        font-size: 18px;
    }

    .hero-image img {
        right: -264px;
        bottom: -357px;
        width: 872px;
    }

    .afterHero-detail {
        font-size: 38px;
    }

    .afterHero-detail-elemWrapper+.afterHero-detail-elemWrapper {
        margin-top: 20px;
    }

    .afterHero-detail-elemWrapper-icon-wrapper {
        width: 50px;
        height: 50px;
    }

    .afterHero-detail-elemWrapper-text {
        font-size: 24px;
    }

    .afterHero-detail-elemWrapper-icon {
        width: 100%;
        height: 100%;
    }

    .afterHero-button {
        font-size: 2rem;
        line-height: 52px;
    }

    .main-menu {
        display: none;
    }

    .partner-block {
        flex-direction: column;
    }

    .partner-description,
    .partner-form {
        flex: 0 0 100%;
    }

    /*.section {*/
    /*    padding: 40px 0;*/
    /*}*/

    .cases {
        background: url(../img/bg/back5.webp) no-repeat center center;
        background-size: cover;
        min-height: 86vh;
    }

    .cases-carousel {
        gap: 15px;
    }

    .case-slide {
        flex-direction: column;
    }

    .case-card {
        display: flex;
        flex-direction: column;
    }

    .case-image,
    .case-info {
        max-width: 100%;
    }

    .case-info {
        min-height: 300px;
        padding: 20px;
    }

    .case-title {
        font-size: 18px;
    }

    .case-details {
        font-size: 12px;
    }

    .case-details {
        margin: 0 0 4.5px 0;
    }

    .case-info .btn {
        padding: 2px 10px;
    }

    .review-card {
        flex: 0 0 calc(50% - 30px);
    }

    .partner-form .btn {
        width: 100%;
    }

    .section-title {
        border-radius: 30px;
        font-size: 32px;
        padding: 16px 2rem;
    }

    .info-wrapper {
        display: flex;
        flex-direction: column;
        gap: 20px;
        /* или твой тёмный фон */
        border-radius: 16px;
        width: 100%;
    }

    .info-contacts {
        display: flex;
        flex-direction: column;
        gap: 15px;
        padding: 20px;
        width: 100%;
        height: 100%;
        background-color: #003344;
        border-radius: 16px;
    }

    #yandex-map {
        height: 100%;
        border-radius: 12px;
        overflow: hidden;
        width: 100% !important;
    }

    .ymaps-2-1-79-map {
        width: 100% !important;
    }

    .footer-top {
        flex-direction: column;
        gap: 30px;
    }

    .form-row {
        flex-direction: column;
    }

    .footer-links {
        flex-direction: column;
    }

    .steps-list {
        flex-direction: column;
        gap: 20px;
    }

    .step-arrow-right {
        width: 100%;
        height: 100%;
        display: flex;
        justify-content: center;
        align-items: center;
    }

    .step-arrow-right img,
    .step-arrow-down img {
        width: 40px !important;
        height: 40px !important;
        transform: rotate(90deg);
    }

    .step-arrow-down {
        transform: rotate(270deg);
    }

    .step-item,
    .step-item-long {
        flex: 0 0 80%;
        height: 290px;
        ;
        scroll-snap-align: start;
        display: block !important;
    }

    .hero-image-2 img {
        right: 112px;
        bottom: -490px;
        width: 932px;
    }

    .hero-image-3 img {
        right: -197px;
        bottom: -398px;
        width: 716px
    }

    .arrow-right1 {
        display: block;
    }

    .afterHero-button-wrapper-new {
        border-radius: 10px;
    }

    .picker-block {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
    }

    .custom-radio {
        font-size: 16px;
    }

    .picker-form-bottom {
        display: flex;
        flex-direction: column;
    }

    .picker-form-bottom .btn-primary {
        width: 100%;
    }

    .executor_cont {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 2rem;
    }

    .executor_card {
        width: 70%;
    }

    .hero-image img {
        bottom: -402px;
    }
}

@media (max-width: 767px) {
    .container {
        max-width: 540px;
    }

    .header {
        padding: 10px 0px;
    }

    .mobile_btns {
        display: flex;
        height: 70px;
        gap: 10px;
    }

    .telegram-icon img,
    .instagram-icon img,
    .youtube-icon img {
        width: 20px;
        height: 20px;
    }

    .whatsApp-icon img {
        width: 18px;
        height: 18px;
    }

    .social-icons {
        gap: 5px;
    }

    .site-logo {
        width: 80px;
    }

    .header-contacts {
        display: none;
    }

    .hero h1 {
        font-size: 40px;
        line-height: 60px;
    }

    .hero h2 {
        font-size: 24px;
        line-height: 30px;
    }

    .hero-text .afterHero-button {
        line-height: 24px;
    }

    .hero-image img {
        right: -387px;
        bottom: -542px;
        width: 898px;
    }

    .hero-image-2 img {
        right: 75px;
        bottom: -439px;
        width: 813px;
    }

    .hero-image-3 img {
        right: -205px;
        bottom: -353px;
        width: 598px;
    }

    .afterHero-text {
        width: 100%;
    }

    .afterHero-content {
        padding-bottom: 1rem;
    }

    .afterHero-button-wrapper {
        margin-top: 30px;
        width: 100%;
        box-shadow: 0 4px 12px rgba(255, 255, 255, 0.4);
        z-index: 10;

    }

    .afterHero-detail {
        font-size: 32px;
    }

    .section-title {
        font-size: 28px;
        padding: 0 1rem;
    }

    .step-item,
    .step-item-long {
        flex: 0 0 93%;
    }

    .steps-list {
        gap: 0px;
        padding: 10px 0;
    }

    .compare-table {
        gap: 20px;
        flex-direction: column;
    }

    .compare-column:first-child {
        margin-right: 0px;
    }

    .advantage-item {
        flex: 0 0 100%;
    }

    .partner-title {
        font-size: 18px;
    }

    .review-card {
        flex: 0 0 100%;
    }

    .countdown {
        flex-wrap: wrap;
    }
}

@media (max-width: 575px) {
    .faq-button {
        font-size: 18px;
    }

    .container {
        padding: 0 10px;
    }

    .header-contacts {
        display: none;
    }

    .hero {
        padding: 150px 0 0px;
    }

    .hero h1 {
        font-size: 30px;
        line-height: 50px;
        width: 100%;
        margin-top: -2rem;
    }

    .hero h2 {
        font-size: 18px;
        line-height: 28px;
        margin-bottom: 100%;
    }

    .afterHero {
        min-height: 250px;
    }

    .afterHero-text>h1 {
        font-size: 32px;
        line-height: 38px;
    }

    .afterHero-button {
        font-size: 16px;
        line-height: 52px;
    }

    .afterHero-detail-elemWrapper-icon-wrapper {
        width: 40px;
        height: 40px;
    }

    .afterHero-detail-elemWrapper-icon {
    }

    .afterHero-detail {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-items: center;
        font-size: 24px;
    }

    .afterHero-detail-elemWrapper-text {
        width: fit-content;
    }

    .afterHero-detail-elemWrapper-text {
        display: flex;
        justify-content: left;
        align-items: center;
        margin-left: 1rem;
        width: 90%;
        font-size: 16px
    }

    .afterHero-button-wrapper-new {
        margin-top: 30px;
        width: 100%;
        box-shadow: 0 4px 12px rgba(255, 255, 255, 0.4);
    }

    .afterHero-detail {
        padding: 0px 0 20px;
    }

    .section-title {
        font-size: 16px;
        border-radius: 20px !important;
    }

    .section-title-long {
        font-size: 18px;
        padding: 0rem;
    }

    .popup-content {
        padding: 25px;
    }

    .form-group .btn {
        width: 100%;
    }

    .footer-links a {
        text-align: center;
    }

    .footer-social img {
        width: 40px;
        height: 40px;
    }

    /* Анимации */
    @keyframes fadeIn {
        from {
            opacity: 0;
        }

        to {
            opacity: 1;
        }
    }

    @keyframes slideInUp {
        from {
            transform: translateY(50px);
            opacity: 0;
        }

        to {
            transform: translateY(0);
            opacity: 1;
        }
    }

    @keyframes pulse {
        0% {
            transform: scale(1);
        }

        50% {
            transform: scale(1.05);
        }

        100% {
            transform: scale(1);
        }
    }

    .fadeIn {
        animation: fadeIn 1s;
    }

    .slideInUp {
        animation: slideInUp 0.8s;
    }

    .pulse {
        animation: pulse 2s infinite;
    }

    .popup-content {
        padding: 20px !important;
    }

    .popup-title {
        font-size: 22px !important;
        margin-bottom: 10px !important;
    }

    .calculator-form {
        padding: 15px !important;
    }

    .popup-close {
        top: -12px;
        right: 11px;
    }

    .btn-large {
        font-size: 14px;
        padding: 15px 20px;
    }

    .hero-text .afterHero-button-wrapper {
        width: 250px;
        padding: 0.5rem;
        margin: 0 20%;
    }

    .hero-image img {
        right: -191px;
        width: 590px;
        bottom: -330px;
    }

    .hero2 {
        min-height: 521px;
        padding: 87px 0 50px;
    }

    .hero-image-2 img {
        bottom: -362px;
        width: 638px;
        right: 54px;
    }

    .hero-image-3 img {
        right: -73px;
        bottom: -240px;
        width: 371px;
    }

    .hero-buttonWrapper {
        bottom: -20px;
        width: calc(100% - 20px);
    }

    .case-title {
        font-size: 15px;
    }

    .faq-question-text {
        display: flex;
        align-items: center;
        justify-content: center;
        margin: 0;
        font-size: 16px;
        text-transform: uppercase;
    }

    .executor_card {
        height: 310px;
    }

    .executor_img {
        width: 120px;
        height: 150px;
    }

    .executor_name {
        font-size: 18px;
    }

    .executor_position {
        font-size: 14px;
    }

    .hero-par p {
        font-size: 20px !important;
    }
}

@media screen and (max-width: 375px) {

    .cases {
        padding-top: 3rem;
    }

    .how-it-works {
        padding-top: 3rem;
    }

    .afterHero-detail-elemWrapper {
        margin-top: 0px;
    }

    h2 {
        margin-bottom: 1.5rem;
    }

    .afterHero-detail-elemWrapper-text {
        display: flex;
        justify-content: left;
        align-items: center;
        margin-left: 1rem;
        width: 90%;
        font-size: 16px;
        font-weight: 300;
    }

    .faq-question-text {
        font-size: 14px;
    }

    .site-logo {
        width: 60px;
    }

    .form-agreement {
        font-size: 12px;
    }

    .form-group input[type="checkbox"] {
        width: 15px;
        height: 15px;
    }

    .hero h2 {
        font-size: 16px;
        line-height: 28px;
        margin-bottom: 100%;
    }

    .hero2 {
        min-height: 453px;
        padding: 50px 0 100px;
    }

    .hero-image-2 img {
        bottom: -345px;
        width: 622px;
    }

    .case-title {
        font-size: 15px;
    }

    .hero h1 {
        font-size: 28px;
        margin-top: -3rem;
    }

    .afterHero-detail {
        padding-bottom: 3rem;
    }

    .hero-par p {
        font-size: 18px !important;
    }

    .hero-image img {
        width: 550px;
    }
}

.car-animation {
    position: absolute;
    left: 500px;
    /* начальное положение за экраном */
    bottom: 0px;
    z-index: 1;
    animation: driveIn 2.5s ease-out forwards;
    animation-delay: 0.5s;
}

.car-image {
    width: 350px;
    max-width: 100%;
}

.button-hero-count {
    margin-bottom: 40px;
}

.contact-value {
    font-size: 15px;
    font-weight: 700;
}

/* Анимация заезда машинки */
/*@keyframes driveIn {*/
/*    0% {*/
/*        left: -300px;*/
/*        transform: rotate(-2deg);*/
/*    }*/
/*    50% {*/
/*        transform: rotate(1deg);*/
/*    }*/
/*    100% {*/
/*        left: 30px;*/
/*        transform: rotate(0deg);*/
/*    }*/
/*}*/

.popup .range-slider input[type="range"] {
    -webkit-appearance: none;
    width: 100%;
    height: 14px;
    background: transparent;
    position: relative;
}

/* Внешний трек */
.popup .range-slider input[type="range"]::-webkit-slider-runnable-track {
    height: 14px;
    background: #B30003;
    /* красный */
    border-radius: 10px;
    box-shadow: inset 0 0 5px rgba(0, 0, 0, 0.3);
}

/* Скруглённый ползунок с хром-эффектом */
.popup .range-slider input[type="range"]::-webkit-slider-thumb {
    -webkit-appearance: none;
    margin-top: -5px;
    /* выравниваем по треку */
    height: 24px;
    width: 24px;
    border-radius: 50%;
    background: radial-gradient(circle at 30% 30%, #e0f4ff, #0B7297 70%);
    box-shadow:
        inset -2px -2px 4px rgba(255, 255, 255, 0.6),
        inset 2px 2px 4px rgba(0, 0, 0, 0.2),
        0 0 4px rgba(11, 114, 151, 0.5);
    border: 1px solid #0B7297;
    cursor: pointer;
    transition: transform 0.2s;
}

/* Firefox: полоса и заполнение */
.popup .range-slider input[type="range"]::-moz-range-track {
    height: 14px;
    background: #B30003;
    border-radius: 10px;
}

.popup .range-slider input[type="range"]::-moz-range-thumb {
    height: 24px;
    width: 24px;
    border-radius: 50%;
    background: radial-gradient(circle at 30% 30%, #e0f4ff, #0B7297 70%);
    box-shadow:
        inset -2px -2px 4px rgba(255, 255, 255, 0.6),
        inset 2px 2px 4px rgba(0, 0, 0, 0.2),
        0 0 4px rgba(11, 114, 151, 0.5);
    border: 1px solid #0B7297;
    cursor: pointer;
}

/* IE/Edge (устаревшее) */
.popup .range-slider input[type="range"]::-ms-track {
    height: 14px;
    background: transparent;
    border-color: transparent;
    color: transparent;
}

.popup .range-slider input[type="range"]::-ms-fill-lower {
    background: #B30003;
    border-radius: 10px;
}

.popup .range-slider input[type="range"]::-ms-fill-upper {
    background: #B30003;
    border-radius: 10px;
}

.popup-content {
    background: linear-gradient(to bottom right, #032734 30%, #0B7297 100%);
    color: white;
    padding: 40px;
    border-radius: 20px;
    max-width: 600px;
    width: 90%;
    position: relative;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3);
    font-family: "Helvetica Custom", sans-serif;
    animation: fadeIn 0.4s ease;
}

/* Заголовок модалки остаётся белым, но можно изменить при необходимости */
.popup-title {
    font-size: 28px;
    font-weight: 700;
    text-align: center;
    margin-bottom: 30px;
    color: var(--white-color);
    /* если это белый, то если фон белый, измените на var(--dark-color) */
    border-bottom: 2px solid rgba(255, 255, 255, 0.3);
    padding-bottom: 10px;
}

/* Для подписей и меток, если текст не виден (белый на белом) */
.popup-content .form-group label {
    color: var(--dark-color);
    /* задаём тёмный цвет */
    font-weight: 600;
    margin-bottom: 8px;
    display: block;
}

/* Если у селекторов и инпутов фон слишком светлый, меняем его, чтобы текст был читаем */
.popup-content .form-group input,
.popup-content .form-group select {
    background-color: rgba(255, 255, 255, 0.9);
    /* светлый фон, чтобы белый текст не сливался – можно использовать другой оттенок */
    border: 1px solid var(--red-color);
    border-radius: 10px;
    padding: 12px 15px;
    color: var(--dark-color);
    /* текст становится тёмным */
    width: 100%;
    font-size: 16px;
    transition: border 0.3s;
}

/* Изменяем плейсхолдер, чтобы он был более контрастным */
.popup-content .form-group input::placeholder,
.popup-content .form-group select::placeholder {
    color: rgba(0, 0, 0, 0.5);
}

.cookie-popup {
    position: fixed;
    bottom: 20px;
    left: 20px;
    max-width: 360px;
    width: calc(100% - 40px);
    background-color: #2f2f2f;
    color: #fff;
    border-radius: 8px;
    padding: 20px;
    z-index: 9999;
    display: flex;
    flex-direction: column;
    gap: 12px;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.25);
    font-family: sans-serif;
}

.cookie-popup-title {
    font-size: 18px;
    font-weight: bold;
}

.cookie-popup-text {
    font-size: 14px;
    line-height: 1;
    margin-bottom: 10px;
}

.cookie-popup-link {
    color: #aad4ff;
    text-decoration: underline;
    font-weight: 500;
    display: inline-block;
    margin-top: 8px;
}

.cookie-popup-buttons {
    display: flex;
    justify-content: flex-end;
    gap: 6px;
}

.cookie-btn {
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.2s ease;
    border: none;
}

.cookie-btn.primary {
    background-color: #00aaff;
    color: white;
}

.cookie-btn.primary:hover {
    background-color: #0090dd;
}

.cookie-btn.secondary {
    background-color: #444;
    color: #ccc;
}

.cookie-btn.secondary:hover {
    background-color: #666;
}



@media screen and (max-width: 385px) {

    .popup-content .form-group input,
    .popup-content .form-group select {
        padding: 7px;
        font-size: 12px;
        border-radius: 10px;
    }

    .popup-content .form-group label {
        font-size: 14px;
    }

    .popup-content {
        padding: 15px !important;
    }

    .popup-title {
        font-size: 19px !important;
        margin-bottom: 5px !important;
    }

    .form-group {
        margin-bottom: 10px;
    }

    .calculator-form {
        padding: 12px !important;
    }

    .cookie-popup {
        position: fixed;
        bottom: 20px;
        left: 20px;
        max-width: 360px;
        width: calc(100% - 40px);
        background-color: #2f2f2f;
        color: #fff;
        border-radius: 8px;
        padding: 7px;
        z-index: 9999;
        display: flex;
        flex-direction: column;
        /* gap: 12px; */
        box-shadow: 0 8px 16px rgba(0, 0, 0, 0.25);
        font-family: sans-serif;
    }
}