/* =============================================================
   Widget: Video Background Hero (qb-hero)
   ============================================================= */

.qb-hero {
    position: relative;
    width: 100%;
    min-height: 100vh;
    color: #fff;
    overflow: hidden;
    isolation: isolate;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

/* Background video / image */
.qb-hero__bg {
    position: absolute;
    inset: 0;
    z-index: -1;
    overflow: hidden;
    background: #1a1512;
}
.qb-hero__video,
.qb-hero__video--image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}
.qb-hero__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        180deg,
        rgba(0, 0, 0, 0.35) 0%,
        rgba(0, 0, 0, 0.10) 35%,
        rgba(0, 0, 0, 0.55) 100%
    );
    pointer-events: none;
}

/* Fade-in-up entrance animation */
@keyframes qb-hero-fade-up {
    from { opacity: 0; transform: translateY(32px); }
    to   { opacity: 1; transform: translateY(0); }
}

/* Content */
.qb-hero__content {
    position: relative;
    z-index: 1;
    max-width: 1604px;
    width: 100%;
    margin: 0 auto;
    padding: 120px 48px 80px;
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.qb-hero__title {
    margin: 0;
    font-family: 'Clash Display', sans-serif;
    font-weight: 700;
    font-size: clamp(32px, 3.5vw, 48px);
    line-height: 1.1;
    color: #fff;
    opacity: 0;
    animation: qb-hero-fade-up .8s cubic-bezier(.2,.6,.2,1) .1s forwards;
}

.qb-hero__subtitle {
    margin: 0;
    max-width: 1140px;
    font-family: 'Clash Display', sans-serif;
    font-weight: 400;
    font-size: clamp(16px, 1.6vw, 24px);
    line-height: 1.4;
    color: #cfd0d0;
    opacity: 0;
    animation: qb-hero-fade-up .8s cubic-bezier(.2,.6,.2,1) .25s forwards;
}

.qb-hero__ctas {
    display: flex;
    flex-wrap: wrap;
    gap: 24px;
    opacity: 0;
    animation: qb-hero-fade-up .8s cubic-bezier(.2,.6,.2,1) .45s forwards;
}

.qb-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 48px;
    padding: 0 24px;
    min-width: 320px;
    font-family: 'Clash Display', sans-serif;
    font-weight: 500;
    font-size: 16px;
    text-align: center;
    text-decoration: none;
    transition: background-color .2s ease, color .2s ease, border-color .2s ease;
    cursor: pointer;
}
.qb-btn--primary {
    background: #262221;
    color: #f1f1f1;
    border: 1px solid #262221;
}
.qb-btn--primary:hover { background: #3a3231; border-color: #3a3231; }

.qb-btn--outline {
    background: transparent;
    color: #f1f1f1;
    border: 1px solid #f1f1f1;
}
.qb-btn--outline:hover { background: rgba(255, 255, 255, .08); }

/* Mobile */
@media (max-width: 900px) {
    .qb-hero__content { padding: 80px 20px 48px; }
    .qb-btn { min-width: 0; flex: 1; }
}
@media (max-width: 600px) {
    .qb-hero__ctas { flex-direction: column; }
    .qb-btn { width: 100%; flex: unset; }
}
