/* ==========================================================================
   Hero Section with Countdown
   ========================================================================== */

.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--jno-blue) 0%, var(--jno-blue-dark) 50%, var(--jno-green-dark) 100%);
    overflow: hidden;
    color: var(--jno-white);
    text-align: center;
    padding: calc(var(--header-height) + var(--sp-8)) 0 var(--sp-16);
}

.admin-bar .hero {
    padding-top: calc(var(--header-height) + 32px + var(--sp-8));
}

@media (max-width: 782px) {
    .admin-bar .hero {
        padding-top: calc(var(--header-height) + 46px + var(--sp-8));
    }
}

.hero__overlay {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse at 20% 50%, rgba(0, 132, 61, 0.3) 0%, transparent 60%),
        radial-gradient(ellipse at 80% 20%, rgba(255, 209, 0, 0.15) 0%, transparent 50%);
    pointer-events: none;
}

/* Mascota Chiwi — centered in hero flow */
.hero__mascot {
    display: flex;
    justify-content: center;
    margin: var(--sp-2) 0;
    animation: mascotFloat 3s ease-in-out infinite;
}

.hero__mascot img {
    width: 135px;
    height: auto;
    filter: drop-shadow(0 10px 30px rgba(0, 0, 0, 0.3));
}

@keyframes mascotFloat {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

@media (max-width: 767px) {
    .hero__mascot img {
        width: 90px;
    }
}

@media (min-width: 768px) and (max-width: 1023px) {
    .hero__mascot img {
        width: 112px;
    }
}

.hero__content {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--sp-8);
}

.hero__text {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.hero__badge {
    display: inline-block;
    padding: var(--sp-2) var(--sp-6);
    background: rgba(255, 209, 0, 0.2);
    color: var(--jno-yellow);
    font-family: var(--font-heading);
    font-size: var(--fs-sm);
    font-weight: var(--fw-bold);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    border-radius: var(--radius-full);
    border: 1px solid rgba(255, 209, 0, 0.3);
    margin-bottom: var(--sp-4);
}

.hero__title {
    font-size: var(--fs-5xl);
    font-weight: var(--fw-black);
    line-height: 1.1;
    text-transform: uppercase;
    letter-spacing: -0.01em;
    color: var(--jno-white);
    max-width: 800px;
    text-shadow: 0 2px 20px rgba(0, 0, 0, 0.3);
    margin-top: 0;
}

.hero__subtitle {
    font-size: var(--fs-2xl);
    font-weight: var(--fw-bold);
    color: var(--jno-yellow);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 0;
}

.hero__dates {
    font-size: var(--fs-lg);
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 0;
}

/* Countdown */
.countdown {
    display: flex;
    align-items: center;
    gap: var(--sp-4);
}

.countdown__item {
    display: flex;
    flex-direction: column;
    align-items: center;
    min-width: 80px;
}

.countdown__number {
    font-family: var(--font-heading);
    font-size: var(--fs-4xl);
    font-weight: var(--fw-black);
    line-height: 1;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: var(--radius-lg);
    padding: var(--sp-4) var(--sp-6);
    min-width: 90px;
    text-align: center;
}

.countdown__label {
    font-size: var(--fs-xs);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: rgba(255, 255, 255, 0.7);
    margin-top: var(--sp-2);
}

.countdown__separator {
    font-family: var(--font-heading);
    font-size: var(--fs-3xl);
    font-weight: var(--fw-bold);
    color: rgba(255, 255, 255, 0.4);
    padding-bottom: var(--sp-6);
}

/* Hero CTA */
.hero__actions {
    display: flex;
    gap: var(--sp-4);
    flex-wrap: wrap;
    justify-content: center;
}

/* Bottom wave */
.hero__wave {
    position: absolute;
    bottom: -1px;
    left: 0;
    right: 0;
    z-index: 2;
}

.hero__wave svg {
    display: block;
    width: 100%;
    height: 60px;
}

/* Responsive */
@media (max-width: 767px) {
    .hero {
        min-height: auto;
    }

    .hero__title {
        font-size: var(--fs-2xl);
    }

    .hero__subtitle {
        font-size: var(--fs-lg);
    }

    .countdown {
        gap: var(--sp-2);
    }

    .countdown__number {
        font-size: var(--fs-xl);
        padding: var(--sp-3) var(--sp-4);
        min-width: 60px;
    }

    .countdown__separator {
        font-size: var(--fs-xl);
        padding-bottom: var(--sp-4);
    }

    .hero__actions {
        flex-direction: column;
        align-items: center;
    }
}

@media (min-width: 768px) and (max-width: 1023px) {
    .hero__title {
        font-size: var(--fs-3xl);
    }
}
