/*
Theme Name:  Nexus Cultura Organizacional
Theme URI:   https://www.innexus.com.co
Author:      Nexus Cultura Organizacional
Author URI:  https://www.innexus.com.co
Description: Tema personalizado para Nexus Cultura Organizacional. Diseñado para Elementor Pro. Incluye sistema de diseño completo con paleta de marca, tipografía, tokens CSS y componentes custom. Compatible con WPML, MemberPress y Elementor Pro.
Version:     1.0.0
Requires at least: 6.0
Tested up to: 6.7
Requires PHP: 8.0
License:     Propietario - Nexus Cultura Organizacional
Text Domain: nexus-co
Tags: elementor, custom, business, consulting

--- PALETA DE MARCA ---
Navy:   #252865
Teal:   #06C7C7
Lime:   #C6DA52
Orange: #FF9800
*/

/* =============================================
   1. CSS CUSTOM PROPERTIES — SISTEMA DE DISEÑO
   ============================================= */
:root {
  /* Colores principales */
  --nx-navy:        #252865;
  --nx-navy-dark:   #1a1d3a;
  --nx-navy-light:  #2e3480;
  --nx-teal:        #06C7C7;
  --nx-teal-dark:   #04a0a0;
  --nx-teal-light:  #e0fafa;
  --nx-lime:        #C6DA52;
  --nx-lime-dark:   #a8bf30;
  --nx-lime-light:  #f3f8d0;
  --nx-orange:      #FF9800;
  --nx-orange-dark: #e08200;
  --nx-orange-light:#fff3e0;

  /* Neutros */
  --nx-white:       #ffffff;
  --nx-off-white:   #f8f9fb;
  --nx-gray-100:    #f1f3f6;
  --nx-gray-200:    #e4e7ed;
  --nx-gray-400:    #9ca3af;
  --nx-gray-600:    #6b7280;
  --nx-gray-800:    #374151;
  --nx-black:       #0f1229;

  /* Tipografía */
  --nx-font-display: 'Montserrat', sans-serif;
  --nx-font-body:    'DM Sans', sans-serif;
  --nx-font-mono:    'JetBrains Mono', monospace;

  /* Escala tipográfica */
  --nx-text-xs:   0.75rem;
  --nx-text-sm:   0.875rem;
  --nx-text-base: 1rem;
  --nx-text-lg:   1.125rem;
  --nx-text-xl:   1.25rem;
  --nx-text-2xl:  1.5rem;
  --nx-text-3xl:  1.875rem;
  --nx-text-4xl:  2.25rem;
  --nx-text-5xl:  3rem;

  /* Espaciado */
  --nx-space-1:   0.25rem;
  --nx-space-2:   0.5rem;
  --nx-space-3:   0.75rem;
  --nx-space-4:   1rem;
  --nx-space-6:   1.5rem;
  --nx-space-8:   2rem;
  --nx-space-12:  3rem;
  --nx-space-16:  4rem;
  --nx-space-20:  5rem;
  --nx-space-24:  6rem;

  /* Bordes */
  --nx-radius-sm:  4px;
  --nx-radius-md:  8px;
  --nx-radius-lg:  12px;
  --nx-radius-xl:  20px;
  --nx-radius-full: 9999px;

  /* Sombras */
  --nx-shadow-sm:  0 1px 3px rgba(37,40,101,0.08);
  --nx-shadow-md:  0 4px 16px rgba(37,40,101,0.12);
  --nx-shadow-lg:  0 8px 32px rgba(37,40,101,0.16);
  --nx-shadow-xl:  0 20px 60px rgba(37,40,101,0.2);

  /* Transiciones */
  --nx-ease:       cubic-bezier(0.4, 0, 0.2, 1);
  --nx-duration:   0.25s;
}

/* =============================================
   2. RESET & BASE
   ============================================= */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--nx-font-body);
  font-size: var(--nx-text-base);
  line-height: 1.7;
  color: var(--nx-gray-800);
  background-color: var(--nx-white);
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; color: inherit; transition: color var(--nx-duration) var(--nx-ease); }
button { cursor: pointer; font-family: inherit; }
ul, ol { list-style: none; }

/* =============================================
   3. TIPOGRAFÍA
   ============================================= */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--nx-font-display);
  font-weight: 600;
  line-height: 1.2;
  color: var(--nx-navy);
}

h1 { font-size: clamp(2rem, 5vw, var(--nx-text-5xl)); }
h2 { font-size: clamp(1.75rem, 4vw, var(--nx-text-4xl)); }
h3 { font-size: clamp(1.25rem, 3vw, var(--nx-text-2xl)); }
h4 { font-size: var(--nx-text-xl); }
h5 { font-size: var(--nx-text-lg); }
h6 { font-size: var(--nx-text-base); }

p { margin-bottom: var(--nx-space-4); }
p:last-child { margin-bottom: 0; }

.nx-label {
  font-family: var(--nx-font-display);
  font-size: var(--nx-text-xs);
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--nx-teal);
}

/* =============================================
   4. LAYOUT HELPERS
   ============================================= */
.nx-container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--nx-space-8);
}

.nx-section {
  padding: var(--nx-space-24) 0;
}

.nx-grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: var(--nx-space-12); align-items: center; }
.nx-grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--nx-space-6); }
.nx-grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--nx-space-6); }

@media (max-width: 768px) {
  .nx-grid-2, .nx-grid-3, .nx-grid-4 { grid-template-columns: 1fr; }
  .nx-container { padding: 0 var(--nx-space-4); }
  .nx-section { padding: var(--nx-space-16) 0; }
}

/* =============================================
   5. NAVBAR CUSTOM
   ============================================= */
.nx-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 9999;
  background: var(--nx-navy);
  height: 70px;
  display: flex;
  align-items: center;
  transition: box-shadow var(--nx-duration) var(--nx-ease);
}

.nx-header.scrolled {
  box-shadow: 0 2px 20px rgba(37,40,101,0.3);
}

.nx-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--nx-space-8);
}

.nx-logo {
  display: flex;
  align-items: center;
  gap: var(--nx-space-3);
}

.nx-logo__wordmark {
  font-family: var(--nx-font-display);
  font-size: 1.375rem;
  font-weight: 700;
  color: var(--nx-white);
  letter-spacing: 0.08em;
}

.nx-logo__wordmark span { color: var(--nx-teal); }

.nx-logo__sub {
  display: block;
  font-size: 0.6rem;
  font-weight: 400;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.45);
  margin-top: -2px;
}

.nx-nav {
  display: flex;
  align-items: center;
  gap: var(--nx-space-8);
}

.nx-nav__link {
  font-family: var(--nx-font-display);
  font-size: var(--nx-text-sm);
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.65);
  transition: color var(--nx-duration) var(--nx-ease);
  position: relative;
}

.nx-nav__link::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--nx-teal);
  transition: width var(--nx-duration) var(--nx-ease);
}

.nx-nav__link:hover,
.nx-nav__link.current-menu-item { color: var(--nx-white); }
.nx-nav__link:hover::after,
.nx-nav__link.current-menu-item::after { width: 100%; }

.nx-nav__cta {
  display: inline-flex;
  align-items: center;
  gap: var(--nx-space-2);
  background: var(--nx-teal);
  color: var(--nx-navy) !important;
  font-family: var(--nx-font-display);
  font-size: var(--nx-text-sm);
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 10px 20px;
  border-radius: var(--nx-radius-sm);
  transition: background var(--nx-duration) var(--nx-ease), transform var(--nx-duration) var(--nx-ease);
}

.nx-nav__cta:hover {
  background: var(--nx-teal-dark);
  transform: translateY(-1px);
}

body { padding-top: 70px; }

/* =============================================
   6. BOTONES
   ============================================= */
.nx-btn {
  display: inline-flex;
  align-items: center;
  gap: var(--nx-space-2);
  font-family: var(--nx-font-display);
  font-size: var(--nx-text-sm);
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 14px 28px;
  border-radius: var(--nx-radius-sm);
  border: 2px solid transparent;
  transition: all var(--nx-duration) var(--nx-ease);
  cursor: pointer;
  white-space: nowrap;
}

.nx-btn--primary {
  background: var(--nx-teal);
  color: var(--nx-navy);
  border-color: var(--nx-teal);
}
.nx-btn--primary:hover {
  background: var(--nx-teal-dark);
  border-color: var(--nx-teal-dark);
  transform: translateY(-2px);
  box-shadow: var(--nx-shadow-md);
}

.nx-btn--secondary {
  background: transparent;
  color: var(--nx-white);
  border-color: rgba(255,255,255,0.35);
}
.nx-btn--secondary:hover {
  background: rgba(255,255,255,0.1);
  border-color: rgba(255,255,255,0.6);
}

.nx-btn--navy {
  background: var(--nx-navy);
  color: var(--nx-white);
  border-color: var(--nx-navy);
}
.nx-btn--navy:hover {
  background: var(--nx-navy-light);
  transform: translateY(-2px);
  box-shadow: var(--nx-shadow-md);
}

.nx-btn--outline-navy {
  background: transparent;
  color: var(--nx-navy);
  border-color: var(--nx-navy);
}
.nx-btn--outline-navy:hover {
  background: var(--nx-navy);
  color: var(--nx-white);
}

/* =============================================
   7. HERO SECTION
   ============================================= */
.nx-hero {
  background: var(--nx-navy);
  min-height: 92vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
}

.nx-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 50% at 70% 50%, rgba(6,199,199,0.06) 0%, transparent 70%),
    radial-gradient(ellipse 40% 40% at 20% 80%, rgba(198,218,82,0.04) 0%, transparent 60%);
  pointer-events: none;
}

.nx-hero__grid-bg {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px);
  background-size: 60px 60px;
  pointer-events: none;
}

.nx-hero__content { position: relative; z-index: 2; }

.nx-hero__badge {
  display: inline-flex;
  align-items: center;
  gap: var(--nx-space-2);
  background: rgba(6,199,199,0.1);
  border: 1px solid rgba(6,199,199,0.25);
  border-radius: var(--nx-radius-full);
  padding: 6px 16px;
  margin-bottom: var(--nx-space-6);
}

.nx-hero__badge-dot {
  width: 6px;
  height: 6px;
  background: var(--nx-teal);
  border-radius: 50%;
  animation: nx-pulse 2s infinite;
}

@keyframes nx-pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.6; transform: scale(0.8); }
}

.nx-hero__badge span {
  font-family: var(--nx-font-display);
  font-size: var(--nx-text-xs);
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--nx-teal);
}

.nx-hero__title {
  font-family: var(--nx-font-display);
  font-size: clamp(2.5rem, 6vw, 4rem);
  font-weight: 700;
  line-height: 1.1;
  color: var(--nx-white);
  margin-bottom: var(--nx-space-6);
}

.nx-hero__title em {
  font-style: normal;
  color: var(--nx-teal);
}

.nx-hero__title .nx-accent-lime {
  color: var(--nx-lime);
}

.nx-hero__lead {
  font-size: var(--nx-text-lg);
  line-height: 1.75;
  color: rgba(255,255,255,0.6);
  max-width: 520px;
  margin-bottom: var(--nx-space-8);
}

.nx-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--nx-space-4);
  margin-bottom: var(--nx-space-12);
}

.nx-hero__stats {
  display: flex;
  gap: var(--nx-space-10);
  padding-top: var(--nx-space-8);
  border-top: 1px solid rgba(255,255,255,0.1);
}

.nx-stat__num {
  font-family: var(--nx-font-display);
  font-size: var(--nx-text-3xl);
  font-weight: 700;
  color: var(--nx-lime);
  line-height: 1;
}

.nx-stat__label {
  font-size: var(--nx-text-xs);
  color: rgba(255,255,255,0.45);
  letter-spacing: 0.05em;
  margin-top: 4px;
}

/* Isotipo decorativo hero */
.nx-hero__visual {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

.nx-hero__circles {
  position: relative;
  width: 380px;
  height: 380px;
}

.nx-circle {
  position: absolute;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: nx-float linear infinite;
}

@keyframes nx-float {
  0%   { transform: translateY(0px); }
  50%  { transform: translateY(-12px); }
  100% { transform: translateY(0px); }
}

.nx-circle--1 {
  width: 200px; height: 200px;
  border: 2px solid var(--nx-teal);
  background: rgba(6,199,199,0.06);
  top: 30px; left: 30px;
  animation-duration: 6s;
}

.nx-circle--2 {
  width: 160px; height: 160px;
  border: 2px solid var(--nx-lime);
  background: rgba(198,218,82,0.06);
  bottom: 50px; left: 110px;
  animation-duration: 8s;
  animation-delay: -2s;
}

.nx-circle--3 {
  width: 140px; height: 140px;
  border: 2px solid var(--nx-orange);
  background: rgba(255,152,0,0.06);
  top: 90px; right: 20px;
  animation-duration: 7s;
  animation-delay: -4s;
}

.nx-circle__label {
  font-family: var(--nx-font-display);
  font-size: var(--nx-text-xs);
  font-weight: 600;
  color: rgba(255,255,255,0.7);
  text-align: center;
  letter-spacing: 0.05em;
}

/* =============================================
   8. SECTION HEADERS
   ============================================= */
.nx-section-header { margin-bottom: var(--nx-space-12); }
.nx-section-header--center { text-align: center; }
.nx-section-header--center .nx-label { display: block; margin-bottom: var(--nx-space-3); }

.nx-section-title {
  font-family: var(--nx-font-display);
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: 700;
  color: var(--nx-navy);
  line-height: 1.2;
  margin-bottom: var(--nx-space-4);
}

.nx-section-title em {
  font-style: normal;
  color: var(--nx-teal);
}

.nx-section-lead {
  font-size: var(--nx-text-lg);
  color: var(--nx-gray-600);
  line-height: 1.75;
  max-width: 600px;
}

.nx-section-header--center .nx-section-lead {
  margin: 0 auto;
}

/* =============================================
   9. CARDS DE SERVICIO
   ============================================= */
.nx-service-card {
  background: var(--nx-white);
  border-radius: var(--nx-radius-lg);
  padding: var(--nx-space-8);
  border: 1px solid var(--nx-gray-200);
  position: relative;
  overflow: hidden;
  transition: transform var(--nx-duration) var(--nx-ease), box-shadow var(--nx-duration) var(--nx-ease);
}

.nx-service-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
  background: var(--nx-teal);
}

.nx-service-card--orange::before { background: var(--nx-orange); }
.nx-service-card--lime::before   { background: var(--nx-lime); }
.nx-service-card--navy::before   { background: var(--nx-navy); }

.nx-service-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--nx-shadow-lg);
}

.nx-service-card__icon {
  width: 52px;
  height: 52px;
  border-radius: var(--nx-radius-md);
  background: var(--nx-teal-light);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--nx-space-5);
  font-size: 1.5rem;
}

.nx-service-card--orange .nx-service-card__icon { background: var(--nx-orange-light); }
.nx-service-card--lime .nx-service-card__icon   { background: var(--nx-lime-light); }
.nx-service-card--navy .nx-service-card__icon   { background: rgba(37,40,101,0.06); }

.nx-service-card__tag {
  display: inline-block;
  font-family: var(--nx-font-display);
  font-size: var(--nx-text-xs);
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--nx-teal);
  margin-bottom: var(--nx-space-3);
}

.nx-service-card--orange .nx-service-card__tag { color: var(--nx-orange-dark); }
.nx-service-card--lime .nx-service-card__tag   { color: #7a9a1a; }
.nx-service-card--navy .nx-service-card__tag   { color: var(--nx-navy); }

.nx-service-card h3 {
  font-size: var(--nx-text-xl);
  font-weight: 700;
  color: var(--nx-navy);
  margin-bottom: var(--nx-space-3);
}

.nx-service-card p {
  font-size: var(--nx-text-sm);
  color: var(--nx-gray-600);
  line-height: 1.75;
  margin-bottom: var(--nx-space-5);
}

.nx-service-card__list {
  display: flex;
  flex-direction: column;
  gap: var(--nx-space-2);
}

.nx-service-card__item {
  display: flex;
  align-items: center;
  gap: var(--nx-space-2);
  font-size: var(--nx-text-sm);
  color: var(--nx-gray-800);
}

.nx-service-card__item::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--nx-teal);
  flex-shrink: 0;
}

.nx-service-card--orange .nx-service-card__item::before { background: var(--nx-orange); }
.nx-service-card--lime .nx-service-card__item::before   { background: var(--nx-lime); }
.nx-service-card--navy .nx-service-card__item::before   { background: var(--nx-navy); }

.nx-service-card__num {
  position: absolute;
  bottom: var(--nx-space-4);
  right: var(--nx-space-6);
  font-family: var(--nx-font-display);
  font-size: 5rem;
  font-weight: 800;
  color: var(--nx-navy);
  opacity: 0.04;
  line-height: 1;
  pointer-events: none;
}

/* =============================================
   10. HERO — SECCIÓN DARK (navy bg)
   ============================================= */
.nx-section--navy {
  background: var(--nx-navy);
  color: var(--nx-white);
}

.nx-section--navy .nx-section-title { color: var(--nx-white); }
.nx-section--navy .nx-section-lead  { color: rgba(255,255,255,0.6); }
.nx-section--navy .nx-label         { color: var(--nx-teal); }

/* =============================================
   11. CTA BAND
   ============================================= */
.nx-cta-band {
  background: var(--nx-navy);
  padding: var(--nx-space-20) var(--nx-space-8);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.nx-cta-band::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 600px;
  height: 300px;
  background: radial-gradient(ellipse, rgba(6,199,199,0.08) 0%, transparent 70%);
  pointer-events: none;
}

.nx-cta-band h2 {
  color: var(--nx-white);
  font-size: clamp(1.5rem, 3vw, 2.25rem);
  font-weight: 700;
  margin-bottom: var(--nx-space-4);
  position: relative;
}

.nx-cta-band h2 em {
  font-style: normal;
  color: var(--nx-lime);
}

.nx-cta-band p {
  color: rgba(255,255,255,0.6);
  font-size: var(--nx-text-lg);
  margin-bottom: var(--nx-space-8);
  position: relative;
}

.nx-cta-band__actions {
  display: flex;
  gap: var(--nx-space-4);
  justify-content: center;
  flex-wrap: wrap;
  position: relative;
}

/* =============================================
   12. TOOLBOX / PORTAL CARDS
   ============================================= */
.nx-portal-card {
  background: var(--nx-white);
  border-radius: var(--nx-radius-lg);
  padding: var(--nx-space-8);
  border-top: 3px solid var(--nx-teal);
  transition: transform var(--nx-duration) var(--nx-ease), box-shadow var(--nx-duration) var(--nx-ease);
  cursor: pointer;
}

.nx-portal-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--nx-shadow-lg);
}

.nx-portal-card--orange { border-top-color: var(--nx-orange); }
.nx-portal-card--lime   { border-top-color: var(--nx-lime); }

.nx-portal-card__icon {
  width: 48px;
  height: 48px;
  border-radius: var(--nx-radius-md);
  background: var(--nx-teal-light);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  margin-bottom: var(--nx-space-4);
}

.nx-portal-card--orange .nx-portal-card__icon { background: var(--nx-orange-light); }
.nx-portal-card--lime .nx-portal-card__icon   { background: var(--nx-lime-light); }

.nx-portal-card h4 {
  font-size: var(--nx-text-lg);
  font-weight: 700;
  margin-bottom: var(--nx-space-2);
}

.nx-portal-card p {
  font-size: var(--nx-text-sm);
  color: var(--nx-gray-600);
  line-height: 1.7;
  margin-bottom: var(--nx-space-4);
}

.nx-portal-card__role {
  font-family: var(--nx-font-display);
  font-size: var(--nx-text-xs);
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--nx-teal);
}

.nx-portal-card--orange .nx-portal-card__role { color: var(--nx-orange-dark); }
.nx-portal-card--lime .nx-portal-card__role   { color: #7a9a1a; }

/* =============================================
   13. METODOLOGÍA STEPS
   ============================================= */
.nx-method-card {
  background: var(--nx-off-white);
  border-radius: var(--nx-radius-lg);
  padding: var(--nx-space-8);
  position: relative;
  overflow: hidden;
}

.nx-method-card__num {
  position: absolute;
  top: var(--nx-space-4);
  right: var(--nx-space-6);
  font-family: var(--nx-font-display);
  font-size: 5rem;
  font-weight: 800;
  color: var(--nx-navy);
  opacity: 0.05;
  line-height: 1;
}

.nx-method-card__icon {
  width: 52px;
  height: 52px;
  border-radius: var(--nx-radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: var(--nx-space-4);
}

.nx-method-card h4 {
  font-size: var(--nx-text-lg);
  font-weight: 700;
  margin-bottom: var(--nx-space-3);
}

.nx-method-card p {
  font-size: var(--nx-text-sm);
  color: var(--nx-gray-600);
  line-height: 1.75;
}

/* =============================================
   14. FORMULARIO DE CONTACTO
   ============================================= */
.nx-form {
  background: var(--nx-off-white);
  border-radius: var(--nx-radius-xl);
  padding: var(--nx-space-8) var(--nx-space-10);
}

.nx-form__row { margin-bottom: var(--nx-space-5); }

.nx-form__label {
  display: block;
  font-family: var(--nx-font-display);
  font-size: var(--nx-text-xs);
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--nx-gray-600);
  margin-bottom: var(--nx-space-2);
}

.nx-form__input,
.nx-form__select,
.nx-form__textarea {
  width: 100%;
  padding: 12px 16px;
  background: var(--nx-white);
  border: 1.5px solid var(--nx-gray-200);
  border-radius: var(--nx-radius-md);
  font-family: var(--nx-font-body);
  font-size: var(--nx-text-base);
  color: var(--nx-navy);
  outline: none;
  transition: border-color var(--nx-duration) var(--nx-ease);
}

.nx-form__input:focus,
.nx-form__select:focus,
.nx-form__textarea:focus {
  border-color: var(--nx-teal);
  box-shadow: 0 0 0 3px rgba(6,199,199,0.12);
}

.nx-form__textarea { resize: vertical; min-height: 120px; }

.nx-form__submit {
  width: 100%;
  padding: 14px;
  background: var(--nx-navy);
  color: var(--nx-white);
  border: none;
  border-radius: var(--nx-radius-md);
  font-family: var(--nx-font-display);
  font-size: var(--nx-text-sm);
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background var(--nx-duration) var(--nx-ease), transform var(--nx-duration) var(--nx-ease);
}

.nx-form__submit:hover {
  background: var(--nx-teal);
  color: var(--nx-navy);
  transform: translateY(-1px);
}

/* =============================================
   15. BLOG CARDS
   ============================================= */
.nx-blog-card {
  background: var(--nx-white);
  border-radius: var(--nx-radius-lg);
  overflow: hidden;
  border: 1px solid var(--nx-gray-200);
  transition: transform var(--nx-duration) var(--nx-ease), box-shadow var(--nx-duration) var(--nx-ease);
}

.nx-blog-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--nx-shadow-lg);
}

.nx-blog-card__img {
  height: 180px;
  background: var(--nx-teal-light);
  overflow: hidden;
}

.nx-blog-card__img img { width: 100%; height: 100%; object-fit: cover; }

.nx-blog-card__body { padding: var(--nx-space-6); }

.nx-blog-card__cat {
  display: inline-block;
  font-family: var(--nx-font-display);
  font-size: var(--nx-text-xs);
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--nx-teal);
  margin-bottom: var(--nx-space-3);
}

.nx-blog-card__title {
  font-size: var(--nx-text-lg);
  font-weight: 700;
  color: var(--nx-navy);
  line-height: 1.35;
  margin-bottom: var(--nx-space-3);
}

.nx-blog-card__excerpt {
  font-size: var(--nx-text-sm);
  color: var(--nx-gray-600);
  line-height: 1.7;
}

.nx-blog-card__meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: var(--nx-space-4);
  padding-top: var(--nx-space-4);
  border-top: 1px solid var(--nx-gray-200);
  font-size: var(--nx-text-xs);
  color: var(--nx-gray-400);
}

/* =============================================
   16. FOOTER
   ============================================= */
.nx-footer {
  background: var(--nx-black);
  padding: var(--nx-space-16) 0 var(--nx-space-8);
}

.nx-footer__grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: var(--nx-space-10);
  margin-bottom: var(--nx-space-12);
}

.nx-footer__brand-desc {
  color: rgba(255,255,255,0.4);
  font-size: var(--nx-text-sm);
  line-height: 1.75;
  margin-top: var(--nx-space-4);
}

.nx-footer__brand-contact {
  margin-top: var(--nx-space-4);
  font-size: var(--nx-text-sm);
  color: rgba(255,255,255,0.3);
  line-height: 1.8;
}

.nx-footer__col-title {
  font-family: var(--nx-font-display);
  font-size: var(--nx-text-xs);
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.5);
  margin-bottom: var(--nx-space-5);
}

.nx-footer__link {
  display: block;
  color: rgba(255,255,255,0.35);
  font-size: var(--nx-text-sm);
  margin-bottom: var(--nx-space-3);
  transition: color var(--nx-duration) var(--nx-ease);
}

.nx-footer__link:hover { color: var(--nx-teal); }

.nx-footer__bottom {
  border-top: 1px solid rgba(255,255,255,0.07);
  padding-top: var(--nx-space-6);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.nx-footer__copy {
  font-size: var(--nx-text-xs);
  color: rgba(255,255,255,0.2);
}

.nx-footer__social {
  display: flex;
  gap: var(--nx-space-3);
}

.nx-social-icon {
  width: 34px;
  height: 34px;
  border-radius: var(--nx-radius-md);
  background: rgba(255,255,255,0.06);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.35);
  font-size: var(--nx-text-sm);
  font-family: var(--nx-font-display);
  font-weight: 600;
  transition: background var(--nx-duration) var(--nx-ease), color var(--nx-duration) var(--nx-ease);
  cursor: pointer;
}

.nx-social-icon:hover {
  background: var(--nx-teal);
  color: var(--nx-navy);
}

@media (max-width: 768px) {
  .nx-footer__grid { grid-template-columns: 1fr 1fr; gap: var(--nx-space-8); }
  .nx-footer__bottom { flex-direction: column; gap: var(--nx-space-4); text-align: center; }
}

/* =============================================
   17. WHATSAPP FLOAT
   ============================================= */
.nx-wa-float {
  position: fixed;
  bottom: 28px;
  right: 28px;
  z-index: 9998;
  display: flex;
  align-items: center;
  gap: var(--nx-space-3);
  background: var(--nx-white);
  border-radius: var(--nx-radius-full);
  padding: 10px 18px 10px 10px;
  box-shadow: var(--nx-shadow-xl);
  cursor: pointer;
  border: 1px solid var(--nx-gray-200);
  transition: transform var(--nx-duration) var(--nx-ease), box-shadow var(--nx-duration) var(--nx-ease);
  text-decoration: none;
}

.nx-wa-float:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 40px rgba(0,0,0,0.2);
}

.nx-wa-float__dot {
  width: 38px;
  height: 38px;
  background: #25D366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.nx-wa-float__label {
  font-family: var(--nx-font-display);
  font-size: var(--nx-text-sm);
  font-weight: 600;
  color: var(--nx-navy);
}

.nx-wa-float__sub {
  font-size: var(--nx-text-xs);
  color: var(--nx-gray-400);
}

/* =============================================
   18. ELEMENTOR OVERRIDES & HELPERS
   ============================================= */
.elementor-section,
.elementor-container {
  max-width: 1200px;
}

.e-con, .e-con-inner {
  --container-max-width: 1200px;
}

/* Fondo navy para secciones Elementor */
.nx-bg-navy { background-color: var(--nx-navy) !important; }
.nx-bg-offwhite { background-color: var(--nx-off-white) !important; }
.nx-bg-white { background-color: var(--nx-white) !important; }
.nx-bg-teal { background-color: var(--nx-teal) !important; }

/* Texto sobre fondos oscuros */
.nx-text-white, .nx-bg-navy h1,
.nx-bg-navy h2, .nx-bg-navy h3,
.nx-bg-navy h4 { color: var(--nx-white) !important; }

.nx-text-teal  { color: var(--nx-teal) !important; }
.nx-text-lime  { color: var(--nx-lime) !important; }
.nx-text-orange{ color: var(--nx-orange) !important; }
.nx-text-navy  { color: var(--nx-navy) !important; }
.nx-text-muted { color: rgba(255,255,255,0.55) !important; }

/* Separador de color */
.nx-divider {
  width: 48px;
  height: 3px;
  background: var(--nx-teal);
  margin: var(--nx-space-4) 0;
  border-radius: var(--nx-radius-full);
}

.nx-divider--lime   { background: var(--nx-lime); }
.nx-divider--orange { background: var(--nx-orange); }
.nx-divider--center { margin: var(--nx-space-4) auto; }

/* Elementor heading overrides */
.elementor-widget-heading .elementor-heading-title { font-family: var(--nx-font-display); }
.elementor-widget-text-editor { font-family: var(--nx-font-body); }

/* Botón Elementor */
.elementor-widget-button .elementor-button {
  font-family: var(--nx-font-display);
  letter-spacing: 0.06em;
  font-weight: 600;
}

/* =============================================
   19. PAGE — HERO INTERNO (páginas internas)
   ============================================= */
.nx-page-hero {
  background: var(--nx-navy);
  padding: var(--nx-space-20) 0 var(--nx-space-16);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.nx-page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 50% 60% at 50% 100%, rgba(6,199,199,0.07) 0%, transparent 70%);
  pointer-events: none;
}

.nx-page-hero h1 {
  color: var(--nx-white);
  position: relative;
}
.nx-page-hero .nx-label { display: block; margin-bottom: var(--nx-space-4); }
.nx-page-hero p {
  color: rgba(255,255,255,0.55);
  font-size: var(--nx-text-lg);
  max-width: 600px;
  margin: 0 auto;
  position: relative;
}

/* =============================================
   20. LOGIN / TOOLBOX PAGE
   ============================================= */
.nx-login-wrap {
  background: var(--nx-navy);
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--nx-space-8);
}

.nx-login-box {
  background: var(--nx-white);
  border-radius: var(--nx-radius-xl);
  padding: var(--nx-space-10) var(--nx-space-12);
  width: 100%;
  max-width: 440px;
  box-shadow: var(--nx-shadow-xl);
}

.nx-login-box__title {
  text-align: center;
  margin-bottom: var(--nx-space-8);
}

.nx-role-tabs {
  display: flex;
  background: var(--nx-gray-100);
  border-radius: var(--nx-radius-md);
  padding: 4px;
  gap: 4px;
  margin-bottom: var(--nx-space-6);
}

.nx-role-tab {
  flex: 1;
  text-align: center;
  padding: 9px 12px;
  border-radius: calc(var(--nx-radius-md) - 2px);
  font-family: var(--nx-font-display);
  font-size: var(--nx-text-sm);
  font-weight: 600;
  cursor: pointer;
  color: var(--nx-gray-600);
  transition: all var(--nx-duration) var(--nx-ease);
  border: none;
  background: transparent;
}

.nx-role-tab.active {
  background: var(--nx-white);
  color: var(--nx-navy);
  box-shadow: var(--nx-shadow-sm);
}

/* =============================================
   21. ANIMACIONES DE ENTRADA (AOS-compatible)
   ============================================= */
.nx-fade-up {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s var(--nx-ease), transform 0.6s var(--nx-ease);
}

.nx-fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}

.nx-delay-1 { transition-delay: 0.1s; }
.nx-delay-2 { transition-delay: 0.2s; }
.nx-delay-3 { transition-delay: 0.3s; }
.nx-delay-4 { transition-delay: 0.4s; }

/* =============================================
   22. RESPONSIVE GENERAL
   ============================================= */
@media (max-width: 1024px) {
  .nx-hero__circles { width: 280px; height: 280px; }
  .nx-circle--1 { width: 150px; height: 150px; }
  .nx-circle--2 { width: 120px; height: 120px; }
  .nx-circle--3 { width: 110px; height: 110px; }
}

@media (max-width: 768px) {
  .nx-header__inner { padding: 0 var(--nx-space-4); }
  .nx-nav { display: none; }
  .nx-hero { padding: var(--nx-space-12) 0; min-height: auto; }
  .nx-hero__circles { display: none; }
  .nx-hero__stats { gap: var(--nx-space-6); }
  .nx-form { padding: var(--nx-space-6); }
  .nx-login-box { padding: var(--nx-space-8); }
}

@media (max-width: 480px) {
  .nx-hero__actions { flex-direction: column; }
  .nx-btn { width: 100%; justify-content: center; }
  .nx-hero__stats { flex-wrap: wrap; gap: var(--nx-space-4); }
  .nx-wa-float { bottom: 16px; right: 16px; }
}
