.services {
    position: relative;
}

.services__head {
    margin-bottom: 30px;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-align: end;
    align-items: flex-end;
    -ms-flex-pack: justify;
    justify-content: space-between;
    gap: 8px;
}

.services__items {
    position: relative;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.services-card {
    position: relative;
    height: 100%;
    border-radius: var(--main-chamfer);
    padding: 16px 22px;
    background: var(--bg-clr-2);
}

.services-card > a {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 5;
    font-size: 0;
}

.services-card__title {
    font-weight: 600;
    font-size: var(--fluid-5);
    line-height: 120%;
    margin-top: 16px;
}

.services-card__photo {
    aspect-ratio: 1.312;
    border-radius: 4px;
    overflow: hidden;
}

.services-card__photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

@media (min-width: 767.98px) {
    .services__head .site-slide-icon {
        display: none;
    }
}

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

@media (max-width: 767.98px) {
    .services {
        padding-bottom: 60px;
    }

    .services__head a.btn-color {
        position: absolute;
        bottom: 0;
        left: 0;
        width: 100%;
    }

    .services__items {
        display: grid;
        gap: 16px;
        grid-template-columns: 290px;
        grid-auto-flow: column;
        grid-auto-columns: 290px;
        overflow-x: auto;
        overflow-y: hidden;
        margin-right: -15px;
        padding-right: 15px;
        -ms-scroll-snap-type: x mandatory;
        scroll-snap-type: x mandatory;
    }

    .services__item {
        scroll-snap-align: start;
    }
}