:root {
    --text-light: #6f6f6e;
    --text-dark: #1e1f20;
    --accent-red: rgb(224, 8, 27);
    --line-color: #e5e5e5;
}
html {
    scroll-behavior: smooth; /* Нативный плавный скролл */
}
body {
    font-family: 'DIN Pro', sans-serif;
    font-size: 20px;
    color: var(--text-dark);
}
.main-header {
    width: 100%;
    background: #fff;
    border-bottom: 1px solid var(--line-color); /* подчеркивающая линия */
    padding: 20px 0;
}

.container {
    max-width: 1440px;
    min-width: 1280px;
    margin: 0 auto;
    padding: 0 45px;
    box-sizing: border-box;
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.header-logo {
    flex: 0 0 250px;
    display: block;
}

.header-logo img {
    display: block;
    max-width: 100%;
    height: auto;
}

.header-description {
    font-family: 'DIN Pro', sans-serif;
    font-weight: 300;
    font-size: 16px;
    line-height: 1.5; /* относительный 24/16 */
    color: var(--text-light);
    margin-right: auto;
    padding-left: 45px;
}

.header-contacts {
    text-align: right;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
}

.header-phone {
    display: block;
    font-family: 'DIN Pro', sans-serif;
    font-weight: 700;
    font-size: 24px;
    color: var(--text-dark);
    text-decoration: none;
    line-height: 1.2;
    border-bottom: 1px solid #e5e5e5;
}

.header-info {
    font-family: 'DIN Pro', sans-serif;
    font-weight: 300;
    font-size: 16px;
    line-height: 1.5;
    color: var(--text-light);
}

.header-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-left: 30px;
    width: 176px;
    height: 60px;
    background-color: var(--accent-red);
    color: #fff;
    font-family: 'DIN Pro', sans-serif;
    font-weight: 700;
    font-size: 16px;
    text-decoration: none;
    border-radius: 30px;
    transition: opacity 0.3s ease;
    padding-bottom: 5px;
}

.header-btn:hover {
    opacity: 0.9;
}

:root {
    --banner-bg: #016450;
}

.main-banner {
    width: 100%;
    height: 600px;
    background-color: var(--banner-bg);
    background-image: url('../img/banner-2.png');
    background-repeat: no-repeat;
    background-position: center center;
    background-size: auto 100%;
    position: relative;
    overflow: hidden;
}

/* Контейнер ограничивает контентную (клиoption) зону до 1440px */
.banner-container {
    max-width: 1440px;
    height: 100%;
    margin: 0 auto;
    padding: 0 45px;
    position: relative;
    box-sizing: border-box;
}

/* Делаем весь баннер кликабельной ссылкой */
.banner-link {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 2;
}








/* Цвета брендовых карточек */
:root {
    --color-finish: #6d2647;      /* Бордовый */
    --color-base: #982839;        /* Красный */
    --color-2in1: #e95213;        /* Оранжевый */
    --color-glue: #eba516;        /* Желтый */
    --color-paint: #2e4550;       /* Темно-серый */
    --color-concentrate: #054784;  /* Синий */
}

.products-section {
    padding: 70px 0 0;
    background-color: #fff;
    font-family: 'DIN Pro', sans-serif;
}

.products-title {
    font-size: 48px;
    font-weight: 700;
    text-align: center;
    color: #080908;
    line-height: 1.2;
    margin-bottom: 15px;
}

.products-subtitle {
    font-size: 24px;
    font-weight: 300;
    text-align: center;
    color: #080908;
    max-width: 1150px;
    margin: 0 auto 40px auto;
    line-height: 1.5;
}

/* Сетка по ТЗ: 3 колонки на десктопе */
.products-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.product-card {
    display: flex;
    flex-direction: column;
    border-radius: 26px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease;
    background-image: url('../img/net-bg.png'), url('../img/net-bg.png');
    background-repeat: no-repeat;
    background-position: right -70px top -100px, left -140px bottom -70px;
}



.product-card:hover {
    transform: translateY(-5px); /* Эффект при наведении */
}

/* Верхняя цветная часть */
.card-top {
    padding: 35px 40px 65px;
    color: #fff;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}
.card-text {
    font-size: 20px;
    font-weight: 400;
    margin-top: 15px;
}

/* Нижняя белая часть с ведром */
.card-bottom {
    padding: 0 40px;
    display: flex;
    justify-content: center;
    align-items: flex-start;
    height: 250px;
    overflow: hidden;
}

.card-bottom img {
    max-width: 315px;
    width: 100%;
    height: auto;
    object-fit: contain;
}

/* Назначение фоновых цветов по классам */
.card-finish { background-color: var(--color-finish); }
.card-base { background-color: var(--color-base); }
.card-2in1 { background-color: var(--color-2in1); }
.card-glue { background-color: var(--color-glue); }
.card-paint { background-color: var(--color-paint); }
.card-concentrate { background-color: var(--color-concentrate); }



.spec-section {
    margin-top: 90px;
    position: relative;
    padding-bottom: 20px;
}
.buckets-slider-wrapper {
    position: relative;
    margin: 35px auto 40px auto;
    padding: 0 90px;
    overflow: hidden;
}
.swiper-buckets,
.swiper-buckets-2 {
    padding: 0;
}
.swiper-buckets .swiper-slide,
.swiper-buckets-2 .swiper-slide {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 224px;
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}
.bucket-img-box {
    width: 224px;
    height: 224px;
    border-radius: 50%;
    background-color: #f6f6f6;
    display: flex;
    justify-content: center;
    align-items: flex-end;
    cursor: pointer;
    overflow: hidden;
    transition: width 0.4s ease, height 0.4s ease, background-color 0.4s ease;
}
.bucket-img-box img {
    height: 75%;
    width: auto;
    object-fit: contain;
    transition: transform 0.4s ease, filter 0.4s ease;
    margin-bottom: -10%;
}
.swiper-buckets .swiper-slide:not(.swiper-slide-active) img,
.swiper-buckets-2 .swiper-slide:not(.swiper-slide-active) img {
    filter: brightness(0.9);
}
.swiper-buckets .swiper-slide-active .bucket-img-box,
.swiper-buckets-2 .swiper-slide-active .bucket-img-box {
    width: 400px;
    height: 400px;
    flex-shrink: 0;
    background-image: url('../img/net-bg.png'), url('../img/net-bg.png');
    background-repeat: no-repeat;
    background-position: left -70px top -120px, right -50px bottom -5px;
}
.spec-prev, .spec-next,
.spec-prev-2, .spec-next-2 {
    width: 54px !important;
    height: 54px !important;
    background: none !important;
    display: flex !important;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: opacity 0.3s ease;
}
.spec-prev::after, .spec-next::after,
.spec-prev-2::after, .spec-next-2::after {
    display: none !important;
}
.spec-prev::before, .spec-next::before,
.spec-prev-2::before, .spec-next-2::before {
    content: '';
    display: block;
    width: 25.5px;
    height: 25.5px;
    border-right: 3px solid #c9c9c9;
    border-top: 3px solid #c9c9c9;
    transition: border-color 0.3s ease;
}
.spec-next::before, .spec-next-2::before {
    transform: rotate(45deg);
    margin-right: 8px;
}
.spec-prev::before, .spec-prev-2::before {
    transform: rotate(-135deg);
    margin-left: 8px;
}
.spec-prev:hover::before, .spec-next:hover::before,
.spec-prev-2:hover::before, .spec-next-2:hover::before {
    border-color: #1e1f20;
}


.swiper-buckets .swiper-slide-active.finish .bucket-img-box { background-color: var(--color-finish); }
.swiper-buckets .swiper-slide-active.basa .bucket-img-box { background-color: var(--color-base); }
.swiper-buckets .swiper-slide-active.b2in1 .bucket-img-box { background-color: var(--color-2in1); }
.swiper-buckets-2 .swiper-slide-active.kley .bucket-img-box { background-color: var(--color-glue); }
.swiper-buckets-2 .swiper-slide-active.kraska .bucket-img-box { background-color: var(--color-paint); }
.swiper-buckets-2 .swiper-slide-active.concentrat .bucket-img-box { background-color: var(--color-concentrate); }

.swiper-buckets .swiper-wrapper,
.swiper-buckets-2 .swiper-wrapper {
    display: flex;
    align-items: center;
    height: 400px;
}
.swiper-buckets .swiper-slide,
.swiper-buckets-2 .swiper-slide {
    height: auto;
    justify-content: center;
    align-items: center;
}
.swiper-buckets .swiper-slide-prev,
.swiper-buckets-2 .swiper-slide-prev {
    justify-content: flex-start;
}
.swiper-buckets .swiper-slide-next,
.swiper-buckets-2 .swiper-slide-next {
    justify-content: flex-end;
}
.swiper-buckets .swiper-slide .bucket-img-box,
.swiper-buckets-2 .swiper-slide .bucket-img-box{
    display: none;
}
.swiper-buckets .swiper-slide-active .bucket-img-box,
.swiper-buckets .swiper-slide-prev .bucket-img-box,
.swiper-buckets .swiper-slide-next .bucket-img-box,
.swiper-buckets-2 .swiper-slide-active .bucket-img-box,
.swiper-buckets-2 .swiper-slide-prev .bucket-img-box,
.swiper-buckets-2 .swiper-slide-next .bucket-img-box {
    display: flex;
}


.swiper-content {
    margin: 0 auto;
    overflow: hidden;
}
.spec-product-name {
    margin-bottom: 35px;
}
/* Стили таблицы (Flexbox) */
.spec-list {
    margin-bottom: 35px;
}
.spec-item {
    display: flex;
    padding: 12px 0;
    font-size: 20px;
}
.spec-item dt {
    width: 35%;
    color: #6f6f6e;
    font-weight: 300;
}
.spec-item dd {
    width: 65%;
    color: #1e1f20;
}
.spec-item dd p {
    margin-bottom: 10px;
}
.spec-item dd p:last-child {
    margin-bottom: 0;
}
.spec-item .bold-text {
    font-weight: 700;
}

.finish .bold-text { color: var(--color-finish); }
.basa .bold-text { color: var(--color-base); }
.b2in1 .bold-text { color: var(--color-2in1); }
.kley .bold-text { color: var(--color-glue); }
.kraska .bold-text { color: var(--color-paint); }
.concentrat .bold-text { color: var(--color-concentrate); }

.spec-footer-bar {
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 30px 3% 30px 7%;
    position: relative;
    font-family: 'DIN Pro', sans-serif;
    font-size: 20px;

    clip-path: polygon(2% 0%, 100% 0%, 100% 100%, 0% 100%);

    background-image: url('../img/net-bg.png'), url('../img/net-bg.png');
    background-repeat: no-repeat;
    background-position: left 10% bottom 20px, right -70px bottom -80px;
}

.finish .spec-footer-bar { background-color: var(--color-finish); }
.basa .spec-footer-bar { background-color: var(--color-base); }
.b2in1 .spec-footer-bar { background-color: var(--color-2in1); }
.kley .spec-footer-bar { background-color: var(--color-glue); }
.kraska .spec-footer-bar { background-color: var(--color-paint); }
.concentrat .spec-footer-bar { background-color: var(--color-concentrate); }

.bar-title { font-weight: 700; width: 35%; }
.bar-col { display: flex; flex-direction: column; width: 30%; }
.bar-label { font-weight: 300; margin-bottom: 4px; }
.bar-value { font-weight: 700; }






/* Новые цвета для линеек грунтов и клеев */
.title-paint { color: #2d3e46; } /* Темно-серый */
.highlight-paint { color: #2d3e46; font-weight: 700; }
.bar-paint { background-color: #2d3e46; }

/* Стилизация списков внутри характеристик */
.spec-ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.spec-ul li {
    position: relative;
    padding-left: 15px;
    margin-bottom: 6px;
}

/* Маркер списка в виде точки */
.spec-ul li::before {
    content: "•";
    position: absolute;
    left: 0;
    top: 0;
    color: #1e1f20;
    font-weight: bold;
}
.finish .spec-ul li::before { color: var(--color-finish);  }
.basa .spec-ul li::before { color: var(--color-base); }
.b2in1 .spec-ul li::before { color: var(--color-2in1); }
.kley .spec-ul li::before { color: var(--color-glue); }
.kraska .spec-ul li::before { color: var(--color-paint); }
.concentrat .spec-ul li::before { color: var(--color-concentrate);  }

.finish .dd-link { color: var(--color-finish); border-bottom: 1px solid var(--color-finish);}
.basa .dd-link { color: var(--color-base); border-bottom: 1px solid var(--color-base);}
.b2in1 .dd-link { color: var(--color-2in1); border-bottom: 1px solid var(--color-2in1); }
.kley .dd-link { color: var(--color-glue); border-bottom: 1px solid var(--color-glue); }
.kraska .dd-link { color: var(--color-paint); border-bottom: 1px solid var(--color-paint); }
.concentrat .dd-link { color: var(--color-concentrate); border-bottom: 1px solid var(--color-concentrate);}

/* --- БАЗОВОЕ СОСТОЯНИЕ (До скролла) --- */

/* Базовое состояние панели в потоке */
.sticky-panel {
    position: relative;
    width: 100%;
    z-index: 100;
    background-color: #fff;
    padding-bottom: 20px;
}

/* СОСТОЯНИЕ ФИКСАЦИИ НА ВСЮ ШИРИНУ ЭКРАНА */
.sticky-panel.is-fixed {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    width: 100vw !important; /* На всю ширину окна браузера */
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    padding-top: 10px;
    padding-bottom: 10px;
    background-color: #fff;
}

/* СОСТОЯНИЕ УХОДА ПАНЕЛИ: прижимаем к низу секции, чтобы уплывала вверх со скроллом */
.sticky-panel.is-out {
    position: absolute !important;
    top: auto !important;
    left: 0 !important;
    width: 100% !important;
    box-shadow: none !important;
}

/* Центрируем внутреннее содержимое слайдера ведер, когда панель растянута на 100vw */
.sticky-panel.is-fixed .buckets-slider-wrapper {
    max-width: 600px;
    margin: 0 auto;
}

/* --- СОСТОЯНИЕ СЖАТИЯ (При скролле) --- */

/* При фиксации плавно уменьшаем внутреннюю обертку, чтобы сузить расстояние между стрелками */
.sticky-panel.is-fixed {
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    padding-top: 10px;
    padding-bottom: 10px;
}

.sticky-panel.is-fixed .buckets-slider-wrapper {
    max-width: 700px; /* Сужаем общую область, чтобы кружки встали плотнее */
}

/* Скрываем заголовок */
.sticky-panel.is-fixed .spec-main-title {
    display: none;
}

/* Уменьшаем высоту ряда */
.sticky-panel.is-fixed .swiper-buckets .swiper-wrapper,
.sticky-panel.is-fixed .swiper-buckets-2 .swiper-wrapper {
    height: 160px !important;
}

/* РЕШЕНИЕ БАГА: Мы НЕ трогаем .swiper-slide! Меняем только внутренние .bucket-img-box */

/* Уменьшаем НЕАКТИВНЫЕ кружки до 100px */
.sticky-panel.is-fixed .swiper-buckets .swiper-slide:not(.swiper-slide-active) .bucket-img-box,
.sticky-panel.is-fixed .swiper-buckets-2 .swiper-slide:not(.swiper-slide-active) .bucket-img-box {
    width: 100px !important;
    height: 100px !important;
}

/* Уменьшаем АКТИВНЫЙ центральный круг до 160px */
.sticky-panel.is-fixed .swiper-buckets .swiper-slide-active .bucket-img-box,
.sticky-panel.is-fixed .swiper-buckets-2 .swiper-slide-active .bucket-img-box {
    width: 160px !important;
    height: 160px !important;
}




.dilution-section {
    padding: 95px 0 0;
    background-color: #fff;
    font-family: 'DIN Pro', sans-serif;
}
.dilution-header {
    position: relative;
    margin-bottom: 25px;
}

.dilution-product-img {
    position: absolute;
    top: 50%;
    left: 35px;
    display: block;
    max-width: 100%;
    height: auto;
    display: block;
    transform: translate(0, -50%);
    z-index: 1;
}
.dilution-main-title {
    color: #fff;
    font-size: 32px;
    font-weight: 700;
    margin: 0;
    background-color: #24559a;
    position: relative;

    margin-left: 230px;
    padding: 35px 20px 35px 110px;

    background-image: url(../img/net-bg.png), url(../img/net-bg.png);
    background-repeat: no-repeat;
    background-position: left -10% bottom 20px, right -70px bottom -80px;

    clip-path: polygon(98% 100%, 0% 100%, 0% 0%, 100% 0%);

}
.dilution-table {
    width: calc(100% - 35px);
    margin: 0 auto 0 35px;
    font-size: 20px;
}
.dilution-row {
    display: flex;
    align-items: center;
    height: 109px;
    border-bottom: 1px solid #e3e3e3;
}
.dilution-row:last-child {
    border-bottom: none;
}
.table-head .col-app {
    color: #8898a8;
}
.col-proportion {
    width: 246px;
    color: #8898a8;
    box-sizing: border-box;
    text-align: center;
    flex-shrink: 0;
}

.col-proportion span {
    font-weight: 700;
    color: #054784;
}
.col-app {
    padding-left: 5%;
    color: #1e1f20;
    line-height: 1.5;
    font-weight: 400;
    letter-spacing: .2px;
}
.num-highlight {
    font-size: 60px;
    font-weight: 700;
    color: #054784;
    letter-spacing: -1px;
}

.together-section {
    padding: 70px 0 90px;
    background-color: #f5f5f5;
    overflow: hidden;
}
.together-intro {
    text-align: center;
    margin-bottom: 50px;
}

.together-title {
    font-size: 48px;
    font-weight: 700;
    letter-spacing: 1px;
}
.together-subtitle {
    font-size: 24px;
    font-weight: 700;
}
.together-list {
    display: flex;
    flex-direction: column;
    gap: 85px;
    margin: 0 auto;
}
.together-info {
}

.together-text {
    font-size: 24px;
    line-height: 1.3;
    font-weight: 300;
}
.together-text a {
    border-bottom: 1px solid var(--text-dark);
    font-weight: 700;
}
.together-package {
    font-size: 24px;
    font-weight: 700;
    line-height: 1.3;
    text-align: right;
    margin-top: 30px;
    display: inline-block;
}
.together-text a.hl-yellow { color: #eba516; border-color: #eba516; }
.together-text a.hl-blue { color: #004f8d; border-color: #004f8d; }
.together-text a.hl-red { color: #c0373d; border-color: #c0373d; }

.card-blue .together-package {
    color: #004b87;
    margin-top: 30px;
}
.card-blue .together-info {
    margin-top: 10px;
}
.card-blue .together-media img {
    margin-top: -130px;
    /*margin-left: -100px;*/
}
.card-red .together-package {
    color: #c0373d;
}
.card-red .together-media img {
    margin-top: -140px;
}

.together-media {
    position: relative;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
}
.card-yellow .together-media {
    justify-content: flex-start;
}
.together-media img {
    display: block;
    height: auto;
    flex-shrink: 0;
}
.together-info {
    margin-top: 30px;
    height: 320px;
    width: 100%;
    position: relative;
}
.together-info::after {
    content: '';
    position: absolute;
    top: 0;
    left: 115px;
    width: calc(100% - 115px);
    height: 100%;
    z-index: 1;

    clip-path: polygon(20% 0%, 100% 0%, 100% 100%, 0% 100%);
}
.card-blue .together-info::after,
.card-red .together-info::after {
    clip-path: polygon(30% 0%, 100% 0%, 100% 100%, 0% 100%);
}

.card-yellow .together-info::after { background-color: #fac238; }
.card-blue .together-info::after{ background-color: #004f8d; }
.card-red .together-info::after{ background-color: #c0373d; }




.instructions-section {
    padding: 55px 0 70px 0;
    color: #fff;

    background-image:
            url('../img/net-bg.png'),
            url('../img/net-bg.png'),
            linear-gradient(to bottom, #014336 -25%, #00765d 125%);

    background-repeat: no-repeat, no-repeat, no-repeat;
    background-position: right 10% top -100px, right 10% bottom -60px, center center;
    background-size: auto, auto, cover;
}

.instructions-main-title {
    font-size: 48px;
    font-weight: 700;
    text-align: center;
    margin-bottom: 50px;
    text-transform: none;
    line-height: 1.1;
}
.instructions-layout {
    display: flex;
    align-items: flex-start;
    gap: 40px;
    position: relative; /* Важно для работы sticky */
}
.instructions-sidebar {
    width: 28%;
    position: -webkit-sticky;
    position: sticky;
    top: 40px;
    z-index: 10;
}

.instructions-tabs {
    display: flex;
    flex-direction: column;
    gap: 10px;
    width: 100%;
    max-width: 360px;
}
.tab-btn {
    width: 90%;
    border: none;
    padding: 20px 10px 20px 40px;
    font-size: 20px;
    font-weight: 700;
    text-align: left;
    cursor: pointer;
    transition: all 0.3s ease;
    box-sizing: border-box;
}

/* СТИЛЬ НЕАКТИВНЫХ ВКЛАДОК */
.tab-btn:not(.active) {
    background-color: rgba(255, 255, 255, 0.12);
    color: #fff;
    clip-path: polygon(0% 0%, 100% 0%, 95% 100%, 0% 100%);
}

.tab-btn:not(.active):hover {
    background-color: rgba(255, 255, 255, 0.15);
    width: 100%;
}

/* СТИЛЬ АКТИВНОЙ ВКЛАДКИ (ФИНИШ на макете) */
.tab-btn.active {
    background-color: #fff;
    color: #006252;
    clip-path: polygon(0% 0%, 100% 0%, 95% 100%, 0% 100%);
    width: 100%;
}

/* ПРАВАЯ КОЛОНКА С ТЕКСТОМ */
.instructions-content {
    width: calc(100% - 400px);
}

/* Управление видимостью контента */
.tab-content {
    display: none; /* Скрываем все неактивные вкладки */
}

.tab-content.active {
    display: block; /* Показываем активную */
}

/* Стилизация текстовых блоков */
.inst-block {
    margin-bottom: 40px;
}

.inst-block h3 {
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 12px;
}

.inst-block p {
    font-size: 20px;
    line-height: 1.4;
    font-weight: 300;
    margin-bottom: 30px;
}
.inst-block p:last-child {
    margin-bottom: 0;
}
.inst-block p .bold-txt {
    font-weight: 700;
}
.inst-block ul {
    margin-bottom: 30px;
    list-style: none;
}
.inst-block li {
    position: relative;
    padding-left: 35px;
    margin-bottom: 5px;
}

.inst-block li::before {
    content: "•";
    position: absolute;
    left: 0;
    color: #fff;
}
.bold-text {
    font-weight: 700;
}








.feedback-section {
    padding: 65px 0;
    background-color: #fff;
}

.feedback-layout {
    display: flex;
    align-items: center;
    gap: 30px;
    margin: 0 auto;
}

.feedback-form-wrapper { width: 55%; }
.feedback-decor { width: 45%; display: flex; justify-content: center; }

.feedback-title {
    font-size: 42px;
    font-weight: 700;
    margin-bottom: 30px;
}

/* Элементы формы */
.form-group {
    margin-bottom: 30px;
    width: 100%;
}

.form-row {
    display: flex;
    gap: 30px;
}

.half-width { width: 50%; }

.form-group input[type="text"],
.form-group input[type="email"],
.form-group input[type="tel"],
.form-group select {
    width: 100%;
    height: 60px;
    border: 1px solid #9d9d9c;
    border-radius: 30px;
    padding: 0 25px;
    font-size: 16px;
    font-weight: 300;
    color: #1e1f20;
    outline: none;
    box-sizing: border-box;
    text-align: center;
    font-family: 'DIN Pro', sans-serif;
}

.form-group textarea {
    width: 100%;
    border: 1px solid #9d9d9c;
    border-radius: 26px;
    padding: 20px 25px;
    font-size: 16px;
    font-weight: 300;
    color: #1e1f20;
    outline: none;
    resize: none;
    box-sizing: border-box;
    font-family: 'DIN Pro', sans-serif;
    text-align: center;
    display: flex;
    align-items: center;
}

.select-custom { position: relative; }
.select-custom select { -webkit-appearance: none; -moz-appearance: none; appearance: none;  cursor: pointer; padding-right: 50px;}
.select-custom::after {
    content: '';
    display: block;
    width: 9px;
    height: 9px;
    border-right: 2px solid rgb(130, 130, 130);
    border-bottom: 2px solid rgb(130, 130, 130);
    transform: rotate(45deg);
    position: absolute;
    right: 25px;
    top: calc(50% - 5px);
    pointer-events: none;
    transform-origin: center;
}
.submit-btn {
    width: 100%;
    height: 66px;
    background-color: #1e1f20;
    color: #fff;
    border: none;
    border-radius: 30px;
    font-size: 18px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
    transition: background-color 0.3s ease;
    margin-top: 30px;
}

.submit-btn:hover { background-color: rgb(224, 8, 27); }

.form-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    margin-top: 25px;
}

.custom-checkbox {
    display: inline-flex;
    align-items: center;
    cursor: pointer;
    user-select: none;
    position: relative;
}
.custom-checkbox input {
    position: absolute;
    opacity: 0;
    cursor: pointer;
    height: 0;
    width: 0;
}
.custom-checkbox .checkbox-box {
    width: 24px;
    height: 24px;
    border-width: 2px;
    border-color: rgb(194, 194, 194);
    border-style: solid;
    border-radius: 3px;
    background-color: #fff;
    display: inline-block;
    flex-shrink: 0;
    position: relative;
    box-sizing: border-box;
    transition: background-color 0.2s ease, border-color 0.2s ease;
}
.custom-checkbox .checkbox-box::after {
    content: '';
    position: absolute;
    display: block;
    left: 7px;
    top: 3px;
    width: 6px;
    height: 11px;
    border: solid #fff;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
    opacity: 0;
    transition: opacity 0.2s ease;
}
.custom-checkbox .checkbox-text {
    font-size: 14px;
    color: #000;
    padding-left: 12px;
    line-height: 1;
    max-width: 200px;
    font-weight: 300;
}
.custom-checkbox .checkbox-text a {
    color: #003dac;
    text-decoration: none;
}
.custom-checkbox input:checked ~ .checkbox-box {
    background-color: rgb(224, 8, 27);
    border-color: rgb(224, 8, 27);
}
.custom-checkbox input:checked ~ .checkbox-box::after {
    opacity: 1;
}
.custom-checkbox:hover input:not(:checked) ~ .checkbox-box {
    border-color: #1e1f20;
}
.envelope-img { max-width: 100%; height: auto; }
.smart-captcha {
    display: inline-block;
    min-width: 300px;
    height: 74px; /* Стандартная высота виджета Яндекса */
}

:root {
    --text-light: #6f6f6e;
    --text-dark: #1e1f20;
    --accent-red: rgb(224, 8, 27);
    --line-color: #e5e5e5;
}

.main-footer {
    width: 100%;
    background-color: #fff;
    border-top: 1px solid rgba(0,0,0,.1);
}
.footer-top {
    padding: 30px 0;
}
.footer-nav {
    width: 100%;
    margin-top: 30px;
}
.footer-menu {
    display: flex;
    justify-content: space-between;
    list-style: none;
    padding: 0;
    margin: 0;
    gap: 15px 20px;
    flex-wrap: wrap;
}
.footer-menu li a {
    font-size: 16px;
    font-weight: 300;
    color: var(--text-dark);
    text-decoration: none;
    transition: color 0.3s ease;
    border-bottom: 1px solid #d8d8d8;
    letter-spacing: .2px;
}
.footer-menu li a:hover {
    color: var(--accent-red);
}
.footer-social-bar {
    display: flex;
    width: 100%;
    height: 64px;
    position: relative;
}
.social-item {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 15px;
    gap: 12px;
    margin-top: 5px;
    height: calc(100% - 5px);
    -webkit-transition: .2s;
    -moz-transition: .2s;
    -ms-transition: .2s;
    -o-transition: .2s;
    transition: .2s;
}
.social-item:hover {
    filter: brightness(0.9);
}
.s-vk { background-color: #0077ff; }
.s-youtube { background-color: #ff0033; }
.s-rutube { background-color: #0c0c0e; }
.s-telegram { background-color: #40a7e3; }

.social-icon {
    width: 24px;
    height: 24px;
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
}
.icon-vk { background-image: url('../img/vk.png'); }
.icon-youtube { background-image: url('../img/yt.png'); }
.icon-rutube { background-image: url('../img/rt.png'); }
.icon-telegram { background-image: url('../img/tg.png'); }
.footer-bottom {
    padding: 25px 0;
}
.footer-bottom-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 16px;
    font-weight: 300;
    letter-spacing: .25px;
}
.footer-copyright { font-weight: 400; }

.form-success-message {
    background-color: #f4fbf9; /* Легкий мятно-зеленый оттенок фона */
    border-left: 4px solid #016450; /* Фирменная зеленая полоса */
    padding: 25px;
    border-radius: 4px;
    animation: fadeIn 0.4s ease forwards;
}

.form-success-message h3 {
    font-size: 22px;
    font-weight: 700;
    color: #016450;
    margin-bottom: 8px;
}

.form-success-message p {
    font-size: 15px;
    color: #1e1f20;
    margin: 0;
    line-height: 1.4;
}

.form-error-text {
    color: rgb(224, 8, 27);
    font-size: 14px;
    margin-top: 15px;
    font-weight: 700;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}
