* {
  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;
}



.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: 70%;
  height: 40px;
  margin: left;
  line-height: 40px;
  letter-spacing: 2px;
  text-align: center;
}

.content-cabecera {
    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;
  
}

.content-cabecera p {
  color: #ffff;
  font-family: "Arial";
  font-weight: 100;
  font-size: 1.5rem;
  margin-top: 20px;
}

.hero-contacto-titulo{

    display:flex;

    justify-content:center;

    align-items:center;

    flex-wrap:nowrap;

    gap:0;

}

.hero-contacto-resaltado{

    color:#dc0014;

}

.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;
}

/* ============= SECTION COMPLETA =================*/

.content-principal{

    width:100%;
    max-width:1400px;

    margin:60px auto;

    padding:0 40px;

    box-sizing:border-box;

}

.content-informacion{

    display:grid;

    grid-template-columns:450px 1fr;

    gap:80px;

    align-items:start;

}

/* ============ BARRA LATERAL =================*/


.barra-lateral h2 {
  font-family: Arial, Helvetica, sans-serif;
  margin-bottom: 50px;
}

.card-lateral {
  display: flex;
  gap: 20px;
  margin-top: 30px;
  align-items: center;
  width: 100%;
}

.icono-lateral {
  width: 60px;
  background-color: #dc0014;
  border-radius: 50%;
}

.info-lateral h3 {
  font-family: Arial, Helvetica, sans-serif;
  font-size: 1.2rem;

  margin-bottom: 10px;
}

.info-lateral p {
  font-family: Arial, Helvetica, sans-serif;
  margin-bottom: 10px;
  color: #364768;
  
}

.info-direccion{
font-size: 1rem;
width: 100%;
}

.mapa-lateral {
  width: 100%;
  height: 300px;
  overflow: hidden;

  margin-top: 40px;
}

.mapa-lateral iframe {
  width: 100%;
  height: 100%;
  border: none;
}

/* ============== CAMPO DE INFORMACION ===================*/

/*====================================
FORMULARIO CONTACTO
====================================*/

.box-mensaje{

    width:90%;
    max-width:850px;
    display: block;
    margin: 0px auto;
    margin-top:40px;


}

.box-mensaje h2{

    font-family:Arial, Helvetica, sans-serif;
    font-size:2rem;
    margin-bottom:35px;

}

.box-mensaje .campos-datos{

    display:grid;
    grid-template-columns:repeat(2,1fr);
    gap:30px 40px;

}

.box-mensaje .card-datos,
.box-mensaje .card-datos-mensaje{

    display:flex;
    flex-direction:column;

}

.box-mensaje label{

    font-family:Montserrat, sans-serif;
    font-size:.9rem;
    font-weight:600;
    color:#364768;
    margin-bottom:8px;

}

.box-mensaje input{

    width:100%;
    height:55px;
    padding:0 15px;
    border:2px solid #e5e7eb;
    font-size:16px;
    box-sizing:border-box;

}

.box-mensaje input:focus,
.box-mensaje textarea:focus{

    border-color:#dc0014;
    outline:none;

}

.box-mensaje .card-datos-mensaje{

    grid-column:1 / 3;

}

.box-mensaje textarea{

    width:100%;
    min-height:220px;
    padding:15px;
    border:2px solid #e5e7eb;
    resize:none;
    box-sizing:border-box;

}

.box-mensaje .card-boton{

    grid-column:1 / 3;
    margin-top:10px;

}

.box-mensaje .btn-enviar{

    width:260px;
    height:60px;
    background:#dc0014;
    color:#fff;
    border:none;
    font-size:16px;
    font-weight:400;
    cursor:pointer;
    transition:.3s;

}

.box-mensaje .btn-enviar:hover{

    background:#b30011;

}

/* ============== HORARIO ================= */

.content-horario {
  margin-top: 90px;
  margin-bottom: 80px;
  text-align: center;

  width: 100%;
  height: auto;

  overflow: hidden;
}

.content-horario h1 {
  font-family: Arial, Helvetica, sans-serif;
  font-size: 2rem;

  margin-bottom: 20px;
}

.content-horario p {
  font-family: Arial, Helvetica, sans-serif;
  line-height: 1.5;
  font-size: 1.2rem;
  color: #364153;
  font-weight: 600;
}

.content-horario p span {
  font-weight: 400;
  color: #5c4153;
}

.content-horario h2 {
  font-family: Arial, Helvetica, sans-serif;
  margin-top: 20px;
  color: #dc0014;
  font-size: 1.2rem;
}

/*FOOTER*/

.section-final {
  width: 100%;
  height: auto;
  padding-top: 50px;
  background-color: #1d2744;
  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;
  background-color: #1d2744;
  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 #fff;
  margin-bottom: 30px;
}

.final {
  font-family: Arial, Helvetica, sans-serif;
  font-size: 0.8rem;
  color: #99a1af;
}

@media (max-width: 480px) {

  .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 {
    display: none;

    position: absolute;

    top: 80px;
    left: 0;

    width: 100%;

    background-color: white;

    padding: 30px 0;

    z-index: 999;

    margin: 0;

    height: auto;
  }

  .menu.active {
    display: block;
  }

  .menu ul {
    display: flex;

    flex-direction: column;

    align-items: center;

    gap: 20px;
  }

  .menu ul li {
    line-height: 20px;
  }

  .logo-inamec {
    width: 30%;
    margin-left: 1rem;
  }

  /* ============= SECTION CABECERA =============== */
  .content-cabecera {
    width: 90%;
    text-align: center;
    
  }

  .top-inamec {
    width: 90%;
  }

  .content-cabecera h1 {
    display: block;
    margin: 0px auto;
    margin-top: 3rem;
    font-size: 4.5rem;
    width: 90%;
    line-height: 0.8;
    text-align: center;
  }

  .content-cabecera p {
    display: block;
    margin: 0px auto;
    margin-top: 3rem;
    font-size: 1.2rem;
    width: 90%;
  }

     /*============= SECTION COMPLETA =============*/

    .content-principal{

        padding:0 20px;

    }

    .content-informacion{

        display:flex;

        flex-direction:column;

        width:100%;

        gap:40px;

    }

    /*============= BARRA LATERAL =============*/

    .barra-lateral{

        margin:0;

        width:100%;

    }

    .barra-lateral h2{

        margin-bottom:2rem;

        text-align:center;

    }

    .card-lateral{

        gap:15px;

    }

    .icono-lateral{

        width:50px;

        height:50px;

        flex-shrink:0;

    }

    .mapa-lateral{

        margin-top:3rem;

        height:250px;

    }

    /*============= FORMULARIO =============*/

    .box-mensaje{

        width:100%;
        max-width:100%;
        margin:0;

    }

    .box-mensaje h2{

        text-align:center;

    }

    .box-mensaje .campos-datos{

        display:grid;
        grid-template-columns:1fr !important;
        gap:20px;

    }

    .box-mensaje .card-datos{

        width:100%;

    }

    .box-mensaje .card-datos input{

        width:100%;
        height:55px;

    }

    .box-mensaje .card-datos-mensaje{

        grid-column:1;

    }

    .box-mensaje .card-datos-mensaje textarea{

        width:100%;
        min-height:180px;

    }

    .box-mensaje .card-boton{

        grid-column:1;

    }

    .box-mensaje .btn-enviar{

        width:100%;

        margin-top:10px;

    }

  /* ============ SECTION HORARIO ============= */
  .content-horario p {
    margin-bottom: 1rem;
  }

  /* ======== FOOTER ======= */

  .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;
  }
}
