#sliderTop {
  position: relative;
  width: 100%;
  overflow: hidden;
  background: #111; /* fondo de transición */
}

.slider-container {
  position: relative;
}

.slides {
  list-style: none;
  margin: 0;
  padding: 0;
  position: relative;
  height: 600px; /* ajusta según diseño */
}

.slides li {
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  opacity: 0;
  z-index: 0;
  transition: opacity 1s ease-in-out;
}

.slides li.active {
  opacity: 1;
  z-index: 2;
}

.cntImg {
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
}

/* ===================== TEXTOS CENTRADOS ===================== */
.textCaption {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  color: #fff;
  pointer-events: none;
}

.textCaption .container {
  display: flex !important;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: auto !important;
  max-width: 90%;
  margin: 0 auto !important;
  padding: 0 !important;
}

.textCaption .capt1 {
  font-size: 2.5rem;
  font-weight: bold;
  margin-bottom: 10px;
  text-transform: uppercase;
  line-height: 1.2;
  text-shadow: 2px 2px 8px rgba(0,0,0,0.7);
}

.textCaption .capt2 {
  font-size: 1.3rem;
  line-height: 1.4;
  text-shadow: 2px 2px 6px rgba(0,0,0,0.6);
}

/* RESPONSIVE */
@media (max-width: 768px) {
  .slides { height: 400px; }
  .textCaption .capt1 { font-size: 1.8rem; }
  .textCaption .capt2 { font-size: 1rem; }
}

@media (max-width: 480px) {
  .slides { height: 300px; }
  .textCaption .capt1 { font-size: 1.4rem; }
  .textCaption .capt2 { font-size: 0.9rem; }
}