/* ==========================================================================
   HERO CAROUSEL - ESTILOS (VERSIÓN PRO SOLO TEXTO + GLOW RESTAURADO)
   ========================================================================== */

/* 1. Variables */
:root {
  --text-color: #ffffff;
  --btn-bg: #ffffff;
  --btn-text: #0b0b0f;

  /* ✅ Variables del glow multicolor (restauradas) */
  --c1: #00f0ff;
  --c2: #ff00cc;
  --c3: #ff9900;
  --c4: #a64dff;
  --c5: #00ff99;
}

/* Contenedor principal */
.hero-carousel {
  position: relative;
  width: 100%;
  height: 100vh;
  overflow: hidden;
  z-index: 1;
}

.hero-carousel .carousel-track {
  display: flex;
  transition: transform 0.8s cubic-bezier(0.77, 0, 0.175, 1);
  height: 100%;
}

.hero-carousel .carousel-slide {
  min-width: 100%;
  height: 100%;
  position: relative;
  overflow: visible;
  border-bottom-left-radius: 30px;
  border-bottom-right-radius: 30px;
}

.hero-carousel .carousel-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-bottom-left-radius: 30px;
  border-bottom-right-radius: 30px;
  position: relative;
  z-index: 2;
}

/* ==========================================================================
   ✅ GLOW INFERIOR (RESTORED EXACTLY AS ORIGINAL)
   ========================================================================== */

.hero-carousel .glow-bottom {
  position: absolute;
  bottom: -15px;
  left: 0;
  width: 100%;
  height: 40px;
  background: linear-gradient(90deg, var(--c1), var(--c2), var(--c3), var(--c4), var(--c5));
  background-size: 400% 400%;
  animation: glowShift 10s linear infinite;
  filter: blur(20px);
  opacity: 0.65;
  z-index: 1;
  border-bottom-left-radius: 30px;
  border-bottom-right-radius: 30px;
  pointer-events: none;
}

@keyframes glowShift {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

/* ==========================================================================
   ✅ CAPTION – SOLO TEXTO (VERSIÓN PRO)
   ========================================================================== */

.hero-carousel .carousel-caption {
  position: absolute;
  bottom: 8%;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;

  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.85rem;

  max-width: 80%;
  text-align: center;

  opacity: 0;
  transform: translate(-50%, 20px);
  animation: fadeInUp 0.8s ease-out 0.15s forwards;
}

@keyframes fadeInUp {
  to {
    opacity: 1;
    transform: translate(-50%, 0);
  }
}

/* ==========================================================================
   ✅ TÍTULO – PRO, LEGIBLE, MODERNO
   ========================================================================== */

.hero-carousel .pl-lights-white {
  font-family: 'Inter Tight', system-ui, sans-serif;
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 800;
  color: #ffffff;
  margin: 0;
  line-height: 1.05;
  letter-spacing: -0.5px;

  text-shadow:
    0 0 10px rgba(0,0,0,0.55),
    0 0 26px rgba(0,0,0,0.65);
}

/* ==========================================================================
   ✅ SUBTÍTULO – LIMPIO, SUAVE, LEGIBLE
   ========================================================================== */

.hero-carousel .pl-premium {
  font-family: 'Inter Tight', system-ui, sans-serif;
  font-size: clamp(1rem, 2.2vw, 1.3rem);
  font-weight: 500;
  color: rgba(255,255,255,0.92);
  margin: 0;
  line-height: 1.35;

  text-shadow:
    0 0 6px rgba(0,0,0,0.55),
    0 0 18px rgba(0,0,0,0.6);
}

/* ==========================================================================
   ✅ CTA – BOTÓN REAL, ESTILO APP TOP
   ========================================================================== */

.hero-carousel .cta-button {
  display: inline-block;
  margin-top: 0.2rem;
  padding: 0.75rem 1.6rem;

  font-family: 'Inter Tight', system-ui, sans-serif;
  font-weight: 600;
  font-size: 0.95rem;

  color: var(--btn-text);
  background: var(--btn-bg);

  border-radius: 999px;
  border: none;
  text-decoration: none;
  cursor: pointer;

  transition: all 0.22s ease;

  box-shadow:
    0 4px 14px rgba(0,0,0,0.35),
    0 0 1px rgba(255,255,255,0.4) inset;
}

.hero-carousel .cta-button:hover {
  background: #f2f2f2;
  transform: translateY(-1px);
  box-shadow:
    0 6px 18px rgba(0,0,0,0.45),
    0 0 1px rgba(255,255,255,0.5) inset;
}

/* ==========================================================================
   ✅ INDICADORES (NO SE TOCAN)
   ========================================================================== */

.hero-carousel .carousel-indicators {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 10px;
  z-index: 3;
  opacity: 0;
  pointer-events: none;
}

.hero-carousel .carousel-indicators button {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.6);
  background: rgba(255,255,255,0.25);
}

.hero-carousel .carousel-indicators button.active {
  background: #ffffff;
  border-color: #ffffff;
}

/* ==========================================================================
   ✅ DESKTOP – Ajustes finos
   ========================================================================== */

@media (min-width: 1024px) {
  .hero-carousel .carousel-caption {
    bottom: 12%;
    max-width: 60%;
    gap: 1rem;
  }
}

/* ==========================================================================
   ✅ MOBILE – Ajustes finos
   ========================================================================== */

@media (max-width: 768px) {
  .hero-carousel .carousel-caption {
    bottom: 6%;
    max-width: 85%;
  }

  .hero-carousel .pl-lights-white {
    font-size: clamp(1.8rem, 7vw, 2.4rem);
  }

  .hero-carousel .pl-premium {
    font-size: clamp(0.95rem, 3.7vw, 1.1rem);
  }

  .hero-carousel .cta-button {
    padding: 0.6rem 1.3rem;
    font-size: 0.88rem;
  }
}

/* ==========================================================================
   ✅ REDUCE MOTION
   ========================================================================== */

@media (prefers-reduced-motion: reduce) {
  .hero-carousel .carousel-caption {
    animation: none;
    opacity: 1;
    transform: translate(-50%, 0);
  }
}
/* ==========================================================================
   ✅ DESKTOP – Ajustes finos
   ========================================================================== */

@media (min-width: 1024px) {
  .hero-carousel .carousel-caption {
    top: 30%;
    bottom: auto;
    transform: translate(-50%, -50%);
    max-width: 60%;
    gap: 1rem;
  }
}
/* Ocultar en móvil */
.desktop-only {
  display: none;
}

@media (min-width: 768px) {
  .desktop-only {
    display: flex;
    justify-content: space-between;
    position: absolute;
    top: 50%;
    left: 0;
    width: 100%;
    transform: translateY(-50%);
    pointer-events: none;
  }

  .carousel-arrows button {
    pointer-events: auto;
    background: rgba(0,0,0,0.35);
    border: none;
    color: #fff;
    font-size: 2.5rem;
    padding: 0.5rem 1rem;
    cursor: pointer;
    border-radius: 6px;
    transition: background 0.2s ease;
  }

  .carousel-arrows button:hover {
    background: rgba(0,0,0,0.55);
  }
}
