/* ==========================================================================
   SRBOT TECHNOLOGY — "Intelligent Commerce Systems"
   Tokens · base · componentes · secciones · responsive
   ========================================================================== */

:root {
  /* Superficies */
  --bg: #070a12;
  --bg-2: #0a0e18;
  --surface: #0d121e;
  --surface-2: #121929;
  --surface-3: #182135;
  --line: rgba(160, 176, 214, 0.11);
  --line-2: rgba(160, 176, 214, 0.2);
  --line-3: rgba(160, 176, 214, 0.32);

  /* Texto */
  --ink: #f3f4f8;
  --ink-2: #c9d0de;
  --muted: #97a2b9;
  --dim: #7d88a2;

  /* Acentos (reservados para interacción, datos y conexiones) */
  --blue-500: #3f66f2;
  --blue-400: #5b80ff;
  --blue-300: #8fa8ff;
  --blue-soft: rgba(63, 102, 242, 0.14);
  --violet: #9b7bff;
  --cyan: #46d6f0;
  --ok: #3dd68c;
  --err: #ff9b9b;

  /* Tipografía */
  --f-display: "Space Grotesk", "Segoe UI", system-ui, sans-serif;
  --f-body: "Manrope", "Segoe UI", system-ui, sans-serif;

  /* Forma y ritmo */
  --r-sm: 10px;
  --r: 16px;
  --r-lg: 24px;
  --container: 1240px;
  --gutter: clamp(16px, 4vw, 40px);
  --section: clamp(88px, 11vw, 160px);
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 84px; background: var(--bg); color-scheme: dark; }
body {
  margin: 0;
  font-family: var(--f-body);
  font-size: 16px;
  line-height: 1.65;
  color: var(--ink-2);
  background: var(--bg);
  overflow-x: clip;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
p { margin: 0 0 1em; }
h1, h2, h3 { margin: 0; font-family: var(--f-display); font-weight: 600; color: var(--ink); letter-spacing: -0.025em; line-height: 1.06; text-wrap: balance; }
h3 { letter-spacing: -0.015em; line-height: 1.2; }
ul, ol { margin: 0; padding: 0; list-style: none; }
button { font: inherit; color: inherit; }
::selection { background: rgba(91, 128, 255, 0.4); color: #fff; }
:focus-visible { outline: 2px solid var(--blue-300); outline-offset: 3px; border-radius: 6px; }

.container { width: 100%; max-width: calc(var(--container) + var(--gutter) * 2); margin: 0 auto; padding: 0 var(--gutter); }
.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip-link { position: fixed; top: 12px; left: 12px; z-index: 100; padding: 10px 16px; border-radius: 999px; background: var(--blue-500); color: #fff; font-weight: 600; text-decoration: none; transform: translateY(-160%); transition: transform 0.2s; }
.skip-link:focus { transform: none; }

/* ---------- Revelado al hacer scroll (solo con JS; con respaldo) ---------- */
.js [data-reveal] {
  opacity: 0;
  translate: 0 22px;
  transition: opacity 0.9s var(--ease-out), translate 0.9s var(--ease-out);
  transition-delay: calc(var(--d, 0) * 90ms);
  animation: reveal-fallback 0.8s var(--ease-out) 2.6s forwards;
}
.js.reveal-on [data-reveal] { animation: none; }
.js [data-reveal].is-in { opacity: 1; translate: 0 0; }
@keyframes reveal-fallback { to { opacity: 1; translate: 0 0; } }

/* ---------- Botones ---------- */
.btn {
  position: relative;
  isolation: isolate;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6em;
  min-height: 48px;
  padding: 0 22px;
  border: 0;
  border-radius: 999px;
  font: 600 15px/1.1 var(--f-body);
  letter-spacing: -0.005em;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  overflow: hidden;
  transition: background-color 0.25s var(--ease), box-shadow 0.3s var(--ease), transform 0.25s var(--ease), color 0.25s;
}
.btn svg { flex: none; transition: transform 0.3s var(--ease-out); }
.btn:hover .i-arrow { transform: translateX(3px); }
.btn:active { transform: scale(0.98); }
.btn-sm { min-height: 40px; padding: 0 16px; font-size: 14px; }
.btn-lg { min-height: 54px; padding: 0 26px; font-size: 15.5px; }

.btn-primary {
  background: var(--blue-500);
  color: #fff;
  box-shadow: inset 0 0 0 1px rgba(143, 168, 255, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.18), 0 10px 30px -12px rgba(63, 102, 242, 0.85);
}
.btn-primary::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  border-radius: inherit;
  background: linear-gradient(115deg, transparent 30%, rgba(255, 255, 255, 0.26) 50%, transparent 70%);
  background-size: 260% 100%;
  background-position: 130% 0;
  transition: background-position 0.8s var(--ease-out);
}
.btn-primary:hover { background: #4a70ff; transform: translateY(-1px); box-shadow: inset 0 0 0 1px rgba(170, 190, 255, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.22), 0 16px 40px -12px rgba(63, 102, 242, 0.95); }
.btn-primary:hover::before { background-position: -30% 0; }
.btn-primary:active { transform: translateY(0) scale(0.98); }

.btn-ghost { background: rgba(255, 255, 255, 0.03); color: var(--ink); box-shadow: inset 0 0 0 1px var(--line-2); }
.btn-ghost:hover { background: rgba(255, 255, 255, 0.07); box-shadow: inset 0 0 0 1px var(--line-3); transform: translateY(-1px); }
.btn[disabled], .btn[aria-busy="true"] { opacity: 0.65; cursor: progress; transform: none; }

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font: 600 14.5px/1.3 var(--f-body);
  color: var(--blue-300);
  text-decoration: none;
  transition: color 0.2s, gap 0.3s var(--ease-out);
}
.link-arrow:hover { color: #fff; gap: 12px; }

/* ---------- Encabezados de sección ---------- */
.section { position: relative; padding: var(--section) 0; }
.kicker {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin: 0 0 22px;
  font: 500 12.5px/1 var(--f-display);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
}
.kicker span { color: var(--blue-300); }
.kicker span::after { content: ""; display: inline-block; width: 28px; height: 1px; margin-left: 12px; vertical-align: middle; background: linear-gradient(90deg, var(--blue-400), transparent); }
.sec-head { margin-bottom: clamp(44px, 6vw, 72px); }
.sec-title { font-size: clamp(2.05rem, 2.6vw + 1.1rem, 3.55rem); max-width: 20ch; }
.sec-lead { max-width: 58ch; margin: 22px 0 0; font-size: clamp(1rem, 0.3vw + 0.95rem, 1.12rem); color: var(--muted); }
.sec-head-split { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 32px 64px; align-items: end; }
.sec-head-split .sec-lead { margin: 0; }
.muted-2 { color: var(--muted); }
.mini-title { margin: 0 0 16px; font: 500 12px/1 var(--f-display); letter-spacing: 0.16em; text-transform: uppercase; color: var(--dim); }

/* ==========================================================================
   NAVEGACIÓN
   ========================================================================== */
.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 50;
  border-bottom: 1px solid transparent;
  transition: background-color 0.35s var(--ease), border-color 0.35s var(--ease), backdrop-filter 0.35s;
}
.site-header.is-scrolled, .menu-open .site-header {
  background: rgba(7, 10, 18, 0.74);
  -webkit-backdrop-filter: blur(16px) saturate(150%);
  backdrop-filter: blur(16px) saturate(150%);
  border-bottom-color: var(--line);
}
.nav { display: flex; align-items: center; justify-content: space-between; gap: 20px; height: 74px; }
.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; flex: none; }
.brand img { width: 40px; height: 40px; border-radius: 50%; box-shadow: 0 0 0 1px var(--line-2), 0 0 24px -6px rgba(91, 128, 255, 0.55); }
.brand-word { display: flex; flex-direction: column; font: 700 18px/1 var(--f-display); letter-spacing: -0.02em; color: #fff; }
.brand-word small { margin-top: 4px; font: 500 9.5px/1 var(--f-display); letter-spacing: 0.3em; text-transform: uppercase; color: var(--muted); }

.nav-links { display: flex; align-items: center; gap: 2px; }
.nav-links a {
  position: relative;
  padding: 9px 13px;
  border-radius: 999px;
  font: 500 14px/1 var(--f-body);
  color: var(--muted);
  text-decoration: none;
  transition: color 0.2s, background-color 0.2s;
}
.nav-links a:hover { color: var(--ink); background: rgba(255, 255, 255, 0.04); }
.nav-links a[aria-current="true"] { color: var(--ink); }
.nav-links a[aria-current="true"]::after { content: ""; position: absolute; left: 50%; bottom: 2px; width: 4px; height: 4px; margin-left: -2px; border-radius: 50%; background: var(--blue-400); box-shadow: 0 0 8px var(--blue-400); }
.nav-actions { display: flex; align-items: center; gap: 10px; }
.lbl-short { display: none; }

.nav-toggle {
  display: none;
  position: relative;
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.04);
  box-shadow: inset 0 0 0 1px var(--line-2);
  cursor: pointer;
}
.nav-toggle span { position: absolute; left: 14px; right: 14px; height: 1.6px; border-radius: 2px; background: var(--ink); transition: transform 0.35s var(--ease-out), top 0.35s var(--ease-out); }
.nav-toggle span:first-child { top: 17px; }
.nav-toggle span:last-child { top: 25px; }
.nav-toggle[aria-expanded="true"] span:first-child { top: 21px; transform: rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:last-child { top: 21px; transform: rotate(-45deg); }

.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 40;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 24px;
  padding: 104px var(--gutter) calc(28px + env(safe-area-inset-bottom));
  background: rgba(7, 10, 18, 0.97);
  -webkit-backdrop-filter: blur(20px);
  backdrop-filter: blur(20px);
  overflow-y: auto;
  opacity: 0;
  transition: opacity 0.35s var(--ease);
}
.mobile-menu.is-open { opacity: 1; }
.mobile-menu nav { display: flex; flex-direction: column; }
.mobile-menu nav a {
  display: flex;
  align-items: baseline;
  gap: 16px;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
  font: 500 clamp(1.5rem, 6vw, 2rem)/1.1 var(--f-display);
  letter-spacing: -0.02em;
  color: var(--ink);
  text-decoration: none;
  opacity: 0;
  translate: 0 12px;
  transition: opacity 0.5s var(--ease-out), translate 0.5s var(--ease-out), color 0.2s;
}
.mobile-menu nav a span { font: 500 12px/1 var(--f-display); letter-spacing: 0.1em; color: var(--blue-300); }
.mobile-menu.is-open nav a { opacity: 1; translate: 0 0; }
.mobile-menu.is-open nav a:nth-child(2) { transition-delay: 40ms; }
.mobile-menu.is-open nav a:nth-child(3) { transition-delay: 80ms; }
.mobile-menu.is-open nav a:nth-child(4) { transition-delay: 120ms; }
.mobile-menu.is-open nav a:nth-child(5) { transition-delay: 160ms; }
.mobile-menu.is-open nav a:nth-child(6) { transition-delay: 200ms; }
.mobile-menu.is-open nav a:nth-child(7) { transition-delay: 240ms; }
.mobile-menu nav a:hover { color: var(--blue-300); }
.mobile-menu-foot { display: grid; gap: 16px; }
.mobile-menu-foot .btn { width: 100%; }
.mobile-menu-foot p { margin: 0; text-align: center; font: 500 12px/1 var(--f-display); letter-spacing: 0.12em; text-transform: uppercase; color: var(--dim); }
.menu-open body { overflow: hidden; }

/* ==========================================================================
   HERO
   ========================================================================== */
.hero {
  position: relative;
  display: flex;
  align-items: center;
  min-height: 100vh;
  min-height: 100svh;
  padding: 112px 0 132px;
  overflow: hidden;
}
.hero-canvas { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0.9; -webkit-mask-image: radial-gradient(80% 70% at 65% 45%, #000 20%, transparent 80%); mask-image: radial-gradient(80% 70% at 65% 45%, #000 20%, transparent 80%); pointer-events: none; }
.hero-bg { position: absolute; inset: 0; pointer-events: none; background:
  radial-gradient(55% 55% at 76% 42%, rgba(63, 102, 242, 0.2), transparent 70%),
  radial-gradient(35% 40% at 92% 85%, rgba(155, 123, 255, 0.11), transparent 70%),
  radial-gradient(45% 55% at 8% 0%, rgba(70, 214, 240, 0.05), transparent 70%); }
.hero-bg::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: linear-gradient(rgba(160, 176, 214, 0.055) 1px, transparent 1px), linear-gradient(90deg, rgba(160, 176, 214, 0.055) 1px, transparent 1px);
  background-size: 64px 64px;
  background-position: -1px -1px;
  -webkit-mask-image: radial-gradient(70% 65% at 62% 42%, #000 25%, transparent 78%);
  mask-image: radial-gradient(70% 65% at 62% 42%, #000 25%, transparent 78%);
}
.hero-bg::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: linear-gradient(90deg, transparent, rgba(91, 128, 255, 0.55) 50%, transparent); }

.hero-grid { position: relative; display: grid; grid-template-columns: minmax(0, 1.02fr) minmax(0, 1fr); gap: clamp(40px, 5vw, 80px); align-items: center; }
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 22px;
  padding: 8px 15px 8px 11px;
  border-radius: 999px;
  background: rgba(63, 102, 242, 0.08);
  box-shadow: inset 0 0 0 1px rgba(91, 128, 255, 0.28);
  font: 500 12px/1.3 var(--f-display);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--blue-300);
}
.pulse-dot { position: relative; flex: none; width: 8px; height: 8px; border-radius: 50%; background: var(--ok); }
.pulse-dot::after { content: ""; position: absolute; inset: -4px; border-radius: 50%; border: 1px solid var(--ok); opacity: 0; animation: ping 2.4s var(--ease-out) infinite; }
@keyframes ping { 0% { transform: scale(0.6); opacity: 0.8; } 100% { transform: scale(1.9); opacity: 0; } }

.hero-title { font-size: clamp(2.4rem, 2.9vw + 1.1rem, 4.3rem); line-height: 1.03; letter-spacing: -0.035em; }
.grad-text { background: linear-gradient(100deg, #ffffff 0%, #b4c5ff 42%, #c3b1ff 100%); -webkit-background-clip: text; background-clip: text; color: transparent; }
/* Texto de apoyo del hero en viñetas con icono: dos grupos (con qué / para qué) */
.hero-points {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  max-width: 620px;
  margin: 26px 0 0;
  border-radius: 18px;
  background: linear-gradient(135deg, rgba(63, 102, 242, 0.09), rgba(255, 255, 255, 0.015) 60%);
  box-shadow: inset 0 0 0 1px var(--line);
}
.hp-group { padding: 18px 20px 20px; min-width: 0; }
.hp-group + .hp-group { box-shadow: inset 1px 0 0 var(--line); }
.hp-lead { margin: 0 0 14px; font-size: 14.5px; line-height: 1.45; color: var(--muted); text-wrap: pretty; }
.hp-group ul { display: grid; gap: 10px; }
.hp-group li { display: flex; align-items: center; gap: 12px; font: 600 15.5px/1.3 var(--f-display); letter-spacing: -0.01em; color: var(--ink); }
.hp-ico {
  display: grid;
  place-items: center;
  flex: none;
  width: 34px;
  height: 34px;
  border-radius: 10px;
  background: linear-gradient(160deg, rgba(63, 102, 242, 0.34), rgba(18, 25, 46, 0.95) 70%);
  box-shadow: inset 0 0 0 1px rgba(143, 168, 255, 0.45), 0 8px 22px -10px rgba(63, 102, 242, 0.9);
  color: #b4c5ff;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.hero-actions .btn-lg { padding: 0 22px; }
.hero-trust { display: flex; flex-wrap: wrap; gap: 10px 26px; margin-top: 30px; padding-top: 20px; border-top: 1px solid var(--line); font-size: 13.5px; color: var(--muted); }
.hero-trust li { position: relative; padding-left: 18px; }
.hero-trust li::before { content: ""; position: absolute; left: 0; top: 0.62em; width: 8px; height: 1px; background: var(--blue-400); }
.hero-trust strong { font-weight: 600; color: var(--ink-2); }

/* Consola del ecosistema */
.console-wrap { position: relative; margin: 0; --px: 0; --py: 0; }
.console {
  position: relative;
  border-radius: 22px;
  background: linear-gradient(180deg, rgba(21, 28, 46, 0.92), rgba(10, 14, 25, 0.94));
  box-shadow: inset 0 0 0 1px var(--line-2), inset 0 1px 0 rgba(255, 255, 255, 0.07), 0 50px 100px -40px rgba(0, 0, 0, 0.9), 0 0 80px -30px rgba(63, 102, 242, 0.45);
  overflow: hidden;
  transform: translate3d(calc(var(--px) * -6px), calc(var(--py) * -6px), 0);
  transition: transform 0.7s var(--ease-out);
}
.console::before { content: ""; position: absolute; top: 0; left: 12%; right: 12%; height: 1px; background: linear-gradient(90deg, transparent, rgba(143, 168, 255, 0.8), transparent); }
.console-bar { display: flex; align-items: center; gap: 12px; padding: 13px 16px; border-bottom: 1px solid var(--line); font: 500 12px/1 var(--f-display); color: var(--muted); }
.dots { display: flex; gap: 6px; }
.dots i { width: 9px; height: 9px; border-radius: 50%; background: rgba(255, 255, 255, 0.12); }
.console-title { letter-spacing: 0.02em; }
.console-status { display: flex; align-items: center; gap: 8px; margin-left: 14px; padding-left: 14px; border-left: 1px solid var(--line-2); color: var(--ok); font-size: 11.5px; letter-spacing: 0.04em; }
.live { width: 7px; height: 7px; border-radius: 50%; background: var(--ok); animation: live 2.2s ease-in-out infinite; }
@keyframes live { 0%, 100% { box-shadow: 0 0 0 0 rgba(61, 214, 140, 0.55); } 50% { box-shadow: 0 0 0 5px rgba(61, 214, 140, 0); } }
.console-body { padding: 16px 16px 16px; }
.flow { width: 100%; height: auto; overflow: visible; }

.fl-col { font: 500 9px var(--f-display); letter-spacing: 0.18em; fill: var(--dim); }
.fl-path { fill: none; stroke: url(#fl-grad); stroke-width: 1.3; }
.fl-node rect { fill: rgba(255, 255, 255, 0.03); stroke: var(--line-2); }
.fl-node text { font: 500 12px var(--f-display); fill: var(--ink-2); }
.fl-node-out rect { fill: rgba(63, 102, 242, 0.08); stroke: rgba(91, 128, 255, 0.35); }
.fl-ico { fill: rgba(91, 128, 255, 0.25); stroke: var(--blue-400); stroke-width: 1.2; }
.fl-ico-ok { fill: rgba(61, 214, 140, 0.2); stroke: var(--ok); }
.fl-ico-v { fill: rgba(155, 123, 255, 0.22); stroke: var(--violet); }
.fl-ico-c { fill: rgba(70, 214, 240, 0.2); stroke: var(--cyan); }
.core-halo { fill: rgba(63, 102, 242, 0.08); }
.core-ring { fill: none; stroke: rgba(143, 168, 255, 0.45); stroke-width: 1; stroke-dasharray: 2 7; transform-origin: 262px 145px; animation: spin 26s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.core { fill: url(#fl-core); stroke: rgba(143, 168, 255, 0.7); stroke-width: 1; }
.core-text { font: 600 22px var(--f-display); fill: #fff; text-anchor: middle; }
.core-sub { font: 500 7.5px var(--f-display); letter-spacing: 0.2em; fill: var(--blue-300); text-anchor: middle; }
.pkts circle { fill: #dbe5ff; }
.pkts .pkt-out { fill: #c9b8ff; }

.feed { margin-top: 12px; padding-top: 14px; border-top: 1px solid var(--line); }
.feed-head { display: flex; justify-content: space-between; margin: 0 0 10px; font: 500 10px/1 var(--f-display); letter-spacing: 0.16em; text-transform: uppercase; color: var(--dim); }
.feed-list { display: grid; gap: 6px; }
.feed-list li { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 10px; padding: 8px 10px; border-radius: 10px; background: rgba(255, 255, 255, 0.025); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.04); font-size: 12.5px; line-height: 1.2; color: var(--ink-2); }
.feed-list li:nth-child(n + 5) { display: none; }
.feed-list li small { font: 500 11px var(--f-display); color: var(--dim); }
.feed-list li.is-new { animation: feed-in 0.7s var(--ease-out); }
@keyframes feed-in { from { opacity: 0; transform: translateY(-10px); } }
.ico { position: relative; width: 22px; height: 22px; border-radius: 7px; background: rgba(63, 102, 242, 0.16); }
.ico::after { content: ""; position: absolute; inset: 7px; border-radius: 50%; background: var(--blue-300); }
.ico-ai { background: rgba(155, 123, 255, 0.18); }
.ico-ai::after { background: var(--violet); border-radius: 2px; transform: rotate(45deg); }
.ico-ok { background: rgba(61, 214, 140, 0.16); }
.ico-ok::after { background: var(--ok); }
.ico-team { background: rgba(70, 214, 240, 0.14); }
.ico-team::after { background: var(--cyan); }

.float-card {
  position: absolute;
  z-index: 2;
  padding: 12px 14px;
  border-radius: 16px;
  background: rgba(17, 23, 40, 0.86);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  box-shadow: inset 0 0 0 1px var(--line-2), 0 28px 60px -24px rgba(0, 0, 0, 0.9);
  font-size: 12.5px;
  line-height: 1.35;
  transform: translate3d(calc(var(--px) * 14px), calc(var(--py) * 14px), 0);
  transition: transform 0.7s var(--ease-out);
}
.float-lead { top: -46px; right: -28px; width: 236px; animation: bob 8s ease-in-out infinite; }
.float-chat { bottom: -62px; left: -44px; width: 252px; animation: bob 9s ease-in-out -3s infinite; }
@keyframes bob { 50% { translate: 0 -7px; } }
.fc-head { display: flex; align-items: center; gap: 10px; }
.fc-head b { display: block; font: 600 13px/1.2 var(--f-display); color: var(--ink); }
.fc-head small { color: var(--dim); font-size: 11.5px; }
.avatar { display: grid; place-items: center; flex: none; width: 32px; height: 32px; border-radius: 50%; background: linear-gradient(135deg, #3f66f2, #9b7bff); font: 600 11px/1 var(--f-display); color: #fff; }
.fc-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 10px; }
.tag { padding: 4px 9px; border-radius: 999px; background: rgba(255, 255, 255, 0.05); box-shadow: inset 0 0 0 1px var(--line-2); font: 500 10.5px/1.2 var(--f-display); color: var(--ink-2); }
.tag-ok { background: rgba(61, 214, 140, 0.12); box-shadow: inset 0 0 0 1px rgba(61, 214, 140, 0.35); color: #8ff0bf; }
.bubble { margin: 0; padding: 8px 11px; border-radius: 12px; max-width: 92%; }
.bubble-in { background: rgba(255, 255, 255, 0.06); color: var(--ink-2); border-bottom-left-radius: 4px; }
.bubble-out { margin: 8px 0 0 auto; background: rgba(63, 102, 242, 0.9); color: #fff; border-bottom-right-radius: 4px; }

.motion-toggle {
  position: absolute;
  z-index: 3;
  right: 0;
  bottom: -50px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 32px;
  padding: 0 13px 0 11px;
  border: 0;
  border-radius: 999px;
  background: rgba(10, 14, 25, 0.85);
  box-shadow: inset 0 0 0 1px var(--line-2);
  color: var(--muted);
  cursor: pointer;
  transition: color 0.2s, box-shadow 0.2s;
}
.mt-label { font: 500 11.5px/1 var(--f-display); letter-spacing: 0.04em; }
.motion-toggle:hover { color: var(--ink); box-shadow: inset 0 0 0 1px var(--line-3); }
.motion-toggle .ic-play, .motion-toggle[aria-pressed="true"] .ic-pause { display: none; }
.motion-toggle[aria-pressed="true"] .ic-play { display: block; }
.no-js .motion-toggle { display: none; }
.console-wrap.is-paused .core-ring,
.console-wrap.is-paused .live,
.console-wrap.is-paused .float-card { animation-play-state: paused; }
.console-wrap.is-still .pkts { opacity: 0; }

/* ==========================================================================
   01 · PROBLEMA (scroll storytelling)
   ========================================================================== */
.problem { position: relative; padding-top: var(--section); }
.problem .sec-head { margin-bottom: 0; }
.problem .sec-title { max-width: 22ch; }
.problem-stage { position: relative; padding: 48px 0 var(--section); }
.js .problem-stage { height: 260vh; padding: 0; }
.problem-sticky { position: relative; }
.js .problem-sticky { position: sticky; top: 0; display: flex; align-items: center; height: 100vh; height: 100svh; padding-top: 64px; overflow: hidden; }
.problem-grid { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: clamp(32px, 5vw, 72px); align-items: center; }

.state-rail { display: flex; align-items: center; gap: 12px; margin-bottom: 36px; font: 500 11px/1 var(--f-display); letter-spacing: 0.14em; text-transform: uppercase; color: var(--dim); }
.state-track { position: relative; flex: 1; max-width: 160px; height: 2px; border-radius: 2px; background: var(--line-2); }
.state-track i { position: absolute; left: 0; top: 0; bottom: 0; width: calc(var(--p, 1) * 100%); border-radius: inherit; background: linear-gradient(90deg, var(--blue-400), var(--violet)); box-shadow: 0 0 12px rgba(91, 128, 255, 0.6); }
.state-b { transition: color 0.4s; }
.is-connected .state-b { color: var(--blue-300); }
.state-a { transition: color 0.4s; }
.problem-stage:not(.is-connected) .state-a { color: #ffb4b4; }
.no-js .state-a { color: var(--dim) !important; }

.state-text { display: grid; }
.state-block { grid-area: 1 / 1; transition: opacity 0.6s var(--ease), translate 0.6s var(--ease-out); }
.state-label { margin: 0 0 14px; font: 500 12px/1 var(--f-display); letter-spacing: 0.16em; text-transform: uppercase; color: var(--blue-300); }
.state-before .state-label { color: #ffb4b4; }
.state-big { margin: 0 0 18px; font: 600 clamp(1.6rem, 1.6vw + 1rem, 2.4rem)/1.1 var(--f-display); letter-spacing: -0.025em; color: var(--ink); }
.state-block p:last-child { margin: 0; color: var(--muted); max-width: 44ch; }
.js .state-after { opacity: 0; translate: 0 14px; pointer-events: none; }
.js .is-connected .state-before { opacity: 0; translate: 0 -14px; pointer-events: none; }
.js .is-connected .state-after { opacity: 1; translate: 0 0; pointer-events: auto; }
.no-js .state-text { gap: 32px; }
.no-js .state-block { grid-area: auto; }

.board-wrap { container-type: inline-size; width: 100%; }
.board { position: relative; width: 100%; aspect-ratio: 600 / 460; --p: 1; }
.js .board { --p: 0; }
.board-lines { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.board-lines path {
  fill: none;
  stroke: var(--blue-400);
  stroke-width: 1.5;
  stroke-dasharray: 1;
  stroke-dashoffset: calc(1 - clamp(0, (var(--p) - 0.55) * 2.4, 1));
  filter: drop-shadow(0 0 4px rgba(91, 128, 255, 0.8));
}
.board-lines-m { display: none; }

.board-core {
  position: absolute;
  left: 50%;
  top: 50%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1.6cqw;
  width: 22cqw;
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(circle at 50% 35%, rgba(63, 102, 242, 0.55), rgba(20, 28, 61, 0.9) 70%);
  box-shadow: inset 0 0 0 1px rgba(143, 168, 255, 0.55), 0 0 60px -10px rgba(63, 102, 242, calc(var(--p) * 0.9));
  text-align: center;
  transform: translate(-50%, -50%) scale(calc(0.55 + var(--p) * 0.45));
  opacity: calc(0.2 + var(--p) * 0.8);
}
.board-core img { width: 6.6cqw; height: 6.6cqw; border-radius: 50%; }
.board-core span { font: 600 clamp(9px, 1.9cqw, 13px)/1.15 var(--f-display); color: #fff; max-width: 14cqw; }

.frags { position: absolute; inset: 0; }
.frag {
  --x: calc(var(--x0) * (1 - var(--p)) + var(--x1) * var(--p));
  --y: calc(var(--y0) * (1 - var(--p)) + var(--y1) * var(--p));
  position: absolute;
  left: 50%;
  top: 50%;
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: 0.4cqw 1.6cqw;
  width: 30cqw;
  padding: 1.7cqw 2cqw;
  border-radius: 2.2cqw;
  background: rgba(17, 23, 40, 0.9);
  box-shadow: inset 0 0 0 1px rgba(160, 176, 214, calc(0.14 + var(--p) * 0.12)), 0 20px 40px -24px rgba(0, 0, 0, 0.9);
  transform: translate(-50%, -50%) translate(calc(var(--x) * 1cqw), calc(var(--y) * 1cqw)) rotate(calc(var(--r0) * (1 - var(--p)) * 1deg));
  will-change: transform;
}
.frag-dot { grid-row: span 2; width: 1.6cqw; min-width: 8px; aspect-ratio: 1; border-radius: 50%; background: var(--blue-400); background: color-mix(in srgb, #ff8b8b calc((1 - var(--p)) * 100%), var(--blue-400)); box-shadow: 0 0 10px color-mix(in srgb, #ff8b8b calc((1 - var(--p)) * 100%), var(--blue-400)); }
.frag-t { font: 600 clamp(11px, 2.35cqw, 15px)/1.2 var(--f-display); color: var(--ink); letter-spacing: -0.01em; }
.frag-s { position: relative; display: block; height: 1.3em; font: 500 clamp(9px, 1.6cqw, 11px)/1.3 var(--f-display); letter-spacing: 0.14em; text-transform: uppercase; }
.frag-s em { position: absolute; left: 0; top: 0; font-style: normal; }
.frag-s em:first-child { color: #ff9f9f; opacity: calc(1 - var(--p)); }
.frag-s em:last-child { color: var(--blue-300); opacity: var(--p); }

.frag:nth-child(1) { --x0: -26; --y0: -28; --r0: -9; --x1: -32; --y1: -19; }
.frag:nth-child(2) { --x0: 24; --y0: -25; --r0: 7; --x1: 32; --y1: -19; }
.frag:nth-child(3) { --x0: -32; --y0: 3; --r0: 5; --x1: -32; --y1: 0; }
.frag:nth-child(4) { --x0: 30; --y0: 9; --r0: -6; --x1: 32; --y1: 0; }
.frag:nth-child(5) { --x0: -16; --y0: 29; --r0: -5; --x1: -32; --y1: 19; }
.frag:nth-child(6) { --x0: 15; --y0: 26; --r0: 10; --x1: 32; --y1: 19; }

/* ==========================================================================
   02 · SOLUCIONES
   ========================================================================== */
.sol-grid { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 18px; }
.sol-a { grid-column: span 3; }
.sol-b { grid-column: span 3; }
.sol-c, .sol-d, .sol-e { grid-column: span 2; }
.sol-card {
  --mx: 50%;
  --my: 0%;
  position: relative;
  isolation: isolate;
  display: flex;
  flex-direction: column;
  border-radius: var(--r-lg);
  background: linear-gradient(180deg, var(--surface-2), var(--surface) 60%);
  box-shadow: inset 0 0 0 1px var(--line);
  overflow: hidden;
  transition: transform 0.5s var(--ease-out), box-shadow 0.4s var(--ease);
}
.sol-card::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: radial-gradient(420px circle at var(--mx) var(--my), rgba(91, 128, 255, 0.16), transparent 45%);
  opacity: 0;
  transition: opacity 0.4s var(--ease);
}
.sol-card::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 1px;
  background: radial-gradient(260px circle at var(--mx) var(--my), rgba(143, 168, 255, 0.75), transparent 60%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask: linear-gradient(#000 0 0) content-box exclude, linear-gradient(#000 0 0);
  opacity: 0;
  transition: opacity 0.4s var(--ease);
  pointer-events: none;
}
.sol-card:hover { transform: translateY(-4px); box-shadow: inset 0 0 0 1px var(--line-2), 0 30px 60px -30px rgba(0, 0, 0, 0.8); }
.sol-card:hover::before, .sol-card:hover::after, .sol-card:focus-within::after { opacity: 1; }
.sol-visual { position: relative; height: 210px; border-bottom: 1px solid var(--line); background: radial-gradient(80% 90% at 50% 0%, rgba(63, 102, 242, 0.1), transparent 70%); overflow: hidden; }
.sol-a .sol-visual, .sol-b .sol-visual { height: 250px; }
.sol-visual .sv { width: 100%; height: 100%; transition: transform 0.8s var(--ease-out); }
.sol-card:hover .sv { transform: scale(1.04); }
.sol-body { display: flex; flex-direction: column; flex: 1; padding: 26px 26px 28px; }
.sol-num { display: flex; align-items: center; gap: 10px; margin: 0 0 14px; font: 500 12px/1 var(--f-display); letter-spacing: 0.12em; color: var(--blue-300); }
.sol-num span { letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); }
.sol-body h3 { font-size: clamp(1.25rem, 0.6vw + 1.05rem, 1.55rem); margin-bottom: 12px; }
.sol-body > p { margin: 0 0 18px; color: var(--muted); font-size: 15px; }
.sol-list { display: grid; gap: 8px; margin: 0 0 24px; }
.sol-list li { position: relative; padding-left: 20px; font-size: 14px; color: var(--ink-2); }
.sol-list li::before { content: ""; position: absolute; left: 0; top: 0.6em; width: 9px; height: 9px; border-radius: 3px; box-shadow: inset 0 0 0 1.5px var(--blue-400); transition: background-color 0.3s; }
.sol-card:hover .sol-list li::before { background: var(--blue-400); }
.sol-body .link-arrow { margin-top: auto; }
.section-foot { margin: 40px 0 0; text-align: center; font: 500 12.5px/1.6 var(--f-display); letter-spacing: 0.12em; text-transform: uppercase; color: var(--dim); }

/* Ilustraciones de las tarjetas (SVG) */
.sv-panel { fill: rgba(255, 255, 255, 0.025); stroke: var(--line-2); }
.sv-label { font: 500 9px var(--f-display); letter-spacing: 0.18em; fill: var(--dim); }
.sv-live { fill: var(--ok); }
.sv-row { fill: rgba(255, 255, 255, 0.03); stroke: rgba(255, 255, 255, 0.06); }
.sv-row-active { fill: rgba(63, 102, 242, 0.1); stroke: rgba(91, 128, 255, 0.4); }
.sv-ok { fill: rgba(61, 214, 140, 0.18); }
.sv-check { fill: none; stroke: var(--ok); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.sv-spin { fill: none; stroke: var(--blue-400); stroke-width: 2; stroke-dasharray: 30 14; transform-box: fill-box; transform-origin: center; animation: spin 1.6s linear infinite; }
.sv-text { font: 500 12px var(--f-body); fill: var(--ink-2); }
.sv-meta { font: 500 10.5px var(--f-display); fill: var(--dim); }
.sv-meta-acc { fill: var(--blue-300); }
.sv-links path { stroke: rgba(91, 128, 255, 0.45); stroke-width: 1.2; stroke-dasharray: 3 4; fill: none; }
.sv-halo { fill: rgba(63, 102, 242, 0.1); }
.sv-core { fill: rgba(63, 102, 242, 0.35); stroke: var(--blue-300); }
.sv-core-t { font: 600 10px var(--f-display); fill: #fff; }
.sv-pill rect { fill: rgba(13, 18, 30, 0.95); stroke: var(--line-3); }
.sv-pill text { font: 500 11.5px var(--f-display); fill: var(--ink-2); }
.sv-pill-acc rect { fill: rgba(63, 102, 242, 0.22); stroke: var(--blue-400); }
.sv-divider { stroke: var(--line-2); }
.sv-dot { fill: rgba(255, 255, 255, 0.14); }
.sv-sk { fill: rgba(255, 255, 255, 0.08); }
.sv-sk-strong { fill: rgba(255, 255, 255, 0.24); }
.sv-sk-acc { fill: rgba(91, 128, 255, 0.35); }
.sv-btn { fill: var(--blue-500); }
.sv-btn-t { font: 600 10px var(--f-body); fill: #fff; }
.sv-cursor { fill: #fff; stroke: #0b1020; stroke-width: 1; }
.sv-img { fill: rgba(91, 128, 255, 0.1); stroke: var(--line-2); }
.sv-img-c { fill: rgba(155, 123, 255, 0.28); }
.sv-wa { fill: var(--ok); }
.sv-bub-in { fill: rgba(255, 255, 255, 0.07); }
.sv-bub-out { fill: var(--blue-500); }
.sv-bub-t { font: 500 11px var(--f-body); fill: var(--ink-2); }
.sv-bub-t-out { fill: #fff; }
.sv-typing { fill: var(--muted); animation: typing 1.4s ease-in-out infinite; }
.sv-typing:nth-of-type(2) { animation-delay: 0.2s; }
.sv-typing:nth-of-type(3) { animation-delay: 0.4s; }
@keyframes typing { 0%, 60%, 100% { opacity: 0.3; } 30% { opacity: 1; } }
.sv-bar { fill: rgba(255, 255, 255, 0.07); }
.sv-bar-fill { fill: var(--blue-400); }
.sv-bar-grow { transform-box: fill-box; transform-origin: left; transition: transform 1s var(--ease-out); }
.sol-card:hover .sv-bar-grow { transform: scaleX(1.5); }
.sv-ring { fill: none; stroke: var(--blue-400); stroke-width: 1.8; stroke-dasharray: 32 16; }

/* ==========================================================================
   03 · ECOSISTEMA
   ========================================================================== */
.eco { background: linear-gradient(180deg, transparent, rgba(13, 18, 30, 0.6) 30%, rgba(13, 18, 30, 0.6) 70%, transparent); }
.journey { position: relative; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 24px; margin-bottom: clamp(56px, 7vw, 96px); }
.journey::before, .journey::after { content: ""; position: absolute; left: 8px; right: 8px; top: 7px; height: 2px; border-radius: 2px; }
.journey::before { background: var(--line-2); }
.journey::after { background: linear-gradient(90deg, var(--blue-400), var(--violet)); box-shadow: 0 0 14px rgba(91, 128, 255, 0.6); transform: scaleX(0); transform-origin: left; transition: transform 1.8s var(--ease-out); }
.journey.is-on::after, .no-js .journey::after { transform: scaleX(1); }
.j-step { position: relative; padding-top: 38px; }
.j-node { position: absolute; left: 0; top: 0; width: 16px; height: 16px; border-radius: 50%; background: var(--bg); box-shadow: inset 0 0 0 2px var(--line-3); transition: box-shadow 0.5s var(--ease), background-color 0.5s; }
.journey.is-on .j-node, .no-js .j-node { background: var(--blue-400); box-shadow: inset 0 0 0 2px var(--blue-300), 0 0 0 5px rgba(91, 128, 255, 0.15), 0 0 16px rgba(91, 128, 255, 0.7); }
.journey.is-on .j-step:nth-child(2) .j-node { transition-delay: 0.35s; }
.journey.is-on .j-step:nth-child(3) .j-node { transition-delay: 0.7s; }
.journey.is-on .j-step:nth-child(4) .j-node { transition-delay: 1.05s; }
.journey.is-on .j-step:nth-child(5) .j-node { transition-delay: 1.4s; }
.j-idx { margin: 0 0 10px; font: 500 11.5px/1 var(--f-display); letter-spacing: 0.14em; text-transform: uppercase; color: var(--blue-300); }
.j-step h3 { margin-bottom: 10px; font-size: 1.2rem; }
.j-step p:last-child { margin: 0; font-size: 14.5px; color: var(--muted); }

.compare { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.cmp { padding: clamp(26px, 3vw, 40px); border-radius: var(--r-lg); box-shadow: inset 0 0 0 1px var(--line); background: var(--surface); }
.cmp-label { margin: 0 0 16px; font: 500 12px/1 var(--f-display); letter-spacing: 0.16em; text-transform: uppercase; color: var(--dim); }
.cmp h3 { margin-bottom: 22px; font-size: clamp(1.5rem, 1vw + 1.1rem, 2rem); }
.cmp ul { display: grid; gap: 12px; }
.cmp li { position: relative; padding-left: 28px; color: var(--muted); }
.cmp-old h3 { color: var(--muted); }
.cmp-old li::before { content: ""; position: absolute; left: 2px; top: 0.72em; width: 12px; height: 1.5px; background: var(--dim); }
.cmp-new { background: linear-gradient(160deg, rgba(63, 102, 242, 0.16), rgba(13, 18, 30, 0.9) 55%); box-shadow: inset 0 0 0 1px rgba(91, 128, 255, 0.35); }
.cmp-new .cmp-label { color: var(--blue-300); }
.cmp-new li { color: var(--ink-2); }
.cmp-new li::before { content: ""; position: absolute; left: 0; top: 0.35em; width: 16px; height: 16px; border-radius: 50%; background: rgba(91, 128, 255, 0.2) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M5.5 10.5l3 3L14.5 7' fill='none' stroke='%238fa8ff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 12px no-repeat; }

.statement { margin: clamp(64px, 8vw, 112px) 0 0; text-align: center; }
.statement p { max-width: 24ch; margin: 0 auto; font: 600 clamp(1.9rem, 3vw + 0.8rem, 3.4rem)/1.08 var(--f-display); letter-spacing: -0.03em; color: var(--muted); }
.statement em { font-style: normal; color: var(--ink); }

/* ==========================================================================
   04 · SHOWCASE (carrusel)
   ========================================================================== */
.show { overflow: hidden; }
.show-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 32px; }
.show-head .sec-head { margin-bottom: 44px; }
.car-arrows { display: flex; gap: 10px; margin-bottom: 44px; }
.car-arrows[hidden] { display: none; }
.car-btn {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.03);
  box-shadow: inset 0 0 0 1px var(--line-2);
  color: var(--ink);
  cursor: pointer;
  transition: background-color 0.2s, box-shadow 0.2s, opacity 0.2s, transform 0.2s;
}
.car-btn:hover:not([disabled]) { background: var(--blue-500); box-shadow: inset 0 0 0 1px var(--blue-400); }
.car-btn:active:not([disabled]) { transform: scale(0.95); }
.car-btn[disabled] { opacity: 0.35; cursor: default; }

.carousel { position: relative; }
.track {
  --pad: max(var(--gutter), calc((100vw - var(--container)) / 2));
  position: relative;
  display: flex;
  gap: 20px;
  padding: 4px var(--pad) 8px;
  overflow-x: auto;
  overscroll-behavior-x: contain;
  scroll-snap-type: x mandatory;
  scroll-padding-inline: var(--pad);
  scrollbar-width: none;
  cursor: grab;
}
.track::-webkit-scrollbar { display: none; }
.track.is-dragging { scroll-snap-type: none; cursor: grabbing; user-select: none; }
.track.is-dragging a { pointer-events: none; }
.track:focus-visible { outline-offset: -2px; }
.slide { flex: none; width: min(78vw, 700px); scroll-snap-align: start; }
.slide-card { height: 100%; display: flex; flex-direction: column; }
.slide-media {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  background: var(--surface);
  box-shadow: inset 0 0 0 1px var(--line-2), 0 40px 80px -40px rgba(0, 0, 0, 0.9);
  aspect-ratio: 16 / 10;
}
.slide-media::after { content: ""; position: absolute; inset: 0; border-radius: inherit; box-shadow: inset 0 0 0 1px var(--line-2); pointer-events: none; transition: box-shadow 0.4s; }
.slide-media .mk { width: 100%; height: 100%; transition: transform 0.9s var(--ease-out); }
.slide-card:hover .mk { transform: scale(1.03); }
.slide-card:hover .slide-media::after { box-shadow: inset 0 0 0 1px rgba(143, 168, 255, 0.5); }
.slide-meta { padding: 24px 4px 0; max-width: 56ch; }
.slide-cat { display: flex; align-items: center; gap: 12px; margin: 0 0 10px; font: 500 12px/1 var(--f-display); letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); }
.badge { padding: 5px 9px; border-radius: 999px; background: rgba(155, 123, 255, 0.12); box-shadow: inset 0 0 0 1px rgba(155, 123, 255, 0.35); font-size: 10.5px; letter-spacing: 0.12em; color: #cdbdff; }
.slide-meta h3 { margin-bottom: 10px; font-size: clamp(1.3rem, 0.7vw + 1.05rem, 1.7rem); }
.slide-meta p:not(.slide-cat) { margin: 0 0 16px; color: var(--muted); font-size: 15px; }

/* Modo en movimiento continuo (lo activa main.js) */
.carousel.is-marquee {
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 3%, #000 97%, transparent 100%);
  mask-image: linear-gradient(90deg, transparent 0, #000 3%, #000 97%, transparent 100%);
}
.carousel.is-marquee .track { width: max-content; overflow: visible; scroll-snap-type: none; touch-action: pan-y; will-change: transform; }
.carousel.is-marquee .track.is-dragging { user-select: none; }

.car-foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 12px 20px; margin-top: 32px; padding: 0 var(--gutter); }
.car-foot[hidden] { display: none; }
.car-dots { display: flex; justify-content: center; gap: 8px; }
.car-play {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 34px;
  padding: 0 14px 0 12px;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.03);
  box-shadow: inset 0 0 0 1px var(--line-2);
  font: 500 12px/1 var(--f-display);
  letter-spacing: 0.04em;
  color: var(--muted);
  cursor: pointer;
  transition: color 0.2s, box-shadow 0.2s;
}
.car-play:hover { color: var(--ink); box-shadow: inset 0 0 0 1px var(--line-3); }
.car-play .ic-play, .car-play[aria-pressed="true"] .ic-pause { display: none; }
.car-play[aria-pressed="true"] .ic-play { display: block; }
.car-dots button { position: relative; width: 28px; height: 28px; border: 0; background: none; cursor: pointer; }
.car-dots button::before { content: ""; position: absolute; left: 50%; top: 50%; width: 8px; height: 8px; margin: -4px 0 0 -4px; border-radius: 999px; background: var(--line-3); transition: width 0.4s var(--ease-out), margin 0.4s var(--ease-out), background-color 0.3s; }
.car-dots button[aria-current="true"]::before { width: 24px; margin-left: -12px; background: var(--blue-400); }

/* Maquetas (SVG) */
.mk text { font-family: var(--f-body); }
.mk-bg { fill: #0b1020; }
.mk-side { fill: #0f1628; }
.mk-acc { fill: var(--blue-500); }
.mk-acc-soft { fill: rgba(91, 128, 255, 0.22); }
.mk-sk { fill: rgba(255, 255, 255, 0.07); }
.mk-sk2 { fill: rgba(255, 255, 255, 0.15); }
.mk-strong { fill: rgba(255, 255, 255, 0.28); }
.mk-h { font: 600 17px var(--f-display) !important; fill: var(--ink); }
.mk-t { font-size: 12.5px; font-weight: 600; fill: var(--ink-2); }
.mk-t-dim { fill: var(--dim); }
.mk-s { font-size: 11.5px; font-weight: 500; fill: var(--muted); }
.mk-s-acc { fill: var(--blue-300); }
.mk-xs { font: 500 8.5px var(--f-display) !important; letter-spacing: 0.16em; fill: var(--dim); }
.mk-pill { fill: rgba(255, 255, 255, 0.04); stroke: var(--line-2); }
.mk-card { fill: #121a2d; stroke: rgba(255, 255, 255, 0.06); }
.mk-card-drag { fill: #172241; stroke: var(--blue-400); stroke-width: 1.4; filter: drop-shadow(0 14px 18px rgba(0, 0, 0, 0.6)); }
.mk-card-slot { fill: rgba(91, 128, 255, 0.05); stroke: rgba(91, 128, 255, 0.4); stroke-dasharray: 4 4; }
.mk-tag { fill: rgba(91, 128, 255, 0.28); }
.mk-tag-v { fill: rgba(155, 123, 255, 0.3); }
.mk-tag-c { fill: rgba(70, 214, 240, 0.25); }
.mk-tag-ok { fill: rgba(61, 214, 140, 0.25); }
.mk-tag-t { font-size: 10.5px; font-weight: 600; fill: #8ff0bf; }
.mk-dot-a { fill: var(--blue-400); }
.mk-dot-b { fill: var(--violet); }
.mk-dot-c { fill: var(--cyan); }
.mk-dot-ok { fill: var(--ok); }
.mk-griddot { fill: rgba(160, 176, 214, 0.13); }
.mk-wire { fill: none; stroke: rgba(160, 176, 214, 0.35); stroke-width: 1.5; }
.mk-wire-acc { stroke: var(--blue-400); stroke-width: 2; }
.mk-wire-dash { stroke-dasharray: 5 5; }
.mk-node { fill: #111a2e; stroke: rgba(160, 176, 214, 0.2); }
.mk-node-cond { stroke: var(--violet); stroke-dasharray: 5 4; }
.mk-node-on { stroke: var(--blue-400); fill: #13203f; }
.mk-node-ic { fill: rgba(255, 255, 255, 0.1); }
.mk-node-ic-acc { fill: var(--blue-500); }
.mk-node-ic-v { fill: rgba(155, 123, 255, 0.55); }
.mk-node-ic-ok { fill: rgba(61, 214, 140, 0.6); }
.mk-btn-t { font-size: 12px; font-weight: 700; fill: #fff; }
.mk-cursor { fill: #fff; stroke: #0b1020; stroke-width: 1.2; }
.mk-hero-img { fill: #121b33; }
.mk-hero-c1 { fill: rgba(91, 128, 255, 0.35); }
.mk-hero-c2 { fill: rgba(155, 123, 255, 0.5); }
.mk-float { fill: #1a2440; stroke: var(--line-3); }
.mk-wa { fill: var(--ok); }
.mk-glow { fill: rgba(63, 102, 242, 0.14); }
.mk-phone { fill: #0e1426; stroke: var(--line-3); stroke-width: 1.5; }
.mk-divider { stroke: var(--line-2); }
.mk-bub-in { fill: rgba(255, 255, 255, 0.08); }
.mk-bub-out { fill: var(--blue-500); }
.mk-bt { font-size: 10.5px; font-weight: 500; fill: var(--ink-2); }
.mk-bt-out { fill: #fff; }
.mk-input { fill: rgba(255, 255, 255, 0.05); stroke: var(--line-2); }
.mk-panel { fill: #10182b; stroke: var(--line-2); }
.mk-video { fill: #131d38; stroke: var(--line-2); }
.mk-play { fill: var(--blue-500); }
.mk-play-i { fill: #fff; }
.mk-okc { fill: rgba(61, 214, 140, 0.2); }
.mk-check { fill: none; stroke: var(--ok); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.mk-ringc { fill: none; stroke: var(--blue-400); stroke-width: 2; stroke-dasharray: 38 24; }
.mk-lock { fill: rgba(255, 255, 255, 0.06); stroke: var(--line-2); }
.mk-bar { fill: rgba(255, 255, 255, 0.07); }
.mk-bar-f { fill: var(--blue-400); }
.mk-bp-bg { fill: #0a1330; }
.mk-bpline { fill: none; stroke: rgba(143, 168, 255, 0.09); stroke-width: 1; }
.mk-bp-col { font: 500 9px var(--f-display) !important; letter-spacing: 0.18em; fill: var(--blue-300); }
.mk-bp-dim { stroke: rgba(143, 168, 255, 0.35); stroke-width: 1; fill: none; }
.mk-bp-box rect { fill: rgba(10, 19, 48, 0.9); stroke: rgba(143, 168, 255, 0.55); stroke-width: 1.2; }
.mk-bp-box text { font: 500 12px var(--f-display) !important; fill: #dce5ff; }
.mk-bp-key rect { fill: rgba(63, 102, 242, 0.25); stroke: #a9bdff; stroke-width: 1.5; }
.mk-bp-wire { fill: none; stroke: #a9bdff; stroke-width: 1.3; stroke-dasharray: 4 3; }
.mk-bp-title { fill: rgba(10, 19, 48, 0.95); stroke: rgba(143, 168, 255, 0.5); }
.mk-bp-tt { font: 600 8.5px var(--f-display) !important; letter-spacing: 0.12em; fill: #dce5ff; }
.mk-bp-ts { font: 500 9.5px var(--f-display) !important; fill: var(--blue-300); }

/* ==========================================================================
   05 · METODOLOGÍA
   ========================================================================== */
.method-grid { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: clamp(40px, 7vw, 120px); }
.method-sticky { position: sticky; top: 120px; }
.method-sticky .sec-lead { max-width: 44ch; }
.phase-counter { display: flex; align-items: baseline; gap: 10px; margin: 44px 0 0; font: 500 13px/1 var(--f-display); letter-spacing: 0.14em; text-transform: uppercase; color: var(--dim); }
.phase-counter b { font: 600 clamp(3rem, 4vw, 4.5rem)/1 var(--f-display); letter-spacing: -0.04em; color: var(--ink); font-variant-numeric: tabular-nums; }
.phases-wrap { position: relative; padding-left: 44px; }
.phases-rail { position: absolute; left: 7px; top: 12px; bottom: 12px; width: 2px; border-radius: 2px; background: var(--line-2); overflow: hidden; }
.phases-fill { position: absolute; inset: 0; background: linear-gradient(180deg, var(--blue-400), var(--violet)); transform: scaleY(var(--fill, 0)); transform-origin: top; box-shadow: 0 0 12px rgba(91, 128, 255, 0.6); }
.no-js .phases-fill { transform: none; }
.phases { display: grid; gap: clamp(40px, 6vw, 72px); }
.phase { position: relative; padding: 0 0 0; }
.phase-node { position: absolute; left: -44px; top: 4px; width: 16px; height: 16px; border-radius: 50%; background: var(--bg); box-shadow: inset 0 0 0 2px var(--line-3); transition: background-color 0.45s var(--ease), box-shadow 0.45s var(--ease); }
.phase.is-reached .phase-node, .no-js .phase-node { background: var(--blue-400); box-shadow: inset 0 0 0 2px var(--blue-300), 0 0 0 6px rgba(91, 128, 255, 0.14), 0 0 18px rgba(91, 128, 255, 0.7); }
.phase-num { margin: 0 0 12px; font: 500 12px/1 var(--f-display); letter-spacing: 0.16em; text-transform: uppercase; color: var(--dim); transition: color 0.4s; }
.phase.is-reached .phase-num { color: var(--blue-300); }
.phase h3 { margin-bottom: 12px; font-size: clamp(1.6rem, 1.4vw + 1.05rem, 2.3rem); letter-spacing: -0.025em; color: var(--muted); transition: color 0.45s; }
.phase.is-reached h3, .no-js .phase h3 { color: var(--ink); }
.phase p { max-width: 48ch; color: var(--muted); }
.phase-tag { display: inline-flex; margin: 4px 0 0; padding: 6px 12px; border-radius: 999px; background: rgba(255, 255, 255, 0.03); box-shadow: inset 0 0 0 1px var(--line-2); font: 500 12px/1.2 var(--f-display); color: var(--ink-2); }
.phase-tag-you { background: rgba(63, 102, 242, 0.12); box-shadow: inset 0 0 0 1px rgba(91, 128, 255, 0.4); color: var(--blue-300); }

/* ==========================================================================
   06 · NOSOTROS
   ========================================================================== */
.about-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 18px; }
.founder {
  position: relative;
  margin: 0;
  padding: clamp(28px, 4vw, 52px);
  border-radius: var(--r-lg);
  background: radial-gradient(90% 70% at 0% 0%, rgba(63, 102, 242, 0.16), transparent 60%), var(--surface);
  box-shadow: inset 0 0 0 1px var(--line-2);
  overflow: hidden;
}
.founder::after { content: "“"; position: absolute; right: 24px; top: -30px; font: 700 220px/1 var(--f-display); color: rgba(143, 168, 255, 0.06); pointer-events: none; }
.founder-mark img { width: 72px; height: 72px; border-radius: 50%; box-shadow: 0 0 0 1px var(--line-3), 0 0 40px -8px rgba(91, 128, 255, 0.6); }
.founder blockquote { margin: 28px 0 24px; }
.founder blockquote p { margin: 0; font: 500 clamp(1.35rem, 1.1vw + 1rem, 1.85rem)/1.3 var(--f-display); letter-spacing: -0.02em; color: var(--ink); }
.founder figcaption { display: grid; gap: 4px; margin-bottom: 20px; }
.founder figcaption strong { font: 600 16px/1.2 var(--f-display); color: var(--ink); }
.founder figcaption span { font-size: 14px; color: var(--blue-300); }
.founder-bio { margin: 0; padding-top: 20px; border-top: 1px solid var(--line); font-size: 15px; color: var(--muted); }
.about-side { display: grid; gap: 18px; align-content: start; }
.principles { display: grid; gap: 12px; }
.principle { display: grid; grid-template-columns: auto 1fr; gap: 4px 18px; padding: 22px 24px; border-radius: var(--r); background: var(--surface); box-shadow: inset 0 0 0 1px var(--line); transition: box-shadow 0.3s, transform 0.4s var(--ease-out); }
.principle:hover { box-shadow: inset 0 0 0 1px var(--line-3); transform: translateX(3px); }
.principle-n { grid-row: span 2; margin: 0; display: grid; place-items: center; width: 36px; height: 36px; border-radius: 10px; background: var(--blue-soft); font: 600 14px/1 var(--f-display); color: var(--blue-300); }
.principle h3 { font-size: 1.08rem; }
.principle p:last-child { margin: 0; font-size: 14.5px; color: var(--muted); }
.specs { padding: 24px; border-radius: var(--r); background: var(--surface); box-shadow: inset 0 0 0 1px var(--line); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chips li { padding: 7px 12px; border-radius: 999px; background: rgba(255, 255, 255, 0.03); box-shadow: inset 0 0 0 1px var(--line-2); font-size: 13px; color: var(--ink-2); transition: box-shadow 0.2s, color 0.2s; }
.chips li:hover { box-shadow: inset 0 0 0 1px rgba(91, 128, 255, 0.5); color: #fff; }

.coverage { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr); gap: 32px; align-items: center; margin-top: 18px; padding: clamp(28px, 4vw, 48px); border-radius: var(--r-lg); background: var(--surface); box-shadow: inset 0 0 0 1px var(--line); }
.coverage-lead { max-width: 50ch; margin: 0 0 28px; font-size: 1.05rem; color: var(--ink-2); }
.sedes { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.sedes li { display: flex; gap: 10px; align-items: flex-start; }
.sedes svg { flex: none; margin-top: 2px; color: var(--blue-300); }
.sedes strong { display: block; font: 600 14.5px/1.3 var(--f-display); color: var(--ink); }
.sedes span { font-size: 13px; color: var(--dim); }
.map { width: 100%; max-width: 300px; justify-self: center; overflow: visible; }
.map-dot { fill: rgba(160, 176, 214, 0.14); }
.map-arc { fill: none; stroke: var(--blue-400); stroke-width: 1.4; stroke-dasharray: 4 5; opacity: 0.8; }
.map-arc-2 { stroke: var(--violet); opacity: 0.55; }
.map-pt circle { fill: var(--blue-300); }
.map-pt .map-ring { fill: rgba(91, 128, 255, 0.14); stroke: rgba(143, 168, 255, 0.5); }
.map-pt text { font: 500 12px var(--f-display); fill: var(--ink-2); }
.map-pt-main circle { fill: #fff; }
.map-pt-main .map-ring { fill: rgba(91, 128, 255, 0.25); stroke: var(--blue-300); }

/* ==========================================================================
   07 · INDUSTRIAS
   ========================================================================== */
.ind-box { border-radius: var(--r-lg); background: var(--surface); box-shadow: inset 0 0 0 1px var(--line); overflow: hidden; }
.ind-tabs { display: flex; gap: 4px; padding: 8px; border-bottom: 1px solid var(--line); overflow-x: auto; scrollbar-width: none; }
.ind-tabs::-webkit-scrollbar { display: none; }
.no-js .ind-tabs { display: none; }
.ind-tabs button {
  flex: none;
  padding: 12px 18px;
  border: 0;
  border-radius: 12px;
  background: none;
  font: 500 14px/1.2 var(--f-body);
  color: var(--muted);
  cursor: pointer;
  transition: background-color 0.25s, color 0.25s, box-shadow 0.25s;
}
.ind-tabs button:hover { color: var(--ink); background: rgba(255, 255, 255, 0.03); }
.ind-tabs button[aria-selected="true"] { color: #fff; background: rgba(63, 102, 242, 0.16); box-shadow: inset 0 0 0 1px rgba(91, 128, 255, 0.45); }
.ind-panel { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr); gap: clamp(28px, 5vw, 72px); padding: clamp(28px, 4vw, 52px); }
.no-js .ind-panel + .ind-panel { border-top: 1px solid var(--line); }
.ind-panel[hidden] { display: none; }
.ind-panel.is-entering { animation: panel-in 0.6s var(--ease-out); }
@keyframes panel-in { from { opacity: 0; transform: translateY(10px); } }
.ind-sector { margin: 0 0 22px; font: 600 clamp(1.3rem, 1vw + 1rem, 1.7rem)/1.2 var(--f-display); color: var(--ink); letter-spacing: -0.02em; }
.ind-k { margin: 0 0 10px; font: 500 11.5px/1 var(--f-display); letter-spacing: 0.16em; text-transform: uppercase; color: var(--dim); }
.ind-copy h3 { margin-bottom: 28px; font: 500 clamp(1.1rem, 0.5vw + 1rem, 1.3rem)/1.45 var(--f-body); letter-spacing: -0.01em; color: var(--ink-2); max-width: 46ch; }
.ind-apps { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 28px; }
.ind-apps li { padding: 8px 13px; border-radius: 10px; background: rgba(63, 102, 242, 0.1); box-shadow: inset 0 0 0 1px rgba(91, 128, 255, 0.28); font-size: 13.5px; color: var(--ink-2); }
.ind-flow { padding: 24px; border-radius: var(--r); background: var(--bg-2); box-shadow: inset 0 0 0 1px var(--line); }
.flow-steps { position: relative; display: grid; gap: 14px; counter-reset: fs; }
.flow-steps::before { content: ""; position: absolute; left: 15px; top: 16px; bottom: 16px; width: 2px; background: linear-gradient(180deg, var(--blue-400), var(--violet)); opacity: 0.5; }
.flow-steps li { position: relative; display: flex; align-items: center; gap: 14px; padding: 4px 0; font: 500 14.5px/1.3 var(--f-body); color: var(--ink-2); counter-increment: fs; }
.flow-steps li::before { content: counter(fs, decimal-leading-zero); position: relative; display: grid; place-items: center; flex: none; width: 32px; height: 32px; border-radius: 10px; background: var(--surface-2); box-shadow: inset 0 0 0 1px rgba(91, 128, 255, 0.45); font: 600 11px/1 var(--f-display); color: var(--blue-300); }
.flow-steps li:last-child::before { background: var(--blue-500); color: #fff; box-shadow: 0 0 18px -2px rgba(63, 102, 242, 0.8); }

/* ==========================================================================
   08 · PLANES
   ========================================================================== */
.custom {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(0, 0.7fr);
  gap: 32px 56px;
  align-items: center;
  padding: clamp(28px, 4.5vw, 56px);
  border-radius: var(--r-lg);
  background: radial-gradient(70% 120% at 100% 0%, rgba(155, 123, 255, 0.14), transparent 60%), radial-gradient(60% 100% at 0% 100%, rgba(63, 102, 242, 0.18), transparent 60%), var(--surface);
  box-shadow: inset 0 0 0 1px rgba(91, 128, 255, 0.35);
  overflow: hidden;
}
.custom-label { margin: 0 0 16px; font: 500 12px/1 var(--f-display); letter-spacing: 0.16em; text-transform: uppercase; color: var(--blue-300); }
.custom h3 { margin-bottom: 16px; font-size: clamp(1.5rem, 1.3vw + 1.05rem, 2.2rem); max-width: 24ch; }
.custom-copy > p:not(.custom-label) { margin: 0 0 28px; color: var(--muted); max-width: 52ch; }
.custom-list { display: grid; gap: 12px; }
.custom-list li { display: flex; align-items: center; gap: 12px; padding: 14px 16px; border-radius: 12px; background: rgba(7, 10, 18, 0.5); box-shadow: inset 0 0 0 1px var(--line-2); font: 500 14.5px/1.3 var(--f-body); color: var(--ink); }
.custom-list svg { flex: none; color: var(--blue-300); }

.plans-head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 8px 32px; margin: clamp(56px, 7vw, 88px) 0 24px; }
.plans-head .mini-title { margin: 0; }
.plans-head p { margin: 0; font-size: 14.5px; color: var(--muted); }
.plan-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; align-items: start; }
.plan { display: flex; flex-direction: column; height: 100%; padding: 26px 24px; border-radius: var(--r-lg); background: var(--surface); box-shadow: inset 0 0 0 1px var(--line); transition: box-shadow 0.3s, transform 0.5s var(--ease-out); }
.plan:hover { box-shadow: inset 0 0 0 1px var(--line-3); transform: translateY(-3px); }
.plan-name { margin: 0 0 18px; font: 600 16px/1.25 var(--f-display); color: var(--ink); }
.plan-price { display: flex; align-items: flex-start; gap: 6px; margin: 0; font: 600 44px/1 var(--f-display); letter-spacing: -0.04em; color: var(--ink); }
.plan-price span { margin-top: 6px; font-size: 14px; letter-spacing: 0; color: var(--muted); }
.plan-term { margin: 10px 0 22px; padding-bottom: 20px; border-bottom: 1px solid var(--line); font-size: 13px; color: var(--dim); }
.plan-feats { display: grid; gap: 9px; margin-bottom: 18px; }
.plan-feats li { position: relative; padding-left: 22px; font-size: 13.5px; line-height: 1.45; color: var(--ink-2); }
.plan-feats li::before { content: ""; position: absolute; left: 0; top: 0.28em; width: 14px; height: 14px; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M5 10.5l3.2 3.2L15 7' fill='none' stroke='%238fa8ff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat; }
.plan-feats li.is-extra { display: none; }
.plan-feats.is-open li.is-extra { display: block; animation: panel-in 0.4s var(--ease-out); }
.feats-more { align-self: flex-start; margin: -6px 0 22px; padding: 4px 0; border: 0; background: none; font: 600 13px/1.3 var(--f-body); color: var(--blue-300); cursor: pointer; text-decoration: underline; text-underline-offset: 3px; text-decoration-color: rgba(143, 168, 255, 0.4); }
.feats-more:hover { color: #fff; }
.plan-cta { margin-top: auto; width: 100%; }
.pay { margin: 28px 0 0; font-size: 14px; color: var(--muted); }
.pay strong { color: var(--ink-2); font-weight: 600; }
.pay a { margin-left: 6px; font-weight: 600; color: var(--blue-300); }
.pay a:hover { color: #fff; }

/* ==========================================================================
   09 · FORMAS DE PAGO
   ========================================================================== */
.payments { padding-top: clamp(64px, 8vw, 110px); }
.pay-groups { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.pay-group {
  padding: clamp(20px, 2.4vw, 28px);
  border-radius: var(--r-lg);
  background: var(--surface);
  box-shadow: inset 0 0 0 1px var(--line);
}
.pay-group-h {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 18px;
  font: 500 12px/1.2 var(--f-display);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}
.pay-group-h .globe { color: var(--blue-300); }
.flag-ar {
  position: relative;
  flex: none;
  width: 22px;
  height: 15px;
  border-radius: 3px;
  background: linear-gradient(#74acdf 0 33.3%, #fff 33.3% 66.6%, #74acdf 66.6%);
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.25);
}
.flag-ar::after { content: ""; position: absolute; left: 50%; top: 50%; width: 4px; height: 4px; margin: -2px 0 0 -2px; border-radius: 50%; background: #f6b40e; }
.pay-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.pm {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 10px 10px 16px;
  border-radius: var(--r);
  background: var(--surface-2);
  box-shadow: inset 0 0 0 1px var(--line);
  text-align: center;
  transition: transform 0.45s var(--ease-out), box-shadow 0.3s var(--ease);
}
.pm:hover { transform: translateY(-4px); box-shadow: inset 0 0 0 1px rgba(143, 168, 255, 0.45), 0 22px 40px -24px rgba(63, 102, 242, 0.7); }
.pm-logo {
  display: grid;
  place-items: center;
  width: 100%;
  height: 118px;
  margin-bottom: 14px;
  border-radius: 12px;
  background: linear-gradient(180deg, #ffffff, #eef2fa);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.6);
}
.pm-logo img { width: auto; height: auto; max-width: 78%; max-height: 88px; object-fit: contain; transition: transform 0.45s var(--ease-out); }
.pm:hover .pm-logo img { transform: scale(1.05); }
.pm-txt { display: flex; flex-direction: column; align-items: center; min-width: 0; }
.pm-name { margin: 0 0 6px; font: 600 15px/1.25 var(--f-display); color: var(--ink); letter-spacing: -0.01em; }
.pm-type { margin: 0; padding: 4px 10px; border-radius: 999px; background: rgba(63, 102, 242, 0.12); box-shadow: inset 0 0 0 1px rgba(91, 128, 255, 0.3); font: 500 11.5px/1.2 var(--f-display); color: var(--blue-300); }
.pay-foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px 24px; margin-top: 22px; padding: 18px 22px; border-radius: var(--r); box-shadow: inset 0 0 0 1px var(--line); }
.pay-foot p { margin: 0; color: var(--ink-2); }
.pay-foot .btn svg { color: var(--ok); }

/* ==========================================================================
   09 · PREGUNTAS
   ========================================================================== */
.faq-grid { display: grid; grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr); gap: clamp(40px, 6vw, 96px); align-items: start; }
.faq-head { position: sticky; top: 120px; }
.faq-head .sec-title { margin-bottom: 32px; }
.faq-list { border-top: 1px solid var(--line-2); }
.qa { border-bottom: 1px solid var(--line-2); }
.qa summary {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
  padding: 24px 2px;
  font: 500 clamp(1.05rem, 0.5vw + 0.95rem, 1.25rem)/1.4 var(--f-display);
  letter-spacing: -0.01em;
  color: var(--ink);
  cursor: pointer;
  list-style: none;
  transition: color 0.2s;
}
.qa summary::-webkit-details-marker { display: none; }
.qa summary:hover { color: var(--blue-300); }
.qa summary svg { flex: none; margin-top: 3px; color: var(--blue-300); transition: transform 0.4s var(--ease-out); }
.qa[open] summary svg { transform: rotate(45deg); }
.qa-a { padding: 0 48px 26px 2px; }
.qa-a p { margin: 0; color: var(--muted); }
.qa[open] .qa-a { animation: panel-in 0.45s var(--ease-out); }

/* ==========================================================================
   10 · CTA + CONTACTO
   ========================================================================== */
.cta { position: relative; padding: var(--section) 0; overflow: hidden; border-top: 1px solid var(--line); }
.cta-bg { position: absolute; inset: 0; pointer-events: none; }
.cta-orb { position: absolute; left: 50%; top: -260px; width: 900px; height: 900px; margin-left: -450px; border-radius: 50%; background: radial-gradient(circle, rgba(63, 102, 242, 0.28), rgba(155, 123, 255, 0.08) 40%, transparent 68%); }
.cta-lines { position: absolute; inset: 0; background: repeating-radial-gradient(circle at 50% -260px, transparent 0 58px, rgba(143, 168, 255, 0.06) 58px 59px); -webkit-mask-image: linear-gradient(180deg, #000, transparent 70%); mask-image: linear-gradient(180deg, #000, transparent 70%); }
.cta .container { position: relative; }
.cta-head { max-width: 900px; margin: 0 auto clamp(56px, 7vw, 96px); text-align: center; }
.cta-head .kicker { justify-content: center; }
.cta-title { font-size: clamp(2.2rem, 3.6vw + 1rem, 4.4rem); line-height: 1.02; letter-spacing: -0.035em; }
.cta-lead { max-width: 56ch; margin: 26px auto 0; font-size: clamp(1rem, 0.4vw + 0.95rem, 1.15rem); color: var(--muted); }
.cta-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 36px; }

.contact-grid { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: 18px; align-items: start; }
.contact-side { padding: clamp(26px, 3vw, 36px); border-radius: var(--r-lg); background: rgba(13, 18, 30, 0.7); box-shadow: inset 0 0 0 1px var(--line); }
.next-steps { display: grid; gap: 22px; margin-bottom: 32px; }
.next-steps li { display: flex; gap: 16px; }
.next-steps b { flex: none; font: 600 13px/1.6 var(--f-display); color: var(--blue-300); }
.next-steps strong { display: block; font: 600 15.5px/1.35 var(--f-display); color: var(--ink); }
.next-steps span { font-size: 14px; color: var(--muted); }
.contact-direct { padding-top: 24px; border-top: 1px solid var(--line); }
.contact-direct a { display: inline-flex; align-items: center; gap: 10px; font: 600 17px/1.2 var(--f-display); color: var(--ink); text-decoration: none; transition: color 0.2s; }
.contact-direct a svg { color: var(--ok); }
.contact-direct a:hover { color: var(--blue-300); }
.contact-direct p:last-child { margin: 10px 0 0; font-size: 13.5px; color: var(--dim); }

.form { padding: clamp(24px, 3.5vw, 44px); border-radius: var(--r-lg); background: linear-gradient(180deg, rgba(21, 28, 46, 0.9), rgba(13, 18, 30, 0.92)); box-shadow: inset 0 0 0 1px var(--line-2), 0 40px 80px -40px rgba(0, 0, 0, 0.9); scroll-margin-top: 100px; }
.form.is-flash { animation: flash 1.4s var(--ease-out); }
@keyframes flash { 0% { box-shadow: inset 0 0 0 1px var(--blue-300), 0 0 0 6px rgba(91, 128, 255, 0.25); } 100% { box-shadow: inset 0 0 0 1px var(--line-2), 0 0 0 0 rgba(91, 128, 255, 0); } }
.form-head { margin-bottom: 26px; }
.form-head h3 { margin-bottom: 6px; font-size: 1.5rem; }
.form-head p { margin: 0; font-size: 13.5px; color: var(--dim); }
.field-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 16px; }
.field { display: grid; gap: 8px; margin-bottom: 18px; }
.field label { font: 600 13.5px/1.3 var(--f-body); color: var(--ink-2); }
.field label span { color: var(--blue-300); }
.field input, .field textarea, .field select {
  width: 100%;
  min-height: 50px;
  padding: 13px 15px;
  border: 0;
  border-radius: 12px;
  background: rgba(7, 10, 18, 0.65);
  box-shadow: inset 0 0 0 1px var(--line-2);
  font: 500 15px/1.4 var(--f-body);
  color: var(--ink);
  transition: box-shadow 0.2s, background-color 0.2s;
  -webkit-appearance: none;
  appearance: none;
}
.field textarea { resize: vertical; min-height: 116px; }
.field input:hover, .field textarea:hover, .field select:hover { box-shadow: inset 0 0 0 1px var(--line-3); }
.field input:focus, .field textarea:focus, .field select:focus { outline: none; background: rgba(7, 10, 18, 0.9); box-shadow: inset 0 0 0 1.5px var(--blue-400), 0 0 0 4px rgba(91, 128, 255, 0.16); }
.field [aria-invalid="true"] { box-shadow: inset 0 0 0 1.5px var(--err); }
.select { position: relative; }
.select::after { content: ""; position: absolute; right: 16px; top: 50%; width: 8px; height: 8px; margin-top: -6px; border-right: 1.6px solid var(--muted); border-bottom: 1.6px solid var(--muted); transform: rotate(45deg); pointer-events: none; }
.select select { padding-right: 40px; cursor: pointer; }
.select option { background: #121929; color: var(--ink); }
.field-hint { margin: 0; font-size: 12.5px; color: var(--dim); }
.field-err { margin: 0; min-height: 0; font-size: 13px; font-weight: 600; color: var(--err); }
.field-err:empty { display: none; }
.form-foot { display: grid; gap: 14px; margin-top: 8px; }
.form-foot .btn { width: 100%; }
.form-foot .btn svg { color: #fff; }
.form-note { margin: 0; font-size: 12.5px; color: var(--dim); text-align: center; }
.form-note a { color: var(--blue-300); }
.form-ok { margin-top: 18px; padding: 18px 20px; border-radius: 14px; background: rgba(61, 214, 140, 0.1); box-shadow: inset 0 0 0 1px rgba(61, 214, 140, 0.35); }
.form-ok p { margin: 0; font-size: 14.5px; color: var(--ink-2); }
.form-ok p + p { margin-top: 6px; }
.form-ok a { color: #8ff0bf; font-weight: 600; }

/* ==========================================================================
   FOOTER
   ========================================================================== */
.footer { padding: 80px 0 36px; border-top: 1px solid var(--line); background: var(--bg-2); }
.footer-top { display: grid; grid-template-columns: minmax(0, 1.4fr) repeat(3, minmax(0, 1fr)); gap: 40px; padding-bottom: 56px; }
.footer-brand p { max-width: 36ch; margin: 22px 0 24px; font-size: 14.5px; color: var(--muted); }
.footer-col { display: flex; flex-direction: column; gap: 10px; }
.footer-h { margin: 0 0 8px; font: 500 12px/1 var(--f-display); letter-spacing: 0.16em; text-transform: uppercase; color: var(--dim); }
.footer-col a { font-size: 14.5px; color: var(--ink-2); text-decoration: none; transition: color 0.2s; }
.footer-col a:hover { color: var(--blue-300); }
.footer-col p { margin: 0; font-size: 14px; line-height: 1.45; color: var(--ink-2); }
.footer-col p span { font-size: 12.5px; color: var(--dim); }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; padding-top: 28px; border-top: 1px solid var(--line); font-size: 13px; color: var(--dim); }
.footer-bottom p { margin: 0; }
.footer-bottom a { color: var(--muted); text-decoration: none; }
.footer-bottom a:hover { color: var(--ink); }

/* ==========================================================================
   RESPONSIVE
   ========================================================================== */
@media (max-width: 1180px) {
  .nav-links a { padding: 9px 9px; font-size: 13.5px; }
  .plan-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 1199px) {
  .nav-links { display: none; }
  .nav-toggle { display: inline-block; }
}

@media (max-width: 1060px) {
  .sec-head-split { grid-template-columns: 1fr; align-items: start; }
  .sol-a, .sol-b { grid-column: span 3; }
  .sol-c, .sol-d { grid-column: span 3; }
  .sol-e { grid-column: span 6; }
  .sol-e { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .sol-e .sol-visual { height: auto; min-height: 220px; border-bottom: 0; border-right: 1px solid var(--line); }
  .journey { grid-template-columns: repeat(3, minmax(0, 1fr)); row-gap: 40px; }
  .journey::before, .journey::after { display: none; }
  .footer-top { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 980px) {
  .hero { min-height: 0; padding: 124px 0 136px; }
  .hero-grid { grid-template-columns: 1fr; gap: 72px; }
  .hero-title { max-width: 16ch; }
  .console-wrap { max-width: 620px; width: 100%; margin: 0 auto; }
  .float-lead { right: -8px; }
  .float-chat { left: -8px; }
  .problem-grid { grid-template-columns: 1fr; gap: 28px; }
  .js .problem-sticky { align-items: flex-start; padding-top: 96px; }
  .state-rail { margin-bottom: 18px; }
  .state-big { font-size: clamp(1.35rem, 3.6vw + 0.6rem, 1.9rem); margin-bottom: 10px; }
  .state-block p:last-child { font-size: 15px; }
  .board-wrap { max-width: 640px; margin: 0 auto; }
  .method-grid { grid-template-columns: 1fr; }
  .method-sticky { position: static; }
  .phase-counter { display: none; }
  .about-grid { grid-template-columns: 1fr; }
  .coverage { grid-template-columns: 1fr; }
  .map { max-width: 240px; }
  .ind-panel { grid-template-columns: 1fr; }
  .custom { grid-template-columns: 1fr; }
  .faq-grid { grid-template-columns: 1fr; }
  .pay-groups { grid-template-columns: 1fr; }
  .faq-head { position: static; }
  .contact-grid { grid-template-columns: 1fr; }
  .contact-side { order: 2; }
}

@media (max-width: 700px) {
  body { font-size: 15.5px; }
  .lbl-long { display: none; }
  .lbl-short { display: inline; }
  .brand-word small { letter-spacing: 0.22em; }
  .hero { padding-top: 112px; }
  .hero-actions .btn { width: 100%; }
  .hero-points { grid-template-columns: 1fr; }
  .hp-group { padding: 16px 16px 18px; }
  .hp-group + .hp-group { box-shadow: inset 0 1px 0 var(--line); }
  .hp-group li { font-size: 15px; }
  .hero-trust { flex-direction: column; gap: 8px; }
  .console-bar { padding: 11px 13px; }
  .console-title, .console-status { display: none; }
  .console-body { padding: 12px; }
  .feed-list li { font-size: 12px; padding: 7px 9px; }
  .hero { padding-bottom: 120px; }
  .float-lead { top: -40px; right: 6px; width: 206px; padding: 10px 12px; }
  .float-chat { bottom: -58px; left: 0; width: min(66%, 226px); padding: 10px 12px; font-size: 12px; }
  .motion-toggle { width: 32px; padding: 0; bottom: -46px; }
  .mt-label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

  /* Tablero del problema: composición vertical propia para móvil */
  .board { aspect-ratio: 600 / 640; }
  .board-lines-d { display: none; }
  .board-lines-m { display: block; }
  .board-core { top: calc(50% - 35cqw); width: 25cqw; }
  .board-core img { width: 8cqw; height: 8cqw; }
  .board-core span { font-size: clamp(9px, 2.6cqw, 12px); max-width: 18cqw; }
  .frag { width: 45cqw; padding: 2.4cqw 2.8cqw; border-radius: 3cqw; gap: 0.6cqw 2.2cqw; }
  .frag-t { font-size: clamp(11.5px, 3.5cqw, 14px); }
  .frag-s { font-size: clamp(9px, 2.4cqw, 10.5px); }
  .frag-dot { width: 2.4cqw; }
  .frag:nth-child(1) { --x0: -20; --y0: -26; --r0: -8; --x1: -24.5; --y1: -8; }
  .frag:nth-child(2) { --x0: 22; --y0: -14; --r0: 7; --x1: 24.5; --y1: -8; }
  .frag:nth-child(3) { --x0: -24; --y0: 6; --r0: 6; --x1: -24.5; --y1: 12; }
  .frag:nth-child(4) { --x0: 20; --y0: 16; --r0: -7; --x1: 24.5; --y1: 12; }
  .frag:nth-child(5) { --x0: -16; --y0: 34; --r0: -5; --x1: -24.5; --y1: 32; }
  .frag:nth-child(6) { --x0: 18; --y0: 40; --r0: 9; --x1: 24.5; --y1: 32; }

  .sol-grid { grid-template-columns: 1fr; gap: 14px; }
  .sol-a, .sol-b, .sol-c, .sol-d, .sol-e { grid-column: auto; }
  .sol-e { display: flex; }
  .sol-e .sol-visual { border-right: 0; border-bottom: 1px solid var(--line); min-height: 0; height: 210px; }
  .sol-a .sol-visual, .sol-b .sol-visual { height: 220px; }
  .sol-body { padding: 22px 20px 24px; }

  .journey { grid-template-columns: 1fr; gap: 0; padding-left: 36px; }
  .journey::before, .journey::after { display: block; left: 7px; right: auto; top: 8px; bottom: 8px; width: 2px; height: auto; }
  .journey::after { transform: scaleY(0); transform-origin: top; }
  .journey.is-on::after, .no-js .journey::after { transform: scaleY(1); }
  .j-step { padding: 0 0 30px; }
  .j-node { left: -36px; top: 2px; }
  .compare { grid-template-columns: 1fr; }

  .show-head { display: block; }
  .car-arrows { display: none !important; }
  .slide { width: 86vw; }
  .slide-meta { padding-top: 18px; }

  .phases-wrap { padding-left: 36px; }
  .phase-node { left: -36px; }

  .sedes { grid-template-columns: 1fr; }
  .ind-tabs { padding: 6px; }
  .ind-tabs button { padding: 10px 14px; font-size: 13.5px; }
  .ind-flow { padding: 20px; }

  .plan-grid { grid-template-columns: 1fr; }
  .field-row { grid-template-columns: 1fr; }
  .cta-actions .btn { width: 100%; }
  .qa-a { padding-right: 8px; }

  .footer { padding-top: 64px; }
  .footer-top { grid-template-columns: 1fr 1fr; gap: 36px 24px; }
  .footer-col:last-child { grid-column: 1 / -1; }
}

/* Formas de pago en móvil: filas con logo a la izquierda */
@media (max-width: 560px) {
  .pay-grid { grid-template-columns: 1fr; gap: 10px; }
  .pm { flex-direction: row; align-items: center; gap: 14px; padding: 8px 14px 8px 8px; text-align: left; }
  .pm-logo { flex: none; width: 92px; height: 66px; margin: 0; }
  .pm-logo img { max-width: 80%; max-height: 50px; }
  .pm-txt { align-items: flex-start; }
  .pm-name { margin-bottom: 5px; }
  .pay-foot { padding: 16px; }
  .pay-foot .btn { width: 100%; }
}

@media (max-width: 380px) {
  .brand-word small { display: none; }
}
@media (max-width: 359px) {
  .float-chat { display: none; }
}

/* Menos movimiento: se detienen solo los efectos continuos o intrusivos.
   Hover, fundidos y scroll siguen funcionando. */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .pulse-dot::after, .live, .core-ring, .float-card, .sv-spin, .sv-typing { animation: none !important; }
  .pkts { display: none; }
}
