.stairs_panels {
    width: 300px;
    padding: 45px;
    background-color: white;
    border-radius: 20px;
    border: 1px solid #E3E4E8;
}

.stairs_panels .stairs_panels__title {
    font-weight: 700;
    font-size: 1.2em;
    color: black;
}

.stairs_panels .stairs_panels__block {
    margin-bottom: 20px;
}

.stairs_panels .stairs_panels__type {
    display: block;
    font-size: 1em;
    color: black;
    text-decoration: none;
    background-color: #fff;
    padding: 0;
    margin: 10px 0;
    border: none;
}

.stairs_panels .stairs_panels__type:hover {
    display: block;
    font-size: 1em;
    color: black;
}

.header_index {
    margin-top: 60px;
    margin-bottom: 70px;
}

.header_index__left_content {
    width: 350px;
    margin-right: 130px;
    text-align: justify;
}

.header_index img {
    width: 0;
    object-fit: cover;
    height: 550px;
}

h1 {
    font-size: 60px;
    line-height: 76px;
    margin: 0;
    margin-bottom: 20px;
    text-align: center;
}

.header_index__left_content .button {
    padding: 30px;
    width: 100%;
    font-size: 1.5rem;
}

.header_index__left_content__button_content {
    margin-top: 30px;
    width: 400px;
    margin-left: -30px;
}

.header_index__contacts {
    margin-top: 10px;
    font-size: 0.7rem;
}

.header_index__contacts > * {
    margin: 0 10px;
}

.header_index__phone {
    font-weight: 700;
    font-size: 1.1rem;
}

.our_works {
    margin-left: 100px;
    width: 100%;
}

h2 {
    font-weight: 700;
    font-size: 36.48px;
    line-height: 44px;
    text-transform: uppercase;
    text-align: center;
    color: black;
}

.our_work__content {
    margin-top: 38px;
}

#carouselOurWorks .carousel-item {
    width: 100%;
}

#carouselOurWorks img {
    height: 600px;
    object-fit: cover;
}

#carouselOtherOurWorks img {
    height: 400px;
    object-fit: cover;
}

.our_works__nav_button {
    max-width: 295px;
    width: 30%;

}

.our_works__navbar {
    margin-top: 10px;
}

.show-all-works {
    min-height: 52px;
    margin-left: 20px;
}

.header__main_button {
    text-transform: uppercase;
    border-radius: 100px;
}

.about-us__block {
    background-color: black;
    border-radius: 20px;
    padding: 50px 40px;
    color: white;
    font-size: 1.15em;
    height: fit-content;
    width: 500px;
    position: absolute;
    left: 50%;
    /* top: 50px; */
    margin-top: -331px;
    transform: translate(-50%, 0);
}

.about-us h2 {
    color: white;
    margin-bottom: 20px;
}

.about-us img {
    object-fit: cover;
    width: 100%;
    height: 500px;
    border-radius: 0;
    /* position: relative; */
    /* left: 50px; */
}

.about-us  {
    margin-top: 200px;
}

.reviews img {
    object-fit: cover;
    width: 100%;
    height: 350px;
}

.reviews {
    margin-top: 400px;
}

.reviews h2 {
    text-align: center;
    margin-bottom: 50px;
}

.review {
    margin: 0 10px;
    cursor: pointer;
}

.review_text_block {
    margin: 0 auto;
    position: relative;
    bottom: 120px;
    width: 80%;
    height: 249px;
    padding: 32px;
    background: #FFFFFF;
    box-shadow: 0px 9px 32px rgba(89, 92, 219, 0.05);
    border-radius: 16px;
}

.reviews__person img {
    width: 40px;
    height: 40px;
    border-radius: 50%;
}

h3 {
    font-weight: 600;
    font-size: 20px;
    line-height: 25px;
    text-transform: capitalize;
    color: black;
}

.reviews p {
    font-style: normal;
    font-weight: 400;
    font-size: 14px;
    line-height: 24px;
    color: black;
    opacity: 0.75;
    flex: none;
    order: 1;
    flex-grow: 0;
}

.reviews__person h4 {
    margin: 0;
    font-style: normal;
    font-weight: 500;
    font-size: 14px;
    color: black;
    flex: none;
    order: 0;
    align-self: stretch;
    flex-grow: 0;
}

.reviews__person__text {
    margin-left: 20px;
}

.our_pluses h3 {
    text-transform: uppercase;
    text-align: center;
}

.our_pluses__block {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    margin: 0 20px;
}

.our_pluses__block img {
    margin-bottom: 20px;
}

.our_pluses {
    margin-top: 200px;
}

.our_articles__left_block img {
    width: 230px;
    min-width: 230px;
    height: 150px;
    object-fit: cover;
}

.our_articles__left_block {
    margin-bottom: 70px;
    max-width: 600px;
    text-decoration: none;
    color: black;
}

.our_articles__left_block__text {
    margin-left: 20px;
}

.our_articles__header {
    font-style: normal;
    font-weight: 500;
    font-size: 18px;
    line-height: 32px;
    text-transform: capitalize;
    color: black;
}

.our_articles {
    margin-top: 200px;
}

.our_articles__right_block {
    max-width: 550px;
    display: block;
    width: 70vh;
    text-decoration: none;
}

.our_articles__right_block img {
    height: 300px;
    object-fit: cover;
    width: 100%;
}

.our_articles__right_block__text .our_articles__header {
    margin-top: 20px;
    font-style: normal;
    font-weight: 500;
    font-size: 24px;
    text-transform: capitalize;
    color: black;
}

.our_articles__right_block__text .our_articles__description {
    font-weight: 400;
    font-size: 14px;
    line-height: 24px;
    color:  black;
    opacity: 0.75;
}

.end_description {
    margin-top: 200px;
}

.end_description h3 {
    font-style: normal;
    font-weight: 700;
    font-size: 30.968px;
    line-height: 37px;
    color: black;
    text-transform: inherit;
}

.end_description__block {
    margin-bottom: 30px;
}

.end_description__block p {
    margin-bottom: 0;
}

.header-head {
    color: black;
}

@media only screen and (max-width: 1200px) {

}

.review_modal {
    max-width: 620px;
}

.model__review__text {
    font-size: 20px;
    line-height: 24px;

    color: #575B5E;

    opacity: 0.75;
    margin-bottom: 40px !important;
}


.review_modal a {
    margin-left: auto;
    /* position: absolute; */
    /* height: 30px; */
    left: 59.64%;
    right: 12.65%;
    top: 440px;
    /* font-family: 'Lato'; */
    /* font-style: normal; */
    font-weight: 400;
    font-size: 17px;
    line-height: 30px;
    color: black;
}

.header__mobile_main_image {
    display: none;
}

.reviews__content {
    display: flex;
    flex-direction: row;
}


@media only screen and (max-width: 600px) {
    .header_index.content.d-flex {
        display: block !important;
    }

    .header_index img.flex-fill {
        width: 100%;
    }

    .header_index h1 {
        font-weight: 700;
        font-size: 35px;
        line-height: 43px;
        letter-spacing: 1.4px;
        text-transform: uppercase;
        color: #000000;
    }

    .header_index__left_content__button_content {
        width: auto;
    }

    .header_index img {
        height: auto;
        aspect-ratio: 1 /1;
        margin-top: 20px;
        width: inherit;
    }

    .header__mobile_main_image {
        display: block;
    }

    .header__desktop_main_image {
        display: none;
    }

    button.button.header__main_button {
        padding: 14px;
        font-size: 1.2rem;
    }

    .header_index__left_content__button_content {
        margin-top: 20px;
    }

    button.button.header__main_button {
        border-radius: 15px;
        width: 86%;
        left: 50%;
        position: relative;
        transform: translateX(-50%);
    }

    .header_index__contacts,
    .header_index__phone.d-flex.justify-content-center {
        display: none !important;
    }

    .content.d-flex.justify-content-start.align-items-stretch {
        display: block !important;
    }

    .stairs_panels {
        width: 100%;
        display: none;
    }

    #carouselOurWorks img {
        height: auto;
        aspect-ratio: 1 / 0.8;
    }

    a.button.outline-button.show-all-works {
        /* font-size: 0.8rem; */
        margin: 0;
        /* margin-bottom: 51px !important; */
        position: relative;
        /* margin-top: 43px; */
        top: 22px;
    }

    .carousel-indicators [data-bs-target] {
        height: 3px !important;
        width: 11px !important;
    }

    .our_works__nav_button {
        font-size: 0px;
    }

    .our_works {
        margin: 0;
    }

    .carousel-indicators.circle_nav {
        margin: 0 10px;
    }

    #carouselOtherOurWorks img {
        height: auto;
        aspect-ratio: 1 / 0.7;
    }

    .about-us__block {
        position: relative;
        width: 90%;
        margin-top: -450px;
    }

    .content.reviews {
        margin-top: 200px;
    }

    .content.our_pluses.d-flex.justify-content-center {
        margin-top: 100px;
        display: block !important;
    }

    .our_pluses__block {
        width: auto;
        margin: 0;
        margin-bottom: 48px;
    }

    .our_pluses__block img {
        margin-bottom: 20px;
        width: 100px;
        border-radius: 0;
    }

    .our_pluses__block__add_from {
        margin-top: 10px !important;
    }

    h2 {
        font-size: 1.9rem;
    }

    .d-flex.justify-content-between {
        display: block !important;
    }

    a.our_articles__left_block.d-flex.justify-content-start.align-items-center {
        max-width: fit-content;
        display: block !important;
    }

    .our_articles__left_block img {
        width: 100%;
        min-height: auto;
    }

    .our_articles__left_block__text {
        margin: 0;
        margin-top: 3px;
    }

    .d-flex.justify-content-between {
        margin-top: 51px !important;
        display: block !important;
    }

    .other_articles {
        margin: 0 !important;
    }

    .our_articles__right_block {
        display: none;
    }

    .image_carousel.d-flex.justify-content-between.align-items-center.flex-fill {
        display: flex !important;
        margin: 0 !important;
    }

    .our_works__navbar.d-flex.justify-content-between.align-items-center {
        margin-top: 10px !important;
    }

    .reviews__content {
        flex-direction: column;
    }

    .review_text_block {
        width: 90%;
        margin-top: -130px;
        height: auto;
    }

    .review_text_block p.city {
        margin-bottom: 0;
    }

    .reviews__content__block {
        margin-top: -65px;
    }

    .reviews__content__block:first-child {
        margin-top: 0;
    }

    .header_index__left_content {
        width: inherit;
    }
}