/* =========================================================
   Scene 9 — ¿Cuál elijo?
   ---------------------------------------------------------
   El título de esta escena es #s8FinalQuestion, reposicionado
   mediante FLIP desde el centro hacia la posición estándar
   de título (top-left, 80px). Controlado íntegramente por JS.

   La lista de modelos es #s8ModelList (scene8.css).
   Ambos elementos viven fuera de .scene y son compartidos.
   ========================================================= */

/* ── #s9ModelList2: imagen de lista actualizada (swap en step 9-1) ── */
/* Misma posición y tamaño que #s8ModelList.                           */
#s9ModelList2 {
  position: absolute;
  left:    410px;
  top:     228px;
  width:  1100px;
  height:  645px;
  z-index: 26;
  opacity: 0;
  pointer-events: none;
  will-change: opacity, transform;
}

/* ── Hojas de tipos de documento (step 9-1) ─────────────────────── */

.s9-card {
  position: absolute;
  width:  240px;
  height: 300px;
  background: #f8fafc;
  border-radius: 5px;
  box-shadow:
    0 12px 40px rgba(0, 0, 0, 0.28),
    0  3px 10px rgba(0, 0, 0, 0.14);
  border: 1px solid rgba(0, 0, 0, 0.06);
  opacity: 0;
  transform: translateX(1400px);
  will-change: opacity, transform;
  pointer-events: none;
  z-index: 30;
}

/* Pliegue de esquina superior derecha */
.s9-card::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width:  34px;
  height: 34px;
  background: linear-gradient(225deg, rgba(0,0,0,0.16) 50%, transparent 50%);
  border-top-right-radius: 5px;
  z-index: 2;
  pointer-events: none;
}

.s9-card-icon {
  position: absolute;
  top: 28px;
  left: 0;
  right: 0;
  bottom: 74px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.s9-card-icon img {
  max-width: 110px;
  max-height: 110px;
  object-fit: contain;
}

.s9-card-label {
  position: absolute;
  bottom: 20px;
  left: 0;
  right: 0;
  text-align: center;
  font-family: 'Inter', system-ui, sans-serif;
  font-size: 28px;
  font-weight: 700;
  color: #1e293b;
  letter-spacing: -0.01em;
}

/* ── Eye SVG — steps 9-4/9-5 ────────────────────────────────────── */
/*    Posicionado sobre todo el stage. z-index 40: sobre las cards (30) */
/*    pero bajo el overlay negro (50) y la lupa (60).                   */
#s9EyeSvg {
  position: absolute;
  top:    0;
  left:   0;
  width:  1920px;
  height: 1080px;
  z-index: 40;
  opacity:    0;
  visibility: hidden;
  pointer-events: none;
  will-change: opacity;
}

/* ── Posiciones individuales (grilla 3×2 en el espacio liberado) ── */
/* Espacio libre tras el slide: x≈550 a 1920                         */
/* Col 1: 720px  Col 2: 1120px  Col 3: 1520px                        */
/* Fila 1: 240px  Fila 2: 590px                                       */

#s9CardTexto    { left:  720px; top: 240px; }
#s9CardImagenes { left: 1120px; top: 240px; }
#s9CardTablas   { left: 1520px; top: 240px; }
#s9CardFirmas   { left:  720px; top: 590px; }
#s9CardEsquemas { left: 1120px; top: 590px; }
#s9CardPlanos   { left: 1520px; top: 590px; }
