/* ================= RESET ================= */
*{
    margin:0;
    padding:0;
    box-sizing:border-box;
    text-align: justify;
}

/* reset enlaces */

a{
text-decoration:none;
color:inherit;
}

/* ================= HEADER BASE ================= */
header{
    background:#fff;
    border-bottom:1px solid #e5e5e5;
    height:75px;
}

.header-container{
    max-width:1200px;
    margin:auto;
    height:75px;
    display:flex;
    align-items:stretch;
    justify-content:space-between;
}

.logo{
    padding:0 30px;
    display:flex;
    align-items:center;
    font-size:22px;
    font-weight:700;
}

/* ================= MENU ================= */
nav > ul{
    display:flex;
    list-style:none;
    height:100%;
}

nav > ul > li{
    position:relative;
}

nav > ul > li > a{
    display:flex;
    align-items:center;
    height:75px;
    padding:0 26px;
    color:#666;
    font-weight:600;
    text-decoration:none;
    transition:.25s;
}

nav > ul > li > a:hover{
    background:#f1f1f1;
}

nav > ul > li > a.active{
    background:#f5c400;
    color:#000;
}

/* ================= SUBMENU ================= */
.submenu{
    position:absolute;
    top:75px;
    left:0;
    width:260px;
    background:#fff;
    border:1px solid #eee;
    display:none;
    z-index:20;
    box-shadow:0 4px 10px rgba(0,0,0,.12);
}

nav > ul > li:hover .submenu{
    display:block;
}

@media(max-width:992px){

nav > ul > li:hover .submenu{
display:none;
}

}

.submenu ul{
    list-style:none;
}

.submenu li{
    display:flex;
    align-items:center;
    padding:14px 18px;
    cursor:pointer;
    color:#555;
    transition:.25s;
    text-decoration: none;
}

.submenu li:hover{
    background:#f2f2f2;
}

.submenu li.active{
    background:#eaeaea;
}

/* ================= ICONOS ================= */
.submenu li i{
    margin-right:12px;
    font-size:16px;
    color:#999;
    transition:.25s;
}

.submenu li:hover i,
.submenu li.active i{
    color:#28a745;
}

.icon-circle::before{
    content:"\F287";
    font-family:bootstrap-icons;
}

.icon-check::before{
    content:"\F26E";
    font-family:bootstrap-icons;
}

/* ================= HEADER FLOTANTE ================= */
.header-floating{
    position:fixed;
    top:0;
    left:0;
    width:100%;
    height:75px;
    background:#fff;
    box-shadow:0 8px 18px rgba(0,0,0,.15);
    transform:translateY(-100%);
    z-index:999;
}

.header-floating.show{
    animation:slideDown .4s ease forwards;
}

.header-floating.hide{
    animation:slideUp .4s ease forwards;
}

@keyframes slideDown{
    from{transform:translateY(-100%);}
    to{transform:translateY(0);}
}

@keyframes slideUp{
    from{transform:translateY(0);}
    to{transform:translateY(-100%);}
}

body{
    font-family:'Roboto', sans-serif;
}

/* ================= UTILIDADES ================= */
main{
    width:100%;
}

main h4{
    font-size:36px;
    color:#0b4fa2;
}

.container{
    max-width:1200px;
    margin:auto;
}

.px-15{
    padding-left:15px;
    padding-right:15px;
}

.section{
    padding:60px 0;
}

/* ================= TEXTOS ================= */

h5{
    font-size:24px;
    color:#0b4fa2;
    font-weight:400;
    text-align:center;
    margin-top:10px;
    margin-bottom:10px;
}

p{
    font-size:16px;
    color:#767676;
    margin-top:18px;
}

.p-small{
    font-size:14px;
    color:#767676;
    margin-top:14px;
    text-align:justify;
}

/* ================= BOTÓN ================= */
.btn{
    display:inline-block;
    padding:14px 25px;
    background:#f5c400;
    color:#000;
    font-size:24px;
    font-weight:400;
    text-decoration:none;
    border-radius:10px;
    box-shadow:0 4px 10px rgba(0,0,0,.15);
    transition:.3s ease;
}

.btn:hover{
    background:#0b4fa2;
    color:#fff;
    box-shadow:0 6px 14px rgba(11,79,162,.25);
}

/* ================= BOTÓN EXCLUSIVO SLIDER ================= */
.btn-slide{
    display:inline-block;              /* 👈 solo ancho del texto */
    width:fit-content;   /*no se estire nunca, incluso en responsive*/

    padding:14px 30px;
    background:#f5c400;                /* amarillo corporativo */
    color:#000;

    font-family:'Roboto', sans-serif;
    font-size:18px;
    font-weight:600;

    text-decoration:none;
    border-radius:10px;
    border:1px solid transparent;

    box-shadow:0 4px 10px rgba(0,0,0,.15);
    transition:.3s ease;
}

.btn-slide:hover{
    background:#ffffff;
    color:#0b4fa2;
    border:1px solid #0b4fa2;
    box-shadow:0 6px 14px rgba(11,79,162,.25);
}


/* ================= SLIDER ================= */
.slider{
    position:relative;
    width:100%;
    height:480px;
    overflow:hidden;
}

.slide{
    position:absolute;
    inset:0;
    background-size:cover;
    background-position:center;
    opacity:0;
    transition:opacity 1s ease;
    pointer-events:none;  /*revisar si ayuda*/
}

.slide.active{
    opacity:1;
    z-index:1;
    pointer-events:auto;  /*revisar si ayuda*/
}

.slide-content{
    position:relative;
    top:20%;
    width:100%;
    height:60%;
    background:rgba(255,255,255,.74);
    padding:100px;
    display:flex;
    flex-direction:column;
    justify-content:center;
    opacity:0;
    transform:translateY(30px);
    transition:opacity .8s ease, transform .8s ease;
}

.slide.show-content .slide-content{
    opacity:1;
    transform:translateY(0);
}

.slide-content h1{
    font-size:36px;
    color:#0b4fa2;
    margin-bottom:20px;
}

.slide-content p{
    font-size:18px;
    color:#0b4fa2;
    margin-bottom:30px;
}

/* Flechas */
.arrow{
    position:absolute;
    top:50%;
    transform:translateY(-50%);
    width:50px;
    height:50px;
    background:rgba(11,79,162,.4);
    color:#fff;
    font-size:28px;
    border:none;
    cursor:pointer;
    transition:.3s;
    z-index:10;
}

.arrow:hover{ background:#0b4fa2; }
.arrow.left{ left:20px; }
.arrow.right{ right:20px; }

/* ================= COLUMNAS ================= */
.row{
    display:flex;
}

.col-6{ width:50%; }
.col-3{ width:25%; }

/* ================= SECCIÓN 2 ================= */
.section-2 h4{
    text-align:center;
}

.circle-img{
    width:200px;
    height:200px;
    border-radius:50%;
    border:1px solid #767676;
    object-fit:cover;
    display:block;
    margin:0 auto;
}

.rectangular-img{
    width:100px;
    height:100px;
    
    border:1px solid #767676;
    object-fit:cover;
    display:block;
    margin:0 auto;
}

.service-item{
    text-align:center;
}

/* ================= SECCIÓN 5 ================= Se elimino no era necesario*/
.clients{
    padding:0 40px;
}

.clients ul{
    list-style:none;
    display:flex;
    justify-content:space-between;
    align-items:center;
}

.clients li{
    display:flex;
    justify-content:center;
    align-items:center;
}

.clients li img{
    width:60px;
    height:60px;
    object-fit:contain;
    transition:transform .3s ease;
}

.clients li img:hover{
    transform:scale(1.15);
}

/* ================= FOOTER ================= */
.footer{
    background:#3a3a3a;
    color:#ccc;
    padding-top:60px;
}

.footer-inner{
    max-width:1200px;
    margin:auto;
    padding:0 20px;
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(220px,1fr));
    gap:40px;
}

/* Títulos */
.footer-col h4{
    color:#fff;
    font-size:15px;
    text-transform:uppercase;
    margin-bottom:18px;
    position:relative;
}

.footer-col h4::after{
    content:"";
    width:35px;
    height:2px;
    background:#f5c400;
    position:absolute;
    left:0;
    bottom:-6px;
}

/* Listas */
.footer-col ul{
    list-style:none;
}

.footer-col ul li{
    margin-bottom:10px;
}

.footer-col ul li a{
    color:#ccc;
    font-size:14px;
    text-decoration:none;
    display:inline-flex;
    align-items:center;
    gap:10px;
    transition:.3s;
}

/* Hover elegante */
.footer-col ul li a:hover{
    color:#f5c400;
    transform:translateX(6px);
}

/* Iconos */
.footer i{
    color:#f5c400;
    font-size:15px;
}

/* Contacto */
.contact-list li{
    display:flex;
    align-items:center;
    gap:10px;
}

/* Footer bottom */
.footer-bottom{
    margin-top:40px;
    border-top:1px solid rgba(255,255,255,.1);
}

.footer-bottom-inner{
    max-width:1200px;
    margin:auto;
    padding:18px 20px;
    text-align:center;
    font-size:13px;
    color:#aaa;
}

/* ================= BOTON WHATSAPP FLOTANTE ================= */

.whatsapp-float{
    position:fixed;
    bottom:100px;
    right:25px;
    width:60px;
    height:60px;
    background:#25D366;
    border-radius:50%;
    display:flex;
    align-items:center;
    justify-content:center;
    box-shadow:0 8px 20px rgba(0,0,0,.2);
    z-index:999;
    transition:.3s ease;
}

.whatsapp-float img{
    width:64px;
    height:64px;
}

/* Hover */
.whatsapp-float:hover{
    transform:scale(1.1);
    box-shadow:0 12px 25px rgba(0,0,0,.3);
}

/* ================= CSS DE PAGINA NOSOTROS ================= */
/* ================= HERO INTERNO ESTILO IMAGEN ================= */
.hero-interno{
    width:100%;
    height:200px;
    display:flex;
}
/*
.hero-left{
    width:50%;
    display: flex;
    background:
    url('../img/nosotros-banner.jpg') center center/cover no-repeat;
    filter: brightness(0.45) blur(0px);
}
*/

.hero-left{
    position: relative;
    width:50%;
    display:flex;

    background:url('../img/banner-nosotros.jpg') center center/cover no-repeat;
    overflow:hidden;
}

.hero-left::before{
    content:"";
    position:absolute;
    inset:0;

    background:linear-gradient(
        to right,
        rgba(255,255,255,0.25) 0%,
        rgba(255,255,255,0.55) 50%,
        rgba(255,255,255,0.85) 100%
    );
}

.hero-right{
    width:50%;
    
    display:flex;
    align-items:center;
    justify-content:flex-end;
    padding-right:60px;
}

.hero-right h1{
    font-size:42px;
    font-weight:700;
    color:#5c7896; /* azul gris como en imagen */
    letter-spacing:2px;
}


/* Línea divisoria */
.divisor{
    height:1px;
    background:#e5e5e5;
    width:100%;
}

/* ================= SECCIÓN NOSOTROS 1 ================= */
.nosotros-section{
    padding:60px 0;
}

.nosotros-container{
    max-width:1200px;
    margin:auto;
    display:flex;
}

.nosotros-left,
.nosotros-right{
    width:50%;
    padding-left:15px;
    padding-right:15px;
}

.nosotros-left h4,
.nosotros-left p{
    color:#767676;
}

/* ================= SECCIÓN OSCURA ================= */
.section-dark{
    background:#f5f5f5;
    padding:60px 0;
}

.section-dark .row{
    align-items:center;
}

.section-dark h4,
.section-dark p{
    color:#767676;
}

/* ================= VALORES ESTILO IMAGEN ================= */
.valores{
    background:#f2f2f2;
    padding:80px 0;
}

.valores h4{
    text-align:center;
    font-size:36px;
    color:#4f6f8f; /* azul institucional */
    margin-bottom:70px;
}

.valores-grid{
    max-width:1200px;
    margin:auto;
    display:grid;
    grid-template-columns:repeat(2,1fr);
    gap:60px 120px;
}

.valor-box{
    display:flex;
    gap:20px;
    align-items:flex-start;
}

.valor-icon{
    font-size:34px;
    color:#1da1f2; /* celeste */
    min-width:40px;
}

.valor-content h6{
    font-size:14px;
    font-weight:700;
    color:#767676;
    margin-bottom:10px;
    letter-spacing:.5px;
}

.valor-content p{
    font-size:15px;
    color:#767676;
    line-height:1.6;
}


/* ================= CSS pagina higiene ================= */
/* ================= LISTA SERVICIO ================= */
.lista-servicio{
    list-style:none;
    margin-top:20px;
    padding-left:0;
}

.lista-servicio li{
    position:relative;
    padding-left:28px;
    margin-bottom:14px;
    color:#767676;
    line-height:1.7;
}

.lista-servicio li::before{
    content:"\2714";
    position:absolute;
    left:0;
    top:0;
    color:#0b4fa2;
    font-weight:700;
}

/* ================= FORMULARIO ================= */
.section-form{
    background:#f9f9f9;
}

.form-contacto{
    max-width:800px;
    margin:0 auto;
}

.form-group{
    display:flex;
    flex-direction:column;
    margin-bottom:20px;
}

.form-group label{
    font-size:14px;
    margin-bottom:6px;
    color:#767676;
}

.form-group input,
.form-group textarea{
    padding:12px;
    border:1px solid #ddd;
    border-radius:6px;
    font-family:'Roboto', sans-serif;
    font-size:14px;
    transition:.3s;
}

.form-group input:focus,
.form-group textarea:focus{
    outline:none;
    border-color:#0b4fa2;
    box-shadow:0 0 5px rgba(11,79,162,.2);
}

/* ================= CSS DE Cursos ================= */
/* ================= SECCIÓN ================= */
.hex-section{
    background:#f2f2f2;
    padding:120px 0;
    display:flex;
    justify-content:center;
}

/* ================= GRID PANAL ================= */
.hex-grid{
    display:grid;
    grid-template-columns:repeat(4, 220px);
    gap:30px;
    justify-content:center;
}

/* ================= HEX BASE ================= */
.hex{
    position:relative;
    width:220px;
    height:250px;
    clip-path: polygon(
        50% 0%,
        100% 25%,
        100% 75%,
        50% 100%,
        0% 75%,
        0% 25%
    );
    display:flex;
    align-items:center;
    justify-content:center;
    text-align:center;
    color:#fff;
    cursor:pointer;
    transition:.4s ease;
    overflow:hidden;
}

.hex:hover{
    transform:translateY(-10px);
    box-shadow:0 20px 30px rgba(0,0,0,.2);
}

/* ================= HEX CON IMAGEN ================= */
.hex-img{
    color:#fff;
}

.hex-bg{
    position:absolute;
    width:100%;
    height:100%;
    background-size:cover;
    background-position:center;
    transition:.6s ease;
}

.hex-overlay{
    position:absolute;
    width:100%;
    height:100%;
    background:rgba(0,0,0,.45);
    transition:.4s ease;
}

.hex-img:hover .hex-bg{
    transform:scale(1.1);
}

.hex-img:hover .hex-overlay{
    background:rgba(0,0,0,.6);
}

/* ================= HEX SOLO TEXTO ================= */
.hex-text{
    font-weight:500;
}

.green{ background:#38c172; }
.blue{ background:#5c8ecf; }
.yellow{ background:#f4c20d; }
.lightgreen{ background:#62d900; }

/* ================= TITULOS ================= */
.hex h3{
    position:relative;
    padding:0 15px;
    font-size:16px;
    z-index:2;
}


/* ================= PAGINA SILLAS ================= */
/* ================= SECCION GENERAL ================= */

.catalogo-sillas{
    background:#f4f6f9;
    padding:100px 0;
}

.catalogo-sillas .container{
    max-width:1200px;
    margin:auto;
}

/* ================= TITULO PRINCIPAL ================= */

.titulo-catalogo{
    text-align:center;
    font-size:32px;
    color:#0b4fa2;
    font-weight:600;
    margin-bottom:60px;
    position:relative;
}

/* ================= SUBTITULOS CATEGORIA ================= */

/* ================= SUBTITULOS CENTRADOS ANIMADOS ================= */

.subtitulo-catalogo{
    text-align:center;
    font-size:22px;
    font-weight:600;
    color:#0b4fa2;
    margin:70px 0 50px 0;
    position:relative;
    display:inline-block;
    width:100%;
    cursor:default;
}

/* Línea animada */
.subtitulo-catalogo::after{
    content:"";
    display:block;
    width:0;
    height:3px;
    background:#0b4fa2;
    margin:15px auto 0 auto;
    border-radius:3px;
    transition:.4s ease;
}

/* Animación al pasar el mouse */
.subtitulo-catalogo:hover::after{
    width:80px;
}

/* ================= GRID ================= */

.grid-sillas{
    display:grid;
    grid-template-columns:repeat(4, 1fr);
    gap:30px;
}

/* ================= TARJETAS ================= */

.card-silla{
    background:#fff;
    border-radius:14px;
    overflow:hidden;
    box-shadow:0 5px 15px rgba(0,0,0,.06);
    transition:.4s ease;
    text-align:center;
    display:flex;
    flex-direction:column;
}

.card-silla:hover{
    transform:translateY(-10px);
    box-shadow:0 20px 40px rgba(0,0,0,.12);
}

/* ================= IMAGEN ================= */

.card-img{
    
    height:240px;
    overflow:hidden;
    position:relative;
}

.card-img img{
    width:100%;
    height:200px;
    padding-top: 20px;
    object-fit:contain;
    transition:.5s ease;
}

/* Zoom suave */
.card-silla:hover img{
    transform:scale(1.08);
}

/* Overlay elegante en hover */
.card-img::after{
    content:"";
    position:absolute;
    inset:0;
    background:rgba(11,79,162,0);
    transition:.4s ease;
}

.card-silla:hover .card-img::after{
    background:rgba(11,79,162,.15);
}

/* ================= TITULO PRODUCTO ================= */

.card-silla h5{
    padding:20px;
    font-size:16px;
    font-weight:500;
    color:#0b4fa2;
    flex-grow:1;
}

/* ================= RESPONSIVE ================= */

@media(max-width:992px){
    .grid-sillas{
        grid-template-columns:repeat(2, 1fr);
    }
}

@media(max-width:576px){
    .grid-sillas{
        grid-template-columns:1fr;
    }

    .titulo-catalogo{
        font-size:26px;
    }

    .subtitulo-catalogo{
        font-size:18px;
    }
}

/* ================= IMAGEN DE CURSOS ================= */
.capacitacion-img-box{
    width:100%;
    max-width:1000px; /* mismo ancho visual del texto */
    
    margin:40px auto 0;
    
    border-radius:10px;
    overflow:hidden;
}

.capacitacion-img-box img{
    width:100%;
    height:500px;

    object-fit:cover;
    display:block;
}

/* ================= GRILLA CURSOS ================= */

/* =========================
   SECCION CURSOS
========================= */

.cursos-section{
    width:100%;
    display:flex;
    gap:40px;
    padding:60px 50px;
}

/* =========================
   SIDEBAR
========================= */

.sidebar-cursos{
    width:260px;
}

.sidebar-cursos h3{
    font-size:24px;
    margin-bottom:20px;
    color:#0b4ea2;
}

.search-box{
    display:flex;
    margin-bottom:30px;
}

.search-box input{
    flex:1;
    height:42px;
    border:1px solid #dcdcdc;
    padding:0 15px;
    outline:none;
}

.search-box button{
    width:50px;
    border:none;
    background:#f2c300;
    color:#000;
    cursor:pointer;

    display:flex;
    align-items:center;
    justify-content:center;
}

.search-box button i{
font-size:14px;
}

.categorias h4{
    font-size:20px;
    margin-bottom:15px;
    color:#0b4ea2;
}

.categorias ul{
    list-style:none;
    padding:0;
}

.categorias ul li{
    margin-bottom:12px;
}

.categorias ul li a{
    text-decoration:none;
    color:#555;
    transition:0.3s;
}

.categorias ul li a:hover{
    color:#0b4ea2;
}

/* =========================
   GRID
========================= */

.cursos-grid{
    flex:1;

    display:grid;
    grid-template-columns:repeat(4,1fr);
    gap:25px;
}

/* =========================
   CARD
========================= */

.curso-card{
    background:#fff;
    border:1px solid #ececec;
    transition:0.3s;
}

.curso-card:hover{
    transform:translateY(-5px);
    box-shadow:0 10px 25px rgba(0,0,0,0.10);
}

.curso-img{
    width:100%;
    height:320px;
    overflow:hidden;
}

.curso-img img{
    width:100%;
    height:100%;
    object-fit:cover;
    display:block;
}

.curso-body{
    padding:18px;
}

.curso-body h3{
    font-size:15px;
    line-height:1.5;
    margin-bottom:12px;
    color:#222;
    min-height:50px;
}

.categoria{
    display:block;
    font-size:13px;
    color:#888;
    margin-bottom:18px;
}

.curso-footer{
    display:flex;
    justify-content:flex-end;
}

.precio{
    font-size:18px;
    font-weight:700;
    color:#222;
}

/* =========================
   RESPONSIVE
========================= */

@media(max-width:1200px){

    .cursos-grid{
        grid-template-columns:repeat(3,1fr);
    }

}

@media(max-width:992px){

    .cursos-section{
        flex-direction:column;
    }

    .sidebar-cursos{
        width:100%;
    }

    .cursos-grid{
        grid-template-columns:repeat(2,1fr);
    }

}

@media(max-width:576px){

    .cursos-grid{
        grid-template-columns:1fr;
    }

}