.service-banner{
    background-color: #000;
}

.service-banner__item{
    background-color: var(--black);
    color: var(--white);
    padding: 32px 0;
    position: relative;
}

.service-banner__image{
    position: absolute;
    left: 0;
    right: 0;
    top: -110px;
    bottom: 0;
    background-color: #000;
}

.service-banner__image video{
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    max-height: 600px;
    max-width: 2400px;
    margin: 0 auto;
    display: block;
}

.breadcrumbs.breadcrumbs-service{
    display: none;
}

@media (min-width: 64rem) {
    .service-banner__image video{
        max-height: 100%;
    }
}

.service-banner__image video::-webkit-media-controls {
    display: none !important;
}

.service-banner__container{
    z-index: 1;
    position: relative;
    display: grid;
    grid-template-areas: 'service-banner__title'
    'service-banner__nav'
    'service-banner__tags'
    'service-banner__callback'
    'service-banner__preview';
}

.service-banner__title{
    color: var(--white, #FFF);
    font-feature-settings: 'liga' off, 'clig' off;
    font-size: 28px;
    font-style: normal;
    font-weight: 700;
    line-height: 130%; /* 36.4px */
    margin: 0;
    padding: 0;
    grid-area: service-banner__title;
}

.service-banner__nav{
    grid-area: service-banner__nav;
    display: flex;
    align-items: center;
    color: var(--white);
    font-feature-settings: 'liga' off, 'clig' off;
    font-size: 20px;
    font-style: normal;
    font-weight: 700;
    line-height: 150%;
    gap: 34px;
    margin: 32px 0 50px;
}

.service-banner__nav-btn{
    background: transparent;
    color: var(--white);
    border: none;
    outline: 0;
    text-align: center;
    font-feature-settings: 'liga' off, 'clig' off;
    font-size: 14px;
    font-style: normal;
    font-weight: 400;
    line-height: 1; /* 21px */
    margin: 0;
    padding: 0 10px 10px;
    border-bottom: 2px solid var(--white);
    position: relative;
}

.service-banner__nav-btn:before{
    position: absolute;
    content: '';
    width: 6px;
    height: 6px;
    background-color: var(--white);
    bottom: -4px;
    transform: rotate(45deg);
}

.service-banner__nav-prev:before{
    left: 0;
}

.service-banner__nav-next:before{
    right: 0;
}

.tags{
    grid-area: service-banner__tags;
    margin: 0 0 40px;
    width: 100%;
    max-width: 590px;
}

.service-banner__callback.button-primary.button{
    grid-area: service-banner__callback;
    width: 210px;
    height: 50px;
    padding: 0;
    color: var(--black);
    margin: 0 0 50px;
}

.service-banner__preview{
    grid-area: service-banner__preview;
    display: flex;
    flex-direction: column;
    gap: 14px;
    counter-reset: item;
}

.service-banner__preview-item{
    background: rgba(77, 77, 80, 0.3);
    backdrop-filter: blur(5px);
    padding: 12px 12px 48px 46px;
    counter-increment: item;
}

.swiper-slide-active .service-banner__preview-item.active{
    border: 1px solid var(--grey-3, #5F6368);
    background: rgba(77, 77, 80, 0.50);
    backdrop-filter: blur(10px);
}

.service-banner__preview-description{
    position: relative;
    color: var(--grey-2);
    font-size: 14px;
    margin-top: 14px;
}

.service-banner__preview-description p{
    margin: 0;
    padding: 0;
}

.service-banner__preview-title{
    margin: 0;
    padding: 0;
    color: var(--grey-2);
    font-size: 16px;
    font-style: normal;
    font-weight: 700;
    line-height: 150%; /* 24px */
}

.service-banner__preview-description:before{
    display: block;
    content: counter(item, decimal-leading-zero);
    font-size: 20px;
    font-style: normal;
    font-weight: 700;
    line-height: 150%; /* 30px */
    position: absolute;
    left: -34px;
    color: var(--grey-2);
}

.swiper-slide-active .service-banner__preview-item.active .service-banner__preview-title,
.swiper-slide-active .service-banner__preview-item.active .service-banner__preview-description,
.swiper-slide-active .service-banner__preview-item.active .service-banner__preview-description:before{
    color: var(--white);
}


.swiper-slide-active .active .service-banner__progress-container{
    display: block;
}

.service-banner__progress-container{
    height: 2px;
    background: var(--grey-3, #5F6368);
    position: absolute;
    bottom: 24px;
    left: 12px;
    right: 12px;
    display: none;
}

.service-banner__progress-bar{
    transition: width 0.5s linear;
}

.swiper-slide-active .active .service-banner__progress-bar{
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    width: 0;
    background-color: var(--primary);
}

@media (min-width: 64rem) {
    .breadcrumbs.breadcrumbs-service{
        position: absolute;
        z-index: 10;
        display: flex;
    }

    .service-banner__container{
        grid-template-columns: 1fr 374px;
        align-items: start;
        grid-template-areas: 'service-banner__title service-banner__nav'
    'service-banner__tags service-banner__nav'
    'service-banner__callback service-banner__nav'
    'service-banner__preview service-banner__preview';
    }

    .service-banner__item{
        padding: 100px 0 170px;
    }

    .service-banner__title{
        font-size: 40px;
        margin: 0 0 50px;
    }

    .service-banner__tags{
        margin: 0 0 100px;
    }

    .service-banner__callback.button-primary.button{
        margin: 0 0 140px;
    }

    .service-banner__preview{
        display: grid;
        grid-template-columns: repeat(3, calc(33.3% - 8px));
        gap: 12px;
        /*align-items: end;*/
    }

    .service-banner__preview-item{
        padding: 24px 24px 32px;
    }

    .swiper-slide-active .service-banner__preview-item.active .service-banner__preview-item{
        padding-bottom: 64px;
    }

    .service-banner__preview-title{
        font-size: 16px;
    }

    .service-banner__preview-description{
        display: flex;
        gap: 16px;
    }

    .service-banner__preview-description:before{
        position: relative;
        left: 0;
        font-size: 28px;
    }

    .service-banner__preview-content{
        /*transition: padding-bottom .3s;*/
    }

    .swiper-slide-active .service-banner__preview-item.active{
        position: relative;
    }

    .swiper-slide-active .service-banner__preview-item.active .service-banner__preview-content{
        position: absolute;
        left: 0;
        bottom: 0;
        right: 0;
        padding: 24px 24px 64px;
        border: 1px solid var(--grey-3, #5F6368);
        background: rgba(77, 77, 80, 0.50);
        backdrop-filter: blur(5px);
    }

    .service-banner__nav{
        gap: 12px;
        justify-content: space-between;
        margin: 14px 0 0;
    }

    .swiper-slide-active .service-banner__preview-item.active{
        border: none;
        background: transparent;
        backdrop-filter: none;

    }

    .service-banner__nav-btn{
        font-size: 14px;
        width: 112px;
    }

    .service-banner__nav-text{
        font-size: 28px;
    }
}
