.hero-video {
    position: relative;
    height: 100vh;
    min-height: 640px;
    overflow: hidden;
    background: #0f0f0f;
}

.hero-video__bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.hero-video__media {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.hero-video__overlay {
    position: absolute;
    inset: 0;

    /* Slightly stronger/darker overlay */
    background: linear-gradient(
        to top,
        rgba(0, 0, 0, 0.88) 0%,
        rgba(0, 0, 0, 0.38) 45%,
        rgba(0, 0, 0, 0.68) 100%
    );
}

.hero-video__content {
    position: absolute;
    left: 50%;
    right: auto;
    bottom: 44px;
    transform: translateX(-50%);

    z-index: 2;
    width: calc(100% - 8px);
    max-width: 700px;

    color: #fefefe;

    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 16px;
}

.hero-video__title {
    font-size: clamp(32px, 4vw, 54px);
    font-weight: 700;
    line-height: 1.1;
    color: #fefefe;
    margin: 0;
    text-align: center;
    text-shadow: 0 2px 12px rgba(0, 0, 0, 0.5);
}

.hero-video__desc {
    font-size: 16px;
    line-height: 1.7;
    color: #fefefe;
    opacity: 0.85;
    margin: 0 0 6px;
    max-width: 560px;
    text-align: center;
}

.hero-video__cta {
    align-self: center;
}

@media (max-width: 767.98px) {
    .hero-video {
        min-height: 560px;
    }

    .hero-video__content {
        width: calc(100% - 48px);
        bottom: 40px;
    }

    .hero-video__title {
        font-size: clamp(28px, 8vw, 40px);
    }
}

@media (max-width: 575.98px) {
    .hero-video__title {
        font-size: 30px;
    }

    .hero-video__cta {
        align-self: center;
    }
}
@media (max-width: 649.98px) {
    .hero-video {
        height: 100dvh;
        min-height: 0;
    }

    .hero-video__content {
        width: calc(100% - 32px);
        bottom: max(45px, env(safe-area-inset-bottom));
        gap: 10px;
    }

    .hero-video__title {
        font-size: clamp(25px, 7vw, 30px);
        line-height: 1.08;
    }

    .hero-video__desc {
        max-width: 38ch;
        font-size: 13px;
        line-height: 1.45;
        margin-bottom: 2px;
    }

    .hero-video .sec-5-home-10__cta {
        height: 44px;
        padding: 10px 20px;
        font-size: 14px;
    }
}
