/* ── Mirador Hero Video – Front-End Styles ── */

/* Hide the original home-banner immediately to prevent flash */
.home-banner {
    display: none !important;
}

/* ── Hero container ── */
.mhv-hero {
    position: relative;
    width: 100%;
    overflow: hidden;
    background: #0d1117;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* ── Background video ── */
.mhv-hero__video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    z-index: 1;
    display: block;
}

/* ── Fallback image (shown when video fails / hidden) ── */
.mhv-hero__fallback {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    z-index: 1;
}

/* ── Dark overlay ── */
.mhv-hero__overlay {
    position: absolute;
    inset: 0;
    z-index: 2;
    background: #000;
    pointer-events: none;
}

/* ── Text content ── */
.mhv-hero__content {
    position: relative;
    z-index: 3;
    text-align: center;
    padding: 40px 24px;
    max-width: 860px;
    width: 100%;
    animation: mhvFadeUp .9s ease both;
}

.mhv-hero__heading {
    font-family: Georgia, 'Times New Roman', serif;
    font-size: clamp(28px, 5vw, 58px);
    font-weight: 700;
    color: #fff;
    margin: 0 0 20px;
    line-height: 1.15;
    letter-spacing: -0.5px;
    text-shadow: 0 2px 20px rgba(0,0,0,.5);
}

.mhv-hero__subheading {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    font-size: clamp(14px, 2vw, 19px);
    color: rgba(255,255,255,.88);
    margin: 0 auto 32px;
    line-height: 1.65;
    max-width: 640px;
    text-shadow: 0 1px 10px rgba(0,0,0,.4);
}

.mhv-hero__cta {
    display: inline-block;
    background: #c9a96e;
    color: #fff;
    text-decoration: none;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    font-size: 15px;
    font-weight: 700;
    letter-spacing: .5px;
    text-transform: uppercase;
    padding: 15px 38px;
    border-radius: 4px;
    transition: background .25s, transform .2s, box-shadow .25s;
    box-shadow: 0 4px 20px rgba(0,0,0,.3);
}

.mhv-hero__cta:hover {
    background: #b8935a;
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(0,0,0,.35);
    color: #fff;
    text-decoration: none;
}

/* ── Animation ── */
@keyframes mhvFadeUp {
    from { opacity: 0; transform: translateY(30px); }
    to   { opacity: 1; transform: translateY(0); }
}

/* ── Mobile ── */
@media (max-width: 600px) {
    .mhv-hero__cta {
        padding: 13px 28px;
        font-size: 14px;
    }
}
