* {
  padding: 0px;
  margin: 0px;
}

/*=========TIPOGRAFIAS============*/

@font-face {
  font-family: "montserrat";
  src: url("font/Montserrat-Light.ttf") format("truetype");
  font-weight: 300;
  font-style: normal;
}

@font-face {
  font-family: "montserrat";
  src: url("font/Montserrat-Regular.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
}

@font-face {
  font-family: "montserrat";
  src: url("font/Montserrat-SemiBold.ttf") format("truetype");
  font-weight: 600;
  font-style: normal;
}

@font-face {
  font-family: "montserrat";
  src: url("font/Montserrat-Bold.ttf") format("truetype");
  font-weight: 700;
  font-style: normal;
}

/*========== CABECERA =============*/


.section-cabecera {
  position: relative;
  width: 100%;
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  flex-direction: column;
  
}

.video-cabecera {
  position: absolute;
  top: 50%;
  left: 50%;
  min-height: 100%;
  min-width: 100%;
  width: auto;
  height: auto;
  z-index: -2;
  transform: translate(-50%, -50%);
  object-fit: cover;
}

.overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    to right,
    rgba(0, 0, 0, 0.918),
    rgba(0, 0, 0, 0.123)
  );
  z-index: -1;
}

.top-inamec {
  color: #ffff;
  font-size: 1rem;
  font-family: "Arial";
  font-weight: 100;
  border: 1px solid #ffffff57;
  width: 45%;
  height: 40px;
  margin: left;
  line-height: 40px;
  letter-spacing: 2px;
  text-align: center;
}

.content-cabecera h1 {
  color: #ffff;
  font-size: 6rem;
  font-family: "Arial";
  font-weight: 700;
  line-height: 5.3rem;
  margin-top: 40px;
  letter-spacing: -5px;
  text-align: center;
}

.content-cabecera p {
  color: #ffff;
  font-family: "Arial";
  font-weight: 100;
  font-size: 1.5rem;
  margin-top: 20px;
  text-align: center;
}

.btn-cabecera {
  margin-top: 60px;
  width: 100%;
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 80px;
}

.btn-red,
.btn-outline {
  padding: 20px;
  background-color: #dc0014;
  color: #ffff;
  text-decoration: none;
  font-family: "Arial";
  width: 15%;
  height: 30px;
  line-height: 30px;
  transition: all 0.3s ease-out;
}

.btn-outline {
  border: 1px solid #ffffff57;
  background-color: transparent;
}

.btn-red:hover {
  transform: scale(1.1);
}

.btn-outline:hover {
  background-color: #ffffff25;
}

.filtros-productos{

    width: 90%;
    margin: 60px auto;
}

/* SUPERIOR */

.top-filtros{

    display: flex;
    justify-content: space-between;
    align-items: center;

    gap: 20px;
}

/* BUSCADOR */

.buscador{

    width: 560px;

    display: flex;
    align-items: center;

    gap: 10px;

    border: 1px solid #D9DCE1;

    padding: 18px 20px;

    background: white;
}

.buscador span{

    color: #8B94A7;
}

.buscador input{

    width: 100%;

    border: none;
    outline: none;

    font-size: 1rem;
    font-family: "Montserrat";

    color: #364768;
}

.buscador input::placeholder{

    color: #8B94A7;
}

/* VISTAS */

.vistas-productos{

    display: flex;
    gap: 10px;
}

.btn-vista{

    width: 45px;
    height: 45px;

    border: none;

    background: #F2F4F7;

    cursor: pointer;

    transition: all .3s ease;
}

.btn-vista span{

    font-size: 1.3rem;
    color: #5A6475;
}

.btn-vista.active{

    background: #E30613;
}

.btn-vista.active span{

    color: white;
}

/* CATEGORIAS */

.categorias-productos{

    display: flex;
    flex-wrap: wrap;

    gap: 10px;

    margin-top: 20px;
}

.categoria{

    padding: 15px 20px;

    border: none;

    background: #F2F4F7;

    font-size: 1rem;
    font-family: "Montserrat";

    color: #22304E;

    cursor: pointer;

    transition: all .3s ease;
}

.categoria.active{

    background: black;
    color: white;
}

/* INFO */

.info-productos{

    display: flex;
    justify-content: space-between;
    align-items: center;

    margin-top: 50px;
}

.info-productos p{

    font-size: 1rem;
    font-family: "Montserrat";

    color: #22304E;
}

.info-productos span{

    font-size: 1rem;
    font-family: "Montserrat";

    color: #6B7280;
}



/* =========================
PAGINACION
========================= */

.paginacion-productos{

    width: 100%;

    display: flex;

    justify-content: center;

    align-items: center;

    gap: 10px;

    margin: 80px 0;
}

/* BOTONES */

.btn-paginacion,
.numero-pagina{

    height: 55px;

    border: 1px solid #E5E7EB;

    background: white;

    font-size: 1rem;

    font-family: "Montserrat";

    color: #22304E;

    cursor: pointer;

    transition: all .3s ease;
}

/* BOTONES LARGOS */

.btn-paginacion{

    padding: 0 25px;
}

/* NUMEROS */

.numero-pagina{

    width: 50px;
}

/* ACTIVE */

.numero-pagina.active{

    background: #E30613;

    color: white;

    border-color: #E30613;
}

/* DISABLED */

.btn-paginacion.disabled{

    color: #A0A7B5;

    cursor: default;
}

/* HOVER */

.numero-pagina:hover,
.btn-paginacion:hover{

    background: #F3F4F6;
}

/* EVITAR HOVER ACTIVE */

.numero-pagina.active:hover{

    background: #E30613;
}

/*FOOTER*/

.section-final {
  width: 100%;
  height: auto;
  padding-top: 50px;
  padding-bottom: 45px;
}

.box-final {
  display: flex;
  flex-wrap: wrap;
  width: 80%;
  margin-bottom: 10px;
  margin: auto;
  gap: 100px;
  justify-content: center;
}

.text-final {
  width: 20%;
  color: #99a1af;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 0.8rem;
  line-height: 18px;
}

.text-final img {
  width: 70%;
}

.enlaces-final h3 {
  font-family: Arial, Helvetica, sans-serif;
  font-size: 1rem;
  margin-top: 10px;
  margin-bottom: 10px;
  color: #fff;
}

.enlaces-final ul li {
  list-style: none;
  margin-bottom: 5px;
}

.enlaces-final ul li a {
  text-decoration: none;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 0.8rem;
  color: #99a1af;
}

.enlaces-final ul li a:hover {
  color: #dc0014;
}

.contacto-final h3 {
  font-family: Arial, Helvetica, sans-serif;
  font-size: 1rem;
  margin-top: 10px;
  margin-bottom: 10px;
  color: #fff;
}

.contacto-final ul li {
  list-style: none;
  margin-bottom: 10px;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 0.8rem;
  color: #99a1af;
}

.redes-final h3 {
  font-family: Arial, Helvetica, sans-serif;
  font-size: 1rem;
  margin-top: 10px;
  margin-bottom: 10px;
  color: #fff;
}

.redes-final img {
  width: 50px;
  height: 50px;
  object-fit: cover;
  border-radius: 50px;
  margin-right: 5px;
}

.redes-final img:hover {
  background-color: #dc0014;
}

.redes-final a {
  text-decoration: none;
}

.parte-final {
  width: 100%;
  text-align: center;
  margin-top: -50px;
}

.linea-final {
  width: 95%;
  margin: auto;
  border: 1px solid #ffffff;
  margin-bottom: 30px;
}

.final {
  font-family: Arial, Helvetica, sans-serif;
  font-size: 0.8rem;
  color: #99a1af;
}


.paginacion-productos{

    display:flex;
    justify-content:center;
    margin:70px 0;
    font-family:  Arial, Helvetica, sans-serif;
    font-weight: 200;

}

.paginacion-productos ul{

    display:flex;
    gap:10px;
    list-style:none;
    padding:0;
    margin:0;
    
}

.paginacion-productos li{

    list-style:none;

}

.paginacion-productos a,
.paginacion-productos span{

    display:flex;
    align-items:center;
    justify-content:center;
    
    min-width:45px;
    height:45px;

    padding:0 18px;

    border-radius:8px;

    border:1px solid #ddd;

    background:#fff;

    color:#222;

    text-decoration:none;

    transition:.3s;

    font-weight:600;

}

.paginacion-productos a:hover{

    background:#dc0014;
    color:#fff;
    border-color:#dc0014;

}

.paginacion-productos .current{

    background:#dc0014;
    color:#fff;
    border-color:#dc0014;

}

  /* ===========================================
   TARJETAS DE PRODUCTOS - MISMA ALTURA
=========================================== */

.productos-grid{

    width: 95%;
    margin: 0px auto;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
    text-align: center;
    margin-bottom: 60px;
}

/* =========================
LINK CARD
========================= */

.card-link{

    text-decoration: none;

    color: inherit;

    display: block;
}



/* HOVER CARD */

.card-link:hover .card-producto{

    transform: translateY(-5px);

    box-shadow: 0 10px 25px rgba(0,0,0,.08);

   
}

/* =========================
IMAGEN
========================= */

.card-img{

    width: 100%;
    height: 270px;
    overflow: hidden;
}

.card-img img{

    width: 100%;
    height: 100%;

    object-fit: cover;

    transition: transform .5s ease;
}

/* ZOOM IMAGEN */

.card-link:hover .card-img img{

    transform: scale(1.1);
}


/* DETALLE */

.detalle{

    font-size: 1rem;

    font-family: "Montserrat";

    font-weight: 600;

    color: #E30613;

    transition: all .3s ease;
}

/* HOVER DETALLE */

.card-link:hover .detalle{

    transform: translateX(5px);
}

.card-producto{
    display: flex;
    flex-direction: column;
    height: auto;
    width: 100%;
    border: 1px solid #E5E7EB;
    background: white;
    overflow: hidden;
    transition: all .3s ease;

    
}

.card-info{
    display: flex;
    flex-direction: column;
    padding: 20px;
    
}

.categoria-card{
    left: auto;
    font-family: "Montserrat";
    font-size: 1rem;
    font-weight: 400;
    display: flex;
    justify-content: left;
    color: #dc0014;
    font-weight: 600;
}



.card-info h2{
    
    font-family: Arial, Helvetica, sans-serif;
    font-size: 1.3rem;
    min-height: 60px;
    display: flex;
    justify-content: left;
    align-items: center;
    
    
}

.marca-producto{
    min-height: 20px;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 0.8rem;
    text-align: left;
    
}

.resumen-producto{
    min-height: 80px;
}

.card-bottom{
    margin-top: auto;
    display: flex;
    justify-content: right;
    align-items: center;
    
}

.productos-grid{
    align-items: stretch;
}

.card-link{
    display: flex;
    height: 100%;
}



@media (max-width: 480px) {
  /*  * {
        outline: 1px solid red;
    } */

 .content-menu {
    display: flex;
    justify-content: space-between;
    align-items: center;
  }

  .menu-toggle {
    display: block;
    z-index: 9999;
    cursor: pointer;
  }

  .menu-toggle span {
    font-size: 2.5rem;
    color: #dc0014;
  }

  .menu-mobile {
    display: none;

    position: absolute;

    top: 80px;
    left: 0;

    width: 100%;

    background-color: white;

    padding: 30px 0;

    z-index: 999;

    margin: 0;

    height: auto;
  }

  .menu-mobile.active {
    display: block;
  }

  .menu-mobile ul {
    display: flex;

    flex-direction: column;

    align-items: center;

    gap: 20px;
  }

  .menu-mobile ul li {
    line-height: 20px;
  }

  .logo-inamec {
    width: 30%;
    margin-left: 1rem;
  }

  .content-cabecera {
    width: 90%;
    height: auto;
  }

  .top-inamec {
    width: 100%;
  }

  /* ============ SECTION CABECERA ================== */

  .content-cabecera h1 {
    font-size: 4.2rem;
    letter-spacing: -2px;
    line-height: 3.3rem;
    text-align: center;
  }

  .content-cabecera p {
    font-size: 1.2rem;
    margin-top: 40px;
  }

  /* CONTENEDOR GENERAL */

    .filtros-productos{

        width: 90%;
        margin: 40px auto;
    }

    /* SUPERIOR */

    .top-filtros{

        flex-direction: column;

        align-items: flex-start;

        gap: 20px;
    }

    /* BUSCADOR */

    .buscador{

        width: 92%;

        padding: 15px;
    }

    .buscador input{

        font-size: .95rem;
    }

    /* BOTONES VISTA */

    .vistas-productos{

        width: 100%;

        justify-content: flex-end;
    }

    .btn-vista{

        width: 42px;
        height: 42px;
    }

    /* CATEGORIAS */

    .categorias-productos{

        margin-top: 25px;

        gap: 8px;
    }

    .categoria{

        width: 100%;

        text-align: center;

        padding: 14px 18px;

        font-size: .95rem;
    }

    

    /* GRID PRODUCTOS */

    .productos-grid{

        width: 90%;

        grid-template-columns: 1fr;

        gap: 25px;

        margin: 40px auto;
    }

    /* CARD */

    .card-producto{

        width: 100%;
    }

    /* IMAGEN */

    .card-img{

        height: 230px;
    }

    /* INFO */

    

    

    

    

    /* PARTE INFERIOR */

    

    

    

    /* PAGINACION */

    .paginacion-productos{

        flex-wrap: wrap;

        justify-content: center;

        gap: 8px;

        margin: 50px 0;
    }

    .btn-paginacion{

        padding: 0 18px;

        height: 45px;

        font-size: .9rem;
    }

    .numero-pagina{

        width: 42px;
        height: 42px;

        font-size: .9rem;
    }

    
    .box-final {
        margin-top: 3rem;
        gap: 40px;   
     }

    .text-final {
        width: 100%;
    }

    .text-final img{
        width: 60%;
        margin: 0px auto;
        display: block;
    }

    .text-final p{
        margin-top: 1rem;
        font-size: 1rem;
        margin-bottom: 1rem;
    }

    .enlaces-final {
        width: 100%;
        
    }

    .enlaces-final h3 {
        margin-bottom: 1rem;
    }

    .enlaces-final ul li {
        margin-bottom: 1rem;
    }

    
    .enlaces-final ul li a{
        font-size: 1rem;
    }

    .contacto-final {
        width: 100%;
    }

    .contacto-final h3{
        margin-bottom: 1rem;
    }

    .contacto-final ul li{
        font-size: 1rem;
        margin-bottom: 1rem;
    }

    .redes-final {
        width: 100%;
        display: block;
        text-align: center;
    }

    .redes-final h3{
        text-align: left;
        margin-bottom: 1rem;
    }

    .parte-final {
        margin-top: 0.5rem;
    }

    .linea-final {
        margin-bottom: 0.5rem;
    }

    .parte-final p{
        margin-top: 0px;
        width: 100%;
        font-size: 0.7rem;
    }


      /* ===========================================
   TARJETAS DE PRODUCTOS - MISMA ALTURA
=========================================== */

.card-producto{
    display: flex;
    flex-direction: column;
    height: auto;
}

.card-info{
    display: flex;
    flex-direction: column;
    
}

.card-top{
    min-height: 30px;
    display: flex;
    flex-wrap: wrap;
    align-content: flex-start;
    align-items: flex-start;
    
   
    
}



.card-info h2{
    min-height: 100px;
    margin-top: 10px;
    margin-bottom: 10px;
    min-height: 40px;
    line-height: 1;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 1.5rem;
    display: flex;
    justify-content: left;
   
    
    
}

.marca-producto{
    min-height: 20px;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 0.8rem;
}

.resumen-producto{
    min-height: 80px;
}

.card-bottom{
    margin-top: auto;
    display: flex;
    justify-content: right;
    align-items: center;
    
}

.productos-grid{
    align-items: stretch;
}

.card-link{
    display: flex;
    height: 100%;
}

.card-img img{
    width: 100%;
    height: 100%;
    object-fit: cover;
}
  
}



