/* ==========================================================================
   KEDEM · SIGOP — PALETA LUMINOSA SIGOP CENTRO OPERATIVO + ESTÉTICA 3D NUMA
   ========================================================================== */
:root {
  /* Paleta extraída directamente de SiGOP Centro Operativo */
  --brand-navy: #10162C;
  --brand-navy-soft: #1E293B;
  --brand-blue: #087BBC;
  --brand-blue-deep: #065F96;
  --brand-cyan: #0EA5E9;

  /* Pasteles funcionales del ecosistema SiGOP */
  --pastel-aqua: #C4DFE8;
  --pastel-mint: #CFE9E6;
  --pastel-ice: #D2E8F5;
  --pastel-lilac: #DAD8ED;
  --pastel-sand: #EFE8DA;
  --pastel-blush: #EDE1E5;

  /* Superficies blanqueadas definidas con elevación 3D sobre el fondo */
  --bg: #E3EAEF;
  --card-bg: #FAFBFD;
  --card-solid: #FFFFFF;
  --ink: #10162C;
  --ink-2: #475569;
  --muted: #64748B;
  --accent: #087BBC;
  --accent-strong: #065F96;
  --ice: #0F294A;

  --border-soft: rgba(16, 22, 44, 0.11);
  --border-crisp: rgba(8, 123, 188, 0.42);
  --shadow-3d:
    0 14px 32px -12px rgba(16, 24, 48, 0.12),
    0 4px 10px -3px rgba(16, 24, 48, 0.06),
    inset 0 1px 0 #FFFFFF;
  --shadow-3d-hover:
    0 22px 44px -14px rgba(14, 28, 56, 0.18),
    0 8px 18px -4px rgba(8, 123, 188, 0.12),
    inset 0 1px 0 #FFFFFF;

  --radius: 14px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --dur-slow: 0.95s;

  /* Tipografía geométrica limpia de sistema (idéntica a numa.cl) */
  --f-head: "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --f-body: "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --f-mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--f-body);
  font-weight: 400;
  font-size: 15px;
  line-height: 1.56;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
button { font-family: inherit; color: inherit; }
img { display: block; max-width: 100%; user-select: none; -webkit-user-drag: none; }
::selection { background: rgba(8, 123, 188, 0.20); color: var(--brand-navy); }

.mono {
  font-family: var(--f-mono);
  font-weight: 500;
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.grad-ice {
  background: linear-gradient(115deg, #087BBC 0%, #0B5394 52%, #10162C 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* ---------- Atmósfera Pastel Difuminada SiGOP (Capa trasera bajo tarjetas 3D) ---------- */
.space {
  position: fixed;
  inset: 0;
  z-index: -1;
  overflow: hidden;
  pointer-events: none;
  background:
    radial-gradient(85% 75% at 8% 18%, #C4DFE8 0%, transparent 58%),
    radial-gradient(75% 68% at 88% 36%, #EDE0E6 0%, transparent 58%),
    radial-gradient(80% 75% at 82% 90%, #DAD8ED 0%, transparent 62%),
    radial-gradient(75% 70% at 18% 88%, #CFE9E6 0%, transparent 58%),
    linear-gradient(125deg, #D5E7EE 0%, #E7EAF1 48%, #EAE2EA 78%, #DCE0EC 100%);
}
.orb { position: absolute; border-radius: 50%; filter: blur(55px); opacity: 0.65; will-change: transform; }
.orb-1 { width: 38vw; height: 38vw; left: -6vw; top: 6vh; background: radial-gradient(circle, #B1D8E6, transparent 70%); animation: drift 22s var(--ease) infinite alternate; }
.orb-2 { width: 34vw; height: 34vw; right: -5vw; top: 24vh; background: radial-gradient(circle, #EAD4DF, transparent 70%); animation: drift 28s var(--ease) infinite alternate-reverse; }
.orb-3 { width: 32vw; height: 32vw; left: 26vw; bottom: -8vw; background: radial-gradient(circle, #C8E6E2, transparent 70%); animation: drift 24s var(--ease) infinite alternate; }
.orb-4 { width: 26vw; height: 26vw; right: 18vw; bottom: 8vh; background: radial-gradient(circle, #D3D0EA, transparent 70%); animation: drift 19s var(--ease) infinite alternate-reverse; }
@keyframes drift { to { transform: translate3d(4vw, 3vh, 0) scale(1.08); } }

.grid-floor {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(16, 22, 44, 0.032) 1px, transparent 1px),
    linear-gradient(90deg, rgba(16, 22, 44, 0.032) 1px, transparent 1px);
  background-size: 64px 64px;
  opacity: 0.7;
  mask-image: radial-gradient(82% 68% at 50% 34%, #000 0%, transparent 82%);
  -webkit-mask-image: radial-gradient(82% 68% at 50% 34%, #000 0%, transparent 82%);
}
.grain { display: none; }
.cursor-light {
  position: fixed;
  width: 520px;
  height: 520px;
  border-radius: 50%;
  pointer-events: none;
  z-index: 0;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.55), transparent 65%);
  transform: translate(-50%, -50%);
  left: 50%;
  top: 35%;
}

/* ---------- Superficies Blanqueadas con Líneas Definidas y Elevación 3D ---------- */
.glass {
  position: relative;
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(18px) saturate(140%);
  -webkit-backdrop-filter: blur(18px) saturate(140%);
  border-radius: var(--radius);
  border: 1px solid var(--border-soft);
  box-shadow: var(--shadow-3d);
  transition: box-shadow 0.3s var(--ease), border-color 0.3s var(--ease);
}

/* ---------- Tarjetas con Giro 3D (Inspiradas en numa.cl + Paleta SiGOP) ---------- */
.flip-card {
  position: relative;
  perspective: 1100px;
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
  padding: 0 !important;
  cursor: pointer;
  outline: none;
}
.flip-inner {
  position: relative;
  display: block;
  width: 100%;
  height: 100%;
  transform-style: preserve-3d;
  transition: transform 0.6s cubic-bezier(0.25, 0.1, 0.25, 1);
}
@media (hover: hover) {
  .flip-card:hover .flip-inner,
  .flip-card:focus-visible .flip-inner {
    transform: rotateY(180deg);
  }
}
.flip-card.is-flipped .flip-inner {
  transform: rotateY(180deg);
}
.flip-face {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 20px 22px;
  border-radius: var(--radius);
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  text-align: left;
  transition: box-shadow 0.3s var(--ease), border-color 0.3s var(--ease);
}
.flip-front {
  background: var(--card-solid);
  border: 1px solid rgba(16, 22, 44, 0.10);
  box-shadow: var(--shadow-3d);
}
.flip-card:hover .flip-front {
  box-shadow: var(--shadow-3d-hover);
}
.flip-back {
  transform: rotateY(180deg);
  justify-content: flex-start;
  gap: 12px;
  background: linear-gradient(135deg, #FFFFFF 0%, #EEF6FB 54%, #EAEFF9 100%);
  border: 1px solid rgba(8, 123, 188, 0.44);
  box-shadow: var(--shadow-3d-hover);
}
.triad-flip .flip-back {
  justify-content: space-between;
  gap: 8px;
}
.flip-top-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}
.flip-icon {
  width: 42px;
  height: 42px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  flex: none;
  border: 1px solid rgba(16, 22, 44, 0.06);
}
.flip-icon.tone-ice { background: var(--pastel-ice); color: #0868A8; }
.flip-icon.tone-mint { background: var(--pastel-mint); color: #0E7470; }
.flip-icon.tone-lilac { background: var(--pastel-lilac); color: #4338CA; }
.flip-icon.tone-sand { background: var(--pastel-sand); color: #926024; }

.flip-cue {
  font-size: 11.5px;
  font-weight: 500;
  color: var(--muted);
  display: inline-flex;
  align-items: center;
  gap: 4px;
}
.flip-cue.back {
  color: var(--brand-blue);
  font-weight: 600;
}

/* Marco definido para capturas reales */
.glass-bezel {
  position: relative;
  padding: 9px 9px 11px;
  border-radius: 16px;
  background: #FFFFFF;
  border: 1px solid rgba(16, 22, 44, 0.12);
  box-shadow:
    0 20px 46px -16px rgba(16, 26, 52, 0.18),
    0 5px 14px -4px rgba(16, 26, 52, 0.08);
}
.bezel-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 3px 6px 8px;
  font-size: 12px;
  font-weight: 500;
  color: var(--ink);
}
.dots { display: inline-flex; gap: 5px; }
.dots i { width: 8px; height: 8px; border-radius: 50%; background: #CBD5E1; }
.dots i:nth-child(1) { background: #94A3B8; }
.bezel-tag {
  font-size: 11.5px;
  font-weight: 500;
  color: var(--ink-2);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.zoom-trigger {
  width: 26px;
  height: 26px;
  border-radius: 8px;
  border: 1px solid var(--border-soft);
  background: #F1F5F9;
  color: var(--ink);
  font-size: 12px;
  cursor: pointer;
  display: grid;
  place-items: center;
  transition: transform 0.25s var(--ease), background 0.25s, color 0.25s;
}
.zoom-trigger:hover { transform: scale(1.08); background: var(--pastel-ice); color: var(--brand-blue); }
.bezel-img-wrap {
  position: relative;
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid rgba(16, 22, 44, 0.07);
}
.bezel-img-wrap img { width: 100%; height: auto; border-radius: 10px; }
.sheen { display: none; }

/* ---------- Barra Superior Clara (Estilo Barra Superior SiGOP Centro Operativo) ---------- */
.nav.glass-bar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  width: 100%;
  height: 56px;
  z-index: 60;
  background: rgba(248, 250, 252, 0.92);
  backdrop-filter: blur(18px) saturate(150%);
  -webkit-backdrop-filter: blur(18px) saturate(150%);
  border-bottom: 1px solid rgba(16, 22, 44, 0.10);
  box-shadow: 0 6px 20px -10px rgba(16, 24, 48, 0.09);
}
.nav-inner {
  width: 100%;
  height: 100%;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 0 clamp(20px, 3vw, 44px);
}
.brand { display: flex; align-items: center; flex: none; }
.nav-kedem-logo {
  height: 34px;
  width: auto;
  transition: transform 0.28s var(--ease);
}
.brand:hover .nav-kedem-logo { transform: scale(1.03); }

.nav-cta {
  display: flex;
  align-items: center;
  gap: 10px;
  flex: none;
}
.nav-cta .btn {
  height: 36px;
  padding: 0 16px;
  font-size: 12.5px;
  font-weight: 500;
}

/* Botones Ejecutivos Limpios */
.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 12px 22px;
  border-radius: 10px;
  font-size: 13.5px;
  font-weight: 500;
  cursor: pointer;
  border: 1px solid transparent;
  color: var(--ink);
  transition: transform 0.28s var(--ease), box-shadow 0.28s var(--ease), background 0.25s;
}
.btn span { position: relative; z-index: 2; }

.btn-glass {
  background: #FFFFFF;
  border: 1px solid rgba(16, 22, 44, 0.14);
  color: var(--ink);
  box-shadow: 0 2px 8px rgba(16, 24, 48, 0.05);
}
.btn-glass:hover {
  background: var(--pastel-ice);
  border-color: rgba(8, 123, 188, 0.35);
  color: var(--brand-blue-deep);
}

.btn.btn-gold,
.btn-gold {
  background: var(--brand-navy);
  color: #FFFFFF;
  font-weight: 500;
  border-radius: 10px;
  border: 1px solid rgba(16, 22, 44, 0.9);
  box-shadow: 0 10px 22px -8px rgba(16, 22, 44, 0.32);
}
.btn-gold:hover {
  background: #1B2545;
  box-shadow: 0 14px 28px -8px rgba(16, 22, 44, 0.42);
}

.btn.btn-whatsapp,
.btn-whatsapp {
  background: linear-gradient(135deg, #16A34A 0%, #15803D 100%);
  color: #FFFFFF;
  font-weight: 500;
  border-radius: 10px;
  border: 1px solid rgba(21, 128, 61, 0.35);
  box-shadow: 0 8px 20px -8px rgba(21, 128, 61, 0.36);
}
.btn-whatsapp:hover { filter: brightness(1.05); }
.wa-ico { width: 16px; height: 16px; flex: none; position: relative; z-index: 2; }

.btn-primary,
.btn-capsule.btn-primary {
  background: var(--brand-blue);
  color: #FFFFFF;
  border: 1px solid var(--brand-blue-deep);
  border-radius: 10px;
  box-shadow: 0 8px 20px -8px rgba(8, 123, 188, 0.38);
}
.btn-primary:hover { background: var(--brand-blue-deep); }
.btn-sm { padding: 8px 15px; font-size: 12.5px; }
.btn.full { width: 100%; padding: 13px 20px; }

/* ---------- HUD Flotante de Escenas ---------- */
.scene-hud {
  position: fixed;
  right: 22px;
  bottom: 20px;
  z-index: 55;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 7px 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid rgba(16, 22, 44, 0.14);
  box-shadow: 0 14px 32px -10px rgba(16, 24, 48, 0.18);
}
.hud-arrow {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 1px solid rgba(16, 22, 44, 0.14);
  background: #F1F5F9;
  color: var(--ink);
  cursor: pointer;
  font-size: 14px;
  display: grid;
  place-items: center;
  transition: all 0.25s var(--ease);
}
.hud-arrow:hover { background: var(--brand-blue); border-color: var(--brand-blue); color: #fff; }
.hud-info { padding: 0 6px; min-width: 135px; text-align: center; }
.hud-step { display: block; font-family: var(--f-mono); font-size: 10px; color: var(--brand-blue); letter-spacing: 0.08em; }
.hud-title { display: block; font-size: 12px; font-weight: 600; color: var(--ink); }

/* ---------- Escenas y Tipografía Limpia Estilo Numa ---------- */
.scene {
  position: relative;
  max-width: 1380px;
  margin: 0 auto;
  padding: 86px max(22px, 4.5vw) 68px;
  min-height: min(90svh, 900px);
  scroll-margin-top: 56px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
#stageWrapper.scene-transitioning {
  animation: spatialJump 0.62s var(--ease);
}
@keyframes spatialJump {
  0% { opacity: 1; transform: translateY(0); }
  40% { opacity: 0.55; transform: translateY(8px); }
  100% { opacity: 1; transform: translateY(0); }
}

.badge-pill, .eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--f-mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--brand-blue-deep);
  margin-bottom: 10px;
}
.pulse {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #10B981;
  box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.55);
  animation: pulse 2.2s infinite;
}
@keyframes pulse { 70% { box-shadow: 0 0 0 9px rgba(16, 185, 129, 0); } 100% { box-shadow: 0 0 0 0 rgba(16, 185, 129, 0); } }

.hero-main-title {
  font-family: var(--f-head);
  font-weight: 500;
  font-size: clamp(28px, 3.3vw, 46px);
  line-height: 1.12;
  letter-spacing: -0.025em;
  color: var(--ink);
}
.h2 {
  font-family: var(--f-head);
  font-weight: 500;
  font-size: clamp(25px, 2.6vw, 36px);
  line-height: 1.15;
  letter-spacing: -0.025em;
  color: var(--ink);
}
.scene-top-row {
  display: grid;
  grid-template-columns: 1.12fr 0.88fr;
  gap: 38px;
  align-items: center;
  margin-bottom: 32px;
}
.lead-with-logo {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
}
.sigop-centered-wrap {
  display: flex;
  justify-content: center;
  width: 100%;
}
.sigop-logo-centered {
  height: 62px;
  width: auto;
}
.top-lead {
  font-size: 15px;
  color: var(--ink-2);
  line-height: 1.62;
  width: 100%;
}
.top-lead strong { color: var(--ink); font-weight: 600; }

.tag-chip {
  display: inline-block;
  padding: 4px 10px;
  border-radius: 999px;
  background: #F1F5F9;
  border: 1px solid rgba(16, 22, 44, 0.10);
  color: var(--ink-2);
  font-size: 10px;
}

/* ---------- CORTINA LINEAL DE 4 PUNTAS EN PALETA PASTEL HIELO DIFERENCIADA ---------- */
.cinematic-curtain {
  --q-tx: 0%;
  --q-ty: 0%;
  --ch: 0%;
  --q-alpha: 1;
  --q-edge: 0;
  --fx-op: 0;
  --fx-scale: 0.2;
  --fx-ray: 0;
  position: fixed;
  top: 56px;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 52;
  pointer-events: none;
  overflow: hidden;
}
.cinematic-curtain.opened {
  opacity: 0;
  visibility: hidden;
}
.curtain-intact,
.cq-lin .cq-art {
  background:
    url("assets/brand/sigop-cabecera-hero-light.webp?v=20261128c") center 46% / cover no-repeat,
    linear-gradient(125deg, #B2D4E2 0%, #CBD9E9 52%, #C9CFE5 100%);
}
.curtain-intact {
  position: absolute;
  inset: 0;
  z-index: 5;
  will-change: opacity;
}
.cq-lin {
  position: absolute;
  width: 50%;
  height: 50%;
  z-index: 2;
  opacity: var(--q-alpha);
  filter:
    drop-shadow(0 0 2px rgba(8, 123, 188, var(--q-edge)))
    drop-shadow(0 16px 32px rgba(16, 28, 56, 0.22));
  will-change: transform, opacity, filter;
}
.cq-clip {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
  will-change: clip-path;
}
.cq-lin .cq-art {
  position: absolute;
  width: 200%;
  height: 200%;
}
.cq-tl { left: 0; top: 0; transform: translate3d(calc(var(--q-tx) * -1), calc(var(--q-ty) * -1), 0); }
.cq-tl .cq-clip { clip-path: polygon(0 0, 100% 0, 100% calc(100% - var(--ch)), calc(100% - var(--ch)) 100%, 0 100%); }
.cq-tl .cq-art { left: 0; top: 0; }

.cq-tr { right: 0; top: 0; transform: translate3d(var(--q-tx), calc(var(--q-ty) * -1), 0); }
.cq-tr .cq-clip { clip-path: polygon(0 0, 100% 0, 100% 100%, var(--ch) 100%, 0 calc(100% - var(--ch))); }
.cq-tr .cq-art { left: -100%; top: 0; }

.cq-bl { left: 0; bottom: 0; transform: translate3d(calc(var(--q-tx) * -1), var(--q-ty), 0); }
.cq-bl .cq-clip { clip-path: polygon(0 0, calc(100% - var(--ch)) 0, 100% var(--ch), 100% 100%, 0 100%); }
.cq-bl .cq-art { left: 0; top: -100%; }

.cq-br { right: 0; bottom: 0; transform: translate3d(var(--q-tx), var(--q-ty), 0); }
.cq-br .cq-clip { clip-path: polygon(var(--ch) 0, 100% 0, 100% 100%, 0 100%, 0 var(--ch)); }
.cq-br .cq-art { left: -100%; top: -100%; }

/* Destello geométrico limpio al abrir las 4 puntas */
.center-tip-fx {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 0;
  height: 0;
  z-index: 4;
  opacity: var(--fx-op);
  pointer-events: none;
}
.fx-diamond {
  position: absolute;
  left: 0;
  top: 0;
  width: 185px;
  height: 185px;
  border: 1.5px solid rgba(8, 123, 188, 0.72);
  box-shadow: 0 0 24px rgba(255, 255, 255, 0.9), inset 0 0 16px rgba(8, 123, 188, 0.22);
  transform: translate(-50%, -50%) rotate(45deg) scale(var(--fx-scale));
}
.fx-ray {
  position: absolute;
  left: 0;
  top: 0;
  width: 360px;
  height: 2px;
  background: linear-gradient(90deg, transparent 0%, rgba(8, 123, 188, 0.65) 28%, #FFFFFF 50%, rgba(8, 123, 188, 0.65) 72%, transparent 100%);
}
.fx-ray-d1 { transform: translate(-50%, -50%) rotate(45deg) scaleX(var(--fx-ray)); }
.fx-ray-d2 { transform: translate(-50%, -50%) rotate(-45deg) scaleX(var(--fx-ray)); }
.fx-core {
  position: absolute;
  left: 0;
  top: 0;
  width: 14px;
  height: 14px;
  background: #FFFFFF;
  box-shadow: 0 0 20px 6px rgba(255, 255, 255, 0.95), 0 0 32px 10px rgba(8, 123, 188, 0.45);
  transform: translate(-50%, -50%) rotate(45deg) scale(calc(1.3 - var(--fx-scale) * 0.45));
}
.curtain-cue {
  position: absolute;
  left: 50%;
  bottom: 28px;
  transform: translateX(-50%);
  z-index: 6;
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  color: var(--brand-navy);
  transition: opacity 0.35s var(--ease);
}
.curtain-cue .mono { font-size: 10.5px; letter-spacing: 0.18em; font-weight: 600; }
.curtain-cue i {
  font-style: normal;
  font-size: 15px;
  color: var(--brand-blue);
  animation: cueFloat 2.1s ease-in-out infinite;
}
@keyframes cueFloat {
  0%, 100% { transform: translateY(0); opacity: 0.65; }
  50% { transform: translateY(5px); opacity: 1; }
}

/* ---------- Cabecera Adosada y Escena 01 ---------- */
.intro-scroll-stage { position: relative; width: 100%; }
.intro-pin {
  position: sticky;
  top: 0;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}
.hero-cabecera-banner {
  position: relative;
  margin: 56px 0 0;
  width: 100%;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(180deg, #000 0%, #000 72%, transparent 100%);
  mask-image: linear-gradient(180deg, #000 0%, #000 72%, transparent 100%);
}
.hero-cabecera-banner img {
  display: block;
  width: min(100%, 1680px);
  margin: 0 auto;
  height: auto;
  max-height: 32svh;
  object-fit: contain;
  -webkit-mask-image: radial-gradient(82% 92% at 50% 46%, #000 66%, transparent 100%);
  mask-image: radial-gradient(82% 92% at 50% 46%, #000 66%, transparent 100%);
}
.cabecera-fade { display: none; }

#escena-1.hero-showcase {
  max-width: 100%;
  width: 100%;
  padding-top: 6px;
  padding-bottom: 34px;
  padding-left: max(22px, calc((100% - 1356px) / 2));
  padding-right: max(22px, calc((100% - 1356px) / 2));
  min-height: auto;
  justify-content: flex-start;
  gap: 18px;
}
.hero-brand-header {
  text-align: center;
  max-width: 960px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}
.creator-line {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  color: var(--brand-blue-deep);
  margin-bottom: 2px;
}
.creator-line span {
  width: 44px;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(8, 123, 188, 0.45), transparent);
}
.hero-sublines {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  margin-top: 2px;
}
.hero-tagline { font-size: clamp(15px, 1.2vw, 17.5px); color: var(--ink); }
.hero-tagline strong { color: var(--ink); font-weight: 500; }
.hero-tagline-sub { font-size: clamp(13.8px, 1.08vw, 15.5px); color: var(--ink-2); }

.top-explorer-block { display: flex; flex-direction: column; gap: 12px; width: 100%; }
.product-brand-row { display: flex; align-items: center; gap: 10px; margin-bottom: 8px; }
.product-brand-row .eyebrow { margin-bottom: 0; }
.sigop-mini-mark { height: 32px; width: auto; }

/* ---------- Mazo 3D de Pantallas Traspuestas (Escena 02) ---------- */
.hero-deck-wrap { display: flex; flex-direction: column; gap: 14px; }
.deck-hint {
  font-size: 11.5px;
  color: var(--ink-2);
  text-align: center;
  background: rgba(255, 255, 255, 0.85);
  border: 1px solid var(--border-soft);
  box-shadow: 0 4px 12px rgba(16, 24, 48, 0.05);
  padding: 6px 14px;
  border-radius: 999px;
  width: fit-content;
  margin: 0 auto;
}
.transposed-deck {
  position: relative;
  height: 472px;
  perspective: 1600px;
  transform-style: preserve-3d;
}
.t-layer {
  position: absolute;
  width: 82%;
  left: 5%;
  top: 4%;
  cursor: pointer;
  transform-style: preserve-3d;
  transition: transform 0.95s var(--ease), opacity 0.95s var(--ease), filter 0.95s var(--ease);
}
.t-layer.pos-0 { z-index: 10; opacity: 1; filter: none; transform: translate3d(-2%, 14px, 40px) rotateY(-8deg) rotateX(3deg); }
.t-layer.pos-1 { z-index: 8; opacity: 0.88; filter: brightness(0.96); transform: translate3d(13%, -20px, -55px) rotateY(-13deg) rotateX(4deg) scale(0.94); }
.t-layer.pos-2 { z-index: 6; opacity: 0.72; filter: brightness(0.93) blur(0.6px); transform: translate3d(24%, -46px, -140px) rotateY(-17deg) rotateX(5deg) scale(0.88); }
.t-layer.pos-3 { z-index: 4; opacity: 0.56; filter: brightness(0.90) blur(1.2px); transform: translate3d(33%, -68px, -220px) rotateY(-20deg) rotateX(6deg) scale(0.82); }
.t-layer:not(.pos-0) .hotspot { opacity: 0; pointer-events: none; }

.hotspot {
  position: absolute;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: 2px solid #FFFFFF;
  background: var(--brand-blue);
  color: #FFFFFF;
  font-weight: 700;
  font-size: 16px;
  line-height: 1;
  cursor: pointer;
  display: grid;
  place-items: center;
  box-shadow: 0 6px 16px rgba(8, 123, 188, 0.40);
  animation: pulseBlue 2s infinite;
  transition: transform 0.25s var(--ease);
}
@keyframes pulseBlue { 70% { box-shadow: 0 0 0 10px rgba(8, 123, 188, 0); } 100% { box-shadow: 0 0 0 0 rgba(8, 123, 188, 0); } }
.hotspot:hover { transform: scale(1.18); background: var(--brand-navy); }

.crop-label {
  display: block;
  font-family: var(--f-mono);
  font-size: 10px;
  color: var(--brand-blue-deep);
  margin: 0 4px 6px;
}
.hotspot-pop {
  position: absolute;
  left: 3.3%;
  width: 83.5%;
  bottom: 4px;
  z-index: 17;
  padding: 13px 18px;
  border-radius: var(--radius);
  background: #FFFFFF;
  border: 1px solid rgba(8, 123, 188, 0.28);
  box-shadow: var(--shadow-3d);
}
.hotspot-pop .mono { color: var(--brand-blue); display: block; margin-bottom: 3px; font-size: 10px; }
.hotspot-pop p { font-size: 13.5px; color: var(--ink-2); line-height: 1.48; }

.deck-pills { display: flex; justify-content: center; gap: 8px; flex-wrap: wrap; width: 83.5%; margin-left: 3.3%; }
.dpill {
  padding: 7px 15px;
  border-radius: 999px;
  border: 1px solid var(--border-soft);
  background: rgba(255, 255, 255, 0.85);
  font-size: 12.5px;
  font-weight: 500;
  color: var(--ink-2);
  cursor: pointer;
  box-shadow: 0 2px 8px rgba(16, 24, 48, 0.05);
  transition: all 0.25s var(--ease);
}
.dpill:hover { border-color: var(--border-crisp); color: var(--ink); background: #FFFFFF; }
.dpill.active {
  background: var(--brand-navy);
  border-color: var(--brand-navy);
  color: #FFFFFF;
}

/* ---------- Separadores Lineales Sutiles ---------- */
.divider { width: 100%; max-width: 1340px; height: 52px; margin: 0 auto; }
.divider svg { width: 100%; height: 100%; overflow: visible; }
.d-base { fill: none; stroke: rgba(16, 22, 44, 0.09); stroke-width: 1.2; vector-effect: non-scaling-stroke; }
.d-glow {
  fill: none;
  stroke: var(--brand-blue);
  stroke-width: 2;
  stroke-linecap: round;
  vector-effect: non-scaling-stroke;
  stroke-dasharray: 55 1000;
  animation: travel 4.8s linear infinite;
}
@keyframes travel { from { stroke-dashoffset: 55; } to { stroke-dashoffset: -1000; } }

/* ---------- ESCENA 02: 3 TARJETAS GIRATORIAS DE IDENTIDAD ---------- */
.triad-interactive {
  display: grid;
  grid-template-columns: 0.92fr 1.08fr;
  gap: 28px;
  align-items: center;
}
.triad-cards { display: grid; gap: 14px; }
.triad-flip { height: 184px; width: 100%; }
.triad-btn.active .flip-front {
  border-color: rgba(8, 123, 188, 0.55);
  box-shadow:
    0 18px 38px -14px rgba(8, 123, 188, 0.20),
    0 4px 12px -2px rgba(16, 24, 48, 0.06),
    inset 3px 0 0 var(--brand-blue);
}
.tb-head { display: flex; justify-content: space-between; align-items: center; gap: 10px; width: 100%; }
.tb-arrow { font-size: 17px; color: var(--brand-blue); font-weight: 600; }
.triad-btn h3 {
  font-family: var(--f-head);
  font-size: 18.5px;
  font-weight: 500;
  letter-spacing: -0.015em;
  color: var(--ink);
}
.triad-btn p { font-size: 13.8px; color: var(--ink-2); line-height: 1.55; }
.tb-purpose { display: block; font-size: 13px; color: var(--ink-2); font-weight: 400; line-height: 1.45; }

/* ---------- ESCENA 03: SIGOP TÁCTICO (5 PREGUNTAS + ABANICO 3D) ---------- */
.didactic-explorer {
  display: grid;
  grid-template-columns: 0.86fr 1.14fr;
  gap: 32px;
  align-items: center;
}
.q-selector { display: grid; gap: 10px; }
.selector-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 2px 2px 4px;
  flex-wrap: wrap;
}
.selector-hint { display: inline-flex; align-items: center; gap: 8px; color: var(--ink-2); }
.pulse.paused { animation: none; background: #94A3B8; box-shadow: none; }
.q-controls { display: inline-flex; align-items: center; gap: 6px; }
.qc-btn {
  height: 30px;
  min-width: 30px;
  padding: 0 10px;
  border-radius: 8px;
  border: 1px solid var(--border-soft);
  background: #FFFFFF;
  font-size: 12px;
  font-weight: 500;
  color: var(--ink);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 6px rgba(16, 24, 48, 0.05);
  transition: all 0.25s var(--ease);
}
.qc-btn:hover { background: var(--pastel-ice); border-color: var(--border-crisp); color: var(--brand-blue-deep); }
.qc-toggle { padding: 0 12px; font-size: 11.5px; }

.q-btn {
  position: relative;
  display: grid;
  grid-template-columns: 16px 32px 1fr auto;
  align-items: center;
  gap: 12px;
  text-align: left;
  padding: 14px 16px 14px 18px;
  background: #FFFFFF;
  border: 1px solid var(--border-soft);
  border-radius: var(--radius);
  box-shadow: var(--shadow-3d);
  cursor: pointer;
  font-size: 14px;
  font-weight: 500;
  color: var(--ink-2);
  overflow: hidden;
  transition: all 0.28s var(--ease);
}
.q-radio {
  width: 15px;
  height: 15px;
  border-radius: 50%;
  border: 1.8px solid #94A3B8;
  display: grid;
  place-items: center;
  transition: all 0.25s var(--ease);
}
.q-radio::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--brand-blue);
  transform: scale(0);
  transition: transform 0.25s var(--ease);
}
.q-idx {
  width: 30px;
  height: 30px;
  border-radius: 8px;
  background: var(--pastel-ice);
  display: grid;
  place-items: center;
  color: var(--brand-blue-deep);
  font-size: 11px;
  flex: none;
  transition: all 0.25s var(--ease);
}
.q-label { line-height: 1.35; }
.q-state {
  font-family: var(--f-mono);
  font-size: 10px;
  padding: 4px 9px;
  border-radius: 999px;
  background: #F1F5F9;
  border: 1px solid rgba(16, 22, 44, 0.08);
  color: var(--muted);
  white-space: nowrap;
}
.q-btn:hover {
  color: var(--ink);
  border-color: var(--border-crisp);
  box-shadow: var(--shadow-3d-hover);
}
.q-btn.active {
  background: #FFFFFF;
  color: var(--ink);
  border-color: rgba(8, 123, 188, 0.55);
  box-shadow: var(--shadow-3d-hover), inset 3px 0 0 var(--brand-blue);
}
.q-btn.active .q-radio { border-color: var(--brand-blue); }
.q-btn.active .q-radio::before { transform: scale(1); }
.q-btn.active .q-idx { background: var(--brand-blue); color: #FFFFFF; }
.q-btn.active .q-state {
  background: var(--pastel-mint);
  border-color: rgba(14, 116, 112, 0.25);
  color: #0F5E5B;
}
.q-progress {
  position: absolute;
  left: 0;
  bottom: 0;
  height: 2.5px;
  width: 100%;
  background: linear-gradient(90deg, #38BDF8, var(--brand-blue));
  transform-origin: left center;
  transform: scaleX(0);
  opacity: 0;
  pointer-events: none;
}
.q-btn.active.auto-running .q-progress {
  opacity: 1;
  animation: qStepFill 2.3s linear forwards;
}
@keyframes qStepFill { from { transform: scaleX(0); } to { transform: scaleX(1); } }

.fan-showcase { display: flex; flex-direction: column; align-items: center; gap: 14px; }
.fan-cards { position: relative; width: 100%; height: 360px; perspective: 1500px; }
.fan-item {
  position: absolute;
  width: 84%;
  left: 8%;
  top: 8px;
  cursor: pointer;
  transition: transform 0.54s var(--ease), opacity 0.54s var(--ease), filter 0.54s var(--ease);
}
.fan-item.active { z-index: 6; opacity: 1; transform: translate3d(0, 8px, 40px) rotateY(0deg); }
.fan-item.next { z-index: 4; opacity: 0.74; filter: brightness(0.96); transform: translate3d(12%, -12px, -70px) rotateZ(3.5deg) rotateY(-11deg) scale(0.92); }
.fan-item.prev { z-index: 3; opacity: 0.64; filter: brightness(0.94); transform: translate3d(-12%, -14px, -90px) rotateZ(-3.5deg) rotateY(11deg) scale(0.91); }

.didactic-answer {
  width: 86.3%;
  margin: 0 auto;
  padding: 16px 20px;
  border-radius: var(--radius);
  background: #FFFFFF;
  border: 1px solid var(--border-soft);
  box-shadow: var(--shadow-3d);
  transition: opacity 0.35s var(--ease), transform 0.35s var(--ease);
}
.didactic-answer.fading { opacity: 0.4; transform: translateY(3px); }
.answer-step { color: var(--brand-blue); display: block; margin-bottom: 3px; font-size: 10px; }
.didactic-answer h4 { font-family: var(--f-head); font-size: 16px; font-weight: 500; color: var(--ink); margin-bottom: 4px; line-height: 1.28; }
.didactic-answer p { font-size: 13.5px; color: var(--ink-2); line-height: 1.5; }

/* ---------- ESCENA 04: SIGOP CAD SIMULADOR 7 ETAPAS ---------- */
.cad-questions-mini {
  padding: 16px 20px;
  border-radius: var(--radius);
  background: #FFFFFF;
}
.cad-questions-mini .mono { color: var(--brand-blue); display: block; margin-bottom: 6px; }
.cad-questions-mini ul { list-style: none; display: grid; gap: 5px; font-size: 13.8px; font-weight: 500; color: var(--ink); }
.cad-questions-mini li::before { content: "• "; color: var(--brand-blue); font-weight: 700; }

.cad-simulator {
  padding: 24px 26px;
  background: rgba(255, 255, 255, 0.86);
}
.sim-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 18px;
}
.sim-header .mono { color: var(--brand-blue); display: block; margin-bottom: 3px; }
.sim-header h3 {
  font-family: var(--f-head);
  font-size: 18.5px;
  font-weight: 500;
  letter-spacing: -0.015em;
  color: var(--ink);
}

.sim-steps {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 8px;
  margin-bottom: 22px;
}
.s-step {
  padding: 11px 10px;
  border-radius: 12px;
  border: 1px solid var(--border-soft);
  background: #FFFFFF;
  box-shadow: 0 4px 12px -4px rgba(16, 24, 48, 0.06);
  cursor: pointer;
  text-align: left;
  transition: all 0.28s var(--ease);
}
.s-step .mono { display: block; color: var(--brand-blue); font-size: 10px; margin-bottom: 3px; }
.s-step strong {
  display: block;
  font-family: var(--f-head);
  font-size: 13.5px;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 1px;
}
.s-step small { font-size: 11.5px; color: var(--muted); }
.s-step:hover { border-color: var(--border-crisp); transform: translateY(-2px); box-shadow: var(--shadow-3d); }
.s-step.done { background: #F3F9FC; border-color: rgba(8, 123, 188, 0.26); }
.s-step.active {
  background: var(--brand-navy);
  border-color: var(--brand-navy);
  box-shadow: 0 12px 24px -8px rgba(16, 22, 44, 0.30);
  transform: translateY(-3px);
}
.s-step.active .mono { color: #7DD3FC; }
.s-step.active strong { color: #FFFFFF; }
.s-step.active small { color: #CBD5E1; }

.sim-stage {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 24px;
  align-items: center;
}
.sim-visuals {
  position: relative;
  min-height: 336px;
  perspective: 1400px;
  padding-bottom: 22px;
}
.sim-main-win {
  width: 88%;
  cursor: pointer;
  transform: rotateY(4deg);
  transition: transform 0.42s var(--ease), opacity 0.32s;
}
.sim-sub-win {
  position: absolute;
  right: 0;
  bottom: 0;
  width: 44%;
  z-index: 5;
  padding: 8px;
  border-radius: 14px;
  background: #FFFFFF;
  border: 1px solid rgba(8, 123, 188, 0.26);
  transform: translateZ(65px) rotateY(-7deg);
  box-shadow: 0 20px 44px -12px rgba(16, 24, 48, 0.24);
  transition: transform 0.42s var(--ease), opacity 0.32s;
}
.sim-sub-win img { border-radius: 9px; }
.sim-visuals.switching .sim-main-win { transform: translateX(-14px) rotateY(9deg) scale(0.97); opacity: 0.68; }
.sim-visuals.switching .sim-sub-win { transform: translateX(12px) translateZ(78px) rotateY(-11deg); opacity: 0.72; }

.sim-explain {
  padding: 22px 24px;
  background: #FFFFFF;
}
.sim-explain h4 {
  font-family: var(--f-head);
  font-size: 19px;
  font-weight: 500;
  letter-spacing: -0.015em;
  color: var(--ink);
  margin: 10px 0 6px;
}
.sim-explain p { font-size: 14px; color: var(--ink-2); margin-bottom: 16px; line-height: 1.55; }
.cad-4-pillars { display: grid; grid-template-columns: 1fr 1fr; gap: 9px; }
.mini-pillar {
  padding: 10px 12px;
  border-radius: 11px;
  background: #F8FAFC;
  border: 1px solid rgba(16, 22, 44, 0.09);
  transition: all 0.25s;
}
.mini-pillar strong { display: block; font-size: 13px; font-weight: 600; color: var(--ink); }
.mini-pillar span { font-size: 11.5px; color: var(--muted); }
.mini-pillar.active {
  background: var(--pastel-ice);
  border-color: rgba(8, 123, 188, 0.42);
}
.mini-pillar.active strong { color: var(--brand-blue-deep); }
.mini-pillar.active span { color: var(--ink); }

/* ---------- CARRUSEL 3D COVERFLOW ---------- */
.coverflow-wrap {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 2px 0 4px;
}
.coverflow-stage {
  position: relative;
  width: 100%;
  height: 392px;
  perspective: 1600px;
  transform-style: preserve-3d;
  display: grid;
  place-items: center;
  overflow: visible;
}
.cf-card {
  position: absolute;
  width: min(670px, 74vw);
  cursor: pointer;
  transform-style: preserve-3d;
  transition: transform 0.56s var(--ease), opacity 0.56s var(--ease), filter 0.56s var(--ease);
}
.cf-nav {
  position: relative;
  z-index: 20;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid var(--border-soft);
  background: #FFFFFF;
  color: var(--ink);
  font-size: 24px;
  cursor: pointer;
  display: grid;
  place-items: center;
  flex: none;
  box-shadow: var(--shadow-3d);
  transition: transform 0.25s var(--ease), background 0.25s, color 0.25s;
}
.cf-nav:hover { transform: scale(1.08); background: var(--brand-navy); color: #FFFFFF; }

/* ---------- ESCENA 05: 4 TARJETAS GIRATORIAS DE INDICADORES + PANELES ---------- */
.backing-grid {
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  gap: 24px;
  align-items: stretch;
}
.metrics-compact { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.metric-flip { height: 178px; }
.m-card .mono { color: var(--muted); font-size: 10px; }
.m-card strong {
  display: block;
  font-family: var(--f-head);
  font-size: 16.5px;
  font-weight: 500;
  letter-spacing: -0.015em;
  color: var(--ink);
  line-height: 1.25;
}
.m-card p { font-size: 13.5px; color: var(--ink-2); line-height: 1.55; }

.perspectives-card {
  padding: 26px 28px;
  background: #FFFFFF;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.tabs {
  position: relative;
  display: flex;
  width: max-content;
  max-width: 100%;
  padding: 4px;
  border-radius: 11px;
  background: #F1F5F9;
  border: 1px solid rgba(16, 22, 44, 0.08);
  box-shadow: none;
  margin-bottom: 22px;
}
.tab {
  position: relative;
  z-index: 2;
  background: none;
  border: 0;
  color: var(--ink-2);
  font-size: 13px;
  font-weight: 500;
  padding: 8px 16px;
  border-radius: 8px;
  cursor: pointer;
  white-space: nowrap;
  transition: color 0.25s;
}
.tab.active { color: #FFFFFF; }
.tab-glider {
  position: absolute;
  z-index: 1;
  top: 4px;
  bottom: 4px;
  left: 4px;
  border-radius: 8px;
  background: var(--brand-navy);
  box-shadow: 0 4px 10px rgba(16, 22, 44, 0.18);
  transition: transform 0.42s var(--ease), width 0.42s var(--ease);
}
.panels { position: relative; min-height: 135px; overflow: hidden; }
.panel {
  position: absolute;
  inset: 0;
  opacity: 0;
  visibility: hidden;
  transform: translate3d(20px, 0, 0);
  transition: opacity 0.42s var(--ease), transform 0.42s var(--ease), visibility 0.42s;
}
.panel.active { position: relative; opacity: 1; visibility: visible; transform: translate3d(0, 0, 0); }
.panel h3 {
  font-family: var(--f-head);
  font-size: 21px;
  font-weight: 500;
  letter-spacing: -0.02em;
  line-height: 1.25;
  color: var(--ink);
  margin-bottom: 8px;
}
.panel p { font-size: 14.5px; color: var(--ink-2); line-height: 1.58; }

/* ---------- ESCENA 06: 4 TARJETAS GIRATORIAS DE IMPLEMENTACIÓN + MODALIDADES ---------- */
.deliver-layout {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 26px;
  align-items: stretch;
}
.deliver-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 15px; }
.deliver-flip { height: 196px; }
.d-num {
  color: var(--brand-blue-deep);
  display: inline-block;
  padding: 3px 9px;
  border-radius: 7px;
  background: #F1F5F9;
  border: 1px solid rgba(16, 22, 44, 0.08);
  font-size: 10.5px;
}
.d-card h3 {
  font-family: var(--f-head);
  font-size: 17px;
  font-weight: 500;
  letter-spacing: -0.015em;
  color: var(--ink);
  line-height: 1.25;
}
.d-card p { font-size: 13.2px; color: var(--ink-2); line-height: 1.52; }

.license-interactive {
  padding: 26px 28px;
  background: #FFFFFF;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.lic-switch {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5px;
  padding: 4px;
  border-radius: 11px;
  background: #F1F5F9;
  border: 1px solid rgba(16, 22, 44, 0.08);
  margin-bottom: 20px;
}
.lic-btn {
  padding: 9px 14px;
  border-radius: 8px;
  border: 0;
  background: transparent;
  font-weight: 500;
  font-size: 13px;
  color: var(--ink-2);
  cursor: pointer;
  transition: all 0.25s var(--ease);
}
.lic-btn.active {
  background: var(--brand-navy);
  color: #FFFFFF;
  box-shadow: 0 4px 10px rgba(16, 22, 44, 0.16);
}
.lic-body { display: none; animation: fadeSlide 0.38s var(--ease); }
.lic-body.active { display: block; }
@keyframes fadeSlide { from { opacity: 0; transform: translateX(10px); } to { opacity: 1; transform: none; } }
.lic-body h3 {
  font-family: var(--f-head);
  font-size: 22px;
  font-weight: 500;
  letter-spacing: -0.02em;
  color: var(--ink);
  margin: 10px 0 6px;
}
.lic-body p { font-size: 14px; color: var(--ink-2); margin-bottom: 14px; line-height: 1.55; }
.lic-body ul { list-style: none; display: grid; gap: 8px; margin-bottom: 22px; }
.lic-body li { position: relative; padding-left: 22px; font-size: 13.8px; color: var(--ink); }
.lic-body li::before { content: "✓"; position: absolute; left: 0; top: 0; color: var(--brand-blue); font-weight: 700; }

.cta-dual { display: grid; gap: 10px; }

/* ---------- Pie de Página Panorámico KEDEM | SiGOP Armonizado ---------- */
.footer-banner-wrap {
  position: relative;
  width: 100%;
  margin-top: 18px;
  overflow: hidden;
}
.footer-top-blend { display: none; }
.footer-banner {
  width: 100%;
  margin: 0;
  -webkit-mask-image: linear-gradient(180deg, transparent 0%, #000 20%, #000 100%);
  mask-image: linear-gradient(180deg, transparent 0%, #000 20%, #000 100%);
}
.footer-banner img {
  display: block;
  width: 100%;
  height: auto;
  max-height: 235px;
  object-fit: cover;
  object-position: center center;
}
.footer-bottom-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  padding: 13px 285px 15px max(22px, 4.5vw);
  background: var(--brand-navy);
  color: #CBD5E1;
  font-size: 12.8px;
}
.footer-contacts { display: inline-flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.footer-contacts a,
.link-btn {
  background: none;
  border: 0;
  padding: 0;
  color: #F8FAFC;
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
  transition: color 0.25s;
}
.footer-contacts a:hover,
.link-btn:hover { color: #7DD3FC; text-decoration: underline; }

/* ---------- Modal de Correo Privado y Lightbox en Estética Clara ---------- */
.mail-modal {
  position: fixed;
  inset: 0;
  z-index: 130;
  display: grid;
  place-items: center;
  padding: 22px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s var(--ease), visibility 0.3s;
}
.mail-modal.open { opacity: 1; visibility: visible; }
.mm-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(16, 22, 44, 0.45);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}
.mm-window {
  position: relative;
  z-index: 2;
  width: min(550px, 95vw);
  padding: 26px 28px;
  border-radius: 16px;
  background: #FFFFFF;
  border: 1px solid rgba(16, 22, 44, 0.14);
  box-shadow: 0 28px 60px -15px rgba(16, 22, 44, 0.28);
}
.mm-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 14px; margin-bottom: 18px; }
.mm-kicker { color: var(--brand-blue); display: block; font-size: 10.5px; margin-bottom: 3px; }
.mm-head h3 { font-family: var(--f-head); font-size: 19px; font-weight: 500; color: var(--ink-2); }
.mm-head h3 strong { color: var(--ink); font-weight: 600; }
.mm-form { display: grid; gap: 13px; }
.mm-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.mm-form label { display: grid; gap: 5px; font-size: 12.8px; font-weight: 500; color: var(--ink); }
.mm-form input,
.mm-form textarea {
  width: 100%;
  padding: 10px 13px;
  border-radius: 9px;
  border: 1px solid rgba(16, 22, 44, 0.16);
  background: #F8FAFC;
  color: var(--ink);
  font-family: var(--f-body);
  font-size: 14px;
  outline: none;
  transition: border-color 0.22s, box-shadow 0.22s, background 0.22s;
}
.mm-form input::placeholder,
.mm-form textarea::placeholder { color: #94A3B8; }
.mm-form input:focus,
.mm-form textarea:focus {
  background: #FFFFFF;
  border-color: var(--brand-blue);
  box-shadow: 0 0 0 3px rgba(8, 123, 188, 0.15);
}
.mm-actions { margin-top: 4px; }
.mm-status { font-size: 13px; line-height: 1.45; color: var(--ink-2); min-height: 18px; text-align: center; }
.mm-status.ok { color: #15803D; font-weight: 500; }
.mm-status.err { color: #B45309; font-weight: 500; }

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 120;
  display: grid;
  place-items: center;
  padding: 24px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s var(--ease), visibility 0.3s;
}
.lightbox.open { opacity: 1; visibility: visible; }
.lb-backdrop { position: absolute; inset: 0; background: rgba(16, 22, 44, 0.55); backdrop-filter: blur(12px); }
.lb-window {
  position: relative;
  z-index: 2;
  width: min(1160px, 95vw);
  padding: 15px;
  border-radius: 16px;
  background: #FFFFFF;
  border: 1px solid rgba(16, 22, 44, 0.14);
  box-shadow: 0 28px 64px -16px rgba(16, 22, 44, 0.32);
}
.lb-bar { display: flex; justify-content: space-between; align-items: center; padding: 2px 8px 11px; font-weight: 500; color: var(--ink); }
.lb-close {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  border: 1px solid var(--border-soft);
  background: #F1F5F9;
  color: var(--ink);
  cursor: pointer;
  font-size: 14px;
}
.lb-close:hover { background: #E2E8F0; }
.lb-img-box { max-height: 80vh; overflow: auto; border-radius: 11px; border: 1px solid rgba(16, 22, 44, 0.08); }
.lb-img-box img { width: 100%; border-radius: 11px; }

/* Controles prácticos exclusivos de móvil (ocultos en escritorio) */
.q-mobile-pills,
.m-chapter-bar,
.m-scene-pager { display: none; }

/* ---------- Responsive (Tablet + Versión Práctica por Pantallas para Teléfono) ---------- */
@media (max-width: 1120px) {
  .scene-top-row, .triad-interactive, .didactic-explorer, .sim-stage, .backing-grid, .deliver-layout {
    grid-template-columns: minmax(0, 1fr);
  }
  .sim-steps { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .transposed-deck { height: 420px; }
}

@media (max-width: 768px) {
  html, body { width: 100%; max-width: 100%; overflow-x: clip; }
  body { font-size: 14px; line-height: 1.48; }
  #stageWrapper, .intro-scroll-stage, .scene, .scene > *, .didactic-explorer > *, .triad-interactive > *, .sim-stage > *, .backing-grid > *, .deliver-layout > *, .cad-simulator {
    min-width: 0;
    max-width: 100%;
  }

  .nav.glass-bar { height: 50px; }
  .nav-inner { padding: 0 10px; gap: 6px; }
  .nav-kedem-logo { height: 26px; }
  .nav-cta { gap: 5px; }
  .nav-cta .btn { height: 31px; padding: 0 10px; font-size: 11px; gap: 4px; border-radius: 8px; }
  .wa-ico { width: 13.5px; height: 13.5px; }

  /* Cortina inicial luminosa adaptada a formato vertical de teléfono */
  .cinematic-curtain {
    top: 50px;
    z-index: 58;
    pointer-events: auto;
    touch-action: pan-y;
  }
  .cinematic-curtain.opening-pass,
  .cinematic-curtain.opened {
    pointer-events: none;
  }
  .curtain-intact,
  .cq-lin .cq-art {
    background:
      linear-gradient(180deg, #B8D7E4 0%, #C4DCE7 33%, rgba(196, 220, 231, 0) 41%, rgba(206, 216, 234, 0) 54%, #CCD6E8 62%, #C3CFE4 100%),
      url("assets/brand/sigop-cabecera-hero-light.webp?v=20261128c") 50% 47% / 145% auto no-repeat,
      linear-gradient(180deg, #B8D7E4 0%, #C9D8E8 52%, #C3CFE4 100%);
  }
  .fx-diamond { width: 118px; height: 118px; }
  .fx-ray { width: 230px; }
  .curtain-cue { bottom: 34px; }

  /* Barra adherida de 6 capítulos prácticos bajo el menú superior */
  .m-chapter-bar {
    position: sticky;
    top: 50px;
    z-index: 48;
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 7px 10px;
    margin-top: 50px;
    overflow-x: auto;
    scrollbar-width: none;
    background: rgba(248, 250, 252, 0.94);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid rgba(16, 22, 44, 0.09);
    box-shadow: 0 4px 14px -6px rgba(16, 24, 48, 0.08);
  }
  .m-chapter-bar::-webkit-scrollbar { display: none; }
  .m-chap {
    flex: 0 0 auto;
    height: 30px;
    padding: 0 11px;
    border-radius: 8px;
    border: 1px solid rgba(16, 22, 44, 0.11);
    background: #FFFFFF;
    color: var(--ink-2);
    font-size: 11.5px;
    font-weight: 500;
    white-space: nowrap;
    cursor: pointer;
    transition: all 0.2s var(--ease);
  }
  .m-chap.active {
    background: var(--brand-navy);
    border-color: var(--brand-navy);
    color: #FFFFFF;
    font-weight: 600;
  }

  .scene-hud { display: none !important; }
  .divider { display: none !important; }
  .intro-scroll-stage { height: auto !important; }
  .intro-pin { position: relative; min-height: auto; }
  .hero-cabecera-banner { margin-top: 0; }
  .hero-cabecera-banner img { max-height: 16svh; }

  body.m-deck-ready .intro-scroll-stage.m-hidden { display: none !important; }
  body.m-deck-ready .scene:not(.m-active-scene) { display: none !important; }
  body.m-deck-ready .scene.m-active-scene [data-enter] {
    opacity: 1 !important;
    transform: none !important;
  }

  .scene {
    min-height: auto;
    padding: 16px 14px 14px;
    gap: 12px;
    scroll-margin-top: 96px;
  }
  #escena-1.hero-showcase { padding: 8px 14px 14px; gap: 12px; }

  .scene-top-row { gap: 8px; margin-bottom: 8px; }
  .lead-with-logo { gap: 8px; }
  .eyebrow { font-size: 9.5px; margin-bottom: 4px; }
  .creator-line { gap: 8px; }
  .creator-line .mono { font-size: 9.5px; }
  .creator-line span { width: 22px; }
  .hero-main-title { font-size: 21px; line-height: 1.16; }
  .h2 { font-size: 19.5px; line-height: 1.18; }
  .hero-tagline { font-size: 13px; }
  .hero-tagline-sub { font-size: 12.3px; }
  .sigop-logo-centered { height: 40px; }
  .sigop-mini-mark { height: 25px; }
  .top-lead { font-size: 13px; line-height: 1.46; }

  /* Escena 1: Carrusel */
  .coverflow-wrap { overflow: hidden; width: 100%; position: relative; }
  .coverflow-stage { height: 196px; overflow: hidden; width: 100%; }
  .cf-card { width: 84%; }
  .cf-nav { width: 32px; height: 32px; font-size: 18px; position: absolute; top: 50%; transform: translateY(-50%); z-index: 20; }
  .cf-nav.prev { left: 4px; }
  .cf-nav.next { right: 4px; }
  .glass-bezel { padding: 6px 6px 8px; border-radius: 13px; }
  .bezel-bar { padding: 2px 4px 5px; gap: 6px; }
  .bezel-tag { font-size: 10.2px; }
  .zoom-trigger { width: 23px; height: 23px; font-size: 11px; flex: none; }

  /* Tarjetas 3D en móvil (giro al tocar) */
  .flip-face { padding: 14px 14px; border-radius: 12px; }
  .flip-icon { width: 34px; height: 34px; border-radius: 8px; }
  .flip-icon svg { width: 17px; height: 17px; }
  .flip-cue { font-size: 10.5px; }

  /* Escena 2 */
  .triad-interactive { gap: 10px; }
  .triad-cards {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    gap: 10px;
    padding: 2px 2px 8px;
    margin: 0;
    scrollbar-width: none;
  }
  .triad-cards::-webkit-scrollbar { display: none; }
  .triad-flip {
    flex: 0 0 85%;
    height: 172px;
    scroll-snap-align: start;
  }
  .tag-chip { padding: 3px 8px; font-size: 9px; }
  .triad-btn h3 { font-size: 16px; }
  .triad-btn p { font-size: 12.2px; line-height: 1.42; }
  .tb-purpose { font-size: 11.8px; line-height: 1.35; }
  .hero-deck-wrap { gap: 8px; }
  .deck-hint { font-size: 9.8px; padding: 5px 10px; width: 100%; }
  .deck-hint .mono { font-size: 9.5px; }
  .transposed-deck { height: auto; display: flex; flex-direction: column; gap: 8px; perspective: none; }
  .t-layer { position: relative; width: 100%; left: 0; top: 0; display: none; transform: none !important; }
  .t-layer.pos-0 { display: block; }
  .hotspot-pop { position: static; width: 100%; margin: 0; padding: 10px 12px; border-radius: 12px; }
  .hotspot-pop .mono { font-size: 9.5px; }
  .hotspot-pop p { font-size: 12px; line-height: 1.38; }
  .deck-pills {
    display: grid;
    grid-template-columns: 1fr 1fr;
    width: 100%;
    margin-left: 0;
    gap: 6px;
  }
  .dpill { padding: 7px 8px; font-size: 11.5px; text-align: center; justify-content: center; border-radius: 9px; }

  /* Escena 3 */
  .didactic-explorer { gap: 10px; }
  .q-selector { gap: 7px; }
  .selector-toolbar { padding: 0; gap: 6px; }
  .selector-hint .mono { font-size: 10px; }
  .qc-btn { height: 28px; padding: 0 9px; font-size: 11px; }
  .q-mobile-pills {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 5px;
  }
  .q-mpill {
    height: 30px;
    border-radius: 8px;
    border: 1px solid var(--border-soft);
    background: #FFFFFF;
    font-family: var(--f-mono);
    font-size: 11px;
    font-weight: 600;
    color: var(--ink-2);
    cursor: pointer;
  }
  .q-mpill.active {
    background: var(--brand-navy);
    border-color: var(--brand-navy);
    color: #FFFFFF;
  }
  .q-btn:not(.active) { display: none; }
  .q-btn.active {
    grid-template-columns: 28px 1fr;
    padding: 10px 12px;
    font-size: 13px;
    gap: 9px;
  }
  .q-btn .q-radio, .q-btn .q-state { display: none; }
  .fan-showcase { gap: 8px; }
  .fan-cards { height: auto; perspective: none; }
  .fan-item { position: relative; width: 100%; left: 0; top: 0; display: none; transform: none !important; }
  .fan-item.active { display: block; }
  .didactic-answer { width: 100%; padding: 11px 13px; border-radius: 12px; }
  .didactic-answer h4 { font-size: 14.5px; margin-bottom: 3px; }
  .didactic-answer p { font-size: 12.2px; line-height: 1.4; }

  /* Escena 4 */
  .cad-questions-mini { padding: 10px 12px; border-radius: 12px; }
  .cad-questions-mini .mono { font-size: 9.5px; margin-bottom: 4px; }
  .cad-questions-mini ul { font-size: 12px; gap: 2px; }
  .cad-simulator { padding: 13px 12px; border-radius: 14px; }
  .sim-header { gap: 8px; margin-bottom: 10px; }
  .sim-header .mono { font-size: 9.5px; }
  .sim-header h3 { font-size: 14px; line-height: 1.25; }
  #playCadSim { padding: 7px 12px; font-size: 11px; flex: none; }
  .sim-steps {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    gap: 7px;
    margin-bottom: 10px;
    padding-bottom: 3px;
    scrollbar-width: none;
  }
  .sim-steps::-webkit-scrollbar { display: none; }
  .s-step {
    flex: 0 0 112px;
    scroll-snap-align: center;
    padding: 8px 9px;
    border-radius: 10px;
    transform: none !important;
  }
  .s-step .mono { font-size: 9.5px; }
  .s-step strong { font-size: 12px; }
  .s-step small { font-size: 10px; }
  .sim-stage { gap: 10px; }
  .sim-visuals { min-height: auto; padding-bottom: 0; perspective: none; }
  .sim-main-win { width: 100%; transform: none !important; }
  .sim-sub-win { display: none; }
  .sim-explain { padding: 12px 13px; border-radius: 12px; }
  .sim-explain h4 { font-size: 15px; margin: 6px 0 4px; }
  .sim-explain p { font-size: 12.2px; margin-bottom: 9px; }
  .cad-4-pillars { gap: 6px; }
  .mini-pillar { padding: 7px 9px; border-radius: 9px; }
  .mini-pillar strong { font-size: 11.5px; }
  .mini-pillar span { font-size: 10px; }

  /* Escena 5 y 6 */
  .backing-grid, .deliver-layout { gap: 10px; }
  .metrics-compact, .deliver-cards {
    grid-template-columns: 1fr 1fr;
    gap: 8px;
  }
  .metric-flip { height: 154px; }
  .deliver-flip { height: 164px; }
  .m-card .mono { font-size: 8.8px; }
  .m-card strong, .d-card h3 { font-size: 13px; line-height: 1.22; }
  .m-card p, .d-card p { font-size: 11.2px; line-height: 1.34; }
  .d-num { padding: 2px 7px; font-size: 9.5px; }

  .perspectives-card { padding: 14px 12px; border-radius: 14px; }
  .tabs {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    width: 100%;
    padding: 4px;
    gap: 4px;
    border-radius: 10px;
    margin-bottom: 11px;
    overflow: hidden;
  }
  .tab {
    padding: 6px 4px;
    font-size: 10.6px;
    line-height: 1.18;
    text-align: center;
    white-space: normal;
    border-radius: 7px;
    display: grid;
    place-items: center;
  }
  .tab-glider { display: none; }
  .tab.active {
    background: var(--brand-navy);
    color: #FFFFFF;
  }
  .panels { min-height: 104px; }
  .panel h3 { font-size: 15px; margin-bottom: 5px; line-height: 1.24; }
  .panel p { font-size: 12.2px; line-height: 1.4; }

  .license-interactive { padding: 15px 13px; border-radius: 14px; }
  .lic-switch { margin-bottom: 10px; }
  .lic-btn { padding: 7px 10px; font-size: 12px; }
  .lic-body h3 { font-size: 17.5px; margin: 6px 0 4px; }
  .lic-body p { font-size: 12.3px; margin-bottom: 9px; }
  .lic-body ul { gap: 5px; margin-bottom: 12px; }
  .lic-body li { font-size: 12px; line-height: 1.35; }
  .cta-dual { gap: 8px; }
  .btn.full { padding: 11px 14px; font-size: 12.5px; }

  .m-scene-pager {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    margin: 4px 14px 16px;
    padding: 7px 10px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.92);
  }
  .m-pg-btn {
    height: 33px;
    padding: 0 13px;
    border-radius: 8px;
    border: 1px solid var(--border-soft);
    background: #F8FAFC;
    color: var(--ink);
    font-size: 12px;
    font-weight: 500;
    cursor: pointer;
    white-space: nowrap;
  }
  .m-pg-btn.m-pg-next {
    background: var(--brand-navy);
    color: #FFFFFF;
    border-color: var(--brand-navy);
  }
  .m-pg-status { font-size: 10.5px; color: var(--ink-2); text-align: center; }

  .footer-top-blend { height: 14px; }
  .footer-banner img { max-height: 105px; }
  .footer-bottom-bar {
    padding: 10px 14px 16px;
    font-size: 11px;
    justify-content: center;
    text-align: center;
    gap: 5px;
  }
  .mm-row { grid-template-columns: 1fr; }
  .mm-window { padding: 18px 15px; }
}

/* Animaciones multi-direccionales aceleradas por GPU */
[data-enter] {
  opacity: 0;
  transition: opacity 0.78s var(--ease), transform 0.85s var(--ease);
  will-change: opacity, transform;
}
[data-enter="left"] { transform: translate3d(-32px, 0, 0); }
[data-enter="right"] { transform: translate3d(32px, 0, 0); }
[data-enter="scale"] { transform: scale(0.96) translate3d(0, 16px, 0); }
[data-enter].in-view, .hero-showcase [data-enter] {
  opacity: 1;
  transform: translate3d(0, 0, 0) scale(1);
}

/* ---------- Línea de Progreso Integrada en el Borde Inferior del Menú ---------- */
.scroll-beam {
  position: absolute;
  bottom: -1px;
  left: 0;
  height: 2px;
  width: 100%;
  z-index: 90;
  pointer-events: none;
  transform-origin: left center;
  transform: scaleX(var(--scroll-p, 0));
  background: linear-gradient(90deg, #38BDF8, var(--brand-blue), var(--brand-navy));
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  [data-enter] { opacity: 1 !important; transform: none !important; }
  .cinematic-curtain { display: none !important; }
}
