.header {
  height: 85vh;
  background-image: url('../img/imagen-portada-vremont.webp');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  position: relative;
}


/* Overlay para mejor legibilidad del texto */
/*
.header::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.4);
  z-index: 1;
  transition: opacity 0.5s ease-in-out;
}

.jumbotron {
  position: relative;
  z-index: 2;
  background-color: transparent;
}
*/
/* Servicios Sección */
.card-servicios {
  background-color: #fff;
  border-radius: 12px;
  /* box-shadow: 0 2px 25px rgba(0, 0, 0, 0.1); */

}

.circle-icon {
  width: 55px;
  height: 55px;
  background-color: #F9F7F7;
  /* Color de fondo del círculo (azul de Bootstrap) */
  /* background-color: #ffffff; */
  background-color: #0042FF;
  /* Color de fondo del círculo (azul de Bootstrap) */
  border-radius: 50%;
  /* Esto es lo que lo convierte en un círculo */
  display: flex;
  /* Usa flexbox para centrar el contenido */
  justify-content: center;
  /* Centra horizontalmente */
  align-items: center;
  /* Centra verticalmente */
  color: #0042FF;
  /* Color del icono */
  color: #ffffff;
  /* Color del icono */
  font-size: 30px;
  /* Tamaño del icono */
  margin: 10px auto 14px auto;
  /* Margen exterior y centrado horizontal */
  /* box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2); */
  /* Sombra sutil para profundidad */
}

/* ¿Por qué elegirnos? */
.card-pqe {
  background-color: #F9F7F7;
  border-radius: 12px;
  /* box-shadow: 0 2px 25px rgba(0, 0, 0, 0.1); */
  padding: 2rem;
  margin: 10px 10px;
  max-width: 800px;
  min-height: 270px;
  font-size: 1.1em;
  color: #424242;
  font-weight: 400;
  line-height: 1.3;
}

.card-pqe h4 {
  font-size: 1.2em;
  font-weight: 700;
  color: #424242;
}

/* red de socios */
.card-rds {
  background-color: #fff;
  border-radius: 12px;
  /* box-shadow: 0 2px 25px rgba(0, 0, 0, 0.1); */
  padding: 3rem 2rem 2rem 2rem;
  margin: 10px 10px;
  max-width: 800px;
  min-height: 220px;
  font-size: 1em;
  color: #424242;
  font-weight: 400;
  line-height: 1.3;
}

.card-rds h4 {
  font-size: 1.4em;
  font-weight: 700;
  color: #0042FF;
}

/* footer */
.footer {
  background-color: #EDEDED !important;
  width: 100%;
}

.footer-info {
  max-width: 1180px;
  margin: -140px auto 3rem auto;
  background-color: #fff;
  padding: 3rem;
  border-radius: 12px;
}

/* Mapa Interactivo en Modal */
#map {
  width: 100%;
  height: 500px;
  /* Altura fija para el modal */
  border-radius: 0 0 12px 12px;
}

@media (max-width: 576px) {
  #map {
    height: 80vh;
    /* Altura basada en el viewport para mobile */
    min-height: 400px;
  }
}


.infowindow-content {
  padding: 10px;
  max-width: 250px;
}

.infowindow-content h5 {
  color: #0042FF;
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 5px;
  font-family: 'Montserrat', sans-serif;
}

.infowindow-content p {
  font-size: 14px;
  color: #666;
  margin-bottom: 15px;
  font-family: 'Lato', sans-serif;
}

.btn-visit {
  background-color: #0042FF;
  color: white;
  border: none;
  padding: 8px 15px;
  border-radius: 6px;
  text-decoration: none !important;
  font-weight: 600;
  font-size: 13px;
  display: inline-block;
  transition: all 0.3s;
}

.btn-visit:hover {
  background-color: #3368ff;
  color: white;
  transform: translateY(-2px);
}

.modal-xl {
  max-width: 94%;
  margin-left: auto;
  margin-right: auto;
}

@media (min-width: 1200px) {
  .modal-xl {
    max-width: 1140px;
  }
}

/* Separador Mapa Interactivo */
#separador-mapa {
  width: 100%;
  height: 380px;
  position: relative;
  margin: 0;
  background-color: #F9F7F7;
  background-image: url('../img/mapa-socios-red-vremont-min.webp');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-attachment: fixed;
  /* Imagen fija al hacer scroll */
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

/* Capa de oscurecimiento #00248B al 45% */
#separador-mapa::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: #040f2c60;
  z-index: 1;
}

#separador-mapa .container {
  position: relative;
  z-index: 2;
}

#separador-mapa .map-logo {
  width: 100%;
  max-width: 200px;
  height: auto;
  margin-bottom: 20px;
  /* filter: brightness(0) invert(1); */
  /* Logo blanco */
}

#separador-mapa .btn-primary {
  background-color: #ffffff !important;
  border-color: #ffffff !important;
  color: #0042FF !important;
  font-weight: 600;
  border-width: 2px;
  transition: all 0.3s ease;
  border-radius: 6px !important;
  padding: 10px 25px !important;
}

#separador-mapa .btn-primary:hover {
  background-color: #0042FF !important;
  border-color: #0042FF !important;
  color: #ffffff !important;
  transform: translateY(-3px) !important;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08) !important;
}

.btn-primary-azul {
  background-color: #0042FF !important;
  border-color: #0042FF !important;
  color: #ffffff !important;
  font-weight: 600;
  border-width: 2px;
  transition: all 0.3s ease;
  border-radius: 6px !important;
  padding: 6px 22px !important;
}

.btn-primary-azul:hover {
  background-color: #3368ff !important;
  border-color: #3368ff !important;
  color: #ffffff !important;
  transform: translateY(-3px) !important;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08) !important;
}