h1 {
    margin-bottom: 30px;
}

h2, h3, .h2, .h3 {
    margin-top: 70px;
    margin-bottom: 35px;
    padding: 0;
}

@media (width <= 767.98px) {
    h2, h3, .h2, .h3 {
        margin-block: 2rem 1rem;
    }
}

.title-h4 {
    margin-top: 70px;
    margin-bottom: 16px;
    text-transform: initial;
    font-weight: 600;
    color: var(--main-color);
}

#soderzanie img {
    border-radius: 8px;
}

.b-hero {
    position: relative;
    margin-bottom: 45px;
    padding: 86px 35px 40px;
    height: 402px;
    border-radius: 8px;
    background: #1078c4 no-repeat right url(/images/sozdanie-sajta-okna/ban.jpg);
}
.b-hero__title {
    max-width: 620px;
    margin-top: 0;
    text-transform: initial;
    text-align: left;
    font-size: 42px;
    font-weight: 600;
    line-height: 1;
    color: #fff;
}
.b-hero__text {
    font-size: 22px;
    color: #fff;
}
@media (width <= 1199.98px) {
    .b-hero {
        background-position-x: center;
    }
}
@media (width <= 767.98px) {
    .b-hero {
        height: auto;
        padding: 40px 20px 80px;
        background-position: calc(100% + 130px) 50%;
        background-size: auto 100%;
    }
    .b-hero__title {
        font-size: 28px;
    }
    .b-hero__text {
        font-size: 18px;
    }
}
@media (width <= 575.98px) {
    .b-hero {
        background-position: calc(100% + 180px) 50%;
    }
}

.b-num {
    display: flex;
    align-items: flex-end;
    gap: 25px;
    color: #b4b4b4;
}
.b-num + .title-h4 {
    margin-top: 0;
}
.b-num__value {
    font-size: 126px;
    font-weight: 300;
    color: inherit;
}
.b-num__title {
    padding-bottom: 20px;
    border-bottom: 4px solid currentColor;
    font-size: 28px;
    font-size: clamp(22px, 4vw, 28px);
    font-weight: 800;
    color: inherit;
}

.b-image-grid {
    margin-bottom: 35px;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 24px;
}
.b-image-grid__el {
    flex: 0 calc(100% / 4 - 24px);
}
.b-image-grid__el-image {
    aspect-ratio: 2/1.75;
}
.b-image-grid__el-image img {
    width: 100%;
    height: 100% !important;
    object-fit: contain;
}
.b-image-grid__el-title {
    margin-top: 8px;
    font-size: 20px;
}
.b-image-grid__el-text {
    margin-top: 10px;
}
@media (width <= 767.98px) {
    .b-image-grid__el {
        flex-basis: calc(100% / 3 - 24px);
    }
}
@media (width <= 575.98px) {
    .b-image-grid__el {
        flex-basis: calc(100% / 2 - 24px);
    }
    .b-image-grid__el-title {
        font-size: 16px;
        word-break: break-word;
    }
}

.b-dev-imgrow {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0 70px;
}
.b-dev-imgrow__center {
    justify-content: center;
}