/* ============================================
   TeleAdoración – Hero Slider (Fully Responsive)
   Mobile optimized: compact, below header, no dark overlay
   ============================================ */

.ta-hero {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: var(--ta-blue-dark);
}

.ta-hero__slides {
  position: relative;
  width: 100%;
  height: 100%;
}

/* --- Slides --- */
.ta-hero__slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 1s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}

.ta-hero__slide.active {
  opacity: 1;
  z-index: 1;
}

.ta-hero__slide-bg {
  position: absolute;
  inset: 0;
  background-size: contain;
  background-position: center center;
  background-repeat: no-repeat;
  transition: transform 6s ease;
  will-change: transform;
}

.ta-hero__slide.active .ta-hero__slide-bg {
  transform: scale(1.03);
}

.ta-hero__slide-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(10, 22, 40, 0.55) 0%,
    rgba(10, 22, 40, 0.15) 50%,
    rgba(10, 22, 40, 0.55) 100%
  );
}

/* --- Slide Content --- */
.ta-hero__slide-content {
  position: relative;
  z-index: 2;
  text-align: center;
  color: var(--ta-white);
  padding: 20px 30px;
  max-width: 700px;
  width: 100%;
}

.ta-hero__slide-title {
  font-size: clamp(1.4rem, 4vw, 2.8rem);
  font-weight: 800;
  text-transform: uppercase;
  margin-bottom: 10px;
  text-shadow: 0 2px 20px rgba(0, 0, 0, 0.6);
  line-height: 1.15;
  word-wrap: break-word;
}

.ta-hero__slide-subtitle {
  font-size: clamp(0.8rem, 2vw, 1.1rem);
  font-weight: 300;
  opacity: 0.9;
  line-height: 1.5;
  max-width: 500px;
  margin: 0 auto;
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.4);
}

/* --- Navigation Dots --- */
.ta-hero__dots {
  position: absolute;
  bottom: 16px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10;
  display: flex;
  gap: 10px;
  padding: 6px 14px;
  border-radius: 20px;
  background: rgba(0, 0, 0, 0.25);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}

.ta-hero__dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.35);
  border: 2px solid rgba(255, 255, 255, 0.5);
  cursor: pointer;
  transition: all var(--transition-fast);
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
  padding: 0;
}

.ta-hero__dot.active {
  background: var(--ta-gold);
  border-color: var(--ta-gold);
  transform: scale(1.25);
}

/* --- Navigation Arrows --- */
.ta-hero__arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  width: 44px;
  height: 44px;
  border: 2px solid rgba(255, 255, 255, 0.5);
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.25);
  color: var(--ta-white);
  font-size: 1.1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all var(--transition-fast);
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
  padding: 0;
}

.ta-hero__arrow:hover,
.ta-hero__arrow:active {
  background: var(--ta-gold);
  border-color: var(--ta-gold);
}

.ta-hero__arrow--prev {
  left: 16px;
}

.ta-hero__arrow--next {
  right: 16px;
}

/* --- Swipe Hint --- */
.ta-hero__swipe-hint {
  position: absolute;
  bottom: 50px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10;
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.72rem;
  font-family: var(--font-heading);
  text-transform: uppercase;
  letter-spacing: 1.5px;
  display: none;
  align-items: center;
  gap: 6px;
  animation: swipeHintFade 5s ease forwards;
  pointer-events: none;
}

.ta-hero__swipe-hint i {
  animation: swipeSlide 1.5s ease-in-out infinite;
}

@keyframes swipeSlide {
  0%, 100% { transform: translateX(0); }
  50% { transform: translateX(10px); }
}

@keyframes swipeHintFade {
  0% { opacity: 0; }
  10% { opacity: 1; }
  70% { opacity: 1; }
  100% { opacity: 0; visibility: hidden; }
}

/* ============================================
   TABLET
   ============================================ */
@media (max-width: 991px) {
  .ta-hero__slide-content {
    padding: 16px 50px;
  }

  .ta-hero__arrow {
    width: 38px;
    height: 38px;
    font-size: 0.95rem;
  }

  .ta-hero__arrow--prev {
    left: 10px;
  }

  .ta-hero__arrow--next {
    right: 10px;
  }
}

/* ============================================
   MOBILE
   ============================================ */
@media (max-width: 768px) {
  .ta-hero {
    margin-top: 74px;
    aspect-ratio: auto;
    height: 56vw;
    max-height: 250px;
    background: transparent;
  }

  .ta-hero__slides,
  .ta-hero__slide {
    height: 100%;
  }

  .ta-hero__slide-bg {
    background-size: contain;
    background-position: center center;
    background-repeat: no-repeat;
  }

  .ta-hero__slide-overlay {
    display: none;
  }

  .ta-hero__slide-content {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 10px;
    padding: 0 16px 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-end;
  }

  .ta-hero__slide-title {
    font-size: clamp(1rem, 5vw, 1.7rem);
    margin-bottom: 4px;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.45);
  }

  .ta-hero__slide-subtitle {
    font-size: 0.82rem;
    line-height: 1.25;
    text-shadow: 0 1px 6px rgba(0, 0, 0, 0.35);
  }

  .ta-hero__arrow {
    width: 34px;
    height: 34px;
    font-size: 0.8rem;
    border-width: 1.5px;
    background: rgba(0, 0, 0, 0.18);
  }

  .ta-hero__arrow--prev {
    left: 8px;
  }

  .ta-hero__arrow--next {
    right: 8px;
  }

  .ta-hero__dots {
    bottom: 6px;
    gap: 7px;
    padding: 4px 9px;
    background: rgba(0, 0, 0, 0.18);
  }

  .ta-hero__dot {
    width: 8px;
    height: 8px;
  }

  .ta-hero__swipe-hint {
    display: none;
  }
}

@media (max-width: 480px) {
  .ta-hero {
    margin-top: 70px;
    height: 58vw;
    max-height: 235px;
  }

  .ta-hero__slide-content {
    bottom: 8px;
    padding: 0 14px;
  }

  .ta-hero__slide-title {
    font-size: 0.95rem;
  }

  .ta-hero__slide-subtitle {
    font-size: 0.74rem;
  }

  .ta-hero__arrow {
    width: 30px;
    height: 30px;
    font-size: 0.72rem;
  }

  .ta-hero__dots {
    bottom: 5px;
    gap: 6px;
    padding: 4px 8px;
  }

  .ta-hero__dot {
    width: 7px;
    height: 7px;
    border-width: 1.5px;
  }
}

@media (max-height: 500px) and (orientation: landscape) {
  .ta-hero {
    margin-top: 70px;
    height: calc(100vh - 70px);
    max-height: 300px;
  }

  .ta-hero__slides,
  .ta-hero__slide {
    height: 100%;
  }

  .ta-hero__slide-title {
    font-size: clamp(1rem, 3.5vw, 1.6rem);
    margin-bottom: 4px;
  }

  .ta-hero__slide-subtitle {
    font-size: 0.75rem;
  }

  .ta-hero__dots {
    bottom: 4px;
    padding: 3px 8px;
  }

  .ta-hero__dot {
    width: 7px;
    height: 7px;
  }

  .ta-hero__arrow {
    width: 26px;
    height: 26px;
    font-size: 0.65rem;
  }

  .ta-hero__swipe-hint {
    display: none;
  }
}

@media (hover: none) and (pointer: coarse) {
  .ta-hero__arrow:active {
    background: var(--ta-gold);
    border-color: var(--ta-gold);
    transform: translateY(-50%) scale(0.9);
  }

  .ta-hero__dot:active {
    transform: scale(1.5);
  }
}