* {
  padding: 0px;
  margin: 0px;
}

/*========== CABECERA =============*/

.cabecera {
  width: 100%;
  height: auto;
  background-color: #ffff;
  box-shadow: 0px 5px 10px rgba(0, 0, 0, 0.048);
  position: fixed;
  z-index: 1;
}

.content-menu {
  display: flex;
  padding: 20px;
}

.logo-inamec {
  margin-left: 30px;
  margin-top: 5px;
  width: 200px;
  height: auto;
}

.acciones-menu {
  display: flex;
  align-items: center;
  gap: 20px;
}

.carrito {
  color: #000000;
}

.menu-toggle {
  display: none;
}

.menu {
  display: flex;
  margin-left: auto;
  margin-right: 30px;
  height: 40px;
  line-height: 50px;
}

.menu ul {
  display: flex;
  gap: 40px;
}

.menu ul li {
  list-style: none;
}

.menu ul li a {
  text-decoration: none;
  color: #000000;
  font-family: "Arial";
  font-weight: 500;
  font-size: 1rem;
}

.menu ul li a:hover {
  color: #dc0014;
}

.menu ul li:first-child a {
  color: #dc0014;
}

.menu ul li:first-child a:hover {
  color: #000000;
}

.menu a {
  text-decoration: none;
  color: #000000;
}

.menu span {
  margin-left: 30px;
  margin-top: 5px;
  font-size: 2rem;
  font-weight: 300;
  color: #000000;
}

.menu span:hover {
  color: #dc0014;
}

.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;
}

.content-cabecera {
  text-align: left;
  width: 60%;
  margin-top: 100px;
}

.top-inamec {
  color: #ffff;
  font-size: 0.8rem;
  font-family: "Arial";
  font-weight: 100;
  border: 1px solid #ffffff57;
  width: 40%;
  height: 40px;
  text-align: center;
  line-height: 40px;
  letter-spacing: 2px;
}

.content-cabecera h1 {
  color: #ffff;
  font-size: 7rem;
  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.1rem;
  margin-top: 60px;
}

/* ===== 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: 3rem;
  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;
}

.img-main {
  width: 80%;
  height: 430px;
  overflow: hidden;
}

.img-main img {
  object-fit: cover;
  transform: translate(-30%, -30%);
}

/*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: #000000;
}

.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: #0d0d0d;
  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: 4rem;
  color: #dc0014;
  font-weight: 800;
}

/* ======== 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: 3rem;
  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;
}

/*======= 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: 3rem;
  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: #000000;
  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: #1a1a1a;
  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 #1a1a1a;
  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 {
    width: 100%;
    overflow: hidden;
    height: auto;
  }

  .content-cabecera {
    width: 90%;
    margin-top: 12rem;
    margin-bottom: 10rem;
  }

  .top-inamec {
    width: 90%;
    margin: auto;
  }

  .content-cabecera h1 {
    font-size: 5rem;
    line-height: 0.8;
    width: auto;
    margin-top: 5rem;
  }

  .content-cabecera p {
    font-size: 1.2rem;
    margin-top: 5rem;
  }

  /* =========== SECTION MAIN ============= */

  .section-main {
    width: 100%;
    display: flex;
    flex-direction: column;
  }

  .main-text h4 {
    text-align: center;
  }

  .linea-main {
    margin: auto;
    width: 50%;
  }

  .img-main {
    width: 300px;
    height: 300px;
    overflow: hidden;
  }

  .img-main img {
    width: 200%;
    height: 200%;
    object-fit: cover;
  }

  /* ====== SECTION MISION Y VISION ========= */

  .section-mision h1 {
    font-size: 2.5rem;
  }

  .section-mision p {
    font-size: 1rem;
    width: 90%;
    margin: auto;
    margin-top: 3rem;
  }

  .content-mision {
    display: flex;
    flex-direction: column;
    width: 90%;
    overflow: hidden;
    align-items: center;
    margin-top: 2rem;
  }

  .box-mision {
    width: 90%;
    padding-top: 1rem;
    padding-bottom: 1rem;
  }

  /* ======= SECTION VALORES CORPORATIVOS ======== */

  .section-valores {
    padding-top: 4rem;
  }

  .section-valores p {
    margin-top: 1rem;
  }

  .linea-valores {
    width: 40%;
  }

  .section-valores h1 {
    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: 10px;
  }

  /* ======= SECTION NUMEROS ========= */

  .content-numero {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    width: 90%;
    gap: 10px;
    height: auto;
    margin-top: 2rem;
    margin-bottom: 2rem;
  }

  /* ============ 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;
  }
}
