/* =====================================================================
   Novexus · Tema compartido por TODO el sitio — estilo técnico gris + naranja (13/11/2026)
   (el archivo conserva el nombre tema-c.css; reemplaza al diseño «El cartel»)
   Letras: Instrument Sans (títulos y texto) + JetBrains Mono (menú, botones, etiquetas).
   Claro = gris medio #DCDCD9 · Oscuro = gris carbón #2B2B2B · Acento = naranja #F4691F.
   ===================================================================== */
@font-face { font-family: "Instrument Sans"; font-style: normal; font-weight: 400 700; font-display: swap; src: url("/assets/fonts/instrument-sans-latin.woff2?v=20261113") format("woff2"); }
@font-face { font-family: "JetBrains Mono"; font-style: normal; font-weight: 400 600; font-display: swap; src: url("/assets/fonts/jetbrains-mono-latin.woff2?v=20261113") format("woff2"); }

html.nx-c {
  --c-or: #DCDCD9; --c-ink: #0C0C0C; --c-brown: #8F3608; --c-brown-2: #8F3608; --c-cream: #CECECA; --c-ink-soft: #42423D;
  --g-or: #F4691F; --g-or-2: #B5460F; --g-line: #BBBBB5; --g-line-2: #9C9C96;
  --g-sombra: 5px 5px 0 rgba(12, 12, 12, 0.85); --g-sombra-caja: 10px 10px 0 rgba(12, 12, 12, 0.16); --g-sombra-barra: 0 8px 22px rgba(12, 12, 12, 0.16);
  --c-display: "Instrument Sans", "Helvetica Neue", Arial, sans-serif;
  --c-sans: "Instrument Sans", "Helvetica Neue", Arial, sans-serif;
  --c-mono: "JetBrains Mono", ui-monospace, "SF Mono", Menlo, monospace;
  /* variables que ya usan las páginas internas, el menú y los productos */
  --bg: #DCDCD9; --bg-2: #CECECA; --ink: #0C0C0C; --ink-2: #0C0C0C; --muted: #42423D;
  --panel: #CECECA; --line: var(--g-line); --line-strong: var(--g-line-2);
  --orange: #8F3608; --orange-h: #6E2905; --teal: #8F3608; --teal-bright: #6E2905; --teal-soft: color-mix(in srgb, var(--c-ink) 10%, transparent);
  --display: var(--c-display); --sans: var(--c-sans);
  --nx-ink: #0C0C0C; --nx-ink-2: #0C0C0C; --nx-teal: #8F3608; --nx-line: var(--g-line); --nx-line-strong: var(--g-line-2); --nx-sans: var(--c-sans);
  --shadow: none; --shadow-lg: none;
  --theme-color: #CECECA;
  color-scheme: light;
  background: var(--c-or) !important;
}
html.nx-c ::selection { background: #F4691F; color: #0C0C0C; }

/* ---------- Base ---------- */
/* El fondo lo pinta <html>; <body> va transparente para que se vean los puntitos animados (lienzo fijo detrás). */
html.nx-c body {
  background: transparent !important;
  color: var(--c-ink) !important;
  font-family: var(--c-sans) !important;
  font-weight: 480;
}
#nx-puntos { position: fixed; inset: 0; width: 100%; height: 100%; z-index: -1; pointer-events: none; }
html.nx-c body .page-bg,
html.nx-c body .nx-depth,
html.nx-c body .nav-atmosphere,
html.nx-c body .scroll-progress,
html.nx-c body .eyebrow:not(:has(a)),
html.nx-c body .sec-label,
html.nx-c body .brand-sub,
html.nx-c body .nav-glass-body,
html.nx-c body .nav-glass-edge,
html.nx-c body .nav-glass-rim,
html.nx-c body .nav-glass-fx,
html.nx-c body .nx-liquid-defs { display: none !important; }

html.nx-c body h1,
html.nx-c body h2,
html.nx-c body .h1 {
  font-family: var(--c-display) !important;
  font-weight: 600 !important;
  text-transform: none;
  letter-spacing: -0.035em !important;
  color: var(--c-ink) !important;
  background: none !important;
  -webkit-text-fill-color: currentColor !important;
  text-wrap: balance;
}
html.nx-c body h1 { line-height: 1; }
html.nx-c body h2 { line-height: 1.04; }
html.nx-c body h1 em, html.nx-c body h2 em, html.nx-c body h1 span, html.nx-c body h2 span { font-style: normal; color: var(--c-ink-soft) !important; -webkit-text-fill-color: currentColor !important; background: none !important; }
html.nx-c body h3,
html.nx-c body h4,
html.nx-c body summary { font-family: var(--c-sans) !important; color: var(--c-ink) !important; }
html.nx-c body p,
html.nx-c body li,
html.nx-c body dd,
html.nx-c body .lede,
html.nx-c body .desc { color: var(--c-ink); text-wrap: pretty; }
html.nx-c body .lede { color: var(--c-ink) !important; font-size: 1.12rem; }
html.nx-c body a { color: inherit; }
html.nx-c body main a:not([class]),
html.nx-c body .document a,
html.nx-c body p a,
html.nx-c body li a { color: var(--c-ink) !important; text-decoration: underline; text-underline-offset: 3px; }
html.nx-c body :focus-visible { outline: 3px solid var(--c-ink) !important; outline-offset: 3px; }

/* ---------- Paneles, bandas, tarjetas: crema con borde de tinta, sin brillo ---------- */
html.nx-c body .panel,
html.nx-c body .band,
html.nx-c body .team,
html.nx-c body .faq details,
html.nx-c body .nx-sell-intro,
html.nx-c body .nx-build-card,
html.nx-c body .nx-build-example,
html.nx-c body .nx-demo-user,
html.nx-c body article.card,
html.nx-c body .access-box,
html.nx-c body .dl-section,
html.nx-c body .plan-card,
html.nx-c body a.landing-card {
  background: var(--c-cream) !important;
  background-image: none !important;
  color: var(--c-ink) !important;
  border: 1px solid var(--g-line-2) !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
}
html.nx-c body .panel *,
html.nx-c body .band *,
html.nx-c body .team *,
html.nx-c body .faq details *,
html.nx-c body .nx-build-card *,
html.nx-c body article.card * { color: inherit; }
html.nx-c body .band .lede,
html.nx-c body .band .list li,
html.nx-c body .muted,
html.nx-c body .card-meta,
html.nx-c body .nx-build-card-desc { color: var(--c-ink-soft) !important; }
html.nx-c body .list li,
html.nx-c body .band .list li {
  background: transparent !important;
  border: 0 !important;
  border-bottom: 1px solid var(--line) !important;
  border-radius: 0 !important;
  box-shadow: none !important;
}
html.nx-c body .nx-build-card-ico,
html.nx-c body .nav-build-ico { color: var(--c-ink) !important; background: transparent !important; border: 0 !important; box-shadow: none !important; }
html.nx-c body .shot,
html.nx-c body .nx-demo-shot,
html.nx-c body .card-shot { border: 1.5px solid var(--c-ink) !important; border-radius: 0 !important; box-shadow: none !important; }
html.nx-c body .tag,
html.nx-c body .chip { background: transparent !important; color: var(--c-ink) !important; border: 1px solid var(--c-ink) !important; border-radius: 0 !important; box-shadow: none !important; }
html.nx-c body .todo,
html.nx-c body .note,
html.nx-c body .notes { color: var(--c-ink-soft) !important; }

/* ---------- Botones: rectos, letra mono; el principal es naranja con sombra dura ---------- */
html.nx-c body .btn,
html.nx-c body .cta,
html.nx-c body .btn-fill,
html.nx-c body .is-ghost,
html.nx-c body .os-btn,
html.nx-c body .dl-btn,
html.nx-c body .btn-ghost,
html.nx-c body .nx-build-example-go,
html.nx-c body .nx-build-back {
  border-radius: 0 !important;
  box-shadow: none !important;
  text-shadow: none !important;
  font-family: var(--c-mono) !important;
  font-weight: 600 !important;
  font-size: 13px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  background-image: none !important;
}
html.nx-c body .btn-fill,
html.nx-c body .btn.btn-fill,
html.nx-c body .dl-btn,
html.nx-c body a.cta:not(.is-ghost),
html.nx-c body .submit,
html.nx-c body .tab.is-active,
html.nx-c body .nx-badge-live,
html.nx-c body .nx-cookie-btn.is-solid {
  background: var(--g-or) !important;
  color: #0C0C0C !important;
  border: 1.5px solid #0C0C0C !important;
}
html.nx-c body .btn-fill,
html.nx-c body .btn.btn-fill,
html.nx-c body .dl-btn,
html.nx-c body a.cta:not(.is-ghost),
html.nx-c body .submit { box-shadow: var(--g-sombra) !important; transition: transform .15s ease, box-shadow .15s ease; }
html.nx-c body .btn-fill:hover,
html.nx-c body .btn.btn-fill:hover,
html.nx-c body .dl-btn:hover,
html.nx-c body a.cta:not(.is-ghost):hover,
html.nx-c body .submit:hover { transform: translate(2px, 2px) !important; box-shadow: 3px 3px 0 rgba(12, 12, 12, 0.85) !important; background: var(--g-or) !important; }
html.nx-c body .btn:not(.btn-fill),
html.nx-c body .is-ghost,
html.nx-c body .btn-ghost,
html.nx-c body .os-btn,
html.nx-c body .nx-build-back {
  background: transparent !important;
  color: var(--c-ink) !important;
  border: 1.5px solid var(--c-ink) !important;
}
html.nx-c body .btn:not(.btn-fill):hover,
html.nx-c body .is-ghost:hover,
html.nx-c body .btn-ghost:hover { background: color-mix(in srgb, var(--c-ink) 8%, transparent) !important; }
html.nx-c body .btn::before,
html.nx-c body .btn::after,
html.nx-c body .cta::before,
html.nx-c body .cta::after,
html.nx-c body .btn-fill::before,
html.nx-c body .btn-fill::after { display: none !important; }
html.nx-c body .os-btn.is-selected,
html.nx-c body .plan-card.is-selected { background: color-mix(in srgb, var(--c-ink) 8%, transparent) !important; border-color: var(--c-ink) !important; box-shadow: inset 0 0 0 2px var(--g-or) !important; }

/* ---------- Pie de las páginas internas ---------- */
html.nx-c body .foot,
html.nx-c body > footer {
  background: var(--k-ink) !important;
  color: var(--k-cream) !important;
  border-top: 0 !important;
  padding-inline: max(20px, calc((100% - 1100px) / 2)) !important;
  margin-top: 64px;
}
html.nx-c body .foot *,
html.nx-c body > footer * { color: var(--k-cream) !important; }
html.nx-c body .foot a,
html.nx-c body > footer a { color: #FF9A5E !important; }

/* ---------- Formularios de páginas internas ---------- */
html.nx-c body main input:not([type="checkbox"]):not([type="radio"]),
html.nx-c body main select,
html.nx-c body main textarea {
  background: var(--c-field) !important;
  color: var(--c-ink) !important;
  border: 1px solid var(--g-line-2) !important;
  border-radius: 0 !important;
  box-shadow: none !important;
}
html.nx-c body main input:focus,
html.nx-c body main select:focus,
html.nx-c body main textarea:focus { border-color: var(--c-ink) !important; outline: 2px solid var(--c-ink); outline-offset: 2px; box-shadow: none !important; }
html.nx-c body main label { color: var(--c-ink) !important; }

/* ---------- Menú (todas las páginas): barra con tono propio, filo negro arriba, sombra y línea naranja de avance ---------- */
html.nx-c body header.nx-site-nav,
html.nx-c body > header {
  background: var(--c-cream) !important;
  background-image: none !important;
  border: 0 !important;
  border-bottom: 1px solid var(--g-line-2) !important;
  box-shadow: var(--g-sombra-barra) !important;
  perspective: none !important;
  padding: 0 !important;
}
html.nx-c body header.nx-site-nav::before,
html.nx-c body > header::before { content: "" !important; display: block !important; position: absolute; left: 0; right: 0; top: 0; height: 3px; background: #0C0C0C !important; pointer-events: none; }
#nx-avance { position: absolute; left: 0; bottom: -1px; height: 2px; width: 100%; background: #F4691F; transform-origin: 0 50%; transform: scaleX(0); pointer-events: none; }
html.nx-c body header .nav-row {
  transform: none !important;
  transform-style: flat !important;
  will-change: auto !important;
  margin-top: 0 !important;
  height: 72px !important;
  border-radius: 0 !important;
  width: min(100% - 40px, 1240px) !important;
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
}
html.nx-c body header .brand { padding-right: 28px; border-right: 1px solid var(--g-line-2); align-self: stretch; display: flex; align-items: center; }
html.nx-c body header .brand-mark { width: 26px !important; height: 28px !important; }
html.nx-c body .brand-mark polygon:nth-child(1),
html.nx-c body .brand-mark polygon:nth-child(2),
html.nx-c body .brand svg polygon:nth-child(1),
html.nx-c body .brand svg polygon:nth-child(2) { fill: #F4691F !important; }
html.nx-c body .brand-mark polygon:nth-child(3),
html.nx-c body .brand svg polygon:nth-child(3) { fill: #B5460F !important; }
html.nx-c body header .brand-name {
  font-family: var(--c-sans) !important; font-weight: 700 !important; font-size: 19px !important;
  letter-spacing: 0.06em !important; text-transform: uppercase; color: var(--c-ink) !important; text-shadow: none !important;
}
html.nx-c body header nav a,
html.nx-c body header .nav-build-trigger,
html.nx-c body header .nav-login {
  color: var(--c-ink-soft) !important; font-family: var(--c-mono) !important; font-weight: 500 !important; font-size: 12.5px !important;
  letter-spacing: 0.08em !important; text-transform: uppercase; text-shadow: none !important; transform: none !important; background: transparent !important;
}
html.nx-c body header nav a::before,
html.nx-c body header nav a::after,
html.nx-c body header .nav-build-trigger::before,
html.nx-c body header .nav-build-trigger::after,
html.nx-c body header .nav-build-item::before,
html.nx-c body header .nav-build-all::before { display: none !important; }
html.nx-c body header nav > a:not(.nav-cta):hover,
html.nx-c body header nav > a:not(.nav-cta):focus-visible,
html.nx-c body header .nav-build-trigger:hover,
html.nx-c body header .nav-build-trigger:focus-visible,
html.nx-c body header .nav-login:hover,
html.nx-c body header .nav-build.is-open > .nav-build-trigger { color: var(--c-ink) !important; text-decoration: underline; text-decoration-color: #F4691F; text-decoration-thickness: 2px; text-underline-offset: 8px; }
html.nx-c body header .nav-cta,
html.nx-c body header.nx-site-nav .nav-row .nav-cta,
html.nx-c body header.nx-site-nav .nav-row .nav-cta:hover {
  background: var(--g-or) !important; color: #0C0C0C !important; border: 1.5px solid #0C0C0C !important;
  border-radius: 0 !important; box-shadow: none !important; text-shadow: none !important; padding: 12px 20px !important;
  font-weight: 600 !important; -webkit-text-fill-color: currentColor !important; backdrop-filter: none !important; -webkit-backdrop-filter: none !important;
}
html.nx-c body header .nav-cta::before,
html.nx-c body header .nav-cta::after { display: none !important; }
html.nx-c body header .lang-toggle { background: transparent !important; border: 1px solid var(--c-ink) !important; border-radius: 0 !important; box-shadow: none !important; }
html.nx-c body header .lang-toggle button { color: var(--c-ink) !important; border-radius: 0 !important; background: transparent !important; font-family: var(--c-mono) !important; font-weight: 600 !important; }
html.nx-c body header .lang-toggle button.is-active { background: var(--c-ink) !important; color: var(--c-or) !important; }
html.nx-c body header .nav-tools,
html.nx-c body header .nx-mobile-header-actions { background: transparent !important; box-shadow: none !important; border: 0 !important; backdrop-filter: none !important; }
html.nx-c body header .nav-toggle { background: transparent !important; border: 1px solid var(--c-ink) !important; border-radius: 0 !important; box-shadow: none !important; }
html.nx-c body header .nav-toggle-bars span { background: var(--c-ink) !important; }

/* Desplegables del menú (Demos / Qué construimos): crema con borde de tinta */
html.nx-c body header .nav-build-panel {
  background: var(--c-cream) !important;
  background-image: none !important;
  border: 1px solid var(--c-ink) !important;
  border-radius: 0 !important;
  box-shadow: var(--g-sombra-caja) !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
}
/* OJO: ::before es el "puente" invisible que deja bajar el mouse del menú a las tarjetas: no se apaga */
html.nx-c body header .nav-build-panel::before { background: transparent !important; border: 0 !important; box-shadow: none !important; }
html.nx-c body header .nav-build-panel::after { display: none !important; }
html.nx-c body header .nav-build-item {
  background: transparent !important;
  border: 0 !important;
  border-bottom: 1px solid var(--g-line-2) !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  transform: none !important;
}
html.nx-c body header .nav-build-item:hover { background: color-mix(in srgb, var(--c-ink) 7%, transparent) !important; }
html.nx-c body header .nav-build-name { color: var(--c-ink) !important; font-weight: 700 !important; }
html.nx-c body header .nav-build-desc { color: var(--c-ink-soft) !important; }
html.nx-c body header .nav-build-all {
  color: var(--c-ink) !important; background: transparent !important; border: 2px solid var(--c-ink) !important;
  border-radius: 0 !important; box-shadow: none !important; text-decoration: none !important;
}
html.nx-c body header .nav-build-all:hover { background: var(--c-ink) !important; color: var(--c-or) !important; }
html.nx-c body header .nav-build-all:hover span { color: var(--c-or) !important; }
/* el texto del desplegable siempre en tinta, aunque la barra esté oscura */
html.nx-c body header:not(.nx-x) .nav-build-panel a,
html.nx-c body header:not(.nx-x) .nav-build-panel span { color: var(--c-ink) !important; }
html.nx-c body header:not(.nx-x) .nav-build-panel .nav-build-desc { color: var(--c-ink-soft) !important; }
html.nx-c body header .nav-build-name { font-family: var(--c-sans) !important; text-transform: none !important; letter-spacing: 0 !important; font-size: 15px !important; }
html.nx-c body header .nav-build-desc { font-family: var(--c-sans) !important; text-transform: none !important; letter-spacing: 0 !important; font-size: 13.5px !important; }

/* ---------- Botones flotantes, sin resplandor ---------- */
html.nx-c body .wa,
html.nx-c body .nx-ai-loader-fab,
html.nx-c body .nx-ai-fab { box-shadow: 0 6px 16px rgba(12, 12, 12, 0.3) !important; }
html.nx-c body .nx-ai-loader-fab,
html.nx-c body .nx-ai-fab { background: #0C0C0C !important; color: #F4691F !important; }

/* ---------- Páginas legales ---------- */
html.nx-c body main.document {
  background: var(--c-cream) !important;
  border: 1px solid var(--g-line-2); box-shadow: var(--g-sombra-caja);
  padding: clamp(24px, 4vw, 56px) !important;
  margin-top: 120px !important;
  max-width: 820px;
}
html.nx-c body main.document h2 { font-size: clamp(26px, 3vw, 36px); margin-top: 32px; }
html.nx-c body main.document .updated { color: var(--c-ink-soft) !important; }

/* ---------- Celular: menú abierto ---------- */
@media (max-width: 1100px) {
  html.nx-c body header nav.is-open,
  html.nx-c body header #nx-site-nav-panel.is-open,
  html.nx-c body header #site-nav-panel.is-open,
  html.nx-c body.nx-nav-lock header nav {
    background: var(--c-cream) !important;
    border: 1px solid var(--c-ink) !important;
    border-radius: 0 !important;
    box-shadow: var(--g-sombra-caja) !important;
    backdrop-filter: none !important;
  }
  html.nx-c body.nx-nav-lock header nav a,
  html.nx-c body.nx-nav-lock header .nav-build-trigger { color: var(--c-ink) !important; }
}
@media (prefers-reduced-motion: reduce) {
  html.nx-c body header { transition: none; }
}

/* ---------- Páginas sueltas: 404, ingreso al portal, kit y manual de marca ---------- */
html.nx-c body > .bg,
html.nx-c body .bg-paths { display: none !important; }
html.nx-c body .code {
  font-family: var(--c-display) !important; font-weight: 600 !important;
  letter-spacing: 0 !important; text-shadow: none !important; color: var(--c-ink) !important;
}
html.nx-c body .submit { border-radius: 0 !important; font-family: var(--c-mono) !important; text-transform: uppercase; letter-spacing: 0.06em; }
html.nx-c body .tabs { border-radius: 0 !important; background: transparent !important; border: 1px solid var(--c-ink) !important; }
html.nx-c body .tab { border-radius: 0 !important; color: var(--c-ink) !important; background: transparent !important; box-shadow: none !important; }
html.nx-c body .oauth a {
  border-radius: 0 !important; border: 1px solid var(--g-line-2) !important;
  background: var(--c-field) !important; color: var(--c-ink) !important; box-shadow: none !important;
}
html.nx-c body .auth-panel input:not([type="checkbox"]):not([type="radio"]) {
  border-radius: 0 !important; border: 1px solid var(--g-line-2) !important; background: var(--c-field) !important; color: var(--c-ink) !important; box-shadow: none !important;
}
html.nx-c body .auth-panel input::placeholder { color: var(--c-ink-soft) !important; }
html.nx-c body .panel::before,
html.nx-c body .panel::after { display: none !important; }
html.nx-c body .panel .foot {
  background: none !important; color: var(--c-ink) !important; border: 0 !important;
  padding: 0 !important; margin-top: 14px !important;
}
html.nx-c body .panel .foot a { color: var(--c-brown) !important; text-decoration: underline; }
html.nx-c body .preview-banner { background: var(--k-ink) !important; color: var(--k-cream) !important; border: 0 !important; }
html.nx-c body .preview-banner a { color: #FF9A5E !important; }

/* ---------- Aviso de cookies (todas las páginas) ---------- */
html.nx-c body .nx-cookie {
  background: var(--c-cream) !important; border: 1px solid var(--c-ink) !important;
  border-radius: 0 !important; box-shadow: var(--g-sombra-caja) !important; color: var(--c-ink) !important;
  backdrop-filter: none !important; -webkit-backdrop-filter: none !important;
}
html.nx-c body .nx-cookie-inner { background: transparent !important; border: 0 !important; box-shadow: none !important; }
html.nx-c body .nx-cookie-copy strong { color: var(--c-ink) !important; font-family: var(--c-sans) !important; }
html.nx-c body .nx-cookie-copy p { color: var(--c-ink-soft) !important; }
html.nx-c body .nx-cookie-copy a { color: var(--c-brown) !important; text-decoration: underline; }
html.nx-c body .nx-cookie-btn { border-radius: 0 !important; box-shadow: none !important; min-height: 40px; font-weight: 700 !important; }
html.nx-c body .nx-cookie-btn.is-ghost { background: transparent !important; color: var(--c-ink) !important; border: 1.5px solid var(--c-ink) !important; }

/* Etiquetas de las tarjetas de rubros: sin brillo pulsante y legibles */
html.nx-c body .nx-badge {
  box-shadow: none !important; animation: none !important; font-size: 12px !important;
  border-radius: 0 !important; letter-spacing: 0.06em !important; font-family: var(--c-mono) !important;
}
html.nx-c body .nx-badge-adapt,
html.nx-c body .nx-badge-soon { background: transparent !important; color: var(--c-ink) !important; border: 1px solid var(--c-ink) !important; }

/* Portada: la sección de contacto es oscura, su título va en crema */
html.nx-c body #contacto h2 { color: var(--k-cream) !important; }
/* Catálogo: rubro de cada tarjeta legible */
html.nx-c body .card-cat { font-size: 12px !important; }
/* Párrafos de lectura: no más de ~75 caracteres por línea */
html.nx-c body main section > p,
html.nx-c body main details > p,
html.nx-c body main .panel > p { max-width: 34em; }
/* Chat: su encabezado es oscuro, el título va en crema y en tamaño de panel */
html.nx-c body .nx-ai-panel-head h2 { color: var(--k-cream) !important; font-size: 1.15rem !important; line-height: 1.1 !important; }

/* =====================================================================
   Colores fijos (bloques negros: pie, contacto, chat) y MODO OSCURO
   ===================================================================== */
html.nx-c {
  --k-ink: #0C0C0C; --k-cream: #F4F4F1; --k-or: #F4691F; --k-brown: #B5460F; --k-brown-2: #B5460F; --k-ink-soft: #42423D;
  --c-field: #EDEDEA;
}
html.nx-c[data-theme="dark"] {
  --c-or: #2B2B2B; --c-ink: #F4F4F1; --c-cream: #363636; --c-ink-soft: #C2C2BC; --c-brown: #FF9A5E; --c-brown-2: #FF9A5E;
  --g-line: #484848; --g-line-2: #62625F;
  --g-sombra: 5px 5px 0 rgba(0, 0, 0, 0.7); --g-sombra-caja: 10px 10px 0 rgba(0, 0, 0, 0.3); --g-sombra-barra: 0 8px 22px rgba(0, 0, 0, 0.35);
  --c-field: #222222;
  --bg: #2B2B2B; --bg-2: #363636; --ink: #F4F4F1; --ink-2: #F4F4F1; --muted: #C2C2BC;
  --panel: #363636;
  --orange: #FF9A5E; --orange-h: #FFB487; --teal: #FF9A5E; --teal-bright: #FFB487; --teal-soft: rgba(244, 244, 241, 0.1);
  --nx-ink: #F4F4F1; --nx-ink-2: #F4F4F1; --nx-teal: #FF9A5E;
  --theme-color: #363636;
  color-scheme: dark;
}
html.nx-c[data-theme="dark"] body { background: transparent !important; }
html.nx-c[data-theme="dark"] body .btn-fill:hover,
html.nx-c[data-theme="dark"] body .submit:hover { box-shadow: 3px 3px 0 rgba(0, 0, 0, 0.7) !important; }

/* ---------- El botón claro/oscuro ---------- */
html.nx-c body .theme-toggle {
  width: 44px !important; height: 44px !important; padding: 0 !important;
  background: transparent !important; background-image: none !important;
  border: 1px solid var(--c-ink) !important; border-radius: 0 !important;
  color: var(--c-ink) !important; box-shadow: none !important;
  backdrop-filter: none !important; -webkit-backdrop-filter: none !important;
  cursor: pointer; transform: none !important;
}
html.nx-c body .theme-toggle:hover { background: color-mix(in srgb, var(--c-ink) 10%, transparent) !important; }
html.nx-c body .theme-toggle svg { color: inherit !important; stroke: currentColor; }
html.nx-c body .theme-toggle::before,
html.nx-c body .theme-toggle::after { display: none !important; }
/* icono: en claro se ofrece la luna (pasar a oscuro); en oscuro, el sol */
html.nx-c body .theme-toggle .icon-sun { display: none !important; }
html.nx-c body .theme-toggle .icon-moon { display: block !important; }
html.nx-c[data-theme="dark"] body .theme-toggle .icon-sun { display: block !important; }
html.nx-c[data-theme="dark"] body .theme-toggle .icon-moon { display: none !important; }

/* ---------- Migas de las páginas de rubros (enlace "CRMs" para volver) ---------- */
html.nx-c body .eyebrow:has(a) {
  text-transform: none !important; letter-spacing: 0 !important; font-size: 15px !important; font-weight: 600 !important;
  color: var(--c-ink) !important; background: none !important; border: 0 !important; padding: 0 !important; margin-bottom: 12px !important;
}
html.nx-c body .eyebrow:has(a) a { color: var(--c-ink) !important; text-decoration: underline; text-underline-offset: 3px; }

/* Chat flotante en oscuro: borde naranja para que no se pierda en el fondo */
html.nx-c[data-theme="dark"] body .nx-ai-loader-fab,
html.nx-c[data-theme="dark"] body .nx-ai-fab { border-color: var(--k-or) !important; }

/* ---------- v2 · manual de marca (páginas internas): tarjetas legibles ---------- */
html.nx-c body .wrap .card {
  background: var(--c-cream) !important; color: var(--c-ink) !important;
  border: 1px solid var(--g-line-2) !important; border-radius: 0 !important; box-shadow: none !important; transform: none !important;
}
html.nx-c body .wrap .card .meta,
html.nx-c body .wrap .card .meta * { color: var(--c-ink) !important; }
/* las vistas previas (.preview) son piezas con sus propios colores: no se tocan */
html.nx-c body .swatch span { background: var(--k-ink) !important; color: var(--k-cream) !important; padding: 2px 6px; }

/* ---------- contraste ---------- */
html.nx-c body .chat-meta span { color: var(--c-ink) !important; }
html.nx-c body .nx-crms-sticky-cta,
html.nx-c body .nx-crms-sticky-cta a {
  background: var(--g-or) !important; color: #0C0C0C !important; border-radius: 0 !important;
  box-shadow: none !important; border: 1.5px solid #0C0C0C !important; background-image: none !important;
}

/* ---------- v2 · limpieza: adornos del menú viejo ya apagados, sin su sombra naranja ---------- */
html.nx-c body header nav a::before,
html.nx-c body header .nav-hide::before,
html.nx-c body header .nav-build-trigger::before,
html.nx-c body header .nav-build-item::before,
html.nx-c body header .nav-build-all::before { box-shadow: none !important; }
html.nx-c body .todo span { color: var(--c-ink) !important; }
/* manual de marca: palabras clave legibles y vista previa de texto sobre negro */
html.nx-c body .keywords b { color: var(--c-ink) !important; border-color: var(--c-ink) !important; background: transparent !important; }
html.nx-c body .wrap .card .preview.wide { color: #FAFAFA !important; }

/* ---------- Sin barra de desplazamiento visible (pedido de Esteban, 13/11). Se sigue bajando con rueda, trackpad, teclado o dedo. ---------- */
html.nx-c { scrollbar-width: none; }
html.nx-c::-webkit-scrollbar { display: none; width: 0; }
/* Sin botón «Ingresar» en el menú (pedido de Esteban, 13/11): el enlace queda en el código, solo no se muestra. */
html.nx-c body .nav-login { display: none !important; }

/* ---------- Detalles del estilo gris: etiquetas mono, cajas con sombra, bloques negros ---------- */
html.nx-c body .tag,
html.nx-c body .chip,
html.nx-c body .card-cat,
html.nx-c body .updated,
html.nx-c body .eyebrow:has(a) { font-family: var(--c-mono) !important; letter-spacing: 0.04em !important; }
html.nx-c body .tag,
html.nx-c body .chip { border: 1px solid var(--g-line-2) !important; text-transform: uppercase; font-size: 12px !important; }
html.nx-c body .plan-card,
html.nx-c body .access-box,
html.nx-c body .auth-panel,
html.nx-c body .panel { box-shadow: var(--g-sombra-caja) !important; }
html.nx-c body .list li,
html.nx-c body .band .list li { border-bottom-color: var(--g-line-2) !important; }
@media (prefers-reduced-motion: reduce) {
  html.nx-c body .btn-fill, html.nx-c body .submit { transition: none; }
}


/* ---------- Ajustes tras las primeras fotos de control (13/11) ---------- */
html.nx-c body header .brand-copy { border: 0 !important; padding-left: 10px !important; }
html.nx-c body header .brand-copy::before { display: none !important; }
/* Pie grande (portada): enlaces claros; naranja solo al pasar el mouse */
html.nx-c body > footer .footer-cols a { color: #E2E2DE !important; }
html.nx-c body > footer .footer-cols a:hover { color: #FF9A5E !important; }
/* Entrevista: el formulario es una caja recta del mismo estilo */
html.nx-c body form.card {
  background: var(--c-cream) !important; color: var(--c-ink) !important; border: 1px solid var(--g-line-2) !important;
  border-radius: 0 !important; box-shadow: var(--g-sombra-caja) !important;
}
html.nx-c body form.card label, html.nx-c body form.card legend { color: var(--c-ink) !important; }
html.nx-c body form.card .step-help { color: var(--c-ink-soft) !important; }
html.nx-c body .progress i { border-radius: 0 !important; box-shadow: none !important; }
html.nx-c body .progress i.is-done, html.nx-c body .progress i.is-current { background: #F4691F !important; }
html.nx-c body form.card input:not([type="checkbox"]):not([type="radio"]),
html.nx-c body form.card select,
html.nx-c body form.card textarea {
  background: var(--c-field) !important; color: var(--c-ink) !important; border: 1px solid var(--g-line-2) !important;
  border-radius: 0 !important; box-shadow: none !important;
}
html.nx-c body form.card input:focus,
html.nx-c body form.card select:focus,
html.nx-c body form.card textarea:focus { border-color: var(--c-ink) !important; outline: 2px solid #F4691F; outline-offset: 2px; }
/* Auditoría 13/11: nombre del plan elegido con contraste suficiente */
html.nx-c body .is-selected > .plan-name { color: var(--c-ink) !important; }

/* ---------- Letras más fáciles de leer (pedido de Esteban, 13/11 noche) ----------
   Eran finas y por momentos se mezclaban con los puntitos del fondo. Ahora: trazo más grueso, gris secundario
   más oscuro (más claro en modo oscuro) y un halo del color del fondo detrás de cada letra que tapa los puntitos. */
html.nx-c { --c-ink-soft: #2E2E2A; --muted: #2E2E2A; --g-halo: 0 0 3px var(--c-or), 0 0 6px var(--c-or), 0 0 12px var(--c-or), 0 1px 0 rgba(255, 255, 255, 0.35); }
html.nx-c[data-theme="dark"] { --c-ink-soft: #D9D9D3; --muted: #D9D9D3; --g-halo: 0 0 3px var(--c-or), 0 0 6px var(--c-or), 0 0 12px var(--c-or), 0 1px 0 rgba(0, 0, 0, 0.45); }
html.nx-c body { font-weight: 540; }
html.nx-c body h1, html.nx-c body h2, html.nx-c body .h1, html.nx-c body .sec-title { font-weight: 650 !important; }
html.nx-c body h3, html.nx-c body h4, html.nx-c body summary { font-weight: 650; }
html.nx-c body p, html.nx-c body li, html.nx-c body dd, html.nx-c body label { font-weight: 540; }
html.nx-c body main :is(h1, h2, h3, h4, p, li, dd, dt, summary, label, .lede, .sec-copy, .hero-proof, .service-link, .eyebrow, .updated, .step-index, .step-time, .catalog-caption) { text-shadow: var(--g-halo); }
/* dentro de cajas con fondo propio y de bloques negros no hace falta el halo */
html.nx-c body main :is(.panel, .band, .team, article.card, .card, .plan-card, .access-box, .dl-section, a.landing-card, .nx-build-card, .nx-build-example, .nx-demo-user, .audit-inner, .contact-form-panel, details, form, table, #contacto, .document) :is(h1, h2, h3, h4, p, li, dd, dt, summary, label, .lede, .updated, .eyebrow) { text-shadow: none; }
html.nx-c body #contacto :is(h2, p, li, label, summary) { text-shadow: none; }
html.nx-c body main.document :is(h1, h2, h3, p, li, .updated) { text-shadow: none; }
html.nx-c body header nav a,
html.nx-c body header .nav-build-trigger { font-weight: 600 !important; color: var(--c-ink) !important; }
html.nx-c body .btn, html.nx-c body .cta, html.nx-c body .submit, html.nx-c body header .nav-cta { font-weight: 700 !important; }

/* =====================================================================
   Repaso gráfico del 14/11 (pedido de Esteban): restos del diseño anterior
   ===================================================================== */
/* Todo recto: ninguna esquina redonda en el sitio (los botones flotantes de chat y WhatsApp sí siguen redondos,
   y los dibujos de aparatos del manual de marca conservan su forma). */
html.nx-c:not(.nx-app) body *:not(.wa):not(.nx-ai-loader-fab):not(.nx-ai-fab):not(.frame):not(.frame *):not(.preview *):not(.avail i),
html.nx-c:not(.nx-app) body *:not(.wa):not(.nx-ai-loader-fab):not(.nx-ai-fab):not(.frame):not(.frame *):not(.preview *)::before,
html.nx-c:not(.nx-app) body *:not(.wa):not(.nx-ai-loader-fab):not(.nx-ai-fab):not(.frame):not(.frame *):not(.preview *)::after { border-radius: 0 !important; }
/* Botones y campos usan la letra del sitio (antes caían en Arial) */
html.nx-c body button, html.nx-c body input, html.nx-c body select, html.nx-c body textarea { font-family: inherit; }
html.nx-c body code, html.nx-c body kbd, html.nx-c body pre { font-family: var(--c-mono) !important; }

/* Pie de las páginas internas: barra negra de lado a lado y pegada abajo, como en la portada */
html.nx-c body:has(> footer.foot), html.nx-c body:has(> footer:not([class])) { min-height: 100vh; min-height: 100dvh; display: flex; flex-direction: column; }
html.nx-c body:has(> footer.foot) > main, html.nx-c body:has(> footer:not([class])) > main { flex: 0 0 auto; }
html.nx-c body > footer.foot,
html.nx-c body > footer:not([class]) {
  width: 100% !important; max-width: none !important; margin: auto 0 0 !important; box-sizing: border-box;
  padding: 30px max(20px, calc((100% - 1100px) / 2)) !important;
}
html.nx-c body > footer.foot::before { display: none !important; }
html.nx-c body:has(> footer.foot) > main, html.nx-c body:has(> footer:not([class])) > main { margin-bottom: 72px; }
html.nx-c body > footer:not([class]) > .wrap { width: 100%; max-width: none; padding: 0; margin: 0; }

/* Demo de IA (servicios/ias): caja de chat y tarjetas de modelos al estilo nuevo */
html.nx-c body .chat-demo {
  background: var(--c-cream) !important; background-image: none !important; border: 1px solid var(--c-ink) !important;
  box-shadow: var(--g-sombra-caja) !important; color: var(--c-ink) !important;
}
html.nx-c body .chat-demo-head { background: transparent !important; border-bottom: 1px solid var(--g-line-2) !important; }
html.nx-c body .chat-demo * { text-shadow: none !important; }
html.nx-c body .chat-avatar,
html.nx-c body .mini-avatar { background: #0C0C0C !important; background-image: none !important; color: #F4691F !important; box-shadow: none !important; font-family: var(--c-mono); }
html.nx-c body .chat-demo-badge {
  background: transparent !important; background-image: none !important; border: 1px solid var(--c-ink) !important; color: var(--c-ink) !important;
  box-shadow: none !important; font-family: var(--c-mono) !important; font-size: 11.5px !important; letter-spacing: 0.08em; font-weight: 600 !important;
}
html.nx-c body .chat-stats,
html.nx-c body .chat-log { background: var(--c-field) !important; background-image: none !important; border: 1px solid var(--g-line-2) !important; box-shadow: none !important; color: var(--c-ink) !important; }
html.nx-c body .chat-stats { font-family: var(--c-mono); font-size: 12px; }
html.nx-c body .chat-bubble { box-shadow: none !important; background-image: none !important; }
html.nx-c body .chat-bubble.bot { background: var(--c-cream) !important; color: var(--c-ink) !important; border: 1px solid var(--g-line-2) !important; }
html.nx-c body .chat-bubble.user { background: #0C0C0C !important; color: #F4F4F1 !important; border: 1px solid #0C0C0C !important; }
html.nx-c body .chat-note, html.nx-c body .chat-status, html.nx-c body .chat-meta { color: var(--c-ink-soft) !important; }
html.nx-c body .chat-suggestions button,
html.nx-c body .chat-toolbar button,
html.nx-c body .chat-meta button {
  background: transparent !important; background-image: none !important; color: var(--c-ink) !important; border: 1px solid var(--c-ink) !important;
  box-shadow: none !important; font-family: var(--c-mono) !important; font-size: 12px !important; letter-spacing: 0.04em; font-weight: 600 !important;
}
html.nx-c body .chat-suggestions button:hover,
html.nx-c body .chat-toolbar button:hover { background: color-mix(in srgb, var(--c-ink) 9%, transparent) !important; }
html.nx-c body .chat-form input { background: var(--c-field) !important; color: var(--c-ink) !important; border: 1px solid var(--g-line-2) !important; box-shadow: none !important; }
html.nx-c body .chat-form button[type="submit"] {
  background: var(--g-or) !important; background-image: none !important; color: #0C0C0C !important; border: 1.5px solid #0C0C0C !important;
  box-shadow: 4px 4px 0 rgba(12, 12, 12, 0.85) !important; font-family: var(--c-mono) !important; font-weight: 700 !important; text-transform: uppercase; letter-spacing: 0.06em; font-size: 12.5px !important;
}
html.nx-c body .chat-typing { background: var(--c-cream) !important; border: 1px solid var(--g-line-2) !important; }
html.nx-c body .model-card {
  background: var(--c-cream) !important; background-image: none !important; color: var(--c-ink) !important;
  border: 1px solid var(--g-line-2) !important; box-shadow: none !important;
}
html.nx-c body .model-card * { color: inherit; text-shadow: none !important; }

/* Pastillas y etiquetas sueltas de otras páginas */
html.nx-c body .meta-pill, html.nx-c body .trial-chip, html.nx-c body p.status:not([role="status"]):not(:empty), html.nx-c body .pill, html.nx-c body .nx-step-num, html.nx-c body .step-time {
  background: transparent !important; background-image: none !important; color: var(--c-ink) !important; border: 1px solid var(--g-line-2) !important;
  box-shadow: none !important; font-family: var(--c-mono) !important; letter-spacing: 0.04em;
}
html.nx-c body .nx-start-cta, html.nx-c body p.note, html.nx-c body p.disclaimer { background-image: none !important; box-shadow: none !important; }

/* Tras Impeccable (14/11): texto de ayuda de los campos con contraste suficiente, y menos sombras en la grilla de rubros */
html.nx-c body input::placeholder, html.nx-c body textarea::placeholder { color: var(--c-ink-soft) !important; opacity: 0.85; }
html.nx-c body #contacto .contact-form-panel input::placeholder, html.nx-c body #contacto .contact-form-panel textarea::placeholder { color: #42423D !important; opacity: 1; }
html.nx-c body .nx-crms-card, html.nx-c body .nx-crms-card .btn-fill, html.nx-c body .nx-crms-card a.cta { box-shadow: none !important; }
/* Tarjetas repetidas en grilla (rubros, módulos, preguntas): sin sombra, solo borde; la sombra queda para cajas únicas y el botón principal de cada página */
html.nx-c body .nx-rubro-card, html.nx-c body .nx-module-card, html.nx-c body details.panel, html.nx-c body .nx-vertical-detail,
html.nx-c body .nx-rubro-card .btn-fill, html.nx-c body .nx-module-card .btn-fill { box-shadow: none !important; }

/* Pies que viven dentro de un contenedor angosto (entrevista, catálogo): también de lado a lado */
html.nx-c body div.shell > footer.foot,
html.nx-c body div.wrap > footer.site {
  width: 100vw !important; max-width: none !important; margin-left: calc(50% - 50vw) !important; margin-right: 0 !important; box-sizing: border-box;
  padding: 30px max(20px, calc((100vw - 1100px) / 2)) !important; background: #0C0C0C !important; color: #F4F4F1 !important; border: 0 !important;
}
html.nx-c body div.wrap > footer.site *, html.nx-c body div.shell > footer.foot * { color: #F4F4F1 !important; }
html.nx-c body div.wrap > footer.site a, html.nx-c body div.shell > footer.foot a { color: #FF9A5E !important; }
html.nx-c body:has(div.shell > footer.foot), html.nx-c body:has(div.wrap > footer.site) { overflow-x: clip; }
