/* ===== HERO ===== */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 7rem 2rem 5rem;
    background: url("../media/img/FondoAOE2.jpg") center center / cover no-repeat fixed;
    overflow: hidden;
}

.hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse at center, rgba(26, 18, 11, 0.35) 0%, rgba(26, 18, 11, 0.75) 70%, rgba(13, 9, 6, 0.95) 100%);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 820px;
}

.hero-logo {
    width: min(520px, 75vw);
    margin: 0 auto 1.2rem;
    filter: drop-shadow(0 10px 22px rgba(0, 0, 0, 0.8));
    animation: logo-fade 1.4s ease both;
}

.hero-subtitle {
    font-family: var(--tipo-cuerpo);
    font-size: clamp(1.1rem, 2.5vw, 1.5rem);
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--pergamino-claro);
    text-shadow: 0 2px 6px rgba(0, 0, 0, 0.9);
    margin-bottom: 2.2rem;
}

.hero-btn {
    display: inline-block;
    font-family: var(--tipo-acento);
    font-size: clamp(1.2rem, 2.5vw, 1.6rem);
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--pergamino-claro);
    background: linear-gradient(180deg, var(--rojo), var(--rojo-oscuro));
    border: 2px solid var(--dorado);
    border-radius: 6px;
    padding: 0.9rem 2.6rem;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.6), inset 0 1px 0 rgba(255, 255, 255, 0.15);
    cursor: pointer;
    transition: all 0.3s ease;
    animation: logo-fade 1s ease 0.4s both;
}

.hero-btn:hover {
    color: var(--dorado-brillante);
    border-color: var(--dorado-brillante);
    background: linear-gradient(180deg, #a23321, var(--rojo));
    transform: translateY(-3px);
    box-shadow: 0 0 24px rgba(224, 182, 63, 0.45), 0 10px 26px rgba(0, 0, 0, 0.6);
}

.hero-scroll {
    position: absolute;
    bottom: 1.5rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
    color: var(--dorado);
    font-size: 2rem;
    animation: bounce 2s infinite;
    cursor: pointer;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.8));
}

/* ===== SELLO / ACREDITACION ===== */
.sello {
    padding: 4rem 2rem;
    text-align: center;
    background:
        radial-gradient(circle at 50% 20%, var(--marron) 0%, var(--negro) 75%);
    border-top: 2px solid var(--dorado);
    border-bottom: 2px solid var(--dorado);
}

.sello-texto {
    font-family: var(--tipo-cuerpo);
    font-size: clamp(1rem, 2vw, 1.25rem);
    color: var(--pergamino);
    font-style: italic;
    letter-spacing: 1px;
    max-width: 720px;
    margin: 0 auto;
}

/* ===== ANIMACIONES DE HERO ===== */
@keyframes logo-fade {
    from {
        opacity: 0;
        transform: translateY(24px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

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

/* ===== RESPONSIVE DE HERO ===== */
@media (max-width: 860px) {
    .hero {
        background-attachment: scroll;
        padding-top: 6rem;
    }
}

@media (prefers-reduced-motion: reduce) {
    .hero-logo,
    .hero-btn,
    .hero-scroll {
        animation: none;
    }
}