@media (max-width: 500px) {
    .ya-split-page .arrow-down {
        top: -40px;
    }
}

/* Details list */

.details__list {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 55px;
}

.details__item {
    height: 100%;
    display: flex;
    flex-direction: column;
    gap: 30px;
    padding: 30px 20px;
}

.details__images {
    position: relative;
}

.details__icon-header-wrap {
    max-width: 50px;
    max-height: 50px;
    display: flex;
}

.details__icon-header {
    width: 100%;
    flex-shrink: 0;
}

.details__img-wrap {
    position: absolute;
    top: 0;
    left: 26px;
    display: flex;
    z-index: -1;
}

.details__block-title {
    font-weight: 600;
    font-size: 20px;
}

@media (max-width: 1024px) {
    .details__list {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }

    .details__item {
        padding: 20px;
    }
}

@media (max-width: 600px) {
    .details__list {
        grid-template-columns: 1fr;
    }

    .details__item {
        flex-direction: row;
        align-items: center;
        border: 1px solid var(--lightest-grey2);
    }

    .details__icon-header-wrap {
        width: 46px;
        height: 46px;
    }

    .details__img-wrap {
        position: absolute;
        top: -4px;
        left: unset;
        right: -6px;
    }
}

/* Service about */

.service-about .wrapper {
    overflow: visible;
}

.service-about__wrapper {
    position: relative;
    background: linear-gradient(90deg, #f9db00 0%, #f9db00 100%);
    padding: 37px 0 74px 62px;
}

.service-about__content {
    max-width: 655px;
}

.service-about h2 {
    color: var(--dark-grey);
    margin-bottom: 35px;
}

.service-about__text {
    font-weight: 600;
    font-size: 20px;
    color: var(--dark-grey);
    position: relative;
    z-index: 100;
}

.service-about__wrapper::after {
    content: '';
    display: block;
    position: absolute;
    bottom: 0;
    right: 0;
    background-image: url(../img/yandex/service-about.png);
    background-size: contain;
    background-repeat: no-repeat;
    width: 420px;
    height: 320px;
    z-index: 1;
}

@media (max-width: 1200px) {
    .service-about__content {
        max-width: 475px;
    }
}

@media (max-width: 940px) {
    .service-about__wrapper::after {
        width: 310px;
        height: 237px;
    }
}

@media (max-width: 768px) {
    .service-about__text {
        font-weight: 400;
        font-size: 16px;
    }

    .service-about__wrapper {
        padding: 30px 20px;
    }

    .service-about h2 {
        margin-bottom: 30px;
    }

    .service-about__wrapper::after {
        width: 220px;
        height: 167px;
    }
}

@media (max-width: 600px) {
    .service-about__content {
        max-width: 275px;
    }
}

@media (max-width: 525px) {
    .service-about__wrapper::after {
        width: 160px;
        height: 117px;
    }
}

@media (max-width: 425px) {
    .service-about__content {
        max-width: 215px;
    }
}

@media (max-width: 320px) {
    .service-about__wrapper::after {
        width: 100px;
        height: 75px;
    }
}

/* Service use */

.service-use__header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 70px;
}

.service-use h2 {
    margin-bottom: 0;
}

.service-use__block {
    background: var(--lightest-grey);
    padding: 40px;
}

.service-use__content {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.service-use__block-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 5px;
}

.service-use__img-wrap {
    max-width: 48px;
    display: flex;
    flex-shrink: 0;
}

.service-use__step {
    font-weight: 700;
    font-size: 76px;
    line-height: 1;
    color: var(--lightest-grey2);
}

.service-use__text {
    font-size: 18px;
}

@media (max-width: 600px) {
    .service-use__pagination {
        display: none;
    }

    .service-use__header {
        margin-bottom: 50px;
    }

    .service-use__blocks {
        flex-direction: column;
        gap: 20px;
    }

    .service-use__block {
        padding: 30px 20px;
    }

    .service-use__content {
        flex-direction: row;
        align-items: center;
        gap: 15px;
    }

    .service-use__block {
        position: relative;
    }

    .service-use__step {
        position: absolute;
        right: 10px;
        top: -10px;
        font-weight: 600;
        font-size: 20px;
        display: flex;
        align-items: center;
        justify-content: center;
        background: var(--main-yellow);
        color: var(--grey);
        max-width: 34px;
        width: 100%;
        height: 34px;
    }

    .service-use__block-header {
        max-width: 40px;
        width: 100%;
    }

    .service-use__img-wrap {
        width: 40px;
        height: 40px;
    }

    .service-use__text {
        font-size: 16px;
    }
}
