﻿body{
    font-family: "Montserrat", sans-serif;
}

header{
    position: fixed;
    top: 0;
    left: 0;
    z-index: 1000;
    background: white;

    box-shadow: 0px 0px 30px rgba(0, 0, 0, 0.1);

}

.logotipo{
    background: #0d3c5d;
    padding-top: 30px;
    padding-bottom: 30px;
}

.logotipo img{
    width: 80%;
}


nav {
    display: flex;
}
nav a {
    color: black;
    text-decoration: none;
    font-size: 20px;
    font-weight: 300;
    flex: 1;
    text-align: center;
}
nav a:hover{
    font-weight: bold;
    color: #0d3c5d;
}


.datos{
    text-align: center;
}
.datos img{
    width: 30px;
}


.efecto{
    padding: 0;
}




.categorias{
    background: #EBEFF3;
    padding-top: 30px;
    padding-bottom: 30px;
}

.titulo{
    text-align: center;
    font-weight: bold;
    font-size: 33px;
    color: #0d3c5d;
}


.cate{
    background: white;
    padding: 16px;

    border-radius: 22px;
}
.cate-link{
    display: block;
    color: inherit;
    text-decoration: none;
    height: 100%;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.cate-link:hover{
    transform: translateY(-5px);
    box-shadow: 0 14px 28px rgba(13, 60, 93, 0.14);
}
.cate img{
    height: 100px;

    border-radius: 15px 15px 0 0;
}
.cate strong, .cate h2{
    width: 100%;
    text-align: center;
    color: #ef7e2d;
    font-size: 22px;
    display: inline-block;
    padding: 20px 0 0;
}



.nosotros{
    background: url(../images/fondo1.jpg) no-repeat center center;
    background-size: cover;
    padding-top: 50px;
    padding-bottom: 50px;
}


.seccion{
    font-size: 17px;
    padding-left: 20px;
}
.seccion strong{
    color: #ef7e2d;
    font-size: 30px;
}


.imagen img{
    width: 100%;
}




.footer-sepmi{
    background: linear-gradient(135deg, #0d3c5d 0%, #092b43 100%);
    color: white;
    padding-top: 60px;
    padding-bottom: 25px;
    position: relative;
    overflow: hidden;
}

.footer-sepmi:before{
    content: "";
    position: absolute;
    top: -80px;
    right: -80px;
    width: 230px;
    height: 230px;
    background: rgba(239, 126, 45, 0.18);
    border-radius: 50%;
}

.footer-logo img{
    width: 180px;
    background: white;
    padding: 15px;
    border-radius: 14px;
    margin-bottom: 20px;
}

.footer-logo p{
    font-size: 15px;
    line-height: 1.7;
    color: #dce6ee;
}

.footer-menu strong,
.footer-contacto strong{
    display: block;
    font-size: 23px;
    line-height: 23px;
    color: #ef7e2d;
    margin-bottom: 20px;
}

.footer-contacto strong span{
    width: 100%;
    color: white;
    font-weight: normal;
    display: inline-block;
}

.footer-menu a{
    display: block;
    color: white;
    text-decoration: none;
    margin-bottom: 12px;
    font-size: 16px;
    transition: all 0.3s ease;
}

.footer-menu a:hover{
    color: #ef7e2d;
    padding-left: 8px;
}

.footer-contacto p{
    margin-bottom: 14px;
    font-size: 16px;
    color: #dce6ee;
}

.footer-contacto a{
    color: white;
    text-decoration: none;
}

.footer-contacto b{
    color: #ef7e2d;
    margin-right: 8px;
}

.footer-btn{
    display: inline-block;
    margin-top: 12px;
    background: #ef7e2d;
    color: white !important;
    padding: 12px 25px;
    border-radius: 30px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.footer-btn:hover{
    background: white;
    color: #0d3c5d !important;
    transform: translateY(-3px);
}

.footer-copy{
    margin-top: 45px;
    padding-top: 20px;
    border-top: 1px solid rgba(255,255,255,0.18);
    text-align: center;
    font-size: 14px;
    color: #c9d5df;
}

.form-group{
    margin-bottom: 10px;
}

.catalogo-page{
    padding-top: 105px;
    background: #f7f9fb;
    min-height: 60vh;
    margin-top: 30px;
}

.catalogo-hero{
    background: #0d3c5d;
    color: white;
    padding: 55px 0;
}

.catalogo-hero h1,
.equipo-detalle h1{
    font-weight: 800;
    color: inherit;
    margin: 12px 0 0;
}

.volver-link{
    color: #ef7e2d;
    font-weight: 700;
    text-decoration: none;
}

.volver-link:hover{
    color: #c96219;
}

.equipo-card{
    display: block;
    height: 100%;
    background: white;
    color: #1c2c36;
    border: 1px solid #e4ebf0;
    border-radius: 8px;
    overflow: hidden;
    text-decoration: none;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.equipo-card:hover{
    color: #1c2c36;
    transform: translateY(-5px);
    box-shadow: 0 16px 32px rgba(13, 60, 93, 0.12);
}

.equipo-card-img{
    display: flex;
    align-items: center;
    justify-content: center;
    height: 230px;
    background: #e9eef3;
    color: #637381;
    font-weight: 700;
}

.equipo-card-img img{
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.equipo-card-body{
    display: block;
    padding: 20px;
}

.equipo-card-body strong{
    display: block;
    color: #0d3c5d;
    font-size: 20px;
    margin-bottom: 10px;
}

.equipo-card-body small{
    display: block;
    color: #52616d;
    line-height: 1.65;
    font-size: 14px;
}

.equipo-detalle{
    padding-top: 70px !important;
}

.equipo-carousel,
.equipo-video-carousel,
.equipo-sin-imagen{
    background: white;
    border: 1px solid #e4ebf0;
    border-radius: 8px;
    overflow: hidden;
}

.equipo-carousel img,
.equipo-sin-imagen{
    height: 460px;
    object-fit: contain;
}

.equipo-carousel .carousel-control-prev,
.equipo-carousel .carousel-control-next,
.equipo-video-carousel .carousel-control-prev,
.equipo-video-carousel .carousel-control-next{
    width: 72px;
    opacity: 1;
}

.equipo-carousel .carousel-control-prev-icon,
.equipo-carousel .carousel-control-next-icon,
.equipo-video-carousel .carousel-control-prev-icon,
.equipo-video-carousel .carousel-control-next-icon{
    width: 54px;
    height: 54px;
    background-size: 28px 28px;
    background-color: rgba(13, 60, 93, 0.88);
    border-radius: 50%;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.28);
}

.equipo-carousel .carousel-control-prev:hover .carousel-control-prev-icon,
.equipo-carousel .carousel-control-next:hover .carousel-control-next-icon,
.equipo-video-carousel .carousel-control-prev:hover .carousel-control-prev-icon,
.equipo-video-carousel .carousel-control-next:hover .carousel-control-next-icon{
    background-color: #ef7e2d;
}

.equipo-sin-imagen{
    display: flex;
    align-items: center;
    justify-content: center;
    color: #637381;
    font-weight: 700;
}

.categoria-pill{
    display: inline-block;
    background: #ef7e2d;
    color: white;
    padding: 8px 14px;
    border-radius: 999px;
    font-size: 14px;
    font-weight: 700;
    margin-top: 28px;
}

.equipo-descripcion{
    background: white;
    border: 1px solid #e4ebf0;
    border-radius: 8px;
    padding: 26px;
    line-height: 1.75;
}

.equipo-descripcion img{
    max-width: 100%;
    height: auto;
}

.equipo-video-section{
    margin-top: 28px;
}

.equipo-video-section h2{
    color: #0d3c5d;
    font-size: 24px;
    font-weight: 800;
    margin-bottom: 14px;
}

.equipo-video-carousel{
    padding: 10px;
}

.equipo-video-carousel iframe{
    border: 0;
    border-radius: 6px;
}

.admin-body{
    background: #f4f7fa;
    color: #1c2c36;
}

.admin-nav{
    background: white;
    border-bottom: 1px solid #dfe8ef;
    padding: 12px 0;
    box-shadow: 0 10px 24px rgba(13, 60, 93, 0.08);
}

.admin-nav-inner{
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.admin-brand,
.admin-links a{
    color: #0d3c5d;
    text-decoration: none;
}

.admin-brand{
    display: inline-flex;
    align-items: center;
    gap: 12px;
    min-width: 220px;
}

.admin-brand:hover{
    color: #0d3c5d;
}

.admin-brand-mark{
    width: 74px;
    height: 52px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #0d3c5d;
    border-radius: 8px;
    padding: 8px;
}

.admin-brand-mark img{
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.admin-brand strong{
    display: block;
    font-size: 21px;
    line-height: 1;
    font-weight: 900;
    letter-spacing: 0;
}

.admin-brand small{
    display: block;
    color: #647482;
    font-size: 13px;
    line-height: 1.2;
    margin-top: 4px;
    font-weight: 600;
}

.admin-links{
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 10px;
    flex-wrap: wrap;
}

.admin-links a,
.admin-user{
    min-height: 42px;
    display: inline-flex;
    align-items: center;
    gap: 9px;
    color: #223747;
    background: #f4f7fa;
    border: 1px solid #dfe8ef;
    border-radius: 999px;
    padding: 9px 15px;
    font-size: 15px;
    font-weight: 700;
    transition: background 0.25s ease, border-color 0.25s ease, color 0.25s ease, transform 0.25s ease;
}

.admin-links a b,
.admin-user b{
    color: #ef7e2d;
    font-size: 18px;
}

.admin-links a:hover{
    color: #0d3c5d;
    background: #fff5ed;
    border-color: #ef7e2d;
    transform: translateY(-2px);
}

.admin-links a:hover b{
    color: #ef7e2d;
}

.admin-user{
    background: white;
    color: #647482;
    cursor: default;
}

.admin-logout{
    background: #0d3c5d !important;
    border-color: #0d3c5d !important;
    color: white !important;
}

.admin-logout b{
    color: white !important;
}

.admin-logout:hover{
    background: #ef7e2d !important;
    border-color: #ef7e2d !important;
    color: white !important;
}

.admin-main{
    padding-top: 42px;
    padding-bottom: 60px;
}

.admin-login-body{
    min-height: 100vh;
    background: #f4f7fa;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
}

.admin-login-wrap{
    width: 100%;
    max-width: 430px;
}

.admin-login-card{
    background: white;
    border: 1px solid #e4ebf0;
    border-radius: 8px;
    padding: 34px;
    box-shadow: 0 18px 45px rgba(13, 60, 93, 0.12);
}

.admin-login-card img{
    width: 150px;
    display: block;
    margin-bottom: 24px;
}

.admin-login-card h1{
    color: #0d3c5d;
    font-weight: 800;
    margin: 0;
}

.admin-login-card p{
    color: #657582;
    margin: 8px 0 24px;
}

.admin-title-row{
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 28px;
}

.admin-title-row h1{
    color: #0d3c5d;
    font-weight: 800;
    margin: 0;
}

.admin-title-row p{
    color: #657582;
    margin: 6px 0 0;
}

.admin-table,
.admin-form,
.admin-empty{
    background: white;
    border: 1px solid #e4ebf0;
    border-radius: 8px;
    padding: 22px;
}

.admin-thumb{
    width: 78px;
    height: 58px;
    object-fit: cover;
    border-radius: 6px;
}

.admin-thumb-placeholder{
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 78px;
    height: 58px;
    background: #e9eef3;
    color: #687783;
    border-radius: 6px;
    font-size: 12px;
}

.admin-actions{
    margin-top: 24px;
}

.admin-images{
    margin-top: 32px;
}

.admin-images h2{
    color: #0d3c5d;
    font-size: 22px;
    font-weight: 800;
    margin-bottom: 18px;
}

.admin-image-item{
    border: 1px solid #e4ebf0;
    border-radius: 8px;
    overflow: hidden;
    background: #f8fafc;
}

.admin-image-item img{
    width: 100%;
    height: 120px;
    object-fit: cover;
}

.admin-image-item a{
    display: block;
    color: #b42318;
    font-weight: 700;
    text-align: center;
    text-decoration: none;
    padding: 8px;
    font-size: 13px;
}

@media screen and (max-width: 768px){
    .admin-nav-inner{
        align-items: flex-start;
        flex-direction: column;
    }

    .admin-brand{
        min-width: 0;
    }

    .admin-links{
        width: 100%;
        justify-content: flex-start;
    }

    .admin-links a,
    .admin-user{
        flex: 1 1 auto;
        justify-content: center;
    }

    .footer-sepmi{
        text-align: center;
        padding-top: 45px;
    }

    .footer-logo,
    .footer-menu,
    .footer-contacto{
        margin-bottom: 35px;
    }

    .footer-menu a:hover{
        padding-left: 0;
    }
}











.chat{
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 1000;
    background: #24d366;
    font-weight: normal;
    font-size: 20px;
    color: white;
    padding: 6px 17px;
    border-radius: 20px;

    animation-name: pulse;
    animation-duration: 1s;
    animation-fill-mode: both;
    animation-delay: 0s;
    animation-iteration-count: 100;
}
@keyframes pulse {
    from,to {
        transform: scale3d(1,1,1)
    }

    50% {
        transform: scale3d(1.05,1.05,1.05)
    }
}

.pulse {
    animation-name: pulse
}




.marcas{
    padding-top: 30px;
    padding-bottom: 30px;
}

.logo-carousel {
    width: 100%;
    overflow: hidden;
    padding: 20px 0;
}

.logo-track {
    display: flex;
    width: max-content;                 /* clave: el track mide lo que sumen los sets */
    align-items: center;
    animation: scroll-logos 30s linear infinite;
    will-change: transform;
}

.logo-set {
    display: flex;
    align-items: center;
}

.logo-item {
    flex: 0 0 180px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 10px 20px;
    box-sizing: border-box;
}

.logo-item img {
    max-width: 100%;
    max-height: 70px;
    width: auto;
    height: auto;
    object-fit: contain;
    display: block;
    opacity: 0.85;
    transition: transform 0.3s ease, opacity 0.3s ease, filter 0.3s ease;
}

.logo-item img:hover {
    transform: scale(1.05);
    opacity: 1;
    filter: grayscale(0%);
}

/* ahora -50% sí es EXACTAMENTE 1 set */
@keyframes scroll-logos {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

@media (max-width: 768px) {
    .logo-item {
        flex: 0 0 140px;
        padding: 10px;
    }

    .logo-item img {
        max-height: 55px;
    }
}



@media screen and (max-width: 992px){

    .contacto-elemerc{
        padding-top: 70px;
        padding-bottom: 70px;
    }

    .contacto-titulo{
        font-size: 38px;
    }

    .form-titulo-elemerc{
        font-size: 34px;
    }
}

@media screen and (max-width: 768px){

    .contacto-info-box,
    .contacto-form-box{
        padding: 35px 24px;
        border-radius: 22px;
    }

    .contacto-titulo{
        font-size: 33px;
    }

    .contacto-contenido a{
        font-size: 20px;
    }

    .form-titulo-elemerc{
        font-size: 30px;
    }

    .contacto-botones{
        flex-direction: column;
    }

    .contacto-botones .btn-info,
    .contacto-botones .btn-whatsapp-elemerc,
    .btn-enviar-elemerc{
        width: 100%;
        text-align: center;
    }
}

@media screen and (max-width: 576px){

    .contacto-elemerc{
        padding-top: 55px;
        padding-bottom: 55px;
    }

    .contacto-titulo{
        font-size: 29px;
    }

    .form-titulo-elemerc{
        font-size: 27px;
    }

    .contacto-texto,
    .form-subtitulo-elemerc{
        font-size: 15px;
    }

    .input-elemerc{
        font-size: 15px;
        padding: 14px 16px;
    }
}


@media screen and (max-width:1400px){

}

@media screen and (max-width:1200px){

}

@media screen and (max-width:992px){

}

@media screen and (max-width:768px){
    .chat{
        right: 0px;
        font-size: 16px;
        font-weight: bold;
    }
}

@media screen and (max-width:576px){
    
}
