.hero {
    background-image: url('img/bg-main.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    margin-bottom: 36px;
    height: 100%;
}

.uppercase {
    text-transform: uppercase;
}

.pre-line {
    white-space: pre-line;
}

button {
    cursor: pointer
}

.container-width {
    max-width: 1440px;
    margin-left: auto !important;
    margin-right: auto !important;
}

.hero__description {
    width: 43%;
    backdrop-filter: blur(30px);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.hero__title {
    color: #000;
    margin: 150px 0 55px 0;
    font-weight: 600 !important;
    font-size: 36px;
    text-align: center;
}

.hero__benefit-container {
    display: flex;
    gap: 134px;
    align-items: center;
    justify-content: center;
    margin-bottom: 55px;
}

.hero__benefit {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 12px;
    font-weight: 600;
    font-size: 20px;
    text-align: center;
    color: #000;
}

.hero__benefit img {
    height: 93px;
    width: 93px;
}

.hero__btn {
    margin-bottom: 40px;
    background-color: #9ACA3C;
    box-shadow: 0px 4px 8px 0px #9ACA3CA3;
    border: none;
    border-radius: 5px;
    width: 332px;
    height: 56px;
    color: #fff;
    font-size: 20px;
}

.advantages {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin: 36px auto 85px;
}

.advantages__item {
    display: flex;
    align-items: center;
    gap: 40px;
    font-weight: 600;
    font-size: 22px;
    color: #000;
}

.type__title {
    font-weight: 600 !important;
    font-size: 28px;
    line-height: 100%;
    text-align: center;
    color: #000;
    margin-bottom: 48px;
}

.type__card {
    box-shadow: 0px 0px 5px 0px #00000040;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    color: #000;
    padding: 33px 33px 40px 33px;
    width: 390px;
    position: relative;
    z-index: 1;
}

.type__card-title {
    font-weight: 600 !important;
    font-size: 22px;
    text-align: center;
    color: #000;
    margin-bottom: 34px;
}

.type__card-container {
    display: flex;
    margin: 0 76px 106px 76px;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 47px;
}

.type__card {
    box-shadow: 0px 0px 5px 0px #00000040;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    color: #000;
    padding: 33px 33px 40px 33px;
    width: 390px;
    height: 514px;
    position: relative;
    background: white;
}

.type__card-title {
    font-weight: 600 !important;
    font-size: 18px;
    text-align: center;
    color: #000;
    margin-bottom: 34px;
}

.type__card-door {
    display: flex;
    align-items: center;
    position: relative;
    width: 256px;
    height: 381px;
}

.type__card-door img {
    max-width: 256px;
    height: 100%;
    object-fit: contain;
    margin-right: auto;
    margin-left: auto;
}

/* Скрываем все двери кроме активной */
.door-image {
    display: none;
}

.door-image.active {
    display: block;
}

/* ПЕРВАЯ КАРТОЧКА - цветные круги */
.color-selector {
    position: absolute;
    right: -25px;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
    gap: 12px;
    align-items: center;
    z-index: 1000;
}

.color-icon {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    cursor: pointer;
    border: 2px solid transparent;
    transition: all 0.2s ease;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    z-index: 100;
}

.color-icon:hover {
    transform: scale(1.1);
    box-shadow: 0 3px 8px rgba(0, 0, 0, 0.2);
}

.color-icon.active {
    border-color: #9ACA3C;
}

.color-icon[data-index="0"] {
    background-color: #9CA3AF; /* Серый */
}

.color-icon[data-index="1"] {
    background-color: #8B4513; /* Коричневый */
}

.color-icon[data-index="2"] {
    background-color: #D2691E; /* Оранжевый */
}
.color-icon[data-index="3"] {
    background-color: white; /* Оранжевый */
}

/* ТРЕТЬЯ КАРТОЧКА - цифры */
.number-selector {
    position: absolute;
    right: -25px;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
    gap: 12px;
    align-items: center;
}

.number-icon {
    width: 40px;
    height: 40px;
    border-radius: 8px;
    cursor: pointer;
    border: 2px solid #E5E5E5;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 18px;
    background: white;
    color: #666;
}

.number-icon:hover {
    transform: scale(1.05);
    border-color: #9CA3AF;
}

.number-icon.active {
    background-color: #84CC16;
    color: white;
    border-color: #84CC16;
}

.mobile-sliders {
    display: none;
}

.doors-color {
    margin: 0 80px;
    display: flex;
    align-items: center;
    flex-direction: column;
    justify-content: center;
}

.doors-color-title {
    font-weight: 600 !important;
    font-size: 28px;
    text-align: center;
    color: #000;
    margin-bottom: 47px;
    width: 650px;
    white-space: normal;
}

.doors-color__image-container {
    display: flex;
    justify-content: center;
    gap: 45px;
    width: 100%;
}

.doors-color__image-container img {
    height: 445px;
    width: auto;
    object-fit: cover;
}


.colors {
    display: flex;
    margin-top: 26px;
    gap: 2px;
}

.door-color {
    width: 52px;
    height: 52px;
    border: none;
}

.colors .active {
    border: 1px solid #A3C626;
    box-shadow: 0 0 10px 0 #9ACA3C;
}

.item1 {
    background-color: #cfbb89;
}

.item2 {
    background-color: #a38e79;
}

.item3 {
    background-color: #fac901;
}

.item4 {
    background-color: #efbd00;
}

.item5 {
    background-color: #e0d7c4;
}

.item6 {
    background-color: #d8c399;
}

.item7 {
    background-color: #e2d1b5;
}

.item8 {
    background-color: #d75537;
}

.item9 {
    background-color: #df693d;
}

.item10 {
    background-color: #9f3c41;
}

.item11 {
    background-color: #95383f;
}

.item12 {
    background-color: #813840;
}

.item13 {
    background-color: #613f43;
}

.item14 {
    background-color: #394c85;
}

.item15 {
    background-color: #2a5e8f;
}

.item16 {
    background-color: #428bb7;
}

.item17 {
    background-color: #4c6843;
}

.item18 {
    background-color: #3b5346;
}

.item19 {
    background-color: #6e9e41;
}

.item20 {
    background-color: #5d6265;
}

.item21 {
    background-color: #706352;
}

.item22 {
    background-color: #9b6a44;
}

.item23 {
    background-color: #a06044;
}

.item24 {
    background-color: #b47365;
}

.contact-us {
    margin: 95px 80px 44px 80px;
}

.contact-us__title {
    margin: 95px 0 48px 0;
    font-weight: 600 !important;
    font-size: 28px;
    color: #000;
    text-align: center;

}

.contact-us__container {
    display: flex;
    justify-content: space-between;
}

.contact-us__form {
    box-shadow: 0px 0px 5px 0px rgba(0, 0, 0, 0.25);
    padding: 40px 36px 40px 25px;
    width: 445px;
    height: auto;
}

.form__title {
    text-align: center;
    font-weight: 600 !important;
    font-size: 22px;
    color: #000;
    margin-bottom: 50px;
}

.contact-us__input-container {
    display: flex;
    flex-direction: column;
    gap: 7px;
}

.contact-us__input {
    display: flex;
    justify-content: right;
    align-items: center;
    gap: 15px;
}

.contact-us__input input {
    text-align: center;
    border: 1px solid rgba(170, 170, 170, 1);
    width: 238px;
    height: 42px;
    border-radius: 6px;
}

.contact-us__input input::placeholder {
    color: rgba(170, 170, 170, 1);
    white-space: pre-line;
    transform: translateY(-10px);
}

.contact-us__input label {
    text-align: right;
    font-size: 16px;
    color: rgba(170, 170, 170, 1);

}

.contact-us__checkbox-container {
    display: flex;
    align-items: center;
    position: relative;
    padding-left: 15px;
    margin: 32px 0 25px 145px;
}

.checkbox-wrapper {
    display: flex;
    align-items: center;
    cursor: pointer;
    color: #263238;
}

.contact-us__checkbox {
    position: absolute;
    opacity: 0;
    cursor: pointer;
    height: 0;
    width: 0;
}

.checkmark {
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 12px;
    height: 12px;
    border: 1px solid rgba(154, 202, 60, 1);
    background-color: white;
    transition: all 0.3s ease;
}

.checkmark:after {
    content: "";
    position: absolute;
    display: none;
    left: 3px;
    bottom: 1px;
    width: 4px;
    height: 8px;
    border: solid white;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}

.contact-us__checkbox:checked ~ .checkmark {
    background-color: rgba(154, 202, 60, 1);
}

.contact-us__checkbox:checked ~ .checkmark:after {
    display: block;
}

.checkbox-label {
    margin-left: 8px;
    font-weight: 400;
    font-size: 13px;

}

.contact-us__checkbox-container a {
    color: rgba(154, 202, 60, 1);
    text-decoration: none;
}

.button-style {
    background: rgba(154, 202, 60, 1);
    border: none;
    color: #fff;
    font-size: 16px;
    text-align: center;
    border-radius: 6px;
    margin: 0 auto;
    display: block;
    width: 240px;
    padding: 12px 0;
}

.contact-us__btn-container {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
}

.contact-us__secondary-form {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.attach-file__btn {
    border: 1px solid #9ACA3C;
    background: none;
    border-radius: 50%;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    margin: 0;
}

.send-message__btn {
    margin: 0;
}

.get-consult__btn {
    width: 100%;
}

.sec-form2 {
    margin: 100px 0 45px 0;
    background: #F7F8FB;
    padding: 61px 145px 61px 70px;
    border-radius: 15px;
}

.form2-top {
    display: flex;
    justify-content: space-between;
}

.form2-title {
    font-size: 48px;
    font-weight: 700 !important;
    color: #9ACA3C;
}

.form2-text {
    margin-top: 20px;
    white-space: pre-line;
    font-size: 32px;
    font-weight: 600 !important;
    color: #000;
}

.input-container2 {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.name-container2, .phone-container2, .configuration-container2, .photo-container2 {
    display: flex;
    gap: 44px;
    justify-content: end;
    color: rgba(143, 150, 176, 1);
    font-size: 24px;
}

.photo-container2 {
    /*gap: normal;*/
}

.name-container2 > label, .phone-container2 > label, .configuration-container2 > label, .photo-container2 > label {
    align-content: center;
}

.name-container2 > input, .phone-container2 > input, .configuration-container2 > input, .photo-container2 > input {
    width: 343px;
}

.red {
    color: #FF0004;
}

.form-control {
    border: 1px solid #8F96B0;
    border-radius: 6px;
    background: #F7F8FB;
    min-height: 50px;
    text-align: center;
    color: #8F96B0;
}

.form-control:hover {
    cursor: pointer;
}

.photo-container2 > input {
    max-width: 278px;
    margin-left: 17px;
}

.add-file {
    cursor: pointer;
    transition: opacity 0.3s ease;
    width: 26px;
    height: 30px;
    margin: auto 0;
}

.add-file:hover {
    opacity: 0.7;
}

.form2-bottom {
    display: flex;
    justify-content: space-between;
    margin-top: 34px;
}

.form2-btn {
    width: 239px;
    height: 50px;
    color: white;
    background: #9ACA3C;
    font-size: 16px;
    border: 1px solid #9aca3c;
    border-radius: 6px;
    font-weight: 600;
    align-items: center;
    white-space: normal;
}

.add-icon-mob {
    display: none;
}

.photo-container2-flex {
    display: flex;
    gap: 22px;
    cursor: pointer;
}

.form2-bottom-mob {
    display: none;
}

.policy-text {
    color: #8F96B0;
    align-content: center;
    /*margin-bottom: 50px;*/
}

.agreement {
    color: #9ACA3C;
}




.sec-free-consult {
    margin: 100px 0;
    background: #F7F8FB;
    border-radius: 15px;
}

.consult-form {
    padding: 0 70px 50px 70px;
}

.consult-title {
    font-size: 48px;
    font-weight: 600 !important;
    margin-bottom: 43px;
    white-space: pre-line;
    color: black;
}

.green-text {
    color: #9ACA3C;
}

.input-container {
    display: flex;
    justify-content: center;
    gap: 80px;
    margin-bottom: 43px;
}

.name-container {
    display: flex;
    gap: 40px;
    color: rgba(143, 150, 176, 1);
    font-size: 24px;
}

.phone-container {
    display: flex;
    gap: 40px;
    color: rgba(143, 150, 176, 1);
    font-size: 24px;
}

.get-consult {
    width: 300px;
    height: 50px;
    color: white;
    background: #9ACA3C;
    font-size: 16px;
    border: 1px solid #9aca3c;
    border-radius: 6px;
    font-weight: 600;
    align-items: center;
    white-space: normal;
}

.policy-text {
    color: #8F96B0;
    align-content: center;
    /*margin-bottom: 50px;*/
}

.agreement {
    color: #9ACA3C;
}


.name-container > label {
    align-content: center;
}

.phone-container > label {
    align-content: center;
}

.map-sec {
    margin: 80px 0;
    padding: 40px 0;
    display: flex;
    align-items: center;
    flex-direction: column;
    justify-content: center;
    background: url("img/map-bg.png") no-repeat center center;
    background-size: cover;

}

.map-title {
    font-weight: 600 !important;
    font-size: 28px;
    text-align: center;
    color: #000;
    margin-bottom: 47px;
}

.map-content {
    display: flex;
    gap: 60px;
}

.cities {
    list-style: -moz-arabic-indic;
}

.city {
    font-size: 24px;
    font-weight: 600 !important;
    line-height: 40px;
    color: #000000;
}

.hidden {
    display: none;
}


.show-models {
    display: flex;
    gap: 20px;
    color: rgb(143, 150, 176);
    justify-content: center;
}

.show-models-btn {
    font-size: 22px;
    display: flex;
    gap: 17px;
    background: #fff;
    cursor: pointer;
    color: rgba(143, 150, 176, 1);
    box-sizing: border-box;
    border-width: 0;
}

/* ============================================ */
/* СТИЛИ ДЛЯ НОРМАЛЬНОГО ПОПАПА */
/* ============================================ */

#popup-overlay1 {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-color: rgba(0, 0, 0, 0.5);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    backdrop-filter: blur(3px);
}

#popup1 {
    position: relative;
    width: 400px;
    max-width: 90vw;
    background-color: #fff;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    animation: popupFadeIn 0.3s ease-out;
}

@keyframes popupFadeIn {
    from {
        opacity: 0;
        transform: scale(0.8) translateY(-20px);
    }
    to {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

.close-button {
    position: absolute;
    top: 15px;
    right: 15px;
    font-size: 24px;
    cursor: pointer;
    color: #999;
    background: none;
    border: none;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.2s ease;
}

.close-button:hover {
    background-color: #f0f0f0;
    color: #333;
}

.popup-title {
    font-size: 20px;
    text-align: center;
    font-weight: 600;
    margin-bottom: 30px;
    margin-top: 10px;
    color: black;
}

.form-group {
    font-size: 16px;
    display: flex;
    gap: 14px;
    align-items: center;
    position: relative;
    /*flex-wrap: wrap;*/
    margin-bottom: 25px;
}

.form-group label {
    display: block;
    color: black;
    margin: auto auto 5px;
    font-size: 16px;
}

#popup1 .form-control {
    width: 100%;
    max-width: 228px;
    padding: 10px;
    max-height: 45px;
    border: 1px solid #ddd;
    border-radius: 5px;
    box-sizing: border-box;
    font-size: 16px;
    transition: border-color 0.2s ease;
}

#popup1 .form-control:focus {
    outline: none;
    border-color: rgba(154, 202, 60, 1);
}

#popup1 .form-control.error {
    border: 1px solid #ff3b30;
}

.error-message {
    color: #ff3b30;
    font-size: 12px;
    margin-top: 4px;
    display: none !important;
    position: absolute;
    width: 100%;
    left: 0;
}

.submit-button {
    width: 100%;
    padding: 15px;
    background-color: rgba(154, 202, 60, 1);
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.2s ease;
    margin-bottom: 15px;
    font-size: 20px;
}

.submit-button:hover {
    background-color: rgba(140, 182, 40, 1);
}

.submit-button:disabled {
    background-color: rgba(154, 202, 60, 0.6);
    cursor: not-allowed;
}

#popup1 .policy-text {
    font-size: 16px;
    color: #8F96B0;
    text-align: center;
    margin-left: 0;
}

.policy-link {
    color: #a4d65e;
    text-decoration: none;
}

.policy-link:hover {
    text-decoration: underline;
}

/* Блокировка скролла когда попап открыт */
body.popup-open {
    overflow: hidden;
    height: 100vh;
}

.map__show-models {
    display: none;
    gap: 20px;
    color: #8F96B0;
    justify-content: flex-start;
    align-items: flex-start;
}

.map__show-models-btn {
    font-size: 16px;
    display: none;
    gap: 17px;
    background: #fff;
    color: #8F96B0;
    box-sizing: border-box;
    border-width: 0;
    margin: 13px;
    .type__card-title {
        font-size: 16px;
    }

    .show-models-btn {
        font-size: 16px;
        margin-top: 16px;
    }

    .show-models-btn img {
        width: 8px;
        height: 15px;
    }

    .map-sec {
        background: none;
    }

    .map-content {
        margin-left: 20px !important;
    }

    .map-content img {
        display: none;
    }

}


.door-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 1000;
}

.door-modal-overlay.active {
    display: flex;
}

.door-modal {
    background: white;
    padding: 30px;
    max-width: 800px;
    width: 90%;
    max-height: 90vh;
    position: relative;
}

.door-modal-close {
    position: absolute;
    top: 15px;
    right: 20px;
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
    color: #999;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.door-modal-close:hover {
    color: #333;
}

.door-modal-content {
    display: flex;
    gap: 30px;
    align-items: flex-start;
    justify-content: center;
}

.door-modal-image {
    flex-shrink: 0;
}

/*.door-modal-door-image {*/
/*    width: 220px;*/
/*    height: 465px;*/
/*}*/

.door-modal-info {
    display: flex;
    flex-direction: column;
    max-width: 340px;
}

.door-modal-title {
    font-size: 24px;
    font-weight: 600 !important;
    margin-bottom: 20px;
    color: black;
    text-align: center;
}

.door-modal-specs {
    /*list-style: ;*/
    margin-bottom: 20px;
}

.door-modal-specs li {
    margin-bottom: 8px;
    font-size: 16px;
}

.door-modal-specs .spec-value {
    color: #9ACA3C;
    font-weight: bold;
}
.door-modal-price__container {
    display: flex;
    gap: 8px;
    align-items: center;
}

.door-modal-price {
    font-size: 18px;
    font-weight: bold;
    color: #333;
}

.door-modal-price__icon {
    position: relative;
    display: inline-block;
    cursor: pointer;
}

.door-modal-price__icon img {
    width: 16px;
    height: 16px;
    display: block;
}

.door-modal-price__icon p {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    background-color: #ffffff;
    border: 1px solid #8F96B0;
    border-radius: 4px;
    padding: 20px;
    font-size: 18px;
    color: #8F96B0;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
    z-index: 1000;
    margin-top: 8px;
    width: 250px;
    height: auto;
}

/* Стрелка всплывающего окна */
.door-modal-price__icon p::after {
    content: '';
    position: absolute;
    bottom: 100%;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 0;
    border: 13px solid transparent;
    border-bottom: 15px solid #8F96B0;
    z-index: 1;
}

/* Белое заполнение стрелки */
.door-modal-price__icon p::before {
    content: '';
    position: absolute;
    bottom: 100%;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 0;
    border: 13px solid transparent;
    border-bottom: 13px solid #ffffff;
    margin-bottom: -1px;
    z-index: 2;
}

.door-modal-price__icon:hover p {
    opacity: 1;
    visibility: visible;
}

.door-modal-btn {
    background: #8BC34A;
    color: white;
    border: none;
    padding: 12px 30px;
    border-radius: 6px;
    font-size: 16px;
    cursor: pointer;
    transition: background 0.2s;
    width: 100%;
    margin-right: auto;
}

.door-modal-btn:hover {
    background: #7CB342;
}

.door-modal__options-btn {
    min-width: 300px;
    background: #fff;
    color: #9ACA3C;
    border: 1px solid #9ACA3C;
    padding: 10px 30px;
    border-radius: 6px;
    margin-bottom: 12px;
    font-weight: 600;
}

.antipanika-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 1000;
}

.antipanika-modal-overlay.active {
    display: flex;
}

.antipanika-modal {
    background: white;
    padding: 50px 75px 90px 75px;
    max-width: 1290px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
}

.antipanika-modal__title {
    text-align: center;
    font-weight: 600 !important;
    font-size: 28px;
    color: #000;
    margin-bottom: 45px;
}


.tab-buttons {
    display: flex;
    justify-content: space-between;
    margin-bottom: 68px;
    position: relative;
}

.tab-button {
    display: flex;
    align-items: center;
    gap: 30px;
    justify-content: center;
    background-color: rgb(233, 234, 239);
    border: none;
    border-radius: 15px;
    cursor: pointer;
    transition: all 0.3s ease;
    min-height: 80px;
    width: 22%;
    position: relative;
}

.tab-number {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color: white;
    color: black;
    border: 1px solid rgb(154, 202, 60);
    border-radius: 50%;
    font-weight: bold;
    transition: all 0.3s ease;
    position: relative;

}

.tab-button.active .tab-number {
    background-color: rgb(154, 202, 60);
    color: white;
    border: none;
}

.tab-button.active .tab-number::before {
    content: '';
    position: absolute;
    width: 52px;
    height: 52px;
    border: 1px solid rgba(154, 202, 60, 0.5);
    border-radius: 50%;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.tab-name {
    font-size: 24px;
    font-weight: 600;
    color: black;
}

.tab-content-container {
    background-color: #E9EAEF;
    width: 100%;
    height: 385px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 20px;
    margin-bottom: 85px;
}

.tab-content {
    background-color: #E9EAEF;
    display: flex;
    flex-direction: column;
    height: auto;
    justify-content: center;
    align-items: center;
    gap: 6px;
}

.tab-content__item {
    color: #000;
    font-size: 20px;
    text-align: center;
    height: 200px;
    max-width: 200px;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
}

#variant1 .tab-content__item:nth-child(3) {
    margin-top: 30px;
}

#variant1 .tab-content__item:nth-child(5) {
    margin-top: -15px;
    padding-top: 20px;
}

#variant2 .tab-content__item:nth-child(3) {
    padding-top: 40px;
    margin-top: -10px;
}

#variant2 .tab-content__item:nth-child(5) {
    margin-top: 35px;
}

#variant2 .tab-content__item:nth-child(7) {
    padding-top: 15px;
    margin-top: -10px;
}

#variant3 .tab-content__item:nth-child(3) {
    padding-top: 65px;
    margin-top: -10px;
}

#variant3 .tab-content__item:nth-child(5) {
    margin-top: 35px;
}

#variant3 .tab-content__item:nth-child(7) {
    padding-top: 15px;
    margin-top: -10px;
}

#variant4 .tab-content__item:nth-child(3) {
    padding-top: 40px;
}

#variant4 .tab-content__item:nth-child(5) {
    padding-top: 30px;
}

.tab-content__item img {
    margin-bottom: auto;
}

.tab-content__sign {
    color: #000;
    font-size: 40px;
}

.tab-content__title {
    display: none;
    font-weight: 600;
    font-size: 14px;
    color: #000;
    margin-bottom: 10px;
}

.tab-content__item-container {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 6px;
    margin: 0 15px;
}

@media screen and (max-width: 430px) {
    .door-modal-price {
        margin-bottom: 13px;
    }
    .show-models{
        display: none;
    }
    .door-modal-specs{
        margin-left: 20px;
        list-style-type:  disc;
        margin-bottom: 20px;
        text-align: start;

    }
    .hero {
        background-image: url('img/bg-mob.png');
        background-size: cover;
        background-position: center;
        height: 183px;
        margin-top: 8px;
    }

    .hero__description {
        width: auto;
        backdrop-filter: none;
        align-items: start;
    }

    .hero__title {
        margin: 10px 0 0 20px;
        font-size: 16px;

    }

    .hero__benefit-container {
        display: none;
    }

    .hero__btn {
        max-width: 203px;
        max-height: 35px;
        margin: 40px 0 0 20px;
        font-size: 14px;
    }

    .advantages {
        display: grid;
        grid-template-columns: 1fr 1fr;
        margin: 0;
    }

    .advantages__item {
        flex-direction: column;
        font-size: 14px;
        gap: 8px;
        margin-bottom: 30px;
        text-align: center;
    }

    .advantages__item img {
        width: 44px;
        height: 61px;
    }

    .sec-form2 {
        margin: 30px 0 60px 0;
        padding: 20px;
    }

    .form2-top {
        display: block;
    }

    .form2-title {
        font-size: 18px;
        font-weight: 700 !important;
    }

    .form2-text {
        margin-top: 10px;
        font-size: 16px;
        white-space: wrap;
        font-weight: 400 !important;
    }

    .input-container2 {
        margin-top: 25px;
    }

    .name-container2, .phone-container2, .configuration-container2, .photo-container2 {
        display: flex;
        gap: 44px;
        justify-content: space-between;
        font-size: 13px;
    }

    .photo-container2 {
        gap: normal;
    }

    .name-container2 > label, .phone-container2 > label, .configuration-container2 > label, .photo-container2-flex > label {
        align-content: center;
    }

    .name-container2 > input, .phone-container2 > input, .configuration-container2 > input, .photo-container2-flex > input {
        min-width: 202px;
        max-width: 202px;
    }

    .photo-container2-flex > input {
        max-width: 165px;
        min-width: 165px;
        margin-left: 11px;
    }

    .add-file {
        display: none;
    }

    .add-icon-mob {
        display: block;
        width: 20px;
        height: 22px;
        margin-top: auto;
    }

    .add-icon-mob :hover {
        opacity: 0.7;
    }

    .form2-bottom {
        display: none;

    }

    .form2-bottom-mob {
        display: flex;
        flex-direction: column;
        justify-content: end;
        margin-top: 34px;
        flex-wrap: wrap;
        align-items: flex-end;
        gap: 31px;
    }

    .form2-btn {
        width: 203px;
        height: 35px;
        font-size: 14px;
    }

    .photo-container2-flex {
        gap: 0;
    }

    .form-control {
        border: 1px solid #8F96B0;
        border-radius: 6px;
        background: #F7F8FB;
        min-height: 29px;
        min-width: 261px;
    }

    .sec-free-consult {
        margin: 0 0 35px;
    }

    .consult-title {
        font-size: 18px;
        margin-bottom: 23px;
        text-align: center;
        color: black;
    }

    .consult-form {
        padding: 0 20px 50px 20px;
    }

    .input-container {
        flex-direction: column;
        justify-content: space-between;
        color: #263238;
        gap: 5px;
        margin-bottom: 43px;
    }


    .name-container, .phone-container {
        justify-content: space-between;
        gap: 20px;
        color: #263238;
        font-size: 14px;
        /*width: 338px;*/
    }

    .get-consult {
        width: 203px;
        height: 35px;
        font-size: 14px;
        margin-left: auto;
        margin-top: 25px;
    }

    .policy-text {
        font-size: 14px;
    }

    #popup1 {
        width: 90vw;
        padding: 20px;
        margin: 20px;
    }

    .popup-title {
        font-size: 20px;
        margin-bottom: 20px;
    }

    .form-group {
        justify-content: space-between;
        align-items: stretch;
        gap: 8px;
    }

    .form-group label {
        margin: 0 0 5px 0;
        text-align: left;
    }

    .doors__color {
        max-width: 338px;
        overflow-x: hidden;
    }

    .door__color {
        width: 33px;
        height: 33px;
    }

    .colors {
        gap: 1px;
    }

    .doors__color-title, .map-title {
        font-size: 18px;
        white-space: normal;
        text-transform: uppercase;
        margin-bottom: 30px;
    }

    .type__card-container {
        margin: 0;
    }

    .type__title {
        font-size: 18px;
        margin-top: 50px;
    }

    .type__card {
        width: 338px;
        margin: 0 auto;
    }

    .type__card-title {
        font-size: 16px;
    }

    .show-models-btn {
        font-size: 16px;
        margin-top: 16px;
    }

    .show-models-btn img {
        width: 8px;
        height: 15px;
    }

    .map-sec {
        background: none;
        margin: 35px 0;
        align-items: flex-start;
    }

    .map-content {
        margin-left: 20px !important;
    }

    .map-content img {
        display: none;
    }

    .cities {
        list-style: none;
    }

    .city {
        font-size: 12px;
        color: #8f96b0;
        text-transform: uppercase;
        line-height: 100%;
        margin-bottom: 10px;
    }

}

@media (max-width: 768px) {

    .mobile-sliders {
        display: block;
    }

    /* Скрываем ПК версию */
    .desktop-version {
        display: none;
    }

    /* Показываем мобильную версию */
    .mobile-slider {
        display: block;
    }

    .mobile-title {
        color: white;
        font-size: 18px;
        font-weight: 600;
        text-align: center;
        margin-bottom: 30px;
        text-transform: uppercase;
    }

    /* Контейнер слайдера */
    .slider-container {
        position: relative;
        overflow: hidden;
        width: 100%;
    }

    .slider-wrapper {
        display: flex;
        transition: transform 0.3s ease;
        width: 600%; /* 6 слайдов × 100% */
    }

    /* Слайд */
    .slide {
        width: 100vw;
        flex-shrink: 0;
        display: flex;
        justify-content: center;
        align-items: center;
        padding: 0 20px;
    }

    /* Карточка внутри слайда */
    .slide-card {
        background: white;
        padding: 40px 30px;
        width: 100%;
        max-width: 338px;
        box-shadow: 0px 0px 5px 0px #00000040;
        display: flex;
        flex-direction: column;
        align-items: center;
        position: relative;
    }

    .slide-title {
        font-size: 18px;
        font-weight: 600;
        color: #000;
        text-align: center;
        margin-bottom: 30px;
        line-height: 1.3;
    }

    .slide-door {
        position: relative;
        width: 180px;
        height: 300px;
        margin-bottom: 20px;
    }

    .slide-door img {
        width: 100%;
        height: 100%;
        object-fit: contain;
        position: absolute;
        top: 0;
        left: 0;
        display: none;
    }

    .slide-door img.active {
        display: block;
    }

    /* Селекторы под картинкой */
    .slide-selectors {
        position: absolute;
        right: 15px;
        top: 50%;
        transform: translateY(-50%);
        display: flex;
        flex-direction: column;
        gap: 15px;
        z-index: 1000;
    }

    /* Цветные круги */
    .color-option {
        width: 28px;
        height: 28px;
        border-radius: 50%;
        cursor: pointer;
        border: 2px solid transparent;
        transition: all 0.2s ease;
        box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    }

    .color-option.active {
        border-color: #9ACA3C;
        transform: scale(1.1);
    }

    .color-option[data-index="0"] { background-color: #9CA3AF; }
    .color-option[data-index="1"] { background-color: #8B4513; }
    .color-option[data-index="2"] { background-color: #FFFFFF; border: 2px solid #E5E5E5; }
    .color-option[data-index="3"] { background-color: #D2691E; }

    /* Цифровые кнопки */
    .number-option {
        width: 32px;
        height: 32px;
        border-radius: 8px;
        cursor: pointer;
        border: 2px solid #E5E5E5;
        transition: all 0.2s ease;
        display: flex;
        align-items: center;
        justify-content: center;
        font-weight: 600;
        font-size: 14px;
        background: white;
        color: #666;
    }

    .number-option.active {
        background-color: #84CC16;
        color: white;
        border-color: #84CC16;
    }

    /* Индикаторы */
    .slider-dots {
        display: flex;
        justify-content: center;
        gap: 8px;
        margin-top: 30px;
    }

    .dot {
        width: 8px;
        height: 8px;
        border-radius: 50%;
        background-color: #8F96B0;
        cursor: pointer;
        transition: all 0.3s ease;
    }

    .dot.active {
        background-color: #84CC16;
        transform: scale(1.2);
    }

    /* Кнопка "Показать все" */
    .show-all-btn {
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 8px;
        margin-top: 40px;
        color: rgba(255, 255, 255, 0.7);
        font-size: 16px;
        cursor: pointer;
        transition: color 0.3s ease;
    }

    .show-all-btn:hover {
        color: white;
    }

    .door-modal-content {
        flex-direction: column;
        text-align: center;
        justify-content: center;
        align-items: center;
    }

    .door-modal {
        padding: 20px;
    }

    .door-modal-info {
        align-items: center;
    }

    .door-modal-info .hero__btn {
        max-width: 300px;
    }

    .antipanika-modal {
        max-height: 100vh;
        padding: 40px 0;
    }

    .door-modal-title {
        font-size: 16px;
    }

    .door-modal-btn {
        margin: 0;
        max-height: 40px;
    }

    .door-modal-image {
        display: none;
    }

    .antipanika-modal__title {
        font-size: 16px;
        margin-bottom: 20px;
    }

    .color-selector, .number-selector {
        right: 5px;
        z-index: 1000;
    }

    .tab-buttons {
        display: none;
    }

    .tab-content-container {
        flex-direction: column;
        height: auto;
        justify-content: flex-start;
        margin-bottom: 10px;
    }

    .tab-content {
        padding: 8px 15px 28px;
        align-items: flex-start;

    }
    .tab-content__item-container {
        flex-wrap: wrap;
        margin: 0;
    }

    .tab-content__title {
        display: block;
        text-align: left;
    }

    .tab-content__item {
        font-size: 12px;
        height: auto;
        max-height: 140px;
    }

    #variant1 .tab-content__item:nth-child(3) {
        margin-top: 0;
    }

    #variant1 .tab-content__item:nth-child(5) {
        margin-top: 0;
        padding-top: 0;
    }

    #variant2 .tab-content__item:nth-child(3) {
        margin-top: 0;
    }

    #variant2 .tab-content__item:nth-child(5) {
        margin-top: 0;
    }

    #variant2 .tab-content__item:nth-child(7) {
        padding-top: 0;
        margin-top: 0;
    }

    #variant3 .tab-content__item:nth-child(3) {
        margin-top: 0;
    }

    #variant3 .tab-content__item:nth-child(5) {
        margin-top: 0;
    }

    #variant3 .tab-content__item:nth-child(7) {
        padding-top: 0;
        margin-top: 0;
    }

    #variant4 .tab-content__item:nth-child(3), #variant4 .tab-content__item:nth-child(5) {
        padding-top: 0;
    }

    #variant2 .tab-content__item:nth-child(3), #variant3 .tab-content__item:nth-child(3) {
        justify-content: space-between;
        min-height: 136px;
        padding-top: 20px;
    }

    #variant4 .tab-content__item:nth-child(3) {
        justify-content: space-between;
        min-height: 110px;
        padding-top: 15px;
    }

    .tab-content__sign {
        font-size: 18px;
    }

    .tab-content__item img, .tab-content-container img {
        max-height: 119px;
    }

    .porogi {
        margin-top: 10px;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
    }

    .doors-color-title {
        font-size: 18px;
        text-transform: uppercase;
        margin: 0 auto 20px;
        width: auto;
        white-space: pre-line;
    }

    .door-middle {
        display: none;
    }

    .door-left {
        display: none;
    }

    .door-right {
        width: 100%;
        margin: 0 10px;
    }

    .doors-color {
        align-items: flex-start;
    }

    .colors {
        gap: 2px;
        margin: 20px 10px;
        display: inline-flex;
        white-space: nowrap;
    }

    .door-color {
        flex-shrink: 0;
    }

    .colors-container {
        width: 100%;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }

    .map-content {
        display: none;
    }

    .map__show-models {
        display: flex;
    }

    .map__show-models-btn {
        display: flex;
    }
}