/* Базовые стили */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    overflow-x: hidden;
    width: 100%;
    scroll-behavior: smooth;
}

body {
    font-family: 'Montserrat', Arial, sans-serif;
    line-height: 1.4;
    color: #333;
    overflow-x: hidden;
    width: 100%;
    min-width: 0;
}

/* Токены адаптива (mobile-first) */
:root {
    /* Контейнер: мобилка 375px с гаттером 10px -> контент 355px */
    --container-max: 375px;
    --gutter: 10px;

    /* Скругления */
    --radius-lg: 20px;
    --radius-md: 10px;
    --radius-section: 30px;

    /* Типографика (пока только фундамент, без десктоп-раскладок) */
    --fs-h1: 40px;
    --lh-h1: 40px;
    --fs-h2: 30px;
    --lh-h2: 36px;
    --fs-body: 17px;
}

@media (min-width: 1024px) {
    :root {
        --container-max: 960px;
        --gutter: 32px;
        --fs-h1: 44px;
        --lh-h1: 44px;
        --fs-h2: 36px;
        --lh-h2: 42px;
        --fs-body: 18px;
        --radius-section: 60px;
    }
}

@media (min-width: 1440px) {
    :root {
        /* По ТЗ: ширина контента 1360 внутри 1440 */
        --container-max: 1360px;
        --gutter: 40px;
        --fs-h1: 50px;
        --lh-h1: 50px;
        --fs-h2: 40px;
        --lh-h2: 46px;
        --fs-body: 18px;
    }
}

/* Единый контейнер для всех секций */
.container {
    width: 100%;
    max-width: var(--container-max);
    margin-left: auto;
    margin-right: auto;
    padding-left: var(--gutter);
    padding-right: var(--gutter);
}

/* Шрифты */
/* Unbounded Semibold используется для заголовков */
/* Montserrat Light (300), Regular (400), Medium (500) используется для текста */

/* Правило верхних отступов: каждый элемент имеет margin-top */
/* При увеличении размера элемента выше, элементы ниже сохраняют свои отступы и смещаются вниз */
body > * {
    margin-top: 0;
}

body > * + * {
    margin-top: 0; /* Будет задаваться индивидуально для каждого элемента */
}

/* База: секции full-bleed, отступы делаем контейнером */
body {
    padding-left: 0;
    padding-right: 0;
    width: 100%;
    max-width: 100%;
    position: relative;
}

/* Блок Hero */
.hero {
    position: relative;
    width: 100%;
    overflow: visible;
}

/* Hero: простая структура (mobile-first) */
.hero__container {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.hero__left,
.hero__right {
    width: 100%;
}

.hero__left {
    /* Важно для мобильной версии:
       logo-wrapper и tagline не должны вставать в одну строку (оба inline-block),
       поэтому фиксируем вертикальный поток через flex-колонку. */
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* Верхний контейнер Hero: шапка (лого) + меню — только 1024/1440 как две колонки */
.hero__top {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.hero__top-left,
.hero__top-right {
    width: 100%;
}

.hero__top-right {
    display: none; /* меню на мобилке в бургере */
}

/* Верхний контейнер в Hero: логотип (слева) + бургер (справа) на мобилке */
.hero__header {
    width: 100%;
    display: grid;
    grid-template-columns: 30% 40% 30%;
    align-items: center;
    margin-top: 40px;
}

.hero__header::before {
    content: '';
    grid-column: 1;
}

.hero__header .logo-wrapper {
    grid-column: 2;
    justify-self: center;
}

.hero__header .hero__burger {
    grid-column: 3;
    justify-self: end;
}

.hero__right {
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: visible;
    width: 100%;
    margin-left: auto;
    margin-right: auto;
}

/* В мобильной версии картинка строго по центру блока (align-self перебивает flex-start из .bg-image) */
.hero__right .bg-image {
    align-self: center;
}

@media (min-width: 1024px) {
    /* Верхний контейнер: две колонки (шапка + меню), ширина как у всех блоков */
    .hero__top {
        flex-direction: row;
        align-items: flex-start;
        justify-content: space-between;
        gap: 40px;
    }

    .hero__top-left {
        flex: 0 0 20%;
        width: 20%;
        display: flex;
        justify-content: flex-start;
    }

    .hero__top-right {
        flex: 0 0 80%;
        width: 80%;
        display: flex;
        justify-content: flex-end;
    }

    .hero__container {
        flex-direction: row;
        align-items: flex-start;
        justify-content: space-between;
        gap: 40px;
    }

    /* Левый контейнер: 54% */
    .hero__left {
        flex: 0 0 54%;
        display: flex;
        flex-direction: column;
        align-items: flex-start;
    }

    .hero__right {
        flex: 1 1 auto;
        align-items: flex-start;
        justify-content: flex-start;
        width: auto;
        margin-left: calc(-1 * var(--gutter)); /* убираем отступ слева от padding контейнера */
    }

    /* Картинка: приклеена к левому краю правой колонки и в оригинальном размере */
    .hero__right .bg-image {
        margin-left: 0;
        margin-top: 0;
        width: auto;
        height: auto;
        max-width: none;
        max-height: none;
        object-fit: none;
        align-self: flex-start;
    }

    /* Визуал под десктоп: убрать auto-центрирование и выровнять влево */
    .hero__left .logo-wrapper,
    .hero__left .tagline,
    .hero__left .main-heading,
    .hero__left .divider,
    .hero__left .description,
    .hero__left .buttons-wrapper {
        margin-left: 0;
        margin-right: 0;
    }

    .hero__left .tagline,
    .hero__left .main-heading,
    .hero__left .description {
        text-align: left;
    }

    /* На десктопе tagline не должен центрироваться внутри левой колонки */
    .hero__left .tagline {
        align-self: flex-start;
        /* перебиваем мобильное margin: 40px auto 0; чтобы не было центрирования */
        margin-left: 0;
        margin-right: 0;
        margin-top: 60px;
    }
}

@media (min-width: 1440px) {
    .hero__right {
        margin-left: calc(-1 * var(--gutter)); /* убираем отступ слева от padding контейнера */
    }

    .hero__right .bg-image {
        margin-top: 40px !important;
        margin-left: 0;
    }

    .hero__left .tagline {
        margin-top: 120px; /* уменьшено на 20px от предыдущего значения */
    }
}

/* Анимация появления элементов hero блока */
@keyframes heroFadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Обертка для логотипа */
.logo-wrapper {
    display: inline-block;
    position: relative;
    overflow: hidden;
    z-index: 10;
    width: 70px;
    height: 26.8px;
}

.logo-wrapper::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
    animation: shimmer 2.5s ease-in-out infinite;
    z-index: 2;
    pointer-events: none;
}

/* 1. Логотип */
.logo {
    width: 70px;
    height: 26.8px;
    display: block;
    margin: 0;
    opacity: 0;
    transform: translateY(30px);
    position: relative;
    z-index: 1;
}

.logo-wrapper {
    margin: 0;
}

.logo.animate {
    animation: heroFadeInUp 0.6s ease-out 2s forwards;
}

/* 2. Надпись "ПРОЗРАЧНО И ВЫГОДНО" */
.tagline {
    font-family: 'Montserrat', Arial, sans-serif;
    font-weight: 300;
    font-size: 16px;
    color: #121111;
    border: 1px solid #121111;
    border-radius: 100px;
    padding: 5px 20px;
    text-align: center;
    margin: 40px auto 0;
    display: inline-block;
    align-self: center;
    opacity: 0;
    transform: translateY(30px);
}

.tagline.animate {
    animation: heroFadeInUp 0.8s ease-out 0.2s forwards;
}

/* 3. Заголовок */
.main-heading {
    font-family: 'Unbounded', Arial, sans-serif;
    font-weight: 600;
    font-size: var(--fs-h1);
    line-height: var(--lh-h1);
    color: #121111;
    text-align: center;
    margin: 20px auto 0;
    width: 100%;
    align-self: center;
    opacity: 0;
    transform: translateY(30px);
}

.main-heading.animate {
    animation: heroFadeInUp 0.8s ease-out 0.3s forwards;
}

.main-heading .highlight {
    color: #F7C143;
}

/* 4. Линия */
.divider {
    width: 100%;
    height: 1px;
    background-color: #B6B6B6;
    margin: 20px auto 0;
    align-self: center;
    opacity: 0;
    transform: translateY(30px);
}

.divider.animate {
    animation: heroFadeInUp 0.8s ease-out 0.4s forwards;
}

/* 5. Текст */
.description {
    font-family: 'Montserrat', Arial, sans-serif;
    font-weight: 500;
    font-size: var(--fs-body);
    color: #404040;
    text-align: center;
    margin: 20px auto 0;
    width: 100%;
    align-self: center;
    opacity: 0;
    transform: translateY(30px);
}

.description.animate {
    animation: heroFadeInUp 0.8s ease-out 0.5s forwards;
}

/* 6. Кнопки */
.buttons-wrapper {
    display: flex;
    gap: 10px;
    width: 100%;
    margin: 40px auto 0;
    align-self: center;
    opacity: 0;
    transform: translateY(30px);
    position: relative;
    overflow: hidden;
}

.buttons-wrapper.animate {
    animation: heroFadeInUp 0.8s ease-out 0.6s forwards;
}

.buttons-wrapper::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
    animation: shimmer 2.5s ease-in-out infinite;
    z-index: 10;
    pointer-events: none;
}

.btn-icon {
    width: 60px;
    height: 60px;
    background-color: #F7C143;
    border: none;
    border-bottom: 4px solid #D6A532;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    flex-shrink: 0;
    text-decoration: none;
    position: relative;
    z-index: 1;
}

.btn-icon-img {
    width: 18.75px;
    height: 18.75px;
}

.btn-primary {
    flex: 1;
    height: 60px;
    background-color: #F7C143;
    color: #FFFFFF;
    font-family: 'Unbounded', Arial, sans-serif;
    font-weight: 600;
    font-size: 17px;
    border: none;
    border-bottom: 4px solid #D6A532;
    border-radius: 10px;
    /* Важно: .btn-primary используется и на <a>, и на <button>.
       Для <a> нужно убрать подчеркивание и обеспечить корректное центрирование. */
    text-decoration: none;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    cursor: pointer;
    position: relative;
    z-index: 1;
}

@keyframes shimmer {
    0% {
        left: -100%;
    }
    100% {
        left: 100%;
    }
}

/* Изображение */
.bg-image {
    /* Привязка к левому краю экрана + кроп по бокам (часть картинки за экраном) */
    width: 993px;
    height: 350px; /* 1/2 от исходной высоты (700px) */
    display: block;
    position: relative;
    margin-top: 10px;
    object-fit: cover;
    align-self: flex-start;
    z-index: 0;
    opacity: 0;
    transform: translateY(30px);
}

/* Бургер кнопка */
.hero__burger {
    width: 30px;
    height: 30px;
    padding: 0;
    border: none;
    background: none;
    cursor: pointer;
    display: inline-flex;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    flex-shrink: 0;
    opacity: 0;
    transform: translateY(30px);
}

.hero__burger-line {
    width: 100%;
    height: 3px;
    background: #121111;
    border-radius: 100px;
    display: block;
}

.hero__burger.animate {
    /* Ровно как у .logo.animate */
    animation: heroFadeInUp 0.6s ease-out 2s forwards;
}

/* Десктоп-меню в Hero (1024+) */
.hero__menu--desktop {
    display: none;
    opacity: 0;
    transform: translateY(30px);
}

.hero__menu-link,
.hero__menu-phone {
    color: #121111;
    text-decoration: none;
    white-space: nowrap;
}

@media (min-width: 1024px) {
    .hero__header {
        display: flex;
        justify-content: flex-start;
        margin-top: 40px;
    }

    .hero__header::before {
        content: none;
    }

    .hero__burger {
        display: none;
    }

    .hero__menu--desktop {
        display: flex;
        align-items: center;
        justify-content: flex-start;
        gap: 24px;
        padding: 0 14px 20px;
        border-radius: 100px;
        background: rgba(255, 255, 255, 0.78);
        backdrop-filter: blur(10px);
        -webkit-backdrop-filter: blur(10px);
        z-index: 5;
        margin-top: 40px;
    }

    .hero__menu--desktop.animate {
        /* Ровно как у .logo.animate (без увеличенной задержки) */
        animation: heroFadeInUp 0.6s ease-out 2s forwards;
    }

    .hero__menu-link,
    .hero__menu-phone {
        font-family: 'Montserrat', Arial, sans-serif;
        font-weight: 500;
        font-size: 14px;
        line-height: 1;
    }

    .hero__menu-phone {
        font-family: 'Unbounded', Arial, sans-serif;
        font-weight: 500;
    }

    .hero__menu-link:hover,
    .hero__menu-phone:hover {
        color: #F7C143;
    }
}

/* Мобильное меню */
.hero__mobile-menu {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(18, 17, 17, 0.25);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    z-index: 2000;
    padding: 10px;
    box-sizing: border-box;
}

.hero__mobile-menu.is-open {
    display: flex;
    justify-content: flex-end;
    align-items: flex-start;
}

.hero__mobile-menu-panel {
    width: min(355px, calc(100vw - 20px));
    background: rgba(255, 255, 255, 0.92);
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.18);
    padding: 18px 18px 16px;
    display: flex;
    flex-direction: column;
    gap: 14px;
    opacity: 0;
    transform: translateY(30px);
}

.hero__mobile-menu-link {
    font-family: 'Montserrat', Arial, sans-serif;
    font-weight: 500;
    font-size: 17px;
    color: #121111;
    text-decoration: none;
}

.hero__mobile-menu-phone {
    font-family: 'Unbounded', Arial, sans-serif;
    font-weight: 500;
    font-size: 17px;
    color: #121111;
    text-decoration: none;
    margin-top: 6px;
    padding-top: 14px;
    border-top: 1px solid rgba(18, 17, 17, 0.14);
}

.hero__mobile-menu-phone-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
}

.hero__mobile-menu-tg {
    width: 30px;
    height: 30px;
    flex: 0 0 30px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #121111;
    text-decoration: none;
}

.hero__mobile-menu-tg svg {
    width: 30px;
    height: 30px;
    display: block;
}

.hero__mobile-menu.is-open .hero__mobile-menu-panel {
    animation: heroFadeInUp 0.6s ease-out forwards;
}

.hero__mobile-menu-tg img {
    width: 30px;
    height: 30px;
    display: block;
}

.hero__mobile-menu-link:hover,
.hero__mobile-menu-phone:hover {
    color: #F7C143;
}

/* Лочим скролл при открытом меню */
body.is-menu-open {
    overflow: hidden;
}

.bg-image.animate {
    animation: heroFadeInUp 0.8s ease-out 0.7s forwards;
}

/* Блок Цифры (липкий, смена текста при скролле) */
.cifry {
    /* Чуть накладываемся на предыдущий блок, как остальные секции */
    margin-top: -60px;
    background-color: #121111;
    border-top-left-radius: var(--radius-section);
    border-top-right-radius: var(--radius-section);
    border-bottom-left-radius: 0;
    border-bottom-right-radius: 0;
    position: relative;
    z-index: 1;

    /* 4 шага + 1 экран, но быстрее (x2) */
    height: 250vh;
}

@supports (height: 100svh) {
    .cifry {
        height: 250svh;
    }
}

@media (min-width: 1024px) {
    .cifry {
        margin-top: -80px;
    }
}

.cifry__pin {
    height: 100vh;
}

@supports (height: 100svh) {
    .cifry__pin {
        height: 100svh;
    }
}

.cifry__sticky {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 100vh;
    display: flex;
    align-items: center;
    /* Фон даёт сама секция .cifry — так видны скругления */
    background-color: transparent;
    z-index: 2;
}

@supports (height: 100svh) {
    .cifry__sticky {
        height: 100svh;
    }
}

.cifry__sticky.is-fixed {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
}

.cifry__sticky.is-at-end {
    position: absolute;
    top: auto;
    bottom: 0;
}


.cifry__stage {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.cifry__item {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    pointer-events: none;

    opacity: var(--cifry-o, 0);
    transition: opacity 520ms cubic-bezier(0.22, 1, 0.36, 1);
    will-change: opacity;
}

/* Fallback: если JS ещё не успел — показываем 1-й экран */
.cifry__item[data-cifry-item="1"] {
    --cifry-o: 1;
}

@media (prefers-reduced-motion: reduce) {
    .cifry__item {
        transition: none;
    }
}

.cifry__inner {
    width: 100%;
    margin-left: auto;
    margin-right: auto;
    max-width: 60%;
}

@media (max-width: 1023px) {
    .cifry__inner {
        max-width: 100%;
    }
}

.cifry__title {
    font-family: 'Unbounded', Arial, sans-serif;
    font-weight: 600;
    font-size: var(--fs-h2);
    line-height: var(--lh-h2);
    color: #FFFFFF;
    text-align: center;
}

.cifry__title--accent {
    color: #F7C143;
}

.cifry__accent {
    color: #F7C143;
}

.cifry__subtitle {
    font-family: 'Montserrat', Arial, sans-serif;
    font-weight: 500;
    font-size: var(--fs-body);
    color: rgba(255, 255, 255, 0.86);
    text-align: center;
    margin-top: 20px;
}

/* Блок Преимущества */
.advantages {
    margin-top: -60px;
    background-color: #121111;
    border-top-left-radius: var(--radius-section);
    border-top-right-radius: var(--radius-section);
    border-bottom-left-radius: 0;
    border-bottom-right-radius: 0;
    min-height: 100px;
    padding-top: 60px;
    padding-bottom: 160px;
    position: relative;
    z-index: 1;
}

.advantages-wrapper {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* 1. Логотип в блоке Преимущества */
.advantages-logo {
    width: 70px;
    height: 26.8px;
    display: block;
    margin: -20px auto 0;
    align-self: center;
    opacity: 0;
    transform: translateY(30px);
}

.advantages-logo.animate {
    animation: heroFadeInUp 0.8s ease-out 0.1s forwards;
}

/* Плашки в блоке Преимущества */
.advantages-item {
    font-family: 'Unbounded', Arial, sans-serif;
    font-weight: 600;
    font-size: var(--fs-h2);
    width: 100%;
    color: #FFFFFF;
    text-align: center;
}

/* 2. Плашка - верхний отступ 20px */
.advantages-item-2 {
    font-family: 'Unbounded', Arial, sans-serif;
    font-weight: 600;
    font-size: var(--fs-h2);
    line-height: var(--lh-h2);
    width: 100%;
    color: #FFFFFF;
    text-align: center;
    margin-top: 20px;
    opacity: 0;
    transform: translateY(30px);
}

.advantages-item-2.animate {
    animation: heroFadeInUp 0.8s ease-out 0.2s forwards;
}

/* 3. Плашка - верхний отступ 10px */
.advantages-item-3 {
    font-family: 'Montserrat', Arial, sans-serif;
    font-weight: 500;
    font-size: var(--fs-body);
    width: 100%;
    color: #FFFFFF;
    text-align: center;
    margin-top: 10px;
    opacity: 0;
    transform: translateY(30px);
}

.advantages-item-3.animate {
    animation: heroFadeInUp 0.8s ease-out 0.3s forwards;
}

/* Десктоп: контейнер шапки блока (логотип + заголовок + подзаголовок) в 2 колонки */
@media (min-width: 1024px) {
    .advantages {
        margin-top: -80px; /* отрицательный отступ увеличен на 20px */
        padding-top: 0;
        padding-bottom: 160px;
    }

    .advantages-wrapper {
        display: grid;
        grid-template-columns: 1fr 1fr;
        grid-template-rows: auto auto;
        column-gap: 40px;
        align-items: start;
        margin-top: 0;
        padding-top: 80px;
    }

    /* Левая колонка: логотип + подзаголовок */
    .advantages-logo {
        grid-column: 2;
        grid-row: 1;
        justify-self: end;
        align-self: start;
        margin: 0;
    }

    .advantages-item-3 {
        grid-column: 2;
        grid-row: 2;
        justify-self: end;
        text-align: right;
        margin-left: 0;
        margin-right: 0;
    }

    /* Перенос строки после "к" на разрешении 1024px */
    .advantages-item-3-break::after {
        content: '\A';
        white-space: pre;
    }

    /* Правая колонка: заголовок */
    .advantages-item-2 {
        grid-column: 1;
        grid-row: 1 / span 2;
        justify-self: start;
        text-align: left;
        margin-top: 0;
        margin-left: 0;
        margin-right: 0;
    }

    /* Остальной контент (линия + группы) — на всю ширину ниже шапки */
    .advantages-divider,
    .advantages-groups {
        grid-column: 1 / -1;
    }

    /* Мои преимущества: 2 колонки, при этом раскладываем 1+3 влево, 2+4 вправо */
    .advantages-groups {
        display: grid;
        grid-template-columns: 1fr 1fr;
        column-gap: 40px;
        row-gap: 0;
    }

    .advantages-groups .advantages-group:nth-child(1) {
        grid-column: 1;
        grid-row: 1;
    }

    .advantages-groups .advantages-group:nth-child(2) {
        grid-column: 2;
        grid-row: 1;
    }

    .advantages-groups .advantages-group:nth-child(3) {
        grid-column: 1;
        grid-row: 2;
    }

    .advantages-groups .advantages-group:nth-child(4) {
        grid-column: 2;
        grid-row: 2;
    }
}

@media (min-width: 1440px) {
    .advantages {
        margin-top: -80px; /* отрицательный отступ увеличен на 20px */
        padding-top: 0;
        padding-bottom: 160px;
    }

    .advantages-wrapper {
        column-gap: 80px;
        margin-top: 0;
        padding-top: 80px;
    }

    .advantages-groups {
        column-gap: 80px;
    }

    /* Перенос строки после "к" на разрешении 1440px */
    .advantages-item-3-break::after {
        content: '\A';
        white-space: pre;
    }
}

/* 4. Линия - верхний отступ 20px */
.advantages-divider {
    margin-top: 20px;
    opacity: 0;
    transform: translateY(30px);
}

.advantages-divider.animate {
    animation: heroFadeInUp 0.8s ease-out 0.4s forwards;
}

/* Группы преимуществ */
.advantages-group {
    position: relative;
    width: 100%;
    opacity: 0;
    transform: translateY(30px);
}

.advantages-group.animate {
    animation: heroFadeInUp 0.8s ease-out forwards;
}

/* Контейнер "мои преимущества" (группы 1-4) */
.advantages-groups {
    width: 100%;
}

/* Мобилка/планшет до 1024: в одну колонку */
@media (max-width: 1023px) {
    .advantages-groups {
        display: flex;
        flex-direction: column;
    }
}

/* Цифры в группах */
.advantages-number {
    font-family: 'Unbounded', Arial, sans-serif;
    font-size: 200px;
    color: #FFFFFF;
    opacity: 0.02;
    position: absolute;
    right: 0;
    top: 0;
    line-height: 1;
    z-index: 0;
    pointer-events: none;
    /* Анимация для цифр уже включена в родительский .advantages-group */
}

/* 5. Плашка - верхний отступ 80px */
.advantages-item-5 {
    font-family: 'Unbounded', Arial, sans-serif;
    font-weight: 600;
    font-size: 20px;
    width: 100%;
    max-width: 355px;
    color: #FFFFFF;
    text-align: left;
    margin-top: 80px;
    position: relative;
    z-index: 1;
}

/* 6. Плашка - верхний отступ 10px */
.advantages-item-6 {
    font-family: 'Montserrat', Arial, sans-serif;
    font-weight: 400;
    font-size: 17px;
    width: 100%;
    max-width: 355px;
    color: #FFFFFF;
    text-align: left;
    margin-top: 10px;
    position: relative;
    z-index: 1;
}

/* 7. Плашка - верхний отступ 80px */
.advantages-item-7 {
    font-family: 'Unbounded', Arial, sans-serif;
    font-weight: 600;
    font-size: 20px;
    width: 100%;
    max-width: 355px;
    color: #FFFFFF;
    text-align: left;
    margin-top: 80px;
    position: relative;
    z-index: 1;
}

/* 8. Плашка - верхний отступ 10px */
.advantages-item-8 {
    font-family: 'Montserrat', Arial, sans-serif;
    font-weight: 400;
    font-size: 17px;
    width: 100%;
    max-width: 355px;
    color: #FFFFFF;
    text-align: left;
    margin-top: 10px;
    position: relative;
    z-index: 1;
}

/* 9. Плашка - верхний отступ 80px */
.advantages-item-9 {
    font-family: 'Unbounded', Arial, sans-serif;
    font-weight: 600;
    font-size: 20px;
    width: 100%;
    max-width: 355px;
    color: #FFFFFF;
    text-align: left;
    margin-top: 80px;
    position: relative;
    z-index: 1;
}

/* 10. Плашка - верхний отступ 10px */
.advantages-item-10 {
    font-family: 'Montserrat', Arial, sans-serif;
    font-weight: 400;
    font-size: 17px;
    width: 100%;
    max-width: 355px;
    color: #FFFFFF;
    text-align: left;
    margin-top: 10px;
    position: relative;
    z-index: 1;
}

/* 11. Плашка - верхний отступ 80px */
.advantages-item-11 {
    font-family: 'Unbounded', Arial, sans-serif;
    font-weight: 600;
    font-size: 20px;
    width: 100%;
    max-width: 355px;
    color: #FFFFFF;
    text-align: left;
    margin-top: 80px;
    position: relative;
    z-index: 1;
}

/* 12. Плашка - верхний отступ 10px */
.advantages-item-12 {
    font-family: 'Montserrat', Arial, sans-serif;
    font-weight: 400;
    font-size: 17px;
    width: 100%;
    max-width: 355px;
    color: #FFFFFF;
    text-align: left;
    margin-top: 10px;
    position: relative;
    z-index: 1;
}

/* Плашки с выравниванием по левому краю */
.advantages-item-left {
    text-align: left;
    align-self: flex-start;
}

/* Линия в блоке Преимущества */
.advantages-divider {
    width: 100%;
    height: 1px;
    background-color: #FFFFFF;
    align-self: center;
}

/* Блок Онлайн-рассчет */
.online-calc {
    margin-top: -40px;
    background-color: #FFFFFF;
    border-top-left-radius: var(--radius-section);
    border-top-right-radius: var(--radius-section);
    border-bottom-left-radius: 0;
    border-bottom-right-radius: 0;
    min-height: 100px;
    padding-bottom: 160px;
    position: relative;
    z-index: 1;
}

.online-calc-wrapper {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* 1. Логотип в блоке Онлайн-рассчет */
.online-calc-logo {
    width: 70px;
    height: 26.8px;
    display: block;
    margin: 40px auto 0;
    align-self: center;
    opacity: 0;
    transform: translateY(30px);
}

.online-calc-logo.animate {
    animation: heroFadeInUp 0.8s ease-out 0.1s forwards;
}

/* 2. Плашка заголовка - такие же настройки как .advantages-item-2 */
.online-calc-title {
    font-family: 'Unbounded', Arial, sans-serif;
    font-weight: 600;
    font-size: var(--fs-h2);
    line-height: var(--lh-h2);
    width: 100%;
    color: #121111;
    text-align: center;
    margin-top: 20px;
    opacity: 0;
    transform: translateY(30px);
}

.online-calc-title.animate {
    animation: heroFadeInUp 0.8s ease-out 0.2s forwards;
}

.online-calc-title .highlight {
    color: #F7C143;
}

/* 3. Плашка под заголовка - такие же настройки как .advantages-item-3 */
.online-calc-subtitle {
    font-family: 'Montserrat', Arial, sans-serif;
    font-weight: 500;
    font-size: var(--fs-body);
    width: 100%;
    color: #404040;
    text-align: center;
    margin-top: 10px;
    opacity: 0;
    transform: translateY(30px);
}

.online-calc-subtitle.animate {
    animation: heroFadeInUp 0.8s ease-out 0.3s forwards;
}

/* Перенос строки в подзаголовке онлайн-калькулятора - только на десктопе */
br.desktop-br {
    display: none;
}

/* Контейнер шапки блока (логотип + заголовок + подзаголовок) */
.online-calc-header {
    width: 100%;
}

/* Мобилка/планшет до 1024: в одну колонку */
@media (max-width: 1023px) {
    .online-calc-header {
        display: flex;
        flex-direction: column;
        align-items: center;
    }
}

/* Десктоп: 3 колонки для шапки блока */
@media (min-width: 1024px) {
    .online-calc-header {
        display: flex;
        align-items: center;
        margin-top: 0;
        gap: 0;
        width: 100%;
    }

    /* Логотип - первая колонка */
    .online-calc-header .online-calc-logo {
        flex-shrink: 0;
        margin: 0;
    }

    /* Отступ 40px между логотипом и заголовком */
    .online-calc-header .online-calc-logo + .online-calc-title {
        margin-left: 40px;
    }

    /* Заголовок - вторая колонка */
    .online-calc-header .online-calc-title {
        flex-shrink: 0;
        width: auto;
        text-align: left;
        margin-top: 0;
    }

    /* Отступ 320px между заголовком и подзаголовком */
    .online-calc-header .online-calc-title + .online-calc-subtitle {
        margin-left: 320px;
    }

    /* Подзаголовок - занимает оставшееся пространство, но сокращен на 40% */
    .online-calc-header .online-calc-subtitle {
        flex: 1 1 auto;
        width: auto;
        max-width: 60%;
        text-align: left;
        margin-top: 0;
        min-width: 0;
        overflow: visible;
    }

    /* Показываем перенос строки в подзаголовке на десктопе */
    br.desktop-br {
        display: inline;
    }
}

/* Версия 1024 (только 1024–1439): нужен меньший отступ между title и subtitle */
@media (min-width: 1024px) and (max-width: 1439px) {
    .online-calc-header .online-calc-title + .online-calc-subtitle {
        margin-left: 140px;
    }
}

@media (min-width: 1440px) {
    .online-calc-header {
        display: flex;
        align-items: center;
        margin-top: 0;
        gap: 0;
        width: 100%;
    }

    /* Отступ 40px между логотипом и заголовком */
    .online-calc-header .online-calc-logo + .online-calc-title {
        margin-left: 40px;
    }

    /* Отступ 320px между заголовком и подзаголовком */
    .online-calc-header .online-calc-title + .online-calc-subtitle {
        margin-left: 320px;
    }

    .online-calc-header .online-calc-logo {
        flex-shrink: 0;
        margin: 0;
    }

    .online-calc-header .online-calc-title {
        flex-shrink: 0;
        width: auto;
        margin-top: 0;
        text-align: left;
    }

    .online-calc-header .online-calc-subtitle {
        flex: 1 1 auto;
        width: auto;
        max-width: 60%;
        margin-top: 0;
        text-align: left;
        min-width: 0;
        overflow: visible;
    }
}

/* 4. Линия в блоке Онлайн-рассчет */
.online-calc-divider {
    width: 100%;
    height: 1px;
    background-color: #B6B6B6;
    margin: 20px 0 0;
    align-self: center;
    opacity: 0;
    transform: translateY(30px);
}

.online-calc-divider.animate {
    animation: heroFadeInUp 0.8s ease-out 0.4s forwards;
}

/* Контейнер контента: поля ввода (левая колонка) + результаты (правая колонка) */
.online-calc-content {
    width: 100%;
}

/* Мобилка/планшет до 1024: в одну колонку */
@media (max-width: 1023px) {
    .online-calc-content {
        display: flex;
        flex-direction: column;
    }
}

/* Десктоп: 2 колонки для контента */
@media (min-width: 1024px) {
    .online-calc-content {
        display: grid;
        grid-template-columns: 1fr 1fr;
        column-gap: 40px;
        align-items: start;
    }

    /* Левая колонка: поля ввода */
    .online-calc-content .online-calc-fields-group {
        grid-column: 1;
        margin-top: 20px;
    }

    /* Правая колонка: результаты (предупреждение + блок расчетов) */
    .online-calc-content .online-calc-results {
        grid-column: 2;
        margin-top: 40px;
    }

    /* Подсказка остается на всю ширину (абсолютное позиционирование) */
    .online-calc-content .online-calc-tooltip {
        grid-column: 1 / -1;
    }

    /* Верхний отступ 20px для первого label */
    .online-calc-field-group:first-child .online-calc-label {
        margin-top: 20px;
    }

    /* Верхний отступ 20px для блока предупреждений */
    .online-calc-results .online-calc-warnings {
        top: 20px;
        justify-content: center;
    }

    /* Увеличиваем высоту блока результатов на 30px */
    .online-calc-results {
        padding-bottom: 30px;
    }

    /* Только на десктопе: поворот стрелки на 90° против часовой (относительно текущей мобильной версии) */
    .online-calc-warnings-arrow {
        animation: onlineCalcArrowFloat 2.6s ease-in-out infinite;
    }
}

@media (min-width: 1440px) {
    .online-calc-content {
        column-gap: 80px;
    }

    /* Верхний отступ 20px для первого label */
    .online-calc-field-group:first-child .online-calc-label {
        margin-top: 20px;
    }

    /* Верхний отступ 20px для блока предупреждений */
    .online-calc-results .online-calc-warnings {
        top: 20px;
        justify-content: center;
    }

    /* Верхний отступ 40px для блока результатов */
    .online-calc-content .online-calc-results {
        margin-top: 40px;
    }

    /* Увеличиваем высоту блока результатов на 30px */
    .online-calc-results {
        padding-bottom: 30px;
    }

    /* На десктопе (1440px) используем оригинальную анимацию без поворота на 90 градусов */
    .online-calc-warnings-arrow {
        animation: onlineCalcArrowFloat 2.6s ease-in-out infinite;
    }
}

/* Общая группа для всех полей ввода */
.online-calc-fields-group {
    margin-top: 20px;
    width: 100%;
    opacity: 0;
    transform: translateY(30px);
}

.online-calc-fields-group.animate {
    animation: heroFadeInUp 0.8s ease-out 0.5s forwards;
}

/* Группа поля ввода (надпись + поле) */
.online-calc-field-group {
    margin-top: 20px;
    width: 100%;
    position: relative;
}

/* Визуальные акценты по шагам калькулятора */
.online-calc-field-group[data-calc-step] {
    transition: opacity 200ms ease;
}

/* Будущие шаги (на которые предупреждение укажет позже) — приглушаем */
.online-calc-field-group.is-dim {
    opacity: 0.35;
}

/* Визуальная подсказка "нужно заполнить" — на самом поле, как у валидации */
:is(.online-calc-input-single, .online-calc-input, .online-calc-select).needs-attention-field {
    box-shadow: 0 0 0 2px rgba(247, 193, 67, 0.95),
                0 12px 34px rgba(18, 17, 17, 0.10);
    animation: onlineCalcFieldShake 0.55s cubic-bezier(0.2, 0.8, 0.2, 1) 1;
}

@keyframes onlineCalcFieldShake {
    0% { transform: translateX(0); }
    12% { transform: translateX(-2px); }
    24% { transform: translateX(2px); }
    36% { transform: translateX(-2px); }
    48% { transform: translateX(2px); }
    60% { transform: translateX(-1px); }
    72% { transform: translateX(1px); }
    100% { transform: translateX(0); }
}

@media (prefers-reduced-motion: reduce) {
    :is(.online-calc-input-single, .online-calc-input, .online-calc-select).needs-attention-field {
        animation: none;
    }
}

.online-calc-field-group.is-locked .online-calc-help {
    pointer-events: none;
    cursor: default;
    text-decoration: none;
}

.online-calc-field-group.is-locked :is(input, select, textarea, button) {
    pointer-events: none;
}

.online-calc-field-group.is-current .online-calc-label {
    color: #121111;
}

/* Убираем верхний отступ у первой группы полей */
.online-calc-field-group:first-child {
    margin-top: 0;
}

.online-calc-label {
    font-family: 'Montserrat', Arial, sans-serif;
    font-weight: 500;
    font-size: 14px;
    color: #121111;
    text-align: center;
    margin-bottom: 10px;
}

.online-calc-help {
    font-family: 'Montserrat', Arial, sans-serif;
    font-weight: 500;
    font-size: 14px;
    color: #8E8E8E;
    text-align: center;
    margin-top: 10px;
    cursor: pointer;
    text-decoration: underline;
}

/* Контейнер подсказки */
.online-calc-tooltip {
    position: fixed;
    width: min(355px, calc(100vw - 20px));
    background-color: rgba(240, 240, 240, 0.91);
    backdrop-filter: blur(11px);
    -webkit-backdrop-filter: blur(11px);
    box-shadow: 0 0 45.7px 20px rgba(0, 0, 0, 0.1);
    border-radius: 10px;
    padding: 0;
    z-index: 1000;
    display: none;
    left: 50%;
    transform: translateX(-50%);
}

.online-calc-tooltip-close {
    position: absolute;
    top: 10px;
    right: 20px;
    width: 13px;
    height: 13px;
    background: none;
    border: none;
    padding: 0;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1001;
}

.online-calc-tooltip-close svg {
    width: 13px;
    height: 13px;
}

.online-calc-tooltip-text {
    font-family: 'Montserrat', Arial, sans-serif;
    font-weight: 500;
    font-size: 14px;
    color: #121111;
    text-align: center;
    width: 295px;
    margin: 40px auto 40px;
    line-height: 1.4;
}

/* Анимация для подсказки */
@keyframes tooltipFadeIn {
    from {
        opacity: 0;
        transform: translateX(-50%) translateY(-10px) scale(0.95);
    }
    to {
        opacity: 1;
        transform: translateX(-50%) translateY(0) scale(1);
    }
}

@keyframes tooltipFadeOut {
    from {
        opacity: 1;
        transform: translateX(-50%) translateY(0) scale(1);
    }
    to {
        opacity: 0;
        transform: translateX(-50%) translateY(-10px) scale(0.95);
    }
}

.online-calc-tooltip.active {
    animation: tooltipFadeIn 0.3s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
}

.online-calc-tooltip.closing {
    animation: tooltipFadeOut 0.2s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

.online-calc-controls {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
}

.online-calc-controls-single {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
}

.online-calc-select-wrapper {
    position: relative;
    width: 100%;
    display: flex;
    align-items: center;
}

.online-calc-select {
    width: 100%;
    height: 40px;
    background-color: #F0F0F0;
    border: none;
    border-radius: 10px;
    font-family: 'Unbounded', Arial, sans-serif;
    font-weight: 500;
    font-size: 14px;
    color: #121111;
    text-align: center;
    padding: 0 40px 0 0;
    box-sizing: border-box;
    outline: none;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    cursor: pointer;
    text-transform: uppercase;
}

.online-calc-select:focus {
    outline: 2px solid #F7C143;
    outline-offset: 0;
}

.online-calc-select option {
    font-family: 'Unbounded', Arial, sans-serif;
    font-weight: 500;
    font-size: 14px;
    color: #121111;
    text-transform: uppercase;
    background-color: #F0F0F0;
    padding: 10px;
}

.online-calc-select-arrow {
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    pointer-events: none;
    flex-shrink: 0;
}

.online-calc-input-single {
    width: 100%;
    height: 40px;
    background-color: #F0F0F0;
    border: none;
    border-radius: 10px;
    font-family: 'Unbounded', Arial, sans-serif;
    font-weight: 500;
    font-size: 14px;
    color: #121111;
    text-align: center;
    padding: 0;
    box-sizing: border-box;
    outline: none;
    text-transform: uppercase;
}

.online-calc-input-single:focus {
    outline: 2px solid #F7C143;
    outline-offset: 0;
}

.online-calc-input-single::placeholder {
    color: #121111;
    opacity: 0.5;
    text-transform: uppercase;
}

.online-calc-btn {
    width: 40px;
    height: 40px;
    background-color: #F7C143;
    border: none;
    border-bottom: 3px solid #D6A532;
    border-radius: 10px;
    color: #FFFFFF;
    font-family: 'Unbounded', Arial, sans-serif;
    font-size: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    flex-shrink: 0;
    padding: 0;
    line-height: 1;
    position: relative;
    overflow: hidden;
}

.online-calc-btn-plus.shimmer-animate::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
    animation: shimmer 2.5s ease-in-out infinite;
}

.online-calc-input {
    flex: 1;
    min-width: 0;
    height: 40px;
    background-color: #F0F0F0;
    border: none;
    border-radius: 10px;
    font-family: 'Unbounded', Arial, sans-serif;
    font-size: 17px;
    color: #121111;
    text-align: center;
    padding: 0;
    box-sizing: border-box;
    outline: none;
}

.online-calc-input:focus {
    outline: 2px solid #F7C143;
    outline-offset: 0;
}

.online-calc-input::-webkit-inner-spin-button,
.online-calc-input::-webkit-outer-spin-button {
    -webkit-appearance: none;
    appearance: none;
    margin: 0;
}

.online-calc-input[type=number] {
    -moz-appearance: textfield;
    appearance: textfield;
}

/* Группа результатов */
.online-calc-results {
    width: 100%;
    background-color: #121111;
    border-radius: var(--radius-lg);
    margin-top: 40px;
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    overflow: hidden;
    opacity: 0;
    transform: translateY(30px);
}

.online-calc-results.animate {
    animation: heroFadeInUp 0.8s ease-out 0.6s forwards;
}

/* Группа предупреждений (оверлей поверх результатов) */
.online-calc-warnings {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    border-radius: 20px;
    background: rgba(0, 0, 0, 0.25);
    -webkit-backdrop-filter: blur(11px);
    backdrop-filter: blur(11px);
    display: flex;
    flex-direction: column;
    align-items: center;
    z-index: 5;
    opacity: 1;
    visibility: visible;
    transition: opacity 250ms ease, visibility 250ms ease;
}

.online-calc-warnings.is-hidden {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.online-calc-warnings-arrow-wrap {
    margin-top: 20px;
    transform: translateX(-5px);
}

/* Десктоп: поворот стрелки на 90° против часовой (мобилку оставляем как есть) */
@media (min-width: 1024px) {
    .online-calc-warnings-arrow-wrap {
        transform: translateX(-5px) rotate(-90deg);
        transform-origin: center;
    }
}

.online-calc-warnings-arrow {
    margin-top: 0;
    font-family: 'Unbounded', Arial, sans-serif;
    font-size: 50px;
    line-height: 1;
    color: #FFFFFF;
    /* На мобилке анимация поворачивает на -90 градусов (вместо -180), что даёт поворот на 90 градусов по часовой */
    animation: onlineCalcArrowFloatMobile 2.6s ease-in-out infinite;
}

/* Анимация для мобилки: поворот на -90 градусов (вместо -180), что даёт поворот на 90 градусов по часовой стрелке */
@keyframes onlineCalcArrowFloatMobile {
    0% { transform: rotate(-90deg) translateX(-6px); }
    50% { transform: rotate(-90deg) translateX(6px); }
    100% { transform: rotate(-90deg) translateX(-6px); }
}

/* Анимация для десктопа: оригинальная анимация без поворота на 90 градусов */
@keyframes onlineCalcArrowFloat {
    0% { transform: rotate(-180deg) translateX(-6px); }
    50% { transform: rotate(-180deg) translateX(6px); }
    100% { transform: rotate(-180deg) translateX(-6px); }
}

.online-calc-warnings-progress {
    margin-top: 20px;
    width: 255px;
    height: 30px;
    border-radius: 1000px;
    background: #F0F0F0;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.online-calc-warnings-progress-fill {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    width: 0%;
    background: #F7C143;
    transition: width 300ms ease;
    overflow: hidden;
}

.online-calc-warnings-progress-fill::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
    animation: shimmer 2.5s ease-in-out infinite;
}

.online-calc-warnings-progress-text {
    position: relative;
    z-index: 1;
    font-family: 'Montserrat', Arial, sans-serif;
    font-weight: 400;
    font-size: 14px;
    color: #121111;
    text-align: center;
}

.online-calc-warnings-text {
    margin-top: 10px;
    font-family: 'Unbounded', Arial, sans-serif;
    font-weight: 400;
    font-size: 25px;
    color: #FFFFFF;
    text-transform: uppercase;
    text-align: center;
    padding: 0 20px;
}

/* Плашки с метками (1, 4, 7) */
.online-calc-results-label {
    font-family: 'Montserrat', Arial, sans-serif;
    font-weight: 400;
    font-size: 14px;
    color: #C4C4C4;
    text-align: center;
}

.online-calc-results-label-1 {
    margin-top: 40px;
}

.online-calc-results-label-2 {
    margin-top: 10px;
}

.online-calc-results-label-3 {
    margin-top: 10px;
}

.online-calc-results-label-4 {
    margin-top: 10px;
}

/* Группы значений (2-3, 5-6, 8-9) */
.online-calc-results-value-group {
    display: flex;
    align-items: baseline;
    justify-content: center;
    margin-top: 0;
    gap: 10px;
}

.online-calc-results-value {
    font-family: 'Unbounded', Arial, sans-serif;
    font-size: 30px;
    color: #FFFFFF;
    line-height: 1;
}

.online-calc-results-unit {
    font-family: 'Unbounded', Arial, sans-serif;
    font-size: 17px;
    color: #DCDCDC;
    line-height: 1;
}

/* Предупреждение (10) */
.online-calc-results-disclaimer {
    font-family: 'Montserrat', Arial, sans-serif;
    font-weight: 400;
    font-size: 12px;
    color: #cccccc;
    text-align: center;
    margin-top: 20px;
    margin-bottom: 40px;
    width: 275px;
}

/* Кнопка после группы результатов (мобилка) */
.online-calc-btn-submit {
    width: 100%;
    margin-top: 40px;
    align-self: center;
    flex: none;
    opacity: 0;
    transform: translateY(30px);
}

.online-calc-btn-submit.animate {
    animation: heroFadeInUp 0.8s ease-out 0.7s forwards;
}

/* Форма заявки в блоке онлайн-рассчета (открытая, только на десктопе) */
.online-calc-form {
    width: 100%;
    display: none; /* Скрыта на мобилке */
    margin-top: 40px;
    opacity: 0;
    transform: translateY(30px);
}

.online-calc-form.animate {
    animation: heroFadeInUp 0.8s ease-out 0.7s forwards;
}

/* Поля ввода формы */
.online-calc-form-input {
    height: 60px;
    background-color: #F0F0F0;
    border: none;
    border-radius: 10px;
    font-family: 'Montserrat', Arial, sans-serif;
    font-weight: 500;
    font-size: 17px;
    color: #121111;
    padding-left: 20px;
    box-sizing: border-box;
    outline: none;
}

.online-calc-form-input::placeholder {
    color: #9C9C9C;
}

.online-calc-form-input:focus {
    outline: none;
}

.online-calc-form-input-phone.error {
    border: 2px solid #FF0000;
    animation: shake 0.5s;
}

/* Кнопка отправки формы */
.online-calc-form-submit-btn {
    flex: none;
}

.online-calc-form-submit-btn.is-loading {
    opacity: 0.75;
    pointer-events: none;
}

/* Сообщения формы */
.online-calc-form-message {
    width: 100%;
    margin-top: 12px;
    min-height: 18px;
    font-family: 'Montserrat', Arial, sans-serif;
    font-weight: 500;
    font-size: 14px;
    line-height: 1.3;
    text-align: center;
    color: #121111;
}

.online-calc-form-message.is-success { color: #7CFF8C; }
.online-calc-form-message.is-error { color: #FF6B6B; }
.online-calc-form-message.is-info { color: #F7C143; }

/* Политика конфиденциальности */
.online-calc-form-privacy {
    font-family: 'Montserrat', Arial, sans-serif;
    font-weight: 500;
    font-size: 14px;
    color: #404040;
    text-align: center;
    margin-top: 20px;
    width: 100%;
    padding-left: 20px;
    padding-right: 20px;
    box-sizing: border-box;
    display: none; /* Скрыта на мобилке */
    opacity: 0;
    transform: translateY(30px);
}

.online-calc-form-privacy.animate {
    animation: heroFadeInUp 0.8s ease-out 0.8s forwards;
}

.online-calc-form-privacy-link {
    color: #121111;
    text-decoration: underline;
}

.online-calc-form-privacy-link:hover {
    color: #F7C143;
}

/* Десктоп: показываем форму в одну строку, скрываем кнопку */
@media (min-width: 1024px) {
    .online-calc {
        margin-top: -40px;
        padding-bottom: 160px;
    }

    .online-calc-wrapper {
        padding-top: 80px;
    }

    .online-calc-btn-submit {
        display: none;
    }

    .online-calc-form {
        display: flex;
        flex-direction: row;
        align-items: flex-start;
        gap: 20px;
        flex-wrap: wrap;
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
    }

    .online-calc-form-input {
        flex: 1 1 0;
        min-width: 200px;
        width: 100%;
    }

    .online-calc-form-input-phone {
        margin-top: 0;
        flex: 1 1 0;
        width: 100%;
    }

    .online-calc-form-submit-btn {
        flex: 1 1 0;
        margin-top: 0;
        white-space: nowrap;
        width: 100%;
    }

    .online-calc-form-message {
        flex-basis: 100%;
        order: 4;
        margin-top: 0;
        width: 100%;
    }

    .online-calc-form-privacy {
        flex-basis: 100%;
        order: 5;
        display: block; /* Показываем на десктопе */
        margin-top: 0;
    }
}

@media (min-width: 1440px) {
    .online-calc {
        margin-top: -40px;
        padding-bottom: 160px;
    }

    .online-calc-wrapper {
        padding-top: 80px;
    }

    .online-calc-form {
        gap: 20px;
        flex-wrap: wrap;
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
    }

    .online-calc-form-input {
        flex: 1 1 0;
        width: 100%;
    }

    .online-calc-form-input-phone {
        flex: 1 1 0;
        width: 100%;
    }

    .online-calc-form-submit-btn {
        flex: 1 1 0;
        width: 100%;
    }

    .online-calc-form-message {
        flex-basis: 100%;
        order: 4;
        margin-top: 0;
        width: 100%;
    }

    .online-calc-form-privacy {
        margin-top: 0;
    }
}

/* Блок Что мы делаем */
.what-we-do {
    margin-top: -40px;
    background-color: #F0F0F0;
    border-top-left-radius: var(--radius-section);
    border-top-right-radius: var(--radius-section);
    border-bottom-left-radius: 0;
    border-bottom-right-radius: 0;
    min-height: 100px;
    padding-top: 60px;
    padding-bottom: 160px;
    position: relative;
    z-index: 1;
}

.what-we-do-wrapper {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* 1. Логотип в блоке Что мы делаем */
.what-we-do-logo {
    width: 70px;
    height: 26.8px;
    display: block;
    margin: -20px auto 0;
    align-self: center;
    opacity: 0;
    transform: translateY(30px);
}

.what-we-do-logo.animate {
    animation: heroFadeInUp 0.8s ease-out 0.1s forwards;
}

/* Плашки в блоке Что мы делаем */
.what-we-do-item {
    font-family: 'Unbounded', Arial, sans-serif;
    font-weight: 600;
    font-size: var(--fs-h2);
    width: 100%;
    color: #121111;
    text-align: center;
}

/* 2. Плашка - верхний отступ 20px */
.what-we-do-item-2 {
    font-family: 'Unbounded', Arial, sans-serif;
    font-weight: 600;
    font-size: var(--fs-h2);
    line-height: var(--lh-h2);
    width: 100%;
    color: #121111;
    text-align: center;
    margin-top: 20px;
    opacity: 0;
    transform: translateY(30px);
}

.what-we-do-item-2.animate {
    animation: heroFadeInUp 0.8s ease-out 0.2s forwards;
}

/* 3. Плашка - верхний отступ 10px */
.what-we-do-item-3 {
    font-family: 'Montserrat', Arial, sans-serif;
    font-weight: 500;
    font-size: var(--fs-body);
    width: 100%;
    color: #121111;
    text-align: center;
    margin-top: 10px;
    opacity: 0;
    transform: translateY(30px);
}

.what-we-do-item-3.animate {
    animation: heroFadeInUp 0.8s ease-out 0.3s forwards;
}

/* Контейнеры для левой и правой колонок */
.what-we-do-header {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.what-we-do-steps {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* Десктоп: контейнер с 2 колонками - левая (шапка) и правая (шаги) 50% */
@media (min-width: 1024px) {
    .what-we-do {
        margin-top: -40px;
        padding-top: 0;
        padding-bottom: 160px;
        /* важно для sticky: родитель не должен ограничивать область прокрутки overflow'ом */
        overflow: visible;
    }

    .what-we-do-wrapper {
        /* Важно: sticky в grid у части браузеров работает нестабильно.
           Flex-колонки визуально эквивалентны (1fr + 50%) и sticky работает надёжно. */
        display: flex;
        flex-direction: row;
        gap: 40px;
        /* stretch нужен, чтобы левая колонка имела высоту блока и можно было "прижать" заголовок к низу */
        align-items: stretch;
        margin-top: 0;
        padding-top: 80px;
        overflow: visible;
    }

    .what-we-do-header-col {
        flex: 1 1 0;
        position: relative;
    }

    .what-we-do-header {
        position: relative;
        align-self: start;
        z-index: 2;
    }

    .what-we-do-steps {
        flex: 0 0 50%;
        width: 50%;
    }

    /* Состояния фиксации (делает JS) */
    .what-we-do-header.is-fixed {
        position: fixed;
        top: 40px;
        left: var(--pin-left, 0px);
        width: var(--pin-width, auto);
    }

    .what-we-do-header.is-at-end {
        position: absolute;
        top: auto;
        bottom: 0;
        left: 0;
        width: 100%;
    }

    .what-we-do-steps .what-we-do-group:first-child {
        margin-top: 0;
    }

    /* В левой колонке элементы выравниваются по левому краю */
    .what-we-do-header .what-we-do-logo {
        margin: 0 0 20px 0;
        align-self: flex-start;
    }

    .what-we-do-header .what-we-do-item-2 {
        text-align: left;
        /* На десктопе отступ 20px уже есть у логотипа снизу (margin-bottom),
           поэтому убираем верхний отступ у заголовка, чтобы не получалось 40px суммарно. */
        margin-top: 0;
        margin-left: 0;
        margin-right: 0;
    }

    .what-we-do-header .what-we-do-item-3 {
        text-align: left;
        margin-left: 0;
        margin-right: 0;
    }

    .what-we-do-header .what-we-do-divider {
        align-self: stretch;
        display: none; /* Скрываем линию на десктопе */
    }

    .what-we-do-header .what-we-do-link {
        /* Стили как у кнопки "Заказать звонок" */
        width: 100%;
        height: 60px;
        background-color: #F7C143;
        color: #FFFFFF;
        font-family: 'Unbounded', Arial, sans-serif;
        font-weight: 600;
        font-size: 17px;
        border: none;
        border-bottom: 4px solid #D6A532;
        border-radius: 10px;
        text-align: center;
        cursor: pointer;
        text-decoration: none;
        display: flex;
        align-items: center;
        justify-content: center;
        margin-top: 40px;
        align-self: stretch;
    }

    /* Шаги: заголовки/подзаголовки — влево + внутренние отступы по 20px */
    .what-we-do-steps .what-we-do-item {
        text-align: left;
        padding-left: 20px;
        padding-right: 20px;
        box-sizing: border-box;
    }

    /* Шаги: цифра — чуть правее центра */
    .what-we-do-steps .what-we-do-number {
        left: calc(50% + 20px);
    }
}

@media (min-width: 1440px) {
    .what-we-do {
        margin-top: -40px;
        padding-top: 0;
        padding-bottom: 160px;
    }

    .what-we-do-wrapper {
        gap: 80px;
        margin-top: 0;
        padding-top: 80px;
    }

    .what-we-do-steps .what-we-do-group:first-child {
        margin-top: 0;
    }
}

/* 4. Линия - верхний отступ 20px */
.what-we-do-divider {
    width: 100%;
    height: 1px;
    background-color: #121111;
    margin: 20px 0 0;
    align-self: center;
    opacity: 0;
    transform: translateY(30px);
}

.what-we-do-divider.animate {
    animation: heroFadeInUp 0.8s ease-out 0.4s forwards;
}

/* Группы Что мы делаем */
.what-we-do-group {
    position: relative;
    width: 100%;
    max-width: 355px;
    background-color: #FFFFFF;
    border-radius: 20px;
    margin-top: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    opacity: 0;
    transform: translateY(30px);
}

.what-we-do-group.animate {
    animation: heroFadeInUp 0.8s ease-out forwards;
}

/* Мобилка: у карточек делаем внутренние отступы слева/справа по 10px */
@media (max-width: 1023px) {
    .what-we-do-group {
        padding-left: 10px;
        padding-right: 10px;
    }
}

/* Цифры в группах */
.what-we-do-number {
    font-family: 'Unbounded', Arial, sans-serif;
    font-size: 200px;
    color: #121111;
    opacity: 0.05;
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    line-height: 1;
    z-index: 0;
    pointer-events: none;
}

/* 5. Плашка - верхний отступ 40px */
.what-we-do-item-5 {
    font-family: 'Unbounded', Arial, sans-serif;
    font-weight: 600;
    font-size: 20px;
    width: 100%;
    max-width: 315px;
    color: #121111;
    text-align: center;
    margin-top: 40px;
    position: relative;
    z-index: 1;
}

.what-we-do-item .highlight {
    color: #F7C143;
}

/* 6. Плашка - верхний отступ 10px, нижний 40px */
.what-we-do-item-6 {
    font-family: 'Montserrat', Arial, sans-serif;
    font-weight: 400;
    font-size: 17px;
    width: 100%;
    max-width: 315px;
    color: #121111;
    text-align: center;
    margin-top: 10px;
    margin-bottom: 40px;
    position: relative;
    z-index: 1;
}

/* 7. Плашка - верхний отступ 40px */
.what-we-do-item-7 {
    font-family: 'Unbounded', Arial, sans-serif;
    font-weight: 600;
    font-size: 20px;
    width: 100%;
    max-width: 315px;
    color: #121111;
    text-align: center;
    margin-top: 40px;
    position: relative;
    z-index: 1;
}

/* 8. Плашка - верхний отступ 10px, нижний 40px */
.what-we-do-item-8 {
    font-family: 'Montserrat', Arial, sans-serif;
    font-weight: 400;
    font-size: 17px;
    width: 100%;
    max-width: 315px;
    color: #121111;
    text-align: center;
    margin-top: 10px;
    margin-bottom: 40px;
    position: relative;
    z-index: 1;
}

/* 9. Плашка - верхний отступ 40px */
.what-we-do-item-9 {
    font-family: 'Unbounded', Arial, sans-serif;
    font-weight: 600;
    font-size: 20px;
    width: 100%;
    max-width: 315px;
    color: #121111;
    text-align: center;
    margin-top: 40px;
    position: relative;
    z-index: 1;
}

/* 10. Плашка - верхний отступ 10px, нижний 40px */
.what-we-do-item-10 {
    font-family: 'Montserrat', Arial, sans-serif;
    font-weight: 400;
    font-size: 17px;
    width: 100%;
    max-width: 315px;
    color: #121111;
    text-align: center;
    margin-top: 10px;
    margin-bottom: 40px;
    position: relative;
    z-index: 1;
}

/* 11. Плашка - верхний отступ 40px */
.what-we-do-item-11 {
    font-family: 'Unbounded', Arial, sans-serif;
    font-weight: 600;
    font-size: 20px;
    width: 100%;
    max-width: 315px;
    color: #121111;
    text-align: center;
    margin-top: 40px;
    position: relative;
    z-index: 1;
}

/* 12. Плашка - верхний отступ 10px, нижний 40px */
.what-we-do-item-12 {
    font-family: 'Montserrat', Arial, sans-serif;
    font-weight: 400;
    font-size: 17px;
    width: 100%;
    max-width: 315px;
    color: #121111;
    text-align: center;
    margin-top: 10px;
    margin-bottom: 40px;
    position: relative;
    z-index: 1;
}

/* 13. Плашка - верхний отступ 40px */
.what-we-do-item-13 {
    font-family: 'Unbounded', Arial, sans-serif;
    font-weight: 600;
    font-size: 20px;
    width: 100%;
    max-width: 315px;
    color: #121111;
    text-align: center;
    margin-top: 40px;
    position: relative;
    z-index: 1;
}

/* 14. Плашка - верхний отступ 10px, нижний 40px */
.what-we-do-item-14 {
    font-family: 'Montserrat', Arial, sans-serif;
    font-weight: 400;
    font-size: 17px;
    width: 100%;
    max-width: 315px;
    color: #121111;
    text-align: center;
    margin-top: 10px;
    margin-bottom: 40px;
    position: relative;
    z-index: 1;
}

/* 15. Плашка - верхний отступ 40px */
.what-we-do-item-15 {
    font-family: 'Unbounded', Arial, sans-serif;
    font-weight: 600;
    font-size: 20px;
    width: 100%;
    max-width: 315px;
    color: #121111;
    text-align: center;
    margin-top: 40px;
    position: relative;
    z-index: 1;
}

/* 16. Плашка - верхний отступ 10px, нижний 40px */
.what-we-do-item-16 {
    font-family: 'Montserrat', Arial, sans-serif;
    font-weight: 400;
    font-size: 17px;
    width: 100%;
    max-width: 315px;
    color: #121111;
    text-align: center;
    margin-top: 10px;
    margin-bottom: 40px;
    position: relative;
    z-index: 1;
}

/* 17. Плашка - верхний отступ 40px */
.what-we-do-item-17 {
    font-family: 'Unbounded', Arial, sans-serif;
    font-weight: 600;
    font-size: 20px;
    width: 100%;
    max-width: 315px;
    color: #121111;
    text-align: center;
    margin-top: 40px;
    position: relative;
    z-index: 1;
}

/* 18. Плашка - верхний отступ 10px, нижний 40px */
.what-we-do-item-18 {
    font-family: 'Montserrat', Arial, sans-serif;
    font-weight: 400;
    font-size: 17px;
    width: 100%;
    max-width: 315px;
    color: #121111;
    text-align: center;
    margin-top: 10px;
    margin-bottom: 40px;
    position: relative;
    z-index: 1;
}

/* Кнопка в блоке Что мы делаем */
.what-we-do-link {
    font-family: 'Unbounded', Arial, sans-serif;
    font-weight: 500;
    font-size: 20px;
    color: #121111;
    text-decoration: underline;
    text-align: center;
    margin-top: 40px;
    cursor: pointer;
    opacity: 0;
    transform: translateY(30px);
}

.what-we-do-link.animate {
    animation: heroFadeInUp 0.8s ease-out forwards;
}

/* На мобильных скрываем ссылку "УЗНАТЬ ПОДРОБНЕЕ" в блоке "Что мы делаем" */
@media (max-width: 1023px) {
    .what-we-do .what-we-do-link {
        display: none !important;
    }
}

/* Блок Вопросы и ответы */
.faq {
    margin-top: -40px;
    background-color: #F0F0F0;
    border-top-left-radius: var(--radius-section);
    border-top-right-radius: var(--radius-section);
    border-bottom-left-radius: 0;
    border-bottom-right-radius: 0;
    min-height: 100px;
    padding-top: 60px;
    padding-bottom: 160px;
    position: relative;
    z-index: 1;
}

.faq-wrapper {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* 1. Логотип в блоке FAQ */
.faq-logo {
    width: 70px;
    height: 26.8px;
    display: block;
    margin: -20px auto 0;
    align-self: center;
    opacity: 0;
    transform: translateY(30px);
}

.faq-logo.animate {
    animation: heroFadeInUp 0.8s ease-out 0.1s forwards;
}

/* 2. Плашка заголовка */
.faq-item-2 {
    font-family: 'Unbounded', Arial, sans-serif;
    font-weight: 600;
    font-size: var(--fs-h2);
    line-height: var(--lh-h2);
    width: 100%;
    color: #121111;
    text-align: center;
    margin-top: 20px;
    opacity: 0;
    transform: translateY(30px);
}

.faq-item-2.animate {
    animation: heroFadeInUp 0.8s ease-out 0.2s forwards;
}

/* Контейнеры для левой и правой колонок */
.faq-header {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.faq-accordion-wrapper {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* Десктоп: контейнер с 2 колонками - левая (шапка) и правая (аккордеон) 50% */
@media (min-width: 1024px) {
    .faq {
        margin-top: -40px;
        padding-top: 0;
        padding-bottom: 160px;
    }

    .faq-wrapper {
        display: grid;
        grid-template-columns: 1fr 50%;
        column-gap: 40px;
        align-items: start;
        margin-top: 0;
        padding-top: 80px;
    }

    .faq-header {
        grid-column: 1;
    }

    .faq-accordion-wrapper {
        grid-column: 2;
        margin-top: 0;
        padding-top: 0;
    }

    .faq-accordion {
        margin-top: 0;
    }

    .faq-accordion-item:first-child {
        margin-top: 0;
    }

    /* В левой колонке элементы выравниваются по левому краю */
    .faq-header .faq-logo {
        margin: 0 0 20px 0;
        align-self: flex-start;
    }

    .faq-header .faq-item-2 {
        text-align: left;
        /* На десктопе отступ 20px уже есть у логотипа снизу (margin-bottom),
           поэтому убираем верхний отступ у заголовка, чтобы не получалось 40px суммарно. */
        margin-top: 0;
        margin-left: 0;
        margin-right: 0;
    }
}

@media (min-width: 1440px) {
    .faq {
        margin-top: -40px;
        padding-top: 0;
        padding-bottom: 160px;
    }

    .faq-wrapper {
        column-gap: 80px;
        margin-top: 0;
        padding-top: 80px;
    }

    .faq-accordion-wrapper {
        margin-top: 0;
        padding-top: 0;
    }

    .faq-accordion {
        margin-top: 0;
    }

    .faq-accordion-item:first-child {
        margin-top: 0;
    }
}

/* Аккордеон */
.faq-accordion {
    width: 100%;
    margin-top: 20px;
    opacity: 0;
    transform: translateY(30px);
}

.faq-accordion.animate {
    animation: heroFadeInUp 0.8s ease-out 0.3s forwards;
}

.faq-accordion-item {
    margin-top: 20px;
    width: 100%;
}

.faq-accordion-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    cursor: pointer;
    position: relative;
}

.faq-accordion-title {
    font-family: 'Unbounded', Arial, sans-serif;
    font-weight: 500;
    font-size: 17px;
    color: #121111;
    text-align: left;
    flex: 1;
    text-transform: uppercase;
    line-height: 1.4;
    padding-right: 20px;
}

.faq-accordion-arrow {
    flex-shrink: 0;
    transform: rotate(0deg);
    transition: transform 0.3s ease;
    pointer-events: none;
}

.faq-accordion-item.active .faq-accordion-arrow {
    transform: rotate(180deg);
}

.faq-accordion-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease, margin-top 0.3s ease;
    margin-top: 0;
    padding-bottom: 0;
}

.faq-accordion-item.active .faq-accordion-content {
    max-height: 1000px;
    margin-top: 20px;
    padding-bottom: 0;
}

.faq-accordion-text {
    font-family: 'Montserrat', Arial, sans-serif;
    font-weight: 400;
    font-size: 17px;
    color: #121111;
    text-align: left;
    width: 100%;
    max-width: 355px;
    line-height: 1.4;
    padding-bottom: 0;
}

.faq-accordion-button {
    font-family: 'Montserrat', Arial, sans-serif;
    font-weight: 400;
    font-size: 17px;
    color: #121111;
    text-align: left;
    width: 100%;
    max-width: 355px;
    line-height: 1.4;
    margin-top: 20px;
    text-decoration: underline;
    cursor: pointer;
    background: none;
    border: none;
    padding: 0;
    display: block;
}

.faq-accordion-button:hover {
    opacity: 0.8;
}

.faq-accordion-line {
    width: 100%;
    max-width: 355px;
    height: 1px;
    background-color: #121111;
    margin-top: 20px;
    transition: margin-top 0.4s ease;
}

.faq-accordion-item.active .faq-accordion-line {
    margin-top: 40px;
}

/* Блок Наш опыт */
.our-experience {
    margin-top: -40px;
    background-color: #121111;
    border-top-left-radius: var(--radius-section);
    border-top-right-radius: var(--radius-section);
    border-bottom-left-radius: 0;
    border-bottom-right-radius: 0;
    min-height: 100px;
    padding-bottom: 160px;
    position: relative;
    z-index: 1;
}

/* Блок Руководитель */
.rukovoditel {
    margin-top: -40px;
    background-color: #FFFFFF;
    border-top-left-radius: var(--radius-section);
    border-top-right-radius: var(--radius-section);
    border-bottom-left-radius: 0;
    border-bottom-right-radius: 0;
    min-height: 100px;
    padding-top: 60px;
    padding-bottom: 120px;
    position: relative;
    z-index: 1;
}

.rukovoditel-wrapper {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 40px;
    align-items: stretch;
}

.rukovoditel-image-wrap {
    width: 100%;
}

.rukovoditel-image {
    width: 100%;
    height: auto;
    display: block;
    border-radius: var(--radius-lg);
    object-fit: cover;
}

.rukovoditel-logo-row {
    width: 100%;
    display: flex;
    justify-content: center;
    margin-bottom: 20px;
}

.rukovoditel-logo {
    width: 70px;
    height: 26.8px;
    display: block;
}

.rukovoditel-quote-grid {
    width: 100%;
    display: grid;
    grid-template-columns: 70px 1fr;
    column-gap: 0;
    align-items: start;
    margin-top: 0;
}

.rukovoditel-quote {
    font-family: 'Montserrat', Arial, sans-serif;
    font-weight: 500;
    font-style: italic;
    font-size: 80px;
    line-height: 1;
    color: #F7C143;
}

.rukovoditel-text {
    font-family: 'Montserrat', Arial, sans-serif;
    font-weight: 600;
    font-style: italic;
    font-size: 20px;
    line-height: 1.4;
    color: #121111;
    text-align: left;
}

.rukovoditel-underline {
    text-decoration: underline;
}

.rukovoditel-name {
    margin-top: 40px;
    font-family: 'Montserrat', Arial, sans-serif;
    font-weight: 500;
    font-size: 20px;
    color: #121111;
}

.rukovoditel-role {
    margin-top: 10px;
    font-family: 'Montserrat', Arial, sans-serif;
    font-weight: 400;
    font-style: italic;
    font-size: 17px;
    color: #121111;
}

@media (min-width: 1024px) {
    .rukovoditel {
        margin-top: -40px;
        padding-top: 0;
        padding-bottom: 120px;
    }

    .rukovoditel-wrapper {
        display: grid;
        grid-template-columns: 1fr 1fr;
        grid-template-rows: 1fr auto auto 1fr;
        column-gap: 40px;
        align-items: stretch;
        padding-top: 80px;
        gap: 0;
    }

    .rukovoditel-image-wrap {
        grid-column: 1;
        grid-row: 1 / -1;
        align-self: stretch;
    }

    .rukovoditel-image {
        height: auto;
    }

    .rukovoditel-logo-row {
        grid-column: 2;
        grid-row: 2;
        margin-bottom: 40px;
    }

    .rukovoditel-quote-grid {
        grid-column: 2;
        grid-row: 3;
    }

    .rukovoditel-quote-grid {
        grid-template-columns: 100px 1fr;
        margin-top: 0;
    }

    .rukovoditel-quote {
        font-size: 100px;
    }
}

@media (min-width: 1440px) {
    .rukovoditel-wrapper {
        column-gap: 40px;
    }

    .rukovoditel-image {
        height: auto;
    }
}

/* На мобилке порядок уже задан в HTML: logo -> фото -> quote/text */

.our-experience-wrapper {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* 1. Логотип в блоке Наш опыт */
.our-experience-logo {
    width: 70px;
    height: 26.8px;
    display: block;
    margin: 40px auto 0;
    align-self: center;
    opacity: 0;
    transform: translateY(30px);
}

.our-experience-logo.animate {
    animation: heroFadeInUp 0.8s ease-out 0.1s forwards;
}

/* 2. Заголовок - такие же настройки как .advantages-item-2 */
.our-experience-title {
    font-family: 'Unbounded', Arial, sans-serif;
    font-weight: 600;
    font-size: 30px;
    line-height: 36px;
    width: 100%;
    max-width: 355px;
    color: #FFFFFF;
    text-align: center;
    margin-top: 20px;
    opacity: 0;
    transform: translateY(30px);
}

.our-experience-title.animate {
    animation: heroFadeInUp 0.8s ease-out 0.2s forwards;
}

/* 4. Линия - такие же настройки как .advantages-divider */
.our-experience-divider {
    width: 100%;
    height: 1px;
    background-color: #FFFFFF;
    margin: 20px 0 0;
    align-self: center;
    opacity: 0;
    transform: translateY(30px);
}

.our-experience-divider.animate {
    animation: heroFadeInUp 0.8s ease-out 0.3s forwards;
}

/* Контейнер для карточек кейсов */
.our-experience-cases {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.our-experience-cases-left,
.our-experience-cases-right {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* Десктоп: контейнер с 2 колонками для карточек кейсов */
@media (min-width: 1024px) {
    .our-experience {
        margin-top: -40px;
        padding-bottom: 160px;
    }

    .our-experience-wrapper {
        margin-top: 0;
        padding-top: 80px;
    }

    .our-experience-logo {
        margin: 0;
    }

    .our-experience-cases {
        display: grid;
        grid-template-columns: 1fr 1fr;
        column-gap: 40px;
        align-items: start;
    }

    .our-experience-cases-left {
        grid-column: 1;
    }

    .our-experience-cases-right {
        grid-column: 2;
    }
}

@media (min-width: 1440px) {
    .our-experience {
        margin-top: -40px;
        padding-bottom: 160px;
    }

    .our-experience-wrapper {
        margin-top: 0;
        padding-top: 80px;
    }

    .our-experience-cases {
        column-gap: 80px;
    }
}

/* Группа keys1 */
.keys1 {
    width: 100%;
    background-color: #F0F0F0;
    border-radius: var(--radius-lg);
    margin-top: 40px;
    position: relative;
    opacity: 0;
    transform: translateY(30px);
}

.keys1.animate {
    animation: heroFadeInUp 0.8s ease-out forwards;
}

/* а) Квадрат с изображением */
.keys1-image {
    width: 80px;
    height: 80px;
    border-radius: 1000px;
    background-image: url('img/image1.webp');
    background-size: cover;
    background-position: center;
    margin-left: 20px;
    margin-top: 20px;
}

/* б) Надпись "Автосервис" */
.keys1-title {
    font-family: 'Unbounded', Arial, sans-serif;
    font-weight: 500;
    font-size: 25px;
    color: #121111;
    margin-top: 20px;
    margin-left: 20px;
    margin-right: 20px;
}

/* в) Надпись "Казань" */
.keys1-location {
    font-family: 'Montserrat', Arial, sans-serif;
    font-weight: 300;
    font-size: 17px;
    color: #121111;
    margin-top: 0;
    margin-left: 20px;
}

/* г) Описание */
.keys1-description {
    font-family: 'Montserrat', Arial, sans-serif;
    font-weight: 400;
    font-size: 17px;
    color: #121111;
    margin-top: 20px;
    margin-left: 20px;
    margin-right: 20px;
}

.keys1-result-label {
    font-family: 'Montserrat', Arial, sans-serif;
    font-weight: 500;
    font-size: 17px;
    color: #121111;
    margin-top: 20px;
    margin-left: 20px;
    margin-right: 20px;
}

.keys1-result-list {
    font-family: 'Montserrat', Arial, sans-serif;
    font-weight: 400;
    font-size: 17px;
    color: #121111;
    margin-top: 0;
    margin-left: 20px;
    margin-right: 20px;
    padding-left: 20px;
    list-style-type: disc;
}

.keys1-result-list li {
    margin-top: 5px;
}

.keys1-result-list li:first-child {
    margin-top: 0;
}

/* д) Ссылка "Узнать подробнее" */
.keys1-link {
    font-family: 'Montserrat', Arial, sans-serif;
    font-weight: 500;
    font-size: 20px;
    color: #121111;
    text-decoration: underline;
    margin-top: 40px;
    margin-left: 20px;
    margin-bottom: 40px;
}

/* Группа keys2 */
.keys2 {
    width: 100%;
    background-color: #F0F0F0;
    border-radius: var(--radius-lg);
    margin-top: 40px;
    position: relative;
    opacity: 0;
    transform: translateY(30px);
}

.keys2.animate {
    animation: heroFadeInUp 0.8s ease-out forwards;
}

.keys2-image {
    width: 80px;
    height: 80px;
    border-radius: 1000px;
    background-image: url('img/image2.webp');
    background-size: cover;
    background-position: center;
    margin-left: 20px;
    margin-top: 20px;
}

.keys2-title {
    font-family: 'Unbounded', Arial, sans-serif;
    font-weight: 500;
    font-size: 25px;
    color: #121111;
    margin-top: 20px;
    margin-left: 20px;
    margin-right: 20px;
}

.keys2-location {
    font-family: 'Montserrat', Arial, sans-serif;
    font-weight: 300;
    font-size: 17px;
    color: #121111;
    margin-top: 0;
    margin-left: 20px;
}

.keys2-description {
    font-family: 'Montserrat', Arial, sans-serif;
    font-weight: 400;
    font-size: 17px;
    color: #121111;
    margin-top: 20px;
    margin-left: 20px;
    margin-right: 20px;
}

.keys2-result-label {
    font-family: 'Montserrat', Arial, sans-serif;
    font-weight: 500;
    font-size: 17px;
    color: #121111;
    margin-top: 20px;
    margin-left: 20px;
    margin-right: 20px;
}

.keys2-result-list {
    font-family: 'Montserrat', Arial, sans-serif;
    font-weight: 400;
    font-size: 17px;
    color: #121111;
    margin-top: 0;
    margin-left: 20px;
    margin-right: 20px;
    padding-left: 20px;
    list-style-type: disc;
}

.keys2-result-list li {
    margin-top: 5px;
}

.keys2-result-list li:first-child {
    margin-top: 0;
}

.keys2-link {
    font-family: 'Montserrat', Arial, sans-serif;
    font-weight: 500;
    font-size: 20px;
    color: #121111;
    text-decoration: underline;
    margin-top: 40px;
    margin-left: 20px;
    margin-bottom: 40px;
}

/* Группа keys3 */
.keys3 {
    width: 100%;
    background-color: #F0F0F0;
    border-radius: var(--radius-lg);
    margin-top: 40px;
    position: relative;
    opacity: 0;
    transform: translateY(30px);
}

.keys3.animate {
    animation: heroFadeInUp 0.8s ease-out forwards;
}

.keys3-image {
    width: 80px;
    height: 80px;
    border-radius: 1000px;
    background-image: url('img/image3.webp');
    background-size: cover;
    background-position: center;
    margin-left: 20px;
    margin-top: 20px;
}

.keys3-title {
    font-family: 'Unbounded', Arial, sans-serif;
    font-weight: 500;
    font-size: 25px;
    color: #121111;
    margin-top: 20px;
    margin-left: 20px;
    margin-right: 20px;
}

.keys3-location {
    font-family: 'Montserrat', Arial, sans-serif;
    font-weight: 300;
    font-size: 17px;
    color: #121111;
    margin-top: 0;
    margin-left: 20px;
}

.keys3-description {
    font-family: 'Montserrat', Arial, sans-serif;
    font-weight: 400;
    font-size: 17px;
    color: #121111;
    margin-top: 20px;
    margin-left: 20px;
    margin-right: 20px;
}

.keys3-result-label {
    font-family: 'Montserrat', Arial, sans-serif;
    font-weight: 500;
    font-size: 17px;
    color: #121111;
    margin-top: 20px;
    margin-left: 20px;
    margin-right: 20px;
}

.keys3-result-list {
    font-family: 'Montserrat', Arial, sans-serif;
    font-weight: 400;
    font-size: 17px;
    color: #121111;
    margin-top: 0;
    margin-left: 20px;
    margin-right: 20px;
    padding-left: 20px;
    list-style-type: disc;
}

.keys3-result-list li {
    margin-top: 5px;
}

.keys3-result-list li:first-child {
    margin-top: 0;
}

.keys3-link {
    font-family: 'Montserrat', Arial, sans-serif;
    font-weight: 500;
    font-size: 20px;
    color: #121111;
    text-decoration: underline;
    margin-top: 40px;
    margin-left: 20px;
    margin-bottom: 40px;
}

/* Группа keys4 */
.keys4 {
    width: 100%;
    background-color: #F0F0F0;
    border-radius: var(--radius-lg);
    margin-top: 40px;
    position: relative;
    opacity: 0;
    transform: translateY(30px);
}

.keys4.animate {
    animation: heroFadeInUp 0.8s ease-out forwards;
}

.keys4-image {
    width: 80px;
    height: 80px;
    border-radius: 1000px;
    background-image: url('img/image4.webp');
    background-size: cover;
    background-position: center;
    margin-left: 20px;
    margin-top: 20px;
}

.keys4-title {
    font-family: 'Unbounded', Arial, sans-serif;
    font-weight: 500;
    font-size: 25px;
    color: #121111;
    margin-top: 20px;
    margin-left: 20px;
    margin-right: 20px;
}

.keys4-location {
    font-family: 'Montserrat', Arial, sans-serif;
    font-weight: 300;
    font-size: 17px;
    color: #121111;
    margin-top: 0;
    margin-left: 20px;
}

.keys4-description {
    font-family: 'Montserrat', Arial, sans-serif;
    font-weight: 400;
    font-size: 17px;
    color: #121111;
    margin-top: 20px;
    margin-left: 20px;
    margin-right: 20px;
}

.keys4-result-label {
    font-family: 'Montserrat', Arial, sans-serif;
    font-weight: 500;
    font-size: 17px;
    color: #121111;
    margin-top: 20px;
    margin-left: 20px;
    margin-right: 20px;
}

.keys4-result-list {
    font-family: 'Montserrat', Arial, sans-serif;
    font-weight: 400;
    font-size: 17px;
    color: #121111;
    margin-top: 0;
    margin-left: 20px;
    margin-right: 20px;
    padding-left: 20px;
    list-style-type: disc;
}

.keys4-result-list li {
    margin-top: 5px;
}

.keys4-result-list li:first-child {
    margin-top: 0;
}

.keys4-link {
    font-family: 'Montserrat', Arial, sans-serif;
    font-weight: 500;
    font-size: 20px;
    color: #121111;
    text-decoration: underline;
    margin-top: 40px;
    margin-left: 20px;
    margin-bottom: 40px;
}

/* Блок Контакты */
.contacts {
    margin-top: -40px;
    background-color: #FFFFFF;
    border-radius: var(--radius-section);
    min-height: 100px;
    position: relative;
    z-index: 1;
}

.contacts-wrapper {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    position: relative;
    border-radius: var(--radius-section);
}

/* Структура блока контактов */
.contacts-header,
.contacts-left,
.contacts-info,
.contacts-footer,
.contacts-right {
    width: 100%;
}

.contacts-split {
    width: 100%;
    display: flex;
    flex-direction: column;
}

.contacts-split-left {
    display: block;
    width: 100vw;
    aspect-ratio: 993 / 700;
    margin-left: calc(50% - 50vw);
    background-image: url('img/bg1.webp');
    background-repeat: no-repeat;
    background-position: center bottom;
    background-size: contain;
}

.contacts-split-right {
    width: 100%;
}

.contacts-header {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.contacts-right {
    display: flex;
    justify-content: center;
    margin-top: 40px;
}

.contacts-left {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.contacts-info {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.contacts-item {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.contacts-footer {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
}

.contacts-footer-right {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
}

/* 1. Логотип в блоке Контакты */
.contacts-logo {
    width: 70px;
    height: 26.8px;
    display: block;
    margin: 40px auto 0;
    align-self: center;
    opacity: 0;
    transform: translateY(30px);
}

.contacts-logo.animate {
    animation: heroFadeInUp 0.8s ease-out 0.1s forwards;
}

/* 2. Плашка заголовка - такие же настройки как .online-calc-title */
.contacts-title {
    font-family: 'Unbounded', Arial, sans-serif;
    font-weight: 600;
    font-size: var(--fs-h2);
    line-height: var(--lh-h2);
    width: 100%;
    color: #121111;
    text-align: center;
    margin-top: 20px;
    opacity: 0;
    transform: translateY(30px);
}

.contacts-title.animate {
    animation: heroFadeInUp 0.8s ease-out 0.2s forwards;
}

/* 3. Плашка под заголовка - такие же настройки как .online-calc-subtitle */
.contacts-subtitle {
    font-family: 'Montserrat', Arial, sans-serif;
    font-weight: 500;
    font-size: var(--fs-body);
    width: 100%;
    color: #404040;
    text-align: center;
    margin-top: 10px;
    opacity: 0;
    transform: translateY(30px);
}

.contacts-subtitle.animate {
    animation: heroFadeInUp 0.8s ease-out 0.3s forwards;
}

/* 4. Линия - такие же настройки как .online-calc-divider */
.contacts-divider {
    width: 100%;
    height: 1px;
    background-color: #B6B6B6;
    margin: 20px 0 0;
    align-self: center;
    opacity: 0;
    transform: translateY(30px);
}

.contacts-divider.animate {
    animation: heroFadeInUp 0.8s ease-out 0.4s forwards;
}

/* 1, 3, 5. Метки контактов */
.contacts-label {
    font-family: 'Montserrat', Arial, sans-serif;
    font-weight: 400;
    font-size: 20px;
    color: #121111;
    text-align: center;
    margin-top: 40px;
    opacity: 0;
    transform: translateY(30px);
}

.contacts-label.animate {
    animation: heroFadeInUp 0.8s ease-out forwards;
}

/* 2, 4, 6. Значения контактов */
.contacts-value {
    font-family: 'Unbounded', Arial, sans-serif;
    font-weight: 500;
    font-size: 30px;
    color: #787878;
    text-align: center;
    margin-top: 20px;
    opacity: 0;
    transform: translateY(30px);
}

.contacts-value.animate {
    animation: heroFadeInUp 0.8s ease-out forwards;
}

.contacts-value-highlight {
    color: #121111;
}

/* Ссылки в блоке контактов */
.contacts-link {
    text-decoration: none;
    display: inline-block;
}

.contacts-link:hover {
    opacity: 0.8;
}

/* 7. Вторая линия */
.contacts-divider-2 {
    width: 100%;
    height: 1px;
    background-color: #B6B6B6;
    margin: 40px 0 0;
    align-self: center;
    opacity: 0;
    transform: translateY(30px);
}

.contacts-divider-2.animate {
    animation: heroFadeInUp 0.8s ease-out forwards;
}

/* 8. Кнопка */
.contacts-btn {
    width: 100%;
    margin-top: 0;
    align-self: center;
    flex: none;
    opacity: 0;
    transform: translateY(30px);
}

.contacts-btn.animate {
    animation: heroFadeInUp 0.8s ease-out forwards;
}

/* 9. Реквизиты */
.contacts-requisites {
    font-family: 'Montserrat', Arial, sans-serif;
    font-weight: 400;
    font-size: 20px;
    color: #121111;
    text-align: center;
    margin-top: 40px;
    opacity: 0;
    transform: translateY(30px);
}

.contacts-requisites.animate {
    animation: heroFadeInUp 0.8s ease-out forwards;
}

/* 10. Политика конфиденциальности */
.contacts-privacy {
    font-family: 'Montserrat', Arial, sans-serif;
    font-weight: 400;
    font-size: 17px;
    color: #121111;
    text-decoration: underline;
    text-align: center;
    margin-top: 20px;
    display: inline-block;
    cursor: pointer;
    opacity: 0;
    transform: translateY(30px);
}

.contacts-privacy.animate {
    animation: heroFadeInUp 0.8s ease-out forwards;
}

.contacts-privacy:hover {
    opacity: 0.8;
}

/* 11. Изображение */
/* Десктоп: контакты как карточка внутри серого фона, сетка 3 колонки, машина как фон */
@media (min-width: 1024px) {
    .contacts {
        margin-top: -40px;
    }

    .contacts-wrapper {
        padding-top: 0;
        padding-bottom: 0;
    }

    .contacts-container {
        padding-top: 80px;
    }

    .contacts-container-2 {
        padding-top: 0;
    }

    .contacts-header {
        display: grid;
        grid-template-columns: 1fr auto;
        column-gap: 40px;
        align-items: start;
        justify-content: stretch;
        margin-top: 0;
    }

    .contacts-left {
        align-items: flex-start;
    }

    .contacts-right {
        margin-top: 0;
        width: auto;
        justify-content: flex-end;
        align-self: start;
    }

    .contacts-logo {
        margin: 0;
        align-self: flex-start;
    }

    .contacts-title,
    .contacts-subtitle {
        text-align: left;
        margin-left: 0;
        margin-right: 0;
    }

    .contacts-title {
        margin-top: 20px;
    }

    .contacts-subtitle {
        margin-top: 10px;
        max-width: 420px;
    }

    .contacts-btn {
        width: 340px;
        margin-top: 30px;
        align-self: center;
        white-space: nowrap;
        justify-self: end;
    }

    .contacts-divider {
        margin-top: 40px;
        grid-column: 1 / -1;
    }

    .contacts-container-2 .contacts-divider {
        margin-top: 20px;
    }

    .contacts-split {
        display: grid;
        grid-template-columns: 30% 70%;
        column-gap: 40px;
        align-items: stretch;
        margin-top: 40px;
    }

    .contacts-split-left {
        display: block;
        width: 100%;
        aspect-ratio: unset;
        margin-left: 0;
        min-height: 420px;
        align-self: stretch;
    }

    .contacts-split-right {
        display: flex;
        flex-direction: column;
        align-items: stretch;
    }

    .contacts-split-right .contacts-info {
        display: flex;
        flex-direction: column;
        row-gap: 32px;
        align-items: stretch;
        margin-top: 0;
    }

    .contacts-item {
        align-items: flex-start;
    }

    .contacts-label {
        margin-top: 0;
        text-align: left;
        font-size: 17px;
    }

    .contacts-value {
        margin-top: 14px;
        text-align: left;
        font-size: 26px;
    }

    .contacts-divider-2 {
        margin-top: 0;
    }

    .contacts-split-right .contacts-divider-2 {
        margin-top: 40px;
        margin-bottom: 40px;
    }

    .contacts-split-right .contacts-footer-right {
        align-items: flex-start;
        width: 100%;
        margin-bottom: 20px;
    }

    .contacts-requisites {
        margin-top: 0;
        text-align: left;
    }

    .contacts-privacy {
        text-align: left;
    }
}

@media (min-width: 1440px) {
    .contacts {
        margin-top: -40px;
    }

    .contacts-container {
        padding-top: 80px;
    }

    .contacts-container-2 {
        padding-top: 0;
    }

    .contacts-header {
        column-gap: 80px;
        margin-top: 0;
    }

    .our-experience-logo {
        margin: 0;
    }

    .contacts-split {
        column-gap: 80px;
    }

    .contacts-split-left {
        min-height: 480px;
    }

    .contacts-btn {
        width: 380px;
        margin-top: 40px;
    }

    .contacts-value {
        font-size: 30px;
    }
}

/* Попап */
.popup-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 1000;
    align-items: center;
    justify-content: center;
    padding: 10px;
    box-sizing: border-box;
}

.popup-overlay.active {
    display: flex;
}

.popup-container {
    background-color: #121111;
    width: 100%;
    max-width: calc(100% - 20px);
    border-radius: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    max-height: 90vh;
    overflow-y: auto;
}

/* Логотип в попапе */
.popup-logo {
    width: 70px;
    height: 26.8px;
    display: block;
    margin: 40px auto 0;
    align-self: center;
}

/* Заголовок попапа */
.popup-title {
    font-family: 'Unbounded', Arial, sans-serif;
    font-weight: 600;
    font-size: 30px;
    color: #FFFFFF;
    text-align: center;
    margin-top: 20px;
    line-height: 1.2;
}

/* Описание попапа */
.popup-description {
    font-family: 'Montserrat', Arial, sans-serif;
    font-weight: 500;
    font-size: 17px;
    color: #FFFFFF;
    text-align: center;
    margin-top: 10px;
    padding-left: 20px;
    padding-right: 20px;
}

/* Форма попапа */
.popup-form {
    width: 100%;
    max-width: 315px;
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-top: 20px;
}

/* Поля ввода */
.popup-input {
    width: 100%;
    height: 60px;
    background-color: #F0F0F0;
    border: none;
    border-radius: 10px;
    font-family: 'Montserrat', Arial, sans-serif;
    font-weight: 500;
    font-size: 17px;
    color: #121111;
    padding-left: 20px;
    box-sizing: border-box;
    outline: none;
}

.popup-input::placeholder {
    color: #9C9C9C;
}

.popup-input:focus {
    outline: none;
}

.popup-input-phone {
    margin-top: 20px;
}

.popup-input-phone.error {
    border: 2px solid #FF0000;
    animation: shake 0.5s;
}

@keyframes shake {
    0%, 100% { transform: translateX(0); }
    25% { transform: translateX(-10px); }
    75% { transform: translateX(10px); }
}

/* Кнопка отправки */
.popup-submit-btn {
    width: 100%;
    margin-top: 20px;
    flex: none;
}

/* Honeypot (скрытое поле) */
.hp-field {
    position: absolute;
    left: -10000px;
    top: auto;
    width: 1px;
    height: 1px;
    overflow: hidden;
    opacity: 0;
    pointer-events: none;
}

/* Сообщения формы */
.popup-form-message {
    width: 100%;
    margin-top: 12px;
    min-height: 18px;
    font-family: 'Montserrat', Arial, sans-serif;
    font-weight: 500;
    font-size: 14px;
    line-height: 1.3;
    text-align: center;
    color: #F0F0F0;
}

.popup-form-message.is-success { color: #7CFF8C; }
.popup-form-message.is-error { color: #FF6B6B; }
.popup-form-message.is-info { color: #F7C143; }

.popup-submit-btn.is-loading {
    opacity: 0.75;
    pointer-events: none;
}

/* Политика конфиденциальности */
.popup-privacy {
    font-family: 'Montserrat', Arial, sans-serif;
    font-weight: 500;
    font-size: 14px;
    color: #F0F0F0;
    text-align: center;
    margin-top: 20px;
    margin-bottom: 40px;
    padding-left: 20px;
    padding-right: 20px;
}

.popup-privacy-link {
    color: #FFFFFF;
    text-decoration: underline;
}

.popup-privacy-link:hover {
    color: #F7C143;
}

/* Класс для открытия попапа */
.open-popup {
    cursor: pointer;
}

/* Подготовка к расширению экранов:
   убираем "мобильные" max-width (355/315), чтобы контент мог расширяться вместе с .container.
   На мобилке это визуально не меняет ничего, а на 1024/1440 не зажимает блоки в 355px. */
.hero__top :where(*),
.hero__container :where(*),
.advantages-wrapper :where(*),
.online-calc-wrapper :where(*),
.what-we-do-wrapper :where(*),
.our-experience-wrapper :where(*),
.faq-wrapper :where(*),
.contacts-wrapper :where(*:not(.container)) {
    max-width: 100%;
}

/* Исключения: полноэкранные изображения должны оставаться full-bleed */
.bg-image,
.contacts-split-left {
    max-width: none;
}

/* Страница Политика конфиденциальности */
.politica-page {
    background-color: #FFFFFF;
    padding-left: 0;
    padding-right: 0;
}

.politica-wrapper {
    width: 100%;
    max-width: 100%;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* Логотип на странице политики */
.politica-logo {
    width: 70px;
    height: 26.8px;
    display: block;
    margin: 40px auto 0;
    align-self: center;
    position: relative;
    overflow: hidden;
}

.politica-logo::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
    animation: shimmer 2.5s ease-in-out infinite;
    z-index: 1;
    pointer-events: none;
}

/* Заголовок политики */
.politica-title {
    font-family: 'Unbounded', Arial, sans-serif;
    font-weight: 600;
    font-size: 20px;
    color: #121111;
    text-align: left;
    margin-top: 40px;
    width: 100%;
    padding-left: 20px;
    padding-right: 20px;
    box-sizing: border-box;
}

/* Текст политики */
.politica-text {
    font-family: 'Montserrat', Arial, sans-serif;
    font-weight: 400;
    font-size: 17px;
    color: #121111;
    text-align: left;
    margin-top: 20px;
    width: 100%;
    padding-left: 20px;
    padding-right: 20px;
    box-sizing: border-box;
    line-height: 1.6;
}

.politica-text p {
    margin: 0;
}

