/* ════════════════════════════
       HERO
    ════════════════════════════ */
#hero {
    position: relative;
    height: 100vh;
    min-height: 600px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-end;
    padding-bottom: 56px;
}

.carousel-slide {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transition: opacity 1.2s ease;
}

.carousel-slide.active {
    opacity: 1;
}

.slide-1 {
    background-image: url('../img/01-Alma\ Et01.avif');
    background-position: top;
}

.slide-2 {
    background-image: url('../img/01-Avalos\ 02.avif');
}

.slide-3 {
    background-image: url('../img/9-CASA\ LIVING.avif');
}

.hero-film {
    position: absolute;
    inset: 0;
    background: rgba(20, 25, 32, 0.144); /* El nivel de oscuridad que desees para el fondo */
    z-index: 1;
}

.hero-title {
    position: absolute;
    inset: 0;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
    
    /* ESTA ES LA CLAVE: */
    background-color: rgba(24, 28, 36, 0.808); /* Debe ser el color de fondo oscuro de tu diseño */
    mix-blend-mode: multiply; /* Convierte todo el fondo sólido en opaco y las letras blancas en ventanas transparentes */
}

.hero-title h1 {
    font-size: clamp(5rem, 24vw, 24rem); 
    font-weight: 900; 
    letter-spacing: 0.05em;
    line-height: 1;
    margin: 0;
    user-select: none;
    text-align: center;
    
    /* El texto DEBE ser completamente blanco y sólido para que el 'multiply' lo vuelva 100% transparente */
    color: #ffffff; 
    
    /* Cambiamos la tipografía a Inter para asegurar el grosor y la visualización de la línea (Ū) */
    font-family:'IBM Plex Sans', 'Inter', sans-serif;
}

.hero-bottom {
    position: relative;
    z-index: 3;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 24px;
}

.hero-subtitle {
    font-size: 1.75rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.8);
    letter-spacing: 0.04em;
}

.hero-arrow {
    display: flex;
    flex-direction: column;
    align-items: center;
    cursor: pointer;
    text-decoration: none;
    color: rgba(255, 255, 255, 0.7);
}

.hero-arrow .material-symbols-rounded {
    font-size: 32px;
    animation: arrowPulse 2s infinite ease-in-out;
}

@keyframes arrowPulse {

    0%,
    100% {
        transform: translateY(0);
        opacity: 0.6;
    }

    50% {
        transform: translateY(6px);
        opacity: 1;
    }
}

/* RESPONSIVE */



@media (max-width: 800px) {
    .hero-subtitle {
        font-size: 24px;
    }
}

@media (max-width: 640px) {
    .hero-subtitle {
        font-size: 20px;
    }
}