* {
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

@font-face {
    font-family: 'Onest';
    src: url('../fonts/Onest-Regular.woff2') format('woff2');
    /* Путь к файлу */
    font-weight: 400;
    font-style: normal;
    font-display: swap;
    /* Шрифт появится сразу, не дожидаясь полной загрузки */
}

body {
    font-family: 'Onest', Helvetica, Arial, sans-serif;
    font-style: normal;
    background-size: 500px auto;
    background-image: url('./img/bcgrnd.png');
    background-repeat: repeat;
    /* Включает повторение по горизонтали и вертикали */
    background-position: top left;
    background-size: auto;
    /* Важно: картинка сохраняет свой реальный размер */
}

a {
    text-decoration: none;
    color: #FFFFFF;
}

button {
    cursor: pointer;
    font-family: "Onest", sans-serif;
    font-style: normal;
}

.center {
    position: relative;
    padding-left: calc(50% - 765px);
    padding-right: calc(50% - 765px);
}

.button-effect {
    transition: transform 0.2s ease, box-shadow 0.2s ease, filter 0.2s ease;
}

.button-effect:hover {
    transform: translateY(-2px);
    box-shadow: 0px 0px 8px 4px #FF470033;
}

.button-effect:active {
    transform: translateY(1px);
    /* Вместо border-image используем внутреннюю тень, которая имитирует рамку */
    box-shadow: inset 0 0 0 2px #FF4700;
    /* Немного затемняем градиент при нажатии */
    background: linear-gradient(90deg, #E64000 0%, #E67A00 100%);
    outline: none;
}

.preserve-lines {
    white-space: pre-line;
}


/* Шапка */
.header {
    min-height: 100px;
}

.header-center {
    position: relative;
    padding-left: calc(50% - 765px);
    padding-right: calc(50% - 765px);
}

.header__content {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    justify-content: space-between;
    align-items: center;
    box-sizing: border-box;
    border-radius: 60px;
    background: #FFFFFF;
    padding-left: 41px;
    padding-right: 26px;
}

.header__content-left {
    display: flex;
    flex-direction: row;
    align-content: center;
    align-items: center;
}

.header__logo {
    width: 78px;
    height: 83px;
    margin-right: 43px;
}

.nav__list {
    display: flex;
    gap: 20px;
    list-style: none;
}

.nav__link {
    font-weight: 400;
    font-size: 18px;
    line-height: 100%;
    color: #000000;
    transition: color 0.3s ease;
}

.nav__link:hover {
    color: #FF8800;
    /* Цвет акцента */
}

.header__content-right {
    display: flex;
    flex-direction: row;
    align-content: center;
    align-items: center;
    gap: 20px;
}

.social {
    display: flex;
    gap: 20px;
}

.social__img {
    Width: 35px;
    height: 36px;
}

.header__button {
    width: 204px;
    height: 50px;
    border-radius: 40px;
    background: linear-gradient(90deg, #FF8800 0%, #FF4700 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
}

.button__tel {
    border: none;
    font-weight: 700;
    font-size: 16px;
    line-height: 100%;
    color: #FFFFFF;
}

.button__connection {
    background-clip: padding-box, border-box;
    background-origin: border-box;
    background-image:
        linear-gradient(#fff, #fff),
        linear-gradient(90deg, #197FE7 0%, #0068A3 100%);
    border: 1px solid transparent;
    border-radius: 40px;
    display: inline-block;
    padding: 10px 20px;
    font-weight: 700;
    font-size: 16px;
    line-height: 100%;
    color: #197FE7;
    transition: all 0.3s ease;
}

.button__connection:hover {
    box-shadow: 0 4px 15px rgba(25, 127, 231, 0.4);
    transform: translateY(-2px);
}


/* Стили бургера */
.burger {
    display: none;
    /* Изначально скрыт */
    cursor: pointer;
    background: none;
    border: none;
    padding: 0;
    position: relative;
    z-index: 2000;
    /* Самый высокий индекс */
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 20px;
}

.burger span {
    display: block;
    height: 3px;
    width: 100%;
    background-color: #FF8800;
    border-radius: 10px;
    transition: all 0.3s ease-in-out;
}

/* --- АНИМАЦИЯ КРЕСТИКА --- */
.burger.active span:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
}

.burger.active span:nth-child(2) {
    opacity: 0;
}

.burger.active span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}


/* --- МЕДИА-ЗАПРОСЫ --- */

@media (max-width: 1450px) {
    .header__logo {
        margin-right: 20px;
    }

    .nav__list {
        gap: 10px;
    }

    .nav__link {
        font-size: 16px;
    }

    .social {
        gap: 10px;
    }
}

@media (max-width: 1200px) {
    .nav__link {
        font-size: 16px;
    }

    .header__logo {
        margin-right: 0px;
    }
}


/* Фикс для базового класса центрирования */
@media (max-width: 1350px) {
    .header__logo {
        margin-right: 20px;
    }
}

@media (max-width: 1300px) {

    .social {
        display: none;
    }
}

/* 1. Планшетная версия (1024px - 1280px) */
@media (max-width: 1280px) {


    .nav__list {
        gap: 15px;
    }
}

/* 2. Версия для малых планшетов и больших телефонов (до 1024px) */
@media (max-width: 1024px) {
    .burger {
        display: flex;
        /* Показываем кнопку */
        flex-direction: column;
        justify-content: space-between;
        width: 30px;
        height: 22px;
        /* Высота всего контейнера с линиями */
    }

    /* Прячем обычное меню, которое в строчку */
    .nav {
        display: none;
        /* Скрываем десктопную навигацию */
    }

    /* Когда навигация активна (выезжает) */
    .nav.active {
        display: block;
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100vh;
        background: #FFFFFF;
        z-index: 1000;
        padding-top: 100px;
    }
}

@media (max-width: 1100px) {
    .nav {
        display: none;
    }

    /* Скрываем обычное меню */

    .burger {
        display: flex;
        margin-left: 20px;
    }

    /* ПОКАЗЫВАЕМ БУРГЕР */

    /* Мобильное меню (выезжающее) */
    .nav.active {
        display: flex;
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100vh;
        background: #FFFFFF;
        z-index: 1500;
        padding-top: 120px;
        flex-direction: column;
        align-items: center;
    }

    .nav.active .nav__list {
        flex-direction: column;
        align-items: center;
        gap: 35px;
    }

    .nav.active .nav__link {
        font-size: 28px;
        font-weight: 600;
    }
}

@media (max-width: 740px) {
    .button__connection {
        display: none;
    }
}

@media (max-width: 480px) {
    .header__logo {
        width: 50px;
        height: auto;
        margin-right: 10px;
    }

    .header__content {
        padding: 0 15px;
        border-radius: 30px;
        height: 70px;
    }

    .button__tel {
        width: 180px;
        font-size: 12px;
        height: 40px;
    }

    .burger {
        width: 25px;
        height: 18px;
        margin-left: 0px;
    }
}

@media (max-width: 480px) {
    .button__tel {
        width: 120px;
        font-size: 10px;
        height: 35px;
    }
}








/* Главная */
.top {
    background: rgb(196, 196, 196);
    background-image: url(./img/пенополиуретан.webp);
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    height: 890px;
    border-bottom-right-radius: 40px;
    border-bottom-left-radius: 40px;
    padding-top: 26px;

}


.top__content {
    display: flex;
    flex-direction: column;
    /* Выстраиваем элементы в колонку */
    /* justify-content: space-between; Расталкиваем их: первый вверх, последний вниз */
    min-height: 400px;
    /* Обязательно задайте высоту, чтобы было куда разносить */
    /* height: 100%;                Или 100%, если у родителя (.top) есть высота */
}

.top__title {
    padding-top: 215px;
    max-width: 1068px;
    font-weight: 700;
    font-size: 80px;
    line-height: 100%;
    color: #FFFFFF;
    padding-top: 90px;
    margin: 0;
    text-shadow: 0px 4px 10px rgba(0, 0, 0, 0.5),
        0px 2px 4px rgba(0, 0, 0, 0.3);
}

/* Плавный скролл по якорям */
html {
    scroll-behavior: smooth;
}

/* Стиль дескриптора */
.top__descriptor {
    font-size: 28px;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.9);
    margin-top: 25px;
    /* Отступ от заголовка */
    max-width: 800px;
    line-height: 1.4;
    text-shadow: 0px 4px 10px rgba(0, 0, 0, 0.5),
        0px 2px 4px rgba(0, 0, 0, 0.3);
}

/* Группа кнопок */
.top__content-bottom {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    margin-top: 90px;
    /* Уменьшил маржин, так как добавился дескриптор */
}

.top__buttons-group {
    display: flex;
    align-items: center;
    gap: 30px;
    margin-bottom: 75px;
}

/* Основная кнопка */
.top__button {
    width: 320px;
    height: 90px;
    border-radius: 16px;
    background: linear-gradient(90deg, #FF8800 0%, #FF4700 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 24px;
    color: #FFFFFF;
    border: none;
}

/* Вторичная кнопка */
.top__button-secondary {
    font-weight: 600;
    font-size: 20px;
    color: #FFFFFF;
    text-decoration: none;
    border-bottom: 2px solid rgba(255, 255, 255, 0.3);
    padding-bottom: 5px;
    transition: all 0.3s ease;
}

.top__button-secondary:hover {
    color: #FF8800;
    border-bottom-color: #FF8800;
}

/* Адаптив для мобилок */
@media (max-width: 1024px) {
    .top__title {
        font-size: clamp(32px, 5vw, 50px);
    }

    .top__descriptor {
        font-size: 20px;
    }

    .top__content-bottom {
        flex-direction: column;
        align-items: flex-start;
        gap: 40px;
        bottom: 0px;
        position: absolute;
    }

    .top__buttons-group {
        flex-direction: column;
        align-items: flex-start;
    }

    .top__button {
        width: clamp(205px, 30vw, 320px);
        height: clamp(70px, 10vw, 90px);
        font-size: clamp(18px, 5vw, 24px);
    }
}

@media (max-width: 340px) {

    .top__title {
        font-size: 30px;
    }
}

@media (max-width: 320px) {
    .top__content-bottom {
        position: relative;
        align-items: center;
    }
}



.top__slider {
    display: flex;
    gap: 16px;
}

.slider-btn {
    background-color: transparent;
    color: #FFFFFF;
    border: none;
    /* Убирает стандартную рамку */
    outline: none;
    /* Убирает очертание при клике (фокусе) */
    background: none;
    /* Убирает серый фон (если он не нужен) */
    padding: 0;
}

.slider-btn svg {
    transition: all 0.3s ease;
}

.slider-btn:hover svg rect {
    fill: rgba(255, 255, 255, 0.1);
    /* Легкий фон при наведении */
    stroke: #FF8800;
    /* Оранжевая рамка */
}

.slider-btn:hover svg path {
    stroke: #FF8800;
}


















/* Преимущества */
.advantages {
    padding-top: 136px;
    padding-bottom: 139px;
}


.advantages__head {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
}

.advantages__title {
    font-weight: 700;
    font-size: 50px;
    line-height: 100%;
    color: #000000;
}

.advantages__slider {
    display: flex;
    gap: 16px;
}

/* Кнопки слайдера преимуществ */
.advantages__slider-btn {
    transition: transform 0.2s ease, opacity 0.2s ease;
    opacity: 0.8;
}

.advantages__slider-btn:hover {
    opacity: 1;
    transform: scale(1.05);
}

.advantages__slider-btn svg rect {
    transition: stroke 0.3s ease, fill 0.3s ease;
}

.advantages__slider-btn:hover svg rect {
    stroke: #FF8800;
    fill: rgba(255, 71, 0, 0.1);
}

.advantages__slider-btn:hover svg path {
    stroke: #FF8800;
}

.advantages__content {
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: calc((100% - 60px) / 4);
    gap: 20px;
    margin-top: 51px;

    overflow-x: auto;
    scroll-behavior: smooth;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;

    /* 1. Создаем буферную зону для теней внутри контейнера */
    padding: 25px;

    /* 2. Сдвигаем контейнер обратно влево, чтобы первая карточка стояла под заголовком */
    margin-left: -25px;

    /* 3. Расширяем контейнер, чтобы он не сжимался */
    width: calc(100% + 50px);

    /* 4. МАГИЯ ДЛЯ CHROME: заставляем его отрисовывать тени вне overflow */
    clip-path: inset(-50px 0px -50px 0px);

    /* 5. Чтобы примагничивание (snap) учитывало наш новый padding */
    scroll-padding-left: 25px;
}

.advantages__content::-webkit-scrollbar {
    display: none;
}

/* Страховка: родителю запрещаем горизонтальный скролл всего сайта */
.advantages {
    overflow: hidden;
}

/* Чтобы расширенный блок не создал горизонтальный скролл у всего сайта */
.advantages {
    overflow: hidden;
    padding-top: 136px;
    padding-bottom: 139px;
}

.advantages__card {
    width: 100%;
    /* Занимает всю ширину своей колонки grid */
    height: 256px;
    border-radius: 20px;
    background: #FFFFFF;
    box-shadow: 0px 0px 14px 1px #0000001A;
    padding: 24px;
    box-sizing: border-box;
    scroll-snap-align: start;
    /* Магнит */
    /* Защита от выделения текста при кликах на кнопки */
    user-select: none;
}

.card__icon {
    width: 52px;
    height: 52px;
    margin-bottom: 7px;
}

.card__title {
    font-weight: 600;
    font-size: 24px;
    line-height: 100%;
    margin-bottom: 10px;
}


.card__text {
    font-weight: 400;
    font-size: 20px;
    line-height: 100%;
}



/* --- АДАПТИВ ПОД ЭКРАНЫ --- */

/* Планшеты (3 карточки) */
@media (max-width: 1300px) {
    .card__text-economy {
        font-size: 18px;
    }

    .card__text-univers {
        font-size: 18px;
    }
}

@media (max-width: 1200px) {
    .advantages__content {
        grid-auto-columns: calc((100% - 40px) / 3);
    }
}

/* Малые планшеты (2 карточки) */
@media (max-width: 900px) {
    .advantages__content {
        grid-auto-columns: calc((100% - 20px) / 2);
    }
}



@media (max-width: 767px) {
    .advantages__content {
        gap: 15px;
        /* Уменьшаем расстояние между карточками */
        padding: 20px 10px;
        /* Оставляем место для теней */
        margin-left: 0;
        margin-right: 0;
    }

    .advantages__card {
        /* Одна карточка занимает 85% ширины экрана, 
           остальное остается для видимости следующей карточки */
        flex: 0 0 85%;
        height: auto;
        /* Позволяем высоте подстраиваться под текст */
        min-height: 220px;
        padding-bottom: 20px;
        /* Чтобы текст не прилипал к низу */
    }

    .advantages__head {
        flex-direction: column;
        /* Заголовок и кнопки друг под другом */
        align-items: flex-start;
        gap: 20px;
    }

    .advantages__slider {
        display: none;
    }
}


/* Смартфоны (1.1 карточки — чтобы было видно край следующей) */
@media (max-width: 600px) {
    .advantages__content {
        gap: 0px;
        padding-left: 20px;
        /* Отступ от края экрана */
        grid-auto-columns: calc((80%));
    }

    .advantages__card {
        width: 80%;
    }

    .card__text-economy {
        font-size: 17px;
    }

    .card__text-univers {
        font-size: 17px;
    }
}

@media (max-width: 340px) {

    .card__title {
        font-size: 19px;
    }

    .card__text {
        font-size: 16px;
    }
}














/* Портфолио */
.portfolio {
    background: rgb(0, 0, 0);
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    border-radius: 40px;

    padding-top: 52px;
    padding-bottom: 24px;
}

.portfolio__head {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
}

.portfolio__title {
    font-weight: 700;
    font-size: 50px;
    line-height: 100%;
    color: #ffffff;
}

.portfolio__slider {
    display: flex;
    gap: 16px;
}

.portfolio__objects {
    display: flex;
    flex-wrap: nowrap;
    gap: 20px;
    padding: 20px 0;
    /* Только сверху/снизу для теней */
    margin: 0;
    overflow-x: auto;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    /* Плавность для iOS */
    scrollbar-width: none;
    /* Прячем скролл для Firefox */

    /* ПРИМАГНИЧИВАНИЕ */
    scroll-snap-type: x mandatory;

    width: 100%;
    box-sizing: border-box;
}

.portfolio__objects::-webkit-scrollbar {
    display: none;
    /* Прячем скролл для Chrome/Safari */
}

.portfolio__content::-webkit-scrollbar {
    display: none;
    /* Прячем скроллбар в Chrome/Safari */
}

/* Кнопки слайдера портфолио */
.portfolio__slider-btn {
    transition: transform 0.2s ease, opacity 0.2s ease;
    opacity: 0.8;
}

.portfolio__slider-btn:hover {
    opacity: 1;
    transform: scale(1.05);
}

.portfolio__slider-btn svg rect {
    transition: stroke 0.3s ease, fill 0.3s ease;
}

.portfolio__slider-btn:hover svg rect {
    stroke: #FF8800;
    fill: rgba(255, 71, 0, 0.1);
}

.portfolio__slider-btn:hover svg path {
    stroke: #FF8800;
}

/* Фикс для плавности картинок */
.object__img {
    flex: 0 0 calc((100% - 60px) / 4);
    max-width: calc((100% - 60px) / 4);

    height: 203px;
    object-fit: cover;
    border-radius: 20px;
    box-sizing: border-box;
    box-shadow: 0px 0px 14px 1px #0000001A;
    border: 2px solid transparent;

    /* МАГНИТ К ЛЕВОМУ КРАЮ */
    scroll-snap-align: start;

    user-select: none;
    -webkit-user-drag: none;
    transition: border 0.3s ease;
}

.object__img:hover {
    border: 2px solid #FF4700
}

.clue {
    font-weight: 400;
    font-size: 18px;
    line-height: 100%;
    color: #848484;
    margin-top: 9px;
    text-align: center;
}



/* АДАПТИВ (Количество карточек) */
@media (max-width: 1200px) {
    .object__img {
        flex: 0 0 calc((100% - 40px) / 3);
        max-width: calc((100% - 40px) / 3);
    }
}

@media (max-width: 900px) {
    .object__img {
        flex: 0 0 calc((100% - 20px) / 2);
        max-width: calc((100% - 20px) / 2);
    }
}

@media (max-width: 600px) {
    .object__img {
        /* На смартфонах показываем одну карточку почти целиком */
        flex: 0 0 85%;
        max-width: 85%;
    }

    .portfolio__objects {
        /* Даем небольшой отступ слева, чтобы карточка не липла к краю экрана */
        padding-left: 20px;
    }

    .portfolio__slider {
        display: none;
    }
}

@media (max-width: 400px) {
    .clue {
        font-size: 14px;
    }
}






/* Толщина */
.thickness {
    padding-top: 99px;
    padding-bottom: 78px;
    display: flex;
    flex-direction: column;
}

.thickness__title {
    font-weight: 700;
    font-size: 50px;
    line-height: 100%;
    color: #000000;
    margin-top: 47px;
    margin-bottom: 40px;
}

.thickness__info {
    font-weight: 600;
    font-size: 24px;
    line-height: 100%;
    color: #838383;
    margin-top: 13px;
}

.chart {
    display: flex;
    flex-direction: column;
    gap: 24px;
    margin-top: 73px;
    margin-bottom: 93px;
}

.chart__label-top {
    padding-left: 26px;
    font-size: 20px;
    color: #000000;
    display: none;
}


.chart__bar-wrapper {
    flex-grow: 1;
    background: rgba(0, 0, 0, 0.05);
    height: 60px;
    border-radius: 16px;
    overflow: hidden;
}

.chart__value-wrapper {
    display: none;
}

.chart__bar {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    width: 0 !important;
    /* База для JS анимации */
    opacity: 0;
    height: 100%;
    border-radius: 16px;
    transition: width 1.5s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.5s ease;
    overflow: hidden;
    white-space: nowrap;
}

.chart__label {
    padding-left: 26px;
    font-size: 20px;
    color: #FFF;
}

.chart__value {
    padding-right: 26px;
    font-weight: 600;
    color: #FFF;
}

/* Цвета */
.chart__bar--ppu {
    background: #0068A3;
}

.chart__bar--pps {
    background: #197FE7;
}

.chart__bar--pnp {
    background: #FFC107;
}

.chart__bar--eco {
    background: #FF8800;
}

.chart__bar--min {
    background: #FF4700;
}

/* Кнопка как ссылка */
.thickness__button {
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    width: 100%;
    max-width: 492px;
    height: 88px;
    border-radius: 16px;
    background: linear-gradient(90deg, #FF8800 0%, #FF4700 100%);
    color: #FFFFFF;
    font-weight: 700;
    font-size: 20px;
    transition: opacity 0.3s;
}

.thickness__button:hover {
    opacity: 0.9;
}

@media (max-width: 768px) {

    .chart__label {
        display: none;
    }

    .chart__label-top {
        display: block;
    }

    .chart__value {
        padding-right: 26px;
        font-weight: 600;
        color: #FFF;

    }

    .chart__bar {
        justify-content: flex-end;
    }

}

@media (max-width: 400px) {
    .chart__value {
        display: none;
    }

    .chart__value-min {
        display: block;
        color: #000;
        padding-right: 10px;
    }

    .chart__bar-wrapper {
        position: relative;
        /* Чтобы значение позиционировалось внутри */
        flex-grow: 1;
        background: rgba(0, 0, 0, 0.05);
        height: 60px;
        border-radius: 16px;
        overflow: visible;
        /* Важно: ставим visible, если подпись может чуть вылезать */
        display: flex;
        align-items: center;
    }

    .chart__bar {
        /* Ваши старые стили */
        position: relative;
        z-index: 1;
        height: 100%;
        border-radius: 16px;
        /* transition и прочее оставляем */
    }

    .chart__value-outside {
        position: absolute;
        right: 10px;
        /* Тот же отступ, что был у вас раньше */
        font-weight: 600;
        font-size: 18px;
        color: #000000;
        /* Цвет теперь нужен темный, так как фон подложки светлый */
        z-index: 2;
        /* Поверх всего */
        pointer-events: none;
        /* Чтобы не мешало кликам */
    }

}

/* 
@media (max-width: 767px) {
    .chart__item {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }

    .chart__label {
        width: 100%;
    }

    .chart__value {
        text-align: left;
    }
} */


















/*  Таблица БОЛЬШАЯ */
.comparison__title {
    font-weight: 700;
    font-size: 50px;
    line-height: 100%;
    color: #000000;
    margin-top: 47px;
    margin-bottom: 40px;

}

.accordion {
    display: flex;
    flex-direction: column;
    gap: 20px;
    width: 100%;
    margin: 0 auto;
}

.accordion__item {
    border-radius: 20px;
    background: #FFFFFF;
    box-shadow: 0px 4px 14px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    transition: all 0.3s ease;
}

.accordion__button {
    width: 100%;
    padding: 30px 40px;
    background: #fff;
    border: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 24px;
    font-weight: 700;
    color: #000;
    cursor: pointer;
    transition: background 0.3s;
}

.accordion__button:hover {
    background: #fdfdfd;
}

/* .accordion__button.active {
    background: #FF8800;
    color: #fff;
} */

.accordion__icon {
    font-size: 18px;
    transition: transform 0.3s ease;
}

.accordion__button.active .accordion__icon {
    transform: rotate(180deg);
}

/* Контейнер для плавной анимации */
.accordion__content {
    display: grid;
    grid-template-rows: 0fr;
    transition: grid-template-rows 0.5s ease-out, padding 0.5s;
}

.accordion__content.open {
    grid-template-rows: 1fr;
}

/* Внутренности для правильной работы грид-анимации */
.table-container {
    overflow: hidden;
    /* Обязательно для анимации */
    overflow-x: auto;
    /* Позволяет скроллить таблицу на мобилках */
}

.custom-table {
    width: 100%;
    min-width: 800px;
    /* Чтобы не слипалось */
    border-collapse: collapse;
}

.custom-table th,
.custom-table td {
    padding: 15px;
    border-bottom: 1px solid #eee;
    text-align: left;
}

/* Ваши цветовые акценты */
.cell-good {
    color: #27ae60;
    font-weight: 700;
}

.cell-bad {
    color: #e74c3c;
}

.cell-danger {
    background-color: #ffeaea !important;
    color: #c0392b;
    font-weight: 600;
}




/* Контейнер для прокрутки на мобилках */
.table-container {
    width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    border-radius: 20px;
    /* Скругляем углы здесь */
    box-shadow: 0px 0px 14px 1px #0000001A;
    background: #fff;
    /* Чтобы подложка была белой */
}

.custom-table {
    width: 100%;
    min-width: 900px;
    /* Немного увеличил для 5 столбцов, чтобы текст не теснился */
    border-collapse: collapse;
    font-size: 16px;
    text-align: left;
    /* Убираем border-radius отсюда, он сработает на контейнере */
}

.custom-table thead {
    /* Ваш синий градиент */
    background: linear-gradient(180deg, #197FE7 -7.96%, #0068A3 123.01%);
    color: #fff;
}

.custom-table th,
.custom-table td {
    padding: 18px 20px;
    /* Чуть увеличил отступы для читаемости */
    border-bottom: 1px solid #eee;
}

/* Выравнивание первого столбца (Показатели) */
.custom-table td:first-child {
    font-weight: 600;
    color: #333;
    background-color: #fcfcfc;
    /* Легкий акцент на названиях параметров */
}

/* Чередование цвета строк */
.custom-table tbody tr:nth-child(even) {
    background-color: #f9f9f9;
}

.custom-table tbody tr:hover {
    background-color: #fff5eb;
}



/* Адаптация БОЛЬШОЙ ТАБЛИЦЫ */
/* --- Адаптация заголовков --- */
/* .comparison__title {
    font-weight: 700;
    line-height: 1.1;
    margin-top: clamp(30px, 5vw, 47px);
    margin-bottom: 20px;
} */

.thickness__info {
    font-size: clamp(16px, 2vw, 24px);
    margin-bottom: clamp(30px, 5vw, 73px) !important;
}

/* --- Адаптация аккордеона --- */
.accordion__button {
    /* Уменьшаем падинги на мобилках */
    padding: clamp(15px, 4vw, 30px) clamp(20px, 4vw, 40px);
    font-size: clamp(18px, 3vw, 24px);
}

.accordion__content {
    /* На мобилках уменьшаем боковые отступы внутри раскрытого блока */
    padding: 0 clamp(10px, 3vw, 40px);
}

.accordion__content.open {
    padding-top: 20px;
    padding-bottom: 20px;
}

/* --- Адаптация ТАБЛИЦЫ (самое важное) --- */
.table-container {
    border-radius: 12px;
    /* Чуть меньше скругление для мобилок */
    margin: 0 -10px;
    /* Вылет за края на мобилках, чтобы удобнее скроллить */
}

/* --- Визуальный индикатор скролла --- */
/* На мобилках добавим тень справа, чтобы было понятно, что таблицу можно крутить */
@media (max-width: 1024px) {
    .table-container {
        background-repeat: no-repeat;
        background-color: white;
        background-size: 40px 100%, 40px 100%, 14px 100%, 14px 100%;
        background-attachment: local, local, scroll, scroll;
    }
}


@media (max-width: 768px) {
    .table-container {
        margin: 0;
        /* Возвращаем в границы на планшетах */
    }

    .custom-table {
        min-width: 700px;
        /* Минимальная ширина, чтобы колонки не слиплись совсем */
        font-size: 14px;
        /* Уменьшаем шрифт в самой таблице */
    }

    .custom-table th,
    .custom-table td {
        padding: 12px 10px;
        /* Компактные отступы */
    }
}


@media (max-width: 340px) {
    .accordion__button {
        font-size: 16px;
    }
}


















/* Типы объектов */
.types {
    padding-top: 99px;
    padding-bottom: 78px;
}

.types__block {
    /* Расширение блока относительно .center */
    margin-left: -71px;
    margin-right: -71px;
    padding: 52px 71px;
    background: #FFFFFF;
    border-radius: 30px;
    box-shadow: 0px 0px 14px 1px #0000001A;
    box-sizing: border-box;
}

.types__title {
    font-weight: 700;
    font-size: 50px;
    line-height: 1.1;
    margin-bottom: 46px;
}

.types__content {
    display: grid;
    /* 4 колонки по умолчанию */
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    width: 100%;
}

.types__card {
    width: 100%;
    min-height: 148px;
    /* Используем min-height на случай длинного текста */
    border-radius: 20px;
    background: #F5F5F5;
    padding: 24px;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    /* Иконка сверху, текст снизу */
    align-items: flex-start;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.types__card:hover {
    transform: translateY(-5px);
    box-shadow: 0px 4px 15px rgba(0, 0, 0, 0.1);
}

.types__card-img {
    width: 52px;
    height: 52px;
    object-fit: contain;
}

.types__card-info {
    font-weight: 600;
    font-size: 24px;
    line-height: 1.2;
    margin-top: 16px;
    color: #000;
}


/* 2. Адаптивность для экранов меньше 1700px */
@media (max-width: 1700px) {
    .types__block {
        margin-left: 0;
        margin-right: 0;
        padding: 40px 30px;
    }
}

/* 3. Адаптивность для планшетов и мобильных */
@media (max-width: 1200px) {
    .types__content {
        display: flex;
        flex-wrap: wrap;
        /* Позволяет карточкам переноситься на новую строку */
        justify-content: center;
        /* Центрирует элементы в строке, включая последние две */
        gap: 30px;
        width: 100%;
    }

    .types__card {
        /* Рассчитываем ширину для 3-х колонок с учетом gap */
        /* (100% - (количество_зазоров * размер_зазора)) / количество_колонок */
        flex: 0 0 calc((100% - 60px) / 3);
        min-width: 300px;
        /* Чтобы на маленьких экранах карточки не сужались слишком сильно */

        /* Ваши старые стили карточки */
        border-radius: 20px;
        background: #F5F5F5;
        padding: 24px;
        box-sizing: border-box;
    }
}

/* Адаптив для мобилок (переход на 1 колонку) */
@media (max-width: 730px) {
    .types__card-info {
        font-size: clamp(16px, 3vw, 24px);

    }

    .types__card {
        min-width: calc((100% - 40px) / 2);
        padding: 20px;
    }
}


@media (max-width: 500px) {


    .types__content {
        grid-template-columns: 1fr;
    }

    .types__block {
        padding: 20px;
    }

    .types__card {
        min-width: 100%;
    }
}






/* Цены */
.price {
    padding-top: 80px;
    padding-bottom: 140px;
}

.price__title {
    font-weight: 700;
    font-size: clamp(32px, 5vw, 50px);
    /* Адаптивный заголовок */
    line-height: 1.1;
    margin-bottom: 40px;
}

.price__container {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
}

/* Стили для выделенной карточки */
.price__list--featured {
    position: relative;
    border: 2px solid #FF8800;
    /* Цвет вашего бренда */
    transform: scale(1.05);
    /* Делаем её чуть больше остальных */
    z-index: 2;
    /* Чтобы она была над остальными */
    box-shadow: 0px 10px 30px rgba(255, 136, 0, 0.2);
    /* Цветное свечение */
}

/* Плашка "Популярный выбор" сверху */
.price__badge {
    position: absolute;
    top: -15px;
    background: linear-gradient(90deg, #FF8800 0%, #FF4700 100%);
    color: #fff;
    padding: 5px 20px;
    border-radius: 20px;
    font-weight: 700;
    font-size: 14px;
    text-transform: uppercase;
}



.price__list {
    width: 100%;
    max-width: 490px;
    /* min-height: 663px; */
    border-radius: 20px;
    background: #FFFFFF;
    box-shadow: 0px 0px 14px 1px #0000001A;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 0 40px 40px;
    box-sizing: border-box;
}

.price__list-icon {
    margin: 34px 0 27px;
}

.price__list-info {
    background: #F6F6F6;
    width: 100%;
    padding: 20px 0;
    border-radius: 10px;
    text-align: center;
}

.price__list-volume {
    font-weight: 700;
    font-size: 24px;
    color: #000000;
}

.price__list-square {
    font-size: 18px;
    color: #7E7E7E;
    margin-top: 5px;
}

.price__block {
    display: flex;
    align-items: center;
    margin: 30px 0;
    flex-wrap: wrap;
    justify-content: center;
}

.price__block-old {
    font-weight: 600;
    font-size: 24px;
    text-decoration: line-through;
    color: #838383;
}

.price__block-new-meter {
    display: flex;
    align-items: center;
    flex-wrap: nowrap;
    justify-content: center;
}


.price__block-new {
    font-weight: 700;
    font-size: 28px;
    margin: 0 10px;
    background: linear-gradient(111.43deg, #FF8800 17.27%, #FF4700 65.45%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.price__parameters {
    width: 100%;
    padding: 25px 20px;
    border-radius: 10px;
    background: #F6F6F6;
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: auto; /* Прижимает кнопку к низу карточки */
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    margin-top: 30px;
}

.parameter-price {
    font-size: 18px;
    text-align: center;
    color: #000;
    margin: 0; /* Обнуляем дефолтные отступы браузера для ровной сетки */
}

/* РЯД С ТОЛЩИНОЙ И ИКОНКОЙ — ТЕПЕРЬ ПО ЦЕНТРУ */
.price__parameter-row {
    display: flex;
    flex-direction: row;
    justify-content: center; /* Центрирует строку внутри серой плашки */
    align-items: center;     /* Выравнивает иконку и текст по высоте */
    gap: 8px;                /* Расстояние между текстом и знаком вопроса */
    /* width: 100%; */
}

/* Сам блок подсказки */
.price__tooltip {
    position: relative;
    display: inline-flex; /* Используем inline-flex для точного позиционирования */
}

/* Круглая иконка вопроса */
.price__tooltip-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 18px;
    height: 18px;
    background-color: #eee;
    color: #838383;
    font-size: 12px;
    font-weight: 700;
    border-radius: 50%;
    cursor: help;
    transition: all 0.2s ease;
}

/* Эффект при наведении на иконку */
.price__tooltip:hover .price__tooltip-icon {
    background-color: #FF8800;
    color: #fff;
}

/* Всплывающее окошко с текстом */
.price__tooltip-content {
    position: absolute;
    bottom: calc(100% + 10px);
    left: 50%;
    transform: translateX(-50%) translateY(10px);
    width: 280px;
    padding: 12px 16px;
    background-color: #333333;
    color: #ffffff;
    font-size: 12px;
    line-height: 1.4;
    border-radius: 8px;
    box-shadow: 0px 4px 15px rgba(0, 0, 0, 0.15);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease, transform 0.3s ease;
    z-index: 100;
    text-align: left; /* Текст внутри подсказки читается лучше слева направо */
}

/* Стрелочка тултипа */
.price__tooltip-content::after {
    content: "";
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    border-width: 6px;
    border-style: solid;
    border-color: #333333 transparent transparent transparent;
}

/* Показ окошка */
.price__tooltip:hover .price__tooltip-content {
    opacity: 1;
    pointer-events: auto;
    transform: translateX(-50%) translateY(0);
}


/* Адаптив под мобильные экраны */
@media (max-width: 480px) {
    .price__tooltip-content {
        width: 220px;
        left: auto;
        right: -20px;
        transform: translateY(10px);
    }
    .price__tooltip-content::after {
        left: auto;
        right: 22px;
        transform: none;
    }
    .price__tooltip:hover .price__tooltip-content {
        transform: translateY(0);
    }
}



/* Стилизация ссылки под кнопку */
.price__list-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 88px;
    border-radius: 14px;
    background: linear-gradient(90deg, #FF8800 0%, #FF4700 100%);
    color: #FFFFFF;
    text-decoration: none;
    font-weight: 700;
    font-size: 20px;
    margin-top: 22px;
    transition: transform 0.2s, opacity 0.2s;
}

.price__list-link:hover {
    transform: translateY(-2px);
    opacity: 0.9;
}


.price__cond-icon {
    color: #197FE7; /* Цвет галочки в тон вашего бренда */
    font-weight: 900;
    font-size: 20px;
}

/* Адаптив: на мобильных устройствах убираем увеличение, чтобы не вылезало за края */
@media (max-width: 1200px) {
    .parameter-price {
        font-size: 16px;
    }

}

@media (max-width: 1100px) {
    .price__list--featured {
        transform: scale(1);
        margin: 20px 0;
    }

    .price__container {
        flex-direction: column;
    }
}

@media (max-width: 410px) {
    .parameter-price {
        font-size: 12px;
    }

    .price__list-link {
        font-size: 14px;
    }

    .price__parameters {
        padding: 25px 10px;
    }
}

@media (max-width: 368px) {
    .price__list--featured {
        transform: scale(1);
        margin: 20px 0;
    }

    .price__list-square {
        font-size: 16px;
    }

}










/* Отзывы */
.reviews {
    background: rgb(0, 0, 0);
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    border-radius: 40px;
    padding-top: 52px;
    padding-bottom: 24px;
    overflow: hidden; 
}



.reviews1 {
    padding-top: 80px;
    padding-bottom: 80px;
}

.reviews__title {
    font-weight: 700;
    font-size: 50px;
    line-height: 100%;
    color: #ffffff;
}


/* Обертка для позиционирования теней */
.reviews-wrapper {
    position: relative;
    width: 100%;
}

/* Общие стили для теней */
.reviews-wrapper::before,
.reviews-wrapper::after {
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    width: 30px; /* Ширина тени */
    z-index: 2;   /* Чтобы тени были поверх слайдов */
    pointer-events: none; /* Чтобы тени не мешали кликать по слайдам */
}

/* Левая тень (от черного к прозрачному) */
.reviews-wrapper::before {
    left: -1px;
    background: linear-gradient(to right, rgba(0,0,0,1) 0%, rgba(0,0,0,0) 100%);
}

/* Правая тень (от прозрачного к черному) */
.reviews-wrapper::after {
    right: -1px;
    background: linear-gradient(to left, rgba(0,0,0,1) 0%, rgba(0,0,0,0) 100%);
}







.reviews-slider {
    display: flex;
    overflow-x: auto;
    box-sizing: border-box;
    gap: 25px;
    padding: 20px 20px;
    scrollbar-width: none;
    -ms-overflow-style: none;
    cursor: grab;
    /* Курсор в виде руки */
    -webkit-user-select: none; /* Safari */
    -ms-user-select: none;     /* IE 10+ */
    user-select: none;         /* Стандартное свойство: запрет выделения */
    
    /* Отключаем стандартное перетаскивание картинок браузером */
    -webkit-user-drag: none;
}

.reviews-slider::-webkit-scrollbar {
    display: none;
}

.review-slide {
    flex: 0 0 calc((100% - 60px) / 4);
    max-width: calc((100% - 60px) / 4);

    /* flex: 0 0 357px; */
    background: #fff;
    border-radius: 20px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.07);
    border: 1px solid #f0f0f0;
    transition: transform 0.4s cubic-bezier(0.25, 1, 0.5, 1), opacity 0.4s;
    /* opacity: 0.85; */
    /* Совет для красоты: легкая прозрачность */
}

/* При наведении или когда слайд в центре (опционально) */
.review-slide:hover {
    transform: scale(1.03);
    /* Легкое увеличение */
    opacity: 1;
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.12);
}

.review-slide img {
    width: 100%;
    border-radius: 20px;
    display: block;
    pointer-events: none;
    /* Чтобы картинка не мешала перетаскиванию */
    -webkit-user-drag: none;
    user-select: none;
}

.reviews__info {
    font-weight: 600;
    font-size: 16px;
    line-height: 1.4; /* Увеличили для читаемости */
    color: #838383;
    margin-top: 15px; /* Чуть больше отступ от слайдера */
    text-align: center; /* Центровка текста */
    padding: 0 20px; /* Чтобы текст не прилипал к краям экрана */
}


@media (max-width: 1200px) {
    .review-slide {
        flex: 0 0 calc((100% - 40px) / 3);
        max-width: calc((100% - 40px) / 3);
    }
}

@media (max-width: 1000px) {
    .review-slide {
        flex: 0 0 calc((100% - 20px) / 2);
        max-width: calc((100% - 20px) / 2);
    }
}

@media (max-width: 600px) {
    .review-slide {
        /* На смартфонах показываем одну карточку почти целиком */
        flex: 0 0 100%;
        max-width: 100%;
    }
}

@media (max-width: 410px) {
    .reviews__info {
        font-size: 11px;
    }

    /* .review-slide {
        padding: 10px 0px;
    } */
   
}
























/* КАЛЬКУЛЯТОР */

.calc {
    padding-top: 80px;
    padding-bottom: 80px;
}


.input-with-range {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 10px;
}

#calc-input {
    width: 120px;
    font-size: 20px;
    font-weight: 700;
    text-align: center;
    border: 2px solid #FF8800;
}

.calc-tabs,
.thickness-tabs {
    display: flex;
    gap: 10px;
}

.calc-tab,
.thick-btn {
    padding: 10px 20px;
    border: 1px solid #ddd;
    background: #fff;
    cursor: pointer;
    border-radius: 8px;
    transition: 0.3s;
}

.calc-tab.active,
.thick-btn.active {
    background: #FF8800;
    color: #fff;
    border-color: #FF8800;
}

.calc-hint {
    font-size: 12px;
    color: #7E7E7E;
    margin: 10px 0;
}

.result-price {
    font-size: 36px;
    font-weight: 800;
    color: #FF4700;
}

.thickness-container {
    display: flex;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
}

.custom-thickness {
    display: flex;
    align-items: center;
    gap: 10px;
}

.custom-input {
    width: 80px !important;
    height: 40px !important;
    padding: 0 10px !important;
    text-align: center;
}

/* Скрываем стрелочки у input type number для красоты */
input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

.checkbox-label {
    display: flex;
    align-items: center;
    gap: 12px;
    cursor: pointer;
    font-weight: 700;
    font-size: 18px;
    margin-top: 10px;
}

#complexity-check {
    width: 22px;
    height: 22px;
    accent-color: #FF8800;
    /* Цвет галочки в современных браузерах */
    cursor: pointer;
}

.calc-hint {
    font-size: 13px;
    line-height: 1.4;
    color: #838383;
    margin-top: 8px;
    max-width: 450px;
}

.calc-tab.active,
.thick-btn.active {
    background: #FF8800;
    color: #fff;
    border-color: #FF8800;
}





/* Минимальная толщина 50 мм */
.thick-warning {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 20px;
}

/* Контейнер для выравнивания в строчку */
.thick-warning-wrapper {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-top: 8px;
}

.thick-warning-text {
    color: #838383; font-size: 12px; 
    display: inline-block; 
    margin-top: 8px; 
    margin-bottom: 0;
}


/* Сам тултип */
/* 1. БАЗОВЫЕ СТИЛИ (ДЛЯ ПК) */
.tooltip { 
  position: relative; 
  display: inline-block; 
}

/* Круглая иконка вопроса */
.tooltip__icon { 
  display: flex; 
  align-items: center; 
  justify-content: center; 
  width: 16px; 
  height: 16px; 
  background-color: #eee; 
  color: #838383; 
  font-size: 11px; 
  font-weight: 700; 
  border-radius: 50%; 
  cursor: help; 
  transition: all 0.2s ease; 
  transform: translateY(3px); 
} 

.tooltip:hover .tooltip__icon { 
  background-color: #FF8800; 
  color: #fff; 
} 

/* Всплывающее окошко с текстом */
.tooltip__content { 
  position: absolute; 
  bottom: calc(100% + 10px); 
  left: 50%; 
  /* Изначально скрываем и смещаем для анимации */
  opacity: 0;
  pointer-events: none;
  transform: translateX(-50%) translateY(10px); 
  
  width: 280px; 
  padding: 12px 16px; 
  background-color: #333333; 
  color: #ffffff; 
  font-size: 12px; 
  line-height: 1.4; 
  border-radius: 8px; 
  box-shadow: 0px 4px 15px rgba(0, 0, 0, 0.15); 
  transition: opacity 0.3s ease, transform 0.3s ease; 
  z-index: 100; 
} 

/* Маленький треугольник-стрелочка снизу окошка */
.tooltip__content::after { 
  content: ""; 
  position: absolute; 
  top: 100%; 
  left: 50%; 
  transform: translateX(-50%); 
  border-width: 6px; 
  border-style: solid; 
  border-color: #333333 transparent transparent transparent; 
} 

/* Показ подсказки при наведении (только для ПК) */
@media (min-width: 481px) {
  .tooltip:hover .tooltip__content { 
    opacity: 1; 
    pointer-events: auto; 
    transform: translateX(-50%) translateY(0); 
  } 
}

/* 2. АДАПТИВ ПОД МОБИЛКИ (ДО 480px) */
@media (max-width: 480px) {
  .tooltip__content { 
    /* Принудительно скрываем в обычном состоянии */
    opacity: 0 !important;
    pointer-events: none !important;
    
    width: 220px; 
    left: auto; 
    right: -20px; 
    /* Координаты скрытого состояния на мобилке */
    transform: translateX(0) translateY(10px) !important; 
  } 
  
  .tooltip__content::after { 
    left: auto; 
    right: 22px; 
    transform: none; 
  } 

  /* Показываем ТОЛЬКО когда добавлен класс .is-active через JS */
  .tooltip.is-active .tooltip__content { 
    opacity: 1 !important; 
    pointer-events: auto !important; 
    transform: translateX(0) translateY(0) !important; 
  } 
}










.complexity-accordion {
    width: 100%;
    border: 1px solid #ddd;
    border-radius: 12px;
    background: #fff;
    overflow: hidden;
}

.complexity-summary {
    width: 100%;
    padding: 15px 20px;
    background: #f9f9f9;
    border: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    font-weight: 700;
    font-size: 16px;
    transition: 0.3s;
}

.complexity-summary.active {
    background: #FF8800;
    color: #fff;
}

.complexity-list {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease-out, padding 0.4s;
    padding: 0 20px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.complexity-list.open {
    max-height: 400px;
    /* С запасом под все галочки */
    padding: 15px 20px;
}

.complexity-list .checkbox-label {
    font-size: 14px;
    font-weight: 400;
    margin: 0;
}

.complexity-summary .arrow {
    transition: transform 0.3s;
}

.complexity-summary.active .arrow {
    transform: rotate(180deg);
}


.calc__result-buttons {
    display: flex;
    flex-direction: column;
    gap: 12px;
    width: 100%;
    margin-top: 20px;
}

.calc-reset-btn {
    background: none;
    border: none;
    color: #FFFFFF; 
    font-size: 14px;
    text-decoration: underline;
    text-underline-offset: 4px; /* Немного отодвинем линию от букв */
    cursor: pointer;
        opacity: 0.85; 
    transition: all 0.3s ease;
}

/* Эффект при наведении */
.calc-reset-btn:hover {
    opacity: 1;
    color: #FF8800; 
}
    


.complexity-other {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 0;
    border-top: 1px dashed #ddd;
    margin-top: 5px;
    color: #555;
    font-size: 13px;
    font-style: italic;
}

.other-icon {
    color: #FF8800;
    font-weight: 700;
    font-style: normal;
}

/* Выделение жирным ключевых слов внутри списка */
.checkbox-text strong,
.other-text strong {
    color: #000;
}

/* Общий контейнер калькулятора */
.calc__wrapper {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    /* Делим на две части */
    gap: 40px;
    background: #fff;
    padding: 40px;
    border-radius: 30px;
    box-shadow: 0px 20px 50px rgba(0, 0, 0, 0.05);
}

.calc__form {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.calc__group {
    padding-bottom: 20px;
    border-bottom: 1px solid #f0f0f0;
}

.calc__group:last-child {
    border-bottom: none;
}

.calc__group label {
    display: block;
    font-weight: 700;
    font-size: 18px;
    margin-bottom: 15px;
    color: #333;
}

/* Стилизация ползунка (Range) */
.range-input {
    -webkit-appearance: none;
    appearance: none;
    width: 100%;
    height: 6px;
    background: #eee;
    border-radius: 5px;
    outline: none;
}

.range-input::-webkit-slider-thumb {
    -webkit-appearance: none;
    width: 24px;
    height: 24px;
    background: #FF8800;
    border: 4px solid #fff;
    border-radius: 50%;
    box-shadow: 0 4px 10px rgba(255, 136, 0, 0.3);
    cursor: pointer;
    transition: 0.2s;
}

/* Карточка результата (Правая часть) */
.calc__result {
    background: linear-gradient(145deg, #197FE7, #0068A3);
    border-radius: 24px;
    padding: 40px;
    color: #fff;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    box-shadow: 0 15px 35px rgba(0, 104, 163, 0.2);
}

.result-label {
    font-size: 16px;
    opacity: 0.8;
    margin-bottom: 10px;
}

.result-price {
    font-size: 48px;
    /* Увеличили цену */
    font-weight: 900;
    color: #fff;
    margin-bottom: 20px;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.result-price span {
    font-family: "Onest", sans-serif;
}

/* Кнопка в результате */
.calc__result .footer__form-button {
    background: #fff;
    color: #0068A3;
    width: 100%;
    height: 60px;
    font-size: 18px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.calc__result .footer__form-button:hover {
    background: #f0f0f0;
    transform: translateY(-3px);
}

/* Адаптив: на мобилках в одну колонку */
@media (max-width: 1024px) {
    .calc__wrapper {
        grid-template-columns: 1fr;
        padding: 20px;
    }

    .calc__result {
        padding: 30px 20px;
    }
}

@media (max-width: 350px) {
    .result-price {
        font-size: clamp(30px, 5vw, 38px);
    }

    .complexity-list .checkbox-label {
        font-size: clamp(9px, 5vw, 13px);
    }

    .result-label {
        font-size: 12px;
    }

    .calc__result .footer__form-button {
        font-size: 14px;
    }
}










/* СЕРТИФИКАТЫ */
.certificates__container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
}

.certificates__title {
    font-weight: 700;
    font-size: 50px;
    line-height: 100%;
    color: #000000;
    margin-top: 47px;
    margin-bottom: 40px;
}

.certificates__subtitle {
    margin-bottom: 35px; 
    
    font-weight: 600;
    font-size: clamp(16px, 2vw, 24px);
    color: #838383;
    margin-top: 13px;
}


/* Сетка для списка карточек */
.certificates__list {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
}

/* Сама карточка */
.cert-item {
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* Оболочка-превью с фиксированным размером книги/документа */
.cert-item__preview {
    position: relative;
    width: 175px;
    height: 250px;
    border: 1px solid #e2e2e2;
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.06);
    background: #fff;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

/* Картинка скана на заднем плане */
.cert-item__img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: blur(1px) contrast(90%); /* Размытие можно уменьшить до 1px для четкости */
    opacity: 0.4; /* ИСПРАВЛЕНИЕ: Подняли видимость с 0.25 до 0.4 */
}


/* Полупрозрачный белый слой поверх картинки */
.cert-item__preview::before {
    content: "";
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    /* ИСПРАВЛЕНИЕ: Сделали слой прозрачнее (было 0.85 и 0.93, стало 0.4 и 0.5) */
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.4) 0%, rgba(245, 248, 251, 0.5) 100%);
    z-index: 1;
}


/* Контейнер для текста обложки */
.cert-item__cover-text {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    padding: 25px 15px;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    z-index: 2;
}

/* Крупное название темы на обложке */
.cert-item__title-text {
    font-size: 15px;
    font-weight: 800;
    color: #0068A3;
    /* Наш синий цвет */
    letter-spacing: 0.3px;
    text-transform: uppercase;
    margin-bottom: 10px;
    line-height: 1.2;
}

/* Подпись под названием темы */
.cert-item__descr-text {
    font-size: 12px;
    font-weight: 500;
    color: #555;
    line-height: 1.4;
}

/* Синий слой, который выплывает при наведении */
.cert-item__overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 104, 163, 0.96);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.25s ease;
    z-index: 3;
    padding: 15px;
    box-sizing: border-box;
}

/* Ссылки на файлы внутри оверлея */
.cert-links {
    display: flex;
    flex-direction: column;
    gap: 10px;
    width: 100%;
}

.cert-links a {
    color: #fff;
    font-size: 12px;
    font-weight: 600;
    text-decoration: none;
    border: 1px solid rgba(255, 255, 255, 0.35);
    padding: 8px 6px;
    border-radius: 8px;
    transition: all 0.2s ease;
    text-align: center;
    line-height: 1.2;
}

.cert-links a:hover {
    background: #FF8800;
    border-color: #FF8800;
}

/* Изначально скрываем шторку полностью */
.cert-item__overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 104, 163, 0.96);
    display: flex;
    align-items: center;
    justify-content: center;
    
    /* ИСПРАВЛЕНИЕ: Прячем шторку и ссылки от случайных кликов */
    opacity: 0;               
    visibility: hidden; /* Браузер полностью игнорирует ссылки внутри, пока закрыто */
    pointer-events: none;     
    
    transition: opacity 0.25s ease, visibility 0.25s ease;
    z-index: 3;
    padding: 15px;
    box-sizing: border-box;
}

/* Когда карточка активна (на ПК при наведении, на мобилках при клике) */
.cert-item:hover .cert-item__overlay,
.cert-item.is-flipped .cert-item__overlay {
    opacity: 1;
    visibility: visible; /* ИСПРАВЛЕНИЕ: Включаем видимость и кликабельность ссылок */
    pointer-events: auto; 
}



/* --- АДАПТИВ ДЛЯ МОБИЛЬНЫХ ЭКРАНОВ --- */
@media (max-width: 640px) {
    .certificates__list {
        gap: 20px;
        padding: 0 10px;
    }

    /* На смартфонах показываем по две карточки в ряд */
    .cert-item {
        width: calc(50% - 10px);
    }

    .cert-item__preview {
        width: 170px; /* Добавлено, чтобы карточка тянулась по ширине колонки */
        height: 220px;
    }

    .cert-item__title-text {
        font-size: 13px;
    }

    .cert-item__descr-text {
        font-size: 11px;
    }
}

@media (max-width: 400px) {
    /* На совсем маленьких экранах выстраиваем в одну колонку */
    .cert-item {
        width: 100%;
        max-width: 200px;
    }
}











/* Подвал */
.footer {
    background: #FFFFFF;
    box-shadow: 0px -5px 25px #0000001A;
    /* Более мягкая тень */
    border-radius: 40px 40px 0 0;
    margin-top: 80px;
    padding-top: 60px;
    padding-bottom: 30px;
}

.footer__container {
    margin: 0 auto;
    padding: 0 20px;
}

.footer__main {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1.5fr;
    /* Сетка для четкого выравнивания */
    gap: 40px;
    margin-bottom: 25px;
}

.footer__brand {
    display: flex;
    align-items: center;
    gap: 6px;
    text-decoration: none;
}

.brand-title {
    font-family: 'Montserrat', sans-serif;
    font-weight: 800;
    /* Extra Bold для мощности */
    font-size: 22px;
    letter-spacing: -0.5px;
    color: #1A1A1A;
    /* ТЕПЛОДОМ в черном */
    text-transform: uppercase;
}

.brand-region {
    color: #FF8800;
    /* 41 в оранжевом */
    margin-left: 2px;
}

.footer__description {
    font-size: 14px;
    line-height: 1.4;
    color: #838383;
    /* Делаем текст серым, чтобы он был второстепенным */
    margin: 15px 0 25px;
    max-width: 280px;
    /* Чтобы текст не растягивался во всю ширину */
}

.social__footer {
    display: block;
    gap: 20px;
    display: flex;
}

.footer__title {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 20px;
    color: #000;
}

.footer__link,
.footer__contact-item {
    display: block;
    text-decoration: none;
    color: #7E7E7E;
    font-size: 15px;
    margin-bottom: 12px;
    transition: color 0.3s;
}

.footer__link:hover {
    color: #FF8800;
}

/* Стилизация формы */
.form-input {
    width: 100%;
    /* Теперь инпут подстраивается под колонку */
    height: 45px;
    background: #F9F9F9;
    border: 1px solid #7E7E7E;
    border-radius: 8px;
    padding: 0 15px;
    transition: border-color 0.3s;
}

.form-input:focus {
    border-color: #FF8800;
    outline: none;
}

.footer__form {
    display: flex;
    flex-direction: column;
    flex-wrap: nowrap;
    gap: 10px;
}

.footer__form-title {
    margin-bottom: 10px;
}

.footer__form-button {
    width: 100%;
    height: 45px;
    cursor: pointer;
    color: #fff;
    border-radius: 10px;
    background: linear-gradient(90deg, #FF8800 0%, #FF4700 100%);
    border: none;
    font-weight: 700;
    font-size: 16px;
    line-height: 100%;
}

.form-privacy-text {
    font-size: 12px;
    line-height: 1.3;
    color: #7E7E7E;
    margin-top: 5px;
    text-align: center;
}

.form-privacy-text a {
    color: #7E7E7E;
    text-decoration: underline;
}

.form-privacy-text a:hover {
    color: #FF8800;
}





/* Нижняя панель футера*/
.footer__bottom {
    border-top: 1px solid #7E7E7E;
    padding-top: 30px;
    display: flex;
    justify-content: space-between;
    font-size: 14px;
    color: #7E7E7E;
}

.footer__policy {
    font-weight: 400;
    font-size: 14px;
    line-height: 100%;
    text-decoration: underline;
    text-decoration-style: solid;
    text-decoration-thickness: 0%;
    text-decoration-skip-ink: auto;
    color: #7E7E7E;
}

@media (max-width: 600px) {
    .footer__bottom {
        flex-direction: column;
        align-items: center;
        gap: 20px;
        padding-top: 20px;
    }

    .footer__policy {
        display: none;
    }
}

@media (max-width: 576px) {
    .footer__info {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .input-group {
        margin-bottom: 5px;
    }
}

@media (max-width: 400px) {
    .footer__copyright {
        font-weight: 400;
        font-size: 11px;
    }
}














/* Специальные стили для модалки */
#privacy-modal {
    position: fixed;
    /* Гарантируем положение относительно экрана */
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    /* Центрируем строго по середине */
    margin: 0;
    /* Убираем дефолтные отступы браузера */
}

/* Если диалог открыт, браузер сам добавит атрибут [open] */
#privacy-modal[open] {
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* Стили для ссылки, чтобы она не выглядела как обычный текст */
.footer__policy-link {
    color: #7E7E7E;
    text-decoration: underline;
    cursor: pointer;
}

.footer__policy-link:hover {
    color: #FF8800;
}




/* Политика конфиденциальности */
.modal {
    border: none;
    border-radius: 20px;
    padding: 0;
    width: 90%;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
    z-index: 9999;
    /* Поверх всего */
}

.modal::backdrop {
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(4px);
}

.modal::backdrop {
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(4px);
    /* Эффект размытия сайта на фоне */
}

.privacy-modal-content {
    padding: 40px;
    display: flex;
    flex-direction: column;
    gap: 20px;
    background: #FFFFFF;
    align-items: center;
    max-width: 1050px;
}

.privacy-modal-content h3 {
    font-size: 28px;
    font-weight: 700;
    margin: 0;
}

.privacy-modal-content p {
    font-size: 16px;
    line-height: 1.6;
    color: #444;
    overflow-y: auto;
    /* Если текста много, появится прокрутка */
}

/* Кнопка закрытия */
.privacy-modal-content button {
    align-self: flex-end;
    padding: 12px 30px;
    border-radius: 10px;
    border: none;
    background: #F5F5F5;
    cursor: pointer;
    font-weight: 600;
    transition: background 0.2s;
}

.privacy-modal-content button:hover {
    background: #e0e0e0;
}

.modal:focus-visible {
    outline: none;
}

#calc-summary-preview {
    background: #FFF5EB;
    /* Очень легкий оранжевый фон */
    padding: 12px;
    border-radius: 10px;
    border: 1px dashed #FF8800;
    text-align: center;
    line-height: 1.4;
}

#calc-summary-preview strong {
    font-size: 18px;
    color: #FF4700;
}




/* Адаптив для мобилок */
@media (max-width: 992px) {
    .footer__main {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 576px) {
    .footer__main {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .footer__form-wrapper,
    .form-input,
    .footer__form-button {
        margin: 0 auto;
    }
}







/* Фон модального окна (затемнение) */
.modal {
    display: none;
    /* Скрыто по умолчанию */
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    /* Полупрозрачный черный */
    backdrop-filter: blur(5px);
    /* Эффект размытия фона */
}

.modal__content {
    position: relative;
    background-color: #fff;
    margin: 10% auto;
    border-radius: 20px;
    padding: 40px;
    width: 100%;
    max-width: 500px;
    box-shadow: 0 5px 30px rgba(0, 0, 0, 0.3);
    animation: modalScale 0.3s ease;
    max-height: 380px;
}

.modal__close {
    position: absolute;
    top: 15px;
    right: 20px;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background-color: #000;
    color: #fff;
    font-size: 28px;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.2s ease;
}

.modal__close:hover {
    background-color: #333;

}

.calc-summary-preview {
    text-align: center;
}

.calc-summary-preview a {
    transition: opacity 0.2s;
}

.calc-summary-preview a:hover {
    opacity: 0.8;
}



/* Анимация увеличения окна */
@keyframes modalScale {
    from {
        transform: scale(0.8);
        opacity: 0;
    }

    to {
        transform: scale(1);
        opacity: 1;
    }
}

/* Класс для открытия (будет добавляться через JS) */
.modal--active {
    display: block;
}

.modal-obj {
    display: none;
    position: fixed;
    z-index: 3000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(8px);
}

.modal-obj--active {
    display: block !important;
}

.modal-obj__content {
    background: #fff;
    width: 90%;
    max-width: 1100px;
    margin: 5% auto;
    border-radius: 30px;
    position: relative;
    overflow: hidden;
}

.modal-obj__grid {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    /* Слева текст, справа фото больше */
    min-height: 500px;
}

.modal-obj__info {
    padding: 50px;
    display: flex;
    flex-direction: column;
    background: #f9f9f9;
}

.modal-obj__title {
    font-size: 32px;
    margin-bottom: 20px;
    color: #000;
}

.modal-obj__params {
    list-style: none;
    margin: 30px 0;
    padding: 0;
}

.modal-obj__params li {
    margin-bottom: 10px;
    font-size: 16px;
    color: #444;
}

.modal-obj__controls {
    margin-top: auto;
}

.modal-obj__controls button:hover svg rect {
    stroke: #FF4700;
    fill: #FF47001A;
}

.modal-obj__gallery {
    position: relative;
    /* Чтобы стрелки позиционировались относительно фото */
    background: #000;
    overflow: hidden;
}

.gallery-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.2);
    color: white;
    border: none;
    font-size: 30px;
    padding: 20px 10px;
    cursor: pointer;
    transition: background 0.3s;
    z-index: 5;
}

.gallery-arrow:hover {
    background: rgba(255, 255, 255, 0.4);
}

.gallery-arrow--prev {
    left: 0;
    border-radius: 0 5px 5px 0;
}

.gallery-arrow--next {
    right: 0;
    border-radius: 5px 0 0 5px;
}

.gallery-counter {
    position: absolute;
    bottom: 20px;
    right: 20px;
    background: rgba(0, 0, 0, 0.5);
    color: #fff;
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 14px;
}

.modal-obj__main-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.modal-obj__close {
    position: absolute;
    top: 20px;
    right: 20px;
    z-index: 10;
    background: none;
    border: none;
    font-size: 35px;
    cursor: pointer;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background-color: #000;
    color: #fff;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.2s ease;
}

.modal-obj--active {
    display: block;
}

.modal-obj__close:hover {
    background-color: #333;
}

@media (max-width: 768px) {

    /* Фиксируем само окно на 100% высоты экрана */
    .modal-obj__content {
        margin: 0;
        width: 100vw;
        height: 100vh;
        max-height: 100vh;
        /* Строго не больше экрана */
        border-radius: 0;
        display: flex;
        flex-direction: column;
        overflow: hidden;
        /* Запрещаем окну растягиваться */
    }

    .modal-obj__grid {
        display: flex;
        flex-direction: column;
        height: 100%;
        /* Занимаем всё доступное место */
        min-height: 0;
        /* Важно для flex-контейнеров */
    }

    /* ФОТО: всегда фиксированная часть экрана */
    .modal-obj__gallery {
        order: -1;
        height: 40vh;
        /* Фото всегда занимает ровно 40% экрана */
        flex-shrink: 0;
        /* Запрещаем сжиматься */
        background: #000;
        position: relative;
    }

    .modal-obj__main-img {
        display: block;
        width: 100%;
        height: 100%;
        object-fit: cover;
        /* Заполняет 40vh без полей */
    }

    /* ТЕКСТ: занимает остаток и скроллится внутри */
    .modal-obj__info {
        flex: 1;
        /* Забирает всё свободное место (60% экрана) */
        overflow-y: auto;
        /* Скролл только здесь */
        padding: 20px 20px 100px;
        /* Отступ снизу для кнопок */
        background: #fff;
        min-height: 0;
        /* Позволяет блоку сжиматься и показывать скролл */
    }

    /* КНОПКИ: прибиты к самому низу экрана */
    .modal-obj__controls {
        position: fixed;
        /* Именно fixed или absolute относительно контента */
        bottom: 0;
        left: 0;
        width: 100%;
        height: 80px;
        background: #fff;
        border-top: 1px solid #eee;
        display: flex;
        justify-content: space-around;
        align-items: center;
        z-index: 20;
    }

    .modal-obj__controls p {
        display: none;
    }

    /* Убираем лишний текст */
}

@media (max-width: 768px) {
    .modal-obj__content {
        margin: 0;
        /* Убираем отступы, чтобы окно было на весь экран */
        width: 100%;
        height: 100%;
        border-radius: 0;
        overflow-y: auto;
        /* Разрешаем прокрутку всего окна */
    }

    .modal-obj__grid {
        display: flex;
        flex-direction: column;
        /* Текст и фото друг под другом */
        min-height: auto;
    }

    /* 1. Сначала показываем Галерею (фото) */
    .modal-obj__gallery {
        order: -1;
        /* Выносит галерею наверх над текстом */
        height: 300px;
        /* Фиксированная высота для фото на мобильных */
        flex-shrink: 0;
    }

    /* 2. Настраиваем Инфо-блок */
    .modal-obj__info {
        padding: 25px 20px;
        background: #fff;
    }

    .modal-obj__title {
        font-size: 24px;
        margin-bottom: 15px;
    }

    .modal-obj__params {
        margin: 20px 0;
    }

    .modal-obj__params li {
        font-size: 14px;
        border-bottom: 1px solid #eee;
        /* Разделители для удобства */
        padding-bottom: 8px;
    }

    /* 3. Кнопки переключения объектов */
    .modal-obj__controls {
        display: flex;
        flex-wrap: wrap;
        align-items: center;
        justify-content: center;
        gap: 10px;
        padding-top: 20px;
    }

    /* Уменьшаем стрелки галереи для мобильных */
    .gallery-arrow {
        padding: 15px 8px;
        font-size: 20px;
    }
}

/* Для совсем маленьких экранов (iPhone SE и т.д.) */
@media (max-width: 480px) {
    .modal-obj__gallery {
        height: 250px;
    }
}


























/* Всплывающее окно для плохой отправки формы */
.toast {
    position: fixed;
    bottom: 20px;
    right: 20px;
    padding: 15px 30px;
    border-radius: 12px;
    background: #333;
    color: #fff;
    font-weight: 600;
    font-size: 16px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    transform: translateY(100px);
    /* Прячем за край экрана */
    opacity: 0;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    z-index: 10000;
}

/* Класс для показа */
.toast--show {
    transform: translateY(0);
    opacity: 1;
}

/* Цвета для разных статусов */
.toast--success {
    background: #27ae60;
    /* Зеленый для успеха */
}

.toast--error {
    background: #e74c3c;
    /* Красный для ошибки */
}












/* Адаптив для .center, чтобы контент не упирался в края на малых экранах */
@media (max-width: 1560px) {
    .center {
        padding-left: 20px;
        padding-right: 20px;
    }
}


@media (max-width: 1024px) {
    .title-decrease {
        font-size: clamp(32px, 5vw, 50px);
    }
}