/* ==== CARRUSEL HERO ==== */
.hero-carousel {
  position: relative;
  width: 100%;
  height: 500px;
  overflow: hidden;
  margin: 0;
}

.carousel-wrapper {
  display: flex;
  width: 100%;
  height: 100%;
  transition: transform 1s ease-in-out;
}

.carousel-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  flex-shrink: 0;
}

.carousel-dots {
  position: absolute;
  bottom: 20px;
  width: 100%;
  display: flex;
  justify-content: center;
  gap: 10px;
  z-index: 5;
}

.dot {
  width: 12px;
  height: 12px;
  background: white;
  opacity: 0.5;
  border-radius: 50%;
  cursor: pointer;
  transition: opacity 0.3s;
}

.dot.active {
  opacity: 1;
  background: #d1a469;
}

.progress-bar {
  position: absolute;
  bottom: 0;
  left: 0;
  height: 6px;
  width: 0%;
  background-color: rgba(81, 27, 57, 0.5);
  z-index: 2;
  border-radius: 3px;
}

.progress-bar.fill {
  animation: fillProgress 10s linear forwards;
}

@keyframes fillProgress {
  0% { width: 0%; }
  100% { width: 100%; }
}


/* ==== INFO CARDS GRID ==== */
.info-card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  padding: 50px;
  background-color: #1f3745;
}
.card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  padding: 40px 20px;
  max-width: 1300px;
  margin: 0 auto;
}

@media (max-width: 1024px) {
  .info-card-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .info-card-grid {
    grid-template-columns: 1fr;
  }
}


.info-card {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  height: 350px;
  background-size: cover;
  background-position: center;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
  transition: transform 0.4s ease;
  color: white;
  text-decoration: none;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}

.info-card:hover {
  transform: scale(1.03);
}

.info-content {
  background: linear-gradient(to top, rgba(0, 0, 0, 0.6), transparent);
  padding: 20px 15px 30px;
  text-align: center;
}

.info-content .wave {
  display: none;
}

.info-content .icon {
  width: 50px;
  margin-bottom: 10px;
}

.info-content h4 {
  font-size: 16px;
  font-weight: bold;
  color: #ffffff;
  margin: 10px 0 5px;
}

.info-content p {
  font-size: 14px;
  color: #f1eada;
  margin: 0;
  line-height: 1.5;
}

@media (max-width: 768px) {
  .info-card-grid {
    grid-template-columns: 1fr;
  }

  .info-content h4 {
    font-size: 15px;
  }

  .info-content p {
    font-size: 13px;
  }
}


/* ==== QUIÉNES SOMOS Y MAPA ==== */
.quienes-ubicacion {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  padding: 60px 50px;
  background-color: #f1eada;
  align-items: center;
  justify-content: center;
  border-top: 1px solid #c0b5a1;
  border-bottom: 1px solid #c0b5a1;
}

.quienes {
  flex: 1;
  min-width: 300px;
  padding: 0 10px;
}

.quienes h2 {
  font-size: 30px;
  color: #511b39;
  margin-bottom: 20px;
  font-weight: 700;
  border-left: 4px solid #511b39;
  padding-left: 12px;
}

.quienes p {
  font-size: 17px;
  color: #333;
  line-height: 1.8;
  text-align: justify;
}

.mapa {
  flex: 1;
  min-width: 300px;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
}

#map {
  width: 100%;
  height: 300px;
  border-radius: 10px;
}

@media (max-width: 768px) {
  .quienes-ubicacion {
    flex-direction: column;
    align-items: center;
  }

  .quienes {
    text-align: center;
  }

  .quienes h2 {
    font-size: 24px;
  }

  .quienes p {
    font-size: 15px;
  }
}


.footer-container {
  max-width: 1200px;
  margin: 0 auto;
}

.footer-logo img {
  height: 50px;
  margin-bottom: 10px;
}

.footer-simple p {
  font-size: 14px;
  margin: 0;
}