.home {
    overflow: hidden !important;
    height: 100vh !important;
}

.body-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: left;
    overflow: hidden;
    background-color: #E0E0E0;
    color: #101720;
    width: 100%; /* Asegura ancho completo */
    box-sizing: border-box; /* Incluye padding en el ancho */
}

.lw {
    font-family: "PPNeueCorp-Tight";
    font-weight: 500;
    margin: 0;
    transition: color 0.3s ease;
    display: flex;
    align-items: center;
    text-align: right;
    height: 2.7em;
    white-space: nowrap; /* Evita saltos de línea */
}

.lw:hover {
    color: #DEFF0A;
}

.cloneable {
    display: flex;
    justify-content: center;
    align-items: center;
}

.looping-words {
    height: 2.7em;
    font-size: 10vw;
    line-height: .9;
    align-items: left;
    position: relative;
    padding: 0 .1em;
    width: 100%; /* Asegura ancho completo */
}

.looping-words__list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    position: relative;
    font-family: "PPNeueCorp-Tight";
    font-weight: 500;
    text-transform: uppercase;
    white-space: nowrap; /* Evita saltos de línea */
}

.looping-words__p {
    margin: 0;
    white-space: nowrap; /* Asegura palabras completas */
}

.looping-words__p:hover {
    color: #DEFF0A;
    transition: color 0.5s ease;
}

.looping-words__fade {
    pointer-events: none;
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
}

.looping-words__selector {
    pointer-events: none;
    width: 100%;
    height: .9em;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.looping-words__containers {
    width: 100%;
    height: 100%;
    position: relative;
    overflow: hidden;
}

/*––––––––––––– MOBILE –––––––––––––*/
@media (max-width: 767px) {
    .body-container {
        flex-direction: row;
        align-items: center; /* Centrado vertical general */
        padding: 0 5vw; /* Padding relativo al viewport */
        gap: 0;
    }

    .lw {
        font-size: 13vw; /* Reducido ligeramente para mobile */
        width: auto; /* Ancho según contenido */
        flex: 0 0 auto; /* No crece ni se encoge */
        padding: 0 1.5vw;
    }

    .looping-words {
        font-size: 13vw; /* Reducido ligeramente para mobile */
        flex: 1; /* Ocupa espacio restante */
        padding: 0;
        overflow: visible; /* Permite que el texto salga */
    }

}

/*––––––––––––– TABLET VERTICAL –––––––––––––*/
@media (min-width: 768px) and (max-width: 1023px) {
    .body-container {
        flex-direction: row;
        height: auto;
        align-items: center;
        padding: 0 5vw;
        gap: 0;
    }

    .lw {
        font-size: 10vw; /* Tamaño ajustado para tablet */
        width: auto;
        flex: 0 0 auto;
        padding: 0 0.5vw;
    }

    .looping-words {
        font-size: 10vw; /* Tamaño ajustado para tablet */
        width: auto;
        flex: 1;
        overflow: visible;
    }
}

/*––––––––––––– DESKTOP + TABLET HORIZONTAL –––––––––––––*/
@media (min-width: 1024px) {
    .body-container {
        flex-direction: row;
        justify-content: center;
        align-items: center;
        gap: 0.4vw;
        padding: 0 5vw;
    }

    .lw {
        font-size: 7vw; /* Tamaño ajustado para desktop */
        width: auto;
        flex: 0 0 auto;
        padding: 0;
    }

    .looping-words {
        font-size: 7vw; /* Tamaño ajustado para desktop */
        width: auto;
        flex: 0 1 auto;
        overflow: visible;
    }

/*––––––––––––– DISPOSITIVOS MUY PEQUEÑOS –––––––––––––*/
@media (max-width: 400px) {
    .lw, .looping-words {
        font-size: 7vw;
    }
    .looping-words,
    .looping-words__containers {
        height: 7.5em;
    }
    .looping-words__p {
        height: 2.5em;
        line-height: 2.5em;
    }
}


}