/* ========================================== */
/* HERO - SECCIÓN PRINCIPAL                   */
/* ========================================== */

#hero {
    background:
        linear-gradient(135deg, rgba(156, 184, 227, 0.08), rgba(44, 62, 80, 0.15)),
        url('../../assets/img/Fondo_Hero.jpg') no-repeat center center;
    background-size: cover;
    color: var(--white);
    padding: 200px 0 40px 0;
    position: relative;
    min-height: 100vh;
    height: auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-end;
}

.hero-content {
    width: 90%;
    max-width: 1300px;
    margin: 0 auto;
    padding: 0 0 40px 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 28px;
}

.hero-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
    width: 100%;
}

.hero-left {
    flex: 0 0 30%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.hero-right {
    flex: 0 0 70%;
    max-width: 700px;
    display: flex;
    align-items: center;
    justify-content: center;
    transform: translateY(20px);
}

.hero-logo img {
    width: 280px;
    height: auto;
    margin-bottom: 0;
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.3));
}

.hero-description {
    font-size: 1.1rem;
    line-height: 1.45;
    margin: 0;
    padding: 55px 24px 55px 24px;
    background: rgba(255, 255, 255, 0.10);
    /* 👈 fondo semitransparente de antes */
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.15);
    position: relative;
    text-align: center;
    width: 100%;
}

/* Comilla de apertura - color sólido, sin opacidad */
.hero-description::before {
    content: '❝';
    font-size: 1.5rem;
    color: var(--secondary-color);
    position: absolute;
    top: 40px;
    left: 50%;
    transform: translateX(-50%);
    /* 👇 sin opacity */
}

/* Comilla de cierre - color sólido, sin opacidad */
.hero-description::after {
    content: '❞';
    font-size: 1.5rem;
    color: var(--secondary-color);
    position: absolute;
    bottom: 18px;
    left: 50%;
    transform: translateX(-50%);
    /* 👇 sin opacity */
}

/* ========================================== */
/* BOTÓN CTA: ENCUENTROS Y EXPOSICIONES       */
/* ========================================== */

.hero-cta-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    margin-top: 4px;
}

.hero-cta-btn {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 12px 26px;
    border-radius: 50px;
    background: linear-gradient(135deg, #f7931f, #f37021);
    color: #ffffff;
    font-family: inherit;
    font-weight: 700;
    font-size: 0.95rem;
    letter-spacing: 0.3px;
    text-decoration: none;
    cursor: pointer;
    border: 2px solid rgba(255, 255, 255, 0.35);
    box-shadow:
        0 10px 25px rgba(243, 112, 33, 0.35),
        0 4px 10px rgba(0, 0, 0, 0.25),
        inset 0 1px 0 rgba(255, 255, 255, 0.3);
    position: relative;
    overflow: hidden;
    transition:
        transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94),
        box-shadow 0.4s ease,
        background 0.4s ease;
    animation: ctaPulse 2.4s ease-in-out infinite;
    will-change: transform, box-shadow;
}

.hero-cta-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -120%;
    width: 60%;
    height: 100%;
    background: linear-gradient(120deg,
            transparent 0%,
            rgba(255, 255, 255, 0.35) 50%,
            transparent 100%);
    transform: skewX(-20deg);
    animation: ctaShine 3.2s ease-in-out infinite;
    pointer-events: none;
}

.hero-cta-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.22);
    color: #ffffff;
    font-size: 0.8rem;
    transition: transform 0.4s ease, background 0.4s ease;
    flex-shrink: 0;
}

.hero-cta-text {
    white-space: nowrap;
    transition: transform 0.4s ease;
}

.hero-cta-arrow {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.85rem;
    transition: transform 0.4s ease;
    margin-left: 2px;
}

.hero-cta-btn:hover {
    transform: translateY(-4px) scale(1.05);
    background: linear-gradient(135deg, #f37021, #f7931f);
    box-shadow:
        0 18px 40px rgba(243, 112, 33, 0.55),
        0 8px 20px rgba(0, 0, 0, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.4);
    border-color: rgba(255, 255, 255, 0.7);
    animation-play-state: paused;
}

.hero-cta-btn:hover .hero-cta-icon {
    transform: rotate(-12deg) scale(1.12);
    background: rgba(255, 255, 255, 0.35);
}

.hero-cta-btn:hover .hero-cta-arrow {
    transform: translateX(6px);
}

.hero-cta-btn:hover .hero-cta-text {
    transform: translateX(2px);
}

.hero-cta-btn:active {
    transform: translateY(-1px) scale(0.99);
    box-shadow:
        0 6px 15px rgba(243, 112, 33, 0.4),
        0 2px 6px rgba(0, 0, 0, 0.3);
}

.hero-cta-btn:focus-visible {
    outline: 3px solid #ffffff;
    outline-offset: 3px;
}

/* ========================================== */
/* INDICADOR DE SCROLL                        */
/* ========================================== */

.scroll-indicator {
    position: absolute;
    bottom: 22px;
    left: 50%;
    transform: translateX(-50%);
    color: var(--white);
    font-size: 0.85rem;
    opacity: 0.6;
    animation: bounce 2s infinite;
}

@keyframes bounce {

    0%,
    20%,
    50%,
    80%,
    100% {
        transform: translateX(-50%) translateY(0);
    }

    40% {
        transform: translateX(-50%) translateY(-10px);
    }

    60% {
        transform: translateX(-50%) translateY(-5px);
    }
}

/* ========================================== */
/* ANIMACIONES DEL BOTÓN                      */
/* ========================================== */

@keyframes ctaPulse {

    0%,
    100% {
        transform: translateY(0) scale(1);
        box-shadow:
            0 10px 25px rgba(243, 112, 33, 0.35),
            0 4px 10px rgba(0, 0, 0, 0.25),
            inset 0 1px 0 rgba(255, 255, 255, 0.3);
    }

    50% {
        transform: translateY(-3px) scale(1.025);
        box-shadow:
            0 16px 34px rgba(243, 112, 33, 0.5),
            0 6px 14px rgba(0, 0, 0, 0.28),
            inset 0 1px 0 rgba(255, 255, 255, 0.35);
    }
}

@keyframes ctaShine {
    0% {
        left: -120%;
    }

    40% {
        left: 130%;
    }

    100% {
        left: 130%;
    }
}

/* ========================================== */
/* RESPONSIVE                                 */
/* ========================================== */

@media (max-width: 1024px) {
    #hero {
        padding: 170px 0 35px 0;
    }

    .hero-content {
        padding-bottom: 35px;
        gap: 22px;
    }

    .hero-container {
        gap: 32px;
    }

    .hero-logo img {
        width: 200px;
    }

    .hero-description {
        font-size: 1.05rem;
        padding: 48px 22px 48px 22px;
    }

    .hero-description::before,
    .hero-description::after {
        font-size: 1.4rem;
    }

    .hero-description::before {
        top: 15px;
    }

    .hero-description::after {
        bottom: 15px;
    }

    .hero-right {
        max-width: 620px;
        transform: translateY(15px);
    }

    .hero-cta-btn {
        padding: 11px 22px;
        font-size: 0.9rem;
        gap: 10px;
    }

    .hero-cta-icon {
        width: 26px;
        height: 26px;
        font-size: 0.75rem;
    }
}

@media (max-width: 768px) {
    #hero {
        min-height: 100vh;
        height: auto;
        padding: 140px 0 60px 0;
        background-attachment: scroll;
    }

    .hero-container {
        flex-direction: column;
        text-align: center;
        gap: 22px;
        padding: 0;
    }

    .hero-left,
    .hero-right {
        flex: 0 0 auto;
        width: 100%;
        max-width: 100%;
        transform: none;
    }

    .hero-logo img {
        width: 150px;
        margin-bottom: 0;
    }

    .hero-description {
        font-size: 0.95rem;
        padding: 42px 18px 42px 18px;
        text-align: center;
    }

    .hero-description::before,
    .hero-description::after {
        font-size: 1.6rem;
    }

    .hero-description::before {
        top: 12px;
    }

    .hero-description::after {
        bottom: 12px;
    }

    .hero-content {
        padding-bottom: 30px;
        gap: 20px;
    }

    .hero-cta-wrapper {
        margin-top: 0;
    }

    .hero-cta-btn {
        padding: 10px 20px;
        font-size: 0.85rem;
        gap: 9px;
        animation-duration: 3.2s;
    }

    .hero-cta-icon {
        width: 24px;
        height: 24px;
        font-size: 0.7rem;
    }

    .hero-cta-text {
        white-space: normal;
        text-align: center;
    }

    .scroll-indicator {
        bottom: 16px;
        font-size: 0.75rem;
    }
}

@media (max-width: 480px) {
    #hero {
        padding: 120px 0 50px 0;
    }

    .hero-logo img {
        width: 130px;
    }

    .hero-description {
        font-size: 0.9rem;
        padding: 38px 14px 38px 14px;
        line-height: 1.4;
    }

    .hero-description::before {
        top: 10px;
    }

    .hero-description::after {
        bottom: 10px;
    }

    .hero-content {
        padding-bottom: 24px;
        gap: 16px;
    }

    .hero-cta-btn {
        padding: 9px 16px;
        font-size: 0.78rem;
        gap: 7px;
    }

    .hero-cta-text {
        font-size: 0.78rem;
    }

    .hero-cta-arrow {
        font-size: 0.75rem;
    }

    .hero-cta-icon {
        width: 22px;
        height: 22px;
        font-size: 0.65rem;
    }

    .scroll-indicator {
        font-size: 0.7rem;
        bottom: 12px;
    }
}

/* Accesibilidad: respeta "prefers-reduced-motion" */
@media (prefers-reduced-motion: reduce) {

    .hero-cta-btn,
    .hero-cta-btn::before {
        animation: none;
    }

    .hero-cta-btn {
        transition: transform 0.2s ease, box-shadow 0.2s ease;
    }
}