.BannerVideo {
    position: relative;
    overflow: hidden;
    width: 100%;
    aspect-ratio: 1208 / 389;
    border-radius: 20px;
    background: var(--surface-secondary);
}

.BannerVideo__bg,
.BannerVideo__light {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.BannerVideo__bg {
    z-index: 0;
}

.BannerVideo__light {
    z-index: 1;
    opacity: .95;
}

.BannerVideo__camera {
    position: absolute;
    z-index: 2;
    pointer-events: none;
}

.BannerVideo__camera--fill {
    top: 28.5%;
    left: 55.38%;
    width: 7.74%;
}

.BannerVideo__camera--stroke {
    top: 27.3%;
    left: 55.38%;
    width: 8.08%;
}

.BannerVideo__card {
    position: absolute;
    z-index: 3;
    top: 8.3%;
    left: 2.31%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    width: 45.29%;
    height: 83.1%;
    min-width: 471px;
    padding: 14px 20px 12px;
    border: 2px solid rgba(150, 159, 168, .9);
    border-radius: 20px;
    background: rgba(255, 255, 255, .8);
}

.BannerVideo__title {
    max-width: 420px;
    margin: 0;
    color: var(--text-primary);
    font-size: 48px;
    font-weight: 500;
    line-height: 48px;
}

.BannerVideo__subtitle {
    max-width: 390px;
    margin: 12px 0 0;
    color: var(--text-primary);
    font-size: 20px;
    font-weight: 500;
    line-height: 28px;
}

.BannerVideo__price {
    display: flex;
    align-items: flex-end;
    gap: 4px;
    color: var(--brand-red);
}

.BannerVideo__price-value {
    font-size: 64px;
    font-weight: 500;
    line-height: 72px;
}

.BannerVideo__price-rub {
    width: 28px;
    height: auto;
    margin-bottom: 16px;
}

.BannerVideo__price-period {
    margin-bottom: 17px;
    color: var(--text-primary);
    font-size: 16px;
    font-weight: 500;
    line-height: 20px;
}

.BannerVideo__ad {
    position: absolute;
    left: 12px;
    bottom: 12px;
    z-index: 4;
}

.BannerVideo__ad-tag {
    min-height: 16px;
    padding: 1px 4px;
    border-radius: 6px;
    background: #fff;
    font-size: 12px;
    font-weight: 400;
    line-height: 16px;
    white-space: nowrap;
}

.BannerVideo__ad-tag:hover,
.BannerVideo__ad-tag:active {
    background: #fff;
}

.BannerVideo__ad .Tooltip__bubble {
    min-width: 220px;
    max-width: min(320px, calc(100vw - 48px));
}

@media (max-width: 1200px) {
    .BannerVideo {
        aspect-ratio: 720 / 234;
    }

    .BannerVideo__card {
        min-width: 0;
    }

    .BannerVideo__title {
        font-size: 33px;
        line-height: 34px;
    }

    .BannerVideo__subtitle {
        max-width: 290px;
        margin-top: 8px;
        font-size: 14px;
        line-height: 19px;
    }

    .BannerVideo__price-value {
        font-size: 44px;
        line-height: 52px;
    }

    .BannerVideo__price-rub {
        width: 19px;
        margin-bottom: 11px;
    }

    .BannerVideo__price-period {
        margin-bottom: 12px;
        font-size: 11px;
        line-height: 14px;
    }
}

@media (max-width: 800px) {
    .BannerVideo {
        aspect-ratio: 720 / 234;
    }

    .BannerVideo__bg,
    .BannerVideo__light {
        object-position: right center;
    }

    .BannerVideo__card {
        width: 45.29%;
        height: 83.1%;
        min-width: 0;
        padding: clamp(8px, 1.9vw, 14px) clamp(12px, 2.6vw, 20px) clamp(8px, 1.6vw, 12px);
    }

    .BannerVideo__title {
        font-size: clamp(16px, 4.55vw, 33px);
        line-height: 1.04;
    }

    .BannerVideo__subtitle {
        max-width: 100%;
        margin-top: clamp(4px, 1vw, 8px);
        font-size: clamp(8px, 1.95vw, 14px);
        line-height: 1.36;
    }

    .BannerVideo__price {
        gap: clamp(2px, .7vw, 5px);
    }

    .BannerVideo__price-value {
        font-size: clamp(28px, 6.1vw, 44px);
        line-height: 1.18;
    }

    .BannerVideo__price-rub {
        width: clamp(12px, 2.65vw, 19px);
        margin-bottom: clamp(7px, 1.5vw, 11px);
    }

    .BannerVideo__price-period {
        margin-bottom: clamp(7px, 1.6vw, 12px);
        font-size: clamp(8px, 1.53vw, 11px);
        line-height: 1.2;
    }

    .BannerVideo__ad {
        top: 8px;
        right: 8px;
        bottom: auto;
        left: auto;
    }

    .BannerVideo__ad .Tooltip__bubble {
        top: calc(100% + 8px);
        right: 0;
        bottom: auto;
        left: auto;
        transform: none;
    }

    .BannerVideo__ad .Tooltip__bubble::after {
        top: 0;
        right: 16px;
        left: auto;
        transform: translateY(-50%) rotate(45deg);
        clip-path: polygon(0 0, 100% 0, 0 100%);
    }
}

@media (min-width: 600px) and (max-width: 800px) {
    .BannerVideo__card {
        padding: 12px 18px 10px;
    }

    .BannerVideo__title {
        font-size: 29px;
        line-height: 31px;
    }

    .BannerVideo__subtitle {
        margin-top: 6px;
        font-size: 12px;
        line-height: 16px;
    }

    .BannerVideo__price-value {
        font-size: 40px;
        line-height: 44px;
    }

    .BannerVideo__price-rub {
        width: 17px;
        margin-bottom: 9px;
    }

    .BannerVideo__price-period {
        margin-bottom: 9px;
        font-size: 10px;
        line-height: 12px;
    }
}

@media (max-width: 600px) {
    .BannerVideo {
        aspect-ratio: 320 / 174;
        border-radius: 16px;
    }

    .BannerVideo__camera {
        display: none;
    }

    .BannerVideo__card {
        top: auto;
        bottom: 8px;
        left: 8px;
        width: 198px;
        height: 114px;
        min-width: 0;
        padding: 9px 11px 7px;
        border-width: 1px;
        border-radius: 16px;
    }

    .BannerVideo__title {
        max-width: 174px;
        font-size: 16px;
        line-height: 17px;
    }

    .BannerVideo__subtitle {
        max-width: 164px;
        margin-top: 4px;
        font-size: 8px;
        line-height: 11px;
    }

    .BannerVideo__price-value {
        font-size: 32px;
        line-height: 34px;
    }

    .BannerVideo__price-rub {
        width: 13px;
        margin-bottom: 8px;
        content: url('../../images/figma/rub-mobile.png');
    }

    .BannerVideo__price-period {
        margin-bottom: 8px;
        font-size: 8px;
        line-height: 10px;
    }
}
