/* Full-screen video hero (index3). The height is finished by JS so header + hero = 100% of the screen. */
.hero-video {
    position: relative;
    width: 100%;
    height: calc(100vh - 150px);
    height: calc(100svh - 150px);
    min-height: 520px;
    overflow: hidden;
    background: #0d1a17 url("../video/hero-poster.jpg") center / cover no-repeat;
    color: #fff;
    display: flex;
    align-items: center;
    isolation: isolate;
}

.hero-video__media {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    z-index: -2;
}

/* Readability: dark on the text side, lighter on the right so the footage stays visible. */
.hero-video__overlay {
    position: absolute;
    inset: 0;
    z-index: -1;
    background:
        linear-gradient(90deg, rgba(8, 18, 16, 0.82) 0%, rgba(8, 18, 16, 0.55) 45%, rgba(8, 18, 16, 0.12) 100%),
        linear-gradient(0deg, rgba(8, 18, 16, 0.55) 0%, rgba(8, 18, 16, 0) 35%);
}

.hero-video__content {
    position: relative;
    max-width: 840px;
    padding-top: 40px;
    padding-bottom: 80px;
}

.hero-video__eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    margin: 0 0 22px;
    font-family: var(--erepair-font-2);
    font-size: 15px;
    font-weight: 700;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--erepair-base);
}

.hero-video__eyebrow::before {
    content: "";
    width: 46px;
    height: 3px;
    background: var(--erepair-base);
}

.hero-video__title {
    margin: 0 0 24px;
    font-family: var(--erepair-font-2);
    font-size: clamp(34px, 4.6vw, 70px);
    font-weight: 700;
    line-height: 1.06;
    letter-spacing: -1.5px;
    color: #fff;
    text-shadow: 0 2px 24px rgba(0, 0, 0, 0.35);
}

.hero-video__text {
    max-width: 600px;
    margin: 0 0 38px;
    font-size: clamp(16px, 1.5vw, 19px);
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.88);
}

.hero-video__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    align-items: center;
}

.hero-video__btn-outline {
    display: inline-flex;
    align-items: center;
    padding: 17px 34px;
    border: 2px solid rgba(255, 255, 255, 0.85);
    border-radius: 10px;
    font-family: var(--erepair-font-2);
    font-size: 15px;
    font-weight: 700;
    letter-spacing: 0.4px;
    text-transform: uppercase;
    color: #fff;
    transition: background 0.25s ease, color 0.25s ease, border-color 0.25s ease;
}

.hero-video__btn-outline:hover {
    background: #fff;
    border-color: #fff;
    color: var(--erepair-black);
}


@media (max-width: 767px) {
    .hero-video { min-height: 480px; }
    .hero-video__overlay {
        background: linear-gradient(0deg, rgba(8, 18, 16, 0.85) 0%, rgba(8, 18, 16, 0.55) 55%, rgba(8, 18, 16, 0.35) 100%);
    }
    .hero-video__content { padding-bottom: 60px; }
    .hero-video__btn-outline, .hero-video__actions .thm-btn { padding: 15px 26px; }
}
