.block__header {
    margin-bottom: 40px;
}
.block__main-title {
    margin-top: 0;
    margin-bottom: 20px;
    font-size: 53px;
    line-height: 63px;
}
.block__main-title-text {
    display: block;
    color: #238976;
}
.block__main-subtitle {
    font-size: 23px;
    line-height: 50px;
    color: #f5f5f5;
}
.block__main-subtitle-value {
    background-color: #333;
    padding: 10px 25px;
}

.block__title {
    font-size: 49px;
    line-height: 59px;
    margin: 0 0 10px;
    color: #333;
}

.block-hero {
    padding-top: 100px;
    padding-bottom: 240px;
    background-color: #fff;
    background-position: top center;
    background-repeat: no-repeat;
    background-size: cover;
    background-image: url('../img/main_page/bg_hero.jpg');
}
.block-hero__header {
    padding-right: 20px;
}

.block-hero__btn-wrapper {
    display: flex;
}
.block-hero__btn {
    width: auto;
    padding: 0px 50px;
    height: 59px;
    font-size: 17px;
    line-height: 19px;
}

.block-flat__container{
    padding: 60px 90px 30px;
    margin: -130px -90px 60px;
    background: #fff;
    border-radius: 20px;
    box-shadow: 0 0 40px rgba(0, 0, 0, 0.25);
}

.block-flat__item {
    text-align: center;
    margin-bottom: 30px;
}
.block-flat__item-bg {
    height: 110px;
    margin-bottom: 20px;
    background-position: center;
    background-repeat: no-repeat;
    background-size: contain;
}
.block-flat__item-title {
    margin-bottom: 10px;
    font-size: 19px;
    line-height: 22px;
    font-weight: 700;
}
.block-flat__item-text {
    font-size: 16px;
    line-height: 22px;
}

.block-steps{
    padding-top: 40px;
    margin-bottom: 100px;
    padding-bottom: 0;
    background-position: top center;
    background-repeat: no-repeat;
    background-image: url('../img/main_page/bg_steps.png');
}
.block-steps__block-header {
    text-align: center;
    margin-bottom: 60px;
}

.block-steps-items {
    margin-bottom: 40px;
}
.block-steps__item {
    text-align: center;
    margin-bottom: 30px;
}
.block-steps__item-bg {
    height: 110px;
    margin-bottom: 20px;
    background-position: center;
    background-repeat: no-repeat;
    background-size: contain;
}
.block-steps__item-text {
    font-size: 16px;
    line-height: 22px;
}
.block-steps__description-wrapper {
    text-align: center;
}
.block-steps__description {
    box-shadow: 0px 13px 29px 0px rgb(34 60 80 / 10%);
    display: inline-block;
    border: 3px dashed #038A06;
    padding: 20px 40px;
    border-radius: 11px;
    font-size: 25px;
    line-height: 39px;
}

.block-banner {
    padding-top: 55px;
    padding-bottom: 47px;
    margin-bottom: 100px;
    background-position: top center;
    background-repeat: no-repeat;
    background-image: url('../img/main_page/bg_banner.jpg');
}
.block-banner__header {
    margin-bottom: 30px;
}
.block-banner__title {
    color: #fff;
    margin-bottom: 30px;
}
.block__header-line {
    width: 150px;
    height: 10px;
    background-color: #999;
}
.block-banner__text {
    font-size: 18px;
    line-height: 30px;
    color: #e8e8e8;
    margin-bottom: 40px;
}
.block-banner__btn-wrapper{
    display: flex;
}
.block-banner__btn {
    width: auto;
    padding: 0px 50px;
    height: 59px;
    font-size: 17px;
    line-height: 19px;
}


@media (min-width: 1200px) {

}
@media (max-width: 1399.98px) {

    .block-hero {
        padding-bottom: 60px;
    }
    .block-flat__container {
        padding: 40px 0 30px;
        margin: 0 0 0;
        box-shadow: none;
    }
}

@media (max-width: 1199.98px) {
    .block__main-title {
        font-size: 48px;
        line-height: 58px;
    }
    .block__main-subtitle {
        font-size: 20px;
    }
    .block-hero__header {
        padding: 0;
    }
}

@media (max-width: 991.98px) {
    .block-flat__container{
        padding-bottom: 0;
    }
    .block-flat__item-title {
        font-size: 16px;
    }
    .block-flat__item-text {
        font-size: 12px;
        line-height: 17px;
    }
    .block-steps {
        background-image: url('../img/main_page/bg_steps-mob.png');
    }
    .block__title {
        font-size: 39px;
        line-height: 45px;
    }
    .block-steps{
        padding-top: 0;
    }
    .block-steps-items {
        margin-bottom: 0;
    }
    .block-steps__item-text {
        font-size: 15px;
    }
    .block-steps__description {
        padding: 15px 25px;
        font-size: 18px;
        line-height: 25px;
    }
}

@media (max-width: 767.98px) {

    .block__main-title {
        font-size: 38px;
        line-height: 48px;
    }

    .block__title {
        font-size: 29px;
        line-height: 35px;
    }
    .block-hero {
        padding-top: 30px;
        background-image: url('../img/main_page/bg_hero-mob.jpg');
    }
    .block-hero__btn-wrapper {
        justify-content: center;
    }
    .block-hero__header {
        text-align: center;
    }
    .block__main-subtitle-value{
        display: block;
        padding-top: 0;
        padding-bottom: 0;
    }

    .block-flat {
        margin-bottom: 20px;
    }
    .block-flat__container {
        padding-top: 0;
    }

    .block-flat__item {
        text-align: left;
        display: flex;
        flex-wrap: wrap;
        margin-bottom: 20px;
    }
    .block-flat__item-bg {
        flex: 0 0 80px;
        height: 60px;
        margin-right: 15px;
        margin-bottom: 0;
    }
    .block-flat__item-content {
        flex: 1 0 0;
    }
    .block-flat__item-title {
        margin-bottom: 2px;
    }

    .block-steps{
        margin-bottom: 40px;
    }
    .block-steps__block-header {
        margin-bottom: 30px;
    }
    .block-steps-items {
        margin-bottom: 30px;
    }
    .block-steps__item{
        display: flex;
        text-align: left;
        margin-bottom: 15px;
    }
    .block-steps__item-text {
        align-self: center;
    }
    .block-steps__item-bg {
        flex: 0 0 80px;
        height: 60px;
        margin-right: 15px;
        margin-bottom: 0;
    }

    .block-banner{
        padding-top: 0;
        padding-bottom: 0;
        text-align: center;
        background-image: url('../img/main_page/bg_banner-mob.jpg');
    }
    .block-banner__title,
    .block-banner__text{
        color: #333;
    }
    .block-banner__header-line {
        display: none;
    }
    .block-banner__btn-wrapper {
        justify-content: center;
    }
    
    
}
@media (max-width: 575.98px) {
    
    .block-hero {
        padding-top: 30px;
        padding-bottom: 80px;
    }
    .block__main-title {
        font-size: 38px;
        line-height: 48px;
    }
}