/* hero.css — Hero slider fullwidth */

/* ── Contenedor principal ───────────────────────── */
#hero {
  position: relative;
  min-height: 100vh;
  overflow: hidden;
  display: flex;
  align-items: center;
}

/* ── Slides de fondo (fullwidth) ────────────────── */
.hero-slides {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 1.2s cubic-bezier(.4, 0, .2, 1);
  pointer-events: none;
}
.hero-slide.active {
  opacity: 1;
  pointer-events: auto;
}

/* Imagen de fondo del slide */
.slide-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  background-color: #0d0820; /* fallback si no hay imagen */
  transition: transform 8s ease;
}
.hero-slide.active .slide-bg {
  transform: scale(1.04); /* Ken Burns suave */
}

/* Overlay general — oscurece la imagen para legibilidad */
.slide-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to right,  rgba(10,8,18,.82) 0%, rgba(10,8,18,.55) 55%, rgba(10,8,18,.20) 100%),
    linear-gradient(to top,    rgba(10,8,18,.70) 0%, transparent 50%);
}

/* ── Contenido izquierdo (encima de todo) ───────── */
.hero-left {
  position: relative;
  z-index: 10;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 10rem 4rem 8rem;
  max-width: 680px;
}

.blob { display: none; } /* no necesarios en fullwidth */

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: .6rem;
  background: rgba(139,92,246,.15);
  border: 1px solid rgba(139,92,246,.35);
  padding: .42rem 1.1rem;
  border-radius: 24px;
  font-family: "JetBrains Mono", monospace;
  font-size: .67rem;
  letter-spacing: .15em;
  text-transform: uppercase;
  color: #c4b5fd;
  margin-bottom: 2rem;
  width: fit-content;
  animation: fadeUp .7s ease both;
  backdrop-filter: blur(8px);
}
.badge-dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--accent2);
  animation: pulse 2s ease infinite;
}

h1 {
  font-family: "Fraunces", serif;
  font-size: clamp(3rem, 5.5vw, 6.5rem);
  font-weight: 200;
  line-height: 1.02;
  letter-spacing: -.02em;
  color: #fff;
  animation: fadeUp .85s .1s ease both;
}
h1 .grad-text {
  background: var(--grad);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  font-style: italic;
  font-weight: 300;
}
h1 .outline-text {
  -webkit-text-stroke: 2px rgba(237,233,254,.6);
  color: transparent;
  font-weight: 400;
}

.hero-sub {
  margin-top: 1.8rem;
  font-size: 1.05rem;
  color: rgba(237,233,254,.7);
  max-width: 460px;
  line-height: 1.82;
  animation: fadeUp .9s .22s ease both;
}
.hero-actions {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  margin-top: 2.5rem;
  animation: fadeUp .9s .35s ease both;
}
.hero-stats {
  display: flex;
  gap: 2.5rem;
  margin-top: 4rem;
  padding-top: 2.5rem;
  border-top: 1px solid rgba(255,255,255,.12);
  animation: fadeUp .9s .48s ease both;
}
.stat-n {
  font-family: "Fraunces", serif;
  font-size: 2.6rem;
  font-weight: 200;
  line-height: 1;
  background: var(--grad);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.stat-l {
  font-family: "JetBrains Mono", monospace;
  font-size: .67rem;
  letter-spacing: .13em;
  text-transform: uppercase;
  color: rgba(237,233,254,.5);
  margin-top: .35rem;
}

/* ── Caption (bottom derecha) ───────────────────── */
.slide-caption {
  position: absolute;
  bottom: 0;
  right: 0;
  z-index: 10;
  width: clamp(280px, 38%, 480px);
  padding: 3rem 3.5rem;
  /* Degradado opaco bajo el caption */
  background: linear-gradient(
    135deg,
    rgba(10,8,18,.88) 0%,
    rgba(20,14,40,.80) 100%
  );
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-top: 1px solid rgba(139,92,246,.2);
  border-left: 1px solid rgba(139,92,246,.15);
}
.slide-caption-label {
  font-family: "JetBrains Mono", monospace;
  font-size: .65rem;
  letter-spacing: .18em;
  text-transform: uppercase;
  background: var(--grad);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  display: block;
  margin-bottom: .6rem;
}
.slide-caption-title {
  font-family: "Fraunces", serif;
  font-size: clamp(1.5rem, 2.4vw, 2.4rem);
  font-weight: 300;
  color: #EDE9FE;
  line-height: 1.1;
  margin-bottom: .55rem;
}
.slide-caption-desc {
  font-size: .82rem;
  color: rgba(237,233,254,.6);
  line-height: 1.7;
}

/* ── Controles ──────────────────────────────────── */
.hero-controls {
  position: absolute;
  bottom: 2.8rem;
  left: 4rem;
  z-index: 20;
  display: flex;
  gap: .55rem;
  align-items: center;
}
.hero-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: rgba(255,255,255,.25);
  border: none;
  cursor: pointer;
  transition: background .3s, transform .3s;
  padding: 0;
}
.hero-dot.active {
  background: var(--grad);
  transform: scale(1.4);
}
.hero-slide-label {
  position: absolute;
  bottom: 2.4rem;
  left: 6.5rem;
  z-index: 20;
  font-family: "JetBrains Mono", monospace;
  font-size: .6rem;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: rgba(255,255,255,.3);
}

