/* =========================================
   INDEX — DOS SECCIONES VIDEO SCROLL
   ========================================= */

/* ─── SCROLL SCENE ─── */
.scroll-scene {
  position: relative;
  /* la altura real la da el spacer; el sticky se ancla aquí */
}

/* VIDEO DE FONDO — STICKY */
.scene-video-wrap {
  position: sticky;
  top: 0;
  height: 100vh;
  width: 100%;
  overflow: hidden;
  z-index: 1;
  /* quita el flow normal para que el spacer empuje el scroll */
  margin-bottom: -100vh;
}

.scene-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Degradado izquierdo (opaca el lado del texto en venta) */
.scene-overlay--left {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    90deg,
    rgba(8, 8, 16, 0.92) 0%,
    rgba(8, 8, 16, 0.75) 38%,
    rgba(8, 8, 16, 0.15) 65%,
    transparent 100%
  );
}

/* Degradado derecho (para construcción) */
.scene-overlay--right {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    90deg,
    transparent 0%,
    rgba(8, 8, 16, 0.15) 35%,
    rgba(8, 8, 16, 0.75) 62%,
    rgba(8, 8, 16, 0.92) 100%
  );
}

/* PANEL LATERAL — STICKY sobre el video */
.scene-panel {
  position: sticky;
  top: 0;
  height: 100vh;
  width: 44%;
  display: flex;
  align-items: center;
  z-index: 2;
  pointer-events: none;   /* el spacer captura el scroll */
}

.scene-panel--left  { margin-left: 0; }
.scene-panel--right { margin-left: auto; margin-right: 0; }

/* PASOS DE TEXTO */
.scene-steps {
  position: relative;
  width: 100%;
  padding: 48px 56px;
  pointer-events: none;
}

.sstep {
  position: absolute;
  top: 50%;
  left: 0;
  width: 100%;
  padding: 0 56px;
  transform: translateY(-50%) translateY(24px);
  opacity: 0;
  transition: opacity 0.55s ease, transform 0.55s ease;
  pointer-events: none;
}

.sstep.active {
  opacity: 1;
  transform: translateY(-50%);
  pointer-events: auto;
}

.sstep-tag {
  display: inline-block;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
  border: 1px solid var(--border);
  padding: 5px 14px;
  border-radius: 100px;
  margin-bottom: 20px;
  background: rgba(201, 168, 76, 0.06);
}

.sstep h2 {
  font-family: var(--font-head);
  font-size: clamp(1.9rem, 3.2vw, 3rem);
  font-weight: 800;
  color: #fff;
  line-height: 1.12;
  margin-bottom: 18px;
}

.sstep h2 em {
  font-style: normal;
  color: var(--gold);
}

.sstep p {
  font-size: 0.98rem;
  color: rgba(232, 232, 240, 0.8);
  line-height: 1.8;
  max-width: 380px;
  margin-bottom: 0;
}

/* CTA step */
.sstep--cta p { margin-bottom: 28px; }

.btn-scene {
  display: inline-block;
  background: var(--gold);
  color: #000;
  font-weight: 700;
  font-size: 0.92rem;
  padding: 16px 36px;
  border-radius: 100px;
  transition: var(--transition);
  letter-spacing: 0.01em;
  pointer-events: auto;
  box-shadow: 0 8px 32px rgba(201, 168, 76, 0.35);
}
.btn-scene:hover {
  background: var(--gold-light);
  transform: translateY(-3px);
  box-shadow: 0 14px 44px rgba(201, 168, 76, 0.5);
}

.btn-scene--dark {
  background: #fff;
  color: #000;
  box-shadow: 0 8px 32px rgba(255,255,255,0.15);
}
.btn-scene--dark:hover {
  background: #eee;
  box-shadow: 0 14px 44px rgba(255,255,255,0.25);
}

/* SPACER que da altura al scroll dentro de la sección */
.scene-spacer {
  height: 400vh;
  position: relative;
  z-index: 0;
}

/* ─── SEPARADOR ENTRE SECCIONES ─── */
.section-divider {
  position: relative;
  z-index: 10;
  background: var(--dark);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  padding: 48px 24px;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.divider-label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.divider-arrow {
  width: 18px;
  height: 18px;
  border-right: 2px solid var(--gold);
  border-bottom: 2px solid var(--gold);
  transform: rotate(45deg);
  animation: bounce 2s infinite;
}

/* ─── FOOTER MÍNIMO ─── */
.footer-min {
  background: var(--dark);
  border-top: 1px solid var(--border);
  padding: 40px 24px;
  position: relative;
  z-index: 10;
}

.footer-min-inner {
  max-width: 900px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  text-align: center;
}

.footer-logo-sm {
  height: 40px;
  width: auto;
  object-fit: contain;
  opacity: 0.75;
}

.footer-min-links {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
  justify-content: center;
  font-size: 0.9rem;
  color: var(--text-muted);
}

.footer-min-links a {
  color: var(--text-muted);
  transition: color 0.3s;
}
.footer-min-links a:hover { color: var(--gold); }

.footer-min p {
  font-size: 12px;
  color: rgba(136,136,168,0.4);
}

/* ─── RESPONSIVE ─── */
@media (max-width: 900px) {
  .scene-panel {
    width: 70%;
    margin: 0 auto;
  }
  .scene-panel--right {
    margin: 0 auto;
  }
  .scene-overlay--left,
  .scene-overlay--right {
    background: rgba(8, 8, 16, 0.72);
  }
  .sstep {
    padding: 0 32px;
  }
}

@media (max-width: 600px) {
  .scene-panel {
    width: 100%;
  }
  .sstep {
    padding: 0 24px;
  }
  .sstep h2 { font-size: 1.7rem; }
  .btn-scene { padding: 14px 28px; }
}
