/* ==================================================
   ZYRO LYON - NUEVO INICIO
   ESCUCHA · DESCUBRE · COMPRENDE
   ================================================== */


/* 1. CONTENEDOR PRINCIPAL */

#contenido.home-features {
    width: 100%;
    max-width: none;
    margin: 0;
    padding: 0;
}


/* 2. ESTRUCTURA DE CADA SECCIÓN */

.home-feature {
    position: relative;
    width: 100%;
    margin: 0;
    padding: 0;
    overflow: hidden;
}


/* 3. FOTOGRAFÍAS */

.home-feature__media {
    display: block;
    width: 100%;
    margin: 0;
    padding: 0;
}

.home-feature__media img {
    display: block;
    width: 100%;
    height: auto;
    object-fit: cover;
    object-position: center;
    border: 0;
    border-radius: 0;
}


/* 4. CONTENIDO SUPERPUESTO */

.home-feature__content {
    position: absolute;
    left: 2.5%;
    right: 2.5%;
    bottom: 3%;

    display: flex;
    flex-direction: column;
    align-items: stretch;

    z-index: 2;
}


/* 5. TÍTULOS */

.home-feature__content h2 {
    margin: 0 0 12px 0;

    font-size: clamp(2.2rem, 4.5vw, 4.5rem);
    font-weight: 900;
    line-height: 1;
    letter-spacing: -0.025em;

    text-transform: uppercase;
    color: #FFFFFF;
}

/* ESCUCHA */

.home-feature:nth-child(1) h2 {
    color: #FFCD00;
}

/* DESCUBRE */

.home-feature:nth-child(2) h2 {
    color: #FFFFFF;
}

/* COMPRENDE */

.home-feature:nth-child(3) h2 {
    color: #FFFFFF;
}


/* 6. CUADRO NEGRO */

.home-feature__panel {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;

    width: 100%;
    min-height: 88px;

    padding: 18px 32px;

    background-color: #111111;
    border-left: 5px solid #FFCD00;
}


/* 7. BOTONES AMARILLOS */

.home-feature__button {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    flex-shrink: 0;

    min-height: 42px;
    padding: 12px 24px;

    background-color: #FFCD00;
    border: 1px solid #FFCD00;
    border-radius: 0;

    color: #0D0D0D;

    font-size: 13px;
    font-weight: 800;
    line-height: 1.2;
    text-align: center;
    text-decoration: none;
    text-transform: uppercase;

    transition: background-color 0.2s ease,
        border-color 0.2s ease;
}

.home-feature__button:hover {
    background-color: #E9B900;
    border-color: #E9B900;
    color: #0D0D0D;
}

.home-feature__button:focus-visible {
    outline: 3px solid #FFFFFF;
    outline-offset: 4px;
}


/* 8. DESCRIPCIONES */

.home-feature__panel p {
    flex: 1;
    max-width: 65%;

    margin: 0;

    color: #FFFFFF;

    font-size: clamp(15px, 1.05vw, 18px);
    font-weight: 400;
    line-height: 1.6;

    text-align: right;
}


/* ==================================================
   TABLETS
   ================================================== */

@media (max-width: 991.98px) {

    .home-feature__content {
        left: 2%;
        right: 2%;
        bottom: 2.5%;
    }

    .home-feature__content h2 {
        font-size: clamp(2rem, 5vw, 3.5rem);
        margin-bottom: 9px;
    }

    .home-feature__panel {
        min-height: 75px;
        padding: 14px 22px;
        gap: 20px;
    }

    .home-feature__panel p {
        max-width: 65%;
        font-size: 14px;
    }

}


/* ==================================================
   CELULARES
   ================================================== */

@media (max-width: 767.98px) {

    .home-feature__content {
        left: 3%;
        right: 3%;
        bottom: 2%;
    }

    .home-feature__content h2 {
        font-size: clamp(2rem, 8vw, 2.8rem);
        margin-bottom: 9px;
    }

    .home-feature__panel {
        min-height: auto;

        padding: 14px 15px;

        gap: 12px;
        border-left-width: 4px;
    }

    .home-feature__button {
        min-height: 38px;
        padding: 10px 14px;
        font-size: 13px;
    }

    .home-feature__panel p {
        max-width: none;
        font-size: 13px;
        line-height: 1.45;
        text-align: left;
    }

}


/* ==================================================
   CELULARES PEQUEÑOS
   ================================================== */

@media (max-width: 380px) {

    .home-feature__content {
        left: 3%;
        right: 3%;
        bottom: 2%;
    }

    .home-feature__content h2 {
        font-size: 1.9rem;
    }

    .home-feature__panel {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
        padding: 12px;
    }

    .home-feature__panel p {
        width: 100%;
    }

}


/* ==================================================
   ACCESIBILIDAD
   ================================================== */

@media (prefers-reduced-motion: reduce) {

    .home-feature__button {
        transition: none;
    }

}