.hero {
    background: transparent; /* el degradado vive en .site-bg, ver global.css */
    min-height: 90vh;
    display: flex;
    align-items: flex-end;
    padding: 0 40px 80px;
}

.hero-container {
    max-width: 1400px;
    width: 100%;
    margin: 0 auto;
}

.hero-text {
    width: max-content;
    max-width: 100%;
}

.hero-title,
.hero-subtitle,
.hero-ctas {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity .9s cubic-bezier(.16, .84, .44, 1), transform .9s cubic-bezier(.16, .84, .44, 1);
}

/* La entrada recién arranca cuando el preloader se va (ver preloader.js)  */
/* — si no, se juega tapada y nunca se ve. Título, subtítulo y CTAs entran */
/* escalonados para dar ritmo en vez de aparecer todos juntos.             */
body.preloader-done .hero-title {
    opacity: 1;
    transform: translateY(0);
    transition-delay: .1s;
}

body.preloader-done .hero-subtitle {
    opacity: 1;
    transform: translateY(0);
    transition-delay: .3s;
}

body.preloader-done .hero-ctas {
    opacity: 1;
    transform: translateY(0);
    transition-delay: .45s;
}

.hero-title {
    font-family: var(--font-heading);
    font-weight: 400;
    font-size: clamp(60px, 10vw, 140px);
    color: var(--color-white);
    line-height: 1;
    margin: 0;
}

.hero-bottom {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 16px 32px;
    width: 100%;
}

.hero-subtitle {
    font-family: var(--font-subheading);
    font-size: clamp(28px, 4vw, 44px);
    color: var(--color-white);
    margin: -8px 0 0;
}

.hero-ctas {
    display: flex;
    align-items: center;
    gap: 24px;
    flex-wrap: wrap;
}

.hero-cta {
    font-family: var(--font-body);
    font-size: 15px;
    font-weight: 600;
    letter-spacing: .03em;
    color: var(--color-white);
    text-decoration: underline;
    text-underline-offset: 4px;
    white-space: nowrap;
    transition: transform .3s cubic-bezier(.16, .84, .44, 1), text-underline-offset .3s ease;
}

.hero-cta:hover {
    transform: translateY(-2px);
    text-underline-offset: 7px;
}

.hero-cta:focus-visible {
    outline: 2px solid currentColor;
    outline-offset: 4px;
    border-radius: 2px;
}

/* "Explorar la tienda" es la intención de compra directa — se le da peso  */
/* de botón real; "Descubre tu kit ideal" queda como link secundario de    */
/* descubrimiento, mismo tratamiento que el resto de links del sitio.      */
.hero-cta--primary {
    background: var(--color-white);
    color: var(--color-text-dark) !important;
    padding: 14px 30px;
    border-radius: 999px;
    text-decoration: none;
    transition: transform .3s cubic-bezier(.16, .84, .44, 1);
}

.hero-cta--primary:hover {
    transform: translateY(-3px);
}

.hero-cta--primary:focus-visible {
    outline-offset: 3px;
}

@media (max-width: 640px) {
    .hero-bottom {
        flex-direction: column;
        align-items: flex-start;
        gap: 16px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .hero-title,
    .hero-subtitle,
    .hero-ctas,
    .hero-cta,
    .hero-cta--primary {
        transition: none;
    }

    .hero-title,
    .hero-subtitle,
    .hero-ctas {
        opacity: 1;
        transform: none;
    }
}