/* =========================================================
   HERO · QREAIX
========================================================= */

.hero {
    position: relative;
    width: 100%;
    min-height: 100vh;
    min-height: 100dvh;
    overflow: hidden;
    display: flex;
    align-items: center;
    padding: calc(var(--header-height) + 60px) 0 80px;
    margin: 0;
}

.hero .video-container {
    position: absolute;
    inset: 0;
    z-index: 1;
    overflow: hidden;
    pointer-events: none;
    user-select: none;
}

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

.hero::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(
        100deg,
        rgba(23, 62, 104, 0.92) 0%,
        rgba(23, 62, 104, 0.75) 35%,
        rgba(23, 62, 104, 0.45) 60%,
        rgba(23, 62, 104, 0.7) 100%
    );
    z-index: 2;
    pointer-events: none;
}

.hero .hero-content {
    position: relative;
    z-index: 3;
    width: 100%;
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 var(--space-md);
    text-align: left;
    color: var(--text-light);
}

/* Párrafo de introducción pequeño (antes del titular) */
.hero .hero-eyebrow {
    font-family: var(--font-family);
    font-size: var(--fs-sm);
    font-weight: var(--fw-medium);
    color: var(--accent-gold);
    margin: 0 0 var(--space-md);
    letter-spacing: 0.02em;
    opacity: 0.95;
}

.hero .hero-content h1 {
    font-family: var(--font-family);
    font-weight: var(--fw-bold);
    font-size: var(--fs-4xl);
    line-height: var(--lh-tight);
    letter-spacing: var(--ls-tight);
    margin: 0 0 var(--space-md);
    color: var(--text-light);
    max-width: 900px;
    text-shadow: 0 2px 20px rgba(0, 0, 0, 0.25);
}

#dynamic-phrase {
    display: inline-block;
    opacity: 1;
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.hero .hero-content .hero-subtitle {
    font-family: var(--font-family);
    font-weight: var(--fw-regular);
    font-size: var(--fs-md);
    line-height: var(--lh-relaxed);
    color: var(--text-on-dark-soft);
    max-width: 600px;
    margin: 0 0 var(--space-lg);
    text-shadow: 0 1px 8px rgba(0, 0, 0, 0.3);
}

.hero .hero-content .hero-cta {
    display: inline-flex;
    align-items: center;
    gap: var(--space-xs);
    padding: 16px 32px;
    font-size: var(--fs-sm);
    font-weight: var(--fw-semibold);
    background: var(--accent-gold);
    color: var(--primary-blue);
    border-radius: var(--radius-md);
    text-decoration: none;
    transition: all var(--transition-fast);
    letter-spacing: var(--ls-normal);
}

.hero .hero-content .hero-cta:hover {
    background: var(--accent-gold);
    color: var(--primary-blue);
    transform: translateY(-2px);
    box-shadow: 0 12px 32px rgba(255, 215, 0, 0.35);
}

.hero .hero-content .hero-cta svg {
    width: 18px;
    height: 18px;
}

/* Meta datos del hero (40+, 12, 3.5x) */
.hero .hero-content .hero-meta {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-xl);
    margin-top: var(--space-xl);
    padding-top: var(--space-md);
    border-top: 1px solid rgba(255, 255, 255, 0.15);
    max-width: 700px;
}

.hero .hero-content .hero-meta-item {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.hero .hero-content .hero-meta-number {
    font-family: var(--font-family);
    font-size: var(--fs-xl);
    font-weight: var(--fw-bold);
    color: var(--text-light);
    letter-spacing: var(--ls-tight);
    line-height: 1;
}

.hero .hero-content .hero-meta-label {
    font-family: var(--font-family);
    font-size: var(--fs-xs);
    color: var(--text-on-dark-muted);
    letter-spacing: 0.01em;
}

/* RESPONSIVE */
@media (max-width: 768px) {
    .hero {
        padding: calc(var(--header-height) + 32px) 0 60px;
        min-height: auto;
    }

    .hero .hero-content {
        padding: 0 var(--space-sm);
    }

    .hero::after {
        background: linear-gradient(
            180deg,
            rgba(23, 62, 104, 0.85) 0%,
            rgba(23, 62, 104, 0.75) 50%,
            rgba(23, 62, 104, 0.9) 100%
        );
    }

    .hero .hero-content .hero-meta {
        gap: var(--space-md);
        margin-top: var(--space-lg);
    }

    .hero .hero-content .hero-cta {
        padding: 14px 24px;
        width: 100%;
        justify-content: center;
    }
}