/* =============================================
   PRÓXIMAS SALIDAS — CARRUSEL
   ============================================= */

.proximas-salidas {
  padding: 2em 0;
  font-family: inherit;
}

.proximas-salidas h1 {
  margin-bottom: 1.2em;
}

.carousel-wrapper {
  position: relative;
  padding: 0 40px;
}

.carousel-track-container {
  overflow: hidden;
}

.carousel-track {
  display: flex;
  transition: transform 0.45s cubic-bezier(0.4, 0, 0.2, 1);
  gap: 0;
}

.actividad-slide {
  flex: 0 0 calc(100% / 4);
  padding: 0 10px;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.actividad-slide img {
  width: auto;
  max-width: 100%;
  max-height: 480px;
  object-fit: contain;
  display: block;
  padding-top: 15px;
  padding-bottom: 10px;
  border-radius: 6px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.actividad-slide:hover img {
  transform: translateY(-4px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.18);
}

.actividad-slide h3 {
  font-size: 1em;
  margin-bottom: 0.6em;
}

/* ----- Botones laterales ----- */
.carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: transparent;
  color: #555;
  border: 2px solid #555;
  border-radius: 50%;
  width: 42px;
  height: 42px;
  font-size: 2.4em;
  font-weight: 300;
  line-height: 1;
  cursor: pointer;
  padding: 0 0 2px 0;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: color 0.2s, border-color 0.2s, transform 0.15s;
  z-index: 10;
  user-select: none;
}

.carousel-btn:hover {
  color: #22860e;
  border-color: #22860e;
  transform: translateY(-50%) scale(1.1);
}

.carousel-btn:disabled {
  color: #ccc;
  border-color: #ccc;
  cursor: default;
  transform: translateY(-50%) scale(1);
}

#btnPrev { left: 0; }
#btnNext { right: 0; }

/* ----- Dots ----- */
.carousel-dots-row {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 1.2em;
}

.carousel-dots {
  display: flex;
  gap: 8px;
  align-items: center;
}

.carousel-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #ccc;
  cursor: pointer;
  transition: background 0.2s, transform 0.2s;
  border: none;
  padding: 0;
}

.carousel-dot.active {
  background: #22860e;
  transform: scale(1.25);
}

/* ----- Responsive ----- */
@media (max-width: 767px) {
  .actividad-slide { flex: 0 0 100%; }
}

@media (min-width: 768px) and (max-width: 991px) {
  .actividad-slide { flex: 0 0 50%; }
}