:root {
    --background-color: #f6f7f8;
    --font-color: #000000;




    --green-1: #082718;
    --green-2: #9fbb44;
    --green-3: #025239;
    --green-4: #b6bdab;

    --gray-1: #2c2c2a;
    --gray-2: #c6c6c6;
    --white-1: #f6f6f6;
    --white-2: #f5f5f5;
    --black-1: #292927;
    --orange-1: #ea4e25;



    --block-color: #b6bdab1c;
    --btn-color:  #ea4e25;
    --btn-text-color: #f6f6f6;
    --btn-text-color-h: #2c2c2a;
    --text-card: #ea4e25;
    --top-menu-panel: #b6bdab;

    --main-color: #ea4e25;
    --gray: #FBEEC1;
    --black: #dac9a9;
    --main-fon: #BC986A;

    --w-font-color: #FBEEC1;
    --pad: #659DBD
}

.header-fixed.do, .header-fixed {
    background-color: var(--gray-1);
}
.topmenu > li a {
    color: var(--white-2);
}
header #search .button-search {
    text-align: center;
    border: 2px solid var(--orange-1);
    border-radius: 50%;
    font-size: 0.85rem;
    cursor: pointer;
    color: var(--orange-1);
}
.glyphicon-search:before {
    color: var(--orange-1);
}
header .btn-credit {
    border: 1px solid var(--orange-1);
    background-color: var(--orange-1);
    color: var(--white-2);
}
.header-fixed-content-col .text {
    color: var(--white-2);
}
.text, .type_navi_0 .item div.h1, .kvadr.black p, .head, .phone a {
    color: var(--white-2);
}
.dropmenu {
    background-color: var(--gray-2);
}
.dropmenu .line {
    background-color: var(--gray-1);
}
.header-fixed.do .logo-el:nth-child(1) {
    height: 20px;
}
.header-fixed .container {
    padding: 20px 20px 0 20px;
}
.header-fixed.do {
    height: 80px;
}
.header-fixed.do img {
    min-width: auto;
    max-height: 60px;
}
.header-fixed-logo {
    height: 60px;
}
.header-fixed-menu {
    top: -15px;
    @media (max-width: 768px) {
        top: 0;
    }
}
.header-fixed.do .header-fixed-menu {
    margin: -90px 0 0 0!important;
    top: 0;
}
.header-fixed.do #search {
    bottom: auto;
    top: 43px;
}
header #search.full_search .button-search {
    top: 8px;
}
#slider_main_company {
    background-image: none!important;
    background-color: var(--orange-1);
}
.category .projects-list .block_products#bp .el_product .description {
    background: var(--gray-2) !important;
}
.b24-form-header {
    display: none!important;
}
.b24-form-control-list .b24-form-control-label, .b24-form-control-string .b24-form-control-label, .b24-form-control-text .b24-form-control-label {
    top: 6% !important;
}

.b24-form-wrapper.b24-form-border-bottom {
    border-bottom: none !important;
}

.b24-form-sign-abuse {
    display: none !important;
}

.b24-form-btn {
    color: #fff !important;
}

.b24-form-control-container input[type="checkbox"] {
    float: left;
    margin-right: 15px;
    position: absolute;
    top: -7px;
}

.b24-form-control-agreement .b24-form-control-required {
    position: absolute;
    right: 75px;
    bottom: -15px;
    display: none;
}

.b24-form-field-agreement .b24-form-control-desc {
    font-size: 11px;
    opacity: .5;
    line-height: 1;
    padding-left: 30px;
    display: block;
    position: relative;
    top: 15px;
}

.b24-form-wrapper {
    padding: 30px 15px;
}

.b24-form-field-agreement .b24-form-field-agreement-link {
    text-transform: none;
}

.b24-form-field-agreement {
    margin-bottom: 40px;
}
.modal-content form button[type="submit"], .modal-content form input[type="submit"]
{
    height: 50px!important;
}
.b24-form-wrapper.b24-form-border-bottom {
    padding: 15px!important;
}
/* Базовые стили модалки (общие) */
.modal {
    position: fixed;
    inset: 0; /* top:0; right:0; bottom:0; left:0; */
    z-index: 1000;
    display: none; /* по умолчанию скрыта */
}

/* Состояние открытой модалки: js пусть добавляет класс .is-open */
.modal.is-open {
    display: block;
}

/* Затемняющий фон */
.modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: flex-start; /* или center, если хочешь строго по центру */
    justify-content: center;
    padding: 24px 16px;
    overflow-y: auto;
}

/* Контент модального окна */
.modal-content {
    position: relative;
    max-width: 1200px;
    max-height: 600px;
    width: 100%;
    margin: 40px auto; /* отступ сверху/снизу от экрана */
    background: #ffffff;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15),
    0 0 1px rgba(0, 0, 0, 0.4);
    padding: 0;
    overflow: hidden;
    box-sizing: border-box;

    /* Небольшая анимация появления */
    transform: translateY(10px);
    opacity: 0;
    transition: opacity 0.2s ease-out,
    transform 0.2s ease-out;
    @media (max-width: 768px) {
        position: fixed;
        top: 0;
        left: 0;
        bottom: 0;
        right: 0;
        width: 100%;
        max-width: 100%;
        height: 100vh;
        max-height: 100vh;
        margin: 0!important;
        border-radius: 0!important;
        padding: 0;
        box-shadow: none;
        overflow-y: auto;
        transform: translateY(0);
        opacity: 1;
        transition: none;
    }
}

.flex_wrapper_form {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0;
    flex-wrap: wrap;
    flex-direction: row;
    @media (max-width: 768px) {
        flex-direction: column;
        padding: 15px;
        height: auto;
    }

    & .popup__img_wrapper {
        width: 50%;
        height: 600px;
        padding: 0;
        margin: 0;
        position: relative;
        @media (max-width: 768px) {
            display: none;
            width: 100%;
            margin-bottom: 15px;
            height: calc(30vh);
        }

        & .popup__img {
            width: 100%;
            position: absolute;
            left: 0;
            top: 0;
            bottom: 0;
            background-size: cover;
            @media (max-width: 768px) {
                width: 100%;
                position: absolute;
                left: 0;
                top: 0;
                bottom: 0;
                background-size: contain;
                background-position: center;
                background-repeat: no-repeat;
            }
        }
    }

    & .popup__text {
        width: 50%;
        height: 70%;
        padding: 20px;
        height: 600px;
        @media (max-width: 768px) {
            width: 100%;
            height: auto;
            padding: 0;
        }
    }
}

/* Анимация для открытого состояния */
.modal.is-open .modal-content {
    opacity: 1;
    transform: translateY(0);
}

/* Кнопка закрытия (крестик) */
.modal-content [data-modal-close] {
    position: absolute;
    top: 3px;
    right: 5px;
    padding: 0;
    width: 32px;
    height: 32px;
    border: none;
    border-radius: 50%;
    background: transparent;
    color: #999999;
    font-size: 20px;
    line-height: 1;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.15s ease-out,
    color 0.15s ease-out,
    transform 0.1s ease-out;
}

.modal-content [data-modal-close]:hover {
    background-color: rgba(0, 0, 0, 0.04);
    color: #333333;
}

.modal-content [data-modal-close]:active {
    transform: scale(0.95);
}

/* Заголовок модалки */
.modal-content h2 {
    margin: 0 0 16px;
    padding-right: 40px; /* чтобы текст не залезал под крестик */
    font-size: 20px;
    line-height: 1.3;
}

/* Вёрстка формы внутри модалки (минимальная) */
.modal-content form {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.modal-content form label {
    font-size: 14px;
    color: #333333;
    max-width: 100% !important;
}

.modal-content form input[type="text"],
.modal-content form input[type="email"],
.modal-content form input[type="tel"],
.modal-content form textarea,
.modal-content form select {
    width: 100%;
    box-sizing: border-box;
    padding: 8px 10px;
    border-radius: 6px;
    border: 1px solid #d0d0d0;
    font: inherit;
    transition: border-color 0.15s ease-out,
    box-shadow 0.15s ease-out;
}

.modal-content form input:focus,
.modal-content form textarea:focus,
.modal-content form select:focus {
    outline: none;
    border-color: #007bff;
    box-shadow: 0 0 0 2px rgba(0, 123, 255, 0.18);
}

/* Кнопка отправки формы */
.modal-content form button[type="submit"],
.modal-content form input[type="submit"] {
    align-self: flex-start;
    padding: 10px 18px;
    border-radius: 6px;
    border: none;
    color: #ffffff;
    font-weight: 500;
    cursor: pointer;
    transition: background-color 0.15s ease-out,
    box-shadow 0.15s ease-out,
    transform 0.1s ease-out;
}


.modal-content form button[type="submit"]:active,
.modal-content form input[type="submit"]:active {
    transform: translateY(1px);
    box-shadow: none;
}

/* Адаптив: чуть шире на мобильных, центрирование */
@media (max-width: 480px) {
    .modal-overlay {
        align-items: flex-start;
        padding: 16px;
    }

    .modal-content {
        margin: 24px auto;
        border-radius: 10px;
        padding: 20px 16px 22px;
    }

    .modal-content h2 {
        font-size: 18px;
    }
}

/* Служебный класс, если хочешь блокировать скролл body при открытой модалке */
.body-modal-open {
    overflow: hidden;
}

.SmartCaptcha-Shield.SmartCaptcha-Shield_position_right {
    height: 25px!important;
}
@media (max-width: 1024px) {
    .wrap_body {padding-top: 65px !important;}
}
.kvadr {
    display: flex;
    justify-content: flex-start !important;
    flex-direction: column;
}
.kvadr.yellow h3{
    text-transform: uppercase;
}
.category h1 {
    font-size: 4.3rem;
    margin: 0 0 30px;
    font-family: "AkzidenzGrotesk", sans-serif;
}
.el_head{
    font-family: "AkzidenzGrotesk";
    text-transform: uppercase;
    font-size: 27px;
    line-height: 1.4rem;
    font-weight: 500;
}
.card_services, .card_services_img {
    @media (max-width: 1500px) {
        min-width: 300px;
        max-width: 100%;
        width: 100%;
        background-position: center;
    }
}
.card_services:hover .description {
    @media (max-width: 1500px) {
        font-size: 16px!important;
    }
}

.tabScreenComplete li{
    line-height: 2;
}

.b_h460{height:460px;}