* {
  padding: 0px;
  margin: 0px;
}

/*========== 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: 60%;
  height: 40px;
  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: left;
}

.content-cabecera p {
  color: #ffff;
  font-family: "Arial";
  font-weight: 100;
  font-size: 1.5rem;
  margin-top: 20px;
}

/* ===== SECTION MAIN ======== */

.section-main {
  width: 80%;
  height: auto;
  overflow: hidden;
  display: flex;
  margin: auto;
  margin-top: 100px;
  margin-bottom: 90px;
  align-items: center;
  gap: 50px;
}

.main-text {
  width: 80%;
}

.main-text h4 {
  font-family: Arial, Helvetica, sans-serif;
  font-size: 0.8rem;
  letter-spacing: 1px;
  color: #dc0014;
  margin-bottom: 10px;
}

.linea-main {
  width: 24%;
  border: 1px solid #dc0014;
}

.main-text h1 {
  margin-top: 30px;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 3.5rem;
  margin-bottom: 20px;
  line-height: 1;
}

.main-text p {
  font-family: Arial, Helvetica, sans-serif;
  font-size: 1.2rem;
  line-height: 1.5;
  color: #364153;
}

.historia-descripcion p {
  font-family: Arial, Helvetica, sans-serif;
  font-size: 1.2rem;
  line-height: 1.5;
  color: #364153;
  margin-bottom: 25px;
}

.historia-descripcion strong,
.historia-descripcion b {
  font-weight: 700 !important;
}

.historia-descripcion p:last-child {
  margin-bottom: 0;
}

.img-main {
  width: 80%;
  height: 430px;
  overflow: hidden;
}

.img-main img {
 width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
}

/*SECTION MISION Y VISION*/

.section-mision {
  width: 100%;
  height: auto;
  text-align: center;
  padding-top: 100px;
  margin-top: 80px;
  padding-bottom: 100px;
  overflow: hidden;
  background-color:#1d2744;
}

.section-mision h1 {
  font-family: Arial, Helvetica, sans-serif;
  font-size: 3.5rem;
  margin-bottom: 20px;
  color: #ffff;
}

.section-mision p {
  font-family: Arial, Helvetica, sans-serif;
  font-size: 1.2rem;
  color: #cccccc;
}

.content-mision {
  width: 80%;
  margin: auto;
  margin-top: 80px;
  display: flex;
  text-align: left;
  gap: 40px;
}

.box-mision {
  border: 1px solid #262626;
  padding: 50px;
  width: 80%;
  background-color: #12182b;
  transition: all 0.3s ease-out;
}

.box-mision:hover {
  border: 1px solid #dc0014;
}

.box-mision h2 {
  font-family: Arial, Helvetica, sans-serif;
  font-weight: 800;
  font-size: 2rem;
  margin-bottom: 20px;
  margin-top: 20px;
  color: #ffff;
}

.box-mision p {
  line-height: 1.5;
}

.material-symbols {
  font-size: 60px !important;
  color: #dc0014;
  
 
 
}

.contenido-editor p {
  margin-bottom: 15px;
  line-height: 1.7;
}

.contenido-editor strong,
.contenido-editor b {
  font-weight: 700 !important;
}

.contenido-editor p:last-child {
  margin-bottom: 0;
}

/* ======== SECTION VALORES CORPORATIVOS ======= */

.section-valores {
  width: 100%;
  overflow: hidden;
  height: auto;
  text-align: center;
  padding-top: 100px;
}

.linea-valores {
  width: 11%;
  border: 1px solid #dc0014;
  margin: auto;
}

.section-valores h1 {
  margin-top: 40px;
  font-size: 5rem;
  font-family: Arial, Helvetica, sans-serif;
  font-weight: 700;
}

.section-valores p {
  font-family: Arial, Helvetica, sans-serif;
  font-size: 1.2rem;
  color: #4a5565;
  margin-top: 20px;
}

.section-valores .titulo-principio {
  font-family: Arial, Helvetica, sans-serif;
  font-size: 0.8rem;
  letter-spacing: 1px;
  color: #dc0014;
  margin-bottom: 10px;
  font-weight: 600;
}

.content-valores {
  width: 80%;
  margin: auto;
  margin-top: 80px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  min-width: 60%;
  gap: 30px;
  margin-bottom: 120px;
}

.box-valores {
  border: 1px solid #e5e7eb;
  padding: 30px;
  text-align: left;
  background-color: #f9fafb;
  width: 85%;
  transition: all 0.3s ease-in-out;
}

.box-valores h2 {
  font-family: Arial, Helvetica, sans-serif;
  font-size: 1.4rem;
}

.box-valores p {
  font-size: 1rem;
  line-height: 1.5rem;
}

.box-valores span {
  font-size: 3rem;
  margin-bottom: 20px;
}

.box-valores:hover {
  border: 1px solid #dd1a1e;
  box-shadow: 1px 1px 15px #cccccc86;
}

.descripcion-valor p{
    margin:0;
    line-height:1.5;
    padding-top: 12px;
}

.descripcion-valor strong{
    font-weight:700;
}

/*======= SECTION NUMEROS =========*/

.section-numero {
  width: 100%;
  height: auto;
  overflow: hidden;
  background-color: #f9fafb;
}

.content-numero {
  width: 80%;
  display: flex;
  height: 30vh;
  margin: auto;
  justify-content: center;
  align-items: center;
  gap: 200px;
  text-align: center;
}

.box-numero {
  font-family: Arial, Helvetica, sans-serif;
}

.box-numero span {
  font-size: 5rem;
  font-weight: 600;
  color: #dc0014;
}

.box-numero p {
  font-size: 0.8rem;
  color: #4a5578;
}

/*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 #ffff;
  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-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;
  }

  .section-cabecera {
    width: 100%;
    overflow: hidden;
    height: auto;
  }

  .content-cabecera {
    width: 90%;
    margin-top: 15px;
    margin-bottom: 5rem;
  }

  .top-inamec {
    width: 90%;
    margin: auto;
    margin-top: 15rem;
  }

  .content-cabecera h1 {
    font-size: 5rem;
    line-height: 0.8;
    width: auto;
    margin-top: 2rem;
    text-align: center;
  }

  .content-cabecera p {
    font-size: 1.2rem;
    margin-top: 3rem;
  }

  /* =========== SECTION MAIN ============= */

 

.section-main {
  
  width: 100%;
  height: auto;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  margin: auto;
  margin-top: 100px;
  margin-bottom: 90px;
  align-items: center;
  gap: 50px;
}

.main-text {
  width: 80%;
}

.main-text h4 {
  font-family: Arial, Helvetica, sans-serif;
  font-size: 0.8rem;
  letter-spacing: 1px;
  color: #dc0014;
  margin-bottom: 10px;
  text-align: center;
}

.linea-main {
  width: 40%;
  border: 1px solid #dc0014;
  display: block;
  margin: 0px auto;
}

.main-text h1 {
  margin-top: 60px;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 2.5rem;
  margin-bottom: 40px;
  line-height: 1;
}

.main-text p {
  font-family: Arial, Helvetica, sans-serif;
  font-size: 1.2rem;
  line-height: 1.5;
  color: #364153;
}

.historia-descripcion p {
  font-family: Arial, Helvetica, sans-serif;
  font-size: 1rem;
  line-height: 1.5;
  color: #364153;
  margin-bottom: 25px;
}



.img-main {
  width: 80%;
  height: auto;
  overflow: hidden;
  max-height: 400px;
  object-fit: cover;
  
}



  /* ====== SECTION MISION Y VISION ========= */



.section-mision {
  width: 100%;
  height: auto;
  text-align: center;
  padding-top: 100px;
  margin-top: 80px;
  padding-bottom: 100px;
  overflow: hidden;
  background-color:#1d2744;
}

.section-mision h1 {
  font-family: Arial, Helvetica, sans-serif;
  font-size: 3rem;
  margin-bottom: 20px;
  color: #ffff;
  display: block;
  width: 90%;
  margin: auto;
  margin-bottom: 10px;
  
}

.section-mision p {
  font-family: Arial, Helvetica, sans-serif;
  font-size: 1rem;
  color: #cccccc;
}

.content-mision {
 
  margin: auto;
  margin-top: 50px;
  display: flex;
  flex-direction: column;
  text-align: left;
  gap: 40px;
  
}

.box-mision {
  border: 1px solid #262626;
  padding: 20px;
  width: auto;
  background-color: #12182b;
  transition: all 0.3s ease-out;
}

.box-mision:hover {
  border: 1px solid #dc0014;
}

.box-mision h2 {
  font-family: Arial, Helvetica, sans-serif;
  font-weight: 800;
  font-size: 2rem;
  margin-top: 5px;
  color: #ffff;
  
}

.box-mision p {
  line-height: 1;
  font-size: 1rem;
  
  
}

.material-symbols {
  font-size: 50px !important; 
  color: #dc0014;
  
 
 
}

.contenido-editor p{
  line-height: 1.5;
  margin-top: 2px;
  padding-bottom: 40px;
}



  /* ======= SECTION VALORES CORPORATIVOS ======== */

  .section-valores {
    padding-top: 4rem;
  }

  

  .section-valores p {
    margin-top: 1rem;
  }

  .linea-valores {
    width: 40%;
  }

  .section-valores h1 {
    font-size: 3.5rem;
    line-height: 2.5rem;
    margin-bottom: 2rem;
  }

  .section-valores p {
    width: 90%;
    margin: auto;
  }

  .content-valores {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 80%;
  }

  .box-valores {
    width: 80%;
  }

  .box-valores p {
    width: 100%;
    margin-top: 5px;
  }

  /* ======= SECTION NUMEROS ========= */

  .content-numero {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    width: 100%;
    overflow: hidden;
    gap: 40px;
    height: auto;
    margin-top: 60px;
    margin-bottom: 50px;
    
  }

  .box-numero span{
    font-size: 3rem;
  }

  /* ============ 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;
  }
}
