.hero {
    background-image: url(../img/hero-mobile.jpg);
    /* Animación del "fondo" (zoom + desplazamiento) */
    background-size: cover;
    background-position: center top;
    background-repeat: no-repeat;
    min-height: 42rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    color: var(--color-blanco);
    margin: 0;
    padding: var(--seccion-py-hero) 0;
    animation: none;
    position: relative;
}

.hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(95deg, rgba(0, 0, 0, 0.58) 0%, rgba(0, 0, 0, 0.22) 52%, rgba(0, 0, 0, 0.08) 100%);
    pointer-events: none;
}

.hero-contenido {
    position: relative;
    z-index: 1;
    
}

.hero__badge {
    display: inline-flex;
    align-items: center;
    margin: 0 0 1.2rem 0;
    padding: 0.45rem 1.15rem;
    font-size: 1.15rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--color-blanco);
    background: rgba(255, 255, 255, 0.14);
    border: 1px solid rgba(255, 255, 255, 0.28);
    border-radius: 10rem;
}

.hero__cta {
    border-radius: 10rem;
    padding: 1.2rem 2.6rem;
    white-space: nowrap;
    box-shadow: 0 4px 18px rgba(0, 0, 0, 0.28);
    transition: transform 0.2s ease, box-shadow 0.2s ease, filter 0.2s ease;
}

.hero__cta:hover {
    transform: translateY(-2px);
    filter: brightness(1.06);
    box-shadow: 0 8px 28px rgba(0, 0, 0, 0.32);
}

@keyframes hero-bg-anim {
    0% {
        background-position: center top;
        background-size: 120%;
    }
    50% {
        background-position: center center;
        background-size: 140%;
    }
    100% {
        background-position: center top;
        background-size: 120%;
    }
}

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

.hero-titulo {
    font-size: 3.2rem;
    font-weight: 700;
    color: var(--color-blanco);
    line-height: 1.1;
    margin: 0 0 1.2rem 0;
    text-shadow: 0 4px 4px rgba(0, 0, 0, 0.25);

}

.hero-parrafo {
    font-size: 1.7rem;
    font-weight: 400;
    color: var(--color-blanco);
    max-width: 45rem;
    margin: 0 0 2.4rem 0;
    text-shadow: 0 4px 4px rgba(0, 0, 0, 0.25);


}

@media (min-width: 768px) {
    .hero {
        background-image: url(../img/hero.jpg);
        min-height: 50rem;
        padding: var(--seccion-py-hero) 0;
        animation: hero-bg-anim 12s ease-in-out infinite;
    }

    .hero-titulo {
        font-size: 4.4rem;
        margin-bottom: 1.4rem;
    }

    .hero-parrafo {
        font-size: 1.9rem;
        margin-bottom: 3.2rem;
    }
}

@media (min-width: 1200px) {
    .hero-titulo {
        font-size: 5rem;
    }

    .hero-parrafo {
        font-size: 2rem;
    }
}