/* ═══════════════════════════════════════════════════════════════════
   NEXO — style-nexo.css
   Hoja de estilos autocontenida (no depende de css/style-urbn-v2.css)
   para que /nexo pueda moverse a un subdominio sin tocar rutas.
   Mismos tokens de marca que el resto de NOXIGY.
═══════════════════════════════════════════════════════════════════ */

/* 01. TOKENS ────────────────────────────────────────────────────── */
:root {
  --bg:            #09090B;
  --bg-secondary:  #111113;
  --surface:       #18181B;
  --border:        #1F1F23;
  --border-light:  #2A2A30;

  --accent:        #C9F31D;
  --accent-hover:  #D6FF33;
  --accent-soft:   rgba(201, 243, 29, 0.10);
  --accent-border: rgba(201, 243, 29, 0.28);
  --accent-glow:   rgba(201, 243, 29, 0.15);

  --text: #FAFAFA;
  --t2:   #A1A1AA;
  --t3:   #71717A;

  --font-display: 'Poppins', -apple-system, sans-serif;
  --font:         'Poppins', -apple-system, sans-serif;
  --mono:         'Geist Mono', 'Fira Code', monospace;

  --text-xs: 11px; --text-sm: 12px; --text-base: 14px; --text-md: 15px; --text-lg: 16px;

  --r-sm: 4px; --r: 6px; --rl: 10px; --r-xl: 14px; --r-pill: 999px;

  --space-xs: 8px; --space-sm: 16px; --space-md: 24px; --space-lg: 40px;
  --space-xl: 64px; --space-2xl: 96px; --space-3xl: 128px;

  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --dur-fast: 120ms; --dur-base: 200ms; --dur-slow: 350ms;

  --shadow-md: 0 4px 16px rgba(0,0,0,0.5);
  --shadow-accent: 0 0 0 1px var(--accent-border), 0 4px 24px var(--accent-glow);

  --max-w: 1200px;
  --pad-x: 48px;
}

/* 02. RESET / BASE ──────────────────────────────────────────────── */
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-weight: 300;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { font: inherit; cursor: pointer; }
img { max-width: 100%; display: block; }

.fade-up { opacity: 0; transform: translateY(18px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.fade-up.in { opacity: 1; transform: translateY(0); }
@media (prefers-reduced-motion: reduce) { .fade-up { opacity: 1; transform: none; transition: none; } }

.nx-todo {
  color: var(--accent);
  background: var(--accent-soft);
  border: 1px dashed var(--accent-border);
  border-radius: var(--r-sm);
  padding: 1px 6px;
  font-size: 0.9em;
}

/* 03. NAV ───────────────────────────────────────────────────────── */
.nx-nav {
  position: sticky; top: 0; z-index: 100;
  display: grid; grid-template-columns: 1fr auto 1fr; align-items: center;
  padding: var(--space-sm) var(--pad-x);
  background: rgba(9,9,11,0.85);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}
.nx-logo { display: flex; align-items: center; gap: 8px; justify-self: start; }
.nx-logo img { height: 26px; width: auto; }
.nx-logo-badge {
  font-family: var(--mono); font-size: 10px; letter-spacing: .14em;
  color: var(--accent); border: 1px solid var(--accent-border);
  background: var(--accent-soft); border-radius: var(--r-sm);
  padding: 2px 6px; text-transform: uppercase;
}
.nx-nav-center { display: flex; gap: var(--space-md); justify-self: center; }
.nx-nav-center a { font-size: var(--text-base); color: var(--t2); transition: color var(--dur-base) var(--ease); }
.nx-nav-center a:hover, .nx-nav-center a.active { color: var(--text); }
/* Solo visible en el desplegable móvil (ver 13. RESPONSIVE) */
.nx-nav-mobile-link { display: none; }
.nx-nav-right { display: flex; align-items: center; gap: var(--space-sm); justify-self: end; }
/* Mismo lenguaje de botón que el sitio principal (.nav-cta / .lang-switch) */
.nx-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 7px 14px; border-radius: var(--r);
  font-family: var(--mono); font-size: var(--text-xs); font-weight: 600;
  letter-spacing: 0.08em; text-transform: uppercase;
  transition: transform var(--dur-base) var(--ease), background var(--dur-base) var(--ease), box-shadow var(--dur-base) var(--ease), border-color var(--dur-base) var(--ease), color var(--dur-base) var(--ease);
  white-space: nowrap; border: 1px solid transparent; cursor: pointer;
}
.nx-btn-ghost { background: transparent; color: var(--t3); font-weight: 500; border-color: var(--border-light); }
.nx-btn-ghost:hover { color: var(--text); border-color: var(--t3); }
.nx-btn-solid { background: var(--accent); color: #09090B; font-weight: 600; }
.nx-btn-solid:hover { background: var(--accent-hover); transform: translateY(-1px); box-shadow: var(--shadow-accent); }
.nx-btn-solid:active { transform: translateY(0); }
.nx-btn-solid:disabled { opacity: .6; cursor: default; transform: none; box-shadow: none; }
.nx-nav-toggle { display: none; }

/* 04. HERO ──────────────────────────────────────────────────────── */
.nx-eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--mono); font-size: var(--text-xs); letter-spacing: .18em;
  text-transform: uppercase; color: var(--accent);
  border: 1px solid var(--accent-border); background: var(--accent-soft);
  border-radius: var(--r-pill); padding: 6px 14px; margin-bottom: var(--space-md);
}

/* 07. KITS / RECURSOS — grid editorial, pocas tarjetas, mucho aire */
.nx-kits { max-width: var(--max-w); margin: 0 auto; display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--space-lg); }
.nx-kit-card {
  display: flex; flex-direction: column;
  border: 1px solid var(--border-light); border-radius: var(--r-xl);
  overflow: hidden; background: var(--bg-secondary);
  transition: transform var(--dur-base) var(--ease), border-color var(--dur-base) var(--ease);
}
.nx-kit-card:hover { transform: translateY(-4px); border-color: var(--accent-border); }
.nx-kit-media {
  position: relative; aspect-ratio: 16/10;
  background:
    linear-gradient(135deg, var(--surface), var(--bg-secondary)),
    repeating-linear-gradient(45deg, rgba(255,255,255,0.02) 0 2px, transparent 2px 14px);
  display: flex; align-items: center; justify-content: center;
}
.nx-kit-media span { font-family: var(--mono); font-size: var(--text-xs); color: var(--t3); letter-spacing: .08em; text-transform: uppercase; }
.nx-kit-badge {
  position: absolute; top: var(--space-sm); left: var(--space-sm);
  font-family: var(--mono); font-size: 10px; letter-spacing: .08em; text-transform: uppercase;
  padding: 4px 10px; border-radius: var(--r-pill);
}
.nx-kit-badge-free { color: var(--accent); background: rgba(9,9,11,0.7); border: 1px solid var(--accent-border); }
.nx-kit-badge-premium { color: var(--t2); background: rgba(9,9,11,0.7); border: 1px solid var(--border-light); }
.nx-kit-fav {
  position: absolute; top: var(--space-sm); right: var(--space-sm);
  width: 32px; height: 32px; border-radius: 50%;
  background: rgba(9,9,11,0.7); border: 1px solid var(--border-light);
  display: flex; align-items: center; justify-content: center;
  color: var(--t2); transition: color var(--dur-base) var(--ease), border-color var(--dur-base) var(--ease);
}
.nx-kit-fav:hover { color: var(--accent); border-color: var(--accent-border); }
.nx-kit-fav.active { color: var(--accent); border-color: var(--accent-border); }
.nx-kit-body { padding: var(--space-md); display: flex; flex-direction: column; gap: 8px; flex: 1; }
.nx-kit-cat { font-family: var(--mono); font-size: var(--text-xs); letter-spacing: .1em; text-transform: uppercase; color: var(--t3); }
.nx-kit-body h3 { font-family: var(--font-display); font-size: 21px; font-weight: 600; }
.nx-kit-body p { color: var(--t2); font-size: var(--text-base); line-height: 1.65; flex: 1; }
.nx-kit-foot { display: flex; align-items: center; justify-content: space-between; margin-top: 6px; }
.nx-kit-price { font-family: var(--font-display); font-size: 18px; font-weight: 700; }
.nx-kit-price.is-free { color: var(--accent); }

/* 08. CATÁLOGO — filtros ────────────────────────────────────────── */
.nx-catalog-head { padding: var(--space-xl) var(--pad-x) var(--space-md); }
.nx-catalog-head h1 { font-family: var(--font-display); font-size: clamp(30px, 4vw, 46px); font-weight: 700; letter-spacing: -0.02em; margin-bottom: var(--space-sm); }
.nx-catalog-head p { color: var(--t2); max-width: 520px; }
.nx-filters { display: flex; gap: 8px; flex-wrap: wrap; padding: 0 var(--pad-x) var(--space-xl); }
.nx-filter-chip {
  padding: 8px 16px; border-radius: var(--r-pill);
  border: 1px solid var(--border-light); color: var(--t2);
  font-size: var(--text-sm); transition: all var(--dur-base) var(--ease);
}
.nx-filter-chip:hover { border-color: var(--t3); color: var(--text); }
.nx-filter-chip.active { background: var(--accent-soft); border-color: var(--accent-border); color: var(--accent); }
.nx-catalog-grid { padding: 0 var(--pad-x) var(--space-3xl); max-width: var(--max-w); margin: 0 auto; }
.nx-catalog-grid .nx-kits { grid-template-columns: repeat(2, 1fr); }
.nx-empty { text-align: center; padding: var(--space-3xl) var(--space-md); color: var(--t3); }

/* 09. FICHA DE RECURSO ──────────────────────────────────────────── */
.nx-resource { padding: var(--space-2xl) var(--pad-x); max-width: var(--max-w); margin: 0 auto; }
.nx-breadcrumb { font-size: var(--text-sm); color: var(--t3); margin-bottom: var(--space-lg); }
.nx-breadcrumb a { color: var(--t3); }
.nx-breadcrumb a:hover { color: var(--t2); }
.nx-resource-top { display: grid; grid-template-columns: 1.1fr 1fr; gap: var(--space-2xl); align-items: start; }
.nx-resource-media {
  aspect-ratio: 4/3; border-radius: var(--r-xl); overflow: hidden;
  background:
    linear-gradient(135deg, var(--surface), var(--bg-secondary)),
    repeating-linear-gradient(45deg, rgba(255,255,255,0.02) 0 2px, transparent 2px 14px);
  display: flex; align-items: center; justify-content: center;
  border: 1px solid var(--border-light);
}
.nx-resource-media span { font-family: var(--mono); font-size: var(--text-sm); color: var(--t3); }
.nx-resource-cat { font-family: var(--mono); font-size: var(--text-xs); letter-spacing: .1em; text-transform: uppercase; color: var(--accent); margin-bottom: var(--space-sm); }
.nx-resource-info h1 { font-family: var(--font-display); font-size: clamp(28px, 3.6vw, 42px); font-weight: 700; letter-spacing: -0.02em; margin-bottom: var(--space-sm); }
.nx-resource-tagline { color: var(--t2); font-size: var(--text-lg); margin-bottom: var(--space-lg); line-height: 1.6; }
.nx-resource-price { font-family: var(--font-display); font-size: 32px; font-weight: 700; margin-bottom: var(--space-md); }
.nx-resource-price.is-free { color: var(--accent); }
.nx-resource-actions { display: flex; gap: var(--space-sm); margin-bottom: var(--space-md); }
.nx-resource-note { font-size: var(--text-sm); color: var(--t3); }

.nx-resource-block { margin-top: var(--space-2xl); padding-top: var(--space-2xl); border-top: 1px solid var(--border); }
.nx-resource-block h2 { font-family: var(--font-display); font-size: 22px; font-weight: 700; margin-bottom: var(--space-md); }
.nx-resource-block p { color: var(--t2); line-height: 1.75; }
.nx-includes-list { display: flex; flex-direction: column; gap: 10px; }
.nx-includes-list li { display: flex; gap: 10px; color: var(--t2); font-size: var(--text-base); align-items: flex-start; }
.nx-includes-list svg { flex-shrink: 0; color: var(--accent); margin-top: 3px; }

/* FAQ del recurso (reutiliza estilo del acordeón general) */
.nx-faq-item { border-bottom: 1px solid var(--border); }
.nx-faq-q {
  width: 100%; display: flex; align-items: center; justify-content: space-between;
  padding: var(--space-md) 0; background: none; border: none; text-align: left;
  color: var(--text); font-size: var(--text-md); font-weight: 500;
}
.nx-faq-q .nx-faq-icon { color: var(--t3); transition: transform var(--dur-base) var(--ease); }
.nx-faq-item.open .nx-faq-icon { transform: rotate(45deg); color: var(--accent); }
.nx-faq-a { max-height: 0; overflow: hidden; transition: max-height var(--dur-slow) var(--ease); }
.nx-faq-item.open .nx-faq-a { max-height: 240px; }
.nx-faq-a p { color: var(--t2); font-size: var(--text-base); line-height: 1.7; padding-bottom: var(--space-md); }

/* Idéntico al footer del sitio principal (css/style-urbn-v2.css, sección 16) */
footer {
  border-top:      1px solid var(--border);
  padding:         22px var(--pad-x);
  display:         grid;
  grid-template-columns: 1fr auto 1fr;
  align-items:     center;
  gap:             var(--space-sm);
}
.ft-logo-img { height: 24px; width: auto; justify-self: start; }
.ft-links { display: flex; justify-self: center; gap: 24px; list-style: none; }
.ft-links a { font-size: var(--text-xs); color: var(--t3); text-decoration: none; transition: color var(--dur-base) var(--ease); letter-spacing: 0.03em; }
.ft-links a:hover { color: var(--text); }
.ft-copy { font-size: var(--text-xs); color: var(--t3); font-family: var(--mono); letter-spacing: 0.04em; justify-self: end; }

/* 11. AUTH (login / registro) ───────────────────────────────────── */
.nx-auth {
  min-height: calc(100vh - 65px);
  display: flex; align-items: center; justify-content: center;
  padding: var(--space-xl) var(--space-sm);
}
.nx-auth-card {
  width: min(420px, 100%);
  background: var(--bg-secondary); border: 1px solid var(--border-light);
  border-radius: var(--r-xl); padding: var(--space-lg);
}
.nx-auth-card h1 { font-family: var(--font-display); font-size: 26px; font-weight: 700; margin-bottom: 6px; }
.nx-auth-card > p { color: var(--t2); font-size: var(--text-base); margin-bottom: var(--space-lg); }
.nx-field { margin-bottom: var(--space-sm); }
.nx-field label { display: block; font-size: var(--text-sm); color: var(--t2); margin-bottom: 6px; }
.nx-field input, .nx-field select, .nx-field textarea {
  width: 100%; padding: 12px 14px; border-radius: var(--r);
  border: 1px solid var(--border-light); background: var(--surface); color: var(--text);
  font-size: var(--text-base); font-family: var(--font);
  transition: border-color var(--dur-base) var(--ease);
}
.nx-field select { appearance: none; cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%23A1A1AA' d='M1 1l5 5 5-5'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 14px center; padding-right: 36px;
}
.nx-field select option { background: var(--surface); color: var(--text); }
.nx-field textarea { resize: vertical; min-height: 100px; line-height: 1.5; }
.nx-field input:focus, .nx-field select:focus, .nx-field textarea:focus { outline: none; border-color: var(--accent-border); }
.nx-pass-wrap { position: relative; }
.nx-pass-wrap input { padding-right: 44px; }
.nx-pass-toggle {
  position: absolute; top: 50%; right: 4px; transform: translateY(-50%);
  width: 36px; height: 36px; display: flex; align-items: center; justify-content: center;
  background: none; border: none; padding: 0; color: var(--t3); cursor: pointer;
  border-radius: var(--r); transition: color var(--dur-base) var(--ease);
}
.nx-pass-toggle:hover { color: var(--text); }
.nx-pass-toggle svg { width: 19px; height: 19px; }
.nx-pass-toggle .nx-eye-off { display: none; }
.nx-pass-toggle.is-visible .nx-eye-on { display: none; }
.nx-pass-toggle.is-visible .nx-eye-off { display: block; }
.nx-auth-submit { width: 100%; margin-top: var(--space-sm); padding: 13px; }
.nx-auth-msg { font-size: var(--text-sm); margin-top: var(--space-sm); min-height: 1.4em; }
.nx-auth-msg.nx-err { color: #FF6B6B; }
.nx-auth-msg.nx-ok { color: var(--accent); }
.nx-auth-switch { text-align: center; font-size: var(--text-sm); color: var(--t3); margin-top: var(--space-md); }
.nx-auth-switch a { color: var(--accent); }

/* 12. CUENTA (área privada) ─────────────────────────────────────── */
body.nx-app-shell { display: flex; min-height: 100vh; }
.nx-sidebar {
  width: 240px; flex-shrink: 0; background: var(--bg-secondary);
  border-right: 1px solid var(--border); padding: var(--space-md);
  display: flex; flex-direction: column;
  position: sticky; top: 0; height: 100vh;
}
.nx-sidebar .nx-logo { margin-bottom: var(--space-lg); padding-left: 4px; }
.nx-app-nav { display: flex; flex-direction: column; gap: 2px; flex: 1; }
.nx-app-nav a {
  display: flex; align-items: center; gap: 10px;
  padding: 10px 12px; border-radius: var(--r);
  color: var(--t2); font-size: var(--text-base);
  transition: background var(--dur-base) var(--ease), color var(--dur-base) var(--ease);
}
.nx-app-nav a:hover { background: var(--surface); color: var(--text); }
.nx-app-nav a.active { background: var(--accent-soft); color: var(--accent); font-weight: 500; }
.nx-app-nav-bottom { display: flex; flex-direction: column; gap: 2px; border-top: 1px solid var(--border); padding-top: var(--space-sm); margin-top: var(--space-sm); }
.nx-app-nav-bottom a {
  display: flex; align-items: center; padding: 8px 12px; border-radius: var(--r);
  color: var(--t3); font-size: var(--text-sm); transition: background var(--dur-base) var(--ease), color var(--dur-base) var(--ease);
}
.nx-app-nav-bottom a:hover { background: var(--surface); color: var(--text); }
.nx-app-main { flex: 1; min-width: 0; }
.nx-app-topbar {
  display: flex; align-items: center; justify-content: space-between;
  padding: var(--space-md) var(--space-lg); border-bottom: 1px solid var(--border);
}
.nx-app-topbar h1 { font-family: var(--font-display); font-size: 22px; font-weight: 700; }
.nx-app-user { display: flex; align-items: center; gap: 10px; font-size: var(--text-sm); color: var(--t2); }
.nx-app-user-avatar {
  width: 32px; height: 32px; border-radius: 50%; overflow: hidden;
  background: var(--accent-soft); color: var(--accent);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--mono); font-size: 13px; font-weight: 600;
}
.nx-app-user-avatar img { width: 100%; height: 100%; object-fit: cover; }
.nx-app-content { padding: var(--space-lg); max-width: 1000px; }
.nx-app-card { background: var(--bg-secondary); border: 1px solid var(--border); border-radius: var(--r-xl); padding: var(--space-lg); margin-bottom: var(--space-md); }
.nx-app-card h2 { font-family: var(--font-display); font-size: 18px; font-weight: 600; margin-bottom: 10px; }
.nx-app-card p { color: var(--t2); font-size: var(--text-base); line-height: 1.7; }
.nx-app-empty { text-align: center; padding: var(--space-xl) var(--space-md); color: var(--t3); }
.nx-app-resource-row {
  display: flex; align-items: center; justify-content: space-between; gap: var(--space-md);
  padding: var(--space-md) 0; border-bottom: 1px solid var(--border);
}
.nx-app-resource-row:last-child { border-bottom: none; }
.nx-app-resource-row h3 { font-family: var(--font-display); font-size: 16px; font-weight: 600; margin-bottom: 4px; }
.nx-app-resource-row p { color: var(--t3); font-size: var(--text-sm); }
.nx-app-badge { font-family: var(--mono); font-size: 10px; letter-spacing: .08em; text-transform: uppercase; padding: 3px 8px; border-radius: var(--r-sm); }
.nx-app-badge-free { color: var(--accent); background: var(--accent-soft); border: 1px solid var(--accent-border); }
.nx-app-badge-purchase { color: var(--t2); background: var(--surface); border: 1px solid var(--border-light); }

.nx-avatar-row { display: flex; align-items: center; gap: var(--space-md); }
.nx-avatar-circle {
  width: 32px; height: 32px; border-radius: 50%; overflow: hidden; flex-shrink: 0;
  background: var(--accent-soft); color: var(--accent);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--mono); font-weight: 600;
}
.nx-avatar-circle img { width: 100%; height: 100%; object-fit: cover; }
.nx-avatar-circle-lg { width: 72px; height: 72px; font-size: 26px; }
.nx-avatar-actions { display: flex; gap: 10px; flex-wrap: wrap; }
.nx-field-hint { color: var(--t3); font-size: var(--text-xs); margin-top: 10px; }

/* 13. COMUNIDAD / EMPRESAS / OPORTUNIDADES — bloques editoriales de la
   landing, sin tarjetas de producto, mucho aire (index-nexo.php) */
.nx-chip-cloud { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; max-width: 760px; margin: 0 auto var(--space-xl); }
.nx-chip {
  display: inline-flex; align-items: center;
  padding: 7px 16px; border-radius: var(--r-pill);
  border: 1px solid var(--border-light); background: var(--bg-secondary);
  color: var(--t2); font-size: var(--text-sm);
}

.nx-opportunity-list { max-width: var(--max-w); margin: 0 auto var(--space-lg); display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--space-md); }
.nx-opportunity-card {
  padding: var(--space-md); border: 1px solid var(--border-light); border-radius: var(--r-xl);
  background: var(--bg-secondary); transition: border-color var(--dur-base) var(--ease), transform var(--dur-base) var(--ease);
}
.nx-opportunity-card:hover { border-color: var(--accent-border); transform: translateY(-4px); }
.nx-opportunity-card h3 { font-family: var(--font-display); font-size: 18px; font-weight: 600; margin-bottom: 8px; }
.nx-opportunity-card p { color: var(--t2); font-size: var(--text-base); line-height: 1.6; margin-bottom: 10px; }
.nx-opportunity-loc { font-family: var(--mono); font-size: var(--text-xs); letter-spacing: .06em; text-transform: uppercase; color: var(--t3); }

/* 14. ESTADÍSTICAS — contador animado al entrar en viewport */
.nx-stats-section { text-align: center; }
.nx-stats { max-width: var(--max-w); margin: 0 auto; display: grid; grid-template-columns: repeat(5, 1fr); gap: var(--space-md); }
.nx-stat-n {
  display: block; font-family: var(--font-display); font-weight: 700;
  font-size: clamp(30px, 4vw, 48px); color: var(--accent); letter-spacing: -0.02em;
}

/* 15. WIZARD — formulario de empresas (empresas.php): pasos únicos,
   sin recarga, misma paleta */
.nx-wizard-page { padding: var(--space-2xl) var(--pad-x) var(--space-3xl); }
.nx-wizard-head { max-width: 560px; margin: 0 auto var(--space-xl); text-align: center; }
.nx-wizard-head h1 { font-family: var(--font-display); font-size: clamp(28px, 3.6vw, 40px); font-weight: 700; letter-spacing: -0.02em; margin: var(--space-sm) 0; }
.nx-wizard-head p { color: var(--t2); }
.nx-wizard { max-width: 560px; margin: 0 auto; }

.nx-wizard-progress-row { display: flex; align-items: center; gap: var(--space-sm); margin-bottom: var(--space-lg); }
.nx-wizard-step-label { font-family: var(--mono); font-size: var(--text-xs); color: var(--t3); white-space: nowrap; }
.nx-wizard-progress { flex: 1; height: 3px; background: var(--border-light); border-radius: var(--r-pill); overflow: hidden; }
.nx-wizard-progress-bar { height: 100%; width: 25%; background: var(--accent); border-radius: var(--r-pill); transition: width var(--dur-slow) var(--ease); }

.nx-wizard-step { display: none; }
.nx-wizard-step.active { display: block; animation: nxWizardIn var(--dur-slow) var(--ease); }
@keyframes nxWizardIn { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: translateY(0); } }
.nx-wizard-step h2 { font-family: var(--font-display); font-size: 22px; font-weight: 700; margin-bottom: var(--space-md); }

.nx-field-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0 var(--space-md); }
.nx-field-grid .nx-field { min-width: 0; }

.nx-chip-select { display: flex; flex-wrap: wrap; gap: 8px; }
.nx-chip-toggle {
  border: 1px solid var(--border-light); background: var(--surface); color: var(--t2);
  border-radius: var(--r-pill); padding: 7px 16px; font-size: var(--text-sm);
  font-family: var(--font); transition: all var(--dur-base) var(--ease);
}
.nx-chip-toggle:hover { border-color: var(--t3); color: var(--text); }
.nx-chip-toggle.active { background: var(--accent-soft); border-color: var(--accent-border); color: var(--accent); }

.nx-radio-row { display: flex; flex-wrap: wrap; gap: 8px; }
.nx-radio-pill {
  display: inline-flex; align-items: center; gap: 6px;
  border: 1px solid var(--border-light); background: var(--surface); color: var(--t2);
  border-radius: var(--r-pill); padding: 7px 16px; font-size: var(--text-sm); cursor: pointer;
  transition: all var(--dur-base) var(--ease);
}
.nx-radio-pill:has(input:checked) { background: var(--accent-soft); border-color: var(--accent-border); color: var(--accent); }
.nx-radio-pill input { accent-color: var(--accent); }

.nx-wizard-nav { display: flex; align-items: center; justify-content: space-between; margin-top: var(--space-lg); }

.nx-wizard-welcome { max-width: 560px; margin: 0 auto; text-align: center; padding: var(--space-2xl) 0; }
.nx-wizard-welcome h2 { font-family: var(--font-display); font-size: clamp(24px, 3.2vw, 32px); font-weight: 700; letter-spacing: -0.01em; margin: var(--space-md) 0; line-height: 1.3; }
.nx-wizard-welcome p { color: var(--t2); font-size: var(--text-lg); line-height: 1.6; margin-bottom: var(--space-sm); }
.nx-wizard-welcome .nx-btn { margin-top: var(--space-md); }

/* 16. RESPONSIVE ─────────────────────────────────────────────────── */
@media (max-width: 960px) {
  .nx-resource-top { grid-template-columns: 1fr; }
}
@media (max-width: 860px) {
  .nx-kits, .nx-catalog-grid .nx-kits { grid-template-columns: 1fr; }
  .nx-opportunity-list { grid-template-columns: 1fr; }
  .nx-stats { grid-template-columns: repeat(2, 1fr); gap: var(--space-lg) var(--space-sm); }
  .nx-field-grid { grid-template-columns: 1fr; }
  .nx-nav-center { display: none; }
  .nx-nav-toggle { display: flex; flex-direction: column; gap: 4px; background: none; border: none; padding: 6px; }
  .nx-nav-toggle span { width: 20px; height: 2px; background: var(--text); }
  .nx-nav.menu-open .nx-nav-center {
    display: flex; flex-direction: column; gap: var(--space-sm);
    position: absolute; top: 100%; left: 0; right: 0;
    justify-self: stretch;
    background: var(--bg); border-bottom: 1px solid var(--border);
    padding: var(--space-md) var(--pad-x);
  }
  .nx-nav.menu-open .nx-nav-mobile-link { display: list-item; }
  body.nx-app-shell { flex-direction: column; }
  .nx-sidebar { width: 100%; height: auto; position: relative; flex-direction: row; overflow-x: auto; }
  .nx-sidebar .nx-logo { display: none; }
  .nx-app-nav { flex-direction: row; }
  .nx-app-nav-bottom { flex-direction: row; border-top: none; border-left: 1px solid var(--border); margin: 0; padding: 0 0 0 var(--space-sm); }
  .nx-app-nav-bottom a { white-space: nowrap; }

  /* Footer: apila en vez de forzar todo en una fila (igual que el sitio principal) */
  footer { display: flex; flex-direction: column; align-items: center; text-align: center; gap: var(--space-sm); }
  .ft-links { flex-wrap: wrap; justify-content: center; row-gap: 8px; }
}
@media (max-width: 560px) {
  :root { --pad-x: 20px; }
  .nx-app-content { padding: var(--space-md); }
  .nx-nav-right .nx-btn-ghost { display: none; }
  .nx-logo-badge { display: none; }
}

/* Brillo neón en bucle — mismo lenguaje que el resto de NOXIGY */
@keyframes neonPulse {
  0%, 100% { text-shadow: 0 0 14px rgba(201, 243, 29, .35), 0 0 28px rgba(201, 243, 29, .15); }
  50%      { text-shadow: 0 0 24px rgba(201, 243, 29, .7),  0 0 46px rgba(201, 243, 29, .32); }
}
