/* ══════════════════════════════════════════
   HERO SLIDER — NETSTELAR
  ══════════════════════════════════════════ */

/* ── BASE ── */
.hero-slider {
  position: relative;
  width: 100%;
  height: 100vh;
  min-height: 600px;
  overflow: hidden;
}

/* ── SLIDES ── */
.slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 1.2s cubic-bezier(0.77, 0, 0.175, 1);
  pointer-events: none;
}
.slide.active {
  opacity: 1;
  pointer-events: all;
}

/* ── IMAGEN DE FONDO ── */
.slide-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  animation: kenBurns 12s ease-in-out infinite alternate;
}

/* Capa oscura base */
.slide-bg::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(10, 22, 40, 0.72) 0%,
    rgba(10, 22, 40, 0.45) 50%,
    rgba(10, 22, 40, 0.65) 100%
  );
  z-index: 1;
}

/* Capa de brillo / reflejo de luz */
.slide-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(
      115deg,
      transparent 20%,
      rgba(200, 168, 78, 0.08) 38%,
      rgba(255, 255, 255, 0.13) 45%,
      rgba(200, 168, 78, 0.06) 52%,
      transparent 68%
    ),
    radial-gradient(ellipse 60% 40% at 15% 20%, rgba(255,255,255,0.10) 0%, transparent 70%),
    radial-gradient(ellipse 40% 30% at 85% 80%, rgba(200,168,78,0.12) 0%, transparent 65%);
  z-index: 2;
  animation: shimmer 6s ease-in-out infinite alternate;
}

/* Imágenes de fondo por slide */
.slide-1 .slide-bg { background-image: url('../images/fotos/Slogan-Home.jpg'); }
.slide-2 .slide-bg { background-image: url('../images/fotos/Slogan-DataCenter.jpg'); }

/* ── CONTENIDO ── */
.slide-content {
  position: absolute;
  inset: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  padding: 0 8%;
}

.slide-inner {
  max-width: 680px;
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.9s ease 0.4s, transform 0.9s ease 0.4s;
}
.slide.active .slide-inner {
  opacity: 1;
  transform: translateY(0);
}

/* ── PILL ETIQUETA ── */
.slide-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(200, 168, 78, 0.15);
  border: 1px solid rgba(200, 168, 78, 0.45);
  color: #C8A84E;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  padding: 6px 16px;
  border-radius: 50px;
  margin-bottom: 22px;
  backdrop-filter: blur(6px);
}
.slide-tag::before {
  content: '';
  width: 6px;
  height: 6px;
  background: #C8A84E;
  border-radius: 50%;
  animation: pulse 2s infinite;
}

/* ── TÍTULO ── */
.slide-title {
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(32px, 5vw, 58px);
  font-weight: 800;
  line-height: 1.1;
  color: #ffffff;
  letter-spacing: -1.5px;
  margin-bottom: 20px;
}
.slide-title span {
  background: linear-gradient(90deg, #C8A84E, #f0d080, #C8A84E);
  background-size: 200%;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: goldShine 4s linear infinite;
}

/* ── SUBTÍTULO ── */
.slide-sub {
  font-size: clamp(14px, 1.8vw, 17px);
  font-weight: 300;
  color: rgba(255, 255, 255, 0.78);
  line-height: 1.75;
  margin-bottom: 36px;
  letter-spacing: 0.2px;
}

/* ── LÍNEA DECORATIVA ── */
.slide-line {
  width: 60px;
  height: 3px;
  background: linear-gradient(90deg, #C8A84E, transparent);
  border-radius: 2px;
  margin-bottom: 24px;
}

/* ── BOTONES ── */
.slide-btns {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

.btn-primary-ns {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 30px;
  background: linear-gradient(135deg, #C8A84E, #a8882e);
  color: #0a1628;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  border-radius: 50px;
  text-decoration: none;
  border: none;
  cursor: pointer;
  box-shadow: 0 6px 24px rgba(200, 168, 78, 0.35);
  transition: transform 0.25s ease, box-shadow 0.25s ease, filter 0.25s ease;
}
.btn-primary-ns:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 36px rgba(200, 168, 78, 0.5);
  filter: brightness(1.1);
}

.btn-outline-ns {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 28px;
  background: rgba(255, 255, 255, 0.07);
  color: #ffffff;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  border-radius: 50px;
  text-decoration: none;
  border: 1px solid rgba(255, 255, 255, 0.3);
  cursor: pointer;
  backdrop-filter: blur(8px);
  transition: transform 0.25s ease, background 0.25s ease, border-color 0.25s ease, color 0.25s ease;
}
.btn-outline-ns:hover {
  transform: translateY(-3px);
  background: rgba(255, 255, 255, 0.14);
  border-color: rgba(200, 168, 78, 0.6);
  color: #C8A84E;
}

/* ── INDICADORES ── */
.slider-dots {
  position: absolute;
  bottom: 36px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 10px;
  z-index: 20;
}
.dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.35);
  cursor: pointer;
  transition: all 0.3s ease;
}
.dot.active {
  width: 28px;
  border-radius: 4px;
  background: #C8A84E;
}

/* ── BARRA DE PROGRESO ── */
.progress-bar {
  position: absolute;
  bottom: 0;
  left: 0;
  height: 3px;
  background: linear-gradient(90deg, #C8A84E, #f0d080);
  width: 0%;
  z-index: 20;
}

/* ── SCROLL HINT ── */
.scroll-hint {
  position: absolute;
  bottom: 38px;
  right: 8%;
  z-index: 20;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  color: rgba(255, 255, 255, 0.45);
  font-size: 10px;
  letter-spacing: 2px;
  text-transform: uppercase;
}
.scroll-hint .mouse {
  width: 22px;
  height: 34px;
  border: 2px solid rgba(255, 255, 255, 0.3);
  border-radius: 12px;
  display: flex;
  justify-content: center;
  padding-top: 5px;
}
.scroll-hint .wheel {
  width: 3px;
  height: 7px;
  background: #C8A84E;
  border-radius: 2px;
  animation: scrollWheel 1.8s ease-in-out infinite;
}

/* ── ANIMACIONES ── */
@keyframes kenBurns {
  0%   { transform: scale(1.00) translateX(0); }
  100% { transform: scale(1.06) translateX(-1%); }
}
@keyframes shimmer {
  0%   { opacity: 0.6; transform: translateX(-2%); }
  100% { opacity: 1;   transform: translateX(2%); }
}
@keyframes goldShine {
  0%   { background-position: 0%; }
  100% { background-position: 200%; }
}
@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%       { opacity: 0.4; transform: scale(1.5); }
}
@keyframes scrollWheel {
  0%   { transform: translateY(0); opacity: 1; }
  100% { transform: translateY(8px); opacity: 0; }
}

/* ── RESPONSIVE ── */
@media (max-width: 768px) {
  .slide-content { padding: 0 6%; }
  .slide-btns { flex-direction: column; }
  .btn-primary-ns,
  .btn-outline-ns { justify-content: center; text-align: center; }
  .scroll-hint { display: none; }
}