/* Sistemas Benji · landing
   Tokens de color: claro por defecto, oscuro con prefers-color-scheme o el botón del encabezado. */

:root {
  --bg: #f5f5fc;
  --bg-2: #ecedfa;
  --surface: #ffffff;
  --surface-2: #f3f3fd;
  --borde: #dfe0f3;
  --texto: #15133b;
  --texto-2: #464a6b;
  --marca: #3b34c9;
  --marca-fuerte: #2a2496;
  --marca-suave: #e6e5ff;
  --acento: #ff7a1a;
  --acento-texto: #b34a00;
  --wa: #0d7a43;
  --wa-hover: #0a6638;
  --ok: #15803d;
  --ok-bg: #dcf5e4;
  --aviso: #92400e;
  --aviso-bg: #fdf0d5;
  --mal: #b91c1c;
  --mal-bg: #fde3e3;
  --sombra-color: 59 52 201;
  --sombra-s: 0 1px 2px rgb(var(--sombra-color) / .06), 0 4px 14px rgb(var(--sombra-color) / .08);
  --sombra-m: 0 2px 6px rgb(var(--sombra-color) / .07), 0 18px 40px -12px rgb(var(--sombra-color) / .22);
  --sombra-l: 0 4px 10px rgb(var(--sombra-color) / .08), 0 40px 80px -24px rgb(var(--sombra-color) / .35);
  --ruido: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='160' height='160'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 0.2  0 0 0 0 0.2  0 0 0 0 0.5  0 0 0 .05 0'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
  --radio: 18px;
  --radio-l: 28px;
  --ancho: 1180px;
  color-scheme: light;
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #0b0a1d;
    --bg-2: #110f2b;
    --surface: #17153a;
    --surface-2: #1d1b46;
    --borde: #2c2a5e;
    --texto: #eeedff;
    --texto-2: #b0b2d6;
    --marca: #9690ff;
    --marca-fuerte: #b8b4ff;
    --marca-suave: #25226a;
    --acento: #ff8f3f;
    --acento-texto: #ffaa6b;
    --ok: #4ade80;
    --ok-bg: #12351f;
    --aviso: #fbbf24;
    --aviso-bg: #3a2a0a;
    --mal: #f87171;
    --mal-bg: #3d1414;
    --sombra-color: 0 0 0;
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --bg: #0b0a1d;
  --bg-2: #110f2b;
  --surface: #17153a;
  --surface-2: #1d1b46;
  --borde: #2c2a5e;
  --texto: #eeedff;
  --texto-2: #b0b2d6;
  --marca: #9690ff;
  --marca-fuerte: #b8b4ff;
  --marca-suave: #25226a;
  --acento: #ff8f3f;
  --acento-texto: #ffaa6b;
  --ok: #4ade80;
  --ok-bg: #12351f;
  --aviso: #fbbf24;
  --aviso-bg: #3a2a0a;
  --mal: #f87171;
  --mal-bg: #3d1414;
  --sombra-color: 0 0 0;
  color-scheme: dark;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  font-size: 17px;
  line-height: 1.6;
  color: var(--texto);
  background-color: var(--bg);
  background-image: var(--ruido);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--marca); }
h1, h2, h3 { line-height: 1.15; letter-spacing: -.02em; margin: 0; }
p { margin: 0; }
:focus-visible { outline: 3px solid var(--acento); outline-offset: 3px; border-radius: 6px; }
.contenedor { width: 100%; max-width: var(--ancho); margin-inline: auto; padding-inline: 20px; }
.contenedor--angosto { max-width: 820px; }
.saltar { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--marca-fuerte); color: #fff; padding: 10px 16px; border-radius: 10px; }
.saltar:focus { top: 12px; }
:root[data-theme="dark"] .saltar { color: #0b0a1d; }

svg { flex-shrink: 0; }
.ico-check, .ico-flecha, .ico, .problema__ico svg, .razon__ico svg, .medida__lista svg, .flotante__ico svg, .mq-alerta svg {
  fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round;
}
.ico-wa { width: 1.25em; height: 1.25em; }

/* ---------- Botones ---------- */
.boton {
  display: inline-flex; align-items: center; justify-content: center; gap: .55em;
  font: inherit; font-weight: 700; font-size: 16px; line-height: 1.2;
  padding: 13px 20px; border-radius: 14px; border: 0; cursor: pointer;
  text-decoration: none; transition: transform .18s ease, box-shadow .18s ease, background-color .18s ease;
}
.boton:hover { transform: translateY(-2px); }
.boton--wa { background: var(--wa); color: #fff; box-shadow: 0 10px 24px -10px rgb(13 122 67 / .7), inset 0 1px 0 rgb(255 255 255 / .18); }
.boton--wa:hover { background: var(--wa-hover); }
.boton--fantasma { background: var(--surface); color: var(--texto); box-shadow: var(--sombra-s); border: 1px solid var(--borde); }
.boton--blanco { background: #fff; color: #1f1a8a; box-shadow: 0 14px 30px -12px rgb(0 0 0 / .45); }
.boton--link { background: transparent; color: var(--marca); padding-inline: 8px; }
.boton--link .ico-flecha { width: 18px; height: 18px; transition: transform .18s; }
.boton--link:hover .ico-flecha { transform: translateX(4px); }
.boton--grande { font-size: 17px; padding: 16px 26px; border-radius: 16px; }
.boton--chico { font-size: 15px; padding: 10px 16px; border-radius: 12px; }

/* ---------- Cabecera ---------- */
.cabecera {
  position: sticky; top: 0; z-index: 50;
  background: color-mix(in srgb, var(--bg) 82%, transparent);
  backdrop-filter: saturate(1.4) blur(14px); -webkit-backdrop-filter: saturate(1.4) blur(14px);
  border-bottom: 1px solid transparent; transition: border-color .2s, box-shadow .2s;
}
.cabecera.con-sombra { border-bottom-color: var(--borde); box-shadow: 0 8px 24px -18px rgb(var(--sombra-color) / .5); }
.cabecera__fila { display: flex; align-items: center; gap: 20px; height: 70px; }
.marca { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--texto); }
.marca__iso { width: 40px; height: 40px; filter: drop-shadow(0 6px 10px rgb(59 52 201 / .35)); }
.marca__texto { font-size: 19px; letter-spacing: -.02em; white-space: nowrap; }
.marca__sistemas { font-weight: 500; color: var(--texto-2); }
.marca__benji { font-weight: 800; color: var(--texto); }
.nav { display: flex; gap: 6px; margin-left: auto; }
.nav a { color: var(--texto-2); text-decoration: none; font-weight: 600; font-size: 15px; padding: 8px 12px; border-radius: 10px; }
.nav a:hover { color: var(--texto); background: var(--marca-suave); }
.cabecera__acciones { display: flex; align-items: center; gap: 10px; }
.tema {
  width: 42px; height: 42px; border-radius: 12px; border: 1px solid var(--borde); background: var(--surface);
  color: var(--texto); display: grid; place-items: center; cursor: pointer;
}
.tema .ico { width: 20px; height: 20px; }
.tema .ico--luna { display: none; }
:root[data-theme="dark"] .tema .ico--sol { display: none; }
:root[data-theme="dark"] .tema .ico--luna { display: block; }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .tema .ico--sol { display: none; }
  :root:not([data-theme="light"]) .tema .ico--luna { display: block; }
}
.hamburguesa { display: none; width: 42px; height: 42px; border-radius: 12px; border: 1px solid var(--borde); background: var(--surface); cursor: pointer; padding: 0; place-content: center; gap: 4px; }
.hamburguesa span { display: block; width: 18px; height: 2px; background: var(--texto); border-radius: 2px; transition: transform .2s, opacity .2s; }
.hamburguesa[aria-expanded="true"] span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.hamburguesa[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.hamburguesa[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero { position: relative; padding: 56px 0 88px; overflow: hidden; isolation: isolate; }
.hero__fondo {
  position: absolute; inset: 0; z-index: -1;
  background:
    radial-gradient(60% 55% at 85% 20%, rgb(99 91 255 / .28), transparent 70%),
    radial-gradient(40% 40% at 70% 85%, rgb(255 122 26 / .18), transparent 70%),
    radial-gradient(45% 50% at 5% 10%, rgb(56 189 248 / .14), transparent 70%);
}
.hero__fondo::after {
  content: ""; position: absolute; inset: 0;
  background-image: radial-gradient(rgb(59 52 201 / .16) 1px, transparent 1.4px);
  background-size: 22px 22px;
  mask-image: radial-gradient(70% 70% at 70% 40%, #000, transparent 75%);
  -webkit-mask-image: radial-gradient(70% 70% at 70% 40%, #000, transparent 75%);
}
.hero__grilla { display: grid; grid-template-columns: 1.02fr 1fr; gap: 48px; align-items: center; }
.etiqueta {
  display: inline-flex; align-items: center; gap: 10px; font-size: 14px; font-weight: 700;
  color: var(--marca); background: var(--surface); border: 1px solid var(--borde);
  padding: 7px 14px; border-radius: 999px; box-shadow: var(--sombra-s);
}
.punto { width: 8px; height: 8px; border-radius: 50%; background: var(--acento); box-shadow: 0 0 0 4px rgb(255 122 26 / .2); }
.hero h1 { font-size: clamp(38px, 6vw, 66px); font-weight: 800; margin: 22px 0 18px; letter-spacing: -.035em; }
.resaltado {
  background: linear-gradient(100deg, var(--marca) 10%, #8b5cf6 55%, var(--acento) 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero__sub { font-size: clamp(17px, 1.6vw, 19px); color: var(--texto-2); max-width: 560px; }
.hero__ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.hero__puntos { list-style: none; padding: 0; margin: 26px 0 0; display: flex; flex-wrap: wrap; gap: 10px 22px; font-weight: 600; font-size: 15px; color: var(--texto-2); }
.hero__puntos li { display: inline-flex; align-items: center; gap: 7px; }
.hero__puntos .ico-check { width: 18px; height: 18px; color: var(--ok); stroke-width: 2.6; }

.hero__visual { position: relative; padding: 10px 40px 40px 0; }
.laptop { position: relative; transform: perspective(1600px) rotateY(-9deg) rotateX(3deg); transform-origin: left center; }
.laptop__pantalla {
  background: #1b1a33; border-radius: 16px 16px 6px 6px; padding: 8px 8px 10px; overflow: hidden;
  box-shadow: var(--sombra-l), 0 0 0 1px rgb(255 255 255 / .06) inset;
}
.laptop__pantalla img { border-radius: 4px; }
.laptop__pantalla .ventana__barra { padding: 0 4px 7px; }
.laptop__base { height: 14px; margin: 0 -5%; background: linear-gradient(#d6d7e8, #a9abc4); border-radius: 0 0 16px 16px; box-shadow: 0 18px 30px -12px rgb(var(--sombra-color) / .45); }
.laptop__base::before { content: ""; display: block; width: 18%; height: 5px; margin: 0 auto; background: rgb(0 0 0 / .14); border-radius: 0 0 8px 8px; }
.celu {
  position: absolute; right: 0; bottom: 0; width: 34%; max-width: 210px;
  filter: drop-shadow(0 28px 34px rgb(var(--sombra-color) / .4));
  animation: flotar 7s ease-in-out infinite;
}
.flotante {
  position: absolute; display: flex; align-items: center; gap: 10px;
  background: var(--surface); border: 1px solid var(--borde); border-radius: 14px; padding: 10px 14px;
  box-shadow: var(--sombra-m); font-size: 14px; line-height: 1.3;
}
.flotante strong { display: block; }
.flotante small { color: var(--texto-2); }
.flotante--a { left: -18px; bottom: 34px; animation: flotar 6s ease-in-out infinite; }
.flotante--b { left: 30%; top: -8px; animation: flotar 8s ease-in-out -2s infinite; }
.flotante__ico { width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; }
.flotante__ico svg { width: 18px; height: 18px; stroke-width: 2.4; }
.flotante__ico--verde { background: var(--ok-bg); color: var(--ok); }
.flotante__ico--naranja { background: #ffe8d6; color: #b34a00; }
@keyframes flotar { 0%, 100% { translate: 0 0; } 50% { translate: 0 -8px; } }

/* ---------- Secciones ---------- */
.seccion { padding: 96px 0; position: relative; }
.seccion--tinte { background: linear-gradient(180deg, var(--bg-2), var(--bg) 60%, var(--bg-2)); }
.seccion__cabeza { text-align: center; max-width: 720px; margin: 0 auto 52px; }
.seccion__cabeza h2 { font-size: clamp(30px, 4vw, 44px); font-weight: 800; }
.seccion__bajada { color: var(--texto-2); margin-top: 14px; font-size: 18px; }
.sobretitulo { font-size: 14px; font-weight: 800; text-transform: uppercase; letter-spacing: .12em; color: var(--acento-texto); margin-bottom: 12px; }
.sobretitulo--claro { color: #ffc59a; }
.grilla { display: grid; gap: 20px; }
.grilla--4 { grid-template-columns: repeat(4, 1fr); }
.grilla--3 { grid-template-columns: repeat(3, 1fr); }
.tarjeta { background: var(--surface); border: 1px solid var(--borde); border-radius: var(--radio); padding: 26px; box-shadow: var(--sombra-s); }

/* Problemas */
.problema { transition: transform .2s, box-shadow .2s; }
.problema:hover { transform: translateY(-4px); box-shadow: var(--sombra-m); }
.problema__ico { width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center; background: var(--mal-bg); color: var(--mal); margin-bottom: 18px; }
.problema__ico svg { width: 26px; height: 26px; }
.problema h3 { font-size: 19px; margin-bottom: 8px; }
.problema p { color: var(--texto-2); font-size: 16px; }
.problemas__remate { text-align: center; margin-top: 40px; font-size: 19px; color: var(--texto-2); }
.problemas__remate strong { color: var(--texto); }

/* Chips de navegación de sistemas */
.chips { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin: -16px auto 56px; max-width: 860px; }
.chips a {
  text-decoration: none; font-weight: 700; font-size: 15px; color: var(--texto);
  background: var(--surface); border: 1px solid var(--borde); padding: 8px 16px; border-radius: 999px; box-shadow: var(--sombra-s);
  transition: background-color .15s, color .15s;
}
.chips a:hover { background: var(--marca); color: #fff; border-color: var(--marca); }
:root[data-theme="dark"] .chips a:hover { color: #0b0a1d; }

/* Sistema */
.sistema {
  --c: var(--marca); --c2: var(--acento);
  position: relative; display: grid; grid-template-columns: 1fr 1.15fr; gap: 56px; align-items: center;
  padding: 44px; margin-bottom: 36px; border-radius: var(--radio-l);
  background:
    radial-gradient(70% 90% at 100% 0%, color-mix(in srgb, var(--c2) 14%, transparent), transparent 60%),
    var(--surface);
  border: 1px solid var(--borde); box-shadow: var(--sombra-m); overflow: hidden;
}
.sistema::before { content: ""; position: absolute; inset: 0 auto 0 0; width: 5px; background: linear-gradient(var(--c), var(--c2)); }
.sistema--inv .sistema__texto { order: 2; }
.sistema--inv { grid-template-columns: 1.15fr 1fr; background: radial-gradient(70% 90% at 0% 0%, color-mix(in srgb, var(--c2) 14%, transparent), transparent 60%), var(--surface); }
.sistema--inv::before { inset: 0 0 0 auto; }
.sistema__rubro { font-size: 13px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--c); }
:root[data-theme="dark"] .sistema__rubro { color: var(--c2); }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .sistema__rubro { color: var(--c2); } }
.sistema__nombre { font-size: clamp(34px, 4vw, 46px); font-weight: 800; margin: 8px 0 6px; }
.sistema__gancho { font-size: 20px; font-weight: 600; color: var(--texto); margin-bottom: 20px; }
.beneficios { list-style: none; padding: 0; margin: 0 0 28px; display: grid; gap: 12px; }
.beneficios li { display: flex; gap: 12px; color: var(--texto-2); font-size: 16px; }
.beneficios .ico-check {
  width: 24px; height: 24px; padding: 4px; margin-top: 1px; border-radius: 8px; stroke-width: 3;
  color: #fff; background: linear-gradient(135deg, var(--c), color-mix(in srgb, var(--c) 70%, var(--c2)));
}
.sistema__acciones { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.sistema__visual { margin: 0; position: relative; min-width: 0; }
.sistema__visual--centro { display: grid; place-items: center; }
.ventana {
  background: var(--surface-2); border-radius: 14px; overflow: hidden; border: 1px solid var(--borde);
  box-shadow: 0 2px 6px rgb(var(--sombra-color) / .08), 0 30px 60px -22px color-mix(in srgb, var(--c) 55%, transparent);
}
.ventana img { width: 100%; }
.ventana--chica { max-width: 380px; width: 100%; }
.ventana__barra { display: flex; gap: 6px; padding: 10px 12px; background: color-mix(in srgb, var(--surface-2) 70%, var(--borde)); }
.ventana__barra span { width: 10px; height: 10px; border-radius: 50%; background: #ff6159; }
.ventana__barra span:nth-child(2) { background: #ffbd2e; }
.ventana__barra span:nth-child(3) { background: #28c941; }
.laptop .ventana__barra { background: transparent; }
.sistema__celu { position: absolute; right: -14px; bottom: -34px; width: 30%; max-width: 170px; filter: drop-shadow(0 24px 26px rgb(var(--sombra-color) / .35)); }
.sistema__visual--pila { padding-bottom: 60px; padding-right: 50px; }
.ventana--encima { position: absolute; width: 58%; right: 0; bottom: 0; box-shadow: var(--sombra-l); }

/* Maquetas ilustradas */
.maqueta__cuerpo { padding: 22px; display: grid; gap: 14px; font-size: 14px; background: var(--surface); }
.maqueta__cuerpo--panel { grid-template-columns: 44px 1fr; gap: 18px; }
.mq-titulo { font-weight: 800; font-size: 18px; display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.mq-kpis { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.mq-kpi { background: var(--surface-2); border: 1px solid var(--borde); border-radius: 12px; padding: 10px 12px; min-width: 0; }
.mq-kpi small { display: block; color: var(--texto-2); font-size: 12px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mq-kpi b { font-size: 16px; white-space: nowrap; }
.mq-ok { color: var(--ok); }
.mq-mal { color: var(--mal); }
.mq-lista { display: grid; gap: 8px; }
.mq-fila { display: grid; grid-template-columns: 36px 1fr auto auto; align-items: center; gap: 12px; padding: 9px 12px; border: 1px solid var(--borde); border-radius: 12px; background: var(--surface); }
.mq-fila b { display: block; font-size: 14px; }
.mq-fila small { color: var(--texto-2); font-size: 12px; }
.mq-av { width: 36px; height: 36px; border-radius: 10px; display: grid; place-items: center; font-weight: 800; font-size: 12px; color: var(--c); background: color-mix(in srgb, var(--c2) 20%, var(--surface)); }
:root[data-theme="dark"] .mq-av { color: var(--c2); }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .mq-av { color: var(--c2); } }
.mq-monto { font-weight: 700; font-variant-numeric: tabular-nums; }
.pill { font-size: 12px; font-weight: 700; padding: 4px 10px; border-radius: 999px; white-space: nowrap; }
.pill--ok { background: var(--ok-bg); color: var(--ok); }
.pill--aviso { background: var(--aviso-bg); color: var(--aviso); }
.pill--mal { background: var(--mal-bg); color: var(--mal); }
.pill--neutro { background: var(--marca-suave); color: var(--marca); }
.mq-barra-prog { height: 10px; border-radius: 99px; background: var(--surface-2); border: 1px solid var(--borde); overflow: hidden; }
.mq-barra-prog span { display: block; height: 100%; background: linear-gradient(90deg, var(--c), var(--c2)); border-radius: 99px; }
.mq-nota { color: var(--texto-2); font-size: 13px; margin-top: -6px; }
.mq-alerta { display: flex; gap: 10px; align-items: center; padding: 10px 12px; border-radius: 12px; background: var(--aviso-bg); color: var(--aviso); font-weight: 600; font-size: 13px; }
.mq-alerta svg { width: 18px; height: 18px; }
.mq-lateral { background: linear-gradient(var(--c), color-mix(in srgb, var(--c) 60%, #000)); border-radius: 12px; padding: 12px 8px; display: grid; align-content: start; gap: 12px; }
.mq-lateral i { display: block; height: 26px; border-radius: 8px; background: rgb(255 255 255 / .18); }
.mq-lateral i.activo { background: rgb(255 255 255 / .55); }
.mq-barras { display: flex; align-items: flex-end; gap: 10px; height: 110px; padding: 12px; border-radius: 12px; background: var(--surface-2); border: 1px solid var(--borde); }
.mq-barras span { flex: 1; border-radius: 6px 6px 2px 2px; background: linear-gradient(var(--c2), var(--c)); }
.mq-tareas { display: grid; gap: 8px; }
.mq-tareas div { display: flex; align-items: center; gap: 10px; color: var(--texto-2); }
.mq-check { width: 18px; height: 18px; border-radius: 6px; border: 2px solid var(--borde); flex-shrink: 0; }
.mq-check.hecho { background: var(--c); border-color: var(--c); box-shadow: inset 0 0 0 3px var(--surface); }

/* A medida */
.medida {
  position: relative; overflow: hidden; display: grid; grid-template-columns: 1fr 1.1fr; gap: 40px; align-items: center;
  padding: 52px; border-radius: var(--radio-l); color: #fff;
  background:
    radial-gradient(60% 80% at 100% 0%, rgb(255 122 26 / .45), transparent 60%),
    radial-gradient(50% 70% at 0% 100%, rgb(56 189 248 / .25), transparent 60%),
    linear-gradient(135deg, #2a2496, #1a1660 70%);
  box-shadow: 0 40px 80px -30px rgb(42 36 150 / .7);
}
.medida::after { content: ""; position: absolute; inset: 0; background-image: radial-gradient(rgb(255 255 255 / .12) 1px, transparent 1.4px); background-size: 20px 20px; pointer-events: none; mask-image: linear-gradient(90deg, transparent, #000); -webkit-mask-image: linear-gradient(90deg, transparent, #000); }
.medida h3 { font-size: clamp(32px, 4vw, 44px); font-weight: 800; margin-bottom: 12px; }
.medida p { color: #dcdcff; font-size: 18px; margin-bottom: 26px; }
.medida__lista { position: relative; z-index: 1; list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.medida__lista li { display: flex; align-items: center; gap: 12px; padding: 14px 16px; border-radius: 14px; background: rgb(255 255 255 / .09); border: 1px solid rgb(255 255 255 / .16); font-weight: 600; backdrop-filter: blur(4px); }
.medida__lista svg { width: 24px; height: 24px; color: #ffc59a; }
.medida__texto { position: relative; z-index: 1; }

/* Pasos */
.pasos { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; counter-reset: paso; position: relative; }
.pasos::before { content: ""; position: absolute; top: 34px; left: 12%; right: 12%; height: 2px; background: repeating-linear-gradient(90deg, var(--borde) 0 10px, transparent 10px 18px); }
.paso { position: relative; text-align: center; padding: 0 8px; }
.paso__num {
  width: 68px; height: 68px; border-radius: 22px; margin: 0 auto 20px; display: grid; place-items: center;
  font-size: 28px; font-weight: 800; color: #fff; position: relative;
  background: linear-gradient(135deg, #5b52f0, #2a2496); box-shadow: 0 16px 30px -12px rgb(59 52 201 / .65);
}
.paso:nth-child(even) .paso__num { background: linear-gradient(135deg, #ff9a4d, #e2560a); box-shadow: 0 16px 30px -12px rgb(226 86 10 / .6); }
.paso h3 { font-size: 19px; margin-bottom: 8px; }
.paso p { color: var(--texto-2); font-size: 16px; }

/* Por qué (sección oscura) */
.seccion--oscura {
  color: #eeedff;
  background:
    radial-gradient(50% 60% at 90% 10%, rgb(99 91 255 / .35), transparent 70%),
    radial-gradient(40% 50% at 10% 90%, rgb(255 122 26 / .16), transparent 70%),
    linear-gradient(180deg, #161352, #0d0b2e);
}
.seccion--oscura::before { content: ""; position: absolute; inset: 0; background-image: var(--ruido); opacity: .6; pointer-events: none; }
.seccion--oscura .contenedor { position: relative; }
.razon { padding: 28px; border-radius: var(--radio); background: rgb(255 255 255 / .05); border: 1px solid rgb(255 255 255 / .1); transition: background-color .2s, transform .2s; }
.razon:hover { background: rgb(255 255 255 / .08); transform: translateY(-3px); }
.razon__ico { width: 50px; height: 50px; border-radius: 14px; display: grid; place-items: center; margin-bottom: 18px; background: linear-gradient(135deg, rgb(150 144 255 / .3), rgb(150 144 255 / .1)); color: #c9c6ff; border: 1px solid rgb(255 255 255 / .12); }
.razon__ico svg { width: 24px; height: 24px; }
.razon h3 { font-size: 19px; margin-bottom: 8px; }
.razon p { color: #c3c4e6; font-size: 16px; }

/* Rubros */
.rubros { list-style: none; margin: 0 auto; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; max-width: 980px; }
.rubros li {
  font-weight: 700; font-size: 16px; padding: 12px 20px; border-radius: 14px;
  background: var(--surface); border: 1px solid var(--borde); box-shadow: var(--sombra-s);
}
.rubros li:nth-child(3n+1) { border-bottom: 3px solid var(--marca); }
.rubros li:nth-child(3n+2) { border-bottom: 3px solid var(--acento); }
.rubros li:nth-child(3n) { border-bottom: 3px solid #14b8a6; }

/* Quién soy */
.quien { display: grid; grid-template-columns: .8fr 1.2fr; gap: 64px; align-items: center; }
.quien__foto { position: relative; max-width: 380px; margin-inline: auto; width: 100%; }
.quien__foto::before {
  content: ""; position: absolute; inset: 26px -22px -22px 26px; border-radius: 34px; z-index: 0;
  background: linear-gradient(135deg, #5b52f0, #2a2496 55%, #ff7a1a);
}
.quien__marco { position: relative; z-index: 1; border-radius: 30px; overflow: hidden; border: 6px solid var(--surface); box-shadow: var(--sombra-l); background: #e0e2fa; }
.quien__marco img { width: 100%; aspect-ratio: 390 / 630; object-fit: cover; object-position: top; }
.quien__sello {
  position: absolute; z-index: 2; left: -18px; bottom: 34px; display: flex; align-items: center; gap: 10px;
  background: var(--surface); border: 1px solid var(--borde); padding: 10px 16px 10px 10px; border-radius: 16px; box-shadow: var(--sombra-m);
  font-weight: 800; font-size: 15px; line-height: 1.2;
}
.quien__sello .marca__iso { width: 36px; height: 36px; }
.quien__sello small { font-weight: 600; color: var(--texto-2); }
.quien__texto h2 { font-size: clamp(32px, 4vw, 46px); font-weight: 800; margin-bottom: 18px; }
.quien__lead { font-size: 20px; font-weight: 600; margin-bottom: 14px; }
.quien__texto > p:not(.sobretitulo) { color: var(--texto-2); }
.quien__texto > p.quien__lead { color: var(--texto); }
.quien__ctas { margin-top: 26px; }
.quien__socio { margin-top: 22px; font-size: 13px; color: var(--texto-2); opacity: .85; }

/* FAQ */
.faq { display: grid; gap: 12px; }
.faq details { background: var(--surface); border: 1px solid var(--borde); border-radius: 16px; box-shadow: var(--sombra-s); transition: box-shadow .2s; }
.faq details[open] { box-shadow: var(--sombra-m); }
.faq summary {
  list-style: none; cursor: pointer; padding: 20px 56px 20px 22px; font-weight: 700; font-size: 18px; position: relative; border-radius: 16px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; position: absolute; right: 22px; top: 50%; width: 12px; height: 12px; margin-top: -9px;
  border-right: 2.5px solid var(--marca); border-bottom: 2.5px solid var(--marca); transform: rotate(45deg); transition: transform .2s, margin .2s;
}
.faq details[open] summary::after { transform: rotate(-135deg); margin-top: -3px; }
.faq details p { padding: 0 22px 22px; color: var(--texto-2); }

/* CTA final */
.cta-final { padding: 40px 0 110px; }
.cta-final__caja {
  text-align: center; padding: 64px 32px; border-radius: 34px; position: relative; overflow: hidden; color: #fff;
  background:
    radial-gradient(55% 90% at 50% 120%, rgb(255 122 26 / .55), transparent 70%),
    radial-gradient(40% 60% at 0% 0%, rgb(56 189 248 / .25), transparent 70%),
    linear-gradient(135deg, #3b34c9, #1f1a7a);
  box-shadow: 0 40px 80px -30px rgb(42 36 150 / .75);
}
.cta-final__caja::before { content: ""; position: absolute; inset: 0; background-image: radial-gradient(rgb(255 255 255 / .13) 1px, transparent 1.4px); background-size: 22px 22px; mask-image: radial-gradient(70% 80% at 50% 30%, #000, transparent); -webkit-mask-image: radial-gradient(70% 80% at 50% 30%, #000, transparent); }
.cta-final__caja > * { position: relative; }
.cta-final h2 { font-size: clamp(30px, 4.6vw, 52px); font-weight: 800; max-width: 760px; margin: 0 auto 14px; }
.cta-final p { color: #e2e1ff; font-size: 19px; margin-bottom: 30px; }
.cta-final .boton--wa { background: #fff; color: #0a6638; box-shadow: 0 16px 34px -12px rgb(0 0 0 / .5); }
.cta-final .boton--wa:hover { background: #f0fff6; }

/* Pie */
.pie { border-top: 1px solid var(--borde); background: var(--surface); padding: 36px 0 44px; }
.pie__fila { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 20px; }
.pie__marca p, .pie__datos p { color: var(--texto-2); font-size: 14px; margin-top: 6px; }
.pie__datos { text-align: right; }
.pie__datos a { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; color: var(--wa); text-decoration: none; font-size: 17px; }
:root[data-theme="dark"] .pie__datos a { color: #4ade80; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .pie__datos a { color: #4ade80; } }

/* WhatsApp flotante */
.wa-flotante {
  position: fixed; right: 20px; bottom: 20px; z-index: 60; width: 62px; height: 62px; border-radius: 50%;
  display: grid; place-items: center; color: #fff; background: #1aa851;
  box-shadow: 0 14px 30px -8px rgb(13 122 67 / .7), 0 0 0 0 rgb(37 211 102 / .5);
  animation: latido 2.8s ease-out infinite; transition: transform .2s;
}
.wa-flotante:hover { transform: scale(1.07); }
.wa-flotante .ico-wa { width: 32px; height: 32px; }
@keyframes latido { 0% { box-shadow: 0 14px 30px -8px rgb(13 122 67 / .7), 0 0 0 0 rgb(37 211 102 / .45); } 70%, 100% { box-shadow: 0 14px 30px -8px rgb(13 122 67 / .7), 0 0 0 18px rgb(37 211 102 / 0); } }

/* Aparición al hacer scroll */
.js .revelar { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s cubic-bezier(.2, .7, .2, 1); }
.js .revelar.visible { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .grilla--4 { grid-template-columns: repeat(2, 1fr); }
  .sistema, .sistema--inv { grid-template-columns: 1fr; gap: 36px; padding: 36px; }
  .sistema--inv .sistema__texto { order: 0; }
  .sistema__visual { max-width: 720px; width: 100%; margin-inline: auto; }
  .medida { grid-template-columns: 1fr; }
}
@media (max-width: 920px) {
  .nav {
    position: absolute; top: 70px; left: 0; right: 0; flex-direction: column; gap: 0; margin: 0;
    background: var(--surface); border-bottom: 1px solid var(--borde); box-shadow: var(--sombra-m);
    padding: 8px 16px 16px; display: none;
  }
  .nav.abierta { display: flex; }
  .nav a { padding: 14px 12px; font-size: 17px; }
  .cabecera__acciones { margin-left: auto; }
  .hamburguesa { display: grid; }
  .hero { padding-top: 36px; }
  .hero__grilla { grid-template-columns: 1fr; gap: 40px; }
  .hero__visual { max-width: 640px; margin-inline: auto; width: 100%; }
  .grilla--3 { grid-template-columns: repeat(2, 1fr); }
  .pasos { grid-template-columns: repeat(2, 1fr); row-gap: 40px; }
  .pasos::before { display: none; }
  .quien { grid-template-columns: 1fr; gap: 48px; }
  .quien__texto { text-align: center; }
  .quien__texto > p { margin-inline: auto; max-width: 620px; }
}
@media (max-width: 640px) {
  body { font-size: 16px; }
  .contenedor { padding-inline: 16px; }
  .ocultar-movil { display: none; }
  .seccion { padding: 72px 0; }
  .seccion__cabeza { margin-bottom: 36px; }
  .grilla--4, .grilla--3 { grid-template-columns: 1fr; }
  .hero h1 { font-size: 38px; }
  .hero__ctas .boton { width: 100%; }
  .hero__visual { padding: 10px 24px 30px 0; }
  .laptop { transform: none; }
  .flotante { font-size: 12px; padding: 8px 10px; gap: 8px; }
  .flotante__ico { width: 28px; height: 28px; }
  .flotante--a { left: -6px; bottom: 6px; }
  .flotante--b { left: auto; right: 34%; top: -14px; }
  .sistema, .sistema--inv { padding: 26px 20px; border-radius: 22px; }
  .sistema__gancho { font-size: 18px; }
  .sistema__acciones .boton--wa { flex: 1 1 auto; }
  .sistema__celu { right: -6px; bottom: -22px; width: 32%; }
  .sistema__visual--pila { padding-right: 24px; padding-bottom: 40px; }
  .maqueta__cuerpo { padding: 14px; gap: 10px; }
  .maqueta__cuerpo--panel { grid-template-columns: 1fr; }
  .mq-lateral { display: none; }
  .mq-kpi { padding: 8px; }
  .mq-kpi b { font-size: 13px; white-space: normal; display: block; line-height: 1.25; }
  .mq-kpi small { font-size: 11px; }
  .mq-fila { grid-template-columns: 32px 1fr auto; gap: 10px; padding: 8px 10px; }
  .mq-fila .mq-monto { display: none; }
  .mq-av { width: 32px; height: 32px; }
  .medida { padding: 34px 20px; }
  .medida__lista { grid-template-columns: 1fr; }
  .medida .boton { width: 100%; }
  .pasos { grid-template-columns: 1fr; }
  .rubros li { font-size: 15px; padding: 10px 14px; }
  .quien__foto { max-width: min(340px, calc(100% - 28px)); }
  .quien__foto::before { inset: 18px -14px -14px 18px; }
  .quien__sello { left: -6px; }
  .faq summary { font-size: 17px; padding: 18px 48px 18px 18px; }
  .faq details p { padding: 0 18px 18px; }
  .cta-final__caja { padding: 48px 20px; border-radius: 26px; }
  .cta-final .boton { width: 100%; }
  .pie { padding-bottom: 96px; }
  .pie__datos { text-align: left; }
  .wa-flotante { width: 56px; height: 56px; right: 16px; bottom: 16px; }
}
@media (max-width: 380px) {
  .marca__texto { font-size: 17px; }
  .marca__iso { width: 36px; height: 36px; }
  .hero h1 { font-size: 34px; }
  .chips a { font-size: 14px; padding: 7px 12px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js .revelar { opacity: 1; transform: none; }
}
