/* General */
@import url('https://fonts.googleapis.com/css2?family=Cal+Sans&family=Open+Sans:ital,wght@0,300..800;1,300..800&display=swap');
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

.cls_banner{
  width: 100%;
  max-width: 100vw;
}

body {
  font-family: "Open Sans", sans-serif;
  font-size: 12px;
}
#whatsapp {
    position: fixed;
    top: 60px;
    right: 0px;
    z-index: 1000;
}

#whatsapp img {
    height: 80px;
    filter: drop-shadow(0 1px 4px rgba(0, 0, 0, .4));
}
/* NAVBAR */
.navbar {
  position: fixed;
  top: 0;
  width: 100%;
  background: #01326b url("../IMG/engrane.png") no-repeat right center;
  background-size: contain;
  z-index: 1000;
}

.navbar .container {
  max-width: 1250px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px;
}

.logo img {
  height: 80px;
}

.menu ul {
  list-style: none;
  display: flex;
}

.menu ul li {
  border-left: 1px solid #22b1f7;
  padding: 5px;
}

.menu ul li:first-child {
  border-left: none;
}

.menu ul li a {
  display: block;
  font-size: 1rem;
  padding: 10px 15px;
  color: #fff;
  text-decoration: none;
  transition: background 0.3s;
}

.menu ul li.active a,
.menu ul li a:hover {
  background: #22b1f7;
  border-radius: 10px;
}

/* Hamburguesa (móvil) */
.hamburger {
  display: none;
  flex-direction: column;
  cursor: pointer;
}

.hamburger span {
  height: 3px;
  width: 25px;
  background: #fff;
  margin: 4px 0;
  border-radius: 5px;
}

/* Banner */
#banner {
  margin-top: 90px; /* espacio por el header fijo */
  width: 100%;
  aspect-ratio: 3 / 1;
  overflow: hidden;
}

#banner img {
  width: 100vw;
  aspect-ratio: 3 / 1;
  object-fit: cover;
}

/* CLIENTES */
.clientes {
  padding: 40px 20px;
  text-align: center;
}

.clientes .container {
  max-width: 1024px;
  margin: 0 auto;
}

.cliente-item {
  Padding: 5px;
}
.cliente-item img {
  max-width: calc(100% - 10px);
}

/* INDUSTRIAS */
.industrias {
  background: url("../IMG/fondo-industrias.png") no-repeat center center;
  background-size: cover;
  color: #fff;
  padding: 60px 20px;
}

.industrias .overlay {
  padding: 40px 20px;
}

.industrias .container {
  max-width: 1200px;
  margin: 0 auto;
}

.industrias-grid {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 40px;
  align-items: start;
}

.industrias-left .bandera {
  display: block;
  margin: 20px auto;
  max-width: 90%;
}

.industrias-left p {
  font-size: 16px;
  line-height: 1.5;
  text-align: center;
  max-width: 80%;
  margin: 0 auto;
}

/* GRID de industrias */
.grid-industrias {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.grid-industrias .item {
  border-radius: 12px;
  text-align: center;
  transition: transform 0.3s;
}

.grid-industrias .item:hover {
  transform: translateY(-5px);
}

.grid-industrias .item img {
  max-width: 100%;
  object-fit: contain;
  margin-bottom: 10px;
}

.grid-industrias .item span {
  display: block;
  font-size: 14px;
}

/* Botón ocupa 3 columnas */
.grid-industrias .boton-mas {
  grid-column: span 3;
  display: flex;
  justify-content: center;
  align-items: center;
}

.btn-mas {
  display: inline-block;
}
.btn-mas:hover {
  transform: translateY(0px);
}
.btn-mas img{
    transition: background 0.3s;
    width: 80%;
    max-width: 200px;
}

.btn-mas img:hover {
  transform: translateY(-5px);
}


/* PODER PARA TODO MEXICO */
.poder-mexico {
  background: url("../IMG/fondo-mapa.png") no-repeat center center;
  background-size: cover;
  color: #fff;
  padding: 60px 20px;
}

.poder-mexico .container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
}

.poder-texto h2 {
  font-size: 32px;
  font-weight: bold;
  line-height: 1.2;
}

.poder-texto h2 span {
  color: #002b66; /* azul oscuro para resaltar */
}

.poder-texto p {
  margin-top: 10px;
  font-size: 16px;
  max-width: 500px;
}

.poder-boton img {
  max-width: 200px;
  height: auto;
  display: block;
}


/* CONTACTO */
.formulario-seccion {
  width: 100%;
  margin: 40px auto;
  position: relative;
}

.formulario-container {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  gap: 40px;
  max-width: 1000px;
  width: 90%;
  margin: 0 auto;
  flex-wrap: wrap;
}

.formulario-left {
  flex: 1;
  min-width: 280px;
  text-align: center;
}

.formulario-img {
  max-width: 400px;
  margin-bottom: 20px;
}


.formulario-right {
  flex: 1;
  min-width: 300px;
}

.formulario-right form {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.form-row {
  display: flex;
  gap: 20px; /* espacio entre ciudad y estado */
}

.form-col {
  flex: 1; /* cada uno ocupa el mismo ancho */
  display: flex;
  flex-direction: column;
}

.formulario-right input[type="text"],
.formulario-right input[type="email"] {
  border: 0px;
  border-bottom: 3px solid #01326b;
  padding: 8px;
  width: 100%;
}
.formulario-right label{
  color: #22b1f7;
    font-family: "Cal Sans", sans-serif;
  font-size: 1.2rem;
  font-weight: 400;
}
.formulario-right .checkbox-group label{
  color: #000;
  font-weight: 100;
    font-family: "Open Sans", sans-serif;
}
.formulario-right .aviso label{
  color: #000;
    font-weight: 100;
      font-family: "Open Sans", sans-serif;
}

.checkbox-group {
  display: flex;
  flex-direction: column;
  gap: 5px;
  padding-left: 20px;
}
/* Checkbox base */
.checkbox-group input[type="checkbox"] {
  appearance: none;         /* quita el estilo default */
  -webkit-appearance: none;
  -moz-appearance: none;

  width: 22px;
  height: 22px;
  border: 4px solid #01326b; /* marco azul */
  cursor: pointer;
  position: relative;
  margin-right: 8px;        /* espacio con el texto */
}

/* Cuando está seleccionado */
.checkbox-group input[type="checkbox"]:checked {
  background-color: #22b1f7;   /* fondo azul claro */
  border-color: #01326b;       /* borde más fuerte */
}

/* El “check” interno */
.checkbox-group input[type="checkbox"]:checked::after {
  content: "✔";
  color: white;
  font-size: 14px;
  position: absolute;
  left: 2px;
  top: -2px;
}


.aviso {
  margin-top: 10px;
  font-size: 14px;
}

.btn-enviar {
  border: none;
  background: none;
  cursor: pointer;
  margin: auto;
  margin-top: 15px;
  max-width: 250px;
}
.btn-enviar img{
  max-width: 100%;
}


/* FOOTER */
.footer {
  width: 100%;
  color: #fff;
  font-family: "Open Sans", sans-serif;
}

/* Parte superior */
.footer-top {
  background: #01326b url('../IMG/engrane2.png') no-repeat right bottom;
  background-size: contain;
  display: flex;
  justify-content: space-evenly;
  align-items: center;
  padding: 30px 40px;
  flex-wrap: wrap;
  gap: 20px;
}

.footer-top .footer-logo img {
  max-width: 140px;
}

.footer-contacto p{
  margin: 5px 0;
  font-size: 14px;
}

.footer-contacto a,
.footer-redes a {
  color: #fff;
  text-decoration: none;
}
.footer-contacto i {
  color: #22b1f7;
  margin-right: 8px;
  font-size: 16px;
}
.footer-redes {
  display: flex;
  flex-direction: column;
  gap: 8px;
  align-items: center;
}
.redes-icons{
  border:#22b1f7 2px solid;
  border-radius: 50px;
  padding: 10px 10px;
}
.redes-icons a{
  display: inline-block;
  margin: 0 8px;
}
.redes-icons a img {
  width: 35px;
  height: 35px;
}

.footer-dublanc img {
  max-width: 200px;
}

/* Parte inferior */
.footer-bottom1{
  background: #2d2d2d;
    padding: 30px 40px;
}
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  padding: 30px 40px;
  flex-wrap: wrap;
  gap: 20px;
    align-items: stretch;
    align-content: stretch;
}
.footer-bottom1 h3 {
  flex: none;
  margin-bottom: 15px;
  color: #fff;
  font-size: 2.2rem;
}


.footer-sucursales {
  flex: 2;
}

.footer-sucursales ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(5, 1fr); /* 5 columnas */
  grid-auto-rows: auto;
  gap: 15px 30px; /* espacio entre filas y columnas */
}

.footer-sucursales li {
  font-size: 14px;
  line-height: 1.4;
  color: #fff;
}

.footer-sucursales a {
  color: #22b1f7;
  font-weight: bold;
  text-decoration: none;
  font-size: 1.1em;
  display: block;
  margin-bottom: 3px;
}

.footer-logo2 {
  flex: 0 0 15%; /* 15% del ancho total */
  display: flex;
  justify-content: center;
  align-items: stretch; /* estira verticalmente */
}

.footer-logo2 img {
  width: 100%;
  height: 100%; /* que coincida con el alto de las filas */
  object-fit: contain; /* mantiene proporción */
}
/* RESPONSIVE */
@media (max-width: 768px) {
  .menu {
    display: none;
    position: absolute;
    top: 70px;
    right: 0;
    background: #01326b;
    width: 100%;
  }

  .menu ul {
    flex-direction: column;
    text-align: center;
  }

  .menu ul li {
    border-left: none;
    border-top: 1px solid #22b1f7;
  }

  .hamburger {
    display: flex;
  }

  .logo {
    margin: 0 auto;
  }

  .navbar .container {
    justify-content: space-between;
  }

  .industrias-grid {
    grid-template-columns: 1fr;
  }

  .grid-industrias {
    grid-template-columns: repeat(3, 1fr);
  }

  .grid-industrias .boton-mas {
    grid-column: span 3;
  }

  .poder-mexico .container {
    flex-direction: column;
    text-align: center;
  }

  .poder-boton {
    margin-top: 20px;
  }

  .poder-boton img {
    margin: 0 auto;
  }

  .formulario-container {
    flex-direction: column;
    align-items: center;
    gap: 20px;
  }

  .formulario-left,
  .formulario-right {
    width: 100%;
    min-width: unset;
  }

  .formulario-left {
    text-align: center;
  }

  .formulario-img {
    max-width: 90%;
    margin: 0 auto 20px;
  }

  /* Ciudad y Estado en columna */
  .form-row {
    flex-direction: column;
    gap: 10px;
  }

  .form-col {
    width: 100%;
  }

  /* Ajustar tipografía en mobile */
  .formulario-right label {
    font-size: 1rem;
  }

  .checkbox-group {
    padding-left: 10px;
  }

  .footer-top {
    background: #01326b url('../IMG/engrane2.png') no-repeat right bottom;
    background-size: 30%;
    flex-direction: column;
    text-align: center;
    align-items: center;
  }

  .footer-redes {
    align-items: center;
  }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }

  .footer-sucursales ul {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-logo2 {
    flex: 1 1 100%;
    justify-content: center;
    margin-top: 20px;
  }

  .footer-logo2 img {
    height: auto;
    max-width: 200px;
  }
  #whatsapp {
    position: fixed;
    bottom:10px;
    top:auto;
    right: 0px;
    z-index: 1000;
  }
  #whatsapp img {
    height: 50px;
  }
}