/* Power It Up — subpáginas de cada sistema (2026-11). Se carga DESPUÉS de home.css y reutiliza sus colores,
   letras, botones, cabecera, pie y preguntas. Aquí solo lo propio: migas, portada corta, cifras, pasos, caso, tabla. */
.sis-hero { position: relative; overflow: hidden; padding: 112px 0 72px;
  background: radial-gradient(42% 55% at 95% 10%, rgba(249,115,22,.15), transparent 70%), radial-gradient(40% 55% at 0% 100%, rgba(124,58,237,.12), transparent 70%), var(--bg); }
.migas { font-size: .9rem; color: var(--ink-2); margin-bottom: 18px; }
.migas a { color: var(--violet-d); text-decoration: none; font-weight: 600; }
.migas a:hover { text-decoration: underline; }
.migas span { margin: 0 6px; opacity: .5; }
.sis-hero .hero-in { grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); }
.sis-hero h1 { font-size: clamp(2rem, 4.4vw, 3.3rem); line-height: 1.08; font-weight: 800; }
.respuesta { margin-top: 20px; font-size: 1.12rem; color: var(--ink-2); max-width: 58ch; }
.datos { list-style: none; display: flex; flex-wrap: wrap; gap: 10px; margin-top: 26px; }
.datos li { font-size: .9rem; font-weight: 600; padding: 7px 12px; border-radius: 10px; background: var(--white); border: 2px solid var(--ink); }
.datos b { font-family: var(--display); font-weight: 800; margin-right: 4px; }
.datos li:nth-child(1) { background: var(--orange-l); transform: rotate(-1.5deg); }
.datos li:nth-child(2) { background: var(--violet-l); transform: rotate(1deg); }
.datos li:nth-child(3) { background: #fff3b8; transform: rotate(-.5deg); }
.sis-hero .feed-phone { max-width: 360px; }

/* El problema en cifras */
.cifras { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 18px; }
.cifra { background: var(--white); border-radius: var(--r); padding: 26px 24px; border: 2px solid var(--ink); box-shadow: 8px 8px 0 var(--violet-l); display: flex; flex-direction: column; }
.cifra:nth-child(even) { box-shadow: 8px 8px 0 var(--orange-l); }
.cifra .n { font-family: var(--display); font-weight: 800; font-size: clamp(2rem, 3.4vw, 2.7rem); white-space: nowrap; line-height: 1; letter-spacing: -.03em; color: var(--violet-d); }
.cifra:nth-child(even) .n { color: var(--orange-d); }
.cifra p { margin-top: 12px; font-weight: 600; }
.cifra cite { display: block; margin-top: auto; padding-top: 16px; font-style: normal; font-size: .82rem; color: var(--ink-2); }
.cifra cite a { color: inherit; }
.nota-fuentes { margin-top: 20px; font-size: .88rem; color: var(--ink-2); max-width: 70ch; }

/* Cómo funciona: pasos numerados (es una secuencia) */
.flujo { list-style: none; display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 16px; counter-reset: f; }
.flujo li { counter-increment: f; background: var(--white); border-radius: var(--r); padding: 22px; position: relative; }
.flujo li::before { content: counter(f); display: grid; place-items: center; width: 40px; height: 40px; border-radius: 12px; background: var(--violet); color: #fff; font-family: var(--display); font-weight: 800; margin-bottom: 14px; }
.flujo li:last-child::before { background: var(--orange); }
.flujo p { margin-top: 6px; color: var(--ink-2); font-size: .97rem; }
.clave { margin-top: 24px; padding: 18px 20px; border-radius: 14px; background: var(--white); border-left: 6px solid var(--orange); max-width: 80ch; }
.clave b { display: block; margin-bottom: 4px; }
.clave p { color: var(--ink-2); }

/* Qué incluye */
.incluye { list-style: none; display: grid; grid-template-columns: 1fr 1fr; gap: 12px 32px; }
.incluye li { position: relative; padding-left: 28px; color: var(--ink-2); }
.incluye li b { color: var(--ink); }
.incluye li::before { content: ''; position: absolute; left: 0; top: .5em; width: 14px; height: 9px; border-bottom: 3px solid var(--orange); border-right: 3px solid var(--orange); transform: skewX(-20deg) rotate(-25deg); border-radius: 0 0 3px 0; }
@media (max-width: 760px) { .incluye { grid-template-columns: 1fr; } }

/* Caso práctico */
.caso { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 40px; align-items: center; padding: 34px; border-radius: 24px; background: var(--white); border: 2px solid var(--ink); box-shadow: 10px 10px 0 var(--orange); }
.caso-et { display: inline-block; font-size: .85rem; font-weight: 700; padding: 3px 10px; border-radius: 8px; background: #fff3b8; margin-bottom: 12px; }
.caso h2 { font-size: clamp(1.4rem, 3vw, 2rem); }
.caso p { margin-top: 12px; color: var(--ink-2); }
.linea { list-style: none; display: grid; gap: 12px; }
.linea li { display: grid; grid-template-columns: minmax(64px, auto) 1fr; gap: 12px; align-items: start; }
.linea time { font-family: var(--display); font-weight: 700; font-size: .9rem; padding: 6px 10px; text-align: center; border-radius: 10px; background: var(--violet-l); color: var(--violet-d); }
.linea li:nth-child(even) time { background: var(--orange-l); color: var(--orange-d); }
.linea span { padding-top: 5px; }
@media (max-width: 860px) { .caso { grid-template-columns: 1fr; padding: 24px 20px; box-shadow: 6px 6px 0 var(--orange); } }

/* Tabla comparativa */
.tabla-wrap { overflow-x: auto; border-radius: 18px; border: 2px solid var(--ink); background: var(--white); }
.tabla { width: 100%; border-collapse: collapse; min-width: 640px; font-size: .95rem; }
.tabla th, .tabla td { padding: 14px 16px; text-align: left; border-bottom: 1px solid var(--line); vertical-align: top; }
.tabla thead th { font-family: var(--display); font-weight: 700; font-size: .9rem; background: var(--tint); }
.tabla tbody th { font-weight: 600; color: var(--ink-2); }
.tabla td:nth-child(2), .tabla thead th:nth-child(2) { background: var(--tint-o); font-weight: 700; }
.tabla tr:last-child th, .tabla tr:last-child td { border-bottom: 0; }

/* Llamada final y otros sistemas */
.cta-final { display: grid; grid-template-columns: minmax(0, 1.2fr) auto; gap: 24px 40px; align-items: center; padding: 36px; border-radius: 24px; background: var(--white); border: 2px solid var(--ink); box-shadow: 10px 10px 0 var(--violet); }
.cta-final p { margin-top: 10px; color: var(--ink-2); }
.cta-final .hero-cta { margin-top: 0; }
@media (max-width: 860px) { .cta-final { grid-template-columns: 1fr; padding: 26px 20px; box-shadow: 6px 6px 0 var(--violet); } }
.otros { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 12px; margin-top: 28px; }
.otros a { display: block; padding: 18px; border-radius: 14px; background: var(--white); border: 2px solid var(--line); text-decoration: none; font-weight: 700; transition: border-color .2s, transform .2s; }
.otros a small { display: block; font-weight: 500; color: var(--ink-2); margin-top: 4px; }
.otros a:hover { border-color: var(--ink); transform: translateY(-3px); }
@media (max-width: 900px) { .sis-hero .hero-in { grid-template-columns: 1fr; } .sis-hero { padding-top: 100px; } }
@media (hover: hover) { .cifra, .flujo li { transition: transform .25s var(--ease), box-shadow .25s var(--ease); }
  .cifra:hover { transform: translate(-3px, -3px); box-shadow: 11px 11px 0 var(--violet); } .cifra:nth-child(even):hover { box-shadow: 11px 11px 0 var(--orange); }
  .flujo li:hover { transform: translateY(-4px); } }
