
/*color verde mejor #006e1d*/

#countdown-container {
  background: #006e1d;
  color: #fff;
  text-align: center;
  padding: 10px;
  font-size: 1.2rem;
  font-weight: bold;
  letter-spacing: 1px;
}

#countdown-container span {
  margin: 0 3px;
}

@media (max-width: 768px) {
  #countdown-container {
    font-size: 1rem;
    padding: 8px;
  }
}


.pdf-container {
  width: 100%;
  height: 100vh; /* ocupa toda la altura visible */
}


/*------------------- mapa interactivo  -------------------*/


    .map-container {
      position: relative;
      display: inline-block;
    }

    .map-container img {
      max-width: 100%;
      height: auto;
      border: 2px solid #333;
      border-radius: 10px;
    }

    /* Íconos */
    .info-icon {
      position: absolute;
      width: 42px;
      height: 42px;
      background: #006e1d;
      color: white;
      border-radius: 50%;
      display: flex;
      align-items: center;
      justify-content: center;
      cursor: pointer;
      font-size: 20px;
      box-shadow: 0 2px 6px rgba(0,0,0,0.3);
      transition: transform 0.2s, background 0.3s;
    }

    .info-icon:hover {
      transform: scale(1.2);
      background: #006e1d;
    }

       

   
  .map-container {
    position: relative;
    display: inline-block;
    max-width: 100%;
  }

  .map-container img {
    width: 100%;
    height: auto;
    display: block;
  }



  .modal_map {
    display: none;
    position: fixed;
    z-index: 9999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background: rgba(0,0,0,0.6);
    justify-content: center;
    align-items: center;
    padding: 10px;
  }

  .modal_map-content {
    background: #fff;
    border-radius: 8px;
    padding: 20px;
    max-width: 600px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
  }

  .modal_map h3 {
    margin-top: 0;
    font-size: 1.5rem;
  }

  .modal_map strong {
    display: block;
    margin-top: 10px;
    font-size: 1rem;
    color: #1c1c1c;
  }

  .modal_map ul {
    margin: 5px 0 15px 20px;
    padding: 0;
  }

  .modal_map li {
    font-size: 0.95rem;
    margin-bottom: 5px;
  }

  .close-btn {
    float: right;
    font-size: 1.5rem;
    cursor: pointer;
  }

  /* Ajustes para tablets */
@media (max-width: 992px) {
  .info-icon {
    width: 32px;
    height: 32px;
    font-size: 16px;
  }
}

/* Ajustes para móviles */
@media (max-width: 576px) {
  .info-icon {
    width: 24px;
    height: 24px;
    font-size: 12px;
  }

  .modal_map-content {
    max-width: 90%;   /* Modal más ajustado */
    padding: 15px;
  }

  .modal_map h3 {
    font-size: 1.2rem;
  }

  .modal_map li {
    font-size: 0.85rem;
  }
}




/* === carousel === */
  .carousel-container {
  overflow: hidden;
  width: 100%;
  position: relative;
}

.carousel-track {
  display: flex;
  gap: 20px;
  transition: transform 0.5s ease;
  will-change: transform;
  padding: 0 10px; /* efecto Netflix */
}

.team-member {
  flex: 0 0 90%;
  max-width: 90%;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.team-member img {
  width: 100%;
  display: block;
  border-radius: 10px;
}

/* === RESPONSIVE === */
@media (min-width: 600px) and (max-width: 991px) {
  .team-member {
    flex: 0 0 calc(50% - 20px);
    max-width: calc(50% - 20px);
  }
}
@media (min-width: 992px) {
  .team-member {
    flex: 0 0 calc(25% - 20px);
    max-width: calc(25% - 20px);
  }
}

/* === BOTONES DE NAVEGACIÓN === */
.carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0,0,0,0.6);
  border: none;
  color: #fff;
  font-size: 2rem;
  padding: 10px 15px;
  cursor: pointer;
  border-radius: 50%;
  z-index: 2;
  transition: background 0.3s;
}
.carousel-btn:hover {
  background: rgba(0,0,0,0.9);
}
.carousel-btn.prev {
  left: 10px;
}
.carousel-btn.next {
  right: 10px;
}


/* === carousel 2 === */
  .carousel2-container {
  overflow: hidden;
  width: 100%;
  position: relative;
}

.carousel2-track {
  display: flex;
  gap: 20px;
  transition: transform 0.5s ease;
  will-change: transform;
  padding: 0 10px; /* efecto Netflix */
}

.team2-member {
  position: relative;
  flex: 0 0 90%;
  max-width: 90%;
  aspect-ratio: 1 / 1; /* fuerza el contenedor a ser cuadrado */
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
  background: #000; /* fondo negro mientras carga la imagen */
}

.team2-member img {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 100%;
  height: 100%;
  object-fit: cover; /* recorta la imagen sin deformarla */
  transform: translate(-50%, -50%);
}

/* === RESPONSIVE === */
@media (min-width: 600px) and (max-width: 991px) {
  .team2-member {
    flex: 0 0 calc(50% - 20px);
    max-width: calc(50% - 20px);
  }
}
@media (min-width: 992px) {
  .team2-member {
    flex: 0 0 calc(25% - 20px);
    max-width: calc(25% - 20px);
  }
}

/* === BOTONES DE NAVEGACIÓN === */
.carousel2-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0,0,0,0.6);
  border: none;
  color: #fff;
  font-size: 2rem;
  padding: 10px 15px;
  cursor: pointer;
  border-radius: 50%;
  z-index: 2;
  transition: background 0.3s;
}
.carousel2-btn:hover {
  background: rgba(0,0,0,0.9);
}
.carousel2-btn.prev {
  left: 10px;
}
.carousel2-btn.next {
  right: 10px;
}