/* video.html — компонент секції, винесено з css/pages/video.css */

.bz-video-device-showcase {
    position: relative;
    padding: 110px 0;
    background:
            radial-gradient(circle at 18% 28%, rgba(224, 0, 31, 0.18), transparent 34%),
            radial-gradient(circle at 84% 78%, rgba(224, 0, 31, 0.1), transparent 32%),
            #020202;
    color: #fff;
    overflow: hidden;
}

.bz-video-device-showcase:before {
    content: "";
    position: absolute;
    inset: 0;
    background:
            linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px),
            linear-gradient(0deg, rgba(255,255,255,0.02) 1px, transparent 1px);
    background-size: 88px 88px;
    opacity: 0.14;
    pointer-events: none;
}

.bz-video-device-showcase .container {
    position: relative;
    z-index: 2;
}

.bz-device-showcase-head {
    max-width: 920px;
    margin-bottom: 54px;
}

.bz-section-label {
    position: relative;
    display: inline-block;
    margin-bottom: 20px;
    padding-bottom: 13px;
    color: #e0001f;
    font-size: 14px;
    line-height: 1.4;
    letter-spacing: 0.11em;
    text-transform: uppercase;
}

.bz-section-label:after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 112px;
    height: 1px;
    background: #e0001f;
}

.bz-device-showcase-title {
    max-width: 880px;
    margin-bottom: 22px;
    font-size: clamp(34px, 4.3vw, 62px);
    line-height: 1.08;
    letter-spacing: 0.025em;
    font-weight: 400;
}

.bz-device-showcase-title span {
    color: #e0001f;
}

.bz-device-showcase-text {
    max-width: 700px;
    color: rgba(255,255,255,0.7);
    font-size: 16px;
    line-height: 1.75;
}

.bz-device-full-video {
    position: relative;
    width: 100%;
    height: 620px;
    margin-bottom: 20px;
    background: #050505;
    overflow: hidden;
}

.bz-device-full-video:before {
    content: "";
    position: absolute;
    z-index: 2;
    inset: 0;
    background:
            linear-gradient(180deg, rgba(0,0,0,0.02) 0%, rgba(0,0,0,0.22) 48%, rgba(0,0,0,0.88) 100%),
            linear-gradient(90deg, rgba(224,0,31,0.14), transparent 58%);
    pointer-events: none;
}

.bz-device-full-video video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    filter: contrast(1.04);
    opacity: 0.92;
}

/* варіант зображення для великої картки */
.bz-device-full-video picture {
    display: block;
    width: 100%;
    height: 100%;
}

.bz-device-full-video img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    filter: contrast(1.04);
    opacity: 0.92;
}

.bz-device-full-video-content {
    position: absolute;
    z-index: 3;
    left: 42px;
    right: 42px;
    bottom: 42px;
}

.bz-device-video-label {
    display: inline-block;
    margin-bottom: 16px;
    padding: 9px 13px;
    background: rgba(224, 0, 31, 0.16);
    color: #e0001f;
    font-size: 12px;
    line-height: 1;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    backdrop-filter: blur(10px);
}

.bz-device-video-title {
    max-width: 680px;
    color: #fff;
    font-size: 46px;
    line-height: 1.08;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.bz-device-video-text {
    max-width: 560px;
    margin-top: 16px;
    color: rgba(255,255,255,0.72);
    font-size: 16px;
    line-height: 1.6;
    letter-spacing: 0.02em;
}

.bz-device-benefits-row {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
}

.bz-device-benefit-card {
    position: relative;
    display: flex;
    flex-direction: column;
    min-height: 520px;
    background: rgba(255,255,255,0.025);
    border: 1px solid rgba(255,255,255,0.1);
    overflow: hidden;
    transition: transform 0.35s ease, border-color 0.35s ease, background 0.35s ease;
}

.bz-device-benefit-card:hover {
    transform: translateY(-7px);
    border-color: rgba(224, 0, 31, 0.58);
    background: rgba(224,0,31,0.06);
}

.bz-device-benefit-img {
    position: relative;
    height: 300px;
    background: #0b0b0b;
    overflow: hidden;
}

.bz-device-benefit-img:after {
    content: "";
    position: absolute;
    left: 24px;
    right: 24px;
    bottom: 0;
    height: 1px;
    background: rgba(224, 0, 31, 0.42);
}

/* picture-обгортка має заповнювати контейнер */
.bz-device-benefit-img picture {
    display: block;
    width: 100%;
    height: 100%;
}

.bz-device-benefit-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    filter: none;
    opacity: 1;
    transform: scale(1.01);
    transition: transform 0.45s ease;
}

.bz-device-benefit-card:hover .bz-device-benefit-img img {
    transform: scale(1.045);
}

/* варіант відео для малих карток */
.bz-device-benefit-img video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transform: scale(1.01);
    transition: transform 0.45s ease;
}

.bz-device-benefit-card:hover .bz-device-benefit-img video {
    transform: scale(1.045);
}

.bz-device-benefit-card-contain .bz-device-benefit-img {
    background: #f2f2f2;
}

.bz-device-benefit-card-contain .bz-device-benefit-img img {
    object-fit: contain;
    padding: 0;
    transform: none;
}

.bz-device-benefit-card-contain:hover .bz-device-benefit-img img {
    transform: none;
}

.bz-device-benefit-card-contain .bz-device-benefit-img video {
    object-fit: contain;
    transform: none;
}

.bz-device-benefit-card-contain:hover .bz-device-benefit-img video {
    transform: none;
}

.bz-device-benefit-info {
    position: relative;
    flex: 1;
    padding: 28px;
    background:
            linear-gradient(145deg, rgba(224,0,31,0.08), rgba(255,255,255,0.015)),
            #050505;
}

.bz-device-benefit-info:before {
    content: "";
    position: absolute;
    right: -70px;
    bottom: -70px;
    width: 160px;
    height: 160px;
    border: 1px solid rgba(224,0,31,0.18);
    border-radius: 50%;
    pointer-events: none;
}

.bz-device-benefit-label {
    position: relative;
    z-index: 2;
    margin-bottom: 14px;
    color: #e0001f;
    font-size: 12px;
    line-height: 1;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.bz-device-benefit-title {
    position: relative;
    z-index: 2;
    margin-bottom: 14px;
    color: #fff;
    font-size: 25px;
    line-height: 1.16;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.bz-device-benefit-text {
    position: relative;
    z-index: 2;
    color: rgba(255,255,255,0.66);
    font-size: 15px;
    line-height: 1.65;
}

@media (max-width: 1199.98px) {
    .bz-device-full-video {
        height: 540px;
    }

    .bz-device-benefit-card {
        min-height: 500px;
    }

    .bz-device-benefit-img {
        height: 260px;
    }

    .bz-device-benefit-title {
        font-size: 22px;
    }
}

@media (max-width: 991.98px) {
    .bz-video-device-showcase {
        padding: 84px 0;
    }

    .bz-device-benefits-row {
        grid-template-columns: 1fr;
    }

    .bz-device-benefit-card {
        min-height: auto;
    }

    .bz-device-benefit-img {
        height: 360px;
    }
}

@media (max-width: 767.98px) {
    .bz-video-device-showcase {
        padding: 68px 0;
    }

    .bz-device-showcase-title {
        font-size: 34px;
    }

    .bz-device-showcase-text {
        font-size: 15px;
    }

    .bz-device-full-video {
        height: 420px;
    }

    .bz-device-full-video-content {
        left: 24px;
        right: 24px;
        bottom: 24px;
    }

    .bz-device-video-title {
        font-size: 28px;
    }

    .bz-device-video-text {
        font-size: 14px;
        margin-top: 12px;
    }

    .bz-device-benefit-img {
        height: 300px;
    }

    .bz-device-benefit-info {
        padding: 24px;
    }

    .bz-device-benefit-title {
        font-size: 22px;
    }

    .bz-device-benefit-text {
        font-size: 14px;
    }
}

@media (max-width: 575.98px) {
    .bz-device-full-video {
        height: 360px;
    }

    .bz-device-benefit-img {
        height: 240px;
    }
}