/* ═══════════════════════════════════════════════════
   NEXORA — main.css
   Todas las variables se sobreescriben desde el
   Customizer vía nexora_customizer_css() en functions.php
═══════════════════════════════════════════════════ */

/* ─── CSS Variables (defaults) ─────────────────── */
:root {
  --nx-primary:    #5B5CFF;
  --nx-primary-h:  #4a4bef;
  --nx-primary-bg: #F0F0FF;
  --nx-ink:        #0F0F1A;
  --nx-medium:     #3D3D5C;
  --nx-muted:      #6B7280;
  --nx-xmuted:     #9CA3AF;
  --nx-bg-gray:    #F9FAFB;
  --nx-border:     #E5E7EB;
  --nx-border-light: #F3F4F6;
  --nx-green:      #10B981;
  --nx-orange:     #F59E0B;
  --nx-red:        #EF4444;
  --nx-white:      #FFFFFF;
  --nx-radius-sm:  8px;
  --nx-radius-md:  12px;
  --nx-radius-lg:  16px;
  --nx-radius-xl:  20px;
  --nx-shadow-sm:  0 1px 3px rgba(0,0,0,.08);
  --nx-shadow-md:  0 4px 16px rgba(0,0,0,.08);
  --nx-shadow-lg:  0 8px 32px rgba(0,0,0,.10);
  --nx-nav-h:      64px;
}

/* ─── Reset ─────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif; color: var(--nx-ink); background: var(--nx-white); font-size: 14px; line-height: 1.6; }
img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
button, input { font-family: inherit; }

/* ─── Container ─────────────────────────────────── */
.nx-container { max-width: 1200px; margin: 0 auto; padding: 0 40px; }
.nx-section   { padding: 60px 0; }

/* ─── Fade-up animation ─────────────────────────── */
.nx-fade-up { opacity: 0; transform: translateY(24px); transition: opacity .5s ease, transform .5s ease; }
.nx-fade-up.visible { opacity: 1; transform: translateY(0); }
.nx-delay-1 { transition-delay: .1s; }
.nx-delay-2 { transition-delay: .18s; }
.nx-delay-3 { transition-delay: .26s; }

/* ─── Buttons ────────────────────────────────────── */
.nx-btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 12px 22px; border-radius: var(--nx-radius-sm);
  font-size: 14px; font-weight: 600; cursor: pointer;
  border: 1.5px solid transparent; transition: background .2s, border-color .2s, color .2s;
  white-space: nowrap;
}
.nx-btn--primary  { background: var(--nx-primary); color: #fff; border-color: var(--nx-primary); }
.nx-btn--primary:hover { background: var(--nx-primary-h); border-color: var(--nx-primary-h); }
.nx-btn--outline  { background: #fff; color: var(--nx-ink); border-color: var(--nx-border); }
.nx-btn--outline:hover { border-color: var(--nx-primary); color: var(--nx-primary); }
.nx-btn--lg { padding: 14px 28px; font-size: 15px; font-weight: 700; }

/* ─── Section common ─────────────────────────────── */
.nx-section-header { display: flex; justify-content: space-between; align-items: flex-end; margin-bottom: 32px; }
.nx-section-header-center { text-align: center; max-width: 640px; margin: 0 auto 48px; }
.nx-section-title  { font-size: 28px; font-weight: 800; color: var(--nx-ink); letter-spacing: -.5px; }
.nx-section-subtitle { font-size: 14px; color: var(--nx-muted); margin-top: 8px; max-width: 480px; line-height: 1.7; }
.nx-section-header-center .nx-section-subtitle { max-width: 100%; }
.nx-section-link   { color: var(--nx-primary); font-size: 14px; font-weight: 600; white-space: nowrap; flex-shrink: 0; }
.nx-section-link:hover { text-decoration: underline; }

/* ─── Badge ──────────────────────────────────────── */
.nx-badge { display: inline-flex; align-items: center; gap: 6px; color: var(--nx-primary); font-size: 13px; font-weight: 600; margin-bottom: 20px; }
.nx-badge-dot { width: 6px; height: 6px; background: var(--nx-primary); border-radius: 50%; flex-shrink: 0; }

/* ══════════════════════════════════════════════════
   NAV
══════════════════════════════════════════════════ */
.nx-nav {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255,255,255,.95); backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--nx-border-light);
  height: var(--nx-nav-h);
}
/* Ensure dashboard mockup never overlaps nav */
.nx-hero-visual { z-index: 1; }
.nx-dashboard-card { position: relative; z-index: 1; }
.nx-nav-inner {
  max-width: 1200px; margin: 0 auto; padding: 0 40px;
  height: 100%; display: flex; align-items: center; gap: 32px;
}
.nx-nav.scrolled { box-shadow: var(--nx-shadow-sm); }
.nx-nav-logo { display: flex; align-items: center; gap: 8px; font-weight: 700; font-size: 16px; color: var(--nx-ink); flex-shrink: 0; }
.nx-nav-logo-mark { width: 32px; height: 32px; background: var(--nx-primary); border-radius: 8px; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.nx-nav-logo-img { height: 32px; width: auto; }
.nx-nav-name { font-weight: 700; font-size: 16px; }
.nx-nav-links { display: flex; gap: 32px; align-items: center; list-style: none; flex: 1; justify-content: flex-start; margin-left: 40px; }
.nx-nav-links li { position: relative; }
.nx-nav-links li a { color: var(--nx-medium); font-size: 14px; font-weight: 500; transition: color .2s; display: inline-flex; align-items: center; gap: 5px; }
.nx-nav-links li a:hover { color: var(--nx-primary); }

/* ── Desktop dropdowns (sub-menu) ── */
.nx-nav-links > li.menu-item-has-children > a::after {
  content: ''; width: 7px; height: 7px; flex-shrink: 0;
  border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor;
  transform: rotate(45deg) translateY(-2px); transition: transform .2s;
}
.nx-nav-links > li.menu-item-has-children:hover > a::after,
.nx-nav-links > li.menu-item-has-children:focus-within > a::after { transform: rotate(225deg) translateY(-1px); }
.nx-nav-links .sub-menu {
  position: absolute; top: 100%; left: -14px; min-width: 220px;
  background: #fff; border: 1px solid var(--nx-border-light, #F3F4F6);
  border-radius: var(--nx-radius-sm, 10px); box-shadow: 0 12px 32px rgba(20,20,50,.12);
  list-style: none; padding: 8px; margin: 0; z-index: 200;
  opacity: 0; visibility: hidden; transform: translateY(8px);
  transition: opacity .18s, transform .18s, visibility .18s;
}
.nx-nav-links li:hover > .sub-menu,
.nx-nav-links li:focus-within > .sub-menu { opacity: 1; visibility: visible; transform: translateY(0); }
/* Puente invisible para no perder el hover entre el link y el panel */
.nx-nav-links .sub-menu::before { content: ''; position: absolute; top: -12px; left: 0; right: 0; height: 12px; }
.nx-nav-links .sub-menu li { width: 100%; }
.nx-nav-links .sub-menu li a {
  display: block; padding: 9px 12px; border-radius: 7px; font-size: 13.5px; white-space: nowrap;
}
.nx-nav-links .sub-menu li a:hover { background: var(--nx-primary-bg, #F0F0FF); color: var(--nx-primary); }
/* Tercer nivel (por si depth lo permite en el futuro) */
.nx-nav-links .sub-menu .sub-menu { top: -8px; left: 100%; }
.nx-nav-cta { flex-shrink: 0; }
.nx-nav-hamburger { display: none; }

/* ══════════════════════════════════════════════════
   HERO
══════════════════════════════════════════════════ */
.nx-hero { padding: 80px 0 60px; }
.nx-hero-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center;
}
.nx-hero-title { font-size: 48px; font-weight: 800; line-height: 1.1; color: var(--nx-ink); margin-bottom: 20px; letter-spacing: -1.5px; }
.nx-hero-sub   { font-size: 16px; color: var(--nx-muted); line-height: 1.7; margin-bottom: 32px; max-width: 440px; }
.nx-hero-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 28px; }
.nx-hero-tags { display: flex; gap: 20px; flex-wrap: wrap; }
.nx-hero-tag { display: flex; align-items: center; gap: 6px; font-size: 13px; color: var(--nx-medium); font-weight: 500; }
.nx-hero-tag-check { color: var(--nx-primary); font-weight: 700; }

/* Dashboard Card */
.nx-hero-visual { position: relative; }
/* Mobile-only hero image — hidden on desktop */
.nx-hero-mobile-img { display: none; }
.nx-dashboard-card {
  background: var(--nx-white); border-radius: var(--nx-radius-xl);
  box-shadow: var(--nx-shadow-lg); border: 1px solid var(--nx-border-light); overflow: hidden;
}
.nx-db-header {
  display: flex; align-items: center; gap: 8px; padding: 12px 16px;
  border-bottom: 1px solid var(--nx-border-light);
}
.nx-db-logo-small { width: 22px; height: 22px; background: var(--nx-primary); border-radius: 5px; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.nx-db-logo-text  { font-size: 11px; font-weight: 800; color: var(--nx-ink); }
.nx-db-body { display: grid; grid-template-columns: 88px 1fr; }
.nx-db-sidebar { border-right: 1px solid var(--nx-border-light); padding: 8px 0; }
.nx-db-sidebar-item {
  display: flex; align-items: center; gap: 5px; padding: 5px 10px;
  font-size: 10px; color: var(--nx-muted); cursor: pointer;
}
.nx-db-sidebar-item.is-active { color: var(--nx-primary); background: var(--nx-primary-bg); font-weight: 600; }
.nx-db-sidebar-dot { width: 5px; height: 5px; border-radius: 50%; background: currentColor; opacity: .4; flex-shrink: 0; }
.nx-db-sidebar-item.is-active .nx-db-sidebar-dot { opacity: 1; }
.nx-db-main { padding: 12px 14px; }
.nx-db-section-label { font-size: 11px; font-weight: 700; color: var(--nx-ink); margin-bottom: 10px; }
.nx-db-metrics { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-bottom: 12px; }
.nx-db-metric { background: var(--nx-bg-gray); border-radius: 8px; padding: 10px; }
.nx-db-metric-label { font-size: 9px; color: var(--nx-muted); margin-bottom: 3px; }
.nx-db-metric-val   { font-size: 16px; font-weight: 800; color: var(--nx-ink); }
.nx-db-metric-chg   { font-size: 9px; color: var(--nx-green); font-weight: 600; margin-top: 2px; }
.nx-db-chart { height: 36px; margin-bottom: 12px; }
.nx-db-chart svg { width: 100%; height: 100%; }
.nx-db-row-title { font-size: 10px; font-weight: 700; color: var(--nx-ink); margin-bottom: 6px; display: flex; justify-content: space-between; }
.nx-db-row-title a { color: var(--nx-primary); font-weight: 500; font-size: 9px; }
.nx-db-row { display: flex; align-items: center; gap: 6px; padding: 4px 0; border-bottom: 1px solid var(--nx-border-light); font-size: 10px; }
.nx-db-row:last-child { border-bottom: none; }
.nx-db-row-icon { font-size: 11px; }
.nx-db-row-name { flex: 1; color: var(--nx-ink); font-weight: 500; }
.nx-db-footer { border-top: 1px solid var(--nx-border-light); padding: 10px 14px; }
.nx-db-deploy-row { display: flex; justify-content: space-between; align-items: center; padding: 4px 0; font-size: 10px; border-bottom: 1px solid var(--nx-border-light); }
.nx-db-deploy-row:last-child { border-bottom: none; }
.nx-db-deploy-status { font-size: 9px; font-weight: 700; }
.nx-db-deploy--live  { color: var(--nx-green); }
.nx-db-deploy--ready { color: var(--nx-primary); }
.nx-db-deploy-time   { color: var(--nx-xmuted); font-size: 9px; }

/* Badges */
.nx-db-badge { padding: 2px 5px; border-radius: 4px; font-size: 9px; font-weight: 600; }
.nx-db-badge--green  { background: #DCFCE7; color: #15803D; }
.nx-db-badge--blue   { background: #DBEAFE; color: #1D4ED8; }
.nx-db-badge--yellow { background: #FEF3C7; color: #92400E; }

/* Floating card */
.nx-hero-float {
  position: absolute; right: -28px; top: 24px; z-index: 3;
  background: var(--nx-white); border-radius: var(--nx-radius-md);
  box-shadow: var(--nx-shadow-md); border: 1px solid var(--nx-border-light);
  padding: 12px 16px; min-width: 175px;
}
.nx-hero-float-title { font-size: 10px; font-weight: 700; color: var(--nx-ink); margin-bottom: 8px; }
.nx-hero-float-row   { display: flex; justify-content: space-between; align-items: center; padding: 3px 0; font-size: 10px; color: var(--nx-medium); }

/* ══════════════════════════════════════════════════
   TRUSTED BY
══════════════════════════════════════════════════ */
.nx-trusted-wrap { border-top: 1px solid var(--nx-border-light); border-bottom: 1px solid var(--nx-border-light); }
.nx-trusted-inner { display: flex; align-items: center; gap: 40px; padding: 22px 0; overflow-x: auto; scrollbar-width: none; }
.nx-trusted-inner::-webkit-scrollbar { display: none; }
.nx-trusted-label { font-size: 11px; text-transform: uppercase; letter-spacing: .08em; color: var(--nx-xmuted); font-weight: 600; white-space: nowrap; }
.nx-trusted-logos { display: flex; gap: 36px; align-items: center; flex-wrap: wrap; }
.nx-trusted-logo  { font-size: 13px; font-weight: 700; color: var(--nx-muted); opacity: .7; white-space: nowrap; }

/* ══════════════════════════════════════════════════
   STATS
══════════════════════════════════════════════════ */
.nx-stats-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 20px; }
.nx-stat-card  { background: var(--nx-bg-gray); border-radius: var(--nx-radius-md); padding: 24px; border: 1px solid var(--nx-border-light); }
.nx-stat-icon  { width: 40px; height: 40px; background: var(--nx-primary-bg); border-radius: 10px; display: flex; align-items: center; justify-content: center; margin-bottom: 12px; }
.nx-stat-icon svg { width: 20px; height: 20px; stroke: var(--nx-primary); }
.nx-stat-val      { font-size: 30px; font-weight: 800; color: var(--nx-ink); letter-spacing: -1px; }
.nx-stat-label    { font-size: 13px; color: var(--nx-medium); margin-top: 4px; font-weight: 600; }
.nx-stat-sublabel { font-size: 12px; color: var(--nx-xmuted); margin-top: 2px; }

/* ══════════════════════════════════════════════════
   SERVICES
══════════════════════════════════════════════════ */
.nx-services-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 16px; }
.nx-service-card {
  background: var(--nx-white); border: 1.5px solid var(--nx-border-light); border-radius: var(--nx-radius-md);
  padding: 22px; display: flex; gap: 14px; align-items: flex-start;
  transition: box-shadow .2s, border-color .2s; position: relative; cursor: pointer;
}
.nx-service-card:hover { box-shadow: var(--nx-shadow-md); border-color: var(--nx-primary); }
.nx-service-icon { width: 42px; height: 42px; background: var(--nx-primary-bg); border-radius: 10px; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.nx-service-icon svg { width: 20px; height: 20px; stroke: var(--nx-primary); }
.nx-service-body { flex: 1; }
.nx-service-name { font-size: 14px; font-weight: 700; color: var(--nx-ink); margin-bottom: 4px; }
.nx-service-desc { font-size: 12px; color: var(--nx-muted); line-height: 1.5; }
.nx-service-arrow { position: absolute; bottom: 18px; right: 18px; color: var(--nx-primary); font-size: 14px; opacity: 0; transition: opacity .2s; }
.nx-service-card:hover .nx-service-arrow { opacity: 1; }
.nx-services-section--alt {
  background: var(--nx-bg-alt, #f8f9fb);
  border-top: 1px solid var(--nx-border-light, #e5e7eb);
  border-bottom: 1px solid var(--nx-border-light, #e5e7eb);
}

/* ══════════════════════════════════════════════════
   PRODUCTS
══════════════════════════════════════════════════ */
.nx-products-scroll { display: flex; gap: 20px; overflow-x: auto; padding-bottom: 8px; scrollbar-width: none; }
.nx-products-scroll::-webkit-scrollbar { display: none; }
.nx-product-card { background: var(--nx-white); border: 1.5px solid var(--nx-border-light); border-radius: var(--nx-radius-md); overflow: hidden; min-width: 218px; flex-shrink: 0; transition: box-shadow .2s; }
.nx-product-card:hover { box-shadow: var(--nx-shadow-md); }
.nx-product-img-placeholder { width: 100%; height: 118px; }
.nx-prod-bg--dark1 { background: linear-gradient(135deg,#1a1a2e,#16213e); }
.nx-prod-bg--light1 { background: linear-gradient(135deg,var(--nx-primary-bg),#e0e0ff); }
.nx-prod-bg--light2 { background: linear-gradient(135deg,#e8e8ff,#f0f0ff); }
.nx-prod-bg--warm   { background: linear-gradient(135deg,#fff5e8,#fff0d6); }
.nx-prod-bg--dark2  { background: linear-gradient(135deg,#1a1a2e,#2d1b69); }
.nx-product-body    { padding: 14px; }
.nx-product-badge   { font-size: 10px; font-weight: 700; color: var(--nx-primary); margin-bottom: 5px; }
.nx-product-name    { font-size: 14px; font-weight: 700; color: var(--nx-ink); margin-bottom: 4px; }
.nx-product-desc    { font-size: 11px; color: var(--nx-muted); margin-bottom: 12px; line-height: 1.5; }
.nx-product-footer  { display: flex; justify-content: space-between; align-items: center; margin-bottom: 10px; }
.nx-product-rating  { font-size: 11px; color: var(--nx-medium); font-weight: 600; }
.nx-product-rating::first-letter { color: var(--nx-orange); }
.nx-product-price   { font-size: 15px; font-weight: 800; color: var(--nx-ink); }
.nx-product-btn { display: block; width: 100%; padding: 8px; border: 1.5px solid var(--nx-border); border-radius: 6px; background: var(--nx-white); font-size: 12px; font-weight: 600; color: var(--nx-ink); text-align: center; cursor: pointer; transition: border-color .2s, color .2s; }
.nx-product-btn:hover { border-color: var(--nx-primary); color: var(--nx-primary); }

/* ══════════════════════════════════════════════════
   HERRAMIENTAS (duplicado de PRODUCTS)
══════════════════════════════════════════════════ */
.nx-tools-scroll { display: flex; gap: 20px; overflow-x: auto; padding-bottom: 8px; scrollbar-width: none; }
.nx-tools-scroll::-webkit-scrollbar { display: none; }
.nx-tool-card { background: var(--nx-white); border: 1.5px solid var(--nx-border-light); border-radius: var(--nx-radius-md); overflow: hidden; min-width: 218px; flex-shrink: 0; transition: box-shadow .2s; }
.nx-tool-card:hover { box-shadow: var(--nx-shadow-md); }
.nx-tool-img-placeholder { width: 100%; height: 118px; object-fit: cover; display: block; }
.nx-tool-bg--dark1 { background: linear-gradient(135deg,#1a1a2e,#16213e); }
.nx-tool-bg--light1 { background: linear-gradient(135deg,var(--nx-primary-bg),#e0e0ff); }
.nx-tool-bg--light2 { background: linear-gradient(135deg,#e8e8ff,#f0f0ff); }
.nx-tool-bg--warm   { background: linear-gradient(135deg,#fff5e8,#fff0d6); }
.nx-tool-bg--dark2  { background: linear-gradient(135deg,#1a1a2e,#2d1b69); }
.nx-tool-body    { padding: 14px; }
.nx-tool-badge   { font-size: 10px; font-weight: 700; color: var(--nx-primary); margin-bottom: 5px; }
.nx-tool-name    { font-size: 14px; font-weight: 700; color: var(--nx-ink); margin-bottom: 4px; }
.nx-tool-desc    { font-size: 11px; color: var(--nx-muted); margin-bottom: 12px; line-height: 1.5; }
.nx-tool-footer  { display: flex; justify-content: space-between; align-items: center; margin-bottom: 10px; }
.nx-tool-rating  { font-size: 11px; color: var(--nx-medium); font-weight: 600; }
.nx-tool-rating::first-letter { color: var(--nx-orange); }
.nx-tool-price   { font-size: 15px; font-weight: 800; color: var(--nx-ink); }
.nx-tool-btn { display: block; width: 100%; padding: 8px; border: 1.5px solid var(--nx-border); border-radius: 6px; background: var(--nx-white); font-size: 12px; font-weight: 600; color: var(--nx-ink); text-align: center; cursor: pointer; transition: border-color .2s, color .2s; }
.nx-tool-btn:hover { border-color: var(--nx-primary); color: var(--nx-primary); }

/* ══════════════════════════════════════════════════
   PROCESS
══════════════════════════════════════════════════ */
.nx-process-grid { display: grid; grid-template-columns: repeat(6,1fr); gap: 16px; }
.nx-process-step { text-align: center; }
.nx-process-num  { width: 36px; height: 36px; border-radius: 50%; border: 2px solid var(--nx-border); background: var(--nx-primary-bg); display: flex; align-items: center; justify-content: center; font-size: 13px; font-weight: 700; color: var(--nx-primary); margin: 0 auto 10px; }
.nx-process-icon { width: 32px; height: 32px; margin: 0 auto 8px; }
.nx-process-icon svg { width: 32px; height: 32px; stroke: var(--nx-primary); }
.nx-process-name { font-size: 13px; font-weight: 700; color: var(--nx-ink); margin-bottom: 6px; }
.nx-process-desc { font-size: 11px; color: var(--nx-muted); line-height: 1.5; }
.nx-process-list { display: none; flex-direction: column; gap: 0; }
.nx-process-list-item { display: flex; gap: 14px; padding: 18px 0; border-bottom: 1px solid var(--nx-border-light); }
.nx-process-list-item:last-child { border-bottom: none; }
.nx-process-list-num  { width: 34px; height: 34px; border-radius: 50%; background: var(--nx-primary-bg); display: flex; align-items: center; justify-content: center; font-size: 12px; font-weight: 700; color: var(--nx-primary); flex-shrink: 0; }
.nx-process-list-icon { width: 34px; height: 34px; background: var(--nx-primary-bg); border-radius: 8px; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.nx-process-list-icon svg { width: 16px; height: 16px; stroke: var(--nx-primary); }
.nx-process-list-body { flex: 1; }

/* ══════════════════════════════════════════════════
   CASE STUDIES
══════════════════════════════════════════════════ */
.nx-cases-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 20px; }
.nx-case-card  { background: var(--nx-white); border: 1.5px solid var(--nx-border-light); border-radius: var(--nx-radius-md); overflow: hidden; transition: box-shadow .2s; }
.nx-case-card:hover { box-shadow: var(--nx-shadow-md); }
.nx-case-img   { width: 100%; height: 140px; object-fit: cover; }
.nx-case-img-placeholder { width: 100%; height: 140px; }
.nx-case-img--1 { background: linear-gradient(135deg,#f0f0ff,#e0e0ff); }
.nx-case-img--2 { background: linear-gradient(135deg,#f5f0ff,#ede0ff); }
.nx-case-img--3 { background: linear-gradient(135deg,#1a1a2e,#16213e); }
.nx-case-img--4 { background: linear-gradient(135deg,#1a2e2a,#0f2020); }
.nx-case-body  { padding: 16px; }
.nx-case-badge { font-size: 10px; font-weight: 700; color: var(--nx-primary); margin-bottom: 5px; }
.nx-case-name  { font-size: 14px; font-weight: 700; color: var(--nx-ink); margin-bottom: 5px; }
.nx-case-desc  { font-size: 11px; color: var(--nx-muted); margin-bottom: 12px; line-height: 1.5; }
.nx-case-link  { color: var(--nx-primary); font-size: 12px; font-weight: 600; display: flex; align-items: center; gap: 4px; }
.nx-case-link:hover { text-decoration: underline; }

/* ══════════════════════════════════════════════════
   TESTIMONIALS
══════════════════════════════════════════════════ */
.nx-testimonials-layout { display: grid; grid-template-columns: 260px 1fr; gap: 60px; align-items: start; }
.nx-testi-label { font-size: 11px; text-transform: uppercase; letter-spacing: .1em; color: var(--nx-primary); font-weight: 700; margin-bottom: 12px; }
.nx-testi-title { font-size: 26px; font-weight: 800; color: var(--nx-ink); line-height: 1.2; letter-spacing: -.5px; margin-bottom: 12px; }
.nx-testi-sub   { font-size: 13px; color: var(--nx-muted); }
.nx-testimonials-right { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.nx-testi-card  { background: var(--nx-bg-gray); border-radius: var(--nx-radius-md); padding: 20px; }
.nx-testi-author { display: flex; align-items: center; gap: 10px; margin-bottom: 12px; }
.nx-testi-avatar { width: 36px; height: 36px; border-radius: 50%; background: var(--nx-primary-bg); display: flex; align-items: center; justify-content: center; font-size: 12px; font-weight: 700; color: var(--nx-primary); flex-shrink: 0; }
.nx-testi-avatar-img { width: 36px; height: 36px; border-radius: 50%; object-fit: cover; flex-shrink: 0; }
.nx-testi-name  { font-size: 13px; font-weight: 700; color: var(--nx-ink); }
.nx-testi-role  { font-size: 11px; color: var(--nx-muted); }
.nx-testi-text  { font-size: 13px; color: var(--nx-medium); line-height: 1.6; font-style: italic; }
.nx-testi-text::before { content: '"'; }
.nx-testi-text::after  { content: '"'; }

/* ══════════════════════════════════════════════════
   CTA
══════════════════════════════════════════════════ */
.nx-cta-box {
  background: linear-gradient(135deg,#f0f0ff,#e8e8ff);
  border-radius: var(--nx-radius-xl); padding: 64px 40px;
  text-align: center; border: 1px solid rgba(91,92,255,.15);
}
.nx-cta-icon   { width: 48px; height: 48px; background: var(--nx-primary-bg); border-radius: 12px; display: flex; align-items: center; justify-content: center; margin: 0 auto 20px; }
.nx-cta-icon svg { width: 24px; height: 24px; stroke: var(--nx-primary); }
.nx-cta-title  { font-size: 34px; font-weight: 800; color: var(--nx-ink); letter-spacing: -.5px; margin-bottom: 12px; max-width: 520px; margin-left: auto; margin-right: auto; line-height: 1.2; }
.nx-cta-sub    { font-size: 15px; color: var(--nx-muted); margin-bottom: 28px; }

/* ══════════════════════════════════════════════════
   FOOTER
══════════════════════════════════════════════════ */
.nx-footer { background: var(--nx-white); border-top: 1px solid var(--nx-border-light); padding: 60px 0 32px; }
.nx-footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr 1.4fr; gap: 40px; margin-bottom: 48px; }
.nx-footer-logo { display: flex; align-items: center; gap: 8px; font-weight: 700; font-size: 16px; margin-bottom: 12px; }
.nx-footer-logo img { height: 28px; width: auto; }
.nx-footer-logo-mark { width: 26px; height: 26px; background: var(--nx-primary); border-radius: 6px; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.nx-footer-desc { font-size: 13px; color: var(--nx-muted); line-height: 1.7; max-width: 220px; margin-bottom: 20px; }
.nx-footer-socials { display: flex; gap: 10px; }
.nx-social-btn { width: 32px; height: 32px; border-radius: 8px; border: 1px solid var(--nx-border); display: flex; align-items: center; justify-content: center; color: var(--nx-muted); transition: border-color .2s, color .2s; }
.nx-social-btn svg { width: 14px; height: 14px; }
.nx-social-btn:hover { border-color: var(--nx-primary); color: var(--nx-primary); }
.nx-footer-col-title { font-size: 13px; font-weight: 700; color: var(--nx-ink); margin-bottom: 16px; }
.nx-footer-links { display: flex; flex-direction: column; gap: 10px; }
.nx-footer-links li a { font-size: 13px; color: var(--nx-muted); transition: color .2s; }
.nx-footer-links li a:hover { color: var(--nx-primary); }
/* Newsletter */
.nx-footer-nl-desc  { font-size: 13px; color: var(--nx-muted); margin-bottom: 10px; }
.nx-footer-nl-form  { display: flex; border: 1.5px solid var(--nx-border); border-radius: 8px; overflow: hidden; }
.nx-footer-nl-input { flex: 1; padding: 9px 12px; border: none; outline: none; font-size: 13px; font-family: inherit; color: var(--nx-ink); }
.nx-footer-nl-btn   { background: none; border: none; cursor: pointer; padding: 9px 12px; color: var(--nx-primary); display: flex; align-items: center; }
.nx-footer-nl-btn svg { width: 16px; height: 16px; }
/* Bottom bar */
.nx-footer-bottom { border-top: 1px solid var(--nx-border-light); padding-top: 24px; display: flex; justify-content: space-between; align-items: center; }
.nx-footer-copy   { font-size: 12px; color: var(--nx-xmuted); }
.nx-footer-legal  { display: flex; gap: 20px; }
.nx-footer-legal a { font-size: 12px; color: var(--nx-xmuted); }
.nx-footer-legal a:hover { color: var(--nx-primary); }

/* ══════════════════════════════════════════════════
   MOBILE RESPONSIVE
══════════════════════════════════════════════════ */
@media (max-width: 1024px) {
  .nx-stats-grid   { grid-template-columns: repeat(2,1fr); }
  .nx-cases-grid   { grid-template-columns: repeat(2,1fr); }
  .nx-process-grid { grid-template-columns: repeat(3,1fr); }
  .nx-testimonials-right { grid-template-columns: 1fr 1fr; }
  .nx-footer-grid  { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  .nx-container { padding: 0 20px; }
  .nx-section   { padding: 40px 0; }

  /* ── NAV: fijo al tope en mobile ── */
  .nx-nav {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    width: 100% !important;
    z-index: 9999 !important;
  }
  /* Empuja el contenido para que no quede tapado por el header fijo */
  body,
  body.has-sticky-nav {
    padding-top: var(--nx-nav-h) !important;
  }
  .nx-nav-inner {
    padding: 0 20px !important;
    gap: 0 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
  }
  /* Logo queda a la izquierda, hamburguesa a la derecha */
  .nx-nav-logo { flex: 1; }
  .nx-nav-links { display: none !important; }
  .nx-nav-cta { display: none !important; }
  .nx-nav-hamburger { display: flex !important; margin-left: auto; }

  /* ── HERO ── */
  .nx-hero { padding: 32px 0 40px; }
  .nx-hero-grid { grid-template-columns: 1fr; gap: 24px; }
  /* Dashboard mockup: por defecto aparece debajo del texto */
  .nx-hero-visual { order: 2 !important; }
  .nx-hero-left   { order: 1 !important; }
  /* Imagen customizada: posición configurable */
  .nx-hero-mobile-img--above { order: 0 !important; }
  .nx-hero-mobile-img--below { order: 3 !important; }
  .nx-hero-float  { display: none; }
  .nx-hero-title  { font-size: 30px; }
  .nx-hero-sub    { font-size: 14px; }

  /* Dashboard mockup: ocultar si hay imagen personalizada */
  .has-hero-img .nx-hero-visual { display: none; }

  /* ── IMAGEN HERO MOBILE ── */
  .nx-hero-mobile-img {
    display: block !important;
    width: 100%;
    order: 2;
  }
  .nx-hero-mobile-img img {
    width: 100%;
    height: auto;
    border-radius: 12px;
    display: block;
    object-fit: cover;
    box-shadow: 0 8px 32px rgba(0,0,0,.10);
  }

  /* ── TRUSTED BY ── */
  .nx-trusted-inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
    padding: 16px 0;
    overflow-x: visible;
  }
  .nx-trusted-logos {
    display: flex;
    flex-wrap: wrap;
    gap: 10px 18px;
  }
  .nx-trusted-label { font-size: 10px; white-space: nowrap; }
  .nx-trusted-logo  { font-size: 12px; }

  /* ── STATS ── */
  .nx-stats-grid { grid-template-columns: 1fr 1fr; gap: 12px; }
  .nx-stat-val   { font-size: 24px; }

  /* ── SECTION HEADER ── */
  .nx-section-header { flex-direction: column; align-items: flex-start; gap: 8px; }

  /* ── SERVICES ── */
  .nx-services-grid { grid-template-columns: 1fr; }

  /* ── PROCESS ── */
  .nx-process-grid { display: none; }
  .nx-process-list { display: flex; }

  /* ── CASES ── */
  .nx-cases-grid { grid-template-columns: 1fr; }

  /* ── TESTIMONIALS ── */
  .nx-testimonials-layout { grid-template-columns: 1fr; gap: 28px; }
  .nx-testimonials-right  { grid-template-columns: 1fr; }

  /* ── CTA ── */
  .nx-cta-box   { padding: 40px 24px; }
  .nx-cta-title { font-size: 24px; }

  /* ── FOOTER ── */
  .nx-footer-grid   { grid-template-columns: 1fr; gap: 28px; }
  .nx-footer-bottom { flex-direction: column; gap: 12px; text-align: center; }
  .nx-footer-desc   { max-width: 100%; }
}

/* ─── WP Admin bar adjust ──────────────────────── */
.admin-bar .nx-nav { top: 32px; }
@media (max-width: 782px) {
  .admin-bar .nx-nav { top: 46px; }
  .admin-bar body { padding-top: calc(var(--nx-nav-h) + 46px); }
}

/* ─── WP Core Classes ────────────────────────────── */
.screen-reader-text { clip: rect(1px,1px,1px,1px); height: 1px; overflow: hidden; position: absolute; width: 1px; }
.aligncenter { display: block; margin: 0 auto; }
.alignleft   { float: left; margin-right: 20px; }
.alignright  { float: right; margin-left: 20px; }

/* ─── Pagination ─────────────────────────────────── */
.nx-pagination { display: flex; gap: 8px; justify-content: center; padding: 32px 0; }
.nx-page-item a, .nx-page-item span { display: flex; align-items: center; justify-content: center; width: 36px; height: 36px; border-radius: 8px; border: 1.5px solid var(--nx-border); font-size: 13px; font-weight: 600; color: var(--nx-medium); transition: border-color .2s, color .2s; }
.nx-page-item .current, .nx-page-item a:hover { border-color: var(--nx-primary); color: var(--nx-primary); }

/* ══════════════════════════════════════════════════
   HOME LAYOUT V2
══════════════════════════════════════════════════ */

/* ─── Variables / Container ─────────────────────── */
.v2-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 28px;
}

/* ─── HERO V2 ────────────────────────────────────── */
.v2-hero {
  padding: 80px 0 60px;
  background: #fff;
}
.v2-hero-availability {
  display: flex;
  align-items: center;
  margin-bottom: 28px;
}
.v2-avail-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--nx-medium, #3D3D5C);
  background: #fff;
  border: 1px solid var(--nx-border, #E5E7EB);
  border-radius: 999px;
  padding: 7px 16px;
  box-shadow: 0 1px 3px rgba(0,0,0,.06);
}
.v2-avail-dot {
  width: 8px; height: 8px;
  background: #22C55E;
  border-radius: 50%;
  flex-shrink: 0;
  box-shadow: 0 0 0 3px rgba(34,197,94,.2);
}
.v2-avail-sep { color: var(--nx-muted, #9CA3AF); }
.v2-avail-slots {
  color: var(--nx-primary, #5B5CFF);
  font-weight: 600;
  text-decoration: none;
}
.v2-hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}
.v2-hero-title {
  font-size: clamp(32px, 4.8vw, 56px);
  font-weight: 800;
  line-height: 1.08;
  color: var(--nx-ink, #0F0F1A);
  letter-spacing: -1.8px;
  margin: 0 0 20px;
}
.v2-hero-title span {
  background: linear-gradient(100deg, #5B5CFF 0%, #7C3AED 45%, #EC4899 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: #7C3AED; /* fallback navegadores viejos */
}
.v2-hero-sub {
  font-size: 16px;
  color: var(--nx-muted, #6B7280);
  line-height: 1.7;
  margin: 0 0 28px;
  max-width: 480px;
}
.v2-hero-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 24px;
}
.v2-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 22px;
  border-radius: 10px;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  transition: all .2s;
  cursor: pointer;
}
.v2-btn--primary {
  background: linear-gradient(120deg, #5B5CFF 0%, #7C3AED 55%, #EC4899 100%);
  color: #fff;
  border: none;
  box-shadow: 0 4px 14px rgba(124,58,237,.35);
}
.v2-btn--primary:hover { filter: brightness(1.06); box-shadow: 0 6px 20px rgba(124,58,237,.45); }
.v2-btn--ghost {
  background: #fff;
  color: var(--nx-ink, #0F0F1A);
  border: 1.5px solid var(--nx-border, #E5E7EB);
}
.v2-btn--ghost:hover { border-color: var(--nx-primary, #5B5CFF); color: var(--nx-primary, #5B5CFF); }
.v2-btn--primary-sm {
  background: linear-gradient(135deg, #5B5CFF 0%, #7C3AED 100%);
  color: #fff;
  border: none;
  padding: 11px 22px;
  font-size: 13px;
  border-radius: 9px;
  box-shadow: 0 4px 14px rgba(91,92,255,.3);
}
.v2-btn--primary-sm:hover { filter: brightness(1.06); }
.v2-hero-tags {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}
.v2-hero-tag {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 12px;
  font-weight: 600;
  color: var(--nx-medium, #3D3D5C);
}
.v2-hero-right {
  position: relative;
}

/* ─── TRUSTED V2 ─────────────────────────────────── */
.v2-trusted {
  border-top: 1px solid var(--nx-border, #E5E7EB);
  border-bottom: 1px solid var(--nx-border, #E5E7EB);
  padding: 20px 0;
  background: #fff;
}
.v2-trusted-label {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .12em;
  color: var(--nx-muted, #9CA3AF);
  text-align: center;
  margin: 0 0 14px;
}
.v2-trusted-logos {
  display: flex;
  justify-content: center;
  gap: 32px;
  flex-wrap: wrap;
}
.v2-trusted-logo {
  font-size: 14px;
  font-weight: 700;
  color: var(--nx-medium, #3D3D5C);
  opacity: .6;
}

/* ─── STATS V2 ───────────────────────────────────── */
.v2-stats {
  padding: 60px 0;
  background: #fff;
}
.v2-stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.v2-stat-card {
  background: var(--nx-bg-gray, #F9FAFB);
  border: 1px solid var(--nx-border, #E5E7EB);
  border-radius: 16px;
  padding: 24px 20px;
}
/* Gradientes sutiles de fondo por tarjeta (esquina sup-izq con tinte) */
.v2-stat-card--1 { background: linear-gradient(145deg, #F1EEFF 0%, #FBFAFF 55%, #FFFFFF 100%); border-color: #ECE7FB; }
.v2-stat-card--2 { background: linear-gradient(145deg, #FFEDF5 0%, #FFF7FB 55%, #FFFFFF 100%); border-color: #FBE2EE; }
.v2-stat-card--3 { background: linear-gradient(145deg, #E9F1FF 0%, #F6FAFF 55%, #FFFFFF 100%); border-color: #E0EAFB; }
.v2-stat-card--4 { background: linear-gradient(145deg, #E8FBF0 0%, #F5FFF9 55%, #FFFFFF 100%); border-color: #DCF4E6; }
.v2-stat-icon {
  width: 44px; height: 44px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
  color: #fff;
}
.v2-stat-icon svg { width: 22px; height: 22px; stroke: #fff; }
/* Fondo sólido/gradiente saturado por icono */
.v2-stat-icon--1 { background: linear-gradient(135deg, #7C3AED 0%, #6D28D9 100%); box-shadow: 0 4px 12px rgba(124,58,237,.30); }
.v2-stat-icon--2 { background: linear-gradient(135deg, #F43F8E 0%, #EC4899 100%); box-shadow: 0 4px 12px rgba(236,72,153,.30); }
.v2-stat-icon--3 { background: linear-gradient(135deg, #3B82F6 0%, #2563EB 100%); box-shadow: 0 4px 12px rgba(59,130,246,.30); }
.v2-stat-icon--4 { background: linear-gradient(135deg, #22C55E 0%, #16A34A 100%); box-shadow: 0 4px 12px rgba(34,197,94,.30); }
.v2-stat-val {
  font-size: 30px;
  font-weight: 800;
  color: var(--nx-ink, #0F0F1A);
  line-height: 1;
  margin-bottom: 6px;
}
.v2-stat-label {
  font-size: 13px;
  font-weight: 700;
  color: var(--nx-medium, #3D3D5C);
  margin-bottom: 4px;
}
.v2-stat-sub {
  font-size: 11px;
  color: var(--nx-muted, #9CA3AF);
  line-height: 1.4;
}

/* ─── APP TYPES V2 — "¿Qué Tipo de App?" ───────── */
.v2-apptypes {
  padding: 56px 0;
  background: #fff;
}
.v2-apptypes-layout {
  display: grid;
  grid-template-columns: 300px 1fr;
  gap: 48px;
  align-items: start;
}
.v2-apptypes-left { padding-top: 6px; }
.v2-apptypes-title {
  font-size: clamp(22px, 3vw, 30px);
  font-weight: 800;
  color: var(--nx-ink, #0F0F1A);
  line-height: 1.2;
  letter-spacing: -.5px;
  margin: 0 0 18px;
}
.v2-apptypes-title span { color: var(--nx-primary, #5B5CFF); }
.v2-apptypes-p {
  font-size: 13px;
  color: var(--nx-muted, #6B7280);
  line-height: 1.7;
  margin: 0 0 16px;
}
.v2-apptypes-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 600;
  color: var(--nx-primary, #5B5CFF);
  text-decoration: none;
  margin-top: 4px;
}
.v2-apptypes-link:hover { text-decoration: underline; }
.v2-apptypes-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.v2-apptype-card {
  display: flex;
  gap: 14px;
  padding: 18px;
  background: #fff;
  border: 1px solid var(--nx-border-light, #F3F4F6);
  border-radius: 14px;
  box-shadow: 0 1px 3px rgba(0,0,0,.04);
  transition: box-shadow .2s, border-color .2s, transform .2s;
}
.v2-apptype-card--1 { background: linear-gradient(150deg, #F4F0FF 0%, #FBFAFF 50%, #FFFFFF 100%); }
.v2-apptype-card--2 { background: linear-gradient(150deg, #EEF4FF 0%, #F8FBFF 50%, #FFFFFF 100%); }
.v2-apptype-card--3 { background: linear-gradient(150deg, #FFEFF6 0%, #FFF8FB 50%, #FFFFFF 100%); }
.v2-apptype-card--4 { background: linear-gradient(150deg, #FFF6E9 0%, #FFFBF4 50%, #FFFFFF 100%); }
.v2-apptype-card--5 { background: linear-gradient(150deg, #EAFBF2 0%, #F6FFFA 50%, #FFFFFF 100%); }
.v2-apptype-card--6 { background: linear-gradient(150deg, #EAF6FF 0%, #F6FBFF 50%, #FFFFFF 100%); }
.v2-apptype-card:hover {
  box-shadow: 0 8px 24px rgba(0,0,0,.08);
  border-color: var(--nx-border, #E5E7EB);
  transform: translateY(-2px);
}
.v2-apptype-icon {
  width: 40px; height: 40px;
  flex-shrink: 0;
  border-radius: 11px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.v2-apptype-icon svg { width: 20px; height: 20px; }
.v2-apptype-body { flex: 1; min-width: 0; }
.v2-apptype-name {
  font-size: 13px;
  font-weight: 700;
  color: var(--nx-ink, #0F0F1A);
  line-height: 1.3;
  margin-bottom: 6px;
}
.v2-apptype-desc {
  font-size: 11.5px;
  color: var(--nx-muted, #6B7280);
  line-height: 1.5;
}

/* ─── SERVICES V2 ────────────────────────────────── */
.v2-services {
  padding: 72px 0;
  background: #fff;
}
.v2-services-layout {
  display: grid;
  grid-template-columns: 340px 1fr;
  gap: 60px;
  align-items: start;
}
.v2-svc-title {
  font-size: clamp(22px, 3vw, 32px);
  font-weight: 800;
  color: var(--nx-ink, #0F0F1A);
  line-height: 1.2;
  letter-spacing: -.5px;
  margin: 0 0 14px;
}
.v2-svc-sub {
  font-size: 14px;
  color: var(--nx-muted, #6B7280);
  line-height: 1.7;
  margin: 0 0 20px;
}
.v2-svc-link {
  font-size: 13px;
  font-weight: 600;
  color: var(--nx-primary, #5B5CFF);
  text-decoration: none;
}
.v2-svc-link:hover { text-decoration: underline; }
.v2-svc-row {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 16px;
  border: 1.5px solid var(--nx-border, #E5E7EB);
  border-radius: 12px;
  text-decoration: none;
  transition: border-color .2s, box-shadow .2s;
  margin-bottom: 10px;
  background: #fff;
  position: relative;
}
.v2-svc-row:last-child { margin-bottom: 0; }
.v2-svc-row:hover { border-color: var(--nx-primary, #5B5CFF); box-shadow: 0 4px 16px rgba(91,92,255,.1); }
.v2-svc-row-icon {
  width: 40px; height: 40px;
  flex-shrink: 0;
  background: var(--nx-primary-bg, #F0F0FF);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.v2-svc-row-icon svg { width: 18px; height: 18px; stroke: var(--nx-primary, #5B5CFF); }
.v2-svc-row-body { flex: 1; }
.v2-svc-row-name {
  font-size: 13px;
  font-weight: 700;
  color: var(--nx-ink, #0F0F1A);
  margin-bottom: 2px;
}
.v2-svc-row-desc {
  font-size: 12px;
  color: var(--nx-muted, #6B7280);
  line-height: 1.4;
}
.v2-svc-row-arrow {
  font-size: 14px;
  color: var(--nx-primary, #5B5CFF);
  opacity: 0;
  transition: opacity .2s;
}
.v2-svc-row:hover .v2-svc-row-arrow { opacity: 1; }

/* ─── SERVICES 2 V2 — "Más Servicios" caja morada ─── */
.v2-services2-wrap {
  padding: 8px 0 24px;
  background: #fff;
}
.v2-services2 {
  background: linear-gradient(120deg, #3D2C8D 0%, #4F3BC4 45%, #5B3FD6 100%);
  border-radius: 18px;
  padding: 32px 40px;
}
.v2-services2-layout {
  display: flex;
  align-items: center;
  gap: 32px;
  flex-wrap: wrap;
}
.v2-services2-left { flex-shrink: 0; max-width: 220px; }
.v2-services2-title {
  font-size: 20px;
  font-weight: 800;
  color: #fff;
  margin: 0 0 6px;
}
.v2-services2-sub {
  font-size: 12.5px;
  color: rgba(255,255,255,.7);
  line-height: 1.5;
  margin: 0;
}
.v2-services2-icons {
  display: flex;
  gap: 18px;
  flex-wrap: nowrap;
  flex: 1;
  justify-content: space-between;
}
.v2-services2-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  text-align: center;
  min-width: 84px;
}
.v2-services2-icon {
  width: 46px; height: 46px;
  background: rgba(255,255,255,.10);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255,255,255,.18);
}
.v2-services2-icon svg { width: 20px; height: 20px; stroke: #fff; }
.v2-services2-name {
  font-size: 11.5px;
  font-weight: 600;
  color: rgba(255,255,255,.92);
  line-height: 1.3;
}

/* ─── PRODUCTS V2 ────────────────────────────────── */
.v2-products {
  padding: 64px 0;
  background: var(--nx-bg-gray, #F9FAFB);
}
.v2-products-layout {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 40px;
  align-items: start;
}
.v2-products-left { padding-top: 8px; }
.v2-products-main { position: relative; min-width: 0; }
.v2-products-toplink {
  display: flex;
  justify-content: flex-end;
  margin-bottom: 14px;
}
.v2-products-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  font-weight: 600;
  color: var(--nx-medium, #3D3D5C);
  background: #fff;
  border: 1px solid var(--nx-border, #E5E7EB);
  border-radius: 999px;
  padding: 6px 14px;
  text-decoration: none;
  box-shadow: 0 1px 3px rgba(0,0,0,.05);
}
.v2-products-pill:hover { border-color: var(--nx-primary, #5B5CFF); color: var(--nx-primary, #5B5CFF); }
.v2-products-pill svg { stroke: currentColor; }
.v2-section-title {
  font-size: clamp(22px, 3vw, 30px);
  font-weight: 800;
  color: var(--nx-ink, #0F0F1A);
  letter-spacing: -.5px;
  margin: 0 0 8px;
}
.v2-section-sub {
  font-size: 14px;
  color: var(--nx-muted, #6B7280);
  line-height: 1.6;
  margin: 0 0 10px;
}
.v2-products-scroll {
  display: flex;
  gap: 20px;
  overflow-x: auto;
  padding-bottom: 8px;
  scrollbar-width: none;
}
.v2-products-scroll::-webkit-scrollbar { display: none; }
.v2-product-card {
  flex-shrink: 0;
  width: 260px;
  background: #fff;
  border: 1.5px solid var(--nx-border, #E5E7EB);
  border-radius: 16px;
  overflow: hidden;
}
.v2-product-img {
  height: 150px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}
/* Mockups con gradientes variados (idéntico a referencia) */
.v2-product-img--1 { background: linear-gradient(135deg, #1E1B2E 0%, #2D2640 100%); }
.v2-product-img--2 { background: linear-gradient(135deg, #6D28D9 0%, #9333EA 45%, #EC4899 100%); }
.v2-product-img--3 { background: linear-gradient(135deg, #3B82F6 0%, #60A5FA 55%, #93C5FD 100%); }
.v2-product-img--4 { background: linear-gradient(135deg, #0F2942 0%, #1A3A5C 100%); }
.v2-product-img--5 { background: linear-gradient(135deg, #312E81 0%, #4F46E5 100%); }
.v2-product-img-inner { width: 80%; }
.v2-product-ui-dots { display: flex; gap: 4px; margin-bottom: 10px; }
.v2-product-ui-dots span { width: 6px; height: 6px; border-radius: 50%; background: rgba(255,255,255,.45); }
.v2-product-ui-lines div {
  height: 6px;
  background: rgba(255,255,255,.22);
  border-radius: 3px;
  margin-bottom: 6px;
  width: 100%;
}
.v2-product-body { padding: 16px; }
.v2-product-badge {
  font-size: 10px;
  font-weight: 700;
  color: var(--nx-primary, #5B5CFF);
  background: var(--nx-primary-bg, #F0F0FF);
  border-radius: 4px;
  padding: 2px 7px;
  display: inline-block;
  margin-bottom: 8px;
}
.v2-product-name {
  font-size: 14px;
  font-weight: 700;
  color: var(--nx-ink, #0F0F1A);
  margin-bottom: 4px;
}
.v2-product-desc {
  font-size: 11px;
  color: var(--nx-muted, #6B7280);
  line-height: 1.4;
  margin-bottom: 10px;
}
.v2-product-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 10px;
}
.v2-product-rating { font-size: 11px; color: var(--nx-medium, #3D3D5C); }
.v2-star { color: #F59E0B; }
.v2-product-price { font-size: 15px; font-weight: 800; color: var(--nx-ink, #0F0F1A); }
.v2-product-btn {
  display: block;
  text-align: center;
  padding: 9px;
  background: #fff;
  color: var(--nx-primary, #5B5CFF);
  border: 1.5px solid var(--nx-primary, #5B5CFF);
  border-radius: 8px;
  font-size: 12px;
  font-weight: 600;
  text-decoration: none;
  transition: background .2s, color .2s;
}
.v2-product-btn:hover { background: var(--nx-primary, #5B5CFF); color: #fff; }

/* ─── PROCESS V2 — Timeline horizontal ──────────── */
.v2-process {
  padding: 56px 0;
  background: #fff;
}
.v2-process-inner {
  background: linear-gradient(180deg, #F5F3FF 0%, #FBF5FF 60%, #FFF5F9 100%);
  border: 1px solid #EEE9FB;
  border-radius: 22px;
  padding: 40px 36px 44px;
}
.v2-process-head {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 40px;
  align-items: start;
}
.v2-process-head-text { padding-top: 6px; }
.v2-process-title {
  font-size: clamp(22px, 3vw, 30px);
  font-weight: 800;
  color: var(--nx-ink, #0F0F1A);
  letter-spacing: -.5px;
  line-height: 1.2;
  margin: 0 0 14px;
}
.v2-process-title span { color: var(--nx-primary, #5B5CFF); }
.v2-process-sub {
  font-size: 13.5px;
  color: var(--nx-muted, #6B7280);
  line-height: 1.7;
  margin: 0 0 22px;
}
.v2-process-timeline {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 8px;
  position: relative;
}
.v2-process-tstep {
  position: relative;
  text-align: center;
  padding: 0 6px;
}
/* línea punteada conectora entre números */
.v2-process-tstep::before {
  content: "";
  position: absolute;
  top: 18px;
  left: -50%;
  width: 100%;
  border-top: 2px dashed #D9D2F5;
  z-index: 0;
}
.v2-process-tstep:first-child::before { display: none; }
.v2-process-tnum {
  position: relative;
  z-index: 1;
  width: 36px; height: 36px;
  margin: 0 auto 14px;
  border-radius: 50%;
  background: #fff;
  border: 2px solid #D9D2F5;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: 800;
  color: var(--nx-primary, #5B5CFF);
}
.v2-process-ticon {
  width: 30px; height: 30px;
  margin: 0 auto 12px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.v2-process-ticon svg { width: 24px; height: 24px; stroke: var(--nx-primary, #5B5CFF); }
.v2-process-tname {
  font-size: 13px;
  font-weight: 700;
  color: var(--nx-ink, #0F0F1A);
  margin-bottom: 6px;
}
.v2-process-tdesc {
  font-size: 11px;
  color: var(--nx-muted, #6B7280);
  line-height: 1.5;
}

/* ─── CASES V2 ───────────────────────────────────── */
.v2-cases {
  padding: 72px 0;
  background: var(--nx-bg-gray, #F9FAFB);
}
.v2-cases-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 32px;
  gap: 20px;
  flex-wrap: wrap;
}
.v2-cases-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.v2-case-card {
  background: #fff;
  border: 1px solid var(--nx-border, #E5E7EB);
  border-radius: 16px;
  overflow: hidden;
  transition: box-shadow .2s, transform .2s;
}
.v2-case-card:hover { box-shadow: 0 12px 32px rgba(0,0,0,.12); transform: translateY(-3px); }
.v2-case-head {
  position: relative;
  height: 150px;
  display: flex;
  align-items: flex-start;
  padding: 18px;
}
/* Gradientes variados del header (idéntico a referencia) */
.v2-case-head--1 { background: linear-gradient(150deg, #0F172A 0%, #1E3A5F 100%); }
.v2-case-head--2 { background: linear-gradient(150deg, #4C1D95 0%, #9333EA 50%, #EC4899 100%); }
.v2-case-head--3 { background: linear-gradient(150deg, #0C2A4D 0%, #155E75 100%); }
.v2-case-head--4 { background: linear-gradient(150deg, #111827 0%, #312E81 100%); }
.v2-case-head-overlay { position: relative; z-index: 1; }
.v2-case-badge {
  font-size: 10px;
  font-weight: 700;
  color: #fff;
  background: rgba(255,255,255,.18);
  border: 1px solid rgba(255,255,255,.25);
  border-radius: 5px;
  padding: 3px 9px;
  display: inline-block;
  margin-bottom: 8px;
  backdrop-filter: blur(4px);
}
.v2-case-name {
  font-size: 15px;
  font-weight: 800;
  color: #fff;
  line-height: 1.25;
}
.v2-case-body { padding: 16px; }
.v2-case-desc {
  font-size: 11.5px;
  color: var(--nx-muted, #6B7280);
  line-height: 1.5;
  margin-bottom: 12px;
}
.v2-case-link {
  font-size: 11.5px;
  font-weight: 600;
  color: var(--nx-primary, #5B5CFF);
  text-decoration: none;
}
.v2-case-link:hover { text-decoration: underline; }

/* ─── TESTIMONIALS V2 ────────────────────────────── */
.v2-testi {
  padding: 64px 0;
  background: #fff;
}
.v2-testi-head { max-width: 620px; margin-bottom: 36px; }
.v2-testi-label {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--nx-primary, #5B5CFF);
  margin-bottom: 12px;
}
.v2-testi-title {
  font-size: clamp(24px, 3.4vw, 34px);
  font-weight: 800;
  color: var(--nx-ink, #0F0F1A);
  letter-spacing: -.8px;
  line-height: 1.15;
  margin: 0 0 14px;
}
.v2-testi-sub {
  font-size: 15px;
  color: var(--nx-muted, #6B7280);
  line-height: 1.6;
  margin: 0;
}
.v2-testi-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}
.v2-testi-card {
  background: var(--nx-bg-gray, #F9FAFB);
  border: 1px solid var(--nx-border, #E5E7EB);
  border-radius: 16px;
  padding: 22px 24px;
}
.v2-testi-author {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 14px;
}
.v2-testi-avatar {
  width: 42px; height: 42px;
  border-radius: 50%;
  background: linear-gradient(135deg, #5B5CFF 0%, #7C3AED 100%);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: 700;
  flex-shrink: 0;
}
.v2-testi-avatar-img {
  width: 42px; height: 42px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
}
.v2-testi-name {
  font-size: 14px;
  font-weight: 700;
  color: var(--nx-ink, #0F0F1A);
}
.v2-testi-role {
  font-size: 12px;
  color: var(--nx-muted, #9CA3AF);
}
.v2-testi-text {
  font-size: 14px;
  color: var(--nx-medium, #3D3D5C);
  line-height: 1.65;
  font-style: italic;
  margin: 0;
}

/* ─── CTA FINAL V2 ───────────────────────────────── */
.v2-cta {
  padding: 24px 0 72px;
  background: #fff;
}
.v2-cta-box {
  background: linear-gradient(160deg, #EEF0FF 0%, #F3F0FF 55%, #FAF5FF 100%);
  border: 1px solid #E7E4FB;
  border-radius: 22px;
  padding: 56px 32px;
  text-align: center;
}
.v2-cta-icon {
  width: 56px; height: 56px;
  margin: 0 auto 20px;
  border-radius: 16px;
  background: #fff;
  border: 1px solid var(--nx-border, #E5E7EB);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 14px rgba(91,92,255,.12);
}
.v2-cta-icon svg { width: 26px; height: 26px; stroke: var(--nx-primary, #5B5CFF); }
.v2-cta-title {
  font-size: clamp(24px, 3.6vw, 34px);
  font-weight: 800;
  color: var(--nx-ink, #0F0F1A);
  letter-spacing: -.8px;
  line-height: 1.2;
  margin: 0 0 14px;
  max-width: 560px;
  margin-left: auto;
  margin-right: auto;
}
.v2-cta-sub {
  font-size: 15px;
  color: var(--nx-muted, #6B7280);
  line-height: 1.6;
  margin: 0 auto 28px;
  max-width: 520px;
}
.v2-btn--lg { padding: 15px 30px; font-size: 15px; }

/* ─── Responsive V2 ──────────────────────────────── */
@media (max-width: 1024px) {
  .v2-apptypes-grid { grid-template-columns: repeat(2, 1fr); }
  .v2-products-layout { grid-template-columns: 1fr; gap: 24px; }
  .v2-process-head { grid-template-columns: 1fr; gap: 28px; }
  .v2-process-head-text { text-align: center; }
  .v2-process-head-text .v2-btn--primary-sm { display: inline-flex; }
  .v2-process-timeline { grid-template-columns: repeat(3, 1fr); row-gap: 32px; }
  .v2-process-tstep::before { display: none; }
  .v2-cases-grid { grid-template-columns: repeat(2, 1fr); }
  .v2-services2-icons { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px 12px; }
}
@media (max-width: 768px) {
  .v2-hero-grid { grid-template-columns: 1fr; gap: 40px; }
  .v2-hero-right { display: none; }
  .v2-stats-grid { grid-template-columns: repeat(2, 1fr); }
  .v2-apptypes-layout { grid-template-columns: 1fr; gap: 28px; }
  .v2-services-layout { grid-template-columns: 1fr; gap: 32px; }
  .v2-services2 { padding: 28px 24px; }
  .v2-services2-layout { flex-direction: column; align-items: stretch; gap: 22px; }
  .v2-services2-left { max-width: none; text-align: center; }
  .v2-services2-icons { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px 12px; }
  .v2-services2-item { min-width: 0; }
  .v2-process-inner { padding: 28px 22px 32px; }
  .v2-process-timeline { grid-template-columns: repeat(2, 1fr); }
  .v2-cases-grid { grid-template-columns: 1fr 1fr; }
  .v2-testi-grid { grid-template-columns: 1fr; }
}
@media (max-width: 480px) {
  .v2-stats-grid { grid-template-columns: 1fr 1fr; }
  .v2-apptypes-grid { grid-template-columns: 1fr; }
  .v2-process-timeline { grid-template-columns: 1fr; }
  .v2-cases-grid { grid-template-columns: 1fr; }
  .v2-hero-title { font-size: 32px; }
  .v2-services2-icons { grid-template-columns: repeat(2, 1fr); gap: 20px 10px; }
  .v2-services2-item { min-width: 0; }
}

/* ═══════════════════════════════════════════════════
   SOFTWARE PROMO SECTION
═══════════════════════════════════════════════════ */
.v2-software-promo {
  background: linear-gradient(135deg, var(--nx-software-bg-from, #0F0F1A) 0%, var(--nx-software-bg-to, #1a1a3e) 50%, var(--nx-software-bg-from, #0F0F1A) 100%);
  position: relative;
  overflow: hidden;
}
.v2-software-promo::before {
  content: '';
  position: absolute;
  top: -120px; left: 50%;
  transform: translateX(-50%);
  width: 700px; height: 400px;
  background: radial-gradient(ellipse, rgba(91,92,255,.25) 0%, transparent 70%);
  pointer-events: none;
}
.v2-software-promo-inner {
  text-align: center;
  max-width: 680px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}
.v2-software-promo-label {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--nx-primary, #5B5CFF);
  background: rgba(91,92,255,.12);
  border: 1px solid rgba(91,92,255,.3);
  padding: 5px 14px;
  border-radius: 100px;
  margin-bottom: 20px;
}
.v2-software-promo .v2-section-title {
  color: var(--nx-software-title, #fff);
  font-size: clamp(24px, 3.5vw, 36px);
  letter-spacing: -.6px;
  line-height: 1.15;
  margin-bottom: 16px;
}
.v2-software-promo-sub {
  color: var(--nx-software-desc, rgba(255,255,255,.62));
  font-size: 15px;
  line-height: 1.7;
  max-width: 560px;
  margin: 0 auto;
}

/* ═══════════════════════════════════════════════════
   FAQ SECTION
═══════════════════════════════════════════════════ */
.v2-faq {
  background: var(--nx-faq-bg, #F9FAFB);
}
.v2-faq-header {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 40px;
}
.v2-faq-header .v2-section-title {
  margin-bottom: 0;
  color: var(--nx-faq-title, #0F0F1A);
}
.v2-faq-list {
  max-width: 700px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 0;
}
.v2-faq-item {
  border-bottom: 1px solid var(--nx-faq-border, #E5E7EB);
}
.v2-faq-item:first-child { border-top: 1px solid var(--nx-faq-border, #E5E7EB); }
.v2-faq-q {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 22px 4px;
  font-size: 15px;
  font-weight: 600;
  color: var(--nx-faq-q, #0F0F1A);
  text-align: left;
  transition: color .2s;
}
.v2-faq-q:hover { color: var(--nx-primary, #5B5CFF); }
.v2-faq-q[aria-expanded="true"] { color: var(--nx-primary, #5B5CFF); }
.v2-faq-icon {
  flex-shrink: 0;
  color: var(--nx-muted, #6B7280);
  transition: transform .3s ease, color .2s;
}
.v2-faq-q[aria-expanded="true"] .v2-faq-icon {
  transform: rotate(180deg);
  color: var(--nx-primary, #5B5CFF);
}
.v2-faq-a {
  overflow: hidden;
  max-height: 0;
  font-size: 14px;
  color: var(--nx-faq-a, #6B7280);
  line-height: 1.7;
  padding: 0 4px;
  transition: max-height .35s ease, padding .35s ease, opacity .3s ease;
  opacity: 0;
}
.v2-faq-item.is-open .v2-faq-a {
  max-height: 200px;
  padding: 0 4px 22px;
  opacity: 1;
}

/* ═══════════════════════════════════════════════════
   PREMIUM HAMBURGER BUTTON
═══════════════════════════════════════════════════ */
.nx-nav-hamburger {
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  width: 40px; height: 40px;
  border-radius: var(--nx-radius-sm, 8px);
  background: none;
  border: 1.5px solid var(--nx-border, #E5E7EB);
  cursor: pointer;
  padding: 0;
  transition: border-color .2s, background .2s;
}
.nx-nav-hamburger:hover {
  border-color: var(--nx-primary, #5B5CFF);
  background: var(--nx-primary-bg, #F0F0FF);
}
.nx-ham-bar {
  display: block;
  width: 18px; height: 1.5px;
  background: var(--nx-ink, #0F0F1A);
  border-radius: 2px;
  transform-origin: center;
  transition: transform .35s cubic-bezier(.4,0,.2,1), opacity .25s ease, width .25s ease;
}
.nx-nav-hamburger.is-active .nx-ham-bar--top {
  transform: translateY(6.5px) rotate(45deg);
}
.nx-nav-hamburger.is-active .nx-ham-bar--mid {
  opacity: 0;
  transform: scaleX(0);
}
.nx-nav-hamburger.is-active .nx-ham-bar--bot {
  transform: translateY(-6.5px) rotate(-45deg);
}

/* ═══════════════════════════════════════════════════
   PREMIUM MOBILE DRAWER
═══════════════════════════════════════════════════ */
.nx-drawer-overlay {
  position: fixed;
  inset: 0;
  background: rgba(15,15,26,.5);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  z-index: 9997;
  opacity: 0;
  pointer-events: none;
  transition: opacity .35s ease;
}
.nx-drawer-overlay.is-open {
  opacity: 1;
  pointer-events: auto;
}
.nx-drawer {
  position: fixed;
  top: 0; right: 0;
  width: min(360px, 90vw);
  height: 100dvh;
  background: #fff;
  z-index: 9998;
  display: flex;
  flex-direction: column;
  transform: translateX(100%);
  transition: transform .38s cubic-bezier(.4,0,.2,1);
  box-shadow: -8px 0 40px rgba(15,15,26,.15);
}
.nx-drawer.is-open {
  transform: translateX(0);
}
body.nx-drawer-lock { overflow: hidden; }

.nx-drawer-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 24px;
  height: var(--nx-nav-h, 64px);
  border-bottom: 1px solid var(--nx-border-light, #F3F4F6);
  flex-shrink: 0;
}
.nx-drawer-logo {
  display: flex;
  align-items: center;
  gap: 10px;
}
.nx-drawer-logo .nx-nav-logo-mark {
  width: 28px; height: 28px;
  background: var(--nx-primary, #5B5CFF);
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.nx-drawer-logo .nx-nav-logo-mark svg { width: 16px; height: 16px; }
.nx-drawer-logo .nx-nav-name {
  font-size: 15px;
  font-weight: 700;
  color: var(--nx-ink, #0F0F1A);
}
.nx-drawer-close {
  width: 36px; height: 36px;
  border-radius: var(--nx-radius-sm, 8px);
  background: var(--nx-bg-gray, #F9FAFB);
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--nx-muted, #6B7280);
  transition: background .2s, color .2s;
  flex-shrink: 0;
}
.nx-drawer-close:hover {
  background: var(--nx-primary-bg, #F0F0FF);
  color: var(--nx-primary, #5B5CFF);
}
.nx-drawer-nav {
  flex: 1;
  overflow-y: auto;
  padding: 12px 16px;
}
.nx-drawer-links {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.nx-drawer-links li a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 13px 12px;
  border-radius: var(--nx-radius-sm, 8px);
  font-size: 15px;
  font-weight: 500;
  color: var(--nx-medium, #3D3D5C);
  transition: background .18s, color .18s;
}
.nx-drawer-links li a:hover {
  background: var(--nx-primary-bg, #F0F0FF);
  color: var(--nx-primary, #5B5CFF);
}
.nx-drawer-links li a svg {
  opacity: 0;
  transform: translateX(-4px);
  transition: opacity .18s, transform .18s;
  color: var(--nx-primary, #5B5CFF);
}
.nx-drawer-links li a:hover svg {
  opacity: 1;
  transform: translateX(0);
}
.nx-drawer-footer {
  padding: 20px 24px;
  border-top: 1px solid var(--nx-border-light, #F3F4F6);
  flex-shrink: 0;
}
.nx-drawer-cta {
  width: 100%;
  justify-content: center;
  padding: 14px 24px;
  font-size: 14px;
  border-radius: var(--nx-radius-sm, 8px);
}



/* ══════════════════════════════════════════════════
   DRAWER — Submenús acordeón (móvil)
══════════════════════════════════════════════════ */
.nx-drawer-links li.menu-item-has-children { display: flex; flex-direction: column; }
.nx-drawer-links li.menu-item-has-children > a { position: relative; }
.nx-drawer-sub-toggle {
  position: absolute; right: 4px; top: 50%; transform: translateY(-50%);
  width: 36px; height: 36px; display: flex; align-items: center; justify-content: center;
  background: none; border: 0; cursor: pointer; color: var(--nx-medium, #3D3D5C);
  border-radius: 8px;
}
.nx-drawer-sub-toggle::before {
  content: ''; width: 8px; height: 8px;
  border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor;
  transform: rotate(45deg); transition: transform .2s;
}
li.menu-item-has-children.is-open > a .nx-drawer-sub-toggle::before { transform: rotate(225deg); }
.nx-drawer-links .sub-menu {
  list-style: none; margin: 0; padding: 0 0 0 14px;
  max-height: 0; overflow: hidden; transition: max-height .25s ease;
}
li.menu-item-has-children.is-open > .sub-menu { max-height: 1400px; }
.nx-drawer-links .sub-menu li a { font-size: 14px; padding: 10px 12px; color: var(--nx-muted, #6B7280); }

/* ══════════════════════════════════════════════════
   LEAD FORM
══════════════════════════════════════════════════ */
.nx-leadform-box {
  max-width: 640px; margin: 0 auto; background: #fff;
  border: 1px solid var(--nx-border-light, #F3F4F6);
  border-radius: 20px; padding: 44px 40px;
  box-shadow: 0 20px 50px rgba(20,20,50,.08);
}
.nx-leadform-head { text-align: center; margin-bottom: 28px; }
.nx-leadform-title { font-size: 30px; font-weight: 800; color: var(--nx-ink); letter-spacing: -.8px; margin-bottom: 10px; }
.nx-leadform-sub { font-size: 15px; color: var(--nx-muted); line-height: 1.6; }
.nx-leadform-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.nx-leadform-field { display: flex; flex-direction: column; gap: 6px; margin-bottom: 14px; }
.nx-leadform-field label { font-size: 13px; font-weight: 600; color: var(--nx-medium); }
.nx-leadform-field input,
.nx-leadform-field textarea {
  width: 100%; padding: 12px 14px; font-size: 14.5px; font-family: inherit;
  color: var(--nx-ink); background: var(--nx-bg-gray, #F9FAFB);
  border: 1.5px solid var(--nx-border, #E5E7EB); border-radius: 10px;
  transition: border-color .18s, box-shadow .18s, background .18s;
}
.nx-leadform-field input:focus,
.nx-leadform-field textarea:focus {
  outline: none; background: #fff; border-color: var(--nx-primary);
  box-shadow: 0 0 0 3px var(--nx-primary-bg, #F0F0FF);
}
.nx-leadform-field textarea { resize: vertical; min-height: 96px; }
.nx-leadform-submit { width: 100%; justify-content: center; margin-top: 6px; }
.nx-leadform-submit[disabled] { opacity: .6; cursor: wait; }
.nx-leadform-feedback { margin-top: 14px; font-size: 14px; text-align: center; min-height: 20px; }
.nx-leadform-feedback.is-ok { color: var(--nx-green, #10B981); font-weight: 600; }
.nx-leadform-feedback.is-err { color: var(--nx-red, #EF4444); font-weight: 600; }
@media (max-width: 640px) {
  .nx-leadform-box { padding: 30px 20px; }
  .nx-leadform-row { grid-template-columns: 1fr; gap: 0; }
  .nx-leadform-title { font-size: 24px; }
}

/* ══════════════════════════════════════════════════
   WHATSAPP FAB
══════════════════════════════════════════════════ */
.nx-wa-fab {
  position: fixed; right: 20px; bottom: 20px; z-index: 900;
  width: 58px; height: 58px; border-radius: 50%;
  background: #25D366; color: #fff;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 8px 24px rgba(37,211,102,.45);
  transition: transform .2s, box-shadow .2s;
}
.nx-wa-fab svg { width: 32px; height: 32px; }
.nx-wa-fab:hover { transform: scale(1.08); box-shadow: 0 12px 32px rgba(37,211,102,.55); color: #fff; }
.nx-wa-fab::after {
  content: ''; position: absolute; inset: 0; border-radius: 50%;
  border: 2px solid #25D366; animation: nx-wa-pulse 2.4s ease-out infinite;
}
@keyframes nx-wa-pulse {
  0%   { transform: scale(1);    opacity: .7; }
  70%  { transform: scale(1.55); opacity: 0; }
  100% { transform: scale(1.55); opacity: 0; }
}
@media (prefers-reduced-motion: reduce) { .nx-wa-fab::after { animation: none; } }
@media (max-width: 640px) { .nx-wa-fab { right: 14px; bottom: 14px; width: 54px; height: 54px; } }

/* Reset de headings semánticos en tarjetas (h3) */
h3.nx-product-name, h3.nx-tool-name, h3.v2-product-name { margin: 0; font-size: inherit; font-weight: inherit; line-height: inherit; }
