/* ============================================================
   NODIZO — LANDING PAGE CSS
   Orden: Variables → Reset → Base → Layout → Components →
          Sections → Responsive
============================================================ */


/* ============================================================
   1. DESIGN TOKENS
============================================================ */
:root {
  /* === NODIZO BRAND PALETTE (dark mode) === */
  /* Brand source colors:
     navy #17224D · cyan #1AA3FF · turquoise #17E9E1 · pink #FF708C · off-white #F5FAFA · gray #D3D3D3 */

  /* "purple" slot remapped to Nodizo cyan (primary accent) */
  --color-purple:       #1AA3FF;
  --color-purple-light: #5EC2FF;
  --color-purple-dark:  #0B7AC9;
  --color-purple-bg:    rgba(26, 163, 255, 0.12);

  /* "teal" slot remapped to Nodizo turquoise */
  --color-teal:         #17E9E1;
  --color-teal-light:   #6FF3EE;
  --color-teal-dark:    #0FB8B1;
  --color-teal-bg:      rgba(23, 233, 225, 0.12);

  /* "blue" slot = cyan as well (sibling of primary) */
  --color-blue:         #1AA3FF;
  --color-blue-light:   #7CC8FF;
  --color-blue-dark:    #0B7AC9;
  --color-blue-bg:      rgba(26, 163, 255, 0.12);

  /* "pink" slot = Nodizo coral pink */
  --color-pink:         #FF708C;
  --color-pink-light:   #FFA3B6;
  --color-pink-dark:    #E14A6A;
  --color-pink-bg:      rgba(255, 112, 140, 0.12);

  /* Neutros — INVERTIDOS para modo oscuro.
     gray-900 (antes "texto principal") -> casi blanco
     gray-50  (antes "fondo claro")     -> navy más profundo
     color-white (antes fondo)          -> navy base de la marca */
  --color-white:        #17224D;          /* fondo base */
  --color-gray-50:      #0F1838;          /* fondo de secciones alternas (más oscuro) */
  --color-gray-100:     #1B2A5A;          /* superficies/cards */
  --color-gray-200:     #283878;          /* bordes sutiles */
  --color-gray-300:     #3B4A8F;          /* bordes */
  --color-gray-400:     #6B78A8;          /* texto deshabilitado */
  --color-gray-500:     #9AA4C7;          /* texto secundario */
  --color-gray-600:     #B8C0DC;          /* texto regular */
  --color-gray-700:     #D4DAEE;          /* texto fuerte */
  --color-gray-800:     #ECEFF9;          /* texto casi-título */
  --color-gray-900:     #F5FAFA;          /* títulos (off-white de marca) */

  /* Gradientes */
  --gradient-primary:   linear-gradient(135deg, #17E9E1 0%, #1AA3FF 100%);
  --gradient-teal:      linear-gradient(135deg, #17E9E1 0%, #1AA3FF 100%);
  --gradient-hero:      radial-gradient(ellipse at top, #1B2A5A 0%, #17224D 50%, #0F1838 100%);
  --gradient-benefits:  linear-gradient(160deg, #0F1838 0%, #17224D 60%, #1B2A5A 100%);
  --gradient-cta:       linear-gradient(135deg, #0B7AC9 0%, #1AA3FF 50%, #17E9E1 100%);
  --gradient-text:      linear-gradient(135deg, #17E9E1 0%, #1AA3FF 55%, #FF708C 100%);

  /* Tipografía — Poppins (oficial Nodizo) */
  --font-family:        'Poppins', 'Helvetica', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-size-xs:       0.75rem;    /* 12px */
  --font-size-sm:       0.875rem;   /* 14px */
  --font-size-base:     1rem;       /* 16px */
  --font-size-lg:       1.125rem;   /* 18px */
  --font-size-xl:       1.25rem;    /* 20px */
  --font-size-2xl:      1.5rem;     /* 24px */
  --font-size-3xl:      1.875rem;   /* 30px */
  --font-size-4xl:      2.25rem;    /* 36px */
  --font-size-5xl:      3rem;       /* 48px */
  --font-size-6xl:      3.75rem;    /* 60px */

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

  /* Radios */
  --radius-sm:   0.375rem;
  --radius-md:   0.5rem;
  --radius-lg:   0.75rem;
  --radius-xl:   1rem;
  --radius-2xl:  1.5rem;
  --radius-3xl:  2rem;
  --radius-full: 9999px;

  /* Sombras */
  --shadow-xs:  0 1px 2px 0 rgb(0 0 0 / 0.05);
  --shadow-sm:  0 1px 3px 0 rgb(0 0 0 / 0.07), 0 1px 2px -1px rgb(0 0 0 / 0.07);
  --shadow-md:  0 4px 6px -1px rgb(0 0 0 / 0.07), 0 2px 4px -2px rgb(0 0 0 / 0.07);
  --shadow-lg:  0 10px 15px -3px rgb(0 0 0 / 0.08), 0 4px 6px -4px rgb(0 0 0 / 0.05);
  --shadow-xl:  0 20px 25px -5px rgb(0 0 0 / 0.08), 0 8px 10px -6px rgb(0 0 0 / 0.05);
  --shadow-2xl: 0 25px 50px -12px rgb(0 0 0 / 0.15);
  --shadow-purple: 0 8px 30px -4px rgb(26 163 255 / 0.35);
  --shadow-teal:   0 8px 30px -4px rgb(23 233 225 / 0.30);

  /* Transiciones */
  --transition-fast:   150ms ease;
  --transition-base:   250ms ease;
  --transition-slow:   400ms ease;

  /* Layout */
  --container-max:  1200px;
  --section-py:     var(--space-24);
  --navbar-height:  72px;
}


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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-family);
  font-size: var(--font-size-base);
  line-height: 1.6;
  color: var(--color-gray-800);
  background-color: var(--color-white);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }
input, select, textarea { font-family: inherit; }


/* ============================================================
   3. LAYOUT
============================================================ */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin-inline: auto;
  padding-inline: var(--space-6);
}


/* ============================================================
   4. TYPOGRAPHY UTILITIES
============================================================ */
.gradient-text {
  background: var(--gradient-text);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.section-header {
  text-align: center;
  max-width: 720px;
  margin-inline: auto;
  margin-bottom: var(--space-16);
}

.section-tag {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  font-size: var(--font-size-sm);
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--color-purple);
  background: var(--color-purple-bg);
  padding: var(--space-1) var(--space-3);
  border-radius: var(--radius-full);
  margin-bottom: var(--space-4);
}

.section-tag--light {
  color: var(--color-teal-light);
  background: rgb(255 255 255 / 0.1);
}

.section-title {
  font-size: var(--font-size-4xl);
  font-weight: 800;
  line-height: 1.2;
  color: var(--color-gray-900);
  letter-spacing: -0.025em;
  margin-bottom: var(--space-4);
}

.section-header--light .section-title {
  color: var(--color-white);
}

.section-subtitle {
  font-size: var(--font-size-lg);
  color: var(--color-gray-500);
  line-height: 1.7;
}

.section-header--light .section-subtitle {
  color: rgb(255 255 255 / 0.65);
}


/* ============================================================
   5. BUTTONS
============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  font-weight: 600;
  border-radius: var(--radius-lg);
  transition: all var(--transition-base);
  white-space: nowrap;
  cursor: pointer;
  text-decoration: none;
  position: relative;
  overflow: hidden;
}

/* Sizes */
.btn--sm  { font-size: var(--font-size-sm);  padding: 0.5rem 1rem; }
.btn--lg  { font-size: var(--font-size-base); padding: 0.875rem 1.75rem; }
.btn--xl  { font-size: var(--font-size-lg);  padding: 1.125rem 2rem; }
.btn--full { width: 100%; }

/* Primary */
.btn--primary {
  background: var(--gradient-primary);
  color: var(--color-white);
  box-shadow: var(--shadow-purple);
}
.btn--primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 40px -4px rgb(124 58 237 / 0.4);
  filter: brightness(1.08);
}
.btn--primary:active { transform: translateY(0); }

/* Outline */
.btn--outline {
  background: transparent;
  color: var(--color-gray-700);
  border: 1.5px solid var(--color-gray-300);
}
.btn--outline:hover {
  border-color: var(--color-purple);
  color: var(--color-purple);
  background: var(--color-purple-bg);
}

/* Ghost */
.btn--ghost {
  background: transparent;
  color: var(--color-gray-600);
  border: 1.5px solid transparent;
}
.btn--ghost:hover {
  color: var(--color-gray-900);
  background: var(--color-gray-100);
}

/* White outline (para fondos oscuros) */
.btn--white-outline {
  background: transparent;
  color: var(--color-white);
  border: 1.5px solid rgb(255 255 255 / 0.4);
}
.btn--white-outline:hover {
  background: rgb(255 255 255 / 0.1);
  border-color: var(--color-white);
}


/* ============================================================
   6. NAVBAR
============================================================ */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  height: var(--navbar-height);
  background: rgb(23 34 77 / 0.75);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgb(26 163 255 / 0.08);
  transition: all var(--transition-base);
}

.navbar.scrolled {
  background: rgb(15 24 56 / 0.92);
  border-bottom-color: rgb(26 163 255 / 0.18);
  box-shadow: 0 4px 20px -4px rgb(0 0 0 / 0.5);
}

.logo-img {
  height: 40px;
  width: auto;
  display: block;
  transition: opacity var(--transition-base);
}
@media (min-width: 1024px) {
  .logo-img { height: 44px; }
}
.footer__brand .logo-img { height: 52px; }

.navbar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  gap: var(--space-8);
}

.navbar__logo {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  text-decoration: none;
  flex-shrink: 0;
}

.logo-mark {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  background: var(--gradient-primary);
  color: var(--color-white);
  font-size: var(--font-size-lg);
  font-weight: 800;
  border-radius: var(--radius-md);
  letter-spacing: -0.05em;
}

.logo-text {
  font-size: var(--font-size-xl);
  font-weight: 800;
  color: var(--color-gray-900);
  letter-spacing: -0.03em;
}

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

.navbar__links a {
  font-size: var(--font-size-sm);
  font-weight: 500;
  color: var(--color-gray-600);
  transition: color var(--transition-fast);
}

.navbar__links a:hover { color: var(--color-gray-900); }

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

.navbar__hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: var(--space-2);
  border-radius: var(--radius-sm);
}

.navbar__hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--color-gray-700);
  border-radius: 2px;
  transition: all var(--transition-base);
}

.navbar__hamburger.open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.navbar__hamburger.open span:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}
.navbar__hamburger.open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}


/* ============================================================
   7. HERO
============================================================ */
.hero {
  min-height: 100vh;
  background: var(--gradient-hero);
  padding-top: calc(var(--navbar-height) + var(--space-16));
  padding-bottom: var(--space-24);
  position: relative;
  overflow: hidden;
}

/* Decorative blobs */
.hero::before,
.hero::after {
  content: '';
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  pointer-events: none;
}
.hero::before {
  width: 500px;
  height: 500px;
  background: rgb(124 58 237 / 0.10);
  top: -100px;
  right: -100px;
}
.hero::after {
  width: 400px;
  height: 400px;
  background: rgb(13 148 136 / 0.10);
  bottom: 0;
  left: -50px;
}

.hero__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  position: relative;
  z-index: 1;
}

.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  font-size: var(--font-size-sm);
  font-weight: 500;
  color: var(--color-purple);
  background: var(--color-white);
  border: 1px solid var(--color-purple-light);
  padding: var(--space-2) var(--space-4);
  border-radius: var(--radius-full);
  margin-bottom: var(--space-8);
  box-shadow: var(--shadow-sm);
}

.badge__dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--color-teal);
  box-shadow: 0 0 0 3px rgb(13 148 136 / 0.2);
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 3px rgb(13 148 136 / 0.2); }
  50%       { box-shadow: 0 0 0 6px rgb(13 148 136 / 0.0); }
}

.hero__title {
  font-size: var(--font-size-6xl);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.04em;
  color: var(--color-gray-900);
  margin-bottom: var(--space-6);
  max-width: 820px;
}

.hero__subtitle {
  font-size: var(--font-size-xl);
  color: var(--color-gray-500);
  line-height: 1.7;
  max-width: 640px;
  margin-bottom: var(--space-10);
}

.hero__cta {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-4);
  justify-content: center;
  margin-bottom: var(--space-12);
}

.hero__trust {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-3);
  margin-bottom: var(--space-16);
}

.trust__label {
  font-size: var(--font-size-xs);
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-gray-400);
}

.trust__logos {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
}

.trust__logo {
  font-size: var(--font-size-sm);
  font-weight: 600;
  color: var(--color-gray-500);
}

.trust__separator {
  color: var(--color-gray-300);
}

/* Dashboard Mockup */
.hero__visual {
  width: 100%;
  max-width: 700px;
}

.dashboard-mockup {
  background: var(--color-white);
  border-radius: var(--radius-2xl);
  box-shadow: var(--shadow-2xl), 0 0 0 1px rgb(0 0 0 / 0.05);
  overflow: hidden;
}

.mockup__topbar {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  padding: var(--space-4) var(--space-6);
  background: var(--color-gray-50);
  border-bottom: 1px solid var(--color-gray-200);
}

.mockup__dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
}
.mockup__dot--red    { background: #ff5f57; }
.mockup__dot--yellow { background: #ffbd2e; }
.mockup__dot--green  { background: #28c840; }

.mockup__title {
  font-size: var(--font-size-xs);
  font-weight: 500;
  color: var(--color-gray-400);
  margin-left: var(--space-2);
}

.mockup__body {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--color-gray-200);
  padding: 0;
}

.mockup__stat {
  display: flex;
  flex-direction: column;
  gap: var(--space-1);
  padding: var(--space-6);
  background: var(--color-white);
}

.stat__label {
  font-size: var(--font-size-xs);
  font-weight: 500;
  color: var(--color-gray-400);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.stat__value {
  font-size: var(--font-size-3xl);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1;
}

.stat__value--purple { color: var(--color-purple); }
.stat__value--teal   { color: var(--color-teal); }
.stat__value--blue   { color: var(--color-blue); }

.stat__delta {
  font-size: var(--font-size-xs);
  font-weight: 600;
  color: var(--color-teal);
  background: var(--color-teal-bg);
  padding: 2px 6px;
  border-radius: var(--radius-full);
  width: fit-content;
}

.mockup__pipeline {
  display: flex;
  gap: var(--space-3);
  align-items: flex-end;
  padding: var(--space-6);
  border-top: 1px solid var(--color-gray-100);
}

.pipeline__stage {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-2);
  flex: 1;
}

.stage__name {
  font-size: 10px;
  font-weight: 500;
  color: var(--color-gray-400);
  white-space: nowrap;
}

.stage__bar {
  width: 100%;
  border-radius: var(--radius-sm);
}

.stage__bar--1 { height: 60px;  background: linear-gradient(180deg, var(--color-purple-light), var(--color-purple)); }
.stage__bar--2 { height: 45px;  background: linear-gradient(180deg, #60a5fa, var(--color-blue)); }
.stage__bar--3 { height: 36px;  background: linear-gradient(180deg, var(--color-teal-light), var(--color-teal)); }
.stage__bar--4 { height: 28px;  background: linear-gradient(180deg, var(--color-pink-light), var(--color-pink)); }
.stage__bar--5 { height: 52px;  background: linear-gradient(180deg, #86efac, #16a34a); }

.stage__count {
  font-size: var(--font-size-xs);
  font-weight: 700;
  color: var(--color-gray-600);
}


/* ============================================================
   8. PROBLEMS
============================================================ */
.problems {
  padding-block: var(--space-24);
  background: var(--color-white);
}

.problems__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-6);
}

.problem-card {
  background: var(--color-gray-50);
  border: 1px solid var(--color-gray-200);
  border-radius: var(--radius-xl);
  padding: var(--space-8);
  transition: all var(--transition-base);
}

.problem-card:hover {
  border-color: var(--color-purple-light);
  box-shadow: var(--shadow-lg);
  transform: translateY(-3px);
}

.problem-card--highlight {
  background: var(--gradient-primary);
  border-color: transparent;
  color: var(--color-white);
}

.problem-card--highlight .problem-card__title {
  color: var(--color-white);
}

.problem-card--highlight .problem-card__text {
  color: rgb(255 255 255 / 0.85);
}

.problem-card--highlight .problem-card__icon {
  background: rgb(255 255 255 / 0.15);
  color: var(--color-white);
}

.problem-card__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  background: var(--color-white);
  border-radius: var(--radius-lg);
  color: var(--color-purple);
  margin-bottom: var(--space-5);
  box-shadow: var(--shadow-sm);
}

.problem-card__title {
  font-size: var(--font-size-lg);
  font-weight: 700;
  color: var(--color-gray-900);
  margin-bottom: var(--space-3);
  line-height: 1.3;
}

.problem-card__text {
  font-size: var(--font-size-sm);
  color: var(--color-gray-500);
  line-height: 1.7;
}


/* ============================================================
   9. SERVICES
============================================================ */
.services {
  padding-block: var(--space-24);
  background: var(--color-gray-50);
  border-top: 1px solid var(--color-gray-200);
  border-bottom: 1px solid var(--color-gray-200);
}

.services__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-6);
  margin-bottom: var(--space-16);
}

.service-card {
  background: var(--color-white);
  border: 1px solid var(--color-gray-200);
  border-radius: var(--radius-xl);
  padding: var(--space-8);
  transition: all var(--transition-base);
  position: relative;
  overflow: hidden;
}

.service-card::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: var(--radius-xl);
  border: 2px solid transparent;
  transition: border-color var(--transition-base);
  pointer-events: none;
}

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

.service-card:hover::after {
  border-color: var(--color-purple-light);
}

.service-card--featured {
  grid-column: span 1;
  border-color: var(--color-purple-light);
  background: var(--color-purple-bg);
}

.service-card--featured::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--gradient-primary);
  border-radius: var(--radius-xl) var(--radius-xl) 0 0;
}

.service-card__tag {
  display: inline-flex;
  font-size: var(--font-size-xs);
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-purple);
  background: var(--color-purple-bg);
  border: 1px solid var(--color-purple-light);
  padding: 2px 8px;
  border-radius: var(--radius-full);
  margin-bottom: var(--space-4);
}

.service-card__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  border-radius: var(--radius-lg);
  margin-bottom: var(--space-5);
  color: var(--color-white);
}

.service-card__icon--purple { background: linear-gradient(135deg, var(--color-purple-dark), var(--color-purple)); }
.service-card__icon--teal   { background: linear-gradient(135deg, var(--color-teal-dark), var(--color-teal)); }
.service-card__icon--blue   { background: linear-gradient(135deg, var(--color-blue-dark), var(--color-blue)); }
.service-card__icon--pink   { background: linear-gradient(135deg, var(--color-pink-dark), var(--color-pink)); }

.service-card__title {
  font-size: var(--font-size-xl);
  font-weight: 700;
  color: var(--color-gray-900);
  margin-bottom: var(--space-3);
  line-height: 1.3;
}

.service-card__text {
  font-size: var(--font-size-sm);
  color: var(--color-gray-500);
  line-height: 1.7;
  margin-bottom: var(--space-5);
}

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

.service-card__list li {
  display: flex;
  align-items: flex-start;
  gap: var(--space-2);
  font-size: var(--font-size-sm);
  color: var(--color-gray-600);
}

.service-card__list li::before {
  content: '→';
  color: var(--color-purple);
  font-weight: 700;
  flex-shrink: 0;
  margin-top: 1px;
}

.services__cta {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-3);
}

.services__cta-note {
  font-size: var(--font-size-sm);
  color: var(--color-gray-400);
}


/* ============================================================
   10. BENEFITS
============================================================ */
.benefits {
  padding-block: var(--space-24);
  background: var(--gradient-benefits);
  position: relative;
  overflow: hidden;
}

.benefits::before {
  content: '';
  position: absolute;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgb(124 58 237 / 0.15) 0%, transparent 70%);
  top: -200px;
  right: -100px;
  pointer-events: none;
}

.benefits::after {
  content: '';
  position: absolute;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgb(13 148 136 / 0.12) 0%, transparent 70%);
  bottom: -150px;
  left: -50px;
  pointer-events: none;
}

.benefits .container { position: relative; z-index: 1; }

.benefits__stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-6);
  margin-bottom: var(--space-16);
}

.stat-card {
  text-align: center;
  padding: var(--space-8) var(--space-6);
  background: rgb(255 255 255 / 0.05);
  border: 1px solid rgb(255 255 255 / 0.1);
  border-radius: var(--radius-xl);
  transition: all var(--transition-base);
}

.stat-card:hover {
  background: rgb(255 255 255 / 0.08);
  border-color: rgb(255 255 255 / 0.2);
  transform: translateY(-3px);
}

.stat-card__number {
  display: block;
  font-size: var(--font-size-5xl);
  font-weight: 800;
  letter-spacing: -0.04em;
  background: var(--gradient-text);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
  margin-bottom: var(--space-2);
}

.stat-card__label {
  display: block;
  font-size: var(--font-size-sm);
  font-weight: 700;
  color: var(--color-white);
  margin-bottom: var(--space-3);
}

.stat-card__desc {
  font-size: var(--font-size-xs);
  color: rgb(255 255 255 / 0.5);
  line-height: 1.6;
}

.benefits__list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-6);
}

.benefit-item {
  display: flex;
  align-items: flex-start;
  gap: var(--space-4);
  padding: var(--space-6);
  background: rgb(255 255 255 / 0.04);
  border: 1px solid rgb(255 255 255 / 0.08);
  border-radius: var(--radius-xl);
  transition: all var(--transition-base);
}

.benefit-item:hover {
  background: rgb(255 255 255 / 0.07);
  border-color: rgb(124 58 237 / 0.4);
}

.benefit-item__check {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  background: linear-gradient(135deg, var(--color-teal-dark), var(--color-teal));
  color: var(--color-white);
  border-radius: 50%;
  flex-shrink: 0;
}

.benefit-item__content h4 {
  font-size: var(--font-size-base);
  font-weight: 700;
  color: var(--color-white);
  margin-bottom: var(--space-1);
}

.benefit-item__content p {
  font-size: var(--font-size-sm);
  color: rgb(255 255 255 / 0.55);
  line-height: 1.6;
}


/* ============================================================
   11. INDUSTRIES
============================================================ */
.industries {
  padding-block: var(--space-24);
  background: var(--color-white);
}

.industries__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-6);
}

.industry-card {
  padding: var(--space-8);
  border: 1px solid var(--color-gray-200);
  border-radius: var(--radius-xl);
  transition: all var(--transition-base);
  position: relative;
  background: var(--color-white);
}

.industry-card:hover {
  border-color: var(--color-teal-light);
  box-shadow: var(--shadow-teal);
  transform: translateY(-4px);
}

.industry-card__icon {
  color: var(--color-teal);
  margin-bottom: var(--space-5);
  transition: transform var(--transition-base);
}

.industry-card:hover .industry-card__icon {
  transform: scale(1.1);
}

.industry-card__name {
  font-size: var(--font-size-lg);
  font-weight: 700;
  color: var(--color-gray-900);
  margin-bottom: var(--space-3);
  line-height: 1.3;
}

.industry-card__text {
  font-size: var(--font-size-sm);
  color: var(--color-gray-500);
  line-height: 1.7;
  margin-bottom: var(--space-4);
}

.industry-card__tag {
  display: inline-flex;
  font-size: var(--font-size-xs);
  font-weight: 600;
  color: var(--color-teal);
  background: var(--color-teal-bg);
  padding: 3px 10px;
  border-radius: var(--radius-full);
  border: 1px solid rgb(13 148 136 / 0.2);
}


/* ============================================================
   12. PROCESS
============================================================ */
.process {
  padding-block: var(--space-24);
  background: var(--color-gray-50);
  border-top: 1px solid var(--color-gray-200);
  border-bottom: 1px solid var(--color-gray-200);
}

.process__steps {
  display: flex;
  flex-direction: column;
  gap: 0;
  position: relative;
  max-width: 800px;
  margin-inline: auto;
}

/* Línea vertical conectora */
.process__steps::before {
  content: '';
  position: absolute;
  left: 31px;
  top: 0;
  bottom: 0;
  width: 2px;
  background: linear-gradient(180deg, var(--color-purple), var(--color-teal));
}

.process-step {
  display: flex;
  gap: var(--space-8);
  align-items: flex-start;
  padding: var(--space-8) 0;
  position: relative;
}

.process-step + .process-step {
  border-top: none;
}

.process-step__number {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 64px;
  height: 64px;
  flex-shrink: 0;
  border-radius: 50%;
  background: var(--color-white);
  border: 2px solid var(--color-purple-light);
  font-size: var(--font-size-lg);
  font-weight: 800;
  color: var(--color-purple);
  position: relative;
  z-index: 1;
  transition: all var(--transition-base);
  box-shadow: var(--shadow-md);
}

.process-step:hover .process-step__number {
  background: var(--gradient-primary);
  color: var(--color-white);
  border-color: transparent;
  box-shadow: var(--shadow-purple);
  transform: scale(1.08);
}

.process-step__content {
  flex: 1;
  padding-top: var(--space-3);
}

.process-step__title {
  font-size: var(--font-size-xl);
  font-weight: 700;
  color: var(--color-gray-900);
  margin-bottom: var(--space-3);
}

.process-step__text {
  font-size: var(--font-size-base);
  color: var(--color-gray-500);
  line-height: 1.7;
  margin-bottom: var(--space-3);
}

.process-step__duration {
  display: inline-flex;
  font-size: var(--font-size-xs);
  font-weight: 600;
  color: var(--color-teal);
  background: var(--color-teal-bg);
  padding: 3px 10px;
  border-radius: var(--radius-full);
  border: 1px solid rgb(13 148 136 / 0.2);
}


/* ============================================================
   13. TESTIMONIALS
============================================================ */
.testimonials {
  padding-block: var(--space-24);
  background: var(--color-white);
}

.testimonials__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-6);
}

.testimonial-card {
  background: var(--color-gray-50);
  border: 1px solid var(--color-gray-200);
  border-radius: var(--radius-2xl);
  padding: var(--space-8);
  transition: all var(--transition-base);
  display: flex;
  flex-direction: column;
  gap: var(--space-5);
}

.testimonial-card:hover {
  box-shadow: var(--shadow-xl);
  border-color: var(--color-purple-light);
  transform: translateY(-3px);
}

.testimonial-card--featured {
  background: var(--color-purple-bg);
  border-color: var(--color-purple-light);
  grid-column: span 2;
  flex-direction: row;
  align-items: center;
  gap: var(--space-12);
}

.testimonial-card__stars {
  display: flex;
  gap: 3px;
  color: #f59e0b;
}

.testimonial-card--featured .testimonial-card__stars {
  justify-content: flex-start;
}

.testimonial-card__quote {
  font-size: var(--font-size-base);
  color: var(--color-gray-600);
  line-height: 1.8;
  font-style: italic;
  flex: 1;
}

.testimonial-card--featured .testimonial-card__quote {
  font-size: var(--font-size-lg);
  color: var(--color-gray-700);
}

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

.author__avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: var(--font-size-sm);
  font-weight: 700;
  color: var(--color-white);
  flex-shrink: 0;
}

.author__avatar--purple { background: linear-gradient(135deg, var(--color-purple-dark), var(--color-purple)); }
.author__avatar--teal   { background: linear-gradient(135deg, var(--color-teal-dark), var(--color-teal)); }
.author__avatar--blue   { background: linear-gradient(135deg, var(--color-blue-dark), var(--color-blue)); }
.author__avatar--pink   { background: linear-gradient(135deg, var(--color-pink-dark), var(--color-pink)); }

.author__name {
  display: block;
  font-size: var(--font-size-sm);
  font-weight: 700;
  color: var(--color-gray-900);
}

.author__role {
  display: block;
  font-size: var(--font-size-xs);
  color: var(--color-gray-400);
}

/* Featured layout */
.testimonial-card--featured > div:first-child {
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
}


/* ============================================================
   14. CTA FINAL
============================================================ */
.cta-final {
  padding-block: var(--space-32);
  background: var(--gradient-cta);
  position: relative;
  overflow: hidden;
}

.cta-final::before,
.cta-final::after {
  content: '';
  position: absolute;
  border-radius: 50%;
  filter: blur(100px);
  pointer-events: none;
}

.cta-final::before {
  width: 600px;
  height: 600px;
  background: rgb(124 58 237 / 0.3);
  top: -200px;
  left: -100px;
}

.cta-final::after {
  width: 500px;
  height: 500px;
  background: rgb(13 148 136 / 0.2);
  bottom: -150px;
  right: -100px;
}

.cta-final__inner {
  position: relative;
  z-index: 1;
  max-width: 680px;
  margin-inline: auto;
  text-align: center;
}

.cta-final__badge {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  font-size: var(--font-size-sm);
  font-weight: 600;
  color: var(--color-teal-light);
  background: rgb(13 148 136 / 0.15);
  border: 1px solid rgb(13 148 136 / 0.3);
  padding: var(--space-2) var(--space-4);
  border-radius: var(--radius-full);
  margin-bottom: var(--space-8);
}

.cta-final__title {
  font-size: var(--font-size-5xl);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.03em;
  color: var(--color-white);
  margin-bottom: var(--space-6);
}

.cta-final__subtitle {
  font-size: var(--font-size-lg);
  color: rgb(255 255 255 / 0.65);
  line-height: 1.7;
  margin-bottom: var(--space-12);
}

/* Form */
.cta-final__form {
  background: rgb(255 255 255 / 0.06);
  border: 1px solid rgb(255 255 255 / 0.12);
  border-radius: var(--radius-2xl);
  padding: var(--space-10);
  text-align: left;
  backdrop-filter: blur(10px);
  margin-bottom: var(--space-8);
}

.form__row {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-4);
  margin-bottom: var(--space-4);
}

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

.form__group--full { margin-bottom: var(--space-4); }

.form__label {
  font-size: var(--font-size-sm);
  font-weight: 600;
  color: rgb(255 255 255 / 0.8);
}

.form__input {
  width: 100%;
  padding: 0.75rem 1rem;
  font-size: var(--font-size-sm);
  color: var(--color-white);
  background: rgb(255 255 255 / 0.08);
  border: 1px solid rgb(255 255 255 / 0.2);
  border-radius: var(--radius-lg);
  transition: all var(--transition-fast);
  outline: none;
  -webkit-appearance: none;
  appearance: none;
}

.form__input::placeholder { color: rgb(255 255 255 / 0.3); }

.form__input:focus {
  background: rgb(255 255 255 / 0.12);
  border-color: var(--color-teal-light);
  box-shadow: 0 0 0 3px rgb(13 148 136 / 0.2);
}

.form__select {
  cursor: pointer;
}

.form__select option {
  color: var(--color-gray-900);
  background: var(--color-white);
}

.form__input.error {
  border-color: #f87171;
  box-shadow: 0 0 0 3px rgb(248 113 113 / 0.2);
}

.btn--primary.btn--xl {
  margin-top: var(--space-2);
  margin-bottom: var(--space-4);
}

.form__disclaimer {
  font-size: var(--font-size-xs);
  color: rgb(255 255 255 / 0.4);
  text-align: center;
  line-height: 1.5;
}

.cta-final__alternatives {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-4);
}

.cta-final__alternatives p {
  font-size: var(--font-size-sm);
  color: rgb(255 255 255 / 0.5);
}

/* Form success */
.form-success {
  text-align: center;
  padding: var(--space-12);
}

.form-success__icon {
  width: 64px;
  height: 64px;
  background: var(--gradient-teal);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto var(--space-6);
  color: var(--color-white);
}

.form-success h3 {
  font-size: var(--font-size-2xl);
  font-weight: 700;
  color: var(--color-white);
  margin-bottom: var(--space-3);
}

.form-success p {
  color: rgb(255 255 255 / 0.6);
  font-size: var(--font-size-base);
}


/* ============================================================
   15. FOOTER
============================================================ */
.footer {
  background: var(--color-gray-900);
  padding-top: var(--space-20);
  padding-bottom: var(--space-8);
}

.footer__top {
  display: grid;
  grid-template-columns: 300px 1fr;
  gap: var(--space-16);
  margin-bottom: var(--space-16);
  padding-bottom: var(--space-16);
  border-bottom: 1px solid rgb(255 255 255 / 0.08);
}

.footer__brand .navbar__logo {
  margin-bottom: var(--space-4);
}

.footer__brand .logo-text {
  color: var(--color-white);
}

.footer__tagline {
  font-size: var(--font-size-sm);
  color: rgb(255 255 255 / 0.45);
  line-height: 1.7;
  margin-bottom: var(--space-6);
}

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

.social-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: var(--radius-md);
  background: rgb(255 255 255 / 0.06);
  color: rgb(255 255 255 / 0.5);
  border: 1px solid rgb(255 255 255 / 0.1);
  transition: all var(--transition-fast);
}

.social-link:hover {
  background: var(--color-purple);
  color: var(--color-white);
  border-color: transparent;
  transform: translateY(-2px);
}

.footer__nav {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-8);
}

.footer__col-title {
  font-size: var(--font-size-xs);
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgb(255 255 255 / 0.5);
  margin-bottom: var(--space-5);
}

.footer__links {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}

.footer__links a {
  font-size: var(--font-size-sm);
  color: rgb(255 255 255 / 0.55);
  transition: color var(--transition-fast);
}

.footer__links a:hover { color: var(--color-white); }

.footer__links--contact li {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  font-size: var(--font-size-sm);
  color: rgb(255 255 255 / 0.55);
}

.footer__links--contact svg {
  flex-shrink: 0;
  color: rgb(255 255 255 / 0.3);
}

.footer__links--contact span {
  color: rgb(255 255 255 / 0.45);
}

.footer__bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.footer__copy {
  font-size: var(--font-size-sm);
  color: rgb(255 255 255 / 0.3);
}

.footer__partner {
  font-size: var(--font-size-sm);
  color: rgb(255 255 255 / 0.3);
}

.footer__partner strong {
  color: rgb(255 255 255 / 0.55);
}


/* ============================================================
   16. SCROLL ANIMATIONS
============================================================ */
.fade-in {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

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

.fade-in-left {
  opacity: 0;
  transform: translateX(-24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in-left.visible {
  opacity: 1;
  transform: translateX(0);
}

.stagger > * {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}

.stagger.visible > *:nth-child(1) { opacity: 1; transform: none; transition-delay: 0ms; }
.stagger.visible > *:nth-child(2) { opacity: 1; transform: none; transition-delay: 80ms; }
.stagger.visible > *:nth-child(3) { opacity: 1; transform: none; transition-delay: 160ms; }
.stagger.visible > *:nth-child(4) { opacity: 1; transform: none; transition-delay: 240ms; }
.stagger.visible > *:nth-child(5) { opacity: 1; transform: none; transition-delay: 320ms; }
.stagger.visible > *:nth-child(6) { opacity: 1; transform: none; transition-delay: 400ms; }


/* ============================================================
   17. RESPONSIVE — TABLET (≤1024px)
============================================================ */
@media (max-width: 1024px) {
  :root {
    --section-py: var(--space-20);
  }

  .hero__title { font-size: var(--font-size-5xl); }

  .problems__grid  { grid-template-columns: repeat(2, 1fr); }
  .services__grid  { grid-template-columns: repeat(2, 1fr); }
  .benefits__stats { grid-template-columns: repeat(2, 1fr); }
  .industries__grid { grid-template-columns: repeat(2, 1fr); }
  .testimonials__grid { grid-template-columns: 1fr; }
  .testimonial-card--featured {
    flex-direction: column;
    gap: var(--space-5);
  }

  .footer__top { grid-template-columns: 1fr; gap: var(--space-12); }
  .footer__nav { grid-template-columns: repeat(2, 1fr); }
}


/* ============================================================
   18. RESPONSIVE — MOBILE (≤768px)
============================================================ */
@media (max-width: 768px) {
  :root {
    --section-py: var(--space-16);
  }

  /* Navbar */
  .navbar__links {
    display: none;
    position: absolute;
    top: var(--navbar-height);
    left: 0;
    right: 0;
    background: var(--color-white);
    border-bottom: 1px solid var(--color-gray-200);
    flex-direction: column;
    padding: var(--space-6);
    gap: var(--space-5);
    box-shadow: var(--shadow-lg);
  }

  .navbar__links.open { display: flex; }
  .navbar__links a { font-size: var(--font-size-base); }

  .navbar__actions .btn--outline { display: none; }
  .navbar__hamburger { display: flex; }

  /* Hero */
  .hero {
    padding-top: calc(var(--navbar-height) + var(--space-10));
    padding-bottom: var(--space-16);
  }

  .hero__title { font-size: var(--font-size-4xl); }
  .hero__subtitle { font-size: var(--font-size-base); }
  .hero__cta { flex-direction: column; align-items: stretch; }
  .hero__cta .btn { width: 100%; }

  .trust__logos {
    flex-direction: column;
    gap: var(--space-1);
  }
  .trust__separator { display: none; }

  /* Mockup */
  .mockup__body { grid-template-columns: 1fr; }
  .mockup__body .mockup__stat:not(:first-child) { display: none; }

  /* Secciones */
  .section-title { font-size: var(--font-size-3xl); }

  .problems__grid   { grid-template-columns: 1fr; }
  .services__grid   { grid-template-columns: 1fr; }
  .benefits__stats  { grid-template-columns: repeat(2, 1fr); }
  .benefits__list   { grid-template-columns: 1fr; }
  .industries__grid { grid-template-columns: 1fr; }

  .testimonial-card--featured { grid-column: span 1; }

  /* Process */
  .process__steps::before { left: 23px; }
  .process-step__number { width: 48px; height: 48px; font-size: var(--font-size-base); }
  .process-step { gap: var(--space-5); }

  /* Stats */
  .stat-card__number { font-size: var(--font-size-4xl); }

  /* CTA form */
  .cta-final__title { font-size: var(--font-size-4xl); }
  .form__row { grid-template-columns: 1fr; }
  .cta-final__form { padding: var(--space-6); }

  /* Footer */
  .footer__nav { grid-template-columns: repeat(2, 1fr); }
  .footer__bottom {
    flex-direction: column;
    gap: var(--space-2);
    text-align: center;
  }
}


/* ============================================================
   19. RESPONSIVE — SMALL MOBILE (≤480px)
============================================================ */
@media (max-width: 480px) {
  .hero__title { font-size: var(--font-size-3xl); }
  .cta-final__title { font-size: var(--font-size-3xl); }
  .section-title { font-size: var(--font-size-2xl); }

  .benefits__stats { grid-template-columns: 1fr; }
  .footer__nav { grid-template-columns: 1fr; }

  .container { padding-inline: var(--space-4); }
  .service-card,
  .problem-card,
  .industry-card { padding: var(--space-6); }
}


/* ============================================================
   20. ACCESSIBILITY
============================================================ */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
  html { scroll-behavior: auto; }
  .fade-in, .fade-in-left, .stagger > * { opacity: 1; transform: none; }
}

:focus-visible {
  outline: 2px solid var(--color-purple);
  outline-offset: 3px;
  border-radius: var(--radius-sm);
}

::selection {
  background: rgb(26 163 255 / 0.30);
  color: #F5FAFA;
}


/* ============================================================
   14. NODIZO BRAND OVERRIDES — patrones de fondo + color roles
   ============================================================
   Roles de color:
   · Cyan #1AA3FF       → primario / CTAs / links
   · Turquesa #17E9E1   → secundario / tags / highlights
   · Pink #FF708C       → críticos / deltas / "atención"
   · Navy #17224D       → fondo base
   · Off-white #F5FAFA  → texto principal
============================================================ */

:root {
  /* ====== FONDOS NODIZO — composiciones SVG cover, no tileadas ======
     Cada uno es una escena completa: nodos + conexiones curvas tipo onda
     que evocan una red / grafo de nodos (la metáfora "nodizo") */

  /* MESH: red dispersa para hero / industries */
  --nodizo-mesh: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1600 900' preserveAspectRatio='xMidYMid slice'><g fill='none' stroke='%231AA3FF' stroke-width='1.5' stroke-linecap='round' opacity='0.35'><path d='M 100 200 Q 300 50 500 250 T 900 300'/><path d='M 200 700 Q 450 500 700 750 T 1100 700'/><path d='M 800 100 Q 1000 250 1200 150 T 1500 300'/><path d='M 1300 600 Q 1100 750 900 600 T 500 700'/><path d='M 50 450 Q 250 350 450 500 T 850 500'/><path d='M 950 450 Q 1150 550 1350 450 T 1600 500'/></g><g fill='none' stroke='%2317E9E1' stroke-width='1' stroke-linecap='round' opacity='0.25'><path d='M 150 300 Q 350 450 550 350 T 900 380'/><path d='M 700 200 Q 850 350 1000 250 T 1300 280'/><path d='M 400 600 Q 600 750 800 650 T 1100 680'/><path d='M 1100 820 Q 1250 700 1400 800 T 1600 750'/></g><g fill='%2317E9E1'><circle cx='100' cy='200' r='4' opacity='0.9'/><circle cx='500' cy='250' r='5' opacity='0.8'/><circle cx='900' cy='300' r='3' opacity='0.7'/><circle cx='200' cy='700' r='3' opacity='0.7'/><circle cx='700' cy='750' r='5' opacity='0.9'/><circle cx='1100' cy='700' r='4' opacity='0.8'/><circle cx='800' cy='100' r='3' opacity='0.6'/><circle cx='1200' cy='150' r='5' opacity='0.85'/><circle cx='1500' cy='300' r='4' opacity='0.7'/><circle cx='1300' cy='600' r='3' opacity='0.7'/><circle cx='850' cy='500' r='6' opacity='0.95'/><circle cx='1600' cy='500' r='4' opacity='0.7'/></g><g fill='%231AA3FF'><circle cx='450' cy='500' r='3' opacity='0.55'/><circle cx='1000' cy='250' r='3' opacity='0.55'/><circle cx='600' cy='750' r='3' opacity='0.5'/><circle cx='50' cy='450' r='3' opacity='0.55'/></g></svg>");

  /* CONSTELLATION: malla más densa, orbital, para services */
  --nodizo-constellation: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1600 900' preserveAspectRatio='xMidYMid slice'><g fill='none' stroke='%231AA3FF' stroke-width='1.2' stroke-linecap='round' opacity='0.30'><path d='M 200 150 C 400 50 600 250 800 150 S 1200 250 1400 150'/><path d='M 100 400 C 300 300 500 500 700 400 S 1100 500 1300 400 S 1600 500 1700 400'/><path d='M 200 650 C 400 550 600 750 800 650 S 1200 750 1400 650'/><path d='M 0 850 C 200 750 400 950 600 850 S 1000 950 1200 850 S 1500 950 1700 850'/></g><g fill='none' stroke='%2317E9E1' stroke-width='1' stroke-linecap='round' opacity='0.22'><path d='M 150 250 Q 400 100 650 280 T 1150 250 T 1550 280'/><path d='M 50 550 Q 350 400 600 580 T 1100 550 T 1600 580'/><path d='M 250 800 Q 500 650 750 830 T 1250 800 T 1700 830'/></g><g fill='%2317E9E1'><circle cx='200' cy='150' r='3'/><circle cx='800' cy='150' r='5'/><circle cx='1400' cy='150' r='3'/><circle cx='100' cy='400' r='4'/><circle cx='700' cy='400' r='5'/><circle cx='1300' cy='400' r='4'/><circle cx='200' cy='650' r='3'/><circle cx='800' cy='650' r='6'/><circle cx='1400' cy='650' r='3'/><circle cx='600' cy='850' r='4'/><circle cx='1200' cy='850' r='4'/></g><g fill='%231AA3FF' opacity='0.7'><circle cx='400' cy='200' r='2.5'/><circle cx='1100' cy='220' r='2.5'/><circle cx='450' cy='450' r='2.5'/><circle cx='1000' cy='450' r='2.5'/><circle cx='550' cy='700' r='2.5'/><circle cx='1100' cy='720' r='2.5'/><circle cx='300' cy='900' r='2.5'/><circle cx='900' cy='900' r='2.5'/></g></svg>");

  /* FLOW: líneas de flujo horizontales (proceso) */
  --nodizo-flow: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1600 900' preserveAspectRatio='xMidYMid slice'><g fill='none' stroke='%231AA3FF' stroke-width='1.5' stroke-linecap='round' opacity='0.30'><path d='M -50 200 Q 200 100 450 250 T 950 250 T 1450 250 T 1700 200'/><path d='M -50 450 Q 250 350 500 500 T 1000 500 T 1500 500 T 1700 450'/><path d='M -50 700 Q 200 600 450 750 T 950 750 T 1450 750 T 1700 700'/></g><g fill='none' stroke='%2317E9E1' stroke-width='1' stroke-linecap='round' opacity='0.22'><path d='M -50 320 Q 250 220 500 370 T 1000 370 T 1500 370 T 1700 320'/><path d='M -50 580 Q 250 480 500 630 T 1000 630 T 1500 630 T 1700 580'/></g><g fill='%2317E9E1'><circle cx='200' cy='200' r='4'/><circle cx='450' cy='250' r='3'/><circle cx='700' cy='240' r='5'/><circle cx='950' cy='250' r='3'/><circle cx='1200' cy='240' r='4'/><circle cx='1450' cy='250' r='3'/><circle cx='150' cy='450' r='3'/><circle cx='500' cy='500' r='5'/><circle cx='800' cy='495' r='4'/><circle cx='1100' cy='500' r='3'/><circle cx='1400' cy='495' r='5'/><circle cx='250' cy='700' r='4'/><circle cx='550' cy='750' r='3'/><circle cx='850' cy='745' r='5'/><circle cx='1150' cy='750' r='3'/><circle cx='1450' cy='745' r='4'/></g></svg>");

  /* ISO-SIL: silueta gigante del isotipo + nodos satélite (cta) */
  --nodizo-iso-sil: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1600 900' preserveAspectRatio='xMidYMid slice'><defs><linearGradient id='isoG' x1='0%25' y1='0%25' x2='100%25' y2='0%25'><stop offset='0%25' stop-color='%2317E9E1' stop-opacity='0.18'/><stop offset='100%25' stop-color='%231AA3FF' stop-opacity='0.18'/></linearGradient></defs><g transform='translate(380 180)'><path d='M 0 540 L 0 60 Q 0 0 60 0 Q 120 0 120 60 L 120 280 Q 200 80 380 280 Q 540 460 720 280' fill='none' stroke='url(%23isoG)' stroke-width='80' stroke-linecap='round' stroke-linejoin='round'/><circle cx='820' cy='280' r='55' fill='%2317E9E1' opacity='0.16'/></g><g fill='none' stroke='%231AA3FF' stroke-width='1.2' stroke-linecap='round' opacity='0.30'><path d='M 80 100 Q 250 50 420 150'/><path d='M 1180 750 Q 1350 800 1520 700'/><path d='M 100 800 Q 280 700 460 820'/><path d='M 1100 100 Q 1280 50 1450 180'/></g><g fill='%2317E9E1'><circle cx='80' cy='100' r='3'/><circle cx='420' cy='150' r='4'/><circle cx='1180' cy='750' r='4'/><circle cx='1520' cy='700' r='3'/><circle cx='100' cy='800' r='3'/><circle cx='460' cy='820' r='4'/><circle cx='1100' cy='100' r='4'/><circle cx='1450' cy='180' r='3'/></g></svg>");

  /* ORBITS: órbitas elípticas concéntricas con nodos — benefits */
  --nodizo-orbits: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1600 900' preserveAspectRatio='xMidYMid slice'><g fill='none' stroke='%231AA3FF' stroke-width='1.3' opacity='0.28'><ellipse cx='800' cy='450' rx='720' ry='220' transform='rotate(-8 800 450)'/><ellipse cx='800' cy='450' rx='560' ry='165' transform='rotate(-8 800 450)'/><ellipse cx='800' cy='450' rx='400' ry='115' transform='rotate(-8 800 450)'/><ellipse cx='800' cy='450' rx='240' ry='65' transform='rotate(-8 800 450)'/></g><g fill='none' stroke='%2317E9E1' stroke-width='1' opacity='0.22'><ellipse cx='800' cy='450' rx='650' ry='195' transform='rotate(8 800 450)'/><ellipse cx='800' cy='450' rx='480' ry='140' transform='rotate(8 800 450)'/><ellipse cx='800' cy='450' rx='320' ry='90' transform='rotate(8 800 450)'/></g><g fill='%2317E9E1'><circle cx='1510' cy='350' r='5'/><circle cx='90' cy='550' r='5'/><circle cx='1350' cy='290' r='3'/><circle cx='250' cy='610' r='3'/><circle cx='1180' cy='570' r='4'/><circle cx='420' cy='330' r='4'/><circle cx='1040' cy='370' r='3'/><circle cx='560' cy='530' r='3'/></g><g fill='%231AA3FF' opacity='0.8'><circle cx='800' cy='235' r='4'/><circle cx='800' cy='665' r='4'/><circle cx='800' cy='450' r='8'/></g></svg>");

  /* BURST: rayos curvos irradiando desde el centro — CTA alternativo */
  --nodizo-burst: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1600 900' preserveAspectRatio='xMidYMid slice'><g fill='none' stroke='%231AA3FF' stroke-width='1.5' stroke-linecap='round' opacity='0.32'><path d='M 800 450 Q 560 350 50 180'/><path d='M 800 450 Q 680 290 520 30'/><path d='M 800 450 Q 780 260 800 20'/><path d='M 800 450 Q 920 290 1080 30'/><path d='M 800 450 Q 1040 350 1550 180'/><path d='M 800 450 Q 1060 570 1550 720'/><path d='M 800 450 Q 920 620 1080 880'/><path d='M 800 450 Q 780 640 800 880'/><path d='M 800 450 Q 680 620 520 880'/><path d='M 800 450 Q 560 570 50 720'/></g><g fill='none' stroke='%2317E9E1' stroke-width='1' stroke-linecap='round' opacity='0.22'><path d='M 800 450 Q 650 420 200 450'/><path d='M 800 450 Q 950 420 1400 450'/></g><g fill='%2317E9E1'><circle cx='50' cy='180' r='3'/><circle cx='520' cy='30' r='4'/><circle cx='800' cy='20' r='5'/><circle cx='1080' cy='30' r='4'/><circle cx='1550' cy='180' r='3'/><circle cx='1550' cy='720' r='3'/><circle cx='1080' cy='880' r='4'/><circle cx='800' cy='880' r='5'/><circle cx='520' cy='880' r='4'/><circle cx='50' cy='720' r='3'/></g><circle cx='800' cy='450' r='12' fill='%231AA3FF' opacity='0.6'/><circle cx='800' cy='450' r='6' fill='%2317E9E1'/></svg>");
}

/* ---------- HERO: split layout, gradientes limpios (el node-hub es el foco) ---------- */
.hero {
  background:
    radial-gradient(ellipse 700px 500px at 15% 20%, rgba(26,163,255,0.18), transparent 60%),
    radial-gradient(ellipse 900px 700px at 85% 60%, rgba(23,233,225,0.14), transparent 65%),
    radial-gradient(ellipse 500px 400px at 50% 100%, rgba(26,163,255,0.10), transparent 70%),
    linear-gradient(180deg, #0F1838 0%, #17224D 100%);
  background-repeat: no-repeat;
}

/* Split layout: texto izquierda, visual derecha */
.hero__inner--split {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  align-items: center;
  gap: var(--space-16);
  text-align: left;
}
.hero__content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}
.hero__inner--split .hero__title {
  max-width: none;
  margin-inline: 0;
}
.hero__inner--split .hero__subtitle {
  max-width: 560px;
  margin-inline: 0;
}
.hero__inner--split .hero__cta { justify-content: flex-start; }
.hero__inner--split .hero__trust {
  align-items: flex-start;
  margin-bottom: 0;
}
.hero__inner--split .hero__visual {
  max-width: none;
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
}

@media (max-width: 960px) {
  .hero__inner--split {
    grid-template-columns: 1fr;
    text-align: center;
    gap: var(--space-12);
  }
  .hero__content { align-items: center; }
  .hero__inner--split .hero__cta { justify-content: center; }
  .hero__inner--split .hero__trust { align-items: center; }
}


/* ============================================================
   NODE HUB — visual del hero (isotipo central + nodos orbitales)
============================================================ */
.node-hub {
  position: relative;
  width: 100%;
  max-width: 520px;
  aspect-ratio: 1 / 1;
  margin-inline: auto;
}

.node-hub__connections {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: visible;
}
.node-hub__connections .nh-line {
  stroke-dasharray: 4 6;
  animation: nh-flow 6s linear infinite;
  will-change: stroke-dashoffset;
}
@keyframes nh-flow {
  to { stroke-dashoffset: -60; }
}

.node-hub__center {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 140px;
  height: 140px;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  background: radial-gradient(circle, rgba(23,233,225,0.18) 0%, rgba(26,163,255,0.05) 60%, transparent 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
}
.node-hub__center img {
  width: 82px;
  height: 82px;
  object-fit: contain;
  filter: drop-shadow(0 8px 32px rgba(23, 233, 225, 0.45));
  position: relative;
  z-index: 2;
}
.node-hub__pulse {
  position: absolute;
  inset: 10px;
  border-radius: 50%;
  border: 1.5px solid rgba(23, 233, 225, 0.35);
  animation: nh-pulse 3s ease-out infinite;
  will-change: transform, opacity;
}
.node-hub__pulse::before,
.node-hub__pulse::after {
  content: '';
  position: absolute;
  inset: -12px;
  border-radius: 50%;
  border: 1px solid rgba(26, 163, 255, 0.25);
  animation: nh-pulse 3s ease-out infinite;
  will-change: transform, opacity;
}
.node-hub__pulse::after {
  inset: -28px;
  border-color: rgba(26, 163, 255, 0.15);
  animation-delay: 0.5s;
}
@keyframes nh-pulse {
  0%   { transform: scale(0.95); opacity: 0.8; }
  100% { transform: scale(1.15); opacity: 0; }
}

.node-hub__node {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  background: rgba(15, 24, 56, 0.85);
  border: 1px solid rgba(26, 163, 255, 0.30);
  border-radius: 999px;
  color: #F5FAFA;
  font-size: 13px;
  font-weight: 600;
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  box-shadow: 0 8px 30px -8px rgba(0,0,0,0.5), 0 0 20px -5px rgba(23, 233, 225, 0.25);
  white-space: nowrap;
  z-index: 3;
  transition: border-color var(--transition-base), box-shadow var(--transition-base);
  animation: nh-float 6s ease-in-out infinite;
  will-change: transform;
}
.node-hub__node svg {
  color: #17E9E1;
  flex-shrink: 0;
}
.node-hub__node:hover {
  border-color: #17E9E1;
  transform: scale(1.05);
  box-shadow: 0 12px 40px -8px rgba(23, 233, 225, 0.5);
}

/* Posiciones de los 6 nodos alrededor del hub */
.nh-pos-1 { top: 6%;  left: 4%;  animation-delay: 0s; }
.nh-pos-2 { top: 2%;  right: 2%; animation-delay: 1s; }
.nh-pos-3 { top: 48%; right: -6%; animation-delay: 2s; }
.nh-pos-4 { bottom: 6%; right: 10%; animation-delay: 3s; }
.nh-pos-5 { bottom: 6%; left: 6%;  animation-delay: 4s; }
.nh-pos-6 { top: 48%; left: -8%; animation-delay: 5s; }

@keyframes nh-float {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-6px); }
}

@media (max-width: 960px) {
  .node-hub { max-width: 420px; }
  .node-hub__node { font-size: 12px; padding: 8px 12px; }
  .node-hub__center { width: 110px; height: 110px; }
  .node-hub__center img { width: 64px; height: 64px; }
}
@media (max-width: 520px) {
  .node-hub__node span { display: none; }
  .node-hub__node { padding: 10px; }
}

.hero::before { background: rgba(26, 163, 255, 0.18); }
.hero::after  { background: rgba(23, 233, 225, 0.14); }

.hero__badge {
  color: #17E9E1;
  background: rgba(23, 233, 225, 0.08);
  border: 1px solid rgba(23, 233, 225, 0.35);
  box-shadow: 0 0 0 1px rgba(23,233,225,0.05), 0 8px 30px -10px rgba(23,233,225,0.25);
  backdrop-filter: blur(8px);
}

.badge__dot {
  background: #17E9E1;
  box-shadow: 0 0 0 3px rgba(23,233,225,0.25);
}
@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 3px rgba(23,233,225,0.30); }
  50%      { box-shadow: 0 0 0 8px rgba(23,233,225,0); }
}

/* Dashboard mockup → tarjeta navy más oscura con borde cyan suave */
.dashboard-mockup {
  background: #0F1838;
  border: 1px solid rgba(26,163,255,0.18);
  box-shadow: 0 30px 80px -20px rgba(0,0,0,0.6), 0 0 0 1px rgba(26,163,255,0.08), 0 0 60px -10px rgba(26,163,255,0.25);
}
.mockup__topbar { background: #0A1230; border-bottom-color: rgba(26,163,255,0.12); }
.mockup__body   { background: rgba(26,163,255,0.12); }
.mockup__stat   { background: #0F1838; }
.mockup__pipeline { border-top-color: rgba(26,163,255,0.10); }

/* ---------- PROBLEMS: navy plano más oscuro (tono serio) + acento pink ---------- */
.problems {
  background: linear-gradient(180deg, #17224D 0%, #0F1838 100%);
  position: relative;
}
.problem-card {
  background: rgba(26, 163, 255, 0.04);
  border: 1px solid rgba(26, 163, 255, 0.12);
  backdrop-filter: blur(4px);
}
.problem-card:hover {
  border-color: rgba(255, 112, 140, 0.55);
  box-shadow: 0 12px 40px -10px rgba(255, 112, 140, 0.25);
}
.problem-card__icon {
  background: rgba(255, 112, 140, 0.12);
  color: #FF708C;
  box-shadow: none;
  border: 1px solid rgba(255, 112, 140, 0.25);
}

/* ---------- SERVICES: constelación de nodos ---------- */
.services {
  background:
    linear-gradient(180deg, #0F1838 0%, #17224D 100%);
  background-size: cover, auto;
  background-position: center;
  background-repeat: no-repeat;
  border-top: 1px solid rgba(26,163,255,0.12);
  border-bottom: 1px solid rgba(26,163,255,0.12);
  position: relative;
}
.services::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 50% 0%, rgba(23,233,225,0.10), transparent 60%);
  pointer-events: none;
}
.services > .container { position: relative; z-index: 1; }

/* SVG dibujo animado de líneas */
.services__draw {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 0;
  opacity: 0.55;
}
.services__draw path {
  stroke-dasharray: 3000;
  stroke-dashoffset: 3000;
  animation: draw-line 3.5s ease-out forwards;
}
.services__draw g:nth-of-type(1) path:nth-child(1) { animation-delay: 0.2s; }
.services__draw g:nth-of-type(1) path:nth-child(2) { animation-delay: 0.6s; }
.services__draw g:nth-of-type(1) path:nth-child(3) { animation-delay: 1.0s; }
.services__draw g:nth-of-type(2) path:nth-child(1) { animation-delay: 1.4s; }
.services__draw g:nth-of-type(2) path:nth-child(2) { animation-delay: 1.8s; }
.services__draw-dots circle {
  opacity: 0;
  animation: dot-pop 0.5s ease-out forwards;
}
.services__draw-dots circle:nth-child(1)  { animation-delay: 1.2s; }
.services__draw-dots circle:nth-child(2)  { animation-delay: 1.4s; }
.services__draw-dots circle:nth-child(3)  { animation-delay: 1.6s; }
.services__draw-dots circle:nth-child(4)  { animation-delay: 1.8s; }
.services__draw-dots circle:nth-child(5)  { animation-delay: 2.0s; }
.services__draw-dots circle:nth-child(6)  { animation-delay: 2.2s; }
.services__draw-dots circle:nth-child(7)  { animation-delay: 2.4s; }
.services__draw-dots circle:nth-child(8)  { animation-delay: 2.6s; }
.services__draw-dots circle:nth-child(9)  { animation-delay: 2.8s; }
@keyframes draw-line {
  to { stroke-dashoffset: 0; }
}
@keyframes dot-pop {
  from { opacity: 0; transform: scale(0); transform-origin: center; }
  to   { opacity: 1; transform: scale(1); }
}
@media (prefers-reduced-motion: reduce) {
  .services__draw path { animation: none; stroke-dashoffset: 0; }
  .services__draw-dots circle { animation: none; opacity: 1; }
}

.service-card {
  background: rgba(15, 24, 56, 0.85);
  border: 1px solid rgba(26, 163, 255, 0.15);
  backdrop-filter: blur(10px);
}
.service-card:hover { box-shadow: 0 20px 50px -10px rgba(26,163,255,0.35); }
.service-card:hover::after { border-color: rgba(23,233,225,0.55); }
.service-card--featured {
  background: linear-gradient(160deg, rgba(26,163,255,0.18), rgba(23,233,225,0.10));
  border-color: rgba(23,233,225,0.45);
}
.service-card__tag {
  color: #17E9E1;
  background: rgba(23, 233, 225, 0.10);
  border-color: rgba(23, 233, 225, 0.40);
}

/* ---------- BENEFITS: órbitas elípticas + gradiente profundo ---------- */
.benefits {
  background:
    radial-gradient(ellipse 800px 500px at 80% 20%, rgba(26,163,255,0.20), transparent 60%),
    radial-gradient(ellipse 600px 400px at 10% 80%, rgba(23,233,225,0.14), transparent 65%),
    var(--nodizo-dashboard),
    linear-gradient(160deg, #0A1230 0%, #17224D 60%, #0F1838 100%);
  background-size: auto, auto, cover, auto;
  background-position: center;
  background-repeat: no-repeat;
  position: relative;
  overflow: hidden;
}
/* Dashboard SVG: grid + barras (sin línea — la línea va animada en ::after) */
:root {
  --nodizo-dashboard: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1600 900' preserveAspectRatio='xMidYMid slice'><defs><linearGradient id='bar' x1='0' y1='1' x2='0' y2='0'><stop offset='0%25' stop-color='%231AA3FF' stop-opacity='0.0'/><stop offset='100%25' stop-color='%231AA3FF' stop-opacity='0.32'/></linearGradient><linearGradient id='bar2' x1='0' y1='1' x2='0' y2='0'><stop offset='0%25' stop-color='%2317E9E1' stop-opacity='0.0'/><stop offset='100%25' stop-color='%2317E9E1' stop-opacity='0.32'/></linearGradient></defs><g stroke='%231AA3FF' stroke-width='0.6' opacity='0.10'><path d='M 0 150 H 1600 M 0 300 H 1600 M 0 450 H 1600 M 0 600 H 1600 M 0 750 H 1600'/><path d='M 100 0 V 900 M 250 0 V 900 M 400 0 V 900 M 550 0 V 900 M 700 0 V 900 M 850 0 V 900 M 1000 0 V 900 M 1150 0 V 900 M 1300 0 V 900 M 1450 0 V 900'/></g><g><rect x='120' y='620' width='60' height='200' fill='url(%23bar)'/><rect x='220' y='540' width='60' height='280' fill='url(%23bar)'/><rect x='320' y='580' width='60' height='240' fill='url(%23bar2)'/><rect x='420' y='460' width='60' height='360' fill='url(%23bar)'/><rect x='520' y='420' width='60' height='400' fill='url(%23bar2)'/><rect x='620' y='340' width='60' height='480' fill='url(%23bar)'/><rect x='1080' y='600' width='60' height='220' fill='url(%23bar2)'/><rect x='1180' y='520' width='60' height='300' fill='url(%23bar)'/><rect x='1280' y='460' width='60' height='360' fill='url(%23bar2)'/><rect x='1380' y='380' width='60' height='440' fill='url(%23bar)'/><rect x='1480' y='300' width='60' height='520' fill='url(%23bar2)'/></g></svg>");
  --nodizo-dashboard-line: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1600 900' preserveAspectRatio='xMidYMid slice'><defs><linearGradient id='area' x1='0' y1='0' x2='0' y2='1'><stop offset='0%25' stop-color='%2317E9E1' stop-opacity='0.22'/><stop offset='100%25' stop-color='%231AA3FF' stop-opacity='0'/></linearGradient></defs><path d='M 0 700 L 150 660 L 300 680 L 450 580 L 600 600 L 750 480 L 900 520 L 1050 380 L 1200 420 L 1350 280 L 1500 320 L 1600 220 L 1600 900 L 0 900 Z' fill='url(%23area)'/><path d='M 0 700 L 150 660 L 300 680 L 450 580 L 600 600 L 750 480 L 900 520 L 1050 380 L 1200 420 L 1350 280 L 1500 320 L 1600 220' fill='none' stroke='%2317E9E1' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round' opacity='0.55'/><g fill='%2317E9E1' opacity='0.7'><circle cx='450' cy='580' r='4'/><circle cx='750' cy='480' r='4'/><circle cx='1050' cy='380' r='5'/><circle cx='1350' cy='280' r='5'/><circle cx='1600' cy='220' r='6'/></g></svg>");
}

/* Thank-you modal */
.thanks-modal {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
}
.thanks-modal.is-open { display: flex; animation: thanks-fade 0.25s ease-out; }
@keyframes thanks-fade { from { opacity: 0; } to { opacity: 1; } }
.thanks-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(8, 14, 32, 0.55);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}
.thanks-modal__card {
  position: relative;
  z-index: 1;
  max-width: 460px;
  width: 100%;
  padding: 36px 32px 32px;
  border-radius: 18px;
  text-align: center;
  background: #0F1838;
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 24px 60px -20px rgba(0, 0, 0, 0.55);
  animation: thanks-pop 0.35s ease-out;
}
@keyframes thanks-pop {
  from { opacity: 0; transform: translateY(12px); }
  to   { opacity: 1; transform: translateY(0); }
}
[data-theme="light"] .thanks-modal__card {
  background: #FFFFFF;
  border-color: rgba(23, 34, 77, 0.10);
  box-shadow: 0 24px 60px -20px rgba(23, 34, 77, 0.25);
}
.thanks-modal__close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 50%;
  color: #F5FAFA;
  cursor: pointer;
  transition: all 0.2s;
}
.thanks-modal__close:hover { background: rgba(255,255,255,0.12); }
[data-theme="light"] .thanks-modal__close {
  background: rgba(23,34,77,0.05);
  border-color: rgba(23,34,77,0.12);
  color: #17224D;
}
.thanks-modal__icon {
  width: 56px;
  height: 56px;
  margin: 0 auto 18px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(23, 233, 225, 0.12);
  color: #17E9E1;
  border: 1px solid rgba(23, 233, 225, 0.35);
  animation: thanks-icon 0.4s 0.1s ease-out both;
}
.thanks-modal__icon svg { width: 28px; height: 28px; }
@keyframes thanks-icon { from { opacity: 0; transform: scale(0.7); } to { opacity: 1; transform: scale(1); } }
[data-theme="light"] .thanks-modal__icon {
  background: rgba(15, 184, 177, 0.10);
  border-color: rgba(15, 184, 177, 0.35);
  color: #0FB8B1;
}
.thanks-modal__title {
  font-size: 1.35rem;
  font-weight: 700;
  margin: 0 0 10px;
  color: #F5FAFA;
}
[data-theme="light"] .thanks-modal__title { color: #17224D; }
.thanks-modal__text {
  font-size: 0.95rem;
  line-height: 1.6;
  color: rgba(245,250,250,0.78);
  margin: 0 0 24px;
}
[data-theme="light"] .thanks-modal__text { color: #475569; }
.thanks-modal__steps {
  display: grid;
  gap: 10px;
  margin: 0 0 28px;
  text-align: left;
}
.thanks-modal__step {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  font-size: 0.88rem;
  border-radius: 12px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(26,163,255,0.18);
  color: rgba(245,250,250,0.88);
}
.thanks-modal__step span {
  flex-shrink: 0;
  width: 26px;
  height: 26px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: linear-gradient(135deg, #1AA3FF, #17E9E1);
  color: #0A1230;
  font-weight: 700;
  font-size: 0.78rem;
}
[data-theme="light"] .thanks-modal__step {
  background: rgba(26,163,255,0.06);
  border-color: rgba(26,163,255,0.18);
  color: #17224D;
}

/* Selector de país (form móvil) */
.form__phone {
  position: relative;
  display: flex;
  align-items: stretch;
  gap: 0;
}
.form__phone-cc {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 0.75rem 0.85rem;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.2);
  border-right: none;
  border-radius: var(--radius-lg) 0 0 var(--radius-lg);
  color: #F5FAFA;
  font-size: var(--font-size-sm);
  font-weight: 600;
  cursor: pointer;
  outline: none;
  transition: all var(--transition-fast);
  white-space: nowrap;
}
.form__phone-cc:hover { background: rgba(255,255,255,0.12); }
.form__phone-flag { font-size: 18px; line-height: 1; }
.form__phone-input {
  flex: 1;
  border-radius: 0 var(--radius-lg) var(--radius-lg) 0 !important;
}
.form__phone-list {
  position: absolute;
  top: calc(100% + 6px);
  left: 0;
  z-index: 30;
  width: 280px;
  max-height: 260px;
  overflow-y: auto;
  margin: 0;
  padding: 6px;
  list-style: none;
  background: #0F1838;
  border: 1px solid rgba(26,163,255,0.30);
  border-radius: var(--radius-lg);
  box-shadow: 0 20px 50px -10px rgba(0,0,0,0.55);
}
.form__phone-list li {
  display: grid;
  grid-template-columns: 24px 1fr auto;
  gap: 10px;
  align-items: center;
  padding: 8px 10px;
  font-size: var(--font-size-sm);
  color: #F5FAFA;
  border-radius: 6px;
  cursor: pointer;
}
.form__phone-list li:hover { background: rgba(26,163,255,0.15); }
.form__phone-list li .dial { color: #94A3B8; font-variant-numeric: tabular-nums; }
[data-theme="light"] .form__phone-cc {
  background: #FFFFFF;
  border-color: rgba(23,34,77,0.20);
  color: #17224D;
}
[data-theme="light"] .form__phone-list {
  background: #FFFFFF;
  border-color: rgba(23,34,77,0.15);
}
[data-theme="light"] .form__phone-list li { color: #17224D; }
[data-theme="light"] .form__phone-list li:hover { background: rgba(26,163,255,0.10); }
[data-theme="light"] .form__phone-list li .dial { color: #64748B; }

/* Form fields — light mode (base uses hardcoded rgba-white, needs full override) */
[data-theme="light"] .form__label { color: #17224D; }
[data-theme="light"] .form__input {
  color: #17224D;
  background: #FFFFFF;
  border-color: rgba(23,34,77,0.18);
}
[data-theme="light"] .form__input::placeholder { color: #94A3B8; }
[data-theme="light"] .form__input:focus {
  background: #FFFFFF;
  border-color: #1AA3FF;
  box-shadow: 0 0 0 3px rgba(26,163,255,0.12);
}
[data-theme="light"] .form__select option {
  background: #FFFFFF;
  color: #17224D;
}
[data-theme="light"] .form__disclaimer { color: #64748B; }

/* Partner Zoho badge en hero */
.hero__partner {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 10px 18px;
  margin-bottom: 20px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(228, 37, 39, 0.35);
  border-radius: 999px;
  backdrop-filter: blur(8px);
  box-shadow: 0 8px 24px -10px rgba(228,37,39,0.30);
}
.hero__partner-label {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  color: rgba(245,250,250,0.85);
}
.hero__partner-logo {
  width: 110px;
  height: 60px;
  display: block;
  color: #F5FAFA;
}
[data-theme="light"] .hero__partner-logo { color: #17224D; }
[data-theme="light"] .hero__partner {
  background: rgba(255,255,255,0.85);
  border-color: rgba(228,37,39,0.40);
  box-shadow: 0 8px 24px -10px rgba(228,37,39,0.25);
}
[data-theme="light"] .hero__partner-label { color: #475569; }

/* Línea animada que dibuja de izquierda a derecha sobre el dashboard */
.benefits .benefits__line {
  position: absolute;
  inset: 0;
  background: var(--nodizo-dashboard-line) center / cover no-repeat;
  pointer-events: none;
  z-index: 0;
  clip-path: inset(0 100% 0 0);
  animation: dash-line-draw 4.5s ease-out 0.4s forwards;
  will-change: clip-path;
}
@keyframes dash-line-draw {
  to { clip-path: inset(0 0 0 0); }
}
@media (prefers-reduced-motion: reduce) {
  .benefits .benefits__line { animation: none; clip-path: inset(0 0 0 0); }
}

/* ---------- INDUSTRIES: mesh sutil ---------- */
.industries {
  background:
    var(--nodizo-mesh),
    linear-gradient(180deg, #17224D 0%, #0F1838 100%);
  background-size: cover, auto;
  background-position: center;
  background-repeat: no-repeat;
  position: relative;
}
.industries::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(15,24,56,0.55), rgba(15,24,56,0.75));
  pointer-events: none;
}
.industries > .container { position: relative; z-index: 1; }

/* ---------- PROCESS: líneas de flujo ---------- */
.process {
  background:
    var(--nodizo-flow),
    linear-gradient(180deg, #0F1838 0%, #17224D 100%);
  background-size: cover, auto;
  background-position: center;
  background-repeat: no-repeat;
  position: relative;
}
.process::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 0%, rgba(15,24,56,0.5) 100%);
  pointer-events: none;
}
.process > .container { position: relative; z-index: 1; }

/* ---------- TESTIMONIALS: aurora blobs animados (cyan + turquesa + rosa) ---------- */
.testimonials {
  background:
    radial-gradient(ellipse 1200px 600px at 50% 100%, rgba(26,163,255,0.14), transparent 60%),
    radial-gradient(ellipse 900px 500px at 50% 0%, rgba(23,233,225,0.08), transparent 65%),
    #0A1230;
  position: relative;
  overflow: hidden;
  isolation: isolate;
}
.testimonials::before,
.testimonials::after {
  content: '';
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  filter: blur(90px);
  z-index: 0;
  mix-blend-mode: screen;
  will-change: transform;
}
.testimonials::before {
  width: 720px;
  height: 720px;
  background: conic-gradient(from 0deg,
    rgba(23, 233, 225, 0.60),
    rgba(26, 163, 255, 0.45),
    rgba(255, 112, 140, 0.40),
    rgba(23, 233, 225, 0.60));
  top: -180px;
  left: -220px;
  opacity: 0.50;
  animation: testi-blob-a 22s linear infinite;
}
.testimonials::after {
  width: 560px;
  height: 560px;
  background: conic-gradient(from 180deg,
    rgba(255, 112, 140, 0.55),
    rgba(26, 163, 255, 0.40),
    rgba(23, 233, 225, 0.55),
    rgba(255, 112, 140, 0.55));
  bottom: -200px;
  right: -160px;
  opacity: 0.45;
  animation: testi-blob-b 28s linear infinite;
}
.testimonials > .container { position: relative; z-index: 1; }

@keyframes testi-blob-a {
  0%   { transform: translate(0, 0)       rotate(0deg)   scale(1);    }
  25%  { transform: translate(140px, 90px) rotate(90deg)  scale(1.08); }
  50%  { transform: translate(70px, 180px) rotate(180deg) scale(0.94); }
  75%  { transform: translate(-70px, 110px) rotate(270deg) scale(1.06); }
  100% { transform: translate(0, 0)       rotate(360deg) scale(1);    }
}
@keyframes testi-blob-b {
  0%   { transform: translate(0, 0)         rotate(0deg)    scale(1);    }
  25%  { transform: translate(-110px, -70px) rotate(-90deg)  scale(1.10); }
  50%  { transform: translate(-50px, -150px) rotate(-180deg) scale(0.92); }
  75%  { transform: translate(90px, -80px)   rotate(-270deg) scale(1.05); }
  100% { transform: translate(0, 0)         rotate(-360deg) scale(1);    }
}

@media (prefers-reduced-motion: reduce) {
  .testimonials::before,
  .testimonials::after { animation: none; }
}

/* Light mode: blobs más suaves sobre off-white */
[data-theme="light"] .testimonials {
  background:
    radial-gradient(ellipse 1200px 600px at 50% 100%, rgba(26,163,255,0.10), transparent 60%),
    radial-gradient(ellipse 900px 500px at 50% 0%, rgba(23,233,225,0.08), transparent 65%),
    #F5FAFA;
}
[data-theme="light"] .testimonials::before {
  opacity: 0.35;
  mix-blend-mode: multiply;
  background: conic-gradient(from 0deg,
    rgba(23, 233, 225, 0.55),
    rgba(26, 163, 255, 0.45),
    rgba(255, 112, 140, 0.40),
    rgba(23, 233, 225, 0.55));
}
[data-theme="light"] .testimonials::after {
  opacity: 0.30;
  mix-blend-mode: multiply;
  background: conic-gradient(from 180deg,
    rgba(255, 112, 140, 0.55),
    rgba(26, 163, 255, 0.40),
    rgba(23, 233, 225, 0.55),
    rgba(255, 112, 140, 0.55));
}

/* ---------- CTA FINAL: burst de rayos + glow ---------- */
.cta-final {
  background:
    var(--nodizo-burst),
    radial-gradient(ellipse at center, rgba(23,233,225,0.28), transparent 60%),
    linear-gradient(135deg, #0B7AC9 0%, #17224D 50%, #0F1838 100%);
  background-size: cover, auto, auto;
  background-position: center;
  background-repeat: no-repeat;
  position: relative;
  overflow: hidden;
}

/* ---------- ROLES DE COLOR: tags = turquesa, no cyan ---------- */
.section-tag {
  color: #17E9E1;
  background: rgba(23, 233, 225, 0.10);
  border: 1px solid rgba(23, 233, 225, 0.30);
}

/* ---------- STATS del mockup: cyan / turquesa / pink ---------- */
.stat__value--purple { color: #17E9E1; }   /* turquesa */
.stat__value--teal   { color: #1AA3FF; }   /* cyan */
.stat__value--blue   { color: #FF708C; }   /* pink (highlight financiero) */

.stat__delta {
  color: #17E9E1;
  background: rgba(23, 233, 225, 0.12);
}

/* ---------- BARRAS pipeline: degradés cyan→turquesa, último pink ---------- */
.stage__bar--1 { background: linear-gradient(180deg, #5EC2FF, #1AA3FF); }
.stage__bar--2 { background: linear-gradient(180deg, #6FF3EE, #17E9E1); }
.stage__bar--3 { background: linear-gradient(180deg, #5EC2FF, #1AA3FF); }
.stage__bar--4 { background: linear-gradient(180deg, #6FF3EE, #17E9E1); }
.stage__bar--5 { background: linear-gradient(180deg, #FFA3B6, #FF708C); }

/* ---------- BUTTONS afinados ---------- */
.btn--primary {
  background: linear-gradient(135deg, #17E9E1 0%, #1AA3FF 100%);
  color: #0A1230;
  box-shadow: 0 8px 30px -6px rgba(23,233,225,0.45);
}
.btn--primary:hover {
  filter: brightness(1.10);
  box-shadow: 0 14px 45px -8px rgba(23,233,225,0.6);
}
.btn--outline {
  color: #F5FAFA;
  border-color: rgba(245, 250, 250, 0.30);
}
.btn--outline:hover {
  border-color: #17E9E1;
  color: #17E9E1;
  background: rgba(23, 233, 225, 0.08);
}
.btn--ghost {
  color: rgba(245, 250, 250, 0.75);
}
.btn--ghost:hover {
  color: #17E9E1;
  background: rgba(23, 233, 225, 0.06);
}

/* ---------- focus visible turquesa ---------- */
:focus-visible { outline-color: #17E9E1; }

/* ---------- FIX: textos que usaban --color-white (ahora navy en dark) ----------
   En modo oscuro forzamos off-white real para que se vean legibles */
.section-header--light .section-title,
.stat-card__label,
.benefit-item__content h4,
.benefit-item__check {
  color: #F5FAFA;
}
.section-header--light .section-subtitle,
.stat-card__desc,
.benefit-item__content p {
  color: rgba(245, 250, 250, 0.72);
}
.stat-card {
  background: rgba(10, 18, 48, 0.82);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-color: rgba(26, 163, 255, 0.25);
  box-shadow: 0 12px 40px -12px rgba(0, 0, 0, 0.55);
}
.stat-card:hover {
  background: rgba(10, 18, 48, 0.90);
  border-color: rgba(23, 233, 225, 0.45);
}
.benefit-item {
  background: rgba(10, 18, 48, 0.82);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-color: rgba(26, 163, 255, 0.22);
  box-shadow: 0 12px 40px -12px rgba(0, 0, 0, 0.55);
}
.benefit-item:hover {
  background: rgba(10, 18, 48, 0.90);
  border-color: rgba(23, 233, 225, 0.45);
}
.benefit-item__check {
  background: linear-gradient(135deg, #0FB8B1, #17E9E1);
  color: #0A1230;
}

/* ---------- FIX FOOTER (usaba gray-900 que en dark se volvió off-white) ---------- */
.footer {
  background: #0A1230;
  border-top: 1px solid rgba(26, 163, 255, 0.10);
}
.footer__brand .logo-text { color: #F5FAFA; }
.footer__tagline { color: rgba(245, 250, 250, 0.55); }
.footer__col-title { color: rgba(245, 250, 250, 0.55); }
.footer__links a { color: rgba(245, 250, 250, 0.60); }
.footer__links a:hover { color: #17E9E1; }
.footer__links--contact li { color: rgba(245, 250, 250, 0.60); }
.footer__links--contact svg { color: rgba(245, 250, 250, 0.35); }
.footer__links--contact span { color: rgba(245, 250, 250, 0.50); }
.footer__copy,
.footer__partner { color: rgba(245, 250, 250, 0.40); }
.footer__partner strong { color: rgba(245, 250, 250, 0.65); }
.social-link {
  background: rgba(245, 250, 250, 0.06);
  color: rgba(245, 250, 250, 0.55);
  border-color: rgba(245, 250, 250, 0.12);
}
.social-link:hover {
  background: linear-gradient(135deg, #17E9E1, #1AA3FF);
  color: #0A1230;
  border-color: transparent;
}

.cta-final__title { color: #F5FAFA; }

.problem-card--highlight {
  background: linear-gradient(160deg, rgba(255,112,140,0.14), rgba(26,163,255,0.10));
  border-color: rgba(255, 112, 140, 0.45);
  box-shadow: 0 12px 40px -12px rgba(255, 112, 140, 0.35);
}
.problem-card--highlight,
.problem-card--highlight .problem-card__title { color: #F5FAFA; }
.problem-card--highlight .problem-card__text { color: rgba(245, 250, 250, 0.85); }
.problem-card--highlight .problem-card__icon {
  color: #FF708C;
  background: rgba(255, 112, 140, 0.18);
  border: 1px solid rgba(255, 112, 140, 0.40);
}

/* Acento rosa: nodo "IA" del node-hub */
.node-hub__node.nh-pos-3 {
  border-color: rgba(255, 112, 140, 0.50);
  box-shadow: 0 8px 30px -8px rgba(0,0,0,0.5), 0 0 20px -5px rgba(255, 112, 140, 0.40);
}
.node-hub__node.nh-pos-3 svg { color: #FF708C; }
.node-hub__node.nh-pos-3:hover {
  border-color: #FF708C;
  box-shadow: 0 12px 40px -8px rgba(255, 112, 140, 0.55);
}
[data-theme="light"] .node-hub__node.nh-pos-3 svg { color: #E14A6A; }
[data-theme="light"] .node-hub__node.nh-pos-3 {
  border-color: rgba(255, 112, 140, 0.50);
}

/* Acento rosa: delta "negativo" en stat del mockup (el -60% ya no existe, pero
   dejamos el role listo por si vuelve un stat de pérdida) */
.stat__delta--loss {
  color: #FF708C;
  background: rgba(255, 112, 140, 0.14);
}


/* ============================================================
   17. HILO CONTINUO + ANIMACIONES DE FONDO (dark mode)
============================================================ */

/* Hilo vertical fijo — columna aurora que atraviesa toda la página */
body::before {
  content: '';
  position: fixed;
  top: -10vh;
  right: 6%;
  width: 2px;
  height: 120vh;
  background: linear-gradient(180deg,
    transparent 0%,
    rgba(23, 233, 225, 0.0) 8%,
    rgba(23, 233, 225, 0.45) 22%,
    rgba(26, 163, 255, 0.55) 50%,
    rgba(255, 112, 140, 0.35) 78%,
    rgba(23, 233, 225, 0.0) 92%,
    transparent 100%);
  filter: blur(1.5px);
  pointer-events: none;
  z-index: 0;
  animation: thread-flow 12s ease-in-out infinite alternate;
}
body::after {
  content: '';
  position: fixed;
  top: -10vh;
  left: 7%;
  width: 1px;
  height: 120vh;
  background: linear-gradient(180deg,
    transparent 0%,
    rgba(26, 163, 255, 0.0) 12%,
    rgba(26, 163, 255, 0.35) 35%,
    rgba(23, 233, 225, 0.40) 65%,
    rgba(26, 163, 255, 0.0) 88%,
    transparent 100%);
  filter: blur(1.5px);
  pointer-events: none;
  z-index: 0;
  animation: thread-flow 16s ease-in-out infinite alternate-reverse;
}
@keyframes thread-flow {
  0%   { transform: translateY(-20px); opacity: 0.55; }
  50%  { transform: translateY(10px);  opacity: 0.90; }
  100% { transform: translateY(30px);  opacity: 0.70; }
}

/* Asegurar que el contenido de las secciones quede por encima del thread */
.hero, .problems, .services, .benefits, .industries,
.process, .testimonials, .cta-final, .footer, .navbar {
  position: relative;
  z-index: 1;
}

/* Light mode: thread más sutil */
[data-theme="light"] body::before {
  background: linear-gradient(180deg,
    transparent 0%,
    rgba(26, 163, 255, 0.30) 22%,
    rgba(23, 233, 225, 0.35) 50%,
    rgba(255, 112, 140, 0.22) 78%,
    transparent 100%);
  opacity: 0.7;
}
[data-theme="light"] body::after {
  background: linear-gradient(180deg,
    transparent 0%,
    rgba(26, 163, 255, 0.25) 35%,
    rgba(23, 233, 225, 0.28) 65%,
    transparent 100%);
  opacity: 0.6;
}

/* ---------- HERO: drift lento de los glows (efecto "breath") ---------- */
.hero {
  background-size: 100% 100%, 100% 100%, 100% 100%, auto;
  animation: hero-breath 18s ease-in-out infinite alternate;
}
@keyframes hero-breath {
  0%   { background-position: 0% 0%, 100% 100%, 50% 100%, 0 0; }
  50%  { background-position: 20% 15%, 80% 80%, 55% 90%, 0 0; }
  100% { background-position: 10% 5%, 90% 95%, 50% 95%, 0 0; }
}

/* ---------- PROBLEMS: drift sutil de gradientes de color ---------- */
.problems {
  background:
    radial-gradient(ellipse 600px 400px at 15% 25%, rgba(26,163,255,0.12), transparent 60%),
    radial-gradient(ellipse 500px 380px at 85% 75%, rgba(255,112,140,0.10), transparent 65%),
    linear-gradient(180deg, #17224D 0%, #0F1838 100%);
  background-size: 150% 150%, 150% 150%, auto;
  animation: bg-drift 24s ease-in-out infinite alternate;
}
@keyframes bg-drift {
  0%   { background-position: 0% 0%, 100% 100%, 0 0; }
  100% { background-position: 100% 100%, 0% 0%, 0 0; }
}

/* ---------- BENEFITS: drift combinado con las orbits ---------- */
.benefits {
  background-size: 130% 130%, 130% 130%, cover, auto;
  animation: benefits-drift 26s ease-in-out infinite alternate;
}
@keyframes benefits-drift {
  0%   { background-position: 80% 20%, 10% 80%, center, 0 0; }
  100% { background-position: 60% 30%, 20% 70%, center, 0 0; }
}

/* ---------- INDUSTRIES: drift lento ---------- */
.industries {
  background-size: 140% 140%, cover, auto;
  animation: industries-drift 22s ease-in-out infinite alternate;
}
@keyframes industries-drift {
  0%   { background-position: 0% 0%, center, 0 0; }
  100% { background-position: 100% 100%, center, 0 0; }
}

/* ---------- CTA FINAL: reemplazo de burst por aurora rotante ---------- */
.cta-final {
  background:
    radial-gradient(ellipse 1400px 700px at 50% 50%, rgba(23,233,225,0.16), transparent 60%),
    radial-gradient(ellipse 900px 500px at 20% 10%, rgba(26,163,255,0.18), transparent 65%),
    linear-gradient(135deg, #0B7AC9 0%, #17224D 45%, #0F1838 100%);
  background-size: auto, auto, auto;
  background-position: center;
  background-repeat: no-repeat;
  isolation: isolate;
}
.cta-final::before,
.cta-final::after {
  width: 800px;
  height: 800px;
  background: none;
  filter: blur(100px);
  mix-blend-mode: screen;
  border-radius: 50%;
  will-change: transform;
  z-index: 0;
}
.cta-final::before {
  background: conic-gradient(from 0deg,
    rgba(23, 233, 225, 0.55),
    rgba(26, 163, 255, 0.50),
    rgba(255, 112, 140, 0.40),
    rgba(23, 233, 225, 0.55));
  top: -250px;
  left: -200px;
  opacity: 0.55;
  animation: cta-blob-a 25s linear infinite;
}
.cta-final::after {
  width: 650px;
  height: 650px;
  background: conic-gradient(from 180deg,
    rgba(255, 112, 140, 0.55),
    rgba(23, 233, 225, 0.50),
    rgba(26, 163, 255, 0.45),
    rgba(255, 112, 140, 0.55));
  bottom: -220px;
  right: -180px;
  opacity: 0.50;
  animation: cta-blob-b 32s linear infinite;
}
.cta-final__inner { position: relative; z-index: 1; }
@keyframes cta-blob-a {
  0%   { transform: translate(0, 0) rotate(0deg) scale(1); }
  25%  { transform: translate(120px, 60px) rotate(90deg) scale(1.10); }
  50%  { transform: translate(60px, 140px) rotate(180deg) scale(0.94); }
  75%  { transform: translate(-80px, 80px) rotate(270deg) scale(1.06); }
  100% { transform: translate(0, 0) rotate(360deg) scale(1); }
}
@keyframes cta-blob-b {
  0%   { transform: translate(0, 0) rotate(0deg) scale(1); }
  25%  { transform: translate(-100px, -50px) rotate(-90deg) scale(1.12); }
  50%  { transform: translate(-40px, -130px) rotate(-180deg) scale(0.92); }
  75%  { transform: translate(80px, -70px) rotate(-270deg) scale(1.05); }
  100% { transform: translate(0, 0) rotate(-360deg) scale(1); }
}

/* Light mode cta: aurora más suave */
[data-theme="light"] .cta-final {
  background:
    radial-gradient(ellipse 1400px 700px at 50% 50%, rgba(23,233,225,0.14), transparent 60%),
    radial-gradient(ellipse 900px 500px at 20% 10%, rgba(26,163,255,0.16), transparent 65%),
    linear-gradient(135deg, #17E9E1 0%, #1AA3FF 50%, #17224D 100%);
}
[data-theme="light"] .cta-final::before { opacity: 0.35; mix-blend-mode: overlay; }
[data-theme="light"] .cta-final::after  { opacity: 0.30; mix-blend-mode: overlay; }

/* Reducir motion: desactivar animaciones pesadas */
@media (prefers-reduced-motion: reduce) {
  body::before, body::after,
  .hero, .problems, .benefits, .industries,
  .cta-final::before, .cta-final::after {
    animation: none !important;
  }
}


/* ============================================================
   15. THEME TOGGLE BUTTON
============================================================ */
.theme-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: var(--radius-full);
  border: 1px solid rgba(245, 250, 250, 0.18);
  background: rgba(245, 250, 250, 0.05);
  color: #F5FAFA;
  cursor: pointer;
  transition: all var(--transition-base);
  flex-shrink: 0;
}
.theme-toggle:hover {
  border-color: #17E9E1;
  color: #17E9E1;
  background: rgba(23, 233, 225, 0.10);
  transform: rotate(15deg);
}
.theme-toggle__icon { display: none; }

/* Iconos según tema actual */
[data-theme="dark"] .theme-toggle__icon--sun  { display: block; }
[data-theme="light"] .theme-toggle__icon--moon { display: block; }

/* Logos según tema */
.logo-img--dark  { display: none; }
.logo-img--light { display: none; }
[data-theme="dark"]  .logo-img--dark  { display: block; }
[data-theme="light"] .logo-img--light { display: block; }


/* ============================================================
   16. LIGHT THEME — overrides completos
============================================================ */
[data-theme="light"] {
  /* Restauramos los grises a su orientación natural (claros = claros) */
  --color-white:    #FFFFFF;
  --color-gray-50:  #F5FAFA;
  --color-gray-100: #EEF2F8;
  --color-gray-200: #E2E8F0;
  --color-gray-300: #CBD5E1;
  --color-gray-400: #94A3B8;
  --color-gray-500: #64748B;
  --color-gray-600: #475569;
  --color-gray-700: #334155;
  --color-gray-800: #1E293B;
  --color-gray-900: #17224D;        /* navy de marca como "casi-negro" */

  --gradient-hero:     radial-gradient(ellipse at top, #FFFFFF 0%, #F5FAFA 60%, #E8F4FE 100%);
  --gradient-benefits: linear-gradient(160deg, #17224D 0%, #0F1838 60%, #1B2A5A 100%);

  /* Variantes de fondos para tema claro (opacidades reducidas y stroke navy) */
  --nodizo-mesh: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1600 900' preserveAspectRatio='xMidYMid slice'><g fill='none' stroke='%231AA3FF' stroke-width='1.5' stroke-linecap='round' opacity='0.38'><path d='M 100 200 Q 300 50 500 250 T 900 300'/><path d='M 200 700 Q 450 500 700 750 T 1100 700'/><path d='M 800 100 Q 1000 250 1200 150 T 1500 300'/><path d='M 1300 600 Q 1100 750 900 600 T 500 700'/><path d='M 50 450 Q 250 350 450 500 T 850 500'/><path d='M 950 450 Q 1150 550 1350 450 T 1600 500'/></g><g fill='none' stroke='%230FB8B1' stroke-width='1' stroke-linecap='round' opacity='0.28'><path d='M 150 300 Q 350 450 550 350 T 900 380'/><path d='M 700 200 Q 850 350 1000 250 T 1300 280'/><path d='M 400 600 Q 600 750 800 650 T 1100 680'/><path d='M 1100 820 Q 1250 700 1400 800 T 1600 750'/></g><g fill='%231AA3FF'><circle cx='100' cy='200' r='4' opacity='0.85'/><circle cx='500' cy='250' r='5' opacity='0.8'/><circle cx='900' cy='300' r='3' opacity='0.7'/><circle cx='200' cy='700' r='3' opacity='0.7'/><circle cx='700' cy='750' r='5' opacity='0.85'/><circle cx='1100' cy='700' r='4' opacity='0.75'/><circle cx='800' cy='100' r='3' opacity='0.6'/><circle cx='1200' cy='150' r='5' opacity='0.8'/><circle cx='1500' cy='300' r='4' opacity='0.7'/><circle cx='1300' cy='600' r='3' opacity='0.7'/><circle cx='850' cy='500' r='6' opacity='0.9'/><circle cx='1600' cy='500' r='4' opacity='0.7'/></g></svg>");
  --nodizo-constellation: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1600 900' preserveAspectRatio='xMidYMid slice'><g fill='none' stroke='%231AA3FF' stroke-width='1.2' stroke-linecap='round' opacity='0.32'><path d='M 200 150 C 400 50 600 250 800 150 S 1200 250 1400 150'/><path d='M 100 400 C 300 300 500 500 700 400 S 1100 500 1300 400 S 1600 500 1700 400'/><path d='M 200 650 C 400 550 600 750 800 650 S 1200 750 1400 650'/></g><g fill='none' stroke='%230FB8B1' stroke-width='1' stroke-linecap='round' opacity='0.24'><path d='M 150 250 Q 400 100 650 280 T 1150 250 T 1550 280'/><path d='M 50 550 Q 350 400 600 580 T 1100 550 T 1600 580'/></g><g fill='%231AA3FF'><circle cx='200' cy='150' r='3'/><circle cx='800' cy='150' r='5'/><circle cx='1400' cy='150' r='3'/><circle cx='100' cy='400' r='4'/><circle cx='700' cy='400' r='5'/><circle cx='1300' cy='400' r='4'/><circle cx='200' cy='650' r='3'/><circle cx='800' cy='650' r='6'/><circle cx='1400' cy='650' r='3'/></g></svg>");
  --nodizo-flow: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1600 900' preserveAspectRatio='xMidYMid slice'><g fill='none' stroke='%231AA3FF' stroke-width='1.5' stroke-linecap='round' opacity='0.32'><path d='M -50 200 Q 200 100 450 250 T 950 250 T 1450 250 T 1700 200'/><path d='M -50 450 Q 250 350 500 500 T 1000 500 T 1500 500 T 1700 450'/><path d='M -50 700 Q 200 600 450 750 T 950 750 T 1450 750 T 1700 700'/></g><g fill='%231AA3FF'><circle cx='200' cy='200' r='4'/><circle cx='700' cy='240' r='5'/><circle cx='1200' cy='240' r='4'/><circle cx='500' cy='500' r='5'/><circle cx='1100' cy='500' r='3'/><circle cx='1400' cy='495' r='5'/><circle cx='250' cy='700' r='4'/><circle cx='850' cy='745' r='5'/><circle cx='1450' cy='745' r='4'/></g></svg>");
  --nodizo-iso-sil: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1600 900' preserveAspectRatio='xMidYMid slice'><defs><linearGradient id='isoGL' x1='0%25' y1='0%25' x2='100%25' y2='0%25'><stop offset='0%25' stop-color='%2317E9E1' stop-opacity='0.16'/><stop offset='100%25' stop-color='%231AA3FF' stop-opacity='0.16'/></linearGradient></defs><g transform='translate(380 180)'><path d='M 0 540 L 0 60 Q 0 0 60 0 Q 120 0 120 60 L 120 280 Q 200 80 380 280 Q 540 460 720 280' fill='none' stroke='url(%23isoGL)' stroke-width='80' stroke-linecap='round' stroke-linejoin='round'/><circle cx='820' cy='280' r='55' fill='%2317E9E1' opacity='0.14'/></g></svg>");
}

[data-theme="light"] body {
  background: #FFFFFF;
  color: #1E293B;
}

/* ---- Navbar claro ---- */
[data-theme="light"] .navbar {
  background: rgba(255, 255, 255, 0.80);
  border-bottom-color: rgba(23, 34, 77, 0.06);
}
[data-theme="light"] .navbar.scrolled {
  background: rgba(255, 255, 255, 0.95);
  border-bottom-color: rgba(23, 34, 77, 0.10);
  box-shadow: 0 4px 20px -8px rgba(23, 34, 77, 0.15);
}
[data-theme="light"] .navbar__links a {
  color: #475569;
}
[data-theme="light"] .navbar__links a:hover { color: #17224D; }
[data-theme="light"] .theme-toggle {
  border-color: rgba(23, 34, 77, 0.15);
  background: rgba(23, 34, 77, 0.04);
  color: #17224D;
}
[data-theme="light"] .theme-toggle:hover {
  border-color: #1AA3FF;
  color: #1AA3FF;
  background: rgba(26, 163, 255, 0.10);
}

/* ---- HERO claro: gradientes suaves, sin SVG (el node-hub es el foco) ---- */
[data-theme="light"] .hero {
  background:
    radial-gradient(ellipse 700px 500px at 15% 20%, rgba(26,163,255,0.16), transparent 60%),
    radial-gradient(ellipse 900px 700px at 85% 60%, rgba(23,233,225,0.14), transparent 65%),
    radial-gradient(ellipse 500px 400px at 50% 100%, rgba(26,163,255,0.08), transparent 70%),
    linear-gradient(180deg, #FFFFFF 0%, #F5FAFA 100%);
  background-repeat: no-repeat;
}
[data-theme="light"] .hero::before { background: rgba(26, 163, 255, 0.10); }
[data-theme="light"] .hero::after  { background: rgba(23, 233, 225, 0.10); }

[data-theme="light"] .hero__badge {
  color: #0B7AC9;
  background: #FFFFFF;
  border: 1px solid rgba(26, 163, 255, 0.35);
  box-shadow: 0 8px 30px -10px rgba(26,163,255,0.25);
}
[data-theme="light"] .hero__title { color: #17224D; }
[data-theme="light"] .hero__subtitle { color: #475569; }
[data-theme="light"] .trust__label { color: #94A3B8; }
[data-theme="light"] .trust__logo { color: #64748B; }

/* ---- Node Hub claro ---- */
[data-theme="light"] .node-hub__node {
  background: rgba(255, 255, 255, 0.92);
  border-color: rgba(26, 163, 255, 0.35);
  color: #17224D;
  box-shadow: 0 10px 30px -10px rgba(23, 34, 77, 0.20), 0 0 20px -5px rgba(23, 233, 225, 0.25);
}
[data-theme="light"] .node-hub__node svg { color: #0B7AC9; }
[data-theme="light"] .node-hub__center {
  background: radial-gradient(circle, rgba(23,233,225,0.22) 0%, rgba(26,163,255,0.06) 60%, transparent 100%);
}
[data-theme="light"] .node-hub__center img {
  filter: drop-shadow(0 8px 32px rgba(26, 163, 255, 0.35));
}
[data-theme="light"] .node-hub__pulse { border-color: rgba(26, 163, 255, 0.35); }
[data-theme="light"] .node-hub__pulse::before { border-color: rgba(26, 163, 255, 0.25); }
[data-theme="light"] .node-hub__pulse::after  { border-color: rgba(26, 163, 255, 0.15); }

/* ---- Mockup claro ---- */
[data-theme="light"] .dashboard-mockup {
  background: #FFFFFF;
  border: 1px solid rgba(23, 34, 77, 0.08);
  box-shadow: 0 30px 80px -20px rgba(23, 34, 77, 0.25), 0 0 0 1px rgba(26, 163, 255, 0.05);
}
[data-theme="light"] .mockup__topbar {
  background: #F5FAFA;
  border-bottom-color: #E2E8F0;
}
[data-theme="light"] .mockup__body { background: #E2E8F0; }
[data-theme="light"] .mockup__stat { background: #FFFFFF; }
[data-theme="light"] .mockup__pipeline { border-top-color: #EEF2F8; }
[data-theme="light"] .mockup__title,
[data-theme="light"] .stat__label,
[data-theme="light"] .stage__name { color: #94A3B8; }
[data-theme="light"] .stage__count { color: #475569; }

/* ---- Section header claro ---- */
[data-theme="light"] .section-title { color: #17224D; }
[data-theme="light"] .section-subtitle { color: #64748B; }

/* ---- PROBLEMS claro ---- */
[data-theme="light"] .problems {
  background: linear-gradient(180deg, #FFFFFF 0%, #F5FAFA 100%);
}
[data-theme="light"] .problem-card {
  background: #FFFFFF;
  border: 1px solid #E2E8F0;
  box-shadow: 0 1px 3px rgba(23, 34, 77, 0.04);
}
[data-theme="light"] .problem-card:hover {
  border-color: rgba(255, 112, 140, 0.50);
  box-shadow: 0 12px 40px -10px rgba(255, 112, 140, 0.20);
}
[data-theme="light"] .problem-card__title { color: #17224D; }
[data-theme="light"] .problem-card__text { color: #64748B; }

/* ---- SERVICES claro ---- */
[data-theme="light"] .services {
  background:
    var(--nodizo-wave-dense),
    linear-gradient(180deg, #F5FAFA 0%, #EEF6FE 100%);
  background-size: 180px 90px, auto;
  background-repeat: repeat, no-repeat;
  background-blend-mode: normal, normal;
  border-top: 1px solid #E2E8F0;
  border-bottom: 1px solid #E2E8F0;
}
[data-theme="light"] .services::before {
  background: radial-gradient(ellipse at 50% 0%, rgba(23, 233, 225, 0.18), transparent 60%);
}
[data-theme="light"] .service-card {
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid #E2E8F0;
  backdrop-filter: blur(10px);
  box-shadow: 0 1px 3px rgba(23, 34, 77, 0.04);
}
[data-theme="light"] .service-card:hover {
  box-shadow: 0 20px 50px -10px rgba(26, 163, 255, 0.25);
}
[data-theme="light"] .service-card--featured {
  background: linear-gradient(160deg, rgba(26, 163, 255, 0.10), rgba(23, 233, 225, 0.06));
  border-color: rgba(26, 163, 255, 0.35);
}
[data-theme="light"] .service-card__title { color: #17224D; }

/* ---- BENEFITS: se mantiene oscuro siempre (contraste de marca) ---- */

/* ---- INDUSTRIES claro ---- */
[data-theme="light"] .industries {
  background: linear-gradient(180deg, #FFFFFF 0%, #F5FAFA 100%);
}

/* ---- PROCESS claro ---- */
[data-theme="light"] .process {
  background:
    var(--nodizo-wave),
    linear-gradient(180deg, #F5FAFA 0%, #FFFFFF 100%);
  background-size: 240px 120px, auto;
  background-repeat: repeat, no-repeat;
}
[data-theme="light"] .process::after {
  background: linear-gradient(180deg, transparent 0%, rgba(255, 255, 255, 0.5) 100%);
}

/* ---- TESTIMONIALS claro ---- */
[data-theme="light"] .testimonials {
  background:
    radial-gradient(ellipse 700px 400px at 50% 100%, rgba(26, 163, 255, 0.10), transparent 60%),
    #F5FAFA;
}

/* ---- CTA FINAL: se mantiene oscuro siempre (alto impacto) ---- */

/* ---- TAGS claro ---- */
[data-theme="light"] .section-tag {
  color: #0FB8B1;
  background: rgba(23, 233, 225, 0.12);
  border-color: rgba(23, 233, 225, 0.40);
}
[data-theme="light"] .service-card__tag {
  color: #0FB8B1;
  background: rgba(23, 233, 225, 0.12);
  border-color: rgba(23, 233, 225, 0.40);
}

/* ---- BUTTONS claro ---- */
[data-theme="light"] .btn--outline {
  color: #17224D;
  border-color: rgba(23, 34, 77, 0.20);
}
[data-theme="light"] .btn--outline:hover {
  border-color: #1AA3FF;
  color: #1AA3FF;
  background: rgba(26, 163, 255, 0.06);
}
[data-theme="light"] .btn--ghost {
  color: #475569;
}
[data-theme="light"] .btn--ghost:hover {
  color: #17224D;
  background: #F5FAFA;
}

/* ============================================================
   18. LIGHT THEME — REWORK por sección (rotación de paleta)
   Paleta: #1AA3FF azul, #17E9E1 cyan, #0FB8B1 teal,
           #FF708C rosa, #17224D navy, #F5FAFA off-white
============================================================ */

/* Neutraliza overlays oscuros heredados que ensucian el claro */
[data-theme="light"] .industries::before,
[data-theme="light"] .services::before,
[data-theme="light"] .process::after {
  background: transparent !important;
}

/* Hilo continuo en claro: muy sutil, no compite con secciones */
[data-theme="light"] body::before {
  background: linear-gradient(180deg,
    transparent 0%,
    rgba(26,163,255,0.10) 20%,
    rgba(15,184,177,0.10) 50%,
    rgba(255,112,140,0.08) 80%,
    transparent 100%) !important;
  opacity: 0.55;
}
[data-theme="light"] body::after {
  background: linear-gradient(180deg,
    transparent 0%,
    rgba(23,233,225,0.10) 30%,
    rgba(26,163,255,0.08) 70%,
    transparent 100%) !important;
  opacity: 0.45;
}

/* ---------- HERO claro: cielo cyan con halo ---------- */
[data-theme="light"] .hero {
  background:
    radial-gradient(ellipse 900px 600px at 12% 10%, rgba(26,163,255,0.22), transparent 60%),
    radial-gradient(ellipse 1000px 700px at 88% 70%, rgba(23,233,225,0.20), transparent 65%),
    radial-gradient(ellipse 600px 400px at 50% 110%, rgba(255,112,140,0.10), transparent 70%),
    linear-gradient(180deg, #FFFFFF 0%, #EEF8FF 60%, #E4F4FE 100%) !important;
}

/* ---------- PROBLEMS claro: blanco con tinte rosa ---------- */
[data-theme="light"] .problems {
  background:
    radial-gradient(ellipse 700px 400px at 85% 15%, rgba(255,112,140,0.10), transparent 65%),
    radial-gradient(ellipse 600px 350px at 10% 85%, rgba(26,163,255,0.08), transparent 65%),
    linear-gradient(180deg, #FFFFFF 0%, #FFF6F8 100%) !important;
}
[data-theme="light"] .problem-card {
  background: #FFFFFF;
  border: 1px solid rgba(23,34,77,0.08);
  box-shadow: 0 4px 18px -8px rgba(23,34,77,0.10);
  transition: all 0.3s ease;
}
[data-theme="light"] .problem-card:hover {
  border-color: rgba(255,112,140,0.55);
  box-shadow: 0 18px 45px -12px rgba(255,112,140,0.30);
  transform: translateY(-4px);
}
[data-theme="light"] .problem-card--highlight {
  background: linear-gradient(160deg, #FFFFFF 0%, #FFF0F4 100%);
  border-color: rgba(255,112,140,0.45);
}

/* ---------- SERVICES claro: azul cielo con mesh ---------- */
[data-theme="light"] .services {
  background:
    radial-gradient(ellipse 800px 500px at 0% 0%, rgba(26,163,255,0.16), transparent 60%),
    radial-gradient(ellipse 700px 500px at 100% 100%, rgba(23,233,225,0.14), transparent 60%),
    linear-gradient(180deg, #F0F9FF 0%, #E8F4FE 100%) !important;
  border-top: 1px solid rgba(26,163,255,0.15);
  border-bottom: 1px solid rgba(26,163,255,0.15);
}
[data-theme="light"] .service-card {
  background: rgba(255,255,255,0.95);
  border: 1px solid rgba(26,163,255,0.18);
  box-shadow: 0 4px 18px -8px rgba(26,163,255,0.15);
  transition: all 0.3s ease;
}
[data-theme="light"] .service-card:hover {
  border-color: rgba(26,163,255,0.45);
  box-shadow: 0 22px 55px -12px rgba(26,163,255,0.32);
  transform: translateY(-6px);
}
[data-theme="light"] .service-card--featured {
  background: linear-gradient(160deg, #FFFFFF 0%, rgba(23,233,225,0.10) 100%);
  border-color: rgba(15,184,177,0.45);
  box-shadow: 0 18px 50px -12px rgba(15,184,177,0.25);
}

/* ---------- INDUSTRIES claro: blanco crema con teal ---------- */
[data-theme="light"] .industries {
  background:
    radial-gradient(ellipse 900px 500px at 50% 0%, rgba(15,184,177,0.14), transparent 60%),
    radial-gradient(ellipse 600px 400px at 10% 100%, rgba(26,163,255,0.10), transparent 65%),
    radial-gradient(ellipse 600px 400px at 90% 100%, rgba(255,112,140,0.08), transparent 65%),
    linear-gradient(180deg, #FFFFFF 0%, #F3FBFA 100%) !important;
}
[data-theme="light"] .industry-card {
  background: #FFFFFF;
  border: 1px solid rgba(15,184,177,0.18);
  box-shadow: 0 4px 18px -8px rgba(15,184,177,0.15);
  transition: all 0.3s ease;
}
[data-theme="light"] .industry-card:hover {
  border-color: rgba(15,184,177,0.50);
  box-shadow: 0 20px 50px -12px rgba(15,184,177,0.28);
  transform: translateY(-5px);
}
[data-theme="light"] .industry-card__icon {
  color: #0FB8B1;
}
[data-theme="light"] .industry-card--featured {
  background: linear-gradient(160deg, #FFFFFF 0%, rgba(15,184,177,0.10) 100%);
  border-color: rgba(15,184,177,0.45);
}

/* ---------- PROCESS claro: lavanda azulada ---------- */
[data-theme="light"] .process {
  background:
    radial-gradient(ellipse 700px 500px at 20% 20%, rgba(26,163,255,0.14), transparent 60%),
    radial-gradient(ellipse 700px 500px at 80% 80%, rgba(23,233,225,0.12), transparent 60%),
    linear-gradient(180deg, #F8FBFF 0%, #EEF4FB 100%) !important;
}
[data-theme="light"] .process__steps::before {
  background: linear-gradient(180deg, rgba(26,163,255,0.35), rgba(23,233,225,0.25)) !important;
}
[data-theme="light"] .process-step__number {
  background: linear-gradient(135deg, #1AA3FF 0%, #17E9E1 100%);
  color: #FFFFFF;
  box-shadow: 0 8px 24px -8px rgba(26,163,255,0.45);
}
[data-theme="light"] .process-step__title { color: #17224D; }
[data-theme="light"] .process-step__text  { color: #475569; }
[data-theme="light"] .process-step__duration {
  color: #0FB8B1;
  background: rgba(23,233,225,0.12);
  border: 1px solid rgba(15,184,177,0.30);
}

/* ---------- TESTIMONIALS claro: rosa-cyan suave ---------- */
[data-theme="light"] .testimonials {
  background:
    radial-gradient(ellipse 800px 500px at 15% 20%, rgba(255,112,140,0.14), transparent 60%),
    radial-gradient(ellipse 800px 500px at 85% 80%, rgba(26,163,255,0.14), transparent 60%),
    radial-gradient(ellipse 600px 400px at 50% 50%, rgba(23,233,225,0.08), transparent 70%),
    linear-gradient(180deg, #FFF8FA 0%, #F0F9FF 100%) !important;
}
[data-theme="light"] .testimonial-card {
  background: rgba(255,255,255,0.96);
  border: 1px solid rgba(23,34,77,0.08);
  box-shadow: 0 6px 24px -10px rgba(23,34,77,0.12);
  transition: all 0.3s ease;
}
[data-theme="light"] .testimonial-card:hover {
  border-color: rgba(255,112,140,0.40);
  box-shadow: 0 22px 55px -14px rgba(255,112,140,0.22);
  transform: translateY(-4px);
}
[data-theme="light"] .testimonial-card__text  { color: #334155; }
[data-theme="light"] .testimonial-card__name  { color: #17224D; }
[data-theme="light"] .testimonial-card__role  { color: #64748B; }
[data-theme="light"] .testimonial-card__quote { color: #FF708C; }

/* ---------- Footer claro ---------- */
[data-theme="light"] .footer {
  background: linear-gradient(180deg, #F5FAFA 0%, #EEF4FB 100%) !important;
  border-top: 1px solid rgba(23,34,77,0.10);
  color: #475569;
}
[data-theme="light"] .footer h4,
[data-theme="light"] .footer__title { color: #17224D; }
[data-theme="light"] .footer a { color: #475569; }
[data-theme="light"] .footer a:hover { color: #1AA3FF; }
[data-theme="light"] .footer__bottom {
  border-top-color: rgba(23,34,77,0.10);
  color: #64748B;
}

/* ============================================================
   LEGAL PAGES
============================================================ */
.legal-page {
  position: relative;
  overflow-x: hidden;
  scroll-padding-top: calc(var(--navbar-height) + var(--space-6));
}

.legal-page::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  background:
    radial-gradient(ellipse 720px 520px at 12% 12%, rgba(26, 163, 255, 0.16), transparent 60%),
    radial-gradient(ellipse 820px 560px at 88% 20%, rgba(23, 233, 225, 0.12), transparent 62%),
    radial-gradient(ellipse 640px 440px at 50% 100%, rgba(255, 112, 140, 0.08), transparent 70%);
}

.legal-page .navbar,
.legal-page .footer,
.legal-page .legal-main {
  position: relative;
  z-index: 1;
}

.legal-page .navbar__inner {
  justify-content: space-between;
}

.legal-navbar__left {
  display: flex;
  align-items: center;
  gap: clamp(1rem, 2vw, 2rem);
  min-width: 0;
}

.legal-page .navbar__links {
  gap: var(--space-4);
}

.legal-page .navbar__links a {
  color: var(--color-gray-700);
}

.legal-hero {
  padding-top: var(--space-8);
  padding-bottom: var(--space-10);
  background:
    radial-gradient(ellipse 900px 500px at 12% 6%, rgba(26, 163, 255, 0.10), transparent 58%),
    radial-gradient(ellipse 760px 440px at 88% 22%, rgba(23, 233, 225, 0.08), transparent 60%),
    linear-gradient(180deg, #0F1838 0%, #17224D 100%);
  border-bottom: 1px solid rgba(26, 163, 255, 0.08);
  position: relative;
  overflow: hidden;
}

.legal-hero::after {
  content: "";
  position: absolute;
  inset: auto auto -110px 50%;
  width: min(920px, 88vw);
  height: 180px;
  transform: translateX(-50%);
  background: radial-gradient(ellipse at center, rgba(23, 233, 225, 0.06), rgba(26, 163, 255, 0.025) 45%, transparent 72%);
  filter: blur(10px);
  pointer-events: none;
}

.legal-hero__inner {
  max-width: 1040px;
  position: relative;
  z-index: 1;
  margin-inline: auto;
  text-align: left;
}

.legal-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  padding: 0.55rem 0.95rem;
  border-radius: var(--radius-full);
  font-size: var(--font-size-xs);
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-teal-light);
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(23, 233, 225, 0.20);
  margin-bottom: var(--space-5);
  box-shadow: none;
}

.legal-title {
  max-width: 11ch;
  font-size: clamp(2.1rem, 3.7vw, 3.25rem);
  line-height: 1.08;
  letter-spacing: -0.04em;
  color: var(--color-gray-900);
  margin-bottom: var(--space-5);
  text-wrap: balance;
  margin-inline: 0;
}

.legal-intro {
  max-width: 700px;
  font-size: clamp(1rem, 1.08vw, 1.12rem);
  color: rgba(245, 250, 250, 0.76);
  line-height: 1.82;
  text-wrap: pretty;
  margin-inline: 0;
}

.legal-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--space-3);
  margin-top: var(--space-7);
  color: rgba(245, 250, 250, 0.58);
  font-size: var(--font-size-sm);
}

.legal-meta__item {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.55rem 0.85rem;
  border-radius: var(--radius-full);
  background: rgba(255, 255, 255, 0.045);
  border: 1px solid rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  box-shadow: none;
}

.legal-main {
  padding-top: var(--space-8);
  padding-bottom: var(--space-20);
}

.legal-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 200px;
  gap: 32px;
  align-items: start;
  max-width: 1160px;
  margin: 0 auto;
}

.legal-content {
  grid-column: 1;
  grid-row: 1;
  width: 100%;
  max-width: none;
  min-width: 0;
}

.legal-toc {
  grid-column: 2;
  grid-row: 1;
  position: sticky;
  top: 120px;
  width: 100%;
  max-width: 200px;
  justify-self: end;
  align-self: start;
  margin-inline: 0;
  padding: 0.5rem 0.56rem;
  border-radius: var(--radius-xl);
  background: rgba(255, 255, 255, 0.035);
  border: 1px solid rgba(26, 163, 255, 0.08);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: none;
  overflow: visible;
}

.legal-toc__title {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-teal);
  margin-bottom: 0.45rem;
  padding-bottom: 0;
  border-bottom: none;
  opacity: 0.82;
}

.legal-toc ul {
  list-style: none;
  display: grid;
  gap: 0.14rem;
}

.legal-toc a {
  display: block;
  color: var(--color-gray-600);
  font-size: 0.74rem;
  line-height: 1.2;
  padding: 0.34rem 0.5rem;
  border-radius: 0.75rem;
  background: transparent;
  border: 1px solid transparent;
  transition: color var(--transition-fast), background var(--transition-fast), border-color var(--transition-fast), transform var(--transition-fast);
}

.legal-toc a:hover {
  color: var(--color-gray-900);
  transform: translateX(2px);
  background: rgba(255, 255, 255, 0.04);
  border-color: rgba(23, 233, 225, 0.10);
  box-shadow: none;
}

.legal-card {
  padding: clamp(1.3rem, 1.7vw, 1.8rem) clamp(0.4rem, 1vw, 0.6rem) 0;
  border-radius: 0;
  background: transparent;
  border: none;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  box-shadow: none;
}

.legal-reading {
  max-width: none;
  display: grid;
  gap: var(--space-4);
  width: 100%;
  margin-inline: auto;
}

.legal-lead {
  font-size: 1.02rem;
  color: var(--color-gray-700);
  line-height: 1.8;
  margin: 0;
  padding: 0.1rem 0 1.15rem;
  border-radius: 0;
  background: transparent;
  border: none;
  border-bottom: 1px solid rgba(26, 163, 255, 0.10);
}

.legal-section {
  padding: clamp(1.05rem, 1.8vw, 1.35rem) 0;
  border-radius: 0;
  background: transparent;
  border: none;
  scroll-margin-top: calc(var(--navbar-height) + var(--space-8));
}

.legal-section + .legal-section {
  margin-top: 0;
  padding-top: clamp(1.15rem, 2vw, 1.55rem);
  border-top: 1px solid rgba(26, 163, 255, 0.10);
}

.legal-section h2 {
  font-size: clamp(1.3rem, 1.7vw, 1.58rem);
  line-height: 1.24;
  color: var(--color-gray-900);
  letter-spacing: -0.025em;
  margin-bottom: var(--space-4);
  max-width: 28ch;
}

.legal-section h3 {
  font-size: 0.98rem;
  line-height: 1.35;
  color: var(--color-gray-900);
  margin: var(--space-4) 0 var(--space-2);
}

.legal-section p {
  font-size: 0.98rem;
  line-height: 1.82;
  color: var(--color-gray-600);
  text-wrap: pretty;
}

.legal-section p + p {
  margin-top: var(--space-4);
}

.legal-section ul,
.legal-section ol {
  margin: var(--space-4) 0 0 1.2rem;
  color: var(--color-gray-600);
}

.legal-section li + li {
  margin-top: 0.5rem;
}

.legal-callout {
  margin-top: var(--space-4);
  padding: 1.1rem 1.15rem;
  border-radius: var(--radius-xl);
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(23, 233, 225, 0.10);
  box-shadow: none;
}

.legal-callout h2 {
  font-size: var(--font-size-xl);
  margin-bottom: var(--space-3);
}

.legal-callout p {
  color: var(--color-gray-600);
}

.footer__legal {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem 1.25rem;
  margin-top: var(--space-3);
  font-size: 13px;
}

.footer__legal a {
  color: var(--color-gray-500);
  transition: color var(--transition-fast);
}

.footer__legal a:hover {
  color: var(--color-teal);
}

[data-theme="light"] .legal-page::before {
  background:
    radial-gradient(ellipse 760px 520px at 12% 8%, rgba(26, 163, 255, 0.18), transparent 58%),
    radial-gradient(ellipse 820px 560px at 90% 20%, rgba(23, 233, 225, 0.16), transparent 62%),
    linear-gradient(180deg, rgba(255,255,255,0), rgba(255,255,255,0));
}

[data-theme="light"] .legal-hero {
  background:
    radial-gradient(ellipse 900px 480px at 12% 10%, rgba(26, 163, 255, 0.12), transparent 58%),
    radial-gradient(ellipse 760px 440px at 90% 22%, rgba(23, 233, 225, 0.10), transparent 60%),
    linear-gradient(180deg, #FFFFFF 0%, #EEF6FF 100%);
  border-bottom-color: rgba(23, 34, 77, 0.08);
}

[data-theme="light"] .legal-eyebrow {
  color: #0B7AC9;
  background: rgba(255, 255, 255, 0.72);
  border-color: rgba(26, 163, 255, 0.16);
}

[data-theme="light"] .legal-intro,
[data-theme="light"] .legal-meta {
  color: rgba(23, 34, 77, 0.72);
}

[data-theme="light"] .legal-meta__item {
  background: rgba(255, 255, 255, 0.72);
  border-color: rgba(23, 34, 77, 0.08);
  box-shadow: none;
}

[data-theme="light"] .legal-toc,
[data-theme="light"] .legal-card {
  background: rgba(255, 255, 255, 0.84);
  border-color: rgba(23, 34, 77, 0.08);
}

[data-theme="light"] .legal-section {
  background: transparent;
  border-color: rgba(23, 34, 77, 0.07);
}

[data-theme="light"] .legal-lead {
  background: transparent;
  border-color: rgba(26, 163, 255, 0.10);
}

[data-theme="light"] .legal-toc a {
  background: rgba(23, 34, 77, 0.02);
}

[data-theme="light"] .legal-toc a:hover {
  background: rgba(26, 163, 255, 0.08);
  border-color: rgba(26, 163, 255, 0.12);
}

[data-theme="light"] .footer__legal a {
  color: #64748B;
}

[data-theme="light"] .footer__legal a:hover {
  color: #1AA3FF;
}

@media (max-width: 1024px) {
  .legal-layout {
    grid-template-columns: 1fr;
    gap: var(--space-4);
    max-width: 760px;
  }

  .legal-content {
    grid-column: 1;
    grid-row: auto;
  }

  .legal-toc {
    grid-column: 1;
    grid-row: auto;
    position: static;
    width: 100%;
    max-width: none;
    justify-self: stretch;
  }

  .legal-navbar__left {
    gap: 1rem;
  }
}

@media (max-width: 768px) {
  .legal-hero {
    padding-top: var(--space-5);
    padding-bottom: var(--space-8);
  }

  .legal-hero__inner {
    max-width: none;
    padding-inline: 1rem;
  }

  .legal-eyebrow {
    margin-bottom: var(--space-4);
    padding: 0.48rem 0.82rem;
  }

  .legal-title {
    max-width: 12ch;
    font-size: clamp(1.95rem, 8.4vw, 2.4rem);
    line-height: 1.06;
    margin-bottom: var(--space-4);
  }

  .legal-intro {
    max-width: 34ch;
    font-size: 0.98rem;
    line-height: 1.72;
  }

  .legal-main {
    padding-top: var(--space-10);
    padding-bottom: var(--space-16);
  }

  .legal-layout { margin-top: 0; }

  .legal-meta {
    gap: 0.5rem;
    margin-top: var(--space-6);
  }

  .legal-meta__item {
    width: auto;
    max-width: 100%;
    justify-content: flex-start;
    padding: 0.42rem 0.7rem;
    gap: 0.42rem;
    font-size: 0.78rem;
    line-height: 1.15;
    border-radius: 999px;
  }

  .legal-navbar__left {
    gap: 0.75rem;
  }

  .legal-card,
  .legal-toc { border-radius: var(--radius-xl); }

  .legal-card {
    padding-top: 0;
  }

  .legal-reading {
    gap: var(--space-5);
  }

  .legal-lead {
    padding-bottom: 1.35rem;
    font-size: 1rem;
    line-height: 1.8;
  }

  .legal-section h2 {
    margin-bottom: var(--space-3);
  }

  .legal-section p,
  .legal-section li {
    line-height: 1.84;
  }

  .legal-toc {
    padding: 0.75rem 0.8rem;
  }

  .legal-toc__title {
    margin-bottom: 0.35rem;
  }

  .legal-toc ul { grid-template-columns: 1fr; }

  .legal-toc a {
    width: 100%;
    padding: 0.38rem 0.48rem;
    font-size: 0.75rem;
    line-height: 1.22;
  }
}

/* ---------- BENEFITS claro: navy claro con orbes y constelación ---------- */
[data-theme="light"] .benefits {
  background:
    radial-gradient(ellipse 900px 600px at 20% 15%, rgba(26,163,255,0.18), transparent 60%),
    radial-gradient(ellipse 900px 600px at 80% 85%, rgba(23,233,225,0.16), transparent 60%),
    radial-gradient(ellipse 700px 500px at 50% 50%, rgba(255,112,140,0.10), transparent 65%),
    linear-gradient(180deg, #EEF6FE 0%, #E4F0FB 100%) !important;
}
[data-theme="light"] .benefits::before,
[data-theme="light"] .benefits::after {
  opacity: 0.55 !important;
  mix-blend-mode: multiply !important;
}
[data-theme="light"] .benefits .section-header--light .section-title,
[data-theme="light"] .section-header--light .section-title {
  color: #17224D !important;
  -webkit-text-fill-color: #17224D !important;
  background: none !important;
}
[data-theme="light"] .section-header--light .section-subtitle {
  color: #475569 !important;
}
[data-theme="light"] .stat-card {
  background: rgba(255,255,255,0.95) !important;
  border: 1px solid rgba(26,163,255,0.20) !important;
  box-shadow: 0 8px 28px -10px rgba(26,163,255,0.20);
}
[data-theme="light"] .stat-card:hover {
  border-color: rgba(26,163,255,0.50) !important;
  box-shadow: 0 22px 55px -12px rgba(26,163,255,0.30);
}
[data-theme="light"] .stat-card__number {
  background: linear-gradient(135deg, #1AA3FF 0%, #17E9E1 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
[data-theme="light"] .stat-card__label  { color: #17224D !important; }
[data-theme="light"] .stat-card__desc   { color: #64748B !important; }
[data-theme="light"] .benefit-item {
  background: rgba(255,255,255,0.92) !important;
  border: 1px solid rgba(15,184,177,0.20) !important;
}
[data-theme="light"] .benefit-item:hover {
  border-color: rgba(15,184,177,0.50) !important;
  box-shadow: 0 18px 45px -12px rgba(15,184,177,0.25);
}
[data-theme="light"] .benefit-item__check {
  color: #0FB8B1 !important;
  background: rgba(23,233,225,0.15) !important;
}
[data-theme="light"] .benefit-item__content h4 { color: #17224D !important; }
[data-theme="light"] .benefit-item__content p  { color: #475569 !important; }

/* ---------- CTA FINAL claro: degradé azul-cyan vibrante ---------- */
[data-theme="light"] .cta-final {
  background:
    radial-gradient(ellipse 800px 500px at 20% 30%, rgba(255,255,255,0.25), transparent 60%),
    radial-gradient(ellipse 800px 500px at 80% 70%, rgba(255,112,140,0.25), transparent 60%),
    linear-gradient(135deg, #1AA3FF 0%, #17E9E1 100%) !important;
}
[data-theme="light"] .cta-final__title { color: #FFFFFF !important; }
[data-theme="light"] .cta-final__subtitle,
[data-theme="light"] .cta-final p { color: rgba(255,255,255,0.92) !important; }

/* ---------- EFECTOS DE FONDO GLOBALES (orbes flotantes en claro) ---------- */
@keyframes light-orb-a {
  0%,100% { transform: translate(0,0) scale(1); }
  50%     { transform: translate(40px,-30px) scale(1.15); }
}
@keyframes light-orb-b {
  0%,100% { transform: translate(0,0) scale(1); }
  50%     { transform: translate(-50px,40px) scale(1.1); }
}
[data-theme="light"] .hero,
[data-theme="light"] .services,
[data-theme="light"] .benefits,
[data-theme="light"] .industries,
[data-theme="light"] .process,
[data-theme="light"] .testimonials,
[data-theme="light"] .problems {
  position: relative;
  overflow: hidden;
}
[data-theme="light"] .hero::before,
[data-theme="light"] .services::before,
[data-theme="light"] .benefits::before,
[data-theme="light"] .industries::before,
[data-theme="light"] .process::before,
[data-theme="light"] .testimonials::before,
[data-theme="light"] .problems::before {
  content: '';
  position: absolute;
  width: 520px;
  height: 520px;
  border-radius: 50%;
  top: -120px;
  left: -120px;
  background: radial-gradient(circle, rgba(26,163,255,0.22) 0%, rgba(23,233,225,0.10) 40%, transparent 70%);
  filter: blur(40px);
  pointer-events: none;
  z-index: 0;
  animation: light-orb-a 18s ease-in-out infinite;
  mix-blend-mode: multiply;
}
[data-theme="light"] .hero::after,
[data-theme="light"] .services::after,
[data-theme="light"] .industries::after,
[data-theme="light"] .process::after,
[data-theme="light"] .testimonials::after,
[data-theme="light"] .problems::after {
  content: '';
  position: absolute;
  width: 600px;
  height: 600px;
  border-radius: 50%;
  bottom: -180px;
  right: -160px;
  background: radial-gradient(circle, rgba(255,112,140,0.18) 0%, rgba(15,184,177,0.10) 45%, transparent 70%);
  filter: blur(50px);
  pointer-events: none;
  z-index: 0;
  animation: light-orb-b 22s ease-in-out infinite;
  mix-blend-mode: multiply;
}
[data-theme="light"] .hero > *,
[data-theme="light"] .services > *,
[data-theme="light"] .benefits > *,
[data-theme="light"] .industries > *,
[data-theme="light"] .process > *,
[data-theme="light"] .testimonials > *,
[data-theme="light"] .problems > * {
  position: relative;
  z-index: 1;
}
@media (prefers-reduced-motion: reduce) {
  [data-theme="light"] .hero::before,
  [data-theme="light"] .hero::after,
  [data-theme="light"] .services::before,
  [data-theme="light"] .services::after,
  [data-theme="light"] .benefits::before,
  [data-theme="light"] .industries::before,
  [data-theme="light"] .industries::after,
  [data-theme="light"] .process::before,
  [data-theme="light"] .process::after,
  [data-theme="light"] .testimonials::before,
  [data-theme="light"] .testimonials::after,
  [data-theme="light"] .problems::before,
  [data-theme="light"] .problems::after { animation: none; }
}

/* ============================================================
   BG-FX · Fondo animado decorativo reutilizable
   Líneas curvas finas + nodos luminosos + drift muy lento.
   Uso: agregar clase .bg-fx en una <section> + variante
   (.bg-fx--a, .bg-fx--b, .bg-fx--c, .bg-fx--soft).
   Respeta prefers-reduced-motion.
============================================================ */
.bg-fx { position: relative; isolation: isolate; overflow: hidden; }
.bg-fx > * { position: relative; z-index: 1; }

.bg-fx::before,
.bg-fx::after {
  content: "";
  position: absolute;
  inset: -8%;
  pointer-events: none;
  z-index: 0;
  will-change: transform, opacity;
}

/* Capa 1 — red de líneas curvas finas (SVG inline, sin request de red).
   Más paths, mejor distribución hacia los bordes superior/inferior,
   trazos más delgados y soft-glow para dar profundidad. */
.bg-fx::before {
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1600 900' fill='none'><defs><linearGradient id='g' x1='0' y1='0' x2='1' y2='0'><stop offset='0' stop-color='%2317E9E1' stop-opacity='0'/><stop offset='0.25' stop-color='%2317E9E1' stop-opacity='0.55'/><stop offset='0.6' stop-color='%231AA3FF' stop-opacity='0.5'/><stop offset='0.85' stop-color='%23FF708C' stop-opacity='0.35'/><stop offset='1' stop-color='%23FF708C' stop-opacity='0'/></linearGradient><filter id='b' x='-20%25' y='-20%25' width='140%25' height='140%25'><feGaussianBlur stdDeviation='0.6'/></filter></defs><g stroke='url(%23g)' stroke-width='0.7' stroke-linecap='round' fill='none' filter='url(%23b)'><path d='M-80 80 C 300 10 620 180 960 110 S 1560 150 1700 70'/><path d='M-80 170 C 280 120 580 260 920 200 S 1520 220 1700 160'/><path d='M-80 300 C 320 240 640 400 980 330 S 1540 360 1700 290'/><path d='M-80 430 C 300 370 620 540 960 460 S 1540 490 1700 420'/><path d='M-80 560 C 320 500 640 670 980 590 S 1540 620 1700 550'/><path d='M-80 690 C 280 630 600 790 940 720 S 1540 740 1700 680'/><path d='M-80 810 C 320 760 640 900 980 830 S 1560 840 1700 790'/></g></svg>");
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
  opacity: 0.32;
  animation: bgfx-drift 80s ease-in-out infinite alternate;
}

/* Capa 2 — nodos luminosos (menos puntos, glows más suaves y amplios) */
.bg-fx::after {
  background-image:
    radial-gradient(circle at 14% 22%, rgba(23,233,225,0.55) 0 1.2px, rgba(23,233,225,0.08) 6px, transparent 14px),
    radial-gradient(circle at 78% 18%, rgba(26,163,255,0.55) 0 1.4px, rgba(26,163,255,0.08) 7px, transparent 16px),
    radial-gradient(circle at 88% 68%, rgba(23,233,225,0.5)  0 1.2px, rgba(23,233,225,0.07) 6px, transparent 14px),
    radial-gradient(circle at 18% 78%, rgba(255,112,140,0.45) 0 1.2px, rgba(255,112,140,0.06) 6px, transparent 14px);
  opacity: 0.75;
  animation: bgfx-twinkle 11s ease-in-out infinite;
}

/* Variantes — distinto tempo, posición y flip */
.bg-fx--a::before { animation-duration: 85s; }
.bg-fx--b::before { background-position: 30% 40%; animation-duration: 100s; filter: hue-rotate(12deg); }
.bg-fx--b::after  { animation-delay: -3s; }
.bg-fx--c::before { transform: scaleX(-1); background-position: 70% 60%; animation-duration: 92s; }
.bg-fx--c::after  { animation-delay: -6s; }

/* Tono más tenue para secciones densas de contenido */
.bg-fx--soft::before { opacity: 0.18; }
.bg-fx--soft::after  { opacity: 0.5; }

/* Keyframes — drift apenas perceptible */
@keyframes bgfx-drift {
  0%   { transform: translate3d(-1%, -0.6%, 0) scale(1); }
  50%  { transform: translate3d( 0.6%, 0.3%, 0) scale(1.015); }
  100% { transform: translate3d( 1.2%, 0.6%, 0) scale(1.03); }
}
@keyframes bgfx-twinkle {
  0%,100% { opacity: 0.5; }
  50%     { opacity: 0.85; }
}

/* Light mode — bajar intensidad para que no ensucie */
[data-theme="light"] .bg-fx::before { opacity: 0.22; }
[data-theme="light"] .bg-fx::after  { opacity: 0.45; }

/* Tablet/mobile — reducir carga visual */
@media (max-width: 768px) {
  .bg-fx::before { opacity: 0.24; }
  .bg-fx::after  { opacity: 0.55; }
}

/* Accesibilidad — respeto de movimiento reducido */
@media (prefers-reduced-motion: reduce) {
  .bg-fx::before,
  .bg-fx::after { animation: none !important; }
}
