.banner {
  width: 100%;
  text-align: center;
  margin: 20px 0;
  margin-top: 0%;
}

.banner img {
  max-width: 100%;
  height: auto;
  /* Mantiene la proporción */
  border-radius: 8px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  margin-top: 4.7em;
}

.container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  padding: 20px;
  max-width: 800px;
  margin: auto;
  margin-bottom: -3%;
}

.box {
  background-color: rgba(255, 255, 255, 0.1);
  padding: 20px;
  border-radius: 10px;
  text-align: center;
}

.title {
  font-family: 'Lato', sans-serif;
  font-size: 40pt;
  font-weight: 900;
  color: #131e30;
  margin-bottom: 10px;
}

.content-principal-text {
  max-width: 80%;
  margin: 0 auto;
  padding: 10px;
}

.content-principal-text p ol {
  color: #666;
  font-size: 16px;
  line-height: 1.6;
}

.content-principal-text ol {
  margin-top: 4%;
  padding-left: 20px;
}

.content-principal-text ol li {
  margin-bottom: 1%;
}

.content-principal-text h3,
h2 {
  text-align: center;
}


.valores {
  text-align: center;
  margin: 40px 0;
}

.valores h2 {
  font-size: 24px;
  font-weight: bold;
  margin-bottom: 15px;
}

.valores-container {
  display: flex;
  justify-content: center;
  gap: 15px;
  /* Espaciado entre los valores */
  flex-wrap: wrap;
  /* Permite que los valores pasen a la siguiente línea en móviles */
}

.valor-box {
  background-color: #0c1b2e;
  /* Color oscuro similar al de la imagen */
  color: white;
  padding: 12px 20px;
  border-radius: 10px;
  font-weight: bold;
  text-align: center;
  min-width: 120px;
  /* Tamaño uniforme */
}



/* 🔹 Imagen debajo de los valores */
.valores-img-container {
  margin-top: 90px;
  /* Espaciado entre valores e imagen */
}

.valores-img-container img {
  max-width: 300px;
  /* Ajusta el tamaño */
  height: auto;
  border-radius: 8px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}



/* 🔹 Ajuste para móviles: 2 en una fila, 2 en otra */
@media screen and (max-width: 768px) {
  .valores-container {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    /* 2 columnas en móviles */
    gap: 10px;
    /* Espaciado reducido */
  }

  .valor-box {
    width: 100%;
    /* Ocupa toda la columna */
  }
}




.grid-imagenes {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  justify-content: center;
  width: 80%;
  margin: 0 auto;
  margin-top: 4%;
  margin-bottom: 4%;
}

.recuadro {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: center;
  text-decoration: none;
  border: 2px solid #ccc;
  height: 380px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  border-radius: 8px;
  overflow: hidden;
  transition: box-shadow 0.3s, transform 0.3s;
  padding: 10px;
}

.recuadro:hover {
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
  transform: translateY(-6px);
}

.recuadro img {
  width: 100%;
  height: auto;
  object-fit: cover;
}

.texto {
  text-align: center;
  padding-top: 10px;
}

.texto h3 {
  font-size: 18px;
  font-weight: bold;
  color: #333;
  text-transform: uppercase;
  margin-bottom: 10px;
}

.texto p {
  font-size: 14px;
  color: #666;
  line-height: 1.5;
  margin-top: 0;
}

.boton-politicas {
  display: block;
  text-decoration: none;
  padding: 10px 20px;
  background-color: #007bff;
  color: white;
  font-weight: bold;
  border-radius: 5px;
  text-align: center;
  margin: 20px auto;
  width: fit-content;
  transition: background-color 0.3s, transform 0.3s;
}

.boton-politicas:hover {
  background-color: #0056b3;
  transform: scale(1.05);
}

@media (max-width: 768px) {
  .grid-imagenes {
    grid-template-columns: 1fr;
    gap: 15px;
  }

  .recuadro {
    height: auto;
  }

  .texto h3 {
    font-size: 16px;
  }

  .texto p {
    font-size: 13px;
  }

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

}


@media screen and (min-width: 1024px) {
  .banner img {
    max-height: 300px;
    width: 100%;
    object-fit: cover;
  }
}