/*блок с увеличвающимся изображением в heroblock*/
@media screen and (min-width:900px) {
    .heroblock .zoom-block {
        height: 500px;
        margin-bottom: -97px;
    }
}
@media screen and (max-width:899px) and (min-width:769px) {
    .heroblock .zoom-block {
        margin-bottom: -60px;
    }
}

@media screen and (max-width:768px) {
    .heroblock .zoom-block{
        margin-top: 40px;
        width: 100%;
        max-width: 500px;
        margin-inline: auto;
    }
}

.zoom-block {
    display: block;
    position: relative;
    overflow: hidden;
}

.zoom-block img {
    width: 100%;
}

.zoom-block__overlay {
    position: absolute;
    height: 100%;
    top: 0;
    width: 100%;
    padding: 40px 17%;
    padding: 40px 17%;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: end;
    -ms-flex-pack: end;
    justify-content: flex-end;
    gap: 14%;
    transition: .3s;
}

.zoom-block__icon {
    background: rgba(240, 241, 245, 0.2);
    -webkit-box-shadow: 0px 4px 52px rgba(0, 0, 0, 0.2);
    box-shadow: 0px 4px 52px rgba(0, 0, 0, 0.2);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    border-radius: 50%;
    width: fit-content;
    padding: 30px;
    line-height: 0;
}
.zoom-block__icon svg, .zoom-block__icon svg path{
    transition: .3s;
}

.zoom-block__text {
    background: #FFFFFF;
    font-size: 12px;
    text-align: center;
    padding: 12px;
    color: var(--dark-blue-color) !important;
}

.zoom-block__overlay:hover .zoom-block__icon svg {
    transform: scale(1.2);
}
.zoom-block__overlay:hover .zoom-block__icon svg path {
    stroke: var(--orange-color);
}

@media screen and (max-width:768px) {
    .zoom-block__overlay{
        justify-content: space-between;
    }
}

@media screen and (max-width:576px) {
    .zoom-block__overlay{
        justify-content: space-between;
        padding: 0;
    }
    .zoom-block img {
        margin-bottom: 80px;
    }
}

/*Основная задача сервисной службы*/
.service-bg-section{
    background: rgba(240, 241, 245, 0.8);
    padding-top: 120px !important;
}
@media screen and (max-width: 768px){
    .service-bg-section{
        padding-top: 90px !important;
    }
}
@media screen and (max-width: 425px){
    .service-bg-section{
        padding-top: 64px !important;
    }
}

/*Возможности*/
.capabilities-grid{
    display: flex;
    flex-wrap: wrap;
    gap:50px;
    justify-content: space-between;
}
.capabilities-grid__item{
    flex: 0 0 auto;
    width: calc(50% - 25px);
}
.capability-card{
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
    gap: 40px;
    transition: .3s;
}
.capability-card__img img{
    width: 100%;
    object-fit: cover;
}


@media screen and (min-width:577px){
    .capabilities-grid__item:nth-child(2n){
        -webkit-box-orient: vertical;
        -webkit-box-direction: reverse;
        -ms-flex-direction: column-reverse;
        flex-direction: column-reverse;
        -webkit-box-pack: end;
        -ms-flex-pack: end;
        justify-content: flex-end;
    }
}

@media screen and (min-width:1025px) {
    .capabilities-grid__item:nth-child(2), .capabilities-grid__item:nth-child(3n){
        width: calc(41% - 25px);
    }
}
@media screen and (min-width:991px){
    .capability-card__title{
        margin-bottom: 24px;
    }
}
@media screen and (max-width:768px) {
    .capabilities-grid__item{
        width: calc(50% - 12px);
    }
    .capabilities-grid{
        gap: 24px;
    }
}
@media screen and (max-width:576px) {
    .capabilities-grid__item{
        width: 100%;
    }
    .capability-card__img img{
        height: 300px;
    }
    .capability-card{
        gap: 24px;
    }
    .capabilities-grid{
        gap: 40px;
    }
    
}

/*карусель с услугами. Стили карточек услуг в services-grid.css*/
.services-slider__wrapper{
    height: fit-content;
}
.services-slider__item{
    height: unset;
    min-height: 100%;
    display:-webkit-box;
    display:-ms-flexbox;
    display:flex;
    -webkit-box-orient:vertical;
    -webkit-box-direction:normal;
    -ms-flex-direction:column;
    flex-direction:column;
}

@media screen and (min-width: 641px) {
    .services-slider .swiper-pagination--general{
        display: none;
    }
}
@media screen and (max-width: 640px) {
    .services-slider .slider-head__nav{
        display: none;
    }
}

/* Сервисные контракты */
.service-contract{
    background: rgba(218, 221, 231, 0.8);
    position: relative;
    padding-block: 80px;
}

.service-contract__img{
    object-fit: cover;
    transition: .3s;
}
@media screen and (min-width:641px) {
    .service-contract__content{
        width: 50%;
    }
    .service-contract__img{
        position: absolute;
        right: 0;
        top: 0;
        height: 100%;
        width: 42%;
    }
}
@media screen and (max-width:640px){
    .service-contract__img{
        margin-top: 40px;
        margin-bottom: -80px;
        width: 100%;
        height: 300px;
    }
    .sevice-card{
        padding-inline: 50px !important;
    }
}