.FlexContenedorIndusltrial{
        display: flex;
        justify-content: space-between;
        gap: 30px;
        align-items: flex-start;

    }

    .FlexContenedorIndustriales{
        width: 70%;
    }
    .ContenedorflexContenedores{
        display: flex;
        justify-content: center;
        align-items: flex-start;
        flex-wrap: wrap;
        gap: 30px;
        padding: 40px 0px;
    }

    .FlexContenedorIndustriales h1{
        color: var(--ColorBtn);
        text-align: center;
        font-size: 30px;
    }

    .FlexContenedorIndusltrial .tamaño{
        font-size: 35px;
    font-family: Roboto;
    }

    .FlexContenedorIndusltrial .parrafo{
        font-size: 18px;
        font-family: var(--font-roboto);
    }
    .FlexContenedorIndusltrial p{
        color: #1E1E1E;
        text-align: center;
        font-size: 20px;
        padding: 20px 0px;
        line-height: 1.4;min-height: 90px;
    display: flex;
    font-family: Roboto;
    justify-content: center;
    align-items: center;
    }

    .Contenedor{
            width: 300px;
    border: 2px solid var(--bordeClaro);
    padding: 20px;
    text-align: center;
    position: relative;
    min-height: 200px;
    overflow: hidden;

    }
    .width280{
        width: 280px;
    }
    .ContenedorImgIndustriales{
        width: 100%;
      overflow: hidden;

    }
    .ContenedorImgIndustriales img{
        padding: 20px 30px;
        width: 100%;
        object-fit: cover;
    }





    /* Caja general */
.categoria-box {
    width: 25%;
    border: 1px solid #dcdcdc;
    border-radius: 4px;
    overflow: hidden;
    background: #fff;
    font-family: Roboto;
    text-transform: uppercase;
}

/* Header */
.categoria-header {
    background: #0B63B3; /* azul */
    color: white;
    font-weight: 700;
    padding: 14px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;

}

.categoria-header i {
    display: none; /* Desktop no muestra ícono */
    transition: transform 0.3s ease;
}

/* Lista */
.categoria-list {
    display: block; /* visible en desktop */
    max-height: none;
}

.categoria-item {
    display: block;
    padding: 20px 14px;
    border-bottom: 1px solid #ececec;
    font-size: 14px;
    text-decoration: none;
    color: #222;
    font-weight: 600;
}

.categoria-item:hover {
    background: #f3f3f3;
}

.categoria-item.active {
    background: #333;
    color: white;
}


/**/
/* ===== SUBMENÚ ===== */

.submenu-padre {
    position: relative;
    cursor: pointer;
    padding-right: 30px;
}

/*.submenu-padre .icon-sub {
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    transition: transform .3s ease;
    font-size: 12px;
}*/
.submenu-padre .icon-sub {
    position: absolute;
    right: 15px;
    top: 18px;     /* ← posición fija */
    transition: transform .3s ease;
    font-size: 12px;
}

/* Oculto por defecto */
.submenu-list {
    display: none;
    background: #f9f9f9;
    border-left: 3px solid #0B63B3;
}

.submenu-list a {
    display: block;
    padding: 14px 20px;
    font-size: 13px;
    color: #222;
    text-decoration: none;
}

.submenu-list a:hover {
    background: #ececec;
}

/* Cuando abre */
.submenu-padre.open .submenu-list {
    display: block;
    margin: 15px 0px;
}

/*.submenu-padre.open .icon-sub {
    transform: translateY(-50%) rotate(90deg);
}/*

/**/

.submenu-padre.open .icon-sub {
    transform: rotate(90deg); /* ← solo rota, ya no se mueve */
}



/* ------------------------------ */
/*   RESPONSIVE MENOS DE 900PX    */
/* ------------------------------ */
@media (max-width: 900px) {

    .categoria-box {
        width: 100%; /* w100 */
    }

    .categoria-header i {
        display: block; /* mostrar ícono */
    }

    .categoria-list {
        max-height: 0;
        overflow: hidden;
        transition: max-height .3s ease;
    }

    .categoria-box.open .categoria-list {
        max-height: 500px; /* se despliega */
    }

    .categoria-box.open .categoria-header i {
        transform: rotate(180deg);
    }

    .FlexContenedorIndusltrial{
        flex-direction: column;
    }
    .FlexContenedorIndustriales{
        width: 100%;
    }
}
