/* ========================================
   HERO2.CSS — Nuevo Hero artístico
   Diseño con ojos laterales + panel dorado
   ======================================== */

.hero2 {
    position: relative;
    width: 100%;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    overflow: visible;
    background: var(--color-crema) url('../img/hero/BG-only-min.jpg') center center / cover no-repeat;
}

/* ── Zona superior: título + logo ── */
.hero2__top {
    position: relative;
    z-index: 5;
    text-align: center;
    padding: 5rem 2rem 2rem;
    width: 100%;
    background: transparent;
}

.hero2__title {
    font-family: var(--font-titulo);
    font-size: clamp(1.6rem, 4.5vw, 3.2rem);
    color: var(--color-crema);
    letter-spacing: 0.1em;
    margin-bottom: 0.4rem;
    line-height: 1.15;
    text-shadow: 0 2px 12px rgba(26, 26, 20, 0.7), 0 0 40px rgba(26, 26, 20, 0.4);
    animation: hero2FadeDown 1s 0.2s ease both;
}

.hero2__subtitle {
    font-family: var(--font-subtitulo);
    font-size: clamp(1rem, 2.5vw, 1.6rem);
    color: var(--color-crema);
    letter-spacing: 0.06em;
    font-weight: 400;
    text-transform: none;
    text-shadow: 0 2px 10px rgba(26, 26, 20, 0.6), 0 0 30px rgba(26, 26, 20, 0.35);
    margin-bottom: 1.5rem;
    animation: hero2FadeDown 1s 0.5s ease both;
}

.hero2__logo {
    display: block;
    max-width: 90px;
    height: auto;
    margin: 0 auto;
    animation: hero2ScaleIn 1s 0.8s ease both;
}

/* Logo en el panel: oculto por defecto (solo aparece en mobile) */
.hero2__logo--panel {
    display: none;
}

/* ── Zona inferior: panel dorado ── */
.hero2__panel-wrap {
    position: relative;
    width: 100%;
    flex: 1;
    display: flex;
    align-items: stretch;
    min-height: 420px;
}

/* Ojos laterales — crecen con el hero, con límite máximo y centrado */
.hero2__eye {
    position: absolute;
    top: 0;
    bottom: 0;
    margin: auto 0;
    width: 44vw;
    /*max-height: 900px;*/
    z-index: 10;
    pointer-events: none;
    overflow: hidden;
}

.hero2__eye img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.hero2__eye--left {
    left: 0;
    animation: hero2SlideInLeft 1.2s 0.8s ease both;
}

.hero2__eye--left img {
    object-position: left center;
}

.hero2__eye--right {
    right: 0;
    animation: hero2SlideInRight 1.2s 0.8s ease both;
}

.hero2__eye--right img {
    object-position: right center;
}

/* Panel dorado central */
.hero2__panel {
    position: relative;
    z-index: 5;
    width: 60%;
    max-width: 900px;
    margin: 0 auto;
    background: rgba(243, 229, 145, 0.90);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 3rem 2rem;
    text-align: center;
    border-radius: var(--radius-lg) var(--radius-lg) 0 0;
}

/* ── Fechas ── */
.hero2__dates {
    font-family: var(--font-titulo);
    font-size: clamp(1.8rem, 5vw, 3.5rem);
    color: var(--color-tierra);
    letter-spacing: 0.12em;
    line-height: 1.1;
    margin-bottom: 1rem;
    animation: hero2FadeUp 1s 1s ease both;
}

.hero2__dates-number {
    font-weight: 700;
}

.hero2__dates-dash {
    display: inline-block;
    width: 50px;
    height: 3px;
    background: var(--color-tierra);
    vertical-align: middle;
    margin: 0 0.6rem;
    border-radius: 2px;
}

.hero2__dates-month {
    display: block;
    font-family: var(--font-subtitulo);
    font-size: clamp(0.9rem, 2vw, 1.3rem);
    letter-spacing: 0.25em;
    margin-top: 0.2rem;
    color: var(--color-tierra);
    opacity: 0.9;
}

/* ── Descripción ── */
.hero2__description {
    font-family: var(--font-cuerpo);
    font-size: clamp(0.95rem, 1.8vw, 1.15rem);
    color: var(--color-noche);
    max-width: 550px;
    line-height: 1.6;
    margin: 0 auto 2rem;
    opacity: 0.9;
    animation: hero2FadeUp 1s 1.2s ease both;
}

/* ── Botones ── */
.hero2__cta {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 1.6rem;
    margin-bottom: 2.5rem;
    animation: hero2FadeUp 1s 1.4s ease both;
}

.hero2__btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.85rem 2.2rem;
    font-family: var(--font-cuerpo);
    font-size: 0.9rem;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    border-radius: var(--radius-xl);
    transition: all var(--transition-base);
    cursor: pointer;
    border: 2px solid transparent;
    text-decoration: none;
}

.hero2__btn--primary {
    background: var(--color-tierra);
    color: var(--color-crema);
    border-color: var(--color-tierra);
}

.hero2__btn--primary:hover {
    background: var(--color-noche);
    border-color: var(--color-noche);
    color: var(--color-crema);
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(139, 94, 60, 0.35);
}

.hero2__btn--secondary {
    background: transparent;
    color: var(--color-tierra);
    border-color: var(--color-tierra);
}

.hero2__btn--secondary:hover {
    background: var(--color-tierra);
    color: var(--color-crema);
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(139, 94, 60, 0.25);
}

/* ── Logos organizadores ── */
.hero2__partners {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: 1.6rem;
    animation: hero2FadeUp 1s 1.6s ease both;
}

.hero2__partners-col {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.6rem;
}

.hero2__partners-divider {
    width: 1px;
    height: 52px;
    background: var(--color-tierra);
    opacity: 0.35;
    align-self: center;
}

.hero2__partners-label {
    font-family: var(--font-cuerpo);
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--color-tierra);
    opacity: 0.7;
}

/* Logos apoyan en fila */
.hero2__partners-logos {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 0.8rem;
}

/* Apoyan logos */
.hero2__partner-logo {
    height: 50px;
    width: auto;
    object-fit: contain;
    transition: transform var(--transition-base), opacity var(--transition-base);
    opacity: 0.85;
}

/* Organiza logo — 20% más grande */
.hero2__partner-logo--organiza {
    height: 66px;
}

.hero2__partner-logo:hover {
    transform: scale(1.08);
    opacity: 1;
}

/* ========================================
   KEYFRAMES
   ======================================== */

@keyframes hero2FadeDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes hero2FadeUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes hero2SlideInLeft {
    from {
        opacity: 0;
        transform: translateX(-100%);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes hero2SlideInRight {
    from {
        opacity: 0;
        transform: translateX(100%);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes hero2ScaleIn {
    from {
        opacity: 0;
        transform: scale(0.7);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

/* ========================================
   RESPONSIVE
   Solo 2 breakpoints:
   - Desktop: ≥ 1024px (estilos base)
   - Mobile:  < 1024px
   ======================================== */

/* Mobile (< 1024px) */
@media (max-width: 1023px) {
    .hero2 {
        min-height: 100svh;
    }

    .hero2__top {
        padding: 4.5rem 1.5rem 1.5rem;
    }

    .hero2__title {
        font-size: clamp(1.3rem, 6vw, 2rem);
        letter-spacing: 0.06em;
    }

    .hero2__subtitle {
        font-size: clamp(0.9rem, 3.5vw, 1.2rem);
        margin-bottom: 1rem;
    }

    /* Logo del top: ocultarlo en mobile (se mueve al panel) */
    .hero2__top .hero2__logo {
        display: none;
    }

    /* Logo dentro del panel: visible en mobile */
    .hero2__logo--panel {
        display: block;
        max-width: 80px;
        height: auto;
        margin: 0 auto 1.5rem;
    }

    .hero2__panel-wrap {
        min-height: 360px;
    }

    /* En mobile los ojos quedan DETRÁS del panel para no tapar el texto */
    .hero2__eye {
        width: 50vw;
        max-height: 600px;
        z-index: 2;
        opacity: 0.6;
    }

    .hero2__panel {
        width: 100%;
        background: rgba(243, 229, 145, 0.92);
        border-radius: 0;
        padding: 2rem 1.5rem;
    }

    .hero2__dates {
        font-size: clamp(1.5rem, 8vw, 2.5rem);
    }

    .hero2__dates-dash {
        width: 30px;
        margin: 0 0.4rem;
    }

    .hero2__description {
        font-size: 0.93rem;
        margin-bottom: 1.5rem;
    }

    .hero2__cta {
        flex-direction: column;
        align-items: center;
        gap: 0.75rem;
        margin-bottom: 2rem;
    }

    .hero2__btn {
        width: 100%;
        max-width: 280px;
        padding: 0.75rem 1.8rem;
        font-size: 0.85rem;
    }

    .hero2__partners {
        gap: 1rem;
    }

    .hero2__partners-divider {
        height: 42px;
    }

    .hero2__partner-logo {
        height: 36px;
    }

    .hero2__partner-logo--organiza {
        height: 43px;
    }
}

/* Small mobile (< 480px) — ajustes finos dentro del layout mobile */
@media (max-width: 479px) {
    .hero2__top {
        padding: 4rem 1rem 1rem;
        background: rgba(139, 94, 60, 0.88);
    }

    .hero2__title {
        font-size: 1.2rem;
    }

    .hero2__subtitle {
        font-size: 0.85rem;
    }

    .hero2__eye {
        opacity: 0.5;
    }

    .hero2__panel {
        padding: 1.5rem 1rem;
    }

    .hero2__partner-logo {
        height: 30px;
    }

    .hero2__partner-logo--organiza {
        height: 36px;
    }

    .hero2__partners {
        gap: 0.8rem;
    }

    .hero2__partners-divider {
        height: 36px;
    }
}

/* Portrait at desktop width (e.g. 1080×1920 vertical monitors, large tablets) */
@media (min-width: 1024px) and (max-aspect-ratio: 3/4) {
    .hero2__eye {
        width: 38vw;
        max-height: 850px;
        z-index: 2;
        opacity: 0.65;
    }

    .hero2__panel {
        z-index: 5;
        width: 55%;
    }
}

/* Landscape mobile */
@media (max-height: 600px) and (orientation: landscape) {
    .hero2 {
        min-height: auto;
    }

    .hero2__top {
        padding: 1.5rem 2rem 1rem;
    }

    .hero2__logo {
        max-width: 80px;
    }

    .hero2__panel {
        padding: 1.5rem 2rem;
    }

    .hero2__dates {
        margin-bottom: 0.5rem;
    }

    .hero2__description {
        margin-bottom: 1rem;
    }

    .hero2__cta {
        margin-bottom: 1.5rem;
    }
}
