/* RIAR · sitio público — misma piel que CORTEX (tokens --cx-* de admin/assets/css/cortex.css) */

@font-face { font-family: "Oswald"; src: url(../fonts/oswald-latin-500-normal.woff2) format("woff2"); font-weight: 500; font-display: swap; }
@font-face { font-family: "Oswald"; src: url(../fonts/oswald-latin-600-normal.woff2) format("woff2"); font-weight: 600; font-display: swap; }
@font-face { font-family: "Source Sans 3"; src: url(../fonts/source-sans-3-latin-400-normal.woff2) format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Source Sans 3"; src: url(../fonts/source-sans-3-latin-600-normal.woff2) format("woff2"); font-weight: 600; font-display: swap; }
@font-face { font-family: "Source Sans 3"; src: url(../fonts/source-sans-3-latin-700-normal.woff2) format("woff2"); font-weight: 700; font-display: swap; }
@font-face { font-family: "JetBrains Mono"; src: url(../fonts/jetbrains-mono-latin-400-normal.woff2) format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "JetBrains Mono"; src: url(../fonts/jetbrains-mono-latin-500-normal.woff2) format("woff2"); font-weight: 500; font-display: swap; }

:root {
  --cx-bg: #0e1317;
  --cx-bg-2: #0b0f12;
  --cx-surface: #141a20;
  --cx-surface-2: #1a1e23;
  --cx-surface-3: #222a32;
  --cx-glass: rgba(20, 26, 32, .72);
  --cx-line: rgba(150, 170, 190, .12);
  --cx-line-2: rgba(150, 170, 190, .22);
  --cx-text: #f1f1f1;
  --cx-text-2: #a9b4bf;
  --cx-text-3: #8693a0;           /* un punto más claro que en CORTEX para AA sobre el fondo */
  --cx-orange: #e68a00;
  --cx-orange-2: #ffb03b;
  --cx-orange-soft: rgba(230, 138, 0, .14);
  --cx-teal: #00b2b2;
  --cx-teal-2: #3fe0d8;
  --cx-teal-soft: rgba(0, 178, 178, .14);
  --cx-ok: #4caf50;
  --cx-alarm: #e57373;
  --cx-alarm-soft: rgba(229, 115, 115, .14);
  --cx-idle: #7d8a96;
  --cx-logo: #ffcc00;
  --cx-font-ui: "Source Sans 3", "Source Sans Pro", Arial, Helvetica, sans-serif;
  --cx-font-display: "Oswald", "Source Sans 3", Arial, sans-serif;
  --cx-font-mono: "JetBrains Mono", ui-monospace, Menlo, Consolas, monospace;
  --cx-r-1: 6px; --cx-r-2: 10px; --cx-r-3: 14px; --cx-r-4: 20px;
  --cx-shadow-1: 0 1px 0 rgba(255,255,255,.03) inset, 0 8px 24px -12px rgba(0,0,0,.6);
  --cx-shadow-2: 0 1px 0 rgba(255,255,255,.04) inset, 0 24px 60px -24px rgba(0,0,0,.8);
  --gut: 16px;
  --hd: 64px;
  --wrap: 1600px;
  --sec: clamp(64px, 9vw, 120px);
}
@media (min-width: 640px) { :root { --gut: 24px; } }
@media (min-width: 1100px) { :root { --gut: clamp(32px, 4vw, 72px); } }

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--hd) + 16px); }
body {
  margin: 0; min-height: 100vh; overflow-x: hidden;
  background: var(--cx-bg); color: var(--cx-text);
  font: 400 17px/1.6 var(--cx-font-ui);
  -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; text-rendering: optimizeLegibility;
}
/* cuadrícula técnica muy tenue, como el plano de una sala de control */
body::before {
  content: ""; position: fixed; inset: 0; z-index: -1; pointer-events: none;
  background:
    radial-gradient(1200px 600px at 80% -10%, rgba(0,178,178,.10), transparent 60%),
    radial-gradient(900px 500px at -10% 30%, rgba(230,138,0,.05), transparent 60%),
    linear-gradient(var(--cx-line) 1px, transparent 1px) 0 0 / 56px 56px,
    linear-gradient(90deg, var(--cx-line) 1px, transparent 1px) 0 0 / 56px 56px;
  mask-image: linear-gradient(#000 0, rgba(0,0,0,.35) 70%, rgba(0,0,0,.2));
  opacity: .55;
}
img, svg { display: block; max-width: 100%; height: auto; }
a { color: var(--cx-teal-2); text-decoration: none; }
a:hover { color: #fff; }
:focus-visible { outline: 2px solid var(--cx-teal-2); outline-offset: 3px; border-radius: 4px; }
h1, h2, h3 { font-family: var(--cx-font-display); font-weight: 600; line-height: 1.08; letter-spacing: -.005em; margin: 0 0 .5em; }
h1 span, h2 span, .phero__t span, .hero__t span { color: var(--cx-text-2); }
p { margin: 0 0 1em; }
.mono { font-family: var(--cx-font-mono); font-feature-settings: "zero" 1; }
.center { text-align: center; }
.note { color: var(--cx-text-3); font-size: 14px; display: flex; gap: 8px; align-items: flex-start; }
.note.center { justify-content: center; margin-top: 24px; }
.h3 { font-size: 22px; }
.skip { position: absolute; left: 8px; top: -60px; z-index: 100; background: var(--cx-orange); color: #111; padding: 8px 14px; border-radius: 8px; font-weight: 700; }
.skip:focus { top: 8px; color: #111; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gut); }
.ico { width: 22px; height: 22px; flex: none; }
.ico--s { width: 16px; height: 16px; }

/* ---------- etiquetas, botones ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px; margin: 0 0 16px;
  font: 500 12px/1.4 var(--cx-font-mono); letter-spacing: .18em; text-transform: uppercase; color: var(--cx-text-3);
}
.eyebrow .ico { color: var(--cx-teal); }
.dot { width: 8px; height: 8px; border-radius: 50%; background: var(--cx-ok); box-shadow: 0 0 0 0 rgba(76,175,80,.6); animation: ping 2s infinite; flex: none; }
@keyframes ping { 70% { box-shadow: 0 0 0 8px rgba(76,175,80,0); } 100% { box-shadow: 0 0 0 0 rgba(76,175,80,0); } }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 44px; padding: 10px 18px; border-radius: var(--cx-r-2); border: 1px solid transparent;
  font: 600 15px/1.2 var(--cx-font-ui); cursor: pointer; white-space: nowrap;
  transition: background .2s, border-color .2s, color .2s, transform .2s, box-shadow .2s;
}
.btn--primary { background: var(--cx-orange); color: #15100a; box-shadow: 0 8px 24px -10px rgba(230,138,0,.7); }
.btn--primary:hover { background: var(--cx-orange-2); color: #15100a; transform: translateY(-1px); }
.btn--ghost { background: rgba(255,255,255,.02); border-color: var(--cx-line-2); color: var(--cx-text); }
.btn--ghost:hover { border-color: var(--cx-teal); color: #fff; background: var(--cx-teal-soft); }
.btn--sm { min-height: 36px; padding: 6px 12px; font-size: 14px; }
.btn--lg { min-height: 52px; padding: 12px 22px; font-size: 16px; }
.btn--block { width: 100%; }
.link { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; }
.tag { display: inline-block; padding: 2px 8px; border-radius: 999px; border: 1px solid var(--cx-line-2); font-size: 12px; color: var(--cx-text-2); }
.badge { display: inline-block; padding: 3px 9px; border-radius: 999px; background: var(--cx-orange-soft); color: var(--cx-orange-2); font: 500 11px/1.4 var(--cx-font-mono); letter-spacing: .12em; text-transform: uppercase; }

/* ---------- encabezado ---------- */
.hd { position: sticky; top: 0; z-index: 50; height: var(--hd); border-bottom: 1px solid var(--cx-line); }
/* el desenfoque va en un pseudo-elemento: backdrop-filter en .hd encerraría el menú móvil (position: fixed) */
.hd::before { content: ""; position: absolute; inset: 0; z-index: -1; background: rgba(14,19,23,.72); backdrop-filter: blur(14px) saturate(140%); -webkit-backdrop-filter: blur(14px) saturate(140%); }
.hd__in { height: 100%; display: flex; align-items: center; gap: 24px; }
.hd__logo { display: flex; align-items: center; gap: 12px; color: var(--cx-logo); flex: none; }
.logo { width: 72px; height: auto; color: var(--cx-logo); }
.hd__cx { font: 600 15px/1 var(--cx-font-display); letter-spacing: .28em; color: var(--cx-teal); padding-left: 12px; border-left: 1px solid var(--cx-line-2); }
.nav { display: flex; align-items: center; gap: 4px; margin-left: 8px; }
.nav__link { display: inline-flex; align-items: center; gap: 4px; padding: 8px 12px; border-radius: 8px; color: var(--cx-text-2); font: 600 15px/1 var(--cx-font-ui); background: none; border: 0; cursor: pointer; }
.nav__link:hover, .nav__link.is-on, .nav__trigger[aria-expanded="true"] { color: #fff; background: rgba(255,255,255,.04); }
.nav__trigger .ico { transition: transform .2s; }
.nav__trigger[aria-expanded="true"] .ico { transform: rotate(180deg); }
.nav__item--menu { position: relative; }
.nav__m { display: none; }
.mega {
  position: absolute; top: calc(100% + 12px); left: -12px; width: min(720px, 90vw);
  padding: 16px; border-radius: var(--cx-r-3); background: rgba(20,26,32,.97); border: 1px solid var(--cx-line-2); box-shadow: var(--cx-shadow-2);
  opacity: 0; visibility: hidden; transform: translateY(-6px); transition: opacity .18s, transform .18s, visibility .18s;
}
.nav__trigger[aria-expanded="true"] + .mega { opacity: 1; visibility: visible; transform: none; }
.mega__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; }
.mega__card { display: flex; gap: 12px; align-items: flex-start; padding: 12px; border-radius: var(--cx-r-2); color: var(--cx-text); }
.mega__card:hover, .mega__card.is-on { background: var(--cx-surface-2); color: #fff; }
.mega__card strong { display: block; font-size: 15px; }
.mega__card small { display: block; color: var(--cx-text-3); font-size: 13px; line-height: 1.35; }
.mega__ico { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 10px; background: var(--cx-teal-soft); color: var(--cx-teal-2); flex: none; }
.mega__foot { display: flex; gap: 8px; align-items: center; margin: 12px 4px 0; padding-top: 12px; border-top: 1px solid var(--cx-line); color: var(--cx-text-3); font-size: 13px; }
.mega__foot .ico { color: var(--cx-teal); }
.hd__act { margin-left: auto; display: flex; align-items: center; gap: 10px; }
.hd__login { color: var(--cx-text-2); font-weight: 600; font-size: 15px; padding: 8px 6px; white-space: nowrap; }
.hd__login:hover { color: #fff; }
.hd__burger { display: none; width: 44px; height: 44px; border-radius: 10px; border: 1px solid var(--cx-line-2); background: none; color: var(--cx-text); cursor: pointer; align-items: center; justify-content: center; }
.lang { position: relative; }
.lang summary { list-style: none; display: flex; align-items: center; gap: 6px; padding: 8px 10px; border-radius: 8px; cursor: pointer; color: var(--cx-text-2); font: 500 13px/1 var(--cx-font-mono); text-transform: uppercase; }
.lang summary::-webkit-details-marker { display: none; }
.lang summary:hover, .lang[open] summary { color: #fff; background: rgba(255,255,255,.04); }
.lang ul { position: absolute; right: 0; top: calc(100% + 8px); margin: 0; padding: 6px; list-style: none; min-width: 160px; background: rgba(20,26,32,.98); border: 1px solid var(--cx-line-2); border-radius: var(--cx-r-2); box-shadow: var(--cx-shadow-2); }
.lang a { display: block; padding: 8px 10px; border-radius: 6px; color: var(--cx-text-2); }
.lang a:hover, .lang a[aria-current] { background: var(--cx-surface-2); color: #fff; }

@media (max-width: 1280px) {
  .hd__login--acc { display: none; }   /* "Minha conta": en pantallas medianas queda solo en el menú y en el pie */
}
@media (max-width: 1020px) {
  .hd__login { display: none; }
}
@media (max-width: 900px) {
  .hd__burger { display: inline-flex; }
  .hd__cta { display: none; }
  .nav {
    position: fixed; inset: var(--hd) 0 0 0; margin: 0; padding: 16px var(--gut) 32px; display: none; flex-direction: column; align-items: stretch; gap: 2px;
    background: var(--cx-bg); overflow-y: auto; border-top: 1px solid var(--cx-line);
  }
  .nav.is-open { display: flex; }
  .nav__link { padding: 14px 8px; font-size: 18px; justify-content: space-between; width: 100%; }
  .mega { position: static; width: auto; opacity: 1; visibility: visible; transform: none; display: none; padding: 4px 0 8px; background: none; border: 0; box-shadow: none; }
  .nav__trigger[aria-expanded="true"] + .mega { display: block; }
  .mega__grid { grid-template-columns: 1fr; }
  .nav__m { display: grid; gap: 10px; margin-top: 16px; }
  .nav__m .btn { min-height: 52px; }
  body.nav-open { overflow: hidden; }
}
@media (max-width: 420px) { .hd__cx { display: none; } }

.langhint { background: var(--cx-surface-2); border-bottom: 1px solid var(--cx-line); font-size: 14px; }
.langhint__in { display: flex; align-items: center; gap: 12px; padding-top: 8px; padding-bottom: 8px; flex-wrap: wrap; }
.langhint__x { margin-left: auto; background: none; border: 0; color: var(--cx-text-2); cursor: pointer; padding: 6px; }

/* ---------- secciones ---------- */
.sec { padding: var(--sec) 0; position: relative; }
.sec--tight { padding: calc(var(--sec) * .55) 0; }
.sec--alt { background: linear-gradient(180deg, rgba(20,26,32,.55), rgba(20,26,32,.25)); border-top: 1px solid var(--cx-line); border-bottom: 1px solid var(--cx-line); }
.sh { max-width: 880px; margin-bottom: clamp(32px, 5vw, 56px); }
.sh__t { font-size: clamp(30px, 4.2vw, 48px); }
.sh__l { color: var(--cx-text-2); font-size: clamp(17px, 1.6vw, 19px); max-width: 680px; }

/* ---------- hero ---------- */
.hero { padding: clamp(40px, 7vw, 88px) 0 clamp(40px, 6vw, 72px); overflow: hidden; }
.hero__in { display: grid; grid-template-columns: .92fr 1.08fr; gap: clamp(24px, 4vw, 56px); align-items: center; }
.eyebrow--live { color: var(--cx-text-2); }
.hero__t { font-size: clamp(40px, 5.6vw, 92px); line-height: 1.0; margin-bottom: 24px; }
.hero__t span { display: block; color: var(--cx-teal-2); }
.hero__l { font-size: clamp(18px, 1.8vw, 21px); color: var(--cx-text-2); max-width: 560px; }
.hero__btns { display: flex; flex-wrap: wrap; gap: 12px; margin: 28px 0 16px; }
.hero__btns--center { justify-content: center; }
.hero__note { display: flex; gap: 8px; align-items: center; color: var(--cx-text-3); font-size: 14px; }
.hero__stage { position: relative; aspect-ratio: 1 / .86; min-height: 300px; }
@media (min-width: 1100px) { .hero__stage { margin-right: calc(-1 * var(--gut)); } }
/* Portada en el celular (Juan con MARKETING, 2026-11-27): título → imagen del producto → párrafo → botones, para que se vea
   el producto antes de pedir la prueba. La imagen no cambia. La copia se «abre» (display: contents) y sus piezas se
   ordenan en la grilla; en la computadora queda como siempre. El espacio de arriba baja a la mitad. */
@media (max-width: 900px) {
  .hero { padding-top: clamp(20px, 3.5vw, 44px); }
  .hero__in { row-gap: 0; }
  .hero__copy { display: contents; }
  .hero__copy > .eyebrow { order: 1; }
  .hero__t { order: 2; }
  .hero__stage { order: 3; margin: 0 auto 28px; }
  .hero__l { order: 4; }
  .hero__btns { order: 5; }
  .hero__note { order: 6; }
}
.hero__img { position: absolute; inset: 6% 2% 4% 12%; }
.hero__img img { width: 100%; height: 100%; object-fit: cover; border-radius: 28px;
  -webkit-mask-image: radial-gradient(75% 72% at 55% 50%, #000 62%, transparent 100%); mask-image: radial-gradient(75% 72% at 55% 50%, #000 62%, transparent 100%); }
.hero__flow { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 1; pointer-events: none; }
.fl { fill: none; stroke-width: 1.6; stroke-dasharray: 6 14; animation: dash 2.4s linear infinite; opacity: .75; }
.fl.f1, .fl.f4 { animation-duration: 3.1s; } .fl.f2, .fl.f5 { animation-duration: 1.9s; opacity: .5; }
@keyframes dash { to { stroke-dashoffset: -200; } }
.chip {
  position: absolute; z-index: 2; display: grid; gap: 4px; padding: 12px 14px; min-width: 190px;
  background: var(--cx-glass); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  border: 1px solid var(--cx-line-2); border-radius: var(--cx-r-3); box-shadow: var(--cx-shadow-2);
  animation: float 7s ease-in-out infinite;
}
.chip__k { display: flex; align-items: center; gap: 6px; font: 500 10.5px/1.3 var(--cx-font-mono); letter-spacing: .12em; color: var(--cx-text-3); text-transform: uppercase; }
.chip__v { font-size: 15px; font-weight: 600; }
.chip__v b { color: var(--cx-teal-2); font-weight: 500; margin-left: 4px; }
.chip__hash { font-size: 11px; color: var(--cx-text-3); }
.chip--live .chip__k { color: var(--cx-ok); }
.chip--alarm { top: 2%; right: 4%; animation-delay: -2s; border-color: rgba(229,115,115,.35); }
.chip--alarm .chip__k { color: var(--cx-alarm); }

.chip--rt .chip__k { color: var(--cx-teal-2); }
.spark { width: 140px; height: 28px; }
.spark polyline { fill: none; stroke: var(--cx-teal-2); stroke-width: 1.6; stroke-dasharray: 200; stroke-dashoffset: 200; animation: draw 3s ease-out forwards, none; }
@keyframes draw { to { stroke-dashoffset: 0; } }
@keyframes float { 50% { transform: translateY(-8px); } }

.trust { list-style: none; margin: clamp(32px, 5vw, 56px) 0 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); border: 1px solid var(--cx-line); border-radius: var(--cx-r-3); background: rgba(20,26,32,.5); }
.trust li { padding: 18px 20px; display: grid; gap: 4px; }
.trust li + li { border-left: 1px solid var(--cx-line); }
.trust strong { font-size: 22px; color: var(--cx-text); font-weight: 500; }
.trust span { color: var(--cx-text-3); font-size: 14px; line-height: 1.4; }

/* ---------- tarjetas ---------- */
.card { position: relative; padding: 24px; border-radius: var(--cx-r-3); background: var(--cx-surface); border: 1px solid var(--cx-line); box-shadow: var(--cx-shadow-1); transition: border-color .2s, transform .2s; }
.card:hover { border-color: var(--cx-line-2); }
.card h3, .card__t { font-size: 21px; margin-bottom: 8px; }
.card p { color: var(--cx-text-2); margin: 0; }
.card__ico { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 12px; background: var(--cx-teal-soft); color: var(--cx-teal-2); margin-bottom: 16px; }
.card__n { display: block; color: var(--cx-orange); font-size: 13px; margin-bottom: 14px; letter-spacing: .1em; }

.roi { display: grid; grid-template-columns: 1fr 340px; gap: 20px; }
.roi__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.roi__stat { padding: 32px; border-radius: var(--cx-r-4); background: linear-gradient(160deg, rgba(230,138,0,.16), rgba(230,138,0,.03) 60%), var(--cx-surface); border: 1px solid rgba(230,138,0,.3); display: flex; flex-direction: column; }
.roi__stat strong { font-size: clamp(64px, 8vw, 96px); line-height: 1; color: var(--cx-orange-2); font-weight: 500; margin-bottom: 16px; }
.roi__stat p { font-size: 19px; color: var(--cx-text); }
.roi__stat small { color: var(--cx-text-3); margin-bottom: 20px; }
.roi__stat .link { margin-top: auto; }

/* ---------- historia "tudo conectado" ---------- */
.sec--story { background: radial-gradient(800px 400px at 30% 40%, rgba(0,178,178,.08), transparent 70%); }
.story > *, .hero__in > *, .phero__in > *, .mon > *, .transp > *, .contact > *, .docs > * { min-width: 0; }
.story { display: grid; grid-template-columns: 1.35fr .9fr; gap: clamp(20px, 3vw, 40px); align-items: start; }
.story__stage { border-radius: var(--cx-r-4); background: rgba(11,15,18,.7); border: 1px solid var(--cx-line); padding: 12px 12px 0; overflow: hidden; }
.graph { width: 100%; height: auto; overflow: visible; }
.edge { fill: none; stroke: var(--cx-line-2); stroke-width: 1.5; transition: stroke .4s, stroke-width .4s; }
.edge--soon { stroke-dasharray: 5 6; }
.edge.is-on { stroke: var(--cx-teal); stroke-width: 2.5; }
.pkt { fill: var(--cx-teal-2); opacity: 0; transition: opacity .3s; filter: drop-shadow(0 0 4px var(--cx-teal-2)); }
.pkt.is-on { opacity: 1; }
.node { color: var(--cx-text-3); transition: color .4s; }
.node__c { fill: var(--cx-surface); stroke: var(--cx-line-2); stroke-width: 1.5; transition: fill .4s, stroke .4s; }
.node__halo { fill: var(--cx-teal); opacity: 0; transition: opacity .4s; }
.node__t { fill: var(--cx-text-3); font: 500 12px var(--cx-font-mono); text-anchor: middle; letter-spacing: .04em; transition: fill .4s; }
.node--core .node__c { fill: #12262a; stroke: var(--cx-teal); }
.node--core { color: var(--cx-teal-2); }
.node--core .node__t { fill: var(--cx-teal-2); font-size: 13px; }
.node--soon .node__c { stroke-dasharray: 4 4; }
.node.is-on { color: #fff; }
.node.is-on .node__c { fill: #0f3236; stroke: var(--cx-teal-2); }
.node.is-on .node__halo { opacity: .14; animation: halo 2s ease-in-out infinite; }
.node.is-on .node__t { fill: #fff; }
@keyframes halo { 50% { opacity: .05; } }
.story__cap { margin: 4px -12px 0; padding: 20px 24px 22px; border-top: 1px solid var(--cx-line); background: rgba(20,26,32,.8); min-height: 168px; }
.story__time { color: var(--cx-orange); font-size: 13px; letter-spacing: .12em; }
.story__cap h3 { font-size: 24px; margin: 6px 0 6px; }
.story__cap p { color: var(--cx-text-2); margin: 0; }
.steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.step { position: relative; width: 100%; display: grid; grid-template-columns: 30px 1fr auto; align-items: center; gap: 10px; text-align: left; padding: 12px 14px; border-radius: var(--cx-r-2); border: 1px solid transparent; background: none; color: var(--cx-text-3); font: 600 16px/1.3 var(--cx-font-ui); cursor: pointer; overflow: hidden; transition: background .2s, color .2s, border-color .2s; }
.step:hover { color: var(--cx-text); background: rgba(255,255,255,.02); }
.step.is-on { color: #fff; background: var(--cx-surface); border-color: var(--cx-line-2); }
.step__n { font-size: 12px; color: var(--cx-text-3); }
.step.is-on .step__n { color: var(--cx-orange); }
.step__time { font-size: 11px; color: var(--cx-text-3); letter-spacing: .08em; }
.step--soon .step__time { color: var(--cx-orange-2); }
.step__bar { position: absolute; left: 0; right: 0; bottom: 0; height: 2px; }
.step__bar i { display: block; height: 100%; width: 0; background: var(--cx-teal); }
.step.is-on .step__bar i { width: 100%; transition: width var(--step-ms, 5200ms) linear; }
.story:not(.is-playing) .step.is-on .step__bar i { transition: none; width: 100%; opacity: .5; }
.story__play { margin-top: 12px; }
.story__play .i-play { display: none; } .story:not(.is-playing) .story__play .i-play { display: inline-flex; gap: 8px; align-items: center; }
.story__play .i-pause { display: inline-flex; gap: 8px; align-items: center; } .story:not(.is-playing) .story__play .i-pause { display: none; }

/* ---------- módulos ---------- */
.mods { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.mod { position: relative; display: flex; flex-direction: column; padding: 26px; border-radius: var(--cx-r-3); background: var(--cx-surface); border: 1px solid var(--cx-line); color: var(--cx-text); transition: border-color .25s, transform .25s, background .25s; overflow: hidden; }
.mod::after { content: ""; position: absolute; inset: 0; background: radial-gradient(400px 160px at 0 0, rgba(0,178,178,.10), transparent 70%); opacity: 0; transition: opacity .3s; pointer-events: none; }
.mod:hover { border-color: rgba(0,178,178,.45); transform: translateY(-3px); color: var(--cx-text); }
.mod:hover::after { opacity: 1; }
.mod__ico { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 12px; background: var(--cx-teal-soft); color: var(--cx-teal-2); margin-bottom: 18px; }
.mod h3 { font-size: 24px; }
.mod p { color: var(--cx-text-2); flex: 1; }
.mod__links { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; padding-top: 14px; border-top: 1px solid var(--cx-line); }
.mod__links small { font-size: 10.5px; letter-spacing: .14em; color: var(--cx-text-3); text-transform: uppercase; margin-right: 4px; }
.mod__go { position: absolute; top: 26px; right: 24px; color: var(--cx-text-3); transition: color .2s, transform .2s; }
.mod:hover .mod__go { color: var(--cx-teal-2); transform: translateX(3px); }

/* ---------- monitoreo ---------- */
.mon { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(24px, 4vw, 56px); align-items: center; }
.ticks { list-style: none; margin: 0 0 28px; padding: 0; display: grid; gap: 10px; }
.ticks li { display: flex; gap: 10px; align-items: flex-start; color: var(--cx-text-2); }
.ticks .ico { color: var(--cx-teal-2); margin-top: 4px; }
.ticks--cols { grid-template-columns: 1fr 1fr; gap: 12px 20px; }
.mon__viz { position: relative; padding-bottom: 96px; }
.panel { position: relative; z-index: 1; padding: 20px; border-radius: var(--cx-r-4); background: rgba(11,15,18,.9); border: 1px solid var(--cx-line-2); box-shadow: var(--cx-shadow-2); max-width: 560px; }
.panel__hd { display: flex; justify-content: space-between; align-items: center; gap: 12px; font-size: 11.5px; letter-spacing: .1em; color: var(--cx-text-3); margin-bottom: 16px; }
.live { display: inline-flex; align-items: center; gap: 6px; color: var(--cx-ok); }
.kpis { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-bottom: 16px; }
.kpis div { padding: 12px; border-radius: var(--cx-r-2); background: var(--cx-surface); border: 1px solid var(--cx-line); }
.kpis small { display: block; font-size: 12px; color: var(--cx-text-3); }
.kpis strong { font-size: 26px; font-weight: 500; }
.k-alarm { color: var(--cx-alarm); }
.tl { width: 100%; height: auto; }
.tl__bar { fill: rgba(0,178,178,.32); }
.tl__band--run { fill: var(--cx-teal); } .tl__band--stop { fill: var(--cx-idle); } .tl__band--alarm { fill: var(--cx-alarm); }
.tl__ax { fill: var(--cx-text-3); font: 10px var(--cx-font-mono); }
.tl__scan { stroke: var(--cx-teal-2); stroke-width: 1.5; animation: scan 9s linear infinite; }
@keyframes scan { from { transform: translateX(0); } to { transform: translateX(480px); } }
.legend { display: flex; gap: 16px; flex-wrap: wrap; margin-top: 10px; font-size: 13px; color: var(--cx-text-3); }
.legend span { display: inline-flex; gap: 6px; align-items: center; }
.lg { width: 10px; height: 10px; border-radius: 2px; display: inline-block; }
.lg--run { background: var(--cx-teal); } .lg--stop { background: var(--cx-idle); } .lg--alarm { background: var(--cx-alarm); }
.mon__box { position: absolute; right: -4%; bottom: -8px; width: 34%; z-index: 2; }
.mon__box img { border-radius: var(--cx-r-3); border: 1px solid var(--cx-line-2); box-shadow: var(--cx-shadow-2); }

/* ---------- transparencia ---------- */
.transp { display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(24px, 4vw, 64px); align-items: start; }
.facts { margin: 0; border-top: 1px solid var(--cx-line-2); }
.facts__row { display: grid; grid-template-columns: 200px 1fr; gap: 16px; padding: 18px 0; border-bottom: 1px solid var(--cx-line); }
.facts dt { font-size: 12.5px; letter-spacing: .1em; text-transform: uppercase; color: var(--cx-teal-2); padding-top: 3px; }
.facts dd { margin: 0; color: var(--cx-text); }
.facts--s .facts__row { grid-template-columns: 170px 1fr; padding: 12px 0; }

/* ---------- conformidad ---------- */
.conf-s { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(24px, 4vw, 56px); align-items: center; }
.nrs { list-style: none; margin: 0 0 20px; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.nr { padding: 8px 14px; border-radius: 8px; background: var(--cx-surface); border: 1px solid var(--cx-line-2); font: 500 15px var(--cx-font-mono); }
.nr--soon { border-style: dashed; color: var(--cx-text-3); }
/* Normas por país: inicio (país + chips) y Conformidade (título por país) */
.nrc { display: grid; grid-template-columns: 96px 1fr; gap: 12px; align-items: start; margin-bottom: 12px; }
.nrc .nrs { margin: 0; }
.nrc__k { padding-top: 9px; font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: var(--cx-text-3); }
.nrc__t { margin: 28px 0 12px; font: 500 13px var(--cx-font-mono); letter-spacing: .12em; text-transform: uppercase; color: var(--cx-text-3); }
.nrc__t:first-of-type { margin-top: 0; }
.disclaimer { display: flex; gap: 10px; align-items: flex-start; color: var(--cx-text-3); font-size: 14.5px; margin: 0; }
.disclaimer .ico { color: var(--cx-teal); margin-top: 3px; }
.nrlist { list-style: none; margin: 0 0 24px; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.nrlist li { display: flex; gap: 16px; align-items: baseline; padding: 16px 18px; border-radius: var(--cx-r-2); background: var(--cx-surface); border: 1px solid var(--cx-line); }
.nrlist strong { min-width: 58px; flex: none; max-width: 45%; color: var(--cx-teal-2); font-weight: 500; }
.nrlist span { color: var(--cx-text-2); }
.nrlist .is-soon { border-style: dashed; }
.nrlist .badge { margin-left: auto; }
.iso { display: flex; gap: 10px; align-items: center; color: var(--cx-text-2); margin-bottom: 32px; }
.iso .ico { color: var(--cx-teal); }
.resp { padding: 28px; border-radius: var(--cx-r-3); border: 1px solid rgba(230,138,0,.3); background: linear-gradient(160deg, rgba(230,138,0,.10), transparent 60%), var(--cx-surface); }
.resp h2 { display: flex; gap: 10px; align-items: center; font-size: 22px; color: var(--cx-orange-2); }
.two { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.two--wide { gap: clamp(24px, 4vw, 56px); align-items: start; }
.side { padding: 28px; border-radius: var(--cx-r-3); background: var(--cx-surface); border: 1px solid var(--cx-line); }
.side h2 { font-size: 26px; }
.side p { color: var(--cx-text-2); margin: 0; }

/* ---------- prueba social ---------- */
.logos { list-style: none; margin: 0 0 24px; padding: 0; display: grid; grid-template-columns: repeat(6, 1fr); gap: 12px; }
.logos li { height: 76px; display: grid; place-items: center; border-radius: var(--cx-r-2); background: var(--cx-surface); border: 1px solid var(--cx-line); padding: 12px; }
.logos img { max-height: 44px; width: auto; filter: grayscale(1) brightness(1.6); opacity: .8; }
.logos .ph { border-style: dashed; color: var(--cx-text-3); font-size: 12px; text-align: center; }
.quotes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.quote { margin: 0; padding: 24px; border-radius: var(--cx-r-3); background: var(--cx-surface); border: 1px solid var(--cx-line); }
.quote .ico { color: var(--cx-orange); margin-bottom: 10px; }
.quote blockquote { margin: 0 0 12px; color: var(--cx-text); }
.quote figcaption { color: var(--cx-text-3); font-size: 14px; }
.quote--ph { border-style: dashed; } .quote--ph blockquote { color: var(--cx-text-3); }

/* ---------- planes ---------- */
.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; align-items: stretch; }
.plan { position: relative; display: flex; flex-direction: column; padding: 28px; border-radius: var(--cx-r-4); background: var(--cx-surface); border: 1px solid var(--cx-line); }
.plan--feat { border-color: rgba(230,138,0,.55); background: linear-gradient(180deg, rgba(230,138,0,.09), transparent 40%), var(--cx-surface); box-shadow: 0 30px 80px -40px rgba(230,138,0,.45); }
.plan__badge { position: absolute; top: -12px; left: 28px; padding: 4px 10px; border-radius: 999px; background: var(--cx-orange); color: #15100a; font: 600 11px/1.3 var(--cx-font-mono); letter-spacing: .1em; text-transform: uppercase; }
.plan__name { font-size: 26px; margin-bottom: 8px; }
.plan__price { display: flex; align-items: baseline; gap: 6px; margin-bottom: 12px; }
.plan__price strong { font: 600 clamp(36px, 4vw, 46px)/1 var(--cx-font-display); }
.plan__price span { color: var(--cx-text-3); }
.plan__desc { color: var(--cx-text-2); font-size: 15.5px; min-height: 72px; }
.plan__list { list-style: none; margin: 8px 0 24px; padding: 16px 0 0; border-top: 1px solid var(--cx-line); display: grid; gap: 10px; flex: 1; align-content: start; }
.plan__list li { display: flex; gap: 10px; align-items: flex-start; font-size: 15.5px; }
.plan__list .ico { color: var(--cx-teal-2); margin-top: 3px; }
.plan__prev { color: var(--cx-text-3); font-size: 14px !important; }
.plan--compact .plan__list { margin-bottom: 20px; }

.monp { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(24px, 4vw, 56px); align-items: start; }
.monp__img { margin-top: 24px; max-width: 360px; }
.monp__img img { border-radius: var(--cx-r-3); border: 1px solid var(--cx-line-2); }
.ptable { border-radius: var(--cx-r-3); background: var(--cx-surface); border: 1px solid var(--cx-line); overflow: hidden; }
.ptable__r { display: flex; justify-content: space-between; gap: 16px; align-items: center; padding: 18px 22px; }
.ptable__r + .ptable__r { border-top: 1px solid var(--cx-line); }
.ptable__r strong { display: block; font-size: 17px; }
.ptable__r small { color: var(--cx-text-3); font-size: 14px; }
.ptable__r > span { font-size: 20px; white-space: nowrap; text-align: right; }
.ptable__r em { font-style: normal; font-size: 13px; color: var(--cx-text-3); margin-left: 4px; }
.ptable__r--main { background: var(--cx-teal-soft); }
.trial { padding: 32px; border-radius: var(--cx-r-4); border: 1px solid rgba(0,178,178,.35); background: linear-gradient(160deg, rgba(0,178,178,.10), transparent 55%), var(--cx-surface); }
.trial h2 { font-size: 28px; }
.trial p { color: var(--cx-text-2); }

/* ---------- FAQ ---------- */
.faq-w { max-width: 860px; }
.faq { border-top: 1px solid var(--cx-line-2); }
.faq__i { border-bottom: 1px solid var(--cx-line); }
.faq__i summary { list-style: none; display: flex; justify-content: space-between; gap: 16px; align-items: center; padding: 20px 4px; cursor: pointer; font: 600 18px/1.35 var(--cx-font-ui); }
.faq__i summary::-webkit-details-marker { display: none; }
.faq__i summary .ico { color: var(--cx-text-3); transition: transform .2s; }
.faq__i[open] summary .ico { transform: rotate(180deg); color: var(--cx-teal-2); }
.faq__i p { color: var(--cx-text-2); padding: 0 4px 20px; margin: 0; max-width: 720px; }

/* ---------- CTA final ---------- */
.cta { padding: 0 0 var(--sec); }
.cta__box { position: relative; text-align: center; padding: clamp(40px, 6vw, 72px) clamp(20px, 4vw, 56px); border-radius: 28px; background: radial-gradient(600px 240px at 50% 0, rgba(0,178,178,.18), transparent 70%), var(--cx-surface); border: 1px solid var(--cx-line-2); overflow: hidden; }
.cta__box h2 { font-size: clamp(30px, 4.6vw, 54px); }
.cta__box > p { color: var(--cx-text-2); max-width: 600px; margin: 0 auto 28px; font-size: 18px; }
.cta__btns { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }
.cta__note { color: var(--cx-text-3) !important; font-size: 14px !important; margin: 18px auto 0 !important; }

/* ---------- páginas de producto ---------- */
.phero { padding: clamp(40px, 6vw, 80px) 0 clamp(32px, 5vw, 56px); }
.phero__in { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(24px, 5vw, 64px); align-items: center; }
.phero__in--solo { grid-template-columns: minmax(0, 860px); }
.phero--center { text-align: center; }
.phero--center .phero__l { margin-left: auto; margin-right: auto; }
.phero__t { font-size: clamp(36px, 5.2vw, 64px); line-height: 1.02; margin-bottom: 20px; }
.phero__t span { display: block; color: var(--cx-teal-2); }
.phero__l { font-size: clamp(17px, 1.7vw, 20px); color: var(--cx-text-2); max-width: 640px; }
.crumbs { font-size: 12px; color: var(--cx-text-3); margin-bottom: 20px; letter-spacing: .06em; }
.crumbs a { color: var(--cx-text-3); } .crumbs a:hover { color: #fff; }
.frame { position: relative; justify-self: center; width: 100%; }
.frame img { border-radius: var(--cx-r-3); border: 1px solid var(--cx-line-2); box-shadow: var(--cx-shadow-2); }
.frame--phone { max-width: 340px; padding: 10px; border-radius: 40px; background: #07090b; border: 1px solid var(--cx-line-2); box-shadow: var(--cx-shadow-2), 0 0 0 6px rgba(255,255,255,.02); max-height: 640px; overflow: hidden; }
.frame--phone img { border-radius: 30px; border: 0; box-shadow: none; }
.frame--browser { padding-top: 28px; border-radius: var(--cx-r-3); background: var(--cx-surface-2); border: 1px solid var(--cx-line-2); box-shadow: var(--cx-shadow-2); overflow: hidden; }
.frame--browser::before { content: ""; position: absolute; top: 10px; left: 14px; width: 44px; height: 9px; background: radial-gradient(circle at 4.5px 4.5px, #e57373 4px, transparent 4.5px), radial-gradient(circle at 21.5px 4.5px, #e68a00 4px, transparent 4.5px), radial-gradient(circle at 38.5px 4.5px, #4caf50 4px, transparent 4.5px); }
.frame--browser img { border: 0; border-radius: 0; box-shadow: none; }
.frame--doc { max-width: 460px; transform: rotate(-1.5deg); }
.frame--doc img { border-radius: 6px; }
.frame--device img { border: 0; box-shadow: none; border-radius: 28px; -webkit-mask-image: radial-gradient(70% 70% at 50% 50%, #000 55%, transparent 100%); mask-image: radial-gradient(70% 70% at 50% 50%, #000 55%, transparent 100%); }
.ess { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.ess--6 { grid-template-columns: repeat(3, 1fr); }
.flow { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; counter-reset: f; }
.flow__i { position: relative; padding: 28px 24px 8px 0; }
.flow__i::before { content: ""; position: absolute; top: 9px; left: 22px; right: 0; height: 1px; background: linear-gradient(90deg, var(--cx-teal), var(--cx-line-2)); }
.flow__i::after { content: ""; position: absolute; top: 4px; left: 0; width: 11px; height: 11px; border-radius: 50%; border: 2px solid var(--cx-teal); background: var(--cx-bg); }
.flow__n { display: block; font-size: 12px; color: var(--cx-orange); margin-bottom: 8px; }
.flow__i h3 { font-size: 22px; }
.flow__i p { color: var(--cx-text-2); margin: 0; }
.links { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.lk { display: flex; gap: 14px; align-items: flex-start; padding: 22px; border-radius: var(--cx-r-3); background: var(--cx-surface); border: 1px solid var(--cx-line); color: var(--cx-text); transition: border-color .2s, transform .2s; }
.lk:hover { border-color: rgba(0,178,178,.45); transform: translateY(-2px); color: var(--cx-text); }
.lk__ico { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 10px; background: var(--cx-teal-soft); color: var(--cx-teal-2); flex: none; }
.lk__b strong { display: block; font-size: 17px; margin-bottom: 4px; }
.lk__b span { color: var(--cx-text-2); font-size: 15px; }
.lk__go { margin-left: auto; color: var(--cx-text-3); margin-top: 4px; }
.lk:hover .lk__go { color: var(--cx-teal-2); }
.soon { display: flex; gap: 20px; align-items: flex-start; padding: 28px; border-radius: var(--cx-r-3); border: 1px dashed rgba(230,138,0,.45); background: rgba(230,138,0,.04); }
.soon h2 { font-size: 22px; margin-bottom: 6px; }
.soon p { color: var(--cx-text-2); margin: 0; }
.devs { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-bottom: 24px; }
.dev { padding: 16px 16px 24px; border-radius: var(--cx-r-4); background: var(--cx-surface); border: 1px solid var(--cx-line); }
.dev__img { position: relative; border-radius: var(--cx-r-3); overflow: hidden; margin-bottom: 18px; aspect-ratio: 16 / 11; }
.dev__img img { width: 100%; height: 100%; object-fit: cover; }
.dev__img--soon img { filter: grayscale(.85) brightness(.75); }
.dev__img .badge { position: absolute; top: 14px; left: 14px; }
.dev h3 { font-size: 24px; padding: 0 8px; }
.dev p { color: var(--cx-text-2); padding: 0 8px; margin: 0; }
.ret { padding: 24px; border-radius: var(--cx-r-3); background: var(--cx-surface); border: 1px solid var(--cx-line); }
.ret h3 { font-size: 13px; letter-spacing: .14em; text-transform: uppercase; color: var(--cx-text-3); font-weight: 500; }

/* ---------- contacto ---------- */
.contact { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(24px, 5vw, 72px); align-items: start; }
.chan { margin: 32px 0 0; display: grid; gap: 14px; }
.chan div { display: grid; grid-template-columns: 140px 1fr; gap: 12px; }
.chan dt { font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--cx-text-3); padding-top: 3px; }
.chan dd { margin: 0; }
.wa { position: relative; padding: 28px; border-radius: var(--cx-r-4); background: var(--cx-surface); border: 1px solid var(--cx-line-2); box-shadow: var(--cx-shadow-2); display: grid; gap: 18px; }
.field { display: grid; gap: 6px; }
.field label { font-weight: 600; font-size: 15px; }
.field input, .field textarea { width: 100%; padding: 12px 14px; border-radius: var(--cx-r-2); border: 1px solid var(--cx-line-2); background: var(--cx-bg-2); color: var(--cx-text); font: 400 16px/1.5 var(--cx-font-ui); resize: vertical; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--cx-teal); box-shadow: 0 0 0 3px var(--cx-teal-soft); }
.field [aria-invalid="true"] { border-color: var(--cx-alarm); }
.field__err { color: var(--cx-alarm); font-size: 14px; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.wa--pick { gap: 18px; }
.wa__btns { display: flex; flex-wrap: wrap; gap: 12px; }
@media (max-width: 560px) { .wa__btns .btn { flex: 1 1 100%; } }   /* en el celular, los dos del mismo ancho */
/* WhatsApp (MARKETING, Juan 2026-11-27): botón fijo y ventana «Continuar no WhatsApp» (app/views/wa-dialog.php).
   El logo es el glifo oficial, sin cambios (reglas de marca de Meta). Lo nuestro es la cápsula: vidrio oscuro con borde
   fino, como los chips de la «sala de control», y dos ondas de radar que salen del logo (2026-11-27, pedido de Juan).
   En el celular queda solo el círculo. Debajo del encabezado (el menú lo tapa) y por encima del aviso de cookies. Sin JS no se muestra. */
.wa-mark { position: relative; display: grid; place-items: center; flex: none; width: 40px; height: 40px; border-radius: 50%; background: #25d366; color: #fff; }
.wa-mark .ico { width: 22px; height: 22px; }
.wa-fab { display: none; }
.js .wa-fab { position: fixed; z-index: 40; right: var(--gut); bottom: var(--gut); display: flex; align-items: center; gap: 12px; padding: 6px 20px 6px 6px; border: 1px solid var(--cx-line-2); border-radius: 999px; background: var(--cx-glass); backdrop-filter: blur(14px) saturate(140%); -webkit-backdrop-filter: blur(14px) saturate(140%); color: var(--cx-text); font: inherit; text-align: left; cursor: pointer; box-shadow: var(--cx-shadow-2); transition: border-color .2s ease, transform .25s ease, opacity .25s ease, bottom .2s ease; }
.js .wa-fab:hover { border-color: rgba(37, 211, 102, .55); transform: translateY(-2px); }
.wa-fab:focus-visible { outline: 2px solid var(--cx-teal); outline-offset: 3px; }
.wa-fab .wa-mark { width: 46px; height: 46px; }
.wa-fab .wa-mark .ico { width: 26px; height: 26px; }
.wa-fab .wa-mark::before, .wa-fab .wa-mark::after { content: ""; position: absolute; inset: 0; border-radius: 50%; border: 1.5px solid rgba(37, 211, 102, .75); opacity: 0; pointer-events: none; animation: radar 3.6s cubic-bezier(.2, .6, .35, 1) infinite; }
.wa-fab .wa-mark::after { animation-delay: .5s; }
@keyframes radar { 0% { transform: scale(1); opacity: .85; } 55%, 100% { transform: scale(1.75); opacity: 0; } }
.wa-fab__txt { position: relative; z-index: 1; display: grid; gap: 2px; line-height: 1.2; }
.wa-fab__k { font: 500 10.5px/1.3 var(--cx-font-mono); letter-spacing: .14em; text-transform: uppercase; color: var(--cx-text-3); }
.wa-fab__v { font-size: 15px; font-weight: 600; white-space: nowrap; }
body:has(#ck:not([hidden])) .wa-fab { bottom: calc(var(--ck-h, 160px) + var(--gut) + 12px); }
.js .wa-fab.is-away { opacity: 0; transform: translateY(16px); pointer-events: none; }   /* celular: mientras se ven los botones de la portada (site.js) */
.wad { width: min(460px, calc(100vw - 2 * var(--gut))); max-height: calc(100dvh - 32px); padding: 0; border: 1px solid var(--cx-line-2); border-radius: var(--cx-r-4); background: var(--cx-surface); color: var(--cx-text); box-shadow: 0 30px 80px -24px rgba(0, 0, 0, .85); }
.wad::backdrop { background: rgba(5, 8, 10, .66); backdrop-filter: blur(4px); -webkit-backdrop-filter: blur(4px); }
.wad__f { display: grid; gap: 16px; padding: 22px; }
.wad__h { display: flex; align-items: center; gap: 12px; }
.wad__h h2 { flex: 1; margin: 0; font-size: 22px; line-height: 1.2; }
.wad__x { display: grid; place-items: center; width: 38px; height: 38px; padding: 0; border: 0; border-radius: 10px; background: none; color: var(--cx-text-3); cursor: pointer; }
.wad__x:hover { color: var(--cx-text); background: var(--cx-surface-2); }
@media (max-width: 900px) { .js .wa-fab { padding: 5px; gap: 0; } .wa-fab__txt { display: none; } }
@media (max-width: 560px) { .wa-fab .wa-mark { width: 48px; height: 48px; } .wad__f { padding: 18px; gap: 14px; }
  body:has(#ck:not([hidden])) .wa-fab { display: none; } }   /* en el celular el aviso ocupa el pie: el botón aparece al responderlo y no tapa los botones de la portada */
@media (prefers-reduced-motion: reduce) { .wa-fab .wa-mark::before, .wa-fab .wa-mark::after { animation: none; } }

/* ---------- ayuda / legal ---------- */
.docs { display: grid; grid-template-columns: 240px 1fr; gap: clamp(24px, 4vw, 56px); align-items: start; }
.docs__nav { position: sticky; top: calc(var(--hd) + 24px); padding: 18px; border-radius: var(--cx-r-3); background: var(--cx-surface); border: 1px solid var(--cx-line); }
.docs__nav p { font-size: 11.5px; letter-spacing: .14em; text-transform: uppercase; color: var(--cx-text-3); margin-bottom: 10px; }
.docs__nav ol { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; }
.docs__nav a { display: block; padding: 7px 10px; border-radius: 6px; color: var(--cx-text-2); font-size: 15px; }
.docs__nav a:hover, .docs__nav a.is-on { background: var(--cx-surface-2); color: #fff; }
.docs__body { max-width: 760px; }
.art { padding: 0 0 40px; margin-bottom: 40px; border-bottom: 1px solid var(--cx-line); }
.art h2 { font-size: 30px; }
.art p { color: var(--cx-text-2); }
.art__steps { margin: 0 0 16px; padding: 0; list-style: none; counter-reset: s; display: grid; gap: 12px; }
.art__steps li { position: relative; padding-left: 44px; counter-increment: s; color: var(--cx-text); }
.art__steps li::before { content: counter(s, decimal-leading-zero); position: absolute; left: 0; top: 0; width: 32px; height: 26px; display: grid; place-items: center; border-radius: 6px; background: var(--cx-teal-soft); color: var(--cx-teal-2); font: 500 12px/26px var(--cx-font-mono); text-align: center; }
.art__note { display: flex; gap: 10px; padding: 14px 16px; border-radius: var(--cx-r-2); background: var(--cx-surface); border: 1px solid var(--cx-line); font-size: 15px; }
.art__note .ico { color: var(--cx-orange); margin-top: 3px; }
.art--more { border: 0; }
.prose { max-width: 780px; color: var(--cx-text-2); }
.prose h2 { font-size: 22px; color: var(--cx-text); margin-top: 40px; }
.prose ul { padding-left: 20px; }
.prose li { margin-bottom: 6px; }

/* ---------- pie ---------- */
.ft { border-top: 1px solid var(--cx-line); background: var(--cx-bg-2); padding: 56px 0 28px; }
.ft__top { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 32px; }
.logo--ft { width: 88px; margin-bottom: 16px; }
.ft__brand p { color: var(--cx-text-3); font-size: 15px; max-width: 360px; }
.ft__contact { display: grid; gap: 8px; }
.ft__contact a { display: inline-flex; gap: 8px; align-items: center; color: var(--cx-text-2); }
.ft__col { display: grid; gap: 8px; align-content: start; }
.ft__col h2 { font: 500 12px var(--cx-font-mono); letter-spacing: .16em; text-transform: uppercase; color: var(--cx-text-3); margin-bottom: 6px; }
.ft__col a { color: var(--cx-text-2); font-size: 15px; }
.ft__col a:hover, .ft__contact a:hover { color: #fff; }
.ft__bot { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-top: 48px; padding-top: 20px; border-top: 1px solid var(--cx-line); color: var(--cx-text-3); font-size: 13px; }

/* ---------- aparición al hacer scroll ---------- */
.js .reveal { opacity: 0; transform: translateY(14px); transition: opacity .6s ease, transform .6s ease; }
.js .reveal.is-in { opacity: 1; transform: none; }

/* ---------- responsivo ---------- */
@media (max-width: 1100px) {
  .roi { grid-template-columns: 1fr; }
  .trust { grid-template-columns: 1fr 1fr; }
  .trust li:nth-child(3) { border-left: 0; }
  .trust li:nth-child(n+3) { border-top: 1px solid var(--cx-line); }
}
@media (max-width: 900px) {
  .hero__in, .phero__in, .story, .mon, .transp, .conf-s, .monp, .contact, .two, .docs { grid-template-columns: 1fr; }
  .hero__stage { max-width: 560px; width: 100%; }   /* el margen y el orden van con la portada en el celular, arriba */
  .mods, .plans, .links, .ess, .ess--6, .quotes { grid-template-columns: 1fr 1fr; }
  .flow { grid-template-columns: 1fr 1fr; row-gap: 24px; }
  .logos { grid-template-columns: repeat(3, 1fr); }
  .nrlist { grid-template-columns: 1fr; }
  .docs__nav { position: static; }
  .story__side { order: -1; }
  .steps { grid-auto-flow: column; grid-auto-columns: minmax(200px, 72%); overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 6px; scrollbar-width: none; }
  .steps::-webkit-scrollbar { display: none; }
  .steps li { scroll-snap-align: start; }
  .step { border-color: var(--cx-line); height: 100%; }
  /* Páginas de producto en el celular, igual que la portada (Juan, 2026-11-27): título → imagen → párrafo → botones.
     Solo donde hay imagen (no en .phero__in--solo ni en contacto). La imagen y sus etiquetas no cambian. */
  .phero:has(.phero__media) { padding-top: clamp(20px, 3vw, 40px); }   /* el espacio sobre las migas a la mitad, como en la portada (Juan, 2026-11-27) */
  .phero__in:not(.phero__in--solo) { row-gap: 0; }
  .phero__in:not(.phero__in--solo) > .phero__copy { display: contents; }
  .phero__copy > .crumbs { order: 1; }
  .phero__copy > .eyebrow { order: 2; }
  .phero__in .phero__t { order: 3; }
  .phero__media { order: 4; margin-bottom: 28px; }
  .phero__in .phero__l { order: 5; }
  .phero__copy > .hero__btns { order: 6; }
  .frame--phone { max-height: 520px; }
  .plan__desc { min-height: 0; }
}
@media (max-width: 640px) {
  body { font-size: 16px; }
  .mods, .plans, .links, .ess, .ess--6, .quotes, .devs, .roi__grid, .flow, .ticks--cols { grid-template-columns: 1fr; }
  .trust { grid-template-columns: 1fr 1fr; }
  .trust li { padding: 14px; }
  .trust strong { font-size: 18px; }
  .facts__row, .facts--s .facts__row { grid-template-columns: 1fr; gap: 4px; }
  .chip { min-width: 0; padding: 10px 12px; }
  .chip__v { font-size: 13.5px; }
  .chip--alarm { right: 0; }
  .spark { width: 100px; }
  .chip__hash { display: none; }
  .mon__viz { padding-bottom: 0; }
  .mon__box { position: static; width: 70%; margin: -24px 0 0 auto; }
  .kpis strong { font-size: 21px; }
  .ft__top { grid-template-columns: 1fr 1fr; }
  .ft__brand { grid-column: 1 / -1; }
  .chan div { grid-template-columns: 1fr; gap: 2px; }
  .logos { grid-template-columns: 1fr 1fr; }
  .hero__btns .btn { flex: 1 1 100%; }
  .ptable__r { flex-direction: column; align-items: flex-start; }
  .ptable__r > span { text-align: left; }
  .soon { flex-direction: column; }
  .node__t { font-size: 19px; }
  .node--core .node__t { font-size: 19px; }
  .story__stage { padding: 4px 0 0; }
  .story__cap { margin: 4px 0 0; }
}

/* ===== v2: jerarquía RIAR → CORTEX → módulos (2026-10-21) ===== */
.tagb { font-style: normal; display: inline-block; margin-left: 6px; padding: 1px 7px; border-radius: 999px; background: var(--cx-orange-soft); color: var(--cx-orange-2); font: 500 10.5px/1.5 var(--cx-font-mono); letter-spacing: .1em; text-transform: uppercase; vertical-align: middle; }
.mega__card--main { grid-column: 1 / -1; background: linear-gradient(90deg, rgba(0,178,178,.12), transparent 70%); border: 1px solid rgba(0,178,178,.3); }

/* hero con la plataforma */
.hero__app { position: absolute; inset: 8% 0 10% 6%; }
.hero__app img { width: 100%; height: 100%; object-fit: cover; object-position: left top; }
.hero__stage::before { content: ""; position: absolute; inset: 0 -10% -10% 0; background: radial-gradient(50% 50% at 60% 50%, rgba(0,178,178,.18), transparent 70%); pointer-events: none; }
.hero .chip--alarm { top: 0; right: 6%; }

/* para quem é */
.who { display: grid; grid-template-columns: 1fr 200px 1fr; gap: 0; align-items: stretch; }
.who__c { padding: 28px; border-radius: var(--cx-r-4); background: var(--cx-surface); border: 1px solid var(--cx-line); display: flex; flex-direction: column; }
.who__c h3 { font-size: 26px; }
.who__c > p:not(.eyebrow) { color: var(--cx-text-2); }
.who__c .ticks { margin-bottom: 20px; }
.who__mods { display: flex; flex-wrap: wrap; gap: 6px; margin-top: auto; }
.who__mods .tag:hover { border-color: var(--cx-teal); color: #fff; }
.who__link { position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; gap: 6px; padding: 16px; color: var(--cx-text); }
.who__link:hover { color: #fff; }
.who__line { position: absolute; left: 0; right: 0; top: 50%; height: 2px; background: repeating-linear-gradient(90deg, var(--cx-teal) 0 8px, transparent 8px 14px); opacity: .7; z-index: 0; animation: dashx 1.2s linear infinite; }
@keyframes dashx { to { background-position: 14px 0; } }
.who__docs { position: relative; z-index: 1; display: grid; place-items: center; width: 58px; height: 58px; border-radius: 50%; background: #0f3236; border: 1.5px solid var(--cx-teal-2); color: var(--cx-teal-2); box-shadow: 0 0 0 8px var(--cx-bg); }
.who__link strong { position: relative; z-index: 1; font-family: var(--cx-font-display); font-size: 18px; background: var(--cx-bg); padding: 0 6px; }
.who__link small { position: relative; z-index: 1; color: var(--cx-text-3); font-size: 13px; line-height: 1.35; background: var(--cx-bg); padding: 2px 4px; }

/* RT base + módulos */
.base { position: relative; display: grid; grid-template-columns: auto 1fr auto; gap: 20px; align-items: center; padding: 26px 28px; margin-bottom: 28px; border-radius: var(--cx-r-4); color: var(--cx-text);
  background: linear-gradient(90deg, rgba(230,138,0,.12), transparent 60%), var(--cx-surface); border: 1px solid rgba(230,138,0,.4); transition: transform .25s, border-color .25s; }
.base:hover { color: var(--cx-text); transform: translateY(-2px); border-color: var(--cx-orange); }
/* Portada, bloque Planos (Juan, 2026-11-27): las tarjetas son un resumen; la barra de abajo lo dice y lleva a los detalles y
   a la calculadora. Misma familia que la barra de la base (ámbar sobre oscuro) y la cuadrícula técnica del sitio a la derecha. */
.plans-more { position: relative; display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 18px 28px; align-items: center; margin-top: 28px; padding: 26px 28px; overflow: hidden; border-radius: var(--cx-r-4); border: 1px solid rgba(230, 138, 0, .4);
  background: linear-gradient(90deg, rgba(230, 138, 0, .16), rgba(230, 138, 0, .04) 45%, transparent 75%), var(--cx-surface); }
.plans-more::after { content: ""; position: absolute; inset: 0 0 0 48%; pointer-events: none; opacity: .55;
  background-image: linear-gradient(var(--cx-line-2) 1px, transparent 1px), linear-gradient(90deg, var(--cx-line-2) 1px, transparent 1px); background-size: 22px 22px;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 45%); mask-image: linear-gradient(90deg, transparent, #000 45%); }
.plans-more > * { position: relative; z-index: 1; }
.plans-more__ico { display: grid; place-items: center; align-self: start; width: 56px; height: 56px; border-radius: 14px; background: var(--cx-orange-soft); color: var(--cx-orange-2); }
.plans-more__b { display: grid; gap: 6px; }
.plans-more__k { margin: 0; font-size: 10.5px; letter-spacing: .14em; text-transform: uppercase; color: var(--cx-orange-2); }
.plans-more__t { margin: 0; font: 600 26px/1.15 var(--cx-font-display); }
.plans-more__d { margin: 0; max-width: 640px; color: var(--cx-text-2); }
.plans-more__list { display: flex; flex-wrap: wrap; gap: 6px 20px; margin: 6px 0 0; padding: 0; list-style: none; font-size: 14px; color: var(--cx-text-2); }
.plans-more__list li { display: inline-flex; align-items: center; gap: 6px; }
.plans-more__list .ico { color: var(--cx-orange-2); }
.plans-more__act { display: grid; gap: 12px; justify-items: center; min-width: 230px; }
.plans-more__act .btn { width: 100%; }
.plans-more__det { display: inline-flex; align-items: center; gap: 6px; font-size: 15px; font-weight: 600; color: var(--cx-text); }
.plans-more__det .ico { transition: transform .2s ease; }
.plans-more__det:hover { color: var(--cx-orange-2); }
.plans-more__det:hover .ico { transform: translateX(3px); }
@media (max-width: 900px) { .plans-more { grid-template-columns: auto minmax(0, 1fr); padding: 22px 20px; } .plans-more__act { grid-column: 1 / -1; justify-items: stretch; min-width: 0; } .plans-more__det { justify-content: center; } .plans-more::after { inset: 0 0 0 30%; } }
@media (max-width: 560px) { .plans-more { grid-template-columns: 1fr; } .plans-more__ico { width: 46px; height: 46px; } .plans-more__t { font-size: 23px; } }
.base .mod__ico { margin: 0; background: var(--cx-orange-soft); color: var(--cx-orange-2); width: 56px; height: 56px; }
.base__b { display: grid; gap: 2px; }
.base__b .eyebrow { margin: 0; color: var(--cx-orange-2); }
.base__b strong { font: 600 28px/1.1 var(--cx-font-display); }
.base__b span:last-child { color: var(--cx-text-2); }
.base__learn { display: inline-flex; gap: 8px; align-items: center; padding: 8px 12px; border-radius: 999px; border: 1px solid var(--cx-line-2); color: var(--cx-text-2); font-size: 14px; margin-right: 32px; white-space: nowrap; }
.base .mod__go { top: 50%; transform: translateY(-50%); }
.base:hover .mod__go { transform: translate(3px, -50%); color: var(--cx-orange-2); }
.mods__k { font-size: 12px; letter-spacing: .16em; text-transform: uppercase; color: var(--cx-text-3); margin-bottom: 14px; }
.mods__plat { margin-top: 28px; }
.machines { display: flex; gap: 10px; align-items: flex-start; color: var(--cx-text-3); font-size: 15px; margin: -8px 0 24px; }
.machines .ico { color: var(--cx-teal); margin-top: 4px; }

/* compatibilidad (monitoramento) */
.compat { display: grid; grid-template-columns: 1fr 1.2fr; gap: 24px; align-items: center; padding: 24px; margin-bottom: 20px; border-radius: var(--cx-r-3); background: var(--cx-surface); border: 1px solid var(--cx-line); }
.compat h3 { font-size: 13px; letter-spacing: .14em; text-transform: uppercase; color: var(--cx-text-3); font-weight: 500; }
.compat p { color: var(--cx-text-2); margin: 0; }
.brands { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.brands li { padding: 8px 14px; border-radius: 8px; border: 1px solid var(--cx-line-2); font: 600 15px var(--cx-font-display); letter-spacing: .06em; color: var(--cx-text); }
.brands__more { border-style: dashed !important; color: var(--cx-text-3) !important; font: 400 14px var(--cx-font-ui) !important; letter-spacing: 0 !important; }

/* maqueta API */
.frame--code, .frame--prod, .frame--hook { max-width: 560px; }
.code { border-radius: var(--cx-r-3); background: #0a0d10; border: 1px solid var(--cx-line-2); box-shadow: var(--cx-shadow-2); overflow: hidden; }
.code__hd { display: flex; align-items: center; gap: 8px; padding: 12px 16px; border-bottom: 1px solid var(--cx-line); font-size: 12px; letter-spacing: .1em; color: var(--cx-text-2); }
.code__hd .ico { color: var(--cx-teal); }
.code__hd em { margin-left: auto; font-style: normal; color: var(--cx-text-3); letter-spacing: .04em; }
.code pre { margin: 0; padding: 18px 20px; font-size: 13.5px; line-height: 1.65; color: var(--cx-text-2); overflow-x: auto; }
.c-k { color: var(--cx-orange-2); } .c-n { color: var(--cx-teal-2); } .c-s { color: #9ecbff; } .c-v { color: #a5e3a1; } .c-c { color: var(--cx-text-3); }
.code__ft { display: flex; gap: 8px; align-items: center; padding: 12px 16px; border-top: 1px solid var(--cx-line); font-size: 13.5px; color: var(--cx-text-2); background: rgba(0,178,178,.06); }
.code__ft .ico { color: var(--cx-teal-2); }

/* maqueta Webhooks: lo que pasa en CORTEX → a qué sistema llegó */
.hook__list { list-style: none; margin: 0; padding: 10px; display: grid; gap: 8px; }
.hook__i { display: grid; grid-template-columns: 1.2fr 1fr; gap: 12px; align-items: center; padding: 12px 14px; border-radius: var(--cx-r-2); background: rgba(255,255,255,.03); border: 1px solid var(--cx-line); }
.hook__ev, .hook__to { display: flex; gap: 10px; align-items: flex-start; min-width: 0; }
.hook__ev > span, .hook__to > span { display: grid; gap: 2px; min-width: 0; }
.hook__ev strong, .hook__to strong { font-size: 14px; color: var(--cx-text); font-weight: 600; }
.hook__ev small, .hook__to small { font-size: 12.5px; color: var(--cx-text-3); }
.hook__ev .ico { color: var(--cx-teal-2); margin-top: 2px; flex: none; }
.hook__to .ico { color: var(--cx-text-3); margin-top: 2px; flex: none; }
.hook__to small { color: #a5e3a1; }
.hook__i--retry .hook__to small { color: var(--cx-orange-2); }
@media (max-width: 560px) { .hook__i { grid-template-columns: 1fr; gap: 8px; } }

/* maqueta Produção */
.pmock { padding: 20px; border-radius: var(--cx-r-4); background: rgba(11,15,18,.92); border: 1px solid var(--cx-line-2); box-shadow: var(--cx-shadow-2); }
.pmock__list { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.pmock__list li { display: grid; grid-template-columns: 64px 1fr 90px 42px; gap: 12px; align-items: center; padding: 10px 12px; border-radius: var(--cx-r-2); background: var(--cx-surface); border: 1px solid var(--cx-line); }
.pmock .kpis strong { display: block; font-size: clamp(15px, 1.6vw, 21px); white-space: nowrap; }   /* «R$ 18,40» en una línea */
.pmock__os { font-size: 12px; color: var(--cx-orange-2); }
.pmock__p strong { display: block; font-size: 14.5px; line-height: 1.2; }
.pmock__p small { color: var(--cx-text-3); font-size: 12.5px; }
.pmock__bar { height: 6px; border-radius: 3px; background: var(--cx-surface-3); overflow: hidden; }
.pmock__bar i { display: block; height: 100%; background: var(--cx-teal); border-radius: 3px; }
.pmock__pct { font-size: 12px; color: var(--cx-text-2); text-align: right; }
.w100 { width: 100%; } .w85 { width: 85%; } .w60 { width: 60%; } .w35 { width: 35%; } .w10 { width: 10%; }

/* configurador */
.cfg { display: grid; grid-template-columns: 1fr 380px; gap: clamp(20px, 3vw, 40px); align-items: start; }
.cfg__steps { display: grid; gap: 18px; min-width: 0; }
.cfg__f { margin: 0; padding: 24px; border-radius: var(--cx-r-4); background: var(--cx-surface); border: 1px solid var(--cx-line); min-width: 0; }
.cfg__f legend { float: left; width: 100%; padding: 0; margin: 0 0 18px; font: 600 22px/1.2 var(--cx-font-display); }
.cfg__f legend .mono { font-size: 13px; color: var(--cx-orange); margin-right: 8px; vertical-align: 3px; }
.cfg__f > *:not(legend) { clear: both; }
.opts { display: grid; gap: 10px; }
.opts--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.opts--mods { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.opt, .opt__b { min-width: 0; }
.opt { position: relative; display: block; cursor: pointer; }
.opt input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.opt__b { display: grid; gap: 2px; height: 100%; padding: 14px 16px; border-radius: var(--cx-r-2); border: 1px solid var(--cx-line-2); background: var(--cx-bg-2); transition: border-color .2s, background .2s; }
.opt__b strong { font-size: 16px; }
.opt__b small { color: var(--cx-text-3); font-size: 13.5px; line-height: 1.35; }
.opt__b > .mono { color: var(--cx-teal-2); font-size: 14px; }
.opt:hover .opt__b { border-color: var(--cx-teal); }
.opt input:checked + .opt__b { border-color: var(--cx-teal-2); background: rgba(0,178,178,.10); box-shadow: inset 0 0 0 1px var(--cx-teal-2); }
.opt input:focus-visible + .opt__b { outline: 2px solid var(--cx-teal-2); outline-offset: 2px; }
.opt--chk .opt__b { grid-template-columns: 36px minmax(0, 1fr) auto; column-gap: 12px; align-items: start; }
.opt--chk .opt__b > strong, .opt--chk .opt__b > small { grid-column: 2; }
.opt__ico { grid-row: 1 / span 2; display: grid; place-items: center; width: 36px; height: 36px; border-radius: 10px; background: var(--cx-teal-soft); color: var(--cx-teal-2); }
.opt__ico .ico { width: 18px; height: 18px; }
.opt__price, .opt__inc { grid-column: 3; grid-row: 1; font-size: 13px; color: var(--cx-text-2); white-space: nowrap; }
.opt__inc { display: none; color: var(--cx-ok); font: 500 11px/1.6 var(--cx-font-mono); letter-spacing: .1em; text-transform: uppercase; }
.opt.is-inc .opt__price { display: none; } .opt.is-inc .opt__inc { display: block; }
.opt.is-inc { cursor: default; } .opt.is-inc .opt__b { opacity: .85; }
.opt input:disabled + .opt__b { cursor: default; }
.sub, .pills { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.sub { margin-top: 14px; padding-top: 14px; border-top: 1px solid var(--cx-line); }
.sub__k { color: var(--cx-text-2); font-size: 14.5px; margin-right: 6px; }
.pill { position: relative; cursor: pointer; }
.pill input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.pill span { display: inline-flex; align-items: center; min-height: 40px; padding: 8px 14px; border-radius: 999px; border: 1px solid var(--cx-line-2); color: var(--cx-text-2); font-size: 14.5px; transition: all .2s; }
.pill:hover span { border-color: var(--cx-teal); color: #fff; }
.pill input:checked + span { border-color: var(--cx-teal-2); background: rgba(0,178,178,.12); color: #fff; }
.pill input:focus-visible + span { outline: 2px solid var(--cx-teal-2); outline-offset: 2px; }
.grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 18px 24px; margin-bottom: 14px; }
.field__l { font-weight: 600; font-size: 15px; }
.field select { width: 100%; min-height: 44px; padding: 10px 12px; border-radius: var(--cx-r-2); border: 1px solid var(--cx-line-2); background: var(--cx-bg-2); color: var(--cx-text); font: 400 16px var(--cx-font-ui); }
.stepper { display: flex; align-items: stretch; max-width: 180px; }
.stepper input { text-align: center; border-radius: 0 !important; border-left: 0 !important; border-right: 0 !important; -moz-appearance: textfield; }
.stepper input::-webkit-outer-spin-button, .stepper input::-webkit-inner-spin-button { -webkit-appearance: none; }
.stepper button { width: 44px; border: 1px solid var(--cx-line-2); background: var(--cx-surface-2); color: var(--cx-text); font-size: 20px; cursor: pointer; }
.stepper button:first-child { border-radius: var(--cx-r-2) 0 0 var(--cx-r-2); } .stepper button:last-child { border-radius: 0 var(--cx-r-2) var(--cx-r-2) 0; }
.stepper button:hover { color: var(--cx-teal-2); }
/* usuarios por plan (configurador + tarjetas) */
.users { display: flex; flex-wrap: wrap; align-items: flex-end; gap: 12px 24px; }
.users__info { margin: 0 0 10px; color: var(--cx-text-2); font-size: 14.5px; }
.users__hint { margin: 14px 0 0; padding: 12px 14px; border-radius: var(--cx-r-2); background: var(--cx-teal-soft); font-size: 14.5px; display: flex; flex-wrap: wrap; align-items: center; gap: 6px 8px; }
.users__hint .ico { color: var(--cx-teal-2); }
.lnk { padding: 0; border: 0; background: none; color: var(--cx-teal-2); font: 600 14.5px var(--cx-font-ui); text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.lnk:hover { color: var(--cx-text); }
.plan__extra { margin: -12px 0 20px; color: var(--cx-text-2); font-size: 14px; }
.wa .grid2 { margin-bottom: 0; }
.sum { position: sticky; top: calc(var(--hd) + 20px); padding: 24px; border-radius: var(--cx-r-4); background: linear-gradient(180deg, rgba(0,178,178,.10), transparent 50%), var(--cx-surface); border: 1px solid rgba(0,178,178,.35); box-shadow: var(--cx-shadow-2); display: grid; gap: 12px; }
.sum .eyebrow { margin: 0; }
.sum__lines { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.sum__lines li { display: flex; justify-content: space-between; gap: 12px; font-size: 14.5px; color: var(--cx-text-2); }
.sum__lines li span:last-child { color: var(--cx-text); white-space: nowrap; }
.sum__tot { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; padding-top: 12px; border-top: 1px solid var(--cx-line-2); }
.sum__tot strong { font-size: 28px; font-weight: 500; color: var(--cx-teal-2); }
.sum__alt { font-size: 13px; color: var(--cx-ok); margin: 0; min-height: 1em; }
.sum .note { margin: 0; }

@media (max-width: 1100px) {
  .cfg { grid-template-columns: 1fr; }
  .sum { position: static; }
}
@media (max-width: 900px) {
  .who { grid-template-columns: 1fr; }
  .who__link { min-height: 140px; }
  .who__line { left: 50%; right: auto; top: 0; bottom: 0; width: 2px; height: auto; background: repeating-linear-gradient(180deg, var(--cx-teal) 0 8px, transparent 8px 14px); animation: none; }
  .base { grid-template-columns: auto 1fr; }
  .base__learn { grid-column: 1 / -1; justify-self: start; margin: 0; }
  .compat { grid-template-columns: 1fr; }
  .hero__app { inset: 10% 0 12% 0; }
}
@media (max-width: 640px) {
  .opts--3, .opts--mods, .grid2 { grid-template-columns: minmax(0, 1fr); }
  .opt--chk .opt__b { grid-template-columns: 36px minmax(0, 1fr); }
  .opt__price, .opt__inc { grid-column: 2; grid-row: auto; font-size: 12.5px; margin-top: 4px; }
  .cfg__f { padding: 18px; }
  .pmock__list li { grid-template-columns: 54px 1fr 40px; }
  .pmock__bar { display: none; }
  .pmock .kpis strong { font-size: 18px; }
  .base { padding: 20px; }
  .base .mod__go { display: none; }
}

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

/* ===== v3: estrategia (dolores, inteligencia operacional, evidencia, módulos con interruptor) — 2026-10-27 ===== */
.tagb--beta { background: rgba(63,224,216,.12); color: var(--cx-teal-2); border: 1px solid rgba(63,224,216,.35); }
.tagb--dev { background: rgba(229,115,115,.10); color: var(--cx-alarm); border: 1px dashed rgba(229,115,115,.5); }
.w0 { width: 0; } .w18 { width: 18%; } .w72 { width: 72%; } .w66 { width: 66%; }

/* barra de desarrollo (solo local) */
.devbar { position: fixed; z-index: 90; left: 12px; bottom: 12px; display: flex; flex-wrap: wrap; gap: 6px 14px; align-items: center; max-width: calc(100vw - 24px); padding: 8px 12px; border-radius: 10px; background: rgba(40,14,14,.92); border: 1px dashed rgba(229,115,115,.6); color: #f3c4c4; font-size: 11.5px; box-shadow: var(--cx-shadow-2); }
.devbar__h { color: #c99; }
.devbar a { color: #fff; text-decoration: underline; }

/* hero: celular sobre el painel + etiquetas en 3 posiciones */
.hero__phone { position: absolute; z-index: 1; right: -1%; bottom: -2%; width: 27%; max-width: 190px; padding: 6px; border-radius: 26px; }
.hero__phone img { border-radius: 20px; }
.chip--p1 { top: 2%; right: 6%; animation-delay: -2s; }
.chip--p2 { bottom: 2%; left: 2%; animation-delay: -4s; }
.chip--p3 { top: 40%; left: -4%; animation-delay: -1s; }
.chip--ar .chip__k, .chip--search .chip__k, .chip--fin .chip__k { color: var(--cx-teal-2); }
.chip--static { position: absolute; animation: float 7s ease-in-out infinite; }
@media (max-width: 640px) { .chip--p3 { display: none; } .hero__phone { width: 30%; } }

/* dolores → respuestas */
.pains { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.pain { position: relative; display: grid; grid-template-rows: auto 1fr; border-radius: var(--cx-r-3); border: 1px solid var(--cx-line); background: var(--cx-surface); color: var(--cx-text); overflow: hidden; transition: border-color .25s, transform .25s; }
.pain:hover { border-color: rgba(0,178,178,.5); transform: translateY(-3px); color: var(--cx-text); }
.pain__q { display: flex; gap: 12px; align-items: flex-start; padding: 22px 22px 18px; font: 600 clamp(19px, 1.6vw, 22px)/1.2 var(--cx-font-display); background: linear-gradient(180deg, rgba(229,115,115,.07), transparent); border-bottom: 1px dashed var(--cx-line-2); }
.pain__ico { display: grid; place-items: center; flex: none; width: 36px; height: 36px; border-radius: 10px; background: var(--cx-alarm-soft); color: var(--cx-alarm); }
.pain__a { display: grid; gap: 6px; align-content: start; padding: 16px 22px 24px; color: var(--cx-text-2); font-size: 15.5px; }
.pain__k { font-size: 10.5px; letter-spacing: .16em; color: var(--cx-teal-2); }
.pain__go { position: absolute; right: 16px; bottom: 14px; color: var(--cx-text-3); transition: transform .25s, color .25s; }
.pain:hover .pain__go { color: var(--cx-teal-2); transform: translateX(3px); }
/* Antes / com o CORTEX (página de módulo, bloque opcional page.before) */
.bfr { display: grid; grid-template-columns: minmax(0, 1fr) 40px minmax(0, 1fr); gap: 10px 0; align-items: stretch; }
.bfr__k { margin: 0 0 4px; font-size: 11px; letter-spacing: .16em; }
.bfr__k--b { color: var(--cx-alarm); }
.bfr__k--a { grid-column: 3; color: var(--cx-teal-2); }
.bfr__b, .bfr__a { margin: 0; padding: 16px 20px; border-radius: var(--cx-r-3); border: 1px solid var(--cx-line); font-size: 16px; }
.bfr__b { background: linear-gradient(90deg, rgba(229,115,115,.08), transparent); color: var(--cx-text-2); }
.bfr__a { background: var(--cx-surface); color: var(--cx-text); border-color: rgba(0,178,178,.35); }
.bfr__go { display: grid; place-items: center; color: var(--cx-text-3); }
.bfr__foot { margin: 22px 0 0; font: 600 clamp(18px, 1.6vw, 21px)/1.3 var(--cx-font-display); }

/* inteligencia operacional: registrar → conectar → decidir */
.opi { display: grid; grid-template-columns: minmax(0, 1fr) 220px minmax(0, 1fr); gap: clamp(16px, 2.5vw, 32px); align-items: center; }
.opi__col { padding: 24px; border-radius: var(--cx-r-4); background: rgba(11,15,18,.6); border: 1px solid var(--cx-line); }
.opi__k { display: flex; align-items: center; gap: 10px; margin: 0 0 6px; font-size: 13px; letter-spacing: .16em; text-transform: uppercase; color: var(--cx-text); }
.opi__k span, .opi__mid .mono { display: inline-grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; background: var(--cx-orange-soft); color: var(--cx-orange-2); font-size: 12px; letter-spacing: 0; }
.opi__d { color: var(--cx-text-3); font-size: 14.5px; margin-bottom: 16px; }
.opi__in { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.opi__chip { display: inline-flex; align-items: center; gap: 6px; padding: 6px 11px; border-radius: 999px; border: 1px solid var(--cx-line-2); background: var(--cx-surface); font-size: 14px; color: var(--cx-text-2); animation: chipin 6s ease-in-out infinite; }
.opi__chip .ico { color: var(--cx-teal-2); }
.opi__chip[data-i="1"] { animation-delay: .7s; } .opi__chip[data-i="2"] { animation-delay: 1.4s; } .opi__chip[data-i="3"] { animation-delay: 2.1s; }
.opi__chip[data-i="4"] { animation-delay: 2.8s; } .opi__chip[data-i="5"] { animation-delay: 3.5s; } .opi__chip[data-i="6"] { animation-delay: 4.2s; }
.opi__chip[data-i="7"] { animation-delay: 4.9s; } .opi__chip[data-i="8"] { animation-delay: 5.6s; }
@keyframes chipin { 0%, 100% { border-color: var(--cx-line-2); } 8% { border-color: var(--cx-teal-2); color: var(--cx-text); } 20% { border-color: var(--cx-line-2); } }
.opi__out { list-style: none; margin: 0; padding: 0; display: grid; gap: 9px; }
.opi__out li { display: flex; gap: 8px; align-items: flex-start; font-size: 15.5px; }
.opi__out .ico { color: var(--cx-orange-2); margin-top: 4px; flex: none; }
.opi__core { position: relative; display: grid; place-items: center; height: 100%; min-height: 200px; }
.opi__brain { position: relative; z-index: 1; display: grid; place-items: center; gap: 2px; width: 150px; height: 150px; border-radius: 50%; text-align: center; background: radial-gradient(circle at 50% 40%, rgba(0,178,178,.28), rgba(11,15,18,.95) 70%); border: 1px solid rgba(63,224,216,.5); box-shadow: 0 0 0 10px rgba(0,178,178,.06), 0 0 60px -10px rgba(0,178,178,.6); animation: breathe 4s ease-in-out infinite; }
.opi__brain .ico { width: 28px; height: 28px; color: var(--cx-teal-2); }
.opi__brain b { font: 600 20px/1 var(--cx-font-display); letter-spacing: .2em; }
.opi__brain small { font-size: 10px; letter-spacing: .16em; color: var(--cx-text-3); text-transform: uppercase; }
@keyframes breathe { 50% { box-shadow: 0 0 0 16px rgba(0,178,178,.03), 0 0 80px -6px rgba(0,178,178,.75); } }
.opi__wire { position: absolute; top: 50%; height: 2px; width: 50%; background: linear-gradient(90deg, transparent, rgba(63,224,216,.35), transparent); }
.opi__wire--l { left: -16%; } .opi__wire--r { right: -16%; }
.opi__wire i { position: absolute; top: -2px; left: 0; width: 6px; height: 6px; border-radius: 50%; background: var(--cx-teal-2); box-shadow: 0 0 8px var(--cx-teal-2); animation: travel 2.4s linear infinite; }
.opi__wire--r i { background: var(--cx-orange-2); box-shadow: 0 0 8px var(--cx-orange-2); }
.opi__wire i:nth-child(2) { animation-delay: .8s; } .opi__wire i:nth-child(3) { animation-delay: 1.6s; }
@keyframes travel { from { left: 0; opacity: 0; } 15% { opacity: 1; } 85% { opacity: 1; } to { left: 100%; opacity: 0; } }
.opi__mid { display: flex; gap: 10px; align-items: center; justify-content: center; max-width: 760px; margin: 22px auto 0; text-align: center; color: var(--cx-text-2); }
.opi__note { display: flex; gap: 8px; justify-content: center; align-items: center; margin: 14px auto 0; color: var(--cx-text-3); font-size: 14.5px; text-align: center; }
.opi__note .ico { color: var(--cx-teal); flex: none; }

/* vitrina con pestañas */
.show { --show-ms: 6500ms; }
.show__tabs { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; margin-bottom: 18px; }
.show__tab { position: relative; display: flex; align-items: center; gap: 10px; padding: 14px 16px; border-radius: var(--cx-r-2); border: 1px solid var(--cx-line); background: var(--cx-surface); color: var(--cx-text-2); font: 600 17px/1.2 var(--cx-font-display); cursor: pointer; overflow: hidden; text-align: left; }
.show__tab .mono { font-size: 11.5px; color: var(--cx-text-3); }
.show__tab:hover { border-color: var(--cx-line-2); color: var(--cx-text); }
.show__tab.is-on { border-color: rgba(63,224,216,.6); color: var(--cx-text); background: rgba(0,178,178,.08); }
.show__tab.is-on .mono { color: var(--cx-orange-2); }
.show__bar { position: absolute; left: 0; right: 0; bottom: 0; height: 2px; }
.show__bar i { display: block; height: 100%; width: 0; background: var(--cx-teal-2); }
.show.is-auto .show__tab.is-on .show__bar i { width: 100%; transition: width var(--show-ms) linear; }
.show__p { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(24px, 4vw, 56px); align-items: center; padding: clamp(20px, 3vw, 36px); border-radius: var(--cx-r-4); border: 1px solid var(--cx-line); background: linear-gradient(135deg, rgba(20,26,32,.8), rgba(11,15,18,.6)); }
.js .show__p:not(.is-on) { display: none; }
.show__p + .show__p { margin-top: 16px; }
.js .show__p + .show__p { margin-top: 0; }
.show__p.is-on .show__media { animation: rise .5s ease-out; }
@keyframes rise { from { opacity: 0; transform: translateY(14px); } }
.show__txt h3 { font-size: clamp(24px, 2.4vw, 32px); margin-bottom: 10px; }
.show__txt > p { color: var(--cx-text-2); font-size: 17px; }
.show__media { position: relative; display: grid; place-items: center; min-height: 420px; }
.show__media .frame--phone { max-width: 300px; max-height: 520px; }
.show__media .frame--doc { max-width: 520px; }
.show__media--duo { grid-template-columns: 1fr 1fr; align-items: start; }
.show__media--duo .frame--phone { max-height: 470px; }
.show__second { margin-top: 70px; }
.show__media .chip--static { right: 2%; bottom: 6%; }

/* buscar */
.find-s { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(24px, 4vw, 64px); align-items: center; }
.find { padding: 18px; border-radius: var(--cx-r-4); background: rgba(11,15,18,.92); border: 1px solid var(--cx-line-2); box-shadow: var(--cx-shadow-2); }
.find__bar { display: flex; align-items: center; gap: 10px; padding: 14px 16px; border-radius: var(--cx-r-2); background: var(--cx-surface); border: 1px solid rgba(63,224,216,.45); box-shadow: 0 0 0 4px rgba(0,178,178,.08); }
.find__bar > .ico { color: var(--cx-teal-2); }
.find__q { font-size: 16px; color: var(--cx-text); white-space: nowrap; overflow: hidden; }
.find__caret { width: 2px; height: 20px; background: var(--cx-teal-2); animation: blink 1s steps(1) infinite; }
@keyframes blink { 50% { opacity: 0; } }
.find__bar kbd { margin-left: auto; padding: 2px 7px; border-radius: 6px; border: 1px solid var(--cx-line-2); font-size: 11px; color: var(--cx-text-3); }
.find__meta { margin: 12px 4px; font-size: 12px; letter-spacing: .06em; color: var(--cx-text-3); }
.find__meta span:first-child { color: var(--cx-orange-2); }
.find__res { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; min-height: 196px; align-content: start; transition: opacity .25s, transform .25s; }
.find__res.is-out { opacity: 0; transform: translateY(6px); }
.find__res li { display: grid; grid-template-columns: 74px minmax(0, 1fr) auto; gap: 12px; align-items: center; padding: 11px 14px; border-radius: var(--cx-r-2); background: var(--cx-surface); border: 1px solid var(--cx-line); }
.find__code { font-size: 12px; color: var(--cx-teal-2); }
.find__t strong { display: block; font-size: 15px; line-height: 1.25; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.find__t small { color: var(--cx-text-3); font-size: 13px; }
.find__copy { color: var(--cx-text-3); }
.find__ft { display: flex; gap: 8px; align-items: center; margin: 14px 4px 0; font-size: 11.5px; letter-spacing: .06em; color: var(--cx-text-3); }
.find__ft .ico { color: var(--cx-teal); }

/* páginas de producto: subnavegación, BETA, secciones con ancla, "em todo plano" */
.subnav { display: flex; flex-wrap: wrap; gap: 8px; margin-top: clamp(24px, 4vw, 40px); padding-top: 18px; border-top: 1px solid var(--cx-line); }
.subnav a { padding: 8px 14px; border-radius: 999px; border: 1px solid var(--cx-line-2); color: var(--cx-text-2); font: 500 12.5px/1 var(--cx-font-mono); letter-spacing: .08em; text-transform: uppercase; }
.subnav a:hover { border-color: var(--cx-teal); color: var(--cx-text); background: var(--cx-teal-soft); }
.beta { display: flex; gap: 18px; align-items: flex-start; padding: 22px 26px; border-radius: var(--cx-r-3); border: 1px solid rgba(63,224,216,.35); background: rgba(0,178,178,.05); }
.beta h2 { font-size: 20px; margin-bottom: 4px; }
.beta p { margin: 0; color: var(--cx-text-2); }
.beta .tagb { margin: 4px 0 0; }
.feat { scroll-margin-top: calc(var(--hd) + 12px); }
.feat__in { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(24px, 5vw, 72px); align-items: center; }
.feat--flip .feat__txt { order: 2; }
.feat__media { position: relative; display: grid; place-items: center; }
.feat__media--duo { grid-template-columns: 1fr 1fr; gap: 16px; align-items: start; }
.feat__media--duo .feat__second { margin-top: 64px; }
.feat__media .frame--phone { max-width: 320px; max-height: 600px; }
.feat__media .chip--static { right: 0; bottom: 8%; }
/* RT (2026-11-25): la portada muestra el PDF con su código; el bloque del PDF, la pila de páginas con la marca. */
.phero__media .chip--static { right: -14%; bottom: 9%; }   /* sale por la derecha, como en el bloque del PDF: no tapa los datos de la firma */
.phero--rt .phero__media { left: -24px; }   /* el PDF un poco a la izquierda: deja lugar a las dos etiquetas que salen por los lados */
/* Dictado sobre el PDF de la portada del RT: sin tapar los valores ni la firma (Juan, 2026-11-25). */
.dictate { position: absolute; z-index: 2; left: -18%; top: 37%; width: 52%; padding: 6px; border-radius: var(--cx-r-3); background: var(--cx-glass); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border: 1px solid var(--cx-line-2); box-shadow: var(--cx-shadow-2); animation: float 7s ease-in-out infinite; animation-delay: -3.5s; }
.frame .dictate img { border: 0; box-shadow: none; border-radius: calc(var(--cx-r-3) - 4px); }
.dictate__mic { position: absolute; top: -18px; right: -16px; display: grid; place-items: center; width: 46px; height: 46px; border-radius: 50%; color: #c9a6ff; background: #1f1830; border: 1.5px solid rgba(201, 166, 255, .6); animation: micpulse 2.4s ease-out infinite; }   /* el violeta de la pantalla del dictado */
.dictate__mic .ico { width: 22px; height: 22px; }
@keyframes micpulse { 0% { box-shadow: 0 0 0 0 rgba(201, 166, 255, .45); } 70%, 100% { box-shadow: 0 0 0 14px rgba(201, 166, 255, 0); } }
@media (max-width: 1420px) { .dictate { left: -12%; } }   /* menos afuera: no llega al texto del título */
@media (max-width: 900px) { .phero--rt .phero__media { left: 0; } .phero__media .chip--static { right: 2%; } .dictate { left: -2%; width: 56%; padding: 4px; } .dictate__mic { width: 38px; height: 38px; top: -14px; right: -12px; } .dictate__mic .ico { width: 19px; height: 19px; } }
.frame--stack { max-width: 600px; }
.frame--stack img { border: 0; border-radius: 0; box-shadow: none; }   /* la sombra de las hojas viene en la imagen */
.logo-spot { position: absolute; left: 7.6%; top: 11.9%; width: 11.8%; height: 7.6%; border: 1.5px dashed var(--cx-teal-2); border-radius: 10px; transform: rotate(-2deg); pointer-events: none; animation: spot 3.2s ease-in-out infinite; }
.logo-spot em { position: absolute; left: -2px; bottom: calc(100% + 8px); padding: 5px 9px; border-radius: 999px; background: var(--cx-teal-2); color: #04211e; font: 600 10.5px/1 var(--cx-font-mono); font-style: normal; letter-spacing: .12em; text-transform: uppercase; white-space: nowrap; box-shadow: var(--cx-shadow-2); }
@keyframes spot { 50% { box-shadow: 0 0 0 6px rgba(63, 224, 216, .16); } }
.feat__media .chip--brand { left: 0; right: auto; bottom: 5%; }
.chip--brand .chip__k { color: var(--cx-teal-2); }
.sw { display: flex; gap: 9px; margin: 6px 0 3px; }
.sw i { width: 18px; height: 18px; border-radius: 50%; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .18); animation: swpick 10s linear infinite; }
.sw i:nth-child(1) { background: #e7b80d; box-shadow: 0 0 0 2px var(--cx-bg), 0 0 0 4px var(--cx-text); }   /* el amarillo del PDF de la captura */
.sw i:nth-child(2) { background: #3b82f6; animation-delay: -8s; }
.sw i:nth-child(3) { background: #22a06b; animation-delay: -6s; }
.sw i:nth-child(4) { background: #e5484d; animation-delay: -4s; }
.sw i:nth-child(5) { background: #8b5cf6; animation-delay: -2s; }
@keyframes swpick { 0%, 19.9% { box-shadow: 0 0 0 2px var(--cx-bg), 0 0 0 4px var(--cx-text); } 20%, 100% { box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .18); } }
@media (max-width: 900px) { .feat__media .chip--brand { bottom: -9%; } }
/* Fotos del RT (mock-photos): tarjetas como en CORTEX, la segunda más abajo. */
.pcards { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; align-items: start; width: 100%; max-width: 520px; }
.pcard { margin: 0; overflow: hidden; border-radius: var(--cx-r-3); background: var(--cx-surface-2); border: 1px solid var(--cx-line-2); box-shadow: var(--cx-shadow-2); }
.pcard--second { margin-top: 64px; }
:is(.feat__media, .show__media):has(.pcards) .chip--static { top: 0; bottom: auto; right: 0; }   /* arriba de la segunda foto, sin tapar los nombres */
.pcard img { width: 100%; aspect-ratio: 2 / 3; object-fit: cover; }
.pcard figcaption { display: grid; justify-items: start; gap: 6px; padding: 12px 14px 14px; }
.pcard strong { font-size: 15px; font-weight: 600; }
.pcard em { font-style: normal; font-size: 10.5px; letter-spacing: .12em; text-transform: uppercase; color: var(--cx-teal-2); background: rgba(63, 224, 216, .1); border: 1px solid rgba(63, 224, 216, .25); padding: 3px 8px; border-radius: 999px; }
.pcard small { font-size: 11.5px; color: var(--cx-text-3); }
@media (max-width: 900px) { .pcard--second { margin-top: 36px; } .pcard figcaption { padding: 10px; } .pcard small { font-size: 10.5px; } }
.nw, :is(h1, h2, h3) .nw { display: inline; white-space: nowrap; color: inherit; }   /* «e-mail» en los títulos: no se corta en el guion y no toma el gris de «h2 span» */
/* Firma a distancia (2026-11-25): una captura que flota sobre la imagen, como el dictado de la portada. */
.shot-float { position: absolute; z-index: 2; padding: 6px; border-radius: var(--cx-r-3); background: var(--cx-glass); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border: 1px solid var(--cx-line-2); box-shadow: var(--cx-shadow-2); animation: float 7s ease-in-out infinite; animation-delay: -3.5s; }
.shot-float img { display: block; width: 100%; height: auto; border-radius: calc(var(--cx-r-3) - 4px); }
.shot-float--send { left: -6%; bottom: 7%; width: 62%; }   /* el diálogo de envío, abajo a la izquierda: deja ver el título del RT en el celular */
.feat__media:has(.shot-float--send) .chip--static { bottom: 27%; }   /* sobre la vista del PDF: el título del RT en el celular queda libre */
.shot-float--signed { left: 50%; bottom: 3%; width: min(92%, 470px); transform: translateX(-50%); animation: none; }   /* la firma remota, sobre el pie del celular de la vitrina */
.show__media:has(.shot-float--signed) .chip--static { top: 4%; bottom: auto; }
@media (max-width: 900px) { .shot-float { padding: 4px; } .shot-float--send { left: 0; bottom: 3%; width: 66%; } .feat__media:has(.shot-float--send) .chip--static { bottom: 44%; } .shot-float--signed { width: 96%; } }
.frame--shot { max-width: 520px; }
.frame--shot img { border-radius: var(--cx-r-3); }
.incl { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 12px; }
.incl__i { padding: 20px; border-radius: var(--cx-r-3); background: var(--cx-surface); border: 1px solid var(--cx-line); }
.incl__i h3 { font-size: 18px; margin: 12px 0 4px; }
.incl__i p { margin: 0; color: var(--cx-text-3); font-size: 14.5px; }

/* "Comece por aqui" */
.presets { margin-bottom: 22px; }
.presets__k { font-size: 11.5px; letter-spacing: .16em; color: var(--cx-text-3); margin-bottom: 12px; }
.presets__list { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 10px; }
.preset { display: grid; grid-template-columns: auto 1fr; gap: 2px 12px; align-items: start; padding: 14px 16px; border-radius: var(--cx-r-3); border: 1px solid var(--cx-line-2); background: var(--cx-bg-2); color: var(--cx-text); transition: border-color .2s, background .2s, transform .2s; }
.preset:hover { border-color: var(--cx-teal); color: var(--cx-text); transform: translateY(-2px); }
.preset.is-on { border-color: var(--cx-orange); background: rgba(230,138,0,.08); box-shadow: inset 0 0 0 1px var(--cx-orange); }
.preset__ico { grid-row: span 2; display: grid; place-items: center; width: 34px; height: 34px; border-radius: 9px; background: var(--cx-teal-soft); color: var(--cx-teal-2); }
.preset strong { font-size: 15.5px; line-height: 1.25; }
.preset small { color: var(--cx-text-3); font-size: 13px; line-height: 1.35; }

/* visuales: OS, finanzas, asistente, programas */
.osm, .chatm, .dnc { width: 100%; max-width: 520px; padding: 20px; border-radius: var(--cx-r-4); background: rgba(11,15,18,.92); border: 1px solid var(--cx-line-2); box-shadow: var(--cx-shadow-2); }
.osm__st { color: var(--cx-orange-2); }
.osm__job { font: 600 19px/1.3 var(--cx-font-display); margin-bottom: 14px; }
.osm__list { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.osm__list li { display: grid; grid-template-columns: auto 1fr auto; gap: 12px; align-items: center; padding: 11px 14px; border-radius: var(--cx-r-2); background: var(--cx-surface); border: 1px solid var(--cx-line); }
.osm__list strong { display: block; font-size: 15px; }
.osm__list small { color: var(--cx-text-3); font-size: 13px; }
.osm__list em { font-style: normal; font-size: 11px; letter-spacing: .1em; }
.osm__dot { display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; }
.osm__list .is-ok .osm__dot { background: rgba(76,175,80,.15); color: var(--cx-ok); }
.osm__list .is-ok em { color: var(--cx-ok); }
.osm__list .is-wait .osm__dot { background: var(--cx-orange-soft); color: var(--cx-orange-2); }
.osm__list .is-wait em { color: var(--cx-orange-2); animation: blink 1.6s steps(1) infinite; }
.osm__bar { height: 6px; margin: 16px 0 12px; border-radius: 3px; background: var(--cx-surface-3); overflow: hidden; }
.osm__bar i { display: block; width: 66%; height: 100%; background: linear-gradient(90deg, var(--cx-ok), var(--cx-teal)); }
.osm__ft, .chatm__ft { display: flex; gap: 8px; align-items: center; margin: 0; font-size: 11.5px; letter-spacing: .06em; color: var(--cx-text-3); }
.finm__list { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.finm__r { display: grid; grid-template-columns: 62px minmax(0, 1fr) auto 70px; gap: 12px; align-items: center; padding: 10px 12px; border-radius: var(--cx-r-2); background: var(--cx-surface); border: 1px solid var(--cx-line); }
.finm__doc { font-size: 12px; color: var(--cx-teal-2); }
.finm__c strong { display: block; font-size: 14.5px; line-height: 1.2; }
.finm__c small { color: var(--cx-text-3); font-size: 12.5px; }
.finm__v { font-size: 13px; }
.finm__s { font-style: normal; text-align: center; font-size: 10.5px; letter-spacing: .08em; padding: 3px 6px; border-radius: 999px; }
.finm__r--ok .finm__s { background: rgba(76,175,80,.15); color: var(--cx-ok); }
.finm__r--wait .finm__s { background: var(--cx-orange-soft); color: var(--cx-orange-2); }
.finm__r--late { border-color: rgba(229,115,115,.35); }
.finm__r--late .finm__s { background: var(--cx-alarm-soft); color: var(--cx-alarm); }
.finm__ft { display: flex; gap: 8px; align-items: flex-start; margin: 14px 2px 0; font-size: 13.5px; color: var(--cx-text-2); }
.finm__ft .ico { color: var(--cx-teal-2); margin-top: 3px; flex: none; }
.chatm__q { color: var(--cx-teal-2); }
.chatm__u { margin: 0 0 12px auto; max-width: 88%; padding: 12px 14px; border-radius: 14px 14px 4px 14px; background: var(--cx-surface-3); font-size: 15px; }
.chatm__a { max-width: 92%; padding: 12px 14px; border-radius: 14px 14px 14px 4px; background: rgba(0,178,178,.08); border: 1px solid rgba(63,224,216,.25); margin-bottom: 14px; }
.chatm__a p { margin: 0 0 10px; font-size: 15px; }
.chatm__card { display: grid; gap: 2px; padding: 10px 12px; border-radius: var(--cx-r-2); background: var(--cx-bg-2); border: 1px solid var(--cx-line-2); }
.chatm__card .mono { font-size: 11px; letter-spacing: .1em; color: var(--cx-orange-2); }
.chatm__card small { color: var(--cx-text-3); }
.dnc__row { display: grid; grid-template-columns: auto 1fr auto 1fr auto; align-items: center; gap: 8px; margin-bottom: 18px; }
.dnc__node { display: grid; justify-items: center; gap: 4px; padding: 10px; min-width: 76px; border-radius: var(--cx-r-2); background: var(--cx-surface); border: 1px solid var(--cx-line-2); color: var(--cx-teal-2); }
.dnc__node small { color: var(--cx-text-2); font-size: 12px; text-align: center; }
.dnc__node--box { border-color: rgba(230,138,0,.5); color: var(--cx-orange-2); }
.dnc__wire { position: relative; height: 2px; background: var(--cx-line-2); }
.dnc__wire > .ico { position: absolute; left: 50%; top: -20px; transform: translateX(-50%); color: var(--cx-text-3); }
.dnc__wire i { position: absolute; top: -3px; width: 8px; height: 8px; border-radius: 2px; background: var(--cx-teal-2); animation: travel 1.8s linear infinite; }
.dnc__wire i:nth-child(2) { animation-delay: .6s; } .dnc__wire i:nth-child(3) { animation-delay: 1.2s; }
.dnc__files { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; font-size: 12.5px; }
.dnc__files li { display: grid; grid-template-columns: minmax(0, 1fr) 80px 64px; gap: 10px; align-items: center; padding: 8px 12px; border-radius: 8px; background: var(--cx-surface); border: 1px solid var(--cx-line); }
.dnc__files em { font-style: normal; text-align: right; color: var(--cx-text-3); }
.dnc__bar { height: 5px; border-radius: 3px; background: var(--cx-surface-3); overflow: hidden; }
.dnc__bar i { display: block; height: 100%; background: var(--cx-teal); }
.dnc__ft { display: flex; gap: 8px; align-items: center; margin: 14px 2px 0; font-size: 13.5px; color: var(--cx-text-2); }

@media (max-width: 1100px) {
  .incl { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .opi { grid-template-columns: 1fr; }
  .opi__core { min-height: 170px; }
  .opi__wire { display: none; }
}
@media (max-width: 900px) {
  .pains { grid-template-columns: 1fr 1fr; }
  .show__p, .find-s, .feat__in { grid-template-columns: 1fr; }
  .feat--flip .feat__txt { order: 0; }
  .show__media { min-height: 0; }
  .show__tabs { grid-template-columns: repeat(4, minmax(120px, 1fr)); overflow-x: auto; scrollbar-width: none; }
}
@media (max-width: 640px) {
  .pains, .incl { grid-template-columns: 1fr; }
  .bfr { grid-template-columns: 1fr; gap: 0; }
  .bfr__k { display: none; }
  .bfr__b { border-radius: var(--cx-r-3) var(--cx-r-3) 0 0; border-bottom: 0; padding: 12px 16px; font-size: 14.5px; }
  .bfr__b::before, .bfr__a::before { content: attr(data-k); display: block; margin-bottom: 4px; font: 500 10.5px/1 var(--cx-font-mono, monospace); letter-spacing: .16em; }
  .bfr__b::before { color: var(--cx-alarm); }
  .bfr__a::before { color: var(--cx-teal-2); }
  .bfr__go { display: none; }
  .bfr__a { border-radius: 0 0 var(--cx-r-3) var(--cx-r-3); margin-bottom: 12px; padding: 12px 16px; }
  .show__tabs { grid-template-columns: repeat(4, minmax(104px, 1fr)); }
  .show__tab { padding: 12px; font-size: 15px; }
  .show__p { padding: 16px; }
  .show__media--duo .show__second, .feat__media--duo .feat__second { margin-top: 36px; }
  .find__res li { grid-template-columns: 62px minmax(0, 1fr); }
  .find__copy { display: none; }
  .finm__r { grid-template-columns: 54px minmax(0, 1fr) 62px; }
  .finm__v { display: none; }
  .dnc__node { min-width: 0; padding: 8px 6px; }
  .beta { flex-direction: column; gap: 10px; }
  .devbar { right: 12px; }
}
@media (prefers-reduced-motion: reduce) {
  .opi__chip, .opi__brain, .opi__wire i, .dnc__wire i, .find__caret, .osm__list .is-wait em { animation: none; }
}
.hero__t { font-size: clamp(38px, 4.3vw, 74px); }
.devbar { left: auto; right: 12px; bottom: 12px; opacity: .85; }
.devbar:hover { opacity: 1; }
@media (min-width: 901px) { .show__p { min-height: 600px; } .show__media { min-height: 520px; } .show__media .frame--doc { max-width: 600px; } }
.opt__b .tagb { justify-self: start; margin: 2px 0 4px; }
.presets__list { grid-template-columns: repeat(auto-fit, minmax(165px, 1fr)); }
@media (max-width: 640px) { .devbar { left: 8px; right: 8px; bottom: 8px; font-size: 10.5px; padding: 6px 10px; } .devbar__h { display: none; } }
.chatm .panel__hd .mono:first-child { display: inline-flex; gap: 6px; align-items: center; }

/* ---------- aviso de cookies (consent.js; igual en el sitio y en Account) ---------- */
.ck { position: fixed; z-index: 90; left: var(--gut); right: var(--gut); bottom: var(--gut); max-width: 760px; margin: 0 auto;
  display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; padding: 16px 18px;
  background: var(--cx-glass); border: 1px solid var(--cx-line-2, var(--cx-line)); border-radius: var(--cx-r-3);
  box-shadow: 0 24px 60px -24px rgba(0,0,0,.8); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); }
.ck[hidden] { display: none; }
.ck__t { flex: 1 1 320px; margin: 0; font-size: 14px; line-height: 1.5; color: var(--cx-text-2, var(--cx-text)); }
.ck__t a { color: var(--cx-teal); }
.ck__act { display: flex; gap: 8px 16px; flex-wrap: wrap; align-items: center; margin-left: auto; }
.ck__min { background: none; border: 0; padding: 0; font: inherit; font-size: 13px; color: var(--cx-text-3, var(--cx-text-2, var(--cx-text))); cursor: pointer; text-decoration: underline; text-underline-offset: 2px; }
.ck__min:hover { color: var(--cx-teal); }
.ck-open { background: none; border: 0; padding: 0; font: inherit; color: inherit; cursor: pointer; text-decoration: underline; text-underline-offset: 2px; }
.ck-open:hover { color: var(--cx-teal); }
/* Celular (Juan, 2026-11-27): barra compacta pegada al borde de abajo, opaca y con el filo naranja de la marca, para que
   se distinga de la página y se cierre rápido; deja ver el título, la imagen y el botón principal de la portada. */
@media (max-width: 560px) {
  .ck { left: 0; right: 0; bottom: 0; max-width: none; display: grid; grid-template-columns: 1fr auto; gap: 6px 12px; padding: 10px var(--gut) calc(10px + env(safe-area-inset-bottom)); border: 0; border-top: 2px solid var(--cx-orange); border-radius: 14px 14px 0 0; background: #1b2229; backdrop-filter: none; -webkit-backdrop-filter: none; box-shadow: 0 -16px 40px -12px rgba(0, 0, 0, .85); }
  .ck__t { grid-column: 1 / -1; flex: none; font-size: 13px; line-height: 1.4; color: var(--cx-text); }
  .ck__act { display: contents; }
  .ck__act .ck__min { font-size: 12.5px; }
  .ck__act a.ck__min { grid-column: 1; grid-row: 2; justify-self: start; align-self: center; }
  .ck__act button.ck__min { grid-column: 1; grid-row: 2; justify-self: end; align-self: center; margin-right: 4px; }
  .ck__act .btn { grid-column: 2; grid-row: 2; min-height: 40px; padding: 7px 16px; font-size: 14px; }
}
