/* Цели */
.services {
    background-color: var(--light-gray);
    padding-top: 20px;
}

.services__grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(250px, 1fr));
    grid-template-rows: repeat(2, auto);
    place-items: center;
    gap: 20px;
    width: 790px;
    place-self: center;
    margin-bottom: 20px;
}

.service__item {
    display: flex;
    flex-direction: column;
    align-items: center;
    background-color: transparent;
    align-self: center;
    height: 250px;
    width: 250px;
    transition: 250ms;
}

.service__item:hover {
    transform: scale(1.1); /* Увеличение на 10% */
}

.service__item img {
    height: 100%;
    width: 100%;
    height: 250px;
    width: 250px;
    object-fit: cover;
    border-radius: 10%;
    margin-bottom: -100px;
}

.service__item h3 {
    color: white;
    text-align: center;
    font-weight: 700;
    font-size: 24px;
}

.swiper {
    display: none;
}

/*=================================МОБИЛЬНЫЙ АДАПТИВ==========================================*/

@media (max-width: 1024px) {
    .services {
        padding-top: 0px;
    }

    .services__grid {
        display: none;
    }

    /* Слайдер */
    .swiper {
        display: initial;
        width: 100vw;
        /*max-width: 1200px;*/
        margin: 0 auto;
        overflow: hidden;
        position: relative;
        padding: 20px 0;
        margin-left: -20px;
        align-items: center;
    }

    .swiper__wrapper {
        display: flex;
        transition: transform 0.3s ease;
        padding: 0;
        margin: 0;
    }

    .swiper__slide {
        flex: 0 0 100vw;
        /*max-width: 100%;*/
        width: 100vw;
        /*margin-right: 10px;*/
    }

    .slide__content {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-self: center;
        justify-content: center;
        text-align: center;
        max-width: 100vw;
        width: 100vw;
    }

    .slide__img {
        width: 100%;
        max-width: 320px;
        max-height: 320px;
        object-fit: cover;
        border-radius: 25px;
    }

    .slide__title {
        margin-top: 10px;
        font-size: 24px;
        font-weight: 600;
        color: white;
        margin-top: -60px;
    }

    /* Буллеты */
    .swiper__bullets {
        display: flex;
        justify-content: center;
        margin-top: 20px;
        gap: 8px;
        position: relative;
        z-index: 2;
    }

    .swiper__bullet {
        width: 12px;
        height: 12px;
        border-radius: 50%;
        background-color: var(--secondary-color);
        cursor: pointer;
        opacity: .6;
    }

    .swiper__bullet.swiper__bullet__active {
        background-color: var(--secondary-color);
        opacity: 1;
    }

}