/* ==========================================================================
   hero.css — Stat-banner hero, animated stat counters
   ========================================================================== */

.hero {
    background: var(--c-surface);
    border-bottom: 1px solid var(--c-border);
    padding: var(--s-64) 0 var(--s-48);
    text-align: center;
    position: relative;
    overflow: hidden;
}

/* Background image variant (darkened overlay) */
.hero--bg {
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.hero--bg::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(13, 17, 23, 0.82);
    z-index: 1;
}

.hero--bg .container {
    position: relative;
    z-index: 2;
}

.hero--compact {
    padding: var(--s-40) 0 var(--s-32);
}

.hero__kicker {
    font-family: var(--f-body);
    font-size: 0.75rem;
    font-weight: 500;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--c-accent);
    margin-bottom: var(--s-16);
}

.hero h1 {
    font-family: var(--f-heading);
    font-weight: 600;
    font-size: clamp(2rem, 4.5vw, 3.25rem);
    line-height: 1.12;
    margin-bottom: var(--s-16);
}

.hero__desc {
    font-size: 1rem;
    color: var(--c-text-dim);
    max-width: 640px;
    margin: 0 auto var(--s-24);
    line-height: 1.6;
}

/* --- Stat counters row ---------------------------------------------------- */
.hero__stats {
    display: flex;
    justify-content: center;
    gap: var(--s-40);
    margin-top: var(--s-32);
    flex-wrap: wrap;
}

.hero__stat {
    text-align: center;
    min-width: 100px;
}

.hero__stat-number {
    font-family: var(--f-body);
    font-weight: 700;
    font-size: 2.5rem;
    font-variant-numeric: tabular-nums;
    color: var(--c-accent);
    line-height: 1.1;
}

.hero__stat-label {
    font-family: var(--f-body);
    font-size: 0.75rem;
    font-weight: 400;
    color: var(--c-text-dim);
    margin-top: var(--s-4);
}

/* --- Hero CTA row --------------------------------------------------------- */
.hero__ctas {
    display: flex;
    justify-content: center;
    gap: var(--s-12);
    margin-top: var(--s-32);
    flex-wrap: wrap;
}

/* --- Counter animation ---------------------------------------------------- */
@keyframes vq-count-in {
    from {
        opacity: 0;
        transform: translateY(8px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero__stat[data-reveal] {
    opacity: 0;
}

.hero__stat.is-visible {
    animation: vq-count-in 0.5s var(--ease) forwards;
}

.hero__stat:nth-child(2).is-visible { animation-delay: 0.1s; }
.hero__stat:nth-child(3).is-visible { animation-delay: 0.2s; }
.hero__stat:nth-child(4).is-visible { animation-delay: 0.3s; }
