main {
    max-width: 1440px;
    color: black;
    margin: auto;
}

.uppercase {
    text-transform: uppercase;
}

button:hover {
    cursor: pointer;
    background: #FEFEFE;
    color: #9ACA3C;
}

.sec-non-st {
    display: flex;
    justify-content: space-between;
    justify-items: center;
    white-space: pre-line;
    /*margin-top: 36px;*/
    max-width: 1200px;
    margin: 36px auto 0 auto;
}

.non-st {
    display: flex;
    flex-direction: column;
    gap: 35px;
}


.size {
    height: 54px;
    width: 110px;
}

.non-st-title {
    font-size: 48px;
    font-weight: 700 !important;
    margin-top: 36px;
}

.non-st-text {
    font-size: 32px;
    font-weight: 600;
    color: #8F96B0;
}

.non-st-btn1 {
    width: 280px;
    height: 50px;
    color: white;
    background: #9ACA3C;
    font-size: 20px;
    border: 1px solid #9ACA3C;
    border-radius: 6px;
    font-weight: 600;
    align-items: center;
    white-space: normal;
}

@media screen and (max-width: 430px) {
    .sec-non-st {
        margin: 0 auto 0 auto;
        justify-content: center;
    }

    .sec-1-img, .non-st-btn1 {
        display: none;
    }

    .non-st {
        text-align: center;
        gap: 5px;
    }

    .non-st-title {
        font-size: 26px;
        margin-top: 0;
    }

    .non-st-text {
        font-size: 16px;
        color: #8F96B0;
    }
}

.sec-roll-numb {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-top: 96px;
    background: #F7F8FB;
}

.sec-roll-numb-title {
    color: #303B3F;
    font-size: 32px;
    font-weight: 600 !important;
    padding: 50px 0;
}

.sec-roll-numb-container {
    display: flex;
    justify-content: center;
    gap: 118px;
    margin-bottom: 50px;
}

.sec-roll-numb-content {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.sec-roll-numb-content > .numb {
    font-size: 48px;
    text-align: center;
    color: #9ACA3C;
    font-weight: 600 !important;
}

.sec-roll-numb-content > .numb-title {
    white-space: pre-line;
    font-size: 24px;
    text-align: center;
    font-weight: 400;
}


/* Десктоп-стили по умолчанию */
.mobile-content {
    display: none;
}

/* Мобильные стили */
@media screen and (max-width: 430px) {
    .desktop-content {
        display: none;
    }

    .sec-roll-numb {
        margin-top: 30px;
    }

    .mobile-content {
        display: block;
        text-align: center;
        flex-basis: calc(50% - 10px);
        max-width: 150px;
    }

    .sec-roll-numb-title {
        color: #303B3F;
        font-size: 16px;
        padding: 17px 0;
        text-align: center;
        text-transform: uppercase;
        white-space: pre-line;
    }

    .sec-roll-numb-container {
        display: flex;
        justify-content: center;
        gap: 20px;
        margin-bottom: 10px;
        flex-wrap: wrap;
    }

    .mobile-content > .numb {
        font-size: 24px;
        font-weight: 700;
        color: #8BC34A;
        margin-bottom: 5px;
    }

    .mobile-content > .numb-title {
        white-space: pre-line;
        font-size: 13px;
    }
}

.sec-configuration {
    display: flex;
    justify-content: space-between;
    margin-top: 100px;
    position: relative;
}

.configuration-img-container {
    position: relative;
    display: flex;
    align-items: center;
    width: 100%;
    gap: 20px;
}

.configuration-img-container img {
    max-width: 100%;
    height: auto;
}

.dimension-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

.sec-3-door {
    position: absolute;
    top: 15px;
    left: 95px;
}

.width-dimension,
.height-dimension {
    position: absolute;
    color: black;
    font-size: 16px;
}

.width-dimension {
    bottom: -40px;
    left: 190px;
}

.height-dimension {
    top: 50%;
    left: -60px;
    transform: rotate(-90deg) translate(-50%, 50%);
    transform-origin: left center;
}

.configuration-types-container {
    display: flex;
    flex-direction: column;
    align-items: end;
}

.configurations-title {
    color: #8F96B0;
    font-size: 32px;
    font-weight: 600 !important;
    text-transform: uppercase;
}

.configuration-types {
    width: 494px;
    display: flex;
    flex-direction: column;
    /*gap: 32px;*/
    margin-top: 34px;
}

.configuration-type {
    font-size: 16px;
    color: #000000;
    text-transform: uppercase;
    align-content: center;
    height: 50px;
    border-bottom: 1px solid #8F96B0;
}

.configuration-type:hover {
    cursor: pointer;
    color: #9ACA3C;
}

.configuration-type.active {
    color: #9ACA3C;

}

.configuration-type:last-child {
    border-bottom: none;
}

.time-execution {
    display: flex;
    color: #8F96B0;
    font-weight: 400;
    gap: 4px;
    margin-top: 40px;
}

.time-execution-img {
    width: 12px;
    height: 12px;
}


@media screen and (max-width: 430px) {
    .sec-configuration {
        margin-top: 30px;
    }

        .configuration-types-container {
        display: none;
    }

    .configuration-img-container {
        justify-content: center;
    }

    .configuration-img-container img {
        height: auto;
    }

    .configuration-img-container img:first-child {
        max-width: 316px;
    }

    .configuration-img-container img:nth-child(2n) {
        max-width: 182px;
    }

    .sec-3-door {
        top: 35px;
        left: 117px;
    }

    .width-dimension {
        bottom: -25px;
        left: 115px;
    }

    .height-dimension {
        left: 25px;
    }

    .width-dimension, .height-dimension {
        font-size: 14px;
        text-transform: none;
    }
}

.sec-free-consult {
    margin-top: 100px;
    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;
}

.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;
}

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

.form-control:hover {
    cursor: pointer;
}
.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;
}

@media screen and (max-width: 430px) {
    .sec-free-consult {
        margin-top: 47px;
    }

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

    .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;*/
    }

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

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

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

}

.sec-colors {
    display: flex;
    flex-direction: column;
    gap: 55px;
    margin-top: 100px;
}

.colors-title {
    font-size: 32px;
    color: #8F96B0;
    font-weight: 600 !important;
}

.colors-container {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.colors-text {
    color: #1E1E1E;
    font-size: 24px;
}

.colors-img {
    display: flex;
    gap: 7px;
    overflow-x: hidden;
    max-height: 54px;
    width: auto;
}

.colors-img img {
    width: 110px;
    height: 54px;
}

@media screen and (max-width: 430px) {
    .sec-colors {
        gap: 25px;
        max-width: 335px;
        margin: 23px auto 0 auto;
    }

    .colors-title {
        font-size: 18px;
    }

    .colors-container {
        gap: 8px;
    }

    .colors-text {
        color: #1E1E1E;
        font-size: 14px;
    }

    .colors-img {
        gap: 4px;
    }

    .colors-img img {
        height: 25px;
        width: auto;
    }
}

.desktop-version, .mobile-version {
    display: block;
}

.sec-choice {
    margin-top: 100px;
}

.choice-title {
    font-size: 32px;
    color: #8F96B0;
    font-weight: 600 !important;
}

.choice-text-container {
    display: flex;
    flex-direction: column;
    gap: 30px;
    margin-top: 50px;
    list-style: none;
    padding-left: 0;
}

.choice-text {
    font-size: 24px;
    color: black;
    position: relative;
    padding-left: 70px;
    margin-bottom: 10px;
}

.choice-text::before {
    content: '';
    position: absolute;
    left: 0;
    top: 8px;
    width: 10px;
    height: 10px;
    background-color: rgb(154, 202, 60);
    border-radius: 50%;
}

.choice-text-bold {
    font-weight: 600;
}

.choice-more {
    margin-top: 24px;
    font-size: 24px;
    color: #9ACA3C;
    padding-left: 70px;
    text-transform: lowercase; /* По умолчанию маленькими буквами */

}

.hidden-text {
    display: none;
}

.choice-more:hover {
    cursor: pointer;
}

.mobile-version {
    display: none;
}

.m-sec-choice {
    max-width: 338px;
    margin: 50px auto 0 auto;
}

.m-choice-title {
    font-size: 18px;
    color: #8F96B0;
    font-weight: 600 !important;
    text-transform: uppercase;
}

.m-choice-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-top: 25px;
    list-style: none;
    padding-left: 0;
}

.m-choice-item {
    font-size: 14px;
    color: black;
    position: relative;
    padding-left: 22px;
    margin-bottom: 0;
}

.m-choice-item::before {
    content: '';
    position: absolute;
    left: 0;
    top: 5px;
    width: 5px;
    height: 5px;
    background-color: rgb(154, 202, 60);
    border-radius: 50%;
}

.m-choice-bold {
    font-weight: 600;
}

.m-choice-more {
    margin-top: 12px;
    font-size: 14px;
    color: #9ACA3C;
    cursor: pointer;
}

.m-hidden {
    display: none;
}

/* Медиа-запрос для переключения между версиями */
@media screen and (max-width: 430px) {
    .desktop-version {
        display: none;
    }

    .mobile-version {
        display: block;
    }
}

.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-text-container {

}

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

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

.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;
}

.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;
}

@media screen and (max-width: 430px) {
    .sec-form2 {
        margin: 30px 0 60px 0;
        padding: 20px;
    }

    .form2-top {
        display: block;
    }

    .form2-text-container {

    }

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

    .form2-text {
        margin-top: 21px;
        font-size: 14px;
        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;
        color: black;
        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;
    }
}

.sec-examples {
    display: flex;
    justify-content: space-between;
    align-content: center;
    margin: 90px auto 106px auto;
    background: #F7F8FB;
    border-radius: 15px;
}

.example-text-container {
    padding: 35px 103px 60px 0;
}

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

.example-text {
    white-space: pre-line;
    font-size: 32px;
    font-weight: 600 !important;
    margin-top: 12px;
}

.catalog-btn {
    width: 483px;
    height: 74px;
    color: white;
    background: #9ACA3C;
    font-size: 32px;
    border: 1px solid #9aca3c;
    border-radius: 6px;
    font-weight: 600;
    align-items: center;
    white-space: normal;
    margin-top: 75px;
}

.red {
    color: #FF0004;
}

.desc-hide {
    display: none;
}

@media screen and (max-width: 430px) {
    .sec-examples {
        display: none;
    }

    .catalog-btn {
        margin-left: calc(50% - 140px);
        font-size: 16px;
        width: 281px;
        height: 50px;
    }

    .desc-hide {
        display: block;
        margin-top: 27px;
    }

    .choice-more {
        text-transform: capitalize; /* На десктопе с заглавной */

    }
    }

/* Промежуточный адаптив для планшетов и средних экранов */
@media screen and (min-width: 431px) and (max-width: 992px) {
    /* Общие стили */
    main {
        max-width: 100%;
        padding: 0 20px;
    }

    /* Секция non-st */
    .sec-non-st {
        max-width: 100%;
        padding: 0 20px;
    }

    .non-st-title {
        font-size: 36px;
    }

    .non-st-text {
        font-size: 24px;
    }

    /* Секция счетчиков */
    .sec-roll-numb-container {
        gap: 50px;
        flex-wrap: wrap;
    }

    .sec-roll-numb-content > .numb {
        font-size: 36px;
    }

    .sec-roll-numb-content > .numb-title {
        font-size: 18px;
    }

    /* Секция конфигураций */
    .sec-configuration {
        flex-direction: column;
    }

    .configuration-types-container {
        align-items: center;
        margin-top: 40px;
    }

    .configurations-title {
        font-size: 28px;
    }

    .configuration-types {
        width: 100%;
        max-width: 500px;
    }

    /* Секция бесплатной консультации */
    .consult-title {
        font-size: 36px;
    }

    .input-container {
        flex-direction: column;
        gap: 30px;
    }

    .name-container, .phone-container {
        font-size: 18px;
    }

    /* Секция выбора */
    .sec-choice {
        margin-top: 70px;
    }

    .choice-title {
        font-size: 28px;
    }

    .choice-text {
        font-size: 18px;
        padding-left: 50px;
    }

    .choice-text::before {
        width: 8px;
        height: 8px;
    }

    .choice-more {
        font-size: 18px;
        padding-left: 50px;
    }

    /* Секция цветов */
    .colors-title {
        font-size: 28px;
    }

    .colors-text {
        font-size: 18px;
    }

    /* Вторая форма */
    .sec-form2 {
        padding: 40px;
    }

    .form2-title {
        font-size: 36px;
    }

    .form2-text {
        font-size: 24px;
    }

    .name-container2, .phone-container2, .configuration-container2, .photo-container2 {
        font-size: 18px;
        gap: 20px;
    }

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

    .photo-container2 > input {
        max-width: 200px;
    }

    /* Секция примеров */
    .sec-examples {
        flex-direction: column;
        margin: 60px auto;
    }

    .example-text-container {
        padding: 30px;
    }

    .example-title {
        font-size: 36px;
    }

    .example-text {
        font-size: 24px;
    }

    .catalog-btn {
        width: 350px;
        height: 60px;
        font-size: 24px;
        margin-top: 40px;
    }
}

/* Улучшенные стили форм для экранов от 431px до 700px */
@media screen and (min-width: 431px) and (max-width: 700px) {
    /* Форма бесплатной консультации */
    .sec-free-consult {
        margin-top: 60px;
    }

    .consult-form {
        padding: 30px 25px 40px 25px;
        max-width: 600px;
        margin: 0 auto;
    }

    .consult-title {
        font-size: 28px;
        text-align: center;
        margin-bottom: 30px;
    }

    .input-container {
        display: flex;
        flex-direction: column;
        gap: 25px;
        max-width: 450px;
        margin: 0 auto 35px auto;
    }

    .name-container, .phone-container {
        display: flex;
        flex-direction: column;
        gap: 10px;
        width: 100%;
    }

    .name-container > label, .phone-container > label {
        font-size: 18px;
        color: #8F96B0;
    }

    .form-control {
        width: 100%;
        min-height: 45px;
        padding: 0 10px;
        font-size: 16px;
    }

    .get-consult {
        width: 250px;
        height: 45px;
        display: block;
        margin: 0 auto;
        font-size: 16px;
    }

    .policy-text {
        text-align: center;
        font-size: 14px;
        margin-top: 20px;
        max-width: 450px;
        margin-left: auto;
        margin-right: auto;
    }

    /* Вторая форма */
    .sec-form2 {
        margin: 60px 0 40px 0;
        padding: 30px 25px;
        max-width: 600px;
        margin-left: auto;
        margin-right: auto;
    }

    .form2-top {
        display: flex;
        flex-direction: column;
    }

    .form2-text-container {
        text-align: center;
        margin-bottom: 30px;
    }

    .form2-title {
        font-size: 28px;
        text-align: center;
        margin-bottom: 15px;
    }

    .form2-text {
        font-size: 18px;
        white-space: normal;
        line-height: 1.4;
    }

    .input-container2 {
        display: flex;
        flex-direction: column;
        gap: 20px;
        max-width: 450px;
        margin: 0 auto;
    }

    .name-container2, .phone-container2, .configuration-container2 {
        display: flex;
        flex-direction: column;
        gap: 10px;
        width: 100%;
    }

    .name-container2 > label, .phone-container2 > label, .configuration-container2 > label {
        font-size: 18px;
        color: #8F96B0;
    }

    .name-container2 > input, .phone-container2 > input, .configuration-container2 > input {
        width: 100%;
        min-height: 45px;
        border: 1px solid #8F96B0;
        border-radius: 6px;
        background: #F7F8FB;
        padding: 0 10px;
        font-size: 16px;
    }

    .photo-container2 {
        display: flex;
        flex-direction: column;
        gap: 10px;
        width: 100%;
    }

    .photo-container2-flex {
        display: flex;
        align-items: center;
        gap: 15px;
    }

    .photo-container2 > label {
        font-size: 18px;
        color: #8F96B0;
    }

    .photo-container2-flex > input {
        flex-grow: 1;
        min-height: 45px;
        border: 1px solid #8F96B0;
        border-radius: 6px;
        background: #F7F8FB;
        padding: 0 10px;
        font-size: 16px;
    }

    .add-file {
        display: block;
        cursor: pointer;
    }

    .form2-bottom {
        display: flex;
        flex-direction: column;
        align-items: center;
        margin-top: 30px;
    }

    .form2-btn {
        width: 250px;
        height: 45px;
        font-size: 16px;
    }

    .policy-text {
        margin-top: 20px;
    }
}