/* Первый экран */
.serv1{
    gap: 20px;
    width: 100%;
    margin-top: 80px;
    align-items: center;
}
.serv1-left{
    gap: 47px;
    position: relative;
    max-width: 43%;
}
#butterfly-7{
    position: absolute;
    max-width: 162px;
    top: -63px;
    right: -50px;
    z-index: -1;
}
.serv1-right{
    position: relative;
    background-position: center;
    background-repeat: repeat;
    background-size: cover;
    border-radius: 99px;
    width: 46%;
    height: 660px;
}
.serv1-border-img{
    position: absolute;
    border-radius: 99px;
    top: 0;
    bottom: 0;
    right: 17px;
    left: 17px;
    border: 2px solid rgba(255, 255, 255, 1);
}

@media (max-width: 1028px){
    #butterfly-7{
        display: none;
    }
}
@media (max-width: 768px){
    .serv1{
        flex-direction: column;
        gap: 44px;
        margin-top: 0px;
        align-items: center;
    }
    .serv1-left{
        gap: 20px;
        max-width: unset;
    }
    .serv1-right{
        border-radius: 40px;
        width: 100%;
        height: 328px;
    }
    .serv1-border-img{
        border-radius: 40px;
        top: -10px;
        bottom: -10px;
        right: -8px;
        left: -8px;
        border: 2px solid rgba(221, 165, 200, 1);
    }
}

/* Второй экран */

.serv2{
    gap: 70px;
    width: 100%;
    align-items: center;
}
.serv2-gallery{
    display: grid;
    gap: 6px;
    width: 100%;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
}
.serv2-gallery-column{
    width: 100%;
    gap: 6px;
}
.big-photo, .small-photo{
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    width: 100%;
    border-radius: 60px;
}
.big-photo:hover, .small-photo:hover{
    opacity: 0.7;
}
.big-photo{
    height: 427px;
}
.small-photo{
    height: 288px;
}
.serv-Swiper{
    display: none;
    width: 100%;
    height: 206px;
}
.serv-slider-img{
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    width: 100%;
    height: 100%;
    border-radius: 20px;
}

@media (max-width: 768px){
    .serv2{
        gap: 20px;
    }
    .serv2-gallery{
        display: none;
    }
    .serv-Swiper{
        display: flex;
    }

}


/* Третий экран */
.serv3{
    display: grid;
    position: relative;
    gap: 50px;
    width: 100%;
    grid-template-columns: repeat(auto-fill, minmax(380px, 1fr));
}
#butterfly-8{
    position: absolute;
    max-width: 199px;
    top: -182px;
    left: -87px;
    z-index: -1;
}

@media (max-width: 1450px){
    #butterfly-8{
        display: none;
    }
}
@media (max-width: 768px){
    .serv3{
        grid-template-columns: 1fr;
    }
}