/* Блок «Как мы работаем». */
.dh-container {
    width: 100%;
}

.dh-section--cream {
    background: #f7f6f2;
    border-radius: 30px;
}

.dh-steps {
    box-sizing: border-box;
    padding: 58px 46px 49px 49px;
}

.dh-steps__head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 40px;
}

.dh-title--dark {
    margin: 0;
    color: #242424;
    font-family: "Montserrat", Arial, sans-serif;
    font-size: 32px;
    font-weight: 800;
    line-height: 1.25;
}

.dh-steps__intro {
    flex: 0 1 721px;
    margin: 5px 17px 0 0;
    color: #7d7f7b;
    font-size: 16px;
    line-height: 1.45;
}

.dh-steps__banner {
    position: relative;
    display: flex;
    align-items: flex-end;
    min-height: 320px;
    margin: 25px 0 0 -3px;
    padding: 31px 26px 26px;
    box-sizing: border-box;
    overflow: hidden;
    border-radius: 14px;
}

.dh-steps__banner img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.dh-steps__banner::before {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(30, 32, 30, .2);
}

.dh-steps__banner-row {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 30px;
    width: 100%;
}

.dh-steps__banner-text {
    max-width: 643px;
    margin: 0;
    color: #fff;
    font-size: 24px;
    font-weight: 700;
    line-height: 1.3;
}

.dh-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
    height: 40px;
    padding: 8px 14px;
    border: 1px solid transparent;
    border-radius: 8px;
    color: #000;
    font-size: 12.17px;
    font-weight: 600;
    line-height: 15px;
    text-decoration: none;
    white-space: nowrap;
    transition: background-color .2s, color .2s, border-color .2s, box-shadow .2s, opacity .2s;
}

.dh-btn:hover,
.dh-btn:focus {
    text-decoration: none;
}

.dh-btn--white {
    flex: 0 0 auto;
    background: #fff;
    border-color: #fff;
    font-weight: 500;
    font-size: 12.44px;
    padding: 10.5px 25px;
}

.dh-btn--white:hover,
.dh-btn--white:focus-visible {
    background: #e1e3d6;
    border-color: #e1e3d6;
    color: #000;
}

.dh-steps__grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
    margin: 15px 0 0 -3px;
}

.dh-step {
    min-height: 161px;
    box-sizing: border-box;
    padding: 32px;
    overflow: hidden;
    border-radius: 14px;
    background: #fff;
    box-shadow: 0 8px 16px rgba(30, 32, 30, .025);
}

.dh-step__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.dh-step__num {
    color: #768a71;
    font-size: 44px;
    font-weight: 700;
    line-height: 1;
}

.dh-step__ico {
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 58px;
    width: 58px;
    height: 58px;
    background: #e1e3d6;
    border-radius: 16px;
}

.dh-step__ico svg {
    display: block;
    width: 24px;
    height: 24px;
    max-width: 100%;
    max-height: 100%;
}

.dh-step__title {
    margin: 16px 0 0;
    color: #1e201e;
    font-size: 20px;
    font-weight: 700;
    line-height: 1.35;
}

.dh-step__text {
    margin: 7px 0 0;
    color: #858781;
    font-size: 15px;
    line-height: 1.45;
}

@media (max-width: 991px) {
    .dh-steps {
        padding: 40px 30px;
    }

    .dh-steps__head {
        gap: 24px;
    }

    .dh-steps__intro {
        margin-right: 0;
    }

    .dh-steps__grid {
        gap: 12px;
    }
}

@media (max-width: 639px) {
    .dh-steps__banner-row {
        flex-direction: column;
        align-items: center;
    }

    .dh-steps__banner-row .dh-btn--white {
        flex: 0 1 auto;
        width: 100%;
        max-width: 100%;
        white-space: normal;
        text-align: center;
    }
}

@media (max-width: 767px) {
    .dh-section--cream {
        border-radius: 20px;
    }

    .dh-steps {
        padding: 30px 20px;
    }

    .dh-steps__head {
        display: block;
    }

    .dh-title--dark {
        font-size: 23px;
    }

    .dh-steps__intro {
        margin-top: 14px;
        font-size: 12px;
    }

    .dh-steps__banner {
        min-height: 180px;
        margin-top: 22px;
        padding: 20px;
        border-radius: 12px;
    }

    .dh-steps__banner-text {
        font-size: 14px;
    }

    .dh-steps__grid {
        grid-template-columns: 1fr;
        gap: 12px;
        margin-top: 12px;
    }

    .dh-step {
        min-height: 0;
        padding: 18px;
    }

    .dh-step__title {
        margin-top: 14px;
    }
}