/*
 ┌────────────────────────────────────────────────────────────┐
 │  NODO STUDIO — Plantilla Barba.js + GSAP                   │
 │  Cambia :root para nueva paleta · textos en HTML           │
 └────────────────────────────────────────────────────────────┘
*/

/* ═══════════════════════════════════════════════════
   TOKENS — cambia aquí, cambia todo el sitio
═══════════════════════════════════════════════════ */
:root {
  --bg-base:    #F8F8FC;
  --bg-surface: #FFFFFF;
  --bg-raised:  #FCFCFF;
  --bg-card:    #FFFFFF;
  --bg-dark:    #0D0D14;
  --bg-dark2:   #12121E;

  --purple-deep:   #5B5CE6;
  --purple-mid:    #6C63FF;
  --purple-bright: #8B7DFF;
  --accent-hot:    #A78BFA;
  --accent-soft:   #C4B5FD;

  --purple-glow: rgba(108, 99, 255, 0.12);
  --accent-glow: rgba(167, 139, 250, 0.14);

  --text-primary:   #111827;
  --text-secondary: #374151;
  --text-muted:     #6B7280;
  --text-inverse:   #FFFFFF;
  --text-dim:       rgba(255, 255, 255, 0.55);

  --border-subtle: rgba(108, 99, 255, 0.08);
  --border-mid:    rgba(108, 99, 255, 0.16);
  --border-light:  rgba(255, 255, 255, 0.08);

  --shadow-soft: 0 10px 40px rgba(108, 99, 255, 0.08);
  --shadow-glow: 0 20px 60px rgba(108, 99, 255, 0.12);

  --radius-sm:   6px;
  --radius-md:   12px;
  --radius-lg:   20px;
  --radius-xl:   32px;
  --radius-full: 9999px;

  --space-xs:  0.5rem;
  --space-sm:  1rem;
  --space-md:  2rem;
  --space-lg:  4rem;
  --space-xl:  8rem;

  --font-display: 'Outfit', sans-serif;
  --font-body:    'Inter', sans-serif;
  --font-mono:    'Courier New', monospace;

  --ease-smooth: cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
  --ease-expo:   cubic-bezier(0.16, 1, 0.3, 1);

  --nav-height: 80px;
}

/* ═══════════════════════════════════════════════════
   RESET + BASE
═══════════════════════════════════════════════════ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: var(--font-body);
  background:
    radial-gradient(circle at top center, rgba(139, 125, 255, 0.10), transparent 55%),
    var(--bg-base);
  color: var(--text-primary);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

/*
html.lenis,
html.lenis body {
  height: auto;
}

.lenis.lenis-smooth {
  scroll-behavior: auto !important;
}

.lenis.lenis-smooth [data-lenis-prevent] {
  overscroll-behavior: contain;
}

.lenis.lenis-stopped {
  overflow: hidden;
}

.lenis.lenis-smooth iframe {
  pointer-events: none;
}
*/

body.theme-light {
  background:
    radial-gradient(circle at top center, rgba(139, 125, 255, 0.10), transparent 55%),
    var(--bg-base);
  color: var(--text-primary);
}

/* Ocultar contenido hasta que termine el loader / reveal */
body.is-loading [data-barba="container"] {
  opacity: 0;
  pointer-events: none;
}

body.is-loading #nodo-nav {
  opacity: 0;
}

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

::-webkit-scrollbar { width: 4px; }
::-webkit-scrollbar-track { background: var(--bg-base); }
::-webkit-scrollbar-thumb { background: var(--purple-mid); border-radius: var(--radius-full); }

/* ═══════════════════════════════════════════════════
   TIPOGRAFÍA
═══════════════════════════════════════════════════ */
.t-display {
  font-family: var(--font-display);
  font-size: clamp(3rem, 8vw, 6.5rem);
  font-weight: 800;
  line-height: 0.95;
  letter-spacing: -0.04em;
}

.t-headline {
  font-family: var(--font-display);
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.02em;
}

.t-body {
  font-size: 1rem;
  line-height: 1.75;
  color: var(--text-secondary);
}

.page-hero .t-display,
.page-hero .t-headline { color: var(--text-primary); }

.tg, .text-gradient {
  background: linear-gradient(135deg, var(--purple-bright), var(--accent-hot));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.35rem 1rem;
  background: var(--purple-glow);
  border: 1px solid var(--border-mid);
  border-radius: var(--radius-full);
  font-family: var(--font-display);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--purple-mid);
}

.badge::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent-hot);
  animation: pulse-dot 2s infinite;
}

@keyframes pulse-dot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%       { opacity: 0.5; transform: scale(0.7); }
}

/* ═══════════════════════════════════════════════════
   LAYOUT
═══════════════════════════════════════════════════ */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--space-md);
}

.container-wide {
  width: 100%;
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 var(--space-md);
}

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

.section-header {
  text-align: center;
  margin-bottom: var(--space-lg);
}

.section-header .badge { margin-bottom: var(--space-sm); }
.section-header .t-headline { margin-bottom: var(--space-sm); }
.section-header .t-body { max-width: 560px; margin: 0 auto; }

/* ═══════════════════════════════════════════════════
   BARBA
═══════════════════════════════════════════════════ */
[data-barba="wrapper"] { position: relative; }

[data-barba="container"] {
  width: 100%;
  min-height: 100vh;
}

/* ═══════════════════════════════════════════════════
   LOADER
═══════════════════════════════════════════════════ */
#nodo-loader {
  position: fixed;
  inset: 0;
  z-index: 9999;
  overflow: hidden;
  color: var(--text-primary);
}
.ld-half {
  position: absolute;
  left: 0;
  right: 0;
  height: 50.2%;
  overflow: hidden;
  background: var(--bg-base);
  will-change: transform;
}
.ld-half--top { top: 0; }
.ld-half--bot { bottom: 0; }
.ld-bg {
  position: absolute;
  left: 0;
  right: 0;
  height: 100vh;
}
.ld-half--top .ld-bg { top: 0; }
.ld-half--bot .ld-bg { bottom: 0; }
.ld-bg i {
  position: absolute;
  width: 70vmax;
  height: 70vmax;
  border-radius: 50%;
  opacity: 0.55;
  will-change: transform;
  animation: ldDrift 9s ease-in-out infinite alternate;
}
.ld-bg i:nth-child(1) { left: -8%; top: -6%; background: radial-gradient(circle, #8b7dff 0%, rgba(139, 125, 255, 0) 62%); }
.ld-bg i:nth-child(2) { right: -12%; top: 8%; background: radial-gradient(circle, #e879f9 0%, rgba(232, 121, 249, 0) 62%); opacity: 0.4; animation-duration: 11s; animation-delay: -4s; }
.ld-bg i:nth-child(3) { left: 18%; bottom: -30%; background: radial-gradient(circle, #c4b5fd 0%, rgba(196, 181, 253, 0) 62%); animation-duration: 13s; animation-delay: -7s; }
@keyframes ldDrift {
  0%   { transform: translate3d(0, 0, 0) scale(1); }
  50%  { transform: translate3d(6vw, -4vh, 0) scale(1.12); }
  100% { transform: translate3d(-5vw, 5vh, 0) scale(0.94); }
}

.ld-content { position: absolute; inset: 0; pointer-events: none; }
.ld-word {
  position: absolute;
  left: 0;
  right: 0;
  bottom: calc(50% + clamp(0.9rem, 2vw, 1.4rem));
  margin: 0;
  text-align: center;
  font-family: var(--font-display);
  font-size: clamp(2.8rem, 9vw, 7rem);
  font-weight: 800;
  letter-spacing: -0.055em;
  line-height: 0.95;
  white-space: nowrap;
}
.ld-word .ld-w { display: inline-block; overflow: hidden; padding: 0.06em 0.02em 0.12em; vertical-align: bottom; }
.ld-word .ld-w + .ld-w { margin-left: 0.22em; }
.ld-word .ld-ch { display: inline-block; will-change: transform; }
.ld-line {
  position: absolute;
  left: 0;
  right: 0;
  top: 50%;
  height: 1.5px;
  margin-top: -0.75px;
}
.ld-line i {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent, var(--purple-mid) 20%, #d946ef 80%, transparent);
  transform: scaleX(0);
}
.ld-tag {
  position: absolute;
  left: 0;
  right: 0;
  top: calc(50% + clamp(1rem, 2.4vw, 1.6rem));
  margin: 0;
  text-align: center;
  overflow: hidden;
  font-family: var(--font-display);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--text-secondary);
}
.ld-tag span { display: inline-block; }
.ld-count {
  position: absolute;
  right: clamp(1.1rem, 3vw, 2.5rem);
  bottom: clamp(1.1rem, 3vw, 2rem);
  font-family: var(--font-display);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  color: var(--text-muted);
  font-variant-numeric: tabular-nums;
}

/* ═══════════════════════════════════════════════════
   TRANSICIÓN BARBA — Panel deslizante premium
═══════════════════════════════════════════════════ */
body.is-transitioning {
  overflow: hidden;
}

body.is-transitioning #nodo-nav {
  pointer-events: none;
}

.nodo-transition {
  pointer-events: none;
}

#nodo-transition.is-idle {
  visibility: hidden;
}

#nodo-transition.is-active {
  visibility: visible;
}

body.is-transitioning [data-barba="container"] {
  pointer-events: none;
}

.nodo-transition-panel {
  position: fixed;
  inset: 0;
  z-index: 9000;
  background: var(--bg-base);
  will-change: transform;
}

.nodo-transition-panel::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--purple-mid), var(--accent-hot));
  z-index: 1;
}

#nodo-transition.accent-work .nodo-transition-panel {
  background: linear-gradient(168deg, #f3f1ff 0%, var(--bg-base) 55%);
}

#nodo-transition.accent-about .nodo-transition-panel {
  background: linear-gradient(168deg, #f6f2ff 0%, var(--bg-base) 55%);
}

#nodo-transition.accent-contact .nodo-transition-panel {
  background: linear-gradient(168deg, #f0f4ff 0%, var(--bg-base) 55%);
}

#nodo-transition.accent-home .nodo-transition-panel {
  background: linear-gradient(168deg, #eeecff 0%, var(--bg-base) 55%);
}

.nodo-curtain {
  position: fixed;
  inset: 0;
  z-index: 8888;
  pointer-events: none;
  transform-origin: bottom;
  transform: scaleY(0);
}

.curtain-1 { background: var(--purple-mid); }
.curtain-2 { background: var(--bg-base); }
.curtain-3 { background: var(--accent-hot); }

.nodo-diagonal {
  position: fixed;
  inset: 0;
  z-index: 8888;
  pointer-events: none;
  clip-path: polygon(0 100%, 100% 100%, 100% 100%, 0 100%);
}

.diagonal-1 { background: var(--purple-deep); }
.diagonal-2 { background: var(--bg-base); }

.nodo-reveal-overlay {
  position: fixed;
  inset: 0;
  z-index: 8888;
  pointer-events: none;
  background: var(--bg-base);
  opacity: 0;
}

.nodo-split-top,
.nodo-split-bottom {
  position: fixed;
  left: 0;
  right: 0;
  z-index: 8888;
  pointer-events: none;
  background: var(--bg-dark2);
  height: 50%;
  transform: scaleY(0);
}

.nodo-split-top    { top: 0;    transform-origin: top; }
.nodo-split-bottom { bottom: 0; transform-origin: bottom; }

/* ═══════════════════════════════════════════════════
   NAV
═══════════════════════════════════════════════════ */
#nodo-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 1.25rem 2.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: background 0.4s, backdrop-filter 0.4s, padding 0.4s;
}

#nodo-nav.scrolled {
  background: rgba(248, 248, 252, 0.92);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border-subtle);
  padding: 0.75rem 2.5rem;
}

body.theme-light #nodo-nav .nav-logo { color: var(--text-primary); }
body.theme-light #nodo-nav .nav-links a { color: var(--text-muted); }
body.theme-light #nodo-nav .nav-links a:hover,
body.theme-light #nodo-nav .nav-links a.active { color: var(--text-primary); }
body.theme-light #nodo-nav .nav-burger span { background: var(--text-primary); }

.nav-logo {
  display: inline-flex;
  align-items: center;
  gap: 0;
  line-height: 1;
  text-decoration: none;
}

.nav-brand-word {
  display: inline-flex;
  align-items: center;
  overflow: hidden;
  max-width: 0;
  opacity: 0;
  margin-left: 0;
  transition:
    max-width 0.5s var(--ease-expo),
    opacity 0.4s ease,
    margin-left 0.4s var(--ease-expo);
}

#nodo-nav.scrolled .nav-brand-word {
  max-width: 11.5ch;
  opacity: 1;
  margin-left: 0.55rem;
}

/* ─── Morph text — shared ─── */
.morph-wrap {
  display: inline-block;
  vertical-align: bottom;
  position: relative;
  overflow: hidden;
  line-height: 1.15;
}

.morph-wrap--eyebrow {
  height: 1.2em;
  min-width: 11ch;
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.morph-wrap--nav {
  height: 1.15em;
  min-width: 11ch;
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 800;
  letter-spacing: -0.03em;
}

.morph-track {
  display: block;
  position: relative;
  width: 100%;
  height: 100%;
}

.morph-item {
  display: block;
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  white-space: nowrap;
  will-change: transform, opacity, filter;
}

.morph-wrap--nav .morph-item {
  background: linear-gradient(135deg, var(--purple-mid), var(--accent-hot));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.brand-mark {
  display: block;
  width: auto;
  height: 28px;
}

.brand-mark--loader {
  height: 52px;
}

.brand-mark--footer {
  height: 34px;
  margin-bottom: 0.75rem;
}

.section-more {
  text-align: center;
  margin-top: 2.5rem;
}

.nav-logo em { color: var(--purple-bright); font-style: normal; }

.nav-links {
  display: flex;
  align-items: center;
  gap: 2rem;
  list-style: none;
}

.nav-links a {
  font-family: var(--font-display);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-muted);
  transition: color 0.3s;
  position: relative;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  right: 0;
  height: 1px;
  background: var(--accent-hot);
  transform: scaleX(0);
  transition: transform 0.3s var(--ease-expo);
}

.nav-links a:hover,
.nav-links a.active { color: var(--text-primary); }

.nav-links a:hover::after,
.nav-links a.active::after { transform: scaleX(1); }

.nav-cta {
  padding: 0.55rem 1.4rem !important;
  background: linear-gradient(135deg, var(--purple-mid), var(--accent-hot)) !important;
  color: #fff !important;
  border-radius: var(--radius-full) !important;
  box-shadow: 0 0 25px rgba(108, 99, 255, 0.3);
}

.nav-cta::after { display: none !important; }

.nav-burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 0.5rem;
  z-index: 1001;
}

.nav-burger span {
  display: block;
  width: 24px;
  height: 1.5px;
  background: var(--text-primary);
  transition: all 0.3s;
}

/* ═══════════════════════════════════════════════════
   BOTONES
═══════════════════════════════════════════════════ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.9rem 2.25rem;
  border-radius: var(--radius-full);
  font-family: var(--font-display);
  font-size: 0.875rem;
  font-weight: 600;
  transition: all 0.3s var(--ease-spring);
  border: none;
  cursor: pointer;
  text-decoration: none;
}

.btn-primary {
  background: linear-gradient(135deg, var(--purple-mid), var(--accent-hot));
  color: #fff;
  box-shadow: 0 0 35px rgba(108, 99, 255, 0.28);
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 0 55px rgba(167, 139, 250, 0.45);
}

.btn-dark {
  background: var(--text-primary);
  color: #fff;
}

.btn-dark:hover {
  background: var(--purple-mid);
}

.btn-ghost-light {
  background: transparent;
  color: var(--text-secondary);
  border: 1px solid rgba(17, 24, 39, 0.15);
}

.btn-ghost-light:hover {
  border-color: var(--purple-mid);
  color: var(--purple-mid);
}

.btn-breathe {
  position: relative;
  overflow: hidden;
  will-change: transform;
  transform-style: preserve-3d;
}

.btn-breathe::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(
    circle at var(--spot-x, 50%) var(--spot-y, 50%),
    rgba(255, 255, 255, 0.28),
    transparent 58%
  );
  opacity: 0;
  transition: opacity 0.4s ease;
  pointer-events: none;
}

.btn-breathe:hover::after { opacity: 1; }

.btn-dark.btn-breathe::after {
  background: radial-gradient(
    circle at var(--spot-x, 50%) var(--spot-y, 50%),
    rgba(167, 139, 250, 0.35),
    transparent 58%
  );
}

.btn-outline {
  background: transparent;
  color: var(--text-primary);
  border: 1px solid var(--border-mid);
}

.btn-outline:hover {
  border-color: var(--purple-bright);
  background: var(--purple-glow);
  transform: translateY(-2px);
}

/* ═══════════════════════════════════════════════════
   HERO — texto centrado + Spline debajo
═══════════════════════════════════════════════════ */
.hero-e {
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  padding: calc(var(--nav-height) + 2rem) 0 2.5rem;
  position: relative;
  overflow: hidden;
}

.hero-e::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 55% at 18% 12%, rgba(124, 92, 255, 0.22), transparent 58%),
    radial-gradient(ellipse 70% 50% at 88% 18%, rgba(236, 72, 255, 0.14), transparent 55%),
    radial-gradient(ellipse 90% 60% at 50% 100%, rgba(99, 102, 241, 0.12), transparent 62%),
    linear-gradient(168deg, #f4f0ff 0%, #f8f8fc 42%, #eef2ff 100%);
  pointer-events: none;
}

.hero-e::after {
  content: '';
  position: absolute;
  inset: 0;
  opacity: 0.45;
  background-image:
    radial-gradient(rgba(80, 60, 160, 0.09) 1px, transparent 1px);
  background-size: 22px 22px;
  mask-image: radial-gradient(ellipse 75% 70% at 50% 35%, #000 20%, transparent 75%);
  pointer-events: none;
}

.hero-title-accent {
  color: var(--purple-mid);
  background: linear-gradient(135deg, var(--purple-mid), var(--accent-hot));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-e-inner {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: clamp(2rem, 5vw, 3.5rem);
}

.hero-e-copy {
  display: flex;
  flex-direction: column;
  align-items: center;
  max-width: 52rem;
  width: 100%;
}

.hero-e-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  font-family: var(--font-display);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--text-primary);
  margin-bottom: 1.75rem;
}

.hero-eyebrow-icon {
  width: 22px;
  height: 22px;
  flex-shrink: 0;
}

.hero-eyebrow-sep {
  color: var(--text-muted);
  font-weight: 500;
}

.hero-e-title {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 7vw, 4.75rem);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1.05;
  color: var(--text-primary);
  margin-bottom: 1.5rem;
  text-align: center;
}

.hero-title-line {
  display: block;
  overflow: hidden;
  padding-bottom: 0.06em;
}

.hero-title-line--shift {
  margin-top: 0.02em;
}

.morph-wrap--hero {
  height: 1.12em;
  min-width: 22ch;
  color: var(--purple-mid);
}

.morph-wrap--hero .morph-item {
  color: var(--purple-mid);
}

.hero-e-sub strong {
  color: var(--text-primary);
  font-weight: 600;
}

/* ─── Problem strip ─── */
.problem-section {
  text-align: center;
  padding-top: clamp(2.5rem, 6vw, 4rem);
  padding-bottom: clamp(2rem, 5vw, 3rem);
}

.problem-lead {
  font-size: clamp(1rem, 2vw, 1.125rem);
  color: var(--text-muted);
  margin-bottom: 1.25rem;
  max-width: 36rem;
  margin-left: auto;
  margin-right: auto;
}

.problem-punch {
  font-family: var(--font-display);
  font-size: clamp(1.35rem, 3.5vw, 2rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.35;
  color: var(--text-primary);
  max-width: 28rem;
  margin: 0 auto;
}

.problem-punch em {
  font-style: normal;
  color: var(--purple-mid);
}

.hero-e-sub {
  font-size: clamp(1rem, 2.1vw, 1.15rem);
  color: var(--text-secondary);
  line-height: 1.75;
  max-width: 42rem;
  margin: 0 auto 2rem;
}

.hero-e-sub strong {
  color: var(--text-primary);
  font-weight: 600;
}

.hero-e-trust {
  font-size: 0.78rem;
  color: var(--text-muted);
  letter-spacing: 0.02em;
  margin: 0 0 1.75rem;
  max-width: 36rem;
}

.tg-line {
  position: relative;
  display: inline;
  white-space: nowrap;
}

.tg-line::before {
  content: '';
  position: absolute;
  left: -0.04em;
  right: -0.04em;
  bottom: 0.06em;
  height: 0.36em;
  background: rgba(108, 99, 255, 0.2);
  border-radius: 3px;
  z-index: -1;
}

.hero-e-ctas {
  display: flex;
  gap: 0.85rem;
  flex-wrap: wrap;
  justify-content: center;
  margin-bottom: 2rem;
  position: relative;
  perspective: 900px;
}

.hero-e-social {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.85rem;
}

.hero-e-avatars {
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-avatar {
  width: 2.15rem;
  height: 2.15rem;
  border-radius: 50%;
  border: 2px solid var(--bg-base);
  margin-left: -0.55rem;
  object-fit: cover;
  background: var(--bg-surface);
  box-shadow: 0 2px 8px rgba(108, 99, 255, 0.12);
  display: block;
}

.hero-avatar:first-child { margin-left: 0; }

/* Tapa el badge “Built with Spline” de la esquina */
.spline-watermark-cover {
  position: absolute;
  right: 0;
  bottom: 0;
  width: clamp(140px, 22%, 200px);
  height: 48px;
  z-index: 12;
  pointer-events: none;
  background: linear-gradient(
    to left,
    var(--bg-base) 0%,
    var(--bg-base) 65%,
    transparent 100%
  );
}

.hero-e-social-text {
  font-size: 0.82rem;
  color: var(--text-muted);
  font-style: italic;
}

.hero-e-social-text em {
  font-style: normal;
  font-weight: 600;
  color: var(--text-primary);
}

.hero-e-visual {
  width: 100%;
  max-width: min(92vw, 680px);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  margin-top: -150px;
}

.spline-switcher {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.3rem;
  border-radius: 999px;
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  box-shadow: var(--shadow-soft);
}

.spline-switch-btn {
  font-family: var(--font-display);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  padding: 0.55rem 1.1rem;
  border: none;
  border-radius: 999px;
  background: transparent;
  color: var(--text-muted);
  cursor: pointer;
  transition: background 0.25s, color 0.25s, box-shadow 0.25s;
}

.spline-switch-btn:hover {
  color: var(--text-primary);
}

.spline-switch-btn.is-active {
  background: var(--purple-mid);
  color: #fff;
  box-shadow: 0 4px 14px rgba(108, 99, 255, 0.28);
}

.spline-switch-btn:focus-visible {
  outline: 2px solid var(--purple-mid);
  outline-offset: 2px;
}

.spline-shell {
  position: relative;
  width: 100%;
  height: clamp(280px, 48vw, 480px);
  overflow: hidden;
  background: transparent;
  border: none;
  box-shadow: none;
  border-radius: 0;
}

.spline-shell::before {
  content: '';
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  width: 85%;
  height: 40%;
  background: radial-gradient(ellipse at center, rgba(108, 99, 255, 0.08), transparent 70%);
  pointer-events: none;
  z-index: 0;
}

.spline-shell spline-viewer {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100%;
  display: block;
  opacity: 0;
  transition: opacity 0.45s var(--ease-expo);
}

.spline-shell:not(.loading) spline-viewer { opacity: 1; }

.spline-loader {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg-surface);
  z-index: 2;
  transition: opacity 0.4s;
}

.spline-shell:not(.loading) .spline-loader {
  opacity: 0;
  pointer-events: none;
}

.spline-loader::after {
  content: '';
  width: 32px;
  height: 32px;
  border: 2px solid var(--border-subtle);
  border-top-color: var(--purple-mid);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}

@keyframes spin { to { transform: rotate(360deg); } }

.hero-e-scroll {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  color: var(--text-muted);
  font-family: var(--font-display);
  font-size: 0.62rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  opacity: 0.45;
}

.scroll-mouse {
  width: 20px;
  height: 32px;
  border: 1.5px solid currentColor;
  border-radius: 10px;
  display: flex;
  justify-content: center;
  padding-top: 5px;
}

.scroll-wheel {
  width: 3px;
  height: 6px;
  background: currentColor;
  border-radius: 2px;
  animation: scrollWheel 1.8s ease-in-out infinite;
}

@keyframes scrollWheel {
  0%, 100% { transform: translateY(0); opacity: 1; }
  70%       { transform: translateY(8px); opacity: 0; }
}

/* ═══════════════════════════════════════════════════
   MARQUEE
═══════════════════════════════════════════════════ */
.marquee-section {
  padding: var(--space-md) 0;
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
  overflow: hidden;
  background: var(--bg-surface);
}

.marquee-track {
  display: flex;
  gap: 3rem;
  align-items: center;
  animation: marquee-move 28s linear infinite;
  white-space: nowrap;
  width: max-content;
  will-change: transform;
}

.marquee-track.is-gsap {
  animation: none !important;
}

.marquee-track.is-gsap:hover { animation-play-state: running; }

.marquee-item {
  font-family: var(--font-display);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
  flex-shrink: 0;
}

.marquee-dot { color: var(--accent-hot); flex-shrink: 0; }

@keyframes marquee-move {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* ═══════════════════════════════════════════════════
   CARDS / STATS / TESTIMONIALS
═══════════════════════════════════════════════════ */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
}

.card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 2rem;
  transition: all 0.4s var(--ease-smooth);
  position: relative;
  overflow: hidden;
}

.card:hover {
  border-color: var(--border-mid);
  transform: translateY(-6px);
  box-shadow: var(--shadow-soft);
}

.card-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-md);
  background: var(--purple-glow);
  border: 1px solid var(--border-mid);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
  font-size: 1.5rem;
}

.card-title {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 0.75rem;
  color: var(--text-primary);
}

.card-body {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 1.5rem;
}

.card-link {
  display: block;
  text-decoration: none;
  color: inherit;
  cursor: pointer;
}

.card-link:hover .card-arrow { gap: 0.75rem; }

.card-arrow {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--purple-bright);
  transition: gap 0.3s var(--ease-spring);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 2px;
  background: var(--border-subtle);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.stat-item {
  background: var(--bg-surface);
  padding: 2.5rem 2rem;
  text-align: center;
}

.stat-number {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  font-weight: 800;
  line-height: 1;
  margin-bottom: 0.5rem;
}

.stat-label {
  font-size: 0.85rem;
  color: var(--text-muted);
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.5rem;
}

.testimonial {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 2rem;
  transition: transform 0.4s;
}

.testimonial:hover { transform: translateY(-4px); }

.testimonial-text {
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.7;
  font-style: italic;
  margin-bottom: 1.5rem;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 0.875rem;
}

.testimonial-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--purple-mid), var(--accent-hot));
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-weight: 700;
  color: white;
}

.testimonial-name { font-weight: 600; font-size: 0.9rem; color: var(--text-primary); }
.testimonial-role { font-size: 0.8rem; color: var(--text-muted); }

/* ═══════════════════════════════════════════════════
   WORK / ABOUT / CONTACT PAGES
═══════════════════════════════════════════════════ */
.page-hero {
  padding: calc(var(--nav-height) + 4rem) 0 var(--space-lg);
  text-align: center;
}

.page-hero .t-body { max-width: 560px; margin: 1.5rem auto 0; }

.work-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 1.5rem;
  padding-bottom: var(--space-xl);
}

.work-card {
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  box-shadow: var(--shadow-soft);
  transition: box-shadow 0.45s var(--ease-smooth), border-color 0.35s;
  display: block;
  width: 100%;
  text-align: left;
  font: inherit;
  color: inherit;
  cursor: pointer;
  padding: 0;
}

.work-card:hover {
  box-shadow: var(--shadow-glow);
  border-color: rgba(108, 99, 255, 0.25);
}

.work-card-img {
  aspect-ratio: 16/10;
  background: linear-gradient(135deg, rgba(108, 99, 255, 0.15), rgba(167, 139, 250, 0.08));
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 3rem;
  font-weight: 800;
  color: rgba(108, 99, 255, 0.2);
  overflow: hidden;
  transform-origin: center center;
}

.work-card-body { padding: 1.75rem; }

.work-card-action {
  display: inline-block;
  margin-top: 1rem;
  font-family: var(--font-display);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--purple-mid);
  opacity: 0;
  transform: translateY(6px);
  transition: opacity 0.35s, transform 0.35s;
}

.work-card:hover .work-card-action {
  opacity: 1;
  transform: translateY(0);
}

/* Modal proyectos */
body.modal-open { overflow: hidden; }

.work-modal {
  position: fixed;
  inset: 0;
  z-index: 9500;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  pointer-events: none;
  visibility: hidden;
}

.work-modal.is-open { visibility: visible; }

.work-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(17, 24, 39, 0.45);
  backdrop-filter: blur(8px);
  opacity: 0;
}

.work-modal-panel {
  position: relative;
  z-index: 1;
  width: min(100%, 36rem);
  max-height: min(88vh, 640px);
  overflow-y: auto;
  padding: clamp(1.75rem, 4vw, 2.5rem);
  background: var(--bg-base);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-xl);
  box-shadow: 0 24px 80px rgba(108, 99, 255, 0.18);
  opacity: 0;
}

.work-modal-close {
  flex-shrink: 0;
  width: 2.25rem;
  height: 2.25rem;
  border: none;
  border-radius: 50%;
  background: var(--bg-surface);
  color: var(--text-muted);
  font-size: 1.35rem;
  line-height: 1;
  cursor: pointer;
  transition: background 0.25s, color 0.25s;
}

.work-modal-close:hover {
  background: var(--purple-mid);
  color: #fff;
}

.work-modal-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1rem;
}

.work-modal-meta {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  min-width: 0;
  padding-right: 0.5rem;
}

.work-modal-tag {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent-hot);
}

.work-modal-year {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  color: var(--text-muted);
}

.work-modal-title {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 4vw, 2rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  margin-bottom: 1rem;
  color: var(--text-primary);
}

.work-modal-desc {
  font-size: 0.95rem;
  line-height: 1.75;
  color: var(--text-secondary);
  margin-bottom: 1.75rem;
}

.work-modal-cols {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  margin-bottom: 2rem;
}

.work-modal-label {
  font-family: var(--font-display);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 0.65rem;
}

.work-modal-stack,
.work-modal-results {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.work-modal-stack li,
.work-modal-results li {
  font-size: 0.85rem;
  color: var(--text-secondary);
  padding-left: 0.85rem;
  position: relative;
}

.work-modal-stack li::before,
.work-modal-results li::before {
  content: '✦';
  position: absolute;
  left: 0;
  color: var(--purple-mid);
  font-size: 0.55rem;
  top: 0.35em;
}

.work-modal-link { width: 100%; justify-content: center; }

@media (max-width: 600px) {
  .work-modal-cols { grid-template-columns: 1fr; }
}

.work-card-body { padding: 1.75rem; }

.work-card-tag {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent-hot);
  margin-bottom: 0.5rem;
}

.work-card-title {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  color: var(--text-primary);
}

.work-card-desc {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

.about-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  padding-bottom: var(--space-xl);
}

.about-img {
  border-radius: var(--radius-xl);
  aspect-ratio: 4/5;
  background: linear-gradient(135deg, var(--purple-deep), var(--accent-hot));
  opacity: 0.85;
}

.about-values {
  display: grid;
  gap: 1.5rem;
  margin-top: 2rem;
}

.about-value strong {
  font-family: var(--font-display);
  display: block;
  margin-bottom: 0.25rem;
  color: var(--text-primary);
}

.about-value span { font-size: 0.9rem; color: var(--text-secondary); }

/* Formulario */
.form-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: start;
  padding-bottom: var(--space-xl);
}

.form-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-xl);
  padding: 2.5rem;
  box-shadow: var(--shadow-soft);
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.form-group { display: flex; flex-direction: column; gap: 0.5rem; }
.form-group.full { grid-column: 1 / -1; }

.form-label {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.form-input,
.form-textarea,
.form-select {
  background: var(--bg-raised);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 0.875rem 1rem;
  color: var(--text-primary);
  font-family: var(--font-body);
  font-size: 0.95rem;
  outline: none;
  width: 100%;
  transition: border-color 0.3s, box-shadow 0.3s;
}

.form-input:focus,
.form-textarea:focus,
.form-select:focus {
  border-color: var(--purple-bright);
  box-shadow: 0 0 0 3px rgba(108, 99, 255, 0.15);
}

.form-textarea { resize: vertical; min-height: 140px; }
.form-select option { background: var(--bg-surface); }

.form-status {
  text-align: center;
  font-size: 0.85rem;
  margin-top: 1rem;
  min-height: 1.25rem;
  color: var(--purple-mid);
}

.form-error {
  font-size: 0.75rem;
  color: #f87171;
  min-height: 1rem;
}

.form-submit { width: 100%; justify-content: center; margin-top: 0.5rem; }

/* CTA */
.cta-inner {
  background: linear-gradient(135deg, rgba(108, 99, 255, 0.12), rgba(167, 139, 250, 0.06));
  border: 1px solid var(--border-mid);
  border-radius: var(--radius-xl);
  padding: var(--space-lg);
  text-align: center;
}

.cta-inner .t-headline { margin-bottom: 1rem; }
.cta-inner .t-body { max-width: 480px; margin: 0 auto 2rem; }
.cta-actions { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }

/* Footer */
.footer {
  padding: var(--space-lg) 0 var(--space-md);
  border-top: 1px solid var(--border-subtle);
}

.footer-brand-desc {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.6;
  max-width: 280px;
  margin-bottom: 1.5rem;
}

.footer-col-links a {
  font-size: 0.875rem;
  color: var(--text-muted);
  transition: color 0.3s;
}

.footer-col-links a:hover { color: var(--text-primary); }

.footer-bottom {
  padding-top: var(--space-md);
  border-top: 1px solid var(--border-subtle);
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
}

.footer-copy { font-size: 0.8rem; color: var(--text-muted); }
.footer-copy em { color: var(--purple-bright); font-style: normal; }

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: var(--space-lg);
}

.footer-brand-name {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 800;
  margin-bottom: 1rem;
}

.footer-brand-name em { color: var(--purple-bright); font-style: normal; }

.footer-col-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.875rem;
  margin-bottom: 1.25rem;
  color: var(--text-primary);
}

.footer-col-links { display: flex; flex-direction: column; gap: 0.7rem; }

/* Hero — estado inicial oculto (evita flash antes de GSAP) */
body.is-loading .hero-e-title,
body.is-loading .hero-title-line,
body.is-loading .hero-e-sub,
body.is-loading .hero-e-ctas > *,
body.is-loading .hero-e-trust,
body.is-loading .hero-e-social,
body.is-loading .hero-e-visual {
  opacity: 0;
}

/* GSAP helpers */
.will-fade  { opacity: 0; }
.will-slide { opacity: 0; transform: translateY(40px); }
.will-scale { opacity: 0; transform: scale(0.95); }

.section-tight { padding-top: var(--space-md); padding-bottom: var(--space-md); }

.btn-sm {
  padding: 0.55rem 1.1rem;
  font-size: 0.85rem;
}

/* ═══════════════════════════════════════════════════
   SISTEMA NODO — horizontal containerAnimation
═══════════════════════════════════════════════════ */
.sistema-section {
  position: relative;
  height: 100vh;
  overflow: hidden;
}

/* Overlay: always on top of the scroll container */
.sp-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 20;
  pointer-events: none;
}

.sp-topbar {
  height: 3px;
  background: var(--border-subtle);
}

.sp-prog-fill {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, var(--purple-mid), var(--accent-hot));
  transition: width 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.sp-counter {
  position: absolute;
  top: 1.5rem;
  right: 2rem;
  font-family: var(--font-display);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--text-muted);
}

#sistemaCounter {
  color: var(--purple-mid);
  font-size: 0.85rem;
}

.sp-counter-sep { opacity: 0.4; margin: 0 0.15rem; }

/* Horizontal scroll container */
.sp-container {
  display: flex;
  flex-wrap: nowrap;
  width: 500vw;
  height: 100%;
  will-change: transform;
}

/* Individual panels */
.sp-panel {
  width: 100vw;
  height: 100vh;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  background: var(--bg-base);
}

/* Subtle per-panel tints */
.sp-panel[data-panel="0"] {
  background: var(--bg-surface);
}
.sp-panel[data-panel="1"] {
  background: linear-gradient(135deg, #f3f2ff 0%, var(--bg-surface) 100%);
}
.sp-panel[data-panel="2"] {
  background: linear-gradient(135deg, var(--bg-surface) 0%, #eef0ff 100%);
}
.sp-panel[data-panel="3"] {
  background: linear-gradient(135deg, #f5f3ff 0%, var(--bg-raised) 100%);
}

.sp-panel-dark {
  /* Deep brand indigo — not black, unmistakably Nodo */
  background: linear-gradient(145deg, #1a1756 0%, #2d2b8e 55%, #1c1960 100%) !important;
}

.sp-panel-dark::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 75% 65% at 25% 50%, rgba(139,125,255,0.18), transparent 60%),
    radial-gradient(ellipse 55% 45% at 85% 75%, rgba(196,181,253,0.1), transparent 55%);
  pointer-events: none;
}

/* Inner content */
.sp-inner {
  position: relative;
  z-index: 2;
  padding: calc(var(--nav-height) + 2rem) clamp(2.5rem, 10vw, 10rem) 3rem;
  max-width: 700px;
}

/* Large decorative number in background */
.sp-bg-num {
  position: absolute;
  right: -0.05em;
  bottom: -0.15em;
  font-family: var(--font-display);
  font-size: clamp(14rem, 28vw, 28rem);
  font-weight: 900;
  line-height: 1;
  letter-spacing: -0.06em;
  color: var(--border-subtle);
  pointer-events: none;
  user-select: none;
  z-index: 0;
}

.sp-bg-num-light {
  color: rgba(255,255,255,0.06);
}

/* Eyebrow */
.sp-eyebrow {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  font-family: var(--font-display);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 1.75rem;
}

.sp-eyebrow-light { color: rgba(255,255,255,0.35); }

.sp-num {
  background: var(--purple-glow);
  color: var(--purple-mid);
  padding: 0.25rem 0.6rem;
  border-radius: var(--radius-full);
  font-size: 0.68rem;
  font-weight: 700;
}

/* Headline */
.sp-headline {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 5.5vw, 4.5rem);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1.06;
  color: var(--text-primary);
  margin-bottom: 1.5rem;
}

.sp-headline-light { color: #fff; }

.sp-headline em,
.sp-headline-light em {
  font-style: normal;
  background: linear-gradient(135deg, var(--purple-mid), var(--accent-hot));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* Body */
.sp-body {
  font-size: clamp(0.95rem, 1.4vw, 1.05rem);
  color: var(--text-secondary);
  line-height: 1.75;
  max-width: 44ch;
  margin-bottom: 0;
}

.sp-body-light { color: rgba(255,255,255,0.5); }

/* Tension quote */
.sp-tension {
  display: inline-block;
  margin-top: 1.5rem;
  font-family: var(--font-display);
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--purple-mid);
  border-left: 2px solid var(--purple-mid);
  padding-left: 1rem;
}

/* Pills */
.sp-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  margin-top: 1.75rem;
}

.sp-pills span {
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--purple-mid);
  background: var(--purple-glow);
  border: 1px solid var(--border-mid);
  padding: 0.4rem 1rem;
  border-radius: var(--radius-full);
}

/* Scroll hint */
.sp-scroll-hint {
  display: inline-block;
  margin-top: 2rem;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--text-muted);
  letter-spacing: 0.06em;
  animation: sp-hint 2.2s ease-in-out infinite;
}

@keyframes sp-hint {
  0%, 100% { opacity: 0.45; transform: translateX(0); }
  50% { opacity: 1; transform: translateX(6px); }
}

@keyframes sp-hint-mobile {
  0%, 100% { opacity: 0.45; transform: translateY(0); }
  50% { opacity: 1; transform: translateY(6px); }
}

/* CTA */
.sp-cta { margin-top: 2.25rem; }

/* Mobile swipe nav — hidden on desktop */
.sp-mobile-nav { display: none; }

.sistema-section.is-mobile-ready .sp-mobile-nav {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.85rem;
  padding: 1rem 1.5rem 1.75rem;
}

.sp-mobile-dots {
  display: flex;
  gap: 0.5rem;
  align-items: center;
}

.sp-m-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  border: none;
  padding: 0;
  background: var(--border-mid);
  cursor: pointer;
  transition: transform 0.25s ease, background 0.25s ease, width 0.25s ease;
}

.sp-m-dot.is-active {
  width: 24px;
  border-radius: var(--radius-full);
  background: linear-gradient(90deg, var(--purple-mid), var(--accent-hot));
}

.sp-swipe-hint {
  margin: 0;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted);
  animation: sp-hint 2.2s ease-in-out infinite;
}

/* ═══════════════════════════════════════════════════
   CASOS — slider
═══════════════════════════════════════════════════ */
/* ─── CASOS slug ─────────────────────────────────── */
.cases-wrap { margin-bottom: 2.5rem; }

/* Each case card — hidden by default */
.cs-card {
  display: none;
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-xl);
  padding: clamp(1.75rem, 4vw, 2.75rem);
  box-shadow: var(--shadow-soft);
}

.cs-card.is-active { display: block; }

/* Card header */
.cs-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1.5rem;
  flex-wrap: wrap;
  margin-bottom: 2.5rem;
}

.cs-tag {
  display: block;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--purple-mid);
  margin-bottom: 0.5rem;
}

.cs-title {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 3vw, 2.25rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--text-primary);
}

/* Big comparison numbers */
.cs-compare {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 2rem;
  align-items: center;
  padding: 2rem 0;
  border-top: 1px solid var(--border-mid);
  border-bottom: 1px solid var(--border-mid);
  margin-bottom: 0;
}

.cs-compare-label {
  display: block;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 0.5rem;
}

.cs-label-before { color: var(--text-muted); }
.cs-label-after { color: var(--purple-mid); }

.cs-compare-num {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(2.75rem, 6vw, 4.5rem);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1;
  margin-bottom: 0.5rem;
}

.cs-num-before { color: var(--text-muted); }
.cs-num-after {
  background: linear-gradient(135deg, var(--purple-mid), var(--accent-hot));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.cs-compare-unit {
  font-size: 0.82rem;
  color: var(--text-muted);
  font-weight: 500;
}

.cs-compare-mid {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  color: var(--text-muted);
}

.cs-compare-line {
  width: 1px;
  height: 32px;
  background: var(--border-mid);
}

.cs-compare-time {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--purple-mid);
  white-space: nowrap;
}

.cs-compare-arrow {
  font-size: 1.25rem;
  color: var(--purple-mid);
}

/* Metrics row — tarjetas con aire, no tabla */
.cs-metrics {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 0.75rem;
  margin: 2rem 0;
}

.cs-metric {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  padding: 1.35rem 1.25rem;
  background: var(--bg-raised);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  transition: border-color 0.3s ease, transform 0.3s ease;
}

.cs-metric:hover {
  border-color: var(--border-mid);
  transform: translateY(-2px);
}

.cs-metric-accent {
  background: linear-gradient(145deg, rgba(108,99,255,0.08), rgba(167,139,250,0.04));
  border-color: rgba(108,99,255,0.2);
}

.cs-metric-val {
  font-family: var(--font-display);
  font-size: clamp(1.35rem, 2.5vw, 1.85rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--text-primary);
}

.cs-metric-accent .cs-metric-val {
  background: linear-gradient(135deg, var(--purple-mid), var(--accent-hot));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.cs-metric-lbl {
  font-size: 0.73rem;
  color: var(--text-muted);
  font-weight: 500;
}

/* Evidence: web image + quote */
.cs-evidence {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 1.75rem;
  align-items: start;
}

.cs-evidence-img img {
  width: 100%;
  height: 240px;
  object-fit: cover;
  object-position: top;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-subtle);
  display: block;
  box-shadow: var(--shadow-soft);
}

.cs-evidence-img figcaption {
  font-size: 0.7rem;
  color: var(--text-muted);
  text-align: center;
  margin-top: 0.6rem;
  font-weight: 500;
}

/* Quote block */
.cs-quote-block {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.cs-quote {
  font-family: var(--font-display);
  font-size: clamp(1rem, 1.8vw, 1.2rem);
  font-weight: 600;
  line-height: 1.55;
  color: var(--text-primary);
  letter-spacing: -0.01em;
  border-left: 3px solid var(--purple-mid);
  padding-left: 1.1rem;
  margin: 0;
}

.cs-cite {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-style: normal;
}

.cs-cite-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  object-fit: cover;
  object-position: top center;
  flex-shrink: 0;
  border: 2px solid var(--border-mid);
  box-shadow: 0 2px 8px rgba(108,99,255,0.15);
}

.cs-cite strong {
  display: block;
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--text-primary);
}

.cs-cite span {
  display: block;
  font-size: 0.75rem;
  color: var(--text-muted);
  margin-top: 0.1rem;
}

/* What we delivered */
.cs-delivered {
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 1rem 1.25rem;
  background: var(--bg-raised);
}

.cs-delivered-label {
  display: block;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 0.75rem;
}

.cs-delivered-list {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.cs-delivered-list li {
  font-size: 0.85rem;
  color: var(--text-secondary);
  padding-left: 1.1rem;
  position: relative;
}

.cs-delivered-list li::before {
  content: '✦';
  position: absolute;
  left: 0;
  color: var(--purple-mid);
  font-size: 0.6rem;
  top: 0.2rem;
}

/* Coming soon */
.cs-coming {
  padding: 2.5rem 0 1rem;
  display: flex;
  align-items: center;
  gap: 2rem;
  flex-wrap: wrap;
}

.cs-coming p {
  font-size: 0.92rem;
  color: var(--text-muted);
}

/* Controls */
.cs-controls {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 1.25rem;
  margin-top: 1.25rem;
  border-top: 1px solid var(--border-subtle);
}

.cs-dots { display: flex; gap: 0.5rem; align-items: center; }

.cs-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--border-mid);
  border: none;
  cursor: pointer;
  padding: 0;
  transition: background 0.25s, transform 0.25s;
}

.cs-dot.is-active {
  background: var(--purple-mid);
  transform: scale(1.5);
}

.cs-nav { display: flex; gap: 0.4rem; }

.cs-arrow {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  color: var(--text-secondary);
  font-size: 0.95rem;
  cursor: pointer;
  transition: background 0.2s, border-color 0.2s, color 0.2s;
  display: flex;
  align-items: center;
  justify-content: center;
}

.cs-arrow:hover {
  background: var(--purple-mid);
  border-color: var(--purple-mid);
  color: #fff;
}

/* ─── Legacy placeholder (keep for potential reuse) ─── */
.case-slide-placeholder {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-xl);
  padding: 4rem clamp(2rem, 8vw, 5rem);
}

.case-placeholder-inner {
  max-width: 56ch;
}

.case-placeholder-inner .case-tag { margin-bottom: 0.75rem; display: block; }
.case-placeholder-inner .case-title { font-size: clamp(1.5rem, 3vw, 2.25rem); margin-bottom: 0.5rem; }
.case-placeholder-inner .case-sub { margin-bottom: 2rem; }

.case-placeholder-metrics {
  display: flex;
  gap: 2rem;
  flex-wrap: wrap;
  margin-bottom: 2rem;
}

.cpm-item { display: flex; flex-direction: column; gap: 0.2rem; }

.cpm-val {
  font-family: var(--font-display);
  font-size: 2.25rem;
  font-weight: 800;
  letter-spacing: -0.04em;
  background: linear-gradient(135deg, var(--purple-mid), var(--accent-hot));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.cpm-lbl {
  font-size: 0.78rem;
  color: var(--text-muted);
  font-weight: 500;
}

.cases-controls {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 1.25rem;
  margin-top: 1.25rem;
  border-top: 1px solid var(--border-subtle);
}

.cases-dots { display: flex; gap: 0.5rem; }

.cases-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--border-mid);
  border: none;
  cursor: pointer;
  transition: background 0.25s, transform 0.25s;
  padding: 0;
}

.cases-dot.is-active {
  background: var(--purple-mid);
  transform: scale(1.4);
}

.cases-nav { display: flex; gap: 0.5rem; }

.cases-arrow {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  color: var(--text-secondary);
  font-size: 1rem;
  cursor: pointer;
  transition: background 0.2s, border-color 0.2s, color 0.2s;
  display: flex;
  align-items: center;
  justify-content: center;
}

.cases-arrow:hover {
  background: var(--purple-mid);
  border-color: var(--purple-mid);
  color: #fff;
}

.cases-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 2rem 2.5rem;
  background: linear-gradient(135deg, rgba(108, 99, 255, 0.07), rgba(167, 139, 250, 0.05));
  border: 1px solid rgba(108, 99, 255, 0.15);
  border-radius: var(--radius-xl);
  margin-bottom: 3rem;
  flex-wrap: wrap;
}

.cases-cta-text {
  font-family: var(--font-display);
  font-size: clamp(1.1rem, 2.5vw, 1.5rem);
  font-weight: 700;
  color: var(--text-primary);
}

/* perf-showcase-head flex when has two children */
.perf-showcase-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1.5rem;
  flex-wrap: wrap;
  margin-bottom: 2rem;
}

/* ═══════════════════════════════════════════════════
   SERVICIOS — editorial rows
═══════════════════════════════════════════════════ */
/* ═══════════════════════════════════════════════════
   PRUEBA SOCIAL — index minimal
═══════════════════════════════════════════════════ */
.prueba-section {
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
}

.prueba-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-xl);
  overflow: hidden;
  margin-bottom: 3rem;
}

.prueba-stat {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  padding: 2.25rem 2rem;
  border-right: 1px solid var(--border-subtle);
  transition: background 0.25s ease;
}

.prueba-stat:last-child { border-right: none; }
.prueba-stat:hover { background: var(--bg-raised); }

.prueba-num {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  letter-spacing: -0.04em;
  background: linear-gradient(135deg, var(--purple-mid), var(--accent-hot));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.prueba-label {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.5;
}

.prueba-quote {
  max-width: 640px;
  margin: 0 0 2rem;
}

.prueba-quote p {
  font-family: var(--font-display);
  font-size: clamp(1.1rem, 2.2vw, 1.4rem);
  font-weight: 600;
  line-height: 1.5;
  color: var(--text-primary);
  letter-spacing: -0.015em;
  margin-bottom: 1.25rem;
}

.prueba-quote cite {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-style: normal;
}

.prueba-quote cite img {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  object-fit: cover;
  object-position: top;
  border: 2px solid var(--border-mid);
}

.prueba-quote cite span {
  font-size: 0.83rem;
  color: var(--text-muted);
}

.prueba-quote cite strong {
  color: var(--text-primary);
  font-weight: 700;
}

.prueba-cta { display: flex; }

/* ═══════════════════════════════════════════════════
   FEATURED CASE — work.html
═══════════════════════════════════════════════════ */
.featured-case {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.fc-tag {
  display: block;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--purple-mid);
  margin-bottom: 1rem;
}

.fc-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3.25rem);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1.05;
  color: var(--text-primary);
  margin-bottom: 0.75rem;
}

.fc-sub {
  font-size: 1rem;
  color: var(--text-secondary);
  margin-bottom: 2rem;
}

.fc-numbers {
  display: flex;
  gap: 2rem;
  margin-bottom: 2rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid var(--border-subtle);
}

.fc-num { display: flex; flex-direction: column; gap: 0.25rem; }

.fc-val {
  font-family: var(--font-display);
  font-size: 1.75rem;
  font-weight: 800;
  letter-spacing: -0.04em;
  background: linear-gradient(135deg, var(--purple-mid), var(--accent-hot));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.fc-lbl {
  font-size: 0.72rem;
  color: var(--text-muted);
  font-weight: 500;
}

.fc-quote {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.6;
  color: var(--text-secondary);
  border-left: 3px solid var(--purple-mid);
  padding-left: 1rem;
  margin: 0 0 1.25rem;
}

.fc-cite {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-style: normal;
  margin-bottom: 2rem;
}

.fc-cite img {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  object-fit: cover;
  object-position: top;
  border: 2px solid var(--border-mid);
}

.fc-cite strong { display: block; font-size: 0.88rem; font-weight: 700; }
.fc-cite span { font-size: 0.75rem; color: var(--text-muted); }

.fc-actions { display: flex; gap: 0.75rem; flex-wrap: wrap; align-items: center; }

.fc-image img {
  width: 100%;
  height: 520px;
  object-fit: cover;
  object-position: top;
  border-radius: var(--radius-xl);
  border: 1px solid var(--border-subtle);
  box-shadow: var(--shadow-glow);
  display: block;
}

/* Responsive featured case */
@media (max-width: 900px) {
  .featured-case { grid-template-columns: 1fr; gap: 2.5rem; }
  .fc-image { order: -1; }
  .fc-image img { height: 280px; }
  .fc-numbers { gap: 1.25rem; }
}

/* Responsive prueba */
@media (max-width: 640px) {
  .prueba-grid { grid-template-columns: 1fr; }
  .prueba-stat { border-right: none; border-bottom: 1px solid var(--border-subtle); }
  .prueba-stat:last-child { border-bottom: none; }
}

/* ═══════════════════════════════════════════════════
   SISTEMA SCROLL — servicios con pin + scrub
═══════════════════════════════════════════════════ */
.sistema-scroll {
  background:
    linear-gradient(180deg, var(--bg-base) 0%, #f0efff 38%, var(--bg-base) 100%);
}

.sistema-scroll-header {
  text-align: center;
  margin-bottom: clamp(2rem, 4vw, 3rem);
}

.sistema-scroll-header .t-body {
  max-width: 520px;
  margin: 0 auto;
}

.sistema-scroll-body {
  position: relative;
}

.sistema-scroll-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  gap: clamp(2rem, 4vw, 4rem);
  align-items: start;
}

.sistema-scroll-pin {
  position: relative;
}

.sistema-scroll-visual {
  width: 100%;
}

.sistema-visual-rail {
  position: relative;
  aspect-ratio: 4 / 3;
  border-radius: var(--radius-xl);
  overflow: hidden;
  border: 1px solid var(--border-subtle);
  box-shadow: var(--shadow-soft);
  background: var(--bg-dark);
}

.sistema-visual-slide {
  position: absolute;
  inset: 0;
  margin: 0;
  opacity: 0;
  transform: scale(1.04);
  will-change: opacity, transform;
}

.sistema-visual-slide.is-active {
  opacity: 1;
  z-index: 1;
}

.sistema-visual-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.sistema-visual-metric {
  display: flex;
  align-items: baseline;
  gap: 0.5rem;
  margin-top: 1rem;
  padding: 0.85rem 1.1rem;
  border-radius: var(--radius-md);
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  width: fit-content;
}

.sistema-metric-val {
  font-family: var(--font-display);
  font-size: 1.65rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  background: linear-gradient(135deg, var(--purple-mid), var(--accent-hot));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.sistema-metric-lbl {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.sistema-scroll-meter {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  margin-top: 1.25rem;
}

.sistema-scroll-meter-track {
  flex: 1;
  height: 2px;
  background: var(--border-subtle);
  border-radius: var(--radius-full);
  overflow: hidden;
}

.sistema-scroll-meter-fill {
  display: block;
  height: 100%;
  width: 25%;
  background: linear-gradient(90deg, var(--purple-mid), var(--accent-hot));
  border-radius: inherit;
  transform-origin: left center;
  will-change: width;
}

.sistema-scroll-meter-label {
  font-family: var(--font-display);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--text-muted);
  white-space: nowrap;
}

.sistema-meter-current {
  color: var(--purple-mid);
}

.sistema-scroll-track {
  position: relative;
  padding-left: 1.5rem;
  border-left: 1px solid var(--border-subtle);
}

.sistema-scroll-track::before {
  content: '';
  position: absolute;
  left: -1px;
  top: 0;
  width: 2px;
  height: var(--sistema-progress, 25%);
  background: linear-gradient(180deg, var(--purple-mid), var(--accent-hot));
  border-radius: var(--radius-full);
  transition: height 0.5s var(--ease-expo);
}

.sistema-step {
  min-height: clamp(320px, 52vh, 480px);
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(1.5rem, 4vw, 2.5rem) 0;
  opacity: 0.34;
  transform: translateY(12px);
  transition: opacity 0.45s ease, transform 0.55s var(--ease-expo);
}

.sistema-step.is-active {
  opacity: 1;
  transform: translateY(0);
}

.sistema-step-inner {
  display: grid;
  grid-template-columns: 3.5rem 1fr;
  gap: 1.25rem;
  align-items: start;
}

.sistema-step-num {
  font-family: var(--font-display);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  color: var(--purple-mid);
  padding-top: 0.35rem;
}

.sistema-step-copy h3 {
  font-family: var(--font-display);
  font-size: clamp(1.35rem, 2.8vw, 2rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  color: var(--text-primary);
  margin-bottom: 0.65rem;
  line-height: 1.1;
}

.sistema-step-copy p {
  font-size: clamp(0.92rem, 1.6vw, 1.02rem);
  color: var(--text-secondary);
  line-height: 1.6;
  margin: 0 0 1rem;
  max-width: 38ch;
}

.sistema-step-link {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--purple-mid);
  text-decoration: none;
  transition: gap 0.3s ease, color 0.3s ease;
}

.sistema-step-link:hover {
  gap: 0.55rem;
  color: var(--purple-deep);
}

.sistema-step-media {
  display: none;
  margin: 1.25rem 0 0;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border-subtle);
  aspect-ratio: 16 / 10;
}

.sistema-step-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

@media (min-width: 901px) {
  .sistema-step {
    transition: none;
  }

  .sistema-scroll-pin {
    display: flex;
    align-items: center;
    min-height: calc(100vh - 72px);
  }
}

@media (max-width: 900px) {
  .sistema-scroll-layout {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .sistema-scroll-pin {
    display: none;
  }

  .sistema-scroll-track {
    padding-left: 0;
    border-left: none;
  }

  .sistema-scroll-track::before {
    display: none;
  }

  .sistema-step {
    min-height: auto;
    opacity: 1;
    transform: none;
    padding: 0 0 2.5rem;
    border-bottom: 1px solid var(--border-subtle);
  }

  .sistema-step:last-child {
    border-bottom: none;
    padding-bottom: 0;
  }

  .sistema-step.is-active {
    transform: none;
  }

  .sistema-step-media {
    display: block;
  }

  .sistema-step-inner {
    grid-template-columns: 2.75rem 1fr;
    gap: 1rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .sistema-step,
  .sistema-visual-slide,
  .sistema-scroll-track::before {
    transition: none;
  }
}

/* ═══════════════════════════════════════════════════
   BUILD — servicios premium (legacy)
═══════════════════════════════════════════════════ */
.build-section {
  background:
    linear-gradient(180deg, var(--bg-base) 0%, #f0efff 50%, var(--bg-base) 100%);
  position: relative;
}

.build-header {
  text-align: center;
  margin-bottom: var(--space-lg);
}

.build-header .t-body {
  max-width: 520px;
  margin: 0 auto;
}

.build-list {
  display: flex;
  flex-direction: column;
  gap: 0;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-xl);
  overflow: hidden;
  background: var(--bg-surface);
  box-shadow: var(--shadow-soft);
}

.build-row {
  display: grid;
  grid-template-columns: 4.5rem 1fr auto 2rem;
  gap: 1.5rem;
  align-items: center;
  padding: 2rem 2.25rem;
  text-decoration: none;
  color: inherit;
  border-bottom: 1px solid var(--border-subtle);
  position: relative;
  transition: background 0.35s ease, transform 0.35s ease;
}

.build-row:last-child { border-bottom: none; }

.build-row::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 3px;
  background: linear-gradient(180deg, var(--purple-mid), var(--accent-hot));
  transform: scaleY(0);
  transform-origin: top;
  transition: transform 0.35s var(--ease-expo);
}

.build-row:hover {
  background: var(--bg-raised);
}

.build-row:hover::before { transform: scaleY(1); }

.build-row:hover .build-arrow {
  transform: translate(3px, -3px);
  color: var(--purple-mid);
}

.build-row.is-preview-active {
  background: var(--bg-raised);
}

.build-row.is-preview-active::before {
  transform: scaleY(1);
}

.build-row.is-preview-active .build-arrow {
  transform: translate(3px, -3px);
  color: var(--purple-mid);
}

.build-num {
  font-family: var(--font-display);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--purple-mid);
  opacity: 0.7;
}

.build-title {
  font-family: var(--font-display);
  font-size: clamp(1.15rem, 2.5vw, 1.45rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--text-primary);
  margin-bottom: 0.35rem;
}

.build-desc {
  font-size: 0.92rem;
  color: var(--text-secondary);
  line-height: 1.55;
  max-width: 48ch;
  margin: 0;
}

.build-metric {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--text-muted);
  text-align: right;
  white-space: nowrap;
}

.build-metric strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  text-transform: none;
  background: linear-gradient(135deg, var(--purple-mid), var(--accent-hot));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  margin-bottom: 0.15rem;
}

.build-arrow {
  font-size: 1.25rem;
  color: var(--text-muted);
  transition: transform 0.35s var(--ease-expo), color 0.25s;
  justify-self: end;
}

.svc-section {
  background: linear-gradient(145deg, #1a1756 0%, #2d2b8e 55%, #1c1960 100%);
  position: relative;
  overflow: hidden;
}

.svc-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 70% 60% at 10% 30%, rgba(139,125,255,0.15), transparent 60%),
    radial-gradient(ellipse 50% 40% at 90% 80%, rgba(196,181,253,0.08), transparent 55%);
  pointer-events: none;
}
.svc-section .section-header { color: var(--text-inverse); text-align: left; }
.svc-section .section-header .t-body { margin: 0; }
.svc-section .badge { background: rgba(255,255,255,0.08); color: var(--text-dim); border-color: rgba(255,255,255,0.1); }
.svc-section .t-headline { color: var(--text-inverse); }

.svc-list { display: flex; flex-direction: column; }

.svc-row {
  display: grid;
  grid-template-columns: 3rem 1fr auto auto;
  gap: 2rem;
  align-items: center;
  padding: 2rem 0;
  border-top: 1px solid rgba(255,255,255,0.07);
  text-decoration: none;
  transition: background 0.25s;
  cursor: pointer;
  position: relative;
}

.svc-row:last-child { border-bottom: 1px solid rgba(255,255,255,0.07); }

.svc-row::before {
  content: '';
  position: absolute;
  inset: 0 -2rem;
  background: rgba(108, 99, 255, 0);
  transition: background 0.3s ease;
  pointer-events: none;
}

.svc-row:hover::before { background: rgba(108, 99, 255, 0.06); }

.svc-row:hover .svc-title { color: var(--accent-soft); }
.svc-row:hover .svc-arrow { transform: translate(4px, -4px); color: var(--accent-soft); }

.svc-num {
  font-family: var(--font-display);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: rgba(255,255,255,0.2);
  align-self: flex-start;
  padding-top: 0.3rem;
}

.svc-body { flex: 1; }

.svc-title {
  font-family: var(--font-display);
  font-size: clamp(1.25rem, 2.5vw, 1.75rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--text-inverse);
  margin-bottom: 0.5rem;
  transition: color 0.25s;
}

.svc-desc {
  font-size: 0.88rem;
  color: var(--text-dim);
  line-height: 1.65;
  max-width: 42ch;
  margin-bottom: 0.75rem;
}

.svc-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}

.svc-tags span {
  font-size: 0.68rem;
  font-weight: 600;
  color: rgba(255,255,255,0.35);
  background: rgba(255,255,255,0.06);
  padding: 0.25rem 0.6rem;
  border-radius: var(--radius-full);
  border: 1px solid rgba(255,255,255,0.08);
}

.svc-metric {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.2rem;
  text-align: right;
  min-width: 6rem;
}

.svc-metric-val {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 800;
  letter-spacing: -0.04em;
  color: var(--text-inverse);
}

.svc-metric-lbl {
  font-size: 0.7rem;
  color: var(--text-dim);
  font-weight: 500;
}

.svc-arrow {
  font-size: 1.25rem;
  color: rgba(255,255,255,0.25);
  transition: transform 0.3s ease, color 0.3s ease;
  flex-shrink: 0;
}

/* ═══════════════════════════════════════════════════
   RESULTADOS — perf + caso
═══════════════════════════════════════════════════ */
.resultados-section {
  background: linear-gradient(180deg, var(--bg-base) 0%, var(--bg-raised) 50%, var(--bg-base) 100%);
}

/* Acordeón rendimiento */
.perf-accordion {
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-xl);
  background: var(--bg-card);
  overflow: hidden;
  margin-bottom: 2rem;
}

.perf-accordion-trigger {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.25rem 1.5rem;
  background: transparent;
  border: none;
  cursor: pointer;
  text-align: left;
  transition: background 0.2s ease;
}

.perf-accordion-trigger:hover {
  background: var(--bg-raised);
}

.perf-accordion-left {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.perf-accordion-kicker {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.perf-accordion-title {
  font-family: var(--font-display);
  font-size: clamp(1rem, 2vw, 1.15rem);
  font-weight: 700;
  color: var(--text-primary);
}

.perf-accordion-icon {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 300;
  color: var(--purple-mid);
  line-height: 1;
  transition: transform 0.3s ease;
  flex-shrink: 0;
}

.perf-accordion.is-open .perf-accordion-icon {
  transform: rotate(45deg);
}

.perf-accordion-panel {
  overflow: hidden;
  height: 0;
  opacity: 0;
  padding: 0 1.5rem;
}

.perf-accordion.is-open .perf-accordion-panel {
  padding: 0 1.5rem 1.5rem;
}

.perf-accordion-intro {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.65;
  margin-bottom: 1.5rem;
  max-width: 52ch;
}

.perf-accordion-cta { margin-top: 1.25rem; }

.perf-showcase-head { margin-bottom: 2rem; }

.perf-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
  margin-bottom: 2rem;
}

.perf-col {
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  border: 1px solid var(--border-subtle);
}

.perf-col-before { background: rgba(17, 24, 39, 0.03); }
.perf-col-after {
  background: linear-gradient(145deg, rgba(108, 99, 255, 0.1), rgba(167, 139, 250, 0.06));
  border-color: rgba(108, 99, 255, 0.25);
}

.perf-label {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 1rem;
  padding: 0.3rem 0.7rem;
  border-radius: var(--radius-full);
}

.perf-label-before { background: rgba(17, 24, 39, 0.06); color: var(--text-muted); }
.perf-label-after { background: var(--purple-glow); color: var(--purple-mid); }

.perf-score {
  display: flex;
  align-items: baseline;
  gap: 0.15rem;
  margin-bottom: 0.25rem;
}

.perf-score-num {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 6vw, 3.5rem);
  font-weight: 800;
  line-height: 1;
  color: var(--text-primary);
}

.perf-score-good .perf-score-num {
  background: linear-gradient(135deg, var(--purple-mid), var(--accent-hot));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.perf-score-max {
  font-size: 1.1rem;
  color: var(--text-muted);
  font-weight: 600;
}

.perf-score-caption {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-bottom: 1.25rem;
}

.perf-metrics {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}

.perf-metrics li {
  display: flex;
  justify-content: space-between;
  font-size: 0.88rem;
  color: var(--text-secondary);
}

.perf-metrics strong { color: var(--text-primary); font-weight: 600; }

.perf-bars { display: flex; flex-direction: column; gap: 1rem; }

.perf-bar-row {
  display: grid;
  grid-template-columns: 140px 1fr 1fr;
  gap: 0.75rem;
  align-items: center;
}

.perf-bar-label {
  font-size: 0.8rem;
  color: var(--text-secondary);
  font-weight: 500;
}

.perf-bar-track {
  height: 8px;
  background: rgba(17, 24, 39, 0.06);
  border-radius: var(--radius-full);
  overflow: hidden;
}

.perf-bar-track-after { background: rgba(108, 99, 255, 0.1); }

.perf-bar-fill {
  height: 100%;
  border-radius: var(--radius-full);
  width: 0%;
}

.perf-bar-before { background: rgba(107, 114, 128, 0.55); }
.perf-bar-after { background: linear-gradient(90deg, var(--purple-mid), var(--accent-hot)); }

/* Caso Hitachi */
.case-study {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-xl);
  padding: clamp(1.5rem, 4vw, 2.5rem);
  box-shadow: var(--shadow-soft);
}

.case-study-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 1.5rem;
  margin-bottom: 2rem;
  flex-wrap: wrap;
}

.case-tag {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--purple-mid);
  margin-bottom: 0.5rem;
}

.case-title {
  font-family: var(--font-display);
  font-size: clamp(1.35rem, 3vw, 1.75rem);
  font-weight: 700;
  margin-bottom: 0.35rem;
}

.case-sub {
  font-size: 0.92rem;
  color: var(--text-secondary);
}

.ba-grid {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 1rem;
  align-items: stretch;
  margin-bottom: 2rem;
}

.ba-card {
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  border: 1px solid var(--border-subtle);
}

.ba-card-before { background: rgba(239, 68, 68, 0.04); border-color: rgba(239, 68, 68, 0.15); }
.ba-card-after {
  background: linear-gradient(145deg, rgba(34, 197, 94, 0.06), rgba(108, 99, 255, 0.06));
  border-color: rgba(34, 197, 94, 0.2);
}

.ba-card-head {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  flex-wrap: wrap;
  margin-bottom: 1rem;
}

.ba-card-head h4 {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 700;
}

.ba-icon {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  font-weight: 700;
}

.ba-icon-before { background: rgba(239, 68, 68, 0.12); color: #dc2626; }
.ba-icon-after { background: rgba(34, 197, 94, 0.15); color: #16a34a; }

.ba-pill {
  font-size: 0.68rem;
  font-weight: 600;
  padding: 0.25rem 0.6rem;
  border-radius: var(--radius-full);
  margin-left: auto;
}

.ba-pill-before { background: rgba(239, 68, 68, 0.1); color: #b91c1c; }
.ba-pill-after { background: rgba(34, 197, 94, 0.12); color: #15803d; }

.ba-list {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  margin-bottom: 1.25rem;
}

.ba-list li {
  font-size: 0.88rem;
  color: var(--text-secondary);
  padding-left: 1rem;
  position: relative;
}

.ba-list li::before {
  content: '·';
  position: absolute;
  left: 0;
  color: var(--text-muted);
}

.ba-meter-top {
  display: flex;
  justify-content: space-between;
  font-size: 0.8rem;
  margin-bottom: 0.45rem;
  color: var(--text-secondary);
}

.ba-meter-top strong { color: var(--text-primary); }

.ba-meter-track {
  height: 10px;
  background: rgba(17, 24, 39, 0.06);
  border-radius: var(--radius-full);
  overflow: hidden;
}

.ba-meter-fill {
  height: 100%;
  border-radius: var(--radius-full);
  width: 0%;
}

.ba-meter-before { background: rgba(239, 68, 68, 0.45); }
.ba-meter-after { background: linear-gradient(90deg, #22c55e, var(--purple-mid)); }

.ba-arrow {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  color: var(--purple-mid);
  padding: 0.5rem;
}

.ba-arrow-text {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  white-space: nowrap;
}

.ba-arrow svg { transform: rotate(-90deg); }

.gsc-panel {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 2rem;
  align-items: start;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border-subtle);
}

.gsc-preview img {
  width: 100%;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-subtle);
  box-shadow: var(--shadow-soft);
}

.gsc-title {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 0.35rem;
}

.gsc-sub {
  font-size: 0.88rem;
  color: var(--text-secondary);
  margin-bottom: 1.25rem;
}

.gsc-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
  margin-bottom: 1.25rem;
}

.gsc-card {
  background: var(--bg-raised);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}

.gsc-card-highlight {
  background: linear-gradient(145deg, rgba(108, 99, 255, 0.1), rgba(167, 139, 250, 0.06));
  border-color: rgba(108, 99, 255, 0.2);
}

.gsc-label {
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.gsc-value {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--text-primary);
}

.gsc-delta {
  font-size: 0.78rem;
  font-weight: 700;
  color: #16a34a;
}

.gsc-chart {
  width: 100%;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-subtle);
}

/* ═══════════════════════════════════════════════════
   PRICING
═══════════════════════════════════════════════════ */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  align-items: start;
}

.pricing-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-xl);
  padding: 2.5rem;
  position: relative;
  transition: border-color 0.35s ease, transform 0.35s ease;
}

.pricing-card.featured {
  background: linear-gradient(135deg, rgba(108, 99, 255, 0.1), rgba(167, 139, 250, 0.06));
  border-color: var(--purple-mid);
  transform: scale(1.03);
  box-shadow: var(--shadow-glow);
}

.pricing-card:hover:not(.featured) {
  border-color: var(--border-mid);
  transform: translateY(-4px);
}

.pricing-tag {
  position: absolute;
  top: -1px;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(90deg, var(--purple-mid), var(--accent-hot));
  color: white;
  font-size: 0.7rem;
  font-weight: 700;
  padding: 0.3rem 1rem;
  border-radius: 0 0 var(--radius-md) var(--radius-md);
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.pricing-name {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 1rem;
}

.pricing-price {
  display: flex;
  align-items: flex-end;
  gap: 0.25rem;
  margin-bottom: 0.5rem;
}

.pricing-amount {
  font-family: var(--font-display);
  font-size: 3.5rem;
  font-weight: 800;
  line-height: 1;
  color: var(--text-primary);
}

.pricing-currency {
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--text-secondary);
  padding-bottom: 0.4rem;
}

.pricing-period {
  font-size: 0.85rem;
  color: var(--text-muted);
  padding-bottom: 0.5rem;
}

.pricing-desc {
  font-size: 0.9rem;
  color: var(--text-secondary);
  margin-bottom: 2rem;
  line-height: 1.6;
}

.pricing-divider {
  height: 1px;
  background: var(--border-subtle);
  margin-bottom: 1.5rem;
}

.pricing-features {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-bottom: 2rem;
}

.pricing-feature {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.9rem;
  color: var(--text-secondary);
}

.pricing-check { color: var(--accent-hot); font-size: 1rem; flex-shrink: 0; }
.pricing-x { color: var(--text-muted); font-size: 1rem; flex-shrink: 0; }

.pricing-btn { width: 100%; justify-content: center; }

.pricing-care { margin-top: 2.5rem; }

.pricing-care-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  padding: clamp(1.75rem, 4vw, 2.5rem);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  background: linear-gradient(135deg, rgba(167, 139, 250, 0.04), rgba(248, 248, 252, 0.8));
}

.pricing-care-copy .badge { margin-bottom: 0.75rem; }

.pricing-care-title {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--text-primary);
  margin-bottom: 0.5rem;
}

.pricing-care-desc {
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.65;
  max-width: 36rem;
}

.pricing-care-price-wrap {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  text-align: right;
  flex-shrink: 0;
}

.pricing-care-from {
  font-size: 0.78rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 0.25rem;
}

.pricing-care-price {
  font-family: var(--font-display);
  font-size: 2.25rem;
  font-weight: 800;
  letter-spacing: -0.04em;
  color: var(--text-primary);
  line-height: 1;
}

.pricing-care-period {
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-muted);
}

.pricing-care-note {
  font-size: 0.75rem;
  color: var(--text-muted);
  margin-top: 0.5rem;
  max-width: 14rem;
}

/* ═══════════════════════════════════════════════════
   NODO CONECTA — motion beats (Reveal / Cilindro / Stretch / Cierre)
   nc-reveal: no usar .nodo-reveal (esa clase es el overlay de transición, opacity:0)
═══════════════════════════════════════════════════ */
.nc-reveal {
  position: relative;
  height: 360vh;
  padding: 0;
  opacity: 1;
}
.nc-reveal-pin {
  position: sticky;
  top: 0;
  height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: var(--nav-height) clamp(1.25rem, 4vw, 2.5rem) 8vh;
}
.nc-reveal-lines {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 0.02em;
}
.nc-reveal-line {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(2.6rem, 8vw, 6.2rem);
  font-weight: 800;
  letter-spacing: -0.05em;
  line-height: 1;
  overflow: hidden;
  color: var(--text-primary);
}
.nc-reveal-pin::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 55% 60% at 78% 50%, rgba(124, 92, 255, 0.16), transparent 70%),
    radial-gradient(ellipse 40% 45% at 92% 20%, rgba(236, 72, 255, 0.10), transparent 70%);
  pointer-events: none;
}
.nc-reveal-grid {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
  align-items: center;
  gap: clamp(1.5rem, 5vw, 5rem);
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
}
.nc-reveal-line--accent { color: var(--purple-mid); }

.nc-stage {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.25rem;
}
.nc-stage-deck {
  position: relative;
  width: min(100%, 420px);
  aspect-ratio: 722 / 860;
  perspective: 1400px;
}
.nc-shot {
  position: absolute;
  inset: 0;
  margin: 0;
  border-radius: 18px;
  overflow: hidden;
  background: #fff;
  box-shadow:
    0 30px 60px -20px rgba(40, 20, 110, 0.35),
    0 12px 24px -12px rgba(40, 20, 110, 0.25),
    0 0 0 1px rgba(80, 60, 160, 0.08);
  transform-origin: 50% 100%;
  will-change: transform, opacity;
}
.nc-shot img {
  display: block;
  width: 100%;
  height: calc(100% - 34px);
  object-fit: cover;
  object-position: top center;
}
.nc-shot-bar {
  display: flex;
  align-items: center;
  gap: 6px;
  height: 34px;
  padding: 0 12px;
  background: #f4f3fa;
  border-bottom: 1px solid rgba(80, 60, 160, 0.08);
}
.nc-shot-bar i {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #d9d6ea;
}
.nc-shot-bar span {
  margin-left: 10px;
  font-size: 0.7rem;
  color: var(--text-muted);
  font-family: var(--font-body, inherit);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.nc-stage-meta {
  display: grid;
  justify-items: center;
  gap: 0.2rem;
  text-align: center;
  min-height: 3.6rem;
}
.nc-stage-count {
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  color: var(--text-muted);
}
.nc-stage-count b { color: var(--purple-mid); font-weight: 700; }
.nc-stage-name {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text-primary);
}
.nc-stage-tag {
  font-size: 0.8rem;
  color: var(--text-muted);
}

@media (max-width: 860px) {
  .nc-reveal-grid {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }
  .nc-reveal-line { font-size: clamp(2rem, 9vw, 3rem); }
  .nc-reveal-lines {
    flex-direction: row;
    flex-wrap: wrap;
    column-gap: 0.28em;
  }
  .nc-stage-deck { width: min(72vw, 300px); }
  .nc-stage { gap: 0.75rem; }
}

.nodo-word {
  display: inline-block;
  overflow: hidden;
  vertical-align: top;
}
.nodo-word > span {
  display: block;
  will-change: transform;
}
.nodo-word-em { color: var(--purple-mid); }

.nodo-cylinder {
  position: relative;
  padding: 0 clamp(1.25rem, 4vw, 2.5rem);
}
.nodo-cylinder-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(1.5rem, 4vw, 3rem);
  align-items: stretch;
}
.nodo-cylinder-kicker-slot {
  position: relative;
  min-height: 100%;
}
.nodo-cylinder-kicker {
  position: sticky;
  top: 42vh;
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(1.7rem, 3.4vw, 2.7rem);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1.15;
  white-space: nowrap;
  max-width: none;
}
.nodo-cylinder-kicker em {
  font-style: normal;
  background: linear-gradient(135deg, var(--purple-mid), var(--accent-hot));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.nodo-cylinder-list {
  margin: 0;
  padding: 42vh 0 0;
}
.nodo-cylinder-list li {
  font-family: var(--font-display);
  font-size: clamp(1.45rem, 3.1vw, 2.55rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.35;
  color: var(--text-primary);
  opacity: 0.14;
  transform-origin: left center;
  will-change: transform, opacity;
}
.nodo-cylinder-list li.is-active {
  color: var(--purple-deep);
  opacity: 1;
}

.nodo-stretch { height: 220vh; }
.nodo-stretch-pin {
  position: sticky;
  top: 0;
  height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 0;
  padding: 0 clamp(1.25rem, 4vw, 2.5rem);
  overflow: hidden;
}
.nodo-stretch-row {
  display: flex;
  align-items: center;
  width: 100%;
  font-family: var(--font-display);
  font-size: clamp(3.2rem, 12vw, 8.5rem);
  font-weight: 800;
  letter-spacing: -0.05em;
  line-height: 0.92;
  color: var(--purple-deep);
}
.nodo-stretch-row.is-end { justify-content: flex-end; }
.nodo-stretch-row .nodo-ch {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  line-height: 0.92;
  height: 0.92em;
  overflow: visible;
  color: var(--purple-deep);
}
.nodo-stretch-row .nodo-ch-inner {
  display: block;
  line-height: 0.92;
}

.footer--stage {
  background: var(--bg-dark);
  color: var(--text-inverse);
  border-top: 0;
  padding-top: 0;
}
.footer--stage .footer-col-title,
.footer--stage .footer-brand-name { color: #fff; }
.footer--stage .footer-brand-desc,
.footer--stage .footer-col-links a,
.footer--stage .footer-copy { color: rgba(255,255,255,0.55); }
.footer--stage .footer-col-links a:hover { color: var(--accent-soft); }
.footer--stage .footer-copy em { color: var(--accent-soft); }
.footer--stage .footer-bottom { border-top-color: rgba(255,255,255,0.1); }
.footer-stage {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 1.5rem;
  align-items: end;
  min-height: 88vh;
  padding: 22vh 0 8vh;
  overflow: hidden;
}
.footer-word {
  font-family: var(--font-display);
  font-size: clamp(3.6rem, 14vw, 9.5rem);
  font-weight: 800;
  letter-spacing: -0.06em;
  line-height: 0.88;
  overflow: hidden;
  margin: 0;
}
.footer-word .nodo-ch {
  display: inline-block;
  overflow: hidden;
  vertical-align: top;
  line-height: 0.88;
}
.footer-word .nodo-ch-inner {
  display: block;
  will-change: transform;
}
.footer-word .nodo-ch.is-accent .nodo-ch-inner { color: var(--accent-soft); }
.footer-clock {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.35rem;
  padding-bottom: 0.5em;
}
.footer-clock-label { font-size: 0.75rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--accent-soft); }
.footer-clock-time { font-family: var(--font-display); font-size: 1.35rem; font-weight: 700; letter-spacing: -0.03em; }
.footer-clock-colon { display: inline-block; padding: 0 0.04em; animation: nodoClockBlink 1.5s linear infinite; }
@keyframes nodoClockBlink { 0%,70%{opacity:1} 75%,95%{opacity:0} }

#nodo-nav.on-dark {
  background: rgba(13, 13, 20, 0.88);
  border-bottom-color: rgba(255,255,255,0.08);
}
#nodo-nav.on-dark .nav-logo,
#nodo-nav.on-dark .nav-links a { color: #fff; }
#nodo-nav.on-dark .nav-links a:hover,
#nodo-nav.on-dark .nav-links a.active { color: var(--accent-soft); }
#nodo-nav.on-dark .nav-burger span,
body.theme-light #nodo-nav.on-dark .nav-burger span { background: #fff; }
#nodo-nav.on-dark .nav-cta { color: #fff; }

@media (max-width: 720px) {
  .nodo-cylinder-layout { grid-template-columns: 1fr; }
  .nodo-cylinder-kicker { position: relative; top: auto; padding: 8vh 0 2vh; white-space: normal; }
  .nodo-cylinder-list { padding: 8vh 0 24vh; }
  .nc-reveal { height: 280vh; }
  .footer-stage { grid-template-columns: 1fr; min-height: 64vh; }
  .footer-clock { align-items: flex-start; }
}

/* ═══════════════════════════════════════════════════
   RESPONSIVE
═══════════════════════════════════════════════════ */
@media (max-width: 1024px) {
  .spline-shell { height: clamp(260px, 52vw, 420px); }
  .about-split, .form-section { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .pricing-grid { grid-template-columns: 1fr; }
  .pricing-card.featured { transform: none; }
  .perf-grid { grid-template-columns: 1fr; }
  .perf-bar-row { grid-template-columns: 1fr; gap: 0.4rem; }

  /* Servicios rows: hide metric/arrow on tablet */
  .svc-row { grid-template-columns: 3rem 1fr; gap: 1rem; }
  .svc-metric, .svc-arrow { display: none; }

  /* Casos: evidence stacks on tablet */
  .cs-evidence { grid-template-columns: 1fr; gap: 1.5rem; }
}

@media (max-width: 768px) {
  :root { --space-xl: 5rem; }

  #nodo-nav { padding: 1rem 1.5rem; }

  /* ─── Casos — diseño consciente móvil ─── */
  .cs-card { padding: 1.5rem 1.25rem; }

  .cs-header {
    margin-bottom: 1.5rem;
    gap: 1rem;
  }
  .cs-title { font-size: clamp(1.4rem, 6vw, 1.85rem); }
  .cs-header .btn-sm { align-self: flex-start; }

  /* Compare → vertical con flecha hacia abajo */
  .cs-compare {
    grid-template-columns: 1fr;
    gap: 1.25rem;
    padding: 1.5rem 0;
    text-align: center;
  }
  .cs-compare-num { font-size: clamp(2.5rem, 14vw, 3.25rem); }
  .cs-compare-mid { flex-direction: column; gap: 0.4rem; }
  .cs-compare-line { display: none; }
  .cs-compare-arrow { transform: rotate(90deg); font-size: 1.5rem; }

  /* Metrics → 2 columnas en móvil */
  .cs-metrics {
    grid-template-columns: 1fr 1fr;
    gap: 0.6rem;
    margin: 1.5rem 0;
  }
  .cs-metric { padding: 0.9rem 1rem; }
  .cs-metric-val { font-size: 1.35rem; }
  .cs-metric:hover { transform: none; }

  /* Evidence — imagen más baja, quote compacto */
  .cs-evidence-img img { height: 180px; }
  .cs-quote { font-size: 1rem; padding-left: 0.9rem; }
  .cs-coming { gap: 1.25rem; padding-top: 1.5rem; }
  .cs-coming .btn { width: 100%; justify-content: center; }

  /* Sistema — móvil: carrusel swipe nativo, SIN pin ni ScrollTrigger */
  .sistema-section {
    height: auto !important;
    overflow: visible;
    display: flex;
    flex-direction: column;
  }
  .sistema-section .sp-overlay {
    position: relative;
    display: block;
  }
  .sistema-section .sp-container {
    flex-direction: row;
    flex-wrap: nowrap;
    width: 100% !important;
    height: auto;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    transform: none !important;
  }
  .sistema-section .sp-container::-webkit-scrollbar { display: none; }
  .sistema-section .sp-panel {
    width: 100% !important;
    min-width: 100%;
    height: auto;
    min-height: 78dvh;
    padding: 0;
    border-bottom: none;
    flex-shrink: 0;
    scroll-snap-align: start;
    scroll-snap-stop: always;
  }
  .sistema-section .sp-inner {
    padding: 2rem 1.5rem 2.5rem;
    max-width: 100%;
    min-height: 78dvh;
    display: flex;
    flex-direction: column;
    justify-content: center;
  }
  .sistema-section .sp-headline { font-size: clamp(1.85rem, 9vw, 2.5rem); }
  .sistema-section .sp-bg-num {
    display: block;
    font-size: clamp(7rem, 36vw, 10rem);
    right: -0.02em;
    bottom: 0;
    opacity: 0.3;
  }
  .sistema-section .sp-counter { top: 1rem; right: 1.25rem; }
  .sistema-section .sp-scroll-hint { display: none; }

  .perf-accordion-trigger { padding: 1rem 1.15rem; }
  .perf-accordion.is-open .perf-accordion-panel { padding: 0 1.15rem 1.15rem; }

  .nav-links {
    display: none;
    position: fixed;
    inset: 0;
    background: var(--bg-base);
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2.5rem;
    z-index: 999;
  }

  .nav-links.open { display: flex; }
  .nav-links a { font-size: 1.5rem; }
  .nav-burger { display: flex; }

  .form-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .hero-e-title { font-size: clamp(2rem, 9vw, 3.25rem); }
  .morph-wrap--hero { min-width: 18ch; }
  .pricing-care-inner {
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
  }
  .pricing-care-price-wrap {
    align-items: flex-start;
    text-align: left;
    margin-top: 1rem;
  }
  .sistema-step-inner {
    grid-template-columns: 2.5rem 1fr;
  }
  .hero-e-trust { font-size: 0.72rem; padding: 0 0.5rem; }
  .build-row {
    grid-template-columns: 2.5rem 1fr;
    gap: 0.75rem 1rem;
    padding: 1.5rem 1.25rem;
  }
  .build-metric,
  .build-arrow { display: none; }
  .tg-line { white-space: normal; }
  .spline-shell { height: clamp(240px, 58vw, 360px); }
}

@media (max-width: 480px) {
  /* Casos — pantallas muy pequeñas: métricas 1 columna */
  .cs-metrics { grid-template-columns: 1fr; }
  .cs-card { padding: 1.25rem 1rem; }
  .cs-compare-num { font-size: clamp(2.25rem, 16vw, 2.75rem); }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
}

/* ═══════════════════════════════════════════════════
   NODO CONECTA v2 — Buscador · Red · Footer
═══════════════════════════════════════════════════ */
.nc-live-dot {
  display: inline-block;
  width: 8px;
  height: 8px;
  margin-right: 0.35rem;
  border-radius: 50%;
  background: #22c55e;
  box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.55);
  animation: ncLive 1.8s ease-out infinite;
  vertical-align: middle;
}
@keyframes ncLive {
  0%   { box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.55); }
  70%  { box-shadow: 0 0 0 9px rgba(34, 197, 94, 0); }
  100% { box-shadow: 0 0 0 0 rgba(34, 197, 94, 0); }
}

/* ─── Buscador ─── */
.nc-search {
  position: relative;
  padding: clamp(5rem, 12vw, 9rem) 0;
  overflow: hidden;
}
.nc-search::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 50% 60% at 78% 50%, rgba(124, 92, 255, 0.12), transparent 70%);
  pointer-events: none;
}
.nc-search-grid {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
  gap: clamp(2rem, 6vw, 5rem);
  align-items: center;
}
.nc-search-copy .t-headline { margin: 1.1rem 0 1rem; }
.nc-search-copy em { font-style: normal; color: var(--purple-mid); font-weight: 600; }
.nc-search-proof {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-top: 2rem;
  padding: 1rem 1.2rem;
  border-radius: 16px;
  background: var(--bg-surface);
  box-shadow: 0 0 0 1px rgba(108, 99, 255, 0.1), 0 14px 30px -18px rgba(60, 40, 160, 0.35);
  max-width: 30rem;
}
.nc-search-proof strong {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 4vw, 2.4rem);
  font-weight: 800;
  letter-spacing: -0.04em;
  background: linear-gradient(135deg, var(--purple-mid), #d946ef);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  white-space: nowrap;
}
.nc-search-proof span { font-size: 0.9rem; color: var(--text-muted); line-height: 1.45; }
.nc-search-proof a { color: var(--text-primary); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }

.nc-search-ui {
  position: relative;
  padding: clamp(1rem, 2.5vw, 1.5rem);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.72);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 0 0 1px rgba(108, 99, 255, 0.1), 0 40px 80px -40px rgba(50, 30, 150, 0.45);
}
.nc-search-bar {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  height: 52px;
  padding: 0 1.1rem;
  border-radius: 999px;
  background: var(--bg-surface);
  box-shadow: 0 0 0 1px rgba(17, 24, 39, 0.08), 0 6px 18px -10px rgba(17, 24, 39, 0.25);
  font-size: 0.98rem;
  color: var(--text-primary);
}
.nc-search-icon { color: var(--text-muted); flex-shrink: 0; }
.nc-search-query { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.nc-search-caret {
  width: 2px;
  height: 1.2em;
  background: var(--purple-mid);
  animation: ncCaret 1s steps(1) infinite;
}
@keyframes ncCaret { 50% { opacity: 0; } }

.nc-search-results {
  position: relative;
  list-style: none;
  margin: 1.1rem 0 0;
  padding: 0;
  min-height: 340px;
}
.nc-res {
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 78px;
  display: flex;
  align-items: center;
  gap: 0.85rem;
  padding: 0 1rem;
  border-radius: 16px;
  background: var(--bg-surface);
  box-shadow: 0 0 0 1px rgba(17, 24, 39, 0.05);
  will-change: transform, opacity;
}
.nc-res-fav {
  width: 28px;
  height: 28px;
  flex-shrink: 0;
  border-radius: 50%;
  object-fit: cover;
  background: #eceaf5;
}
.nc-res-body { display: grid; gap: 3px; min-width: 0; flex: 1; }
.nc-res--skel .nc-res-body i {
  display: block;
  height: 8px;
  border-radius: 4px;
  background: linear-gradient(90deg, #eeecf6, #f6f5fb, #eeecf6);
}
.nc-res--skel .nc-res-body i:nth-child(1) { width: 34%; }
.nc-res--skel .nc-res-body i:nth-child(2) { width: 72%; height: 10px; }
.nc-res--skel .nc-res-body i:nth-child(3) { width: 58%; }
.nc-res-url { font-size: 0.72rem; color: #188038; }
.nc-res-title {
  font-size: 0.92rem;
  font-weight: 600;
  color: #1a0dab;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.nc-res-desc {
  font-size: 0.78rem;
  color: var(--text-muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.nc-res-badge {
  flex-shrink: 0;
  font-style: normal;
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 0.35rem 0.6rem;
  border-radius: 999px;
  color: #fff;
  background: linear-gradient(135deg, var(--purple-mid), #d946ef);
  opacity: 0;
  transform: scale(0.8);
  transition: opacity 0.4s var(--ease-expo), transform 0.4s var(--ease-expo);
}
.nc-res--nodo { transition: box-shadow 0.5s var(--ease-expo); }
.nc-res--nodo.is-top {
  box-shadow: 0 0 0 2px var(--purple-mid), 0 18px 40px -16px rgba(108, 99, 255, 0.55);
}
.nc-res--nodo.is-top .nc-res-badge { opacity: 1; transform: scale(1); }
.nc-search-foot {
  margin: 0.9rem 0 0;
  text-align: center;
  font-size: 0.7rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-muted);
}

/* ─── Red Nodo ─── */
.nc-net {
  position: relative;
  height: 320vh;
}
.nc-net-pin {
  position: sticky;
  top: 0;
  height: 100vh;
  height: 100svh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: clamp(1rem, 3vh, 2rem);
  padding: calc(var(--nav-height) + 0.5rem) 0 2rem;
  overflow: hidden;
}
.nc-net-pin::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 45% 45% at 50% 58%, rgba(124, 92, 255, 0.16), transparent 70%),
    radial-gradient(rgba(80, 60, 160, 0.08) 1px, transparent 1px) 0 0 / 24px 24px;
  mask-image: radial-gradient(ellipse 70% 70% at 50% 55%, #000 30%, transparent 80%);
  pointer-events: none;
}
.nc-net-head { position: relative; text-align: center; }
.nc-net-kicker {
  margin: 0 0 0.6rem;
  font-family: var(--font-display);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text-muted);
}
.nc-net-kicker em { font-style: normal; color: var(--purple-mid); }
.nc-net-head .t-headline { margin: 0 auto; max-width: 18ch; }

.nc-net-map {
  position: relative;
  width: min(92vw, 1000px);
  aspect-ratio: 5 / 3;
  max-height: 58vh;
  margin: 0 auto;
}
.nc-net-svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: visible;
}
.nc-net-link {
  fill: none;
  stroke: var(--purple-mid);
  stroke-opacity: 0.45;
  stroke-width: 1.5;
  stroke-linecap: round;
}
.nc-net.is-live .nc-net-link {
  stroke-dasharray: 0.018 0.022 !important;
  stroke-opacity: 0.75;
  animation: ncFlow 2.4s linear infinite;
}
@keyframes ncFlow { to { stroke-dashoffset: -0.4; } }

.nc-net-core {
  position: absolute;
  left: 50%;
  top: 50%;
  translate: -50% -50%;
  display: grid;
  justify-items: center;
  gap: 0.3rem;
  padding: 1.1rem 1.4rem;
  border-radius: 22px;
  background: var(--bg-surface);
  box-shadow: 0 0 0 1px rgba(108, 99, 255, 0.14), 0 24px 50px -20px rgba(60, 40, 170, 0.5);
  text-align: center;
  z-index: 2;
}
.nc-net-core::after {
  content: '';
  position: absolute;
  inset: -8px;
  border-radius: 28px;
  border: 1.5px solid rgba(108, 99, 255, 0.35);
  opacity: 0;
}
.nc-net.is-live .nc-net-core::after { animation: ncRing 2.2s ease-out infinite; }
@keyframes ncRing {
  0%   { opacity: 0.8; transform: scale(0.96); }
  100% { opacity: 0; transform: scale(1.18); }
}
.nc-net-core img { width: 34px; height: 34px; }
.nc-net-core strong {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--text-primary);
}
.nc-net-count { font-size: 0.72rem; color: var(--text-muted); font-variant-numeric: tabular-nums; }
.nc-net-count b { color: var(--purple-mid); }

.nc-net-node {
  position: absolute;
  left: var(--x);
  top: var(--y);
  translate: -50% -50%;
  padding: 0.6rem 1rem;
  border-radius: 999px;
  background: var(--bg-surface);
  box-shadow: 0 0 0 1px rgba(108, 99, 255, 0.14), 0 10px 24px -14px rgba(60, 40, 170, 0.45);
  font-family: var(--font-display);
  font-size: clamp(0.78rem, 1.3vw, 0.95rem);
  font-weight: 600;
  color: var(--text-primary);
  white-space: nowrap;
  z-index: 2;
  will-change: transform, opacity;
}
.nc-net-node::before {
  content: '';
  display: inline-block;
  width: 7px;
  height: 7px;
  margin-right: 0.5rem;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--purple-mid), #d946ef);
  vertical-align: middle;
}
.nc-net-foot {
  position: relative;
  text-align: center;
  margin: 0;
  font-size: 0.9rem;
  color: var(--text-muted);
}
.nc-net-foot a { color: var(--purple-mid); font-weight: 600; }

/* ─── Footer Nodo · Conecta ─── */
.nc-foot {
  position: relative;
  color: var(--text-primary);
  overflow: clip;
}
.nc-foot::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 70%;
  background:
    radial-gradient(ellipse 60% 55% at 50% 100%, rgba(124, 92, 255, 0.14), transparent 70%),
    radial-gradient(ellipse 35% 35% at 80% 90%, rgba(217, 70, 239, 0.08), transparent 70%);
  pointer-events: none;
}
.nc-foot-join { position: relative; height: 220vh; }
.nc-foot-join-pin::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 50% 32% at 50% 50%, rgba(124, 92, 255, 0.12), transparent 70%),
    radial-gradient(rgba(80, 60, 160, 0.08) 1px, transparent 1px) 0 0 / 24px 24px;
  mask-image: radial-gradient(ellipse 70% 60% at 50% 50%, #000 30%, transparent 80%);
  pointer-events: none;
}
.nc-foot-join-pin > * { position: relative; }
.nc-foot-join-pin > .nc-foot-thread {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: visible;
  pointer-events: none;
  transition: opacity 0.4s var(--ease-expo);
}
.nc-foot-thread path { fill: none; stroke-linecap: round; stroke-linejoin: round; }
.nc-foot-thread-shadow { stroke: rgba(108, 99, 255, 0.14); stroke-width: 6; }
.nc-foot-thread-stitch { stroke: var(--purple-mid); stroke-width: 2.2; stroke-dasharray: 9 7; }
.nc-foot-join-hint {
  position: absolute !important;
  bottom: clamp(2rem, 10vh, 5rem);
  margin: 0;
  font-size: 0.75rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-muted);
}
.nc-hint-touch { display: none; }
@media (hover: none) {
  .nc-hint-mouse { display: none; }
  .nc-hint-touch { display: inline; }
}
.nc-foot-join-pin {
  position: sticky;
  top: 0;
  height: 100vh;
  height: 100svh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1.6rem;
  overflow: hidden;
}
.nc-foot-join-kicker {
  margin: 0;
  font-size: 0.78rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-muted);
}
.nc-foot-join-kicker span { color: var(--purple-mid); }
.nc-foot-join-row {
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: clamp(2.6rem, 12vw, 12rem);
  font-weight: 800;
  letter-spacing: -0.055em;
  line-height: 1;
  white-space: nowrap;
}
.nc-foot-word { position: relative; display: inline-block; will-change: transform; }
.nc-foot-word small {
  position: absolute;
  left: 50%;
  top: 100%;
  translate: -50% 0.5rem;
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-size: clamp(0.62rem, 0.9vw, 0.8rem);
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  white-space: nowrap;
  color: var(--text-muted);
  -webkit-text-fill-color: var(--text-muted);
  transition: opacity 0.5s var(--ease-expo);
}
.nc-foot-join.is-joined .nc-foot-word small { opacity: 0; }
.nc-foot-word--b {
  background: linear-gradient(135deg, var(--purple-mid), #c026d3);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.nc-foot-link {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 0.42em;
  height: 1em;
}
.nc-foot-dot {
  position: relative;
  z-index: 2;
  width: 0.18em;
  height: 0.18em;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--purple-mid), #c026d3);
  box-shadow: 0 0 0 0.05em #fff, 0 8px 24px rgba(108, 99, 255, 0.45);
}
.nc-foot-dot::after {
  content: '';
  position: absolute;
  inset: -0.12em;
  border-radius: 50%;
  border: 2px solid rgba(108, 99, 255, 0.5);
  opacity: 0;
}
.nc-foot-join.is-joined .nc-foot-dot::after { animation: ncRing 1.8s ease-out infinite; }

.nc-foot-body { position: relative; padding-bottom: 2rem; }
.nc-foot-cta {
  display: grid;
  justify-items: center;
  text-align: center;
  gap: 1.4rem;
  padding: 2rem 0 clamp(4rem, 9vw, 7rem);
}
.nc-foot-status [data-clock] { font-weight: 600; color: var(--text-primary); }
.nc-foot-status {
  display: inline-flex;
  align-items: center;
  gap: 0.3em;
  margin: 0;
  padding: 0.5rem 1rem;
  border-radius: 999px;
  background: #fff;
  box-shadow: 0 0 0 1px var(--border-mid), 0 10px 30px -14px rgba(108, 99, 255, 0.35);
  font-size: 0.8rem;
  color: var(--text-secondary);
  font-variant-numeric: tabular-nums;
}
.nc-clock-colon { animation: ncCaret 2s steps(1) infinite; }
.nc-foot-title {
  margin: 0;
  max-width: 16ch;
  font-family: var(--font-display);
  font-size: clamp(2rem, 5.2vw, 4.2rem);
  font-weight: 800;
  letter-spacing: -0.045em;
  line-height: 1.02;
}
.nc-foot-title em {
  font-style: normal;
  background: linear-gradient(135deg, var(--purple-mid), #c026d3);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.nc-foot-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem;
  width: 100%;
  max-width: 44rem;
  margin-top: 0.6rem;
}
.nc-foot-btn {
  display: grid;
  gap: 0.2rem;
  flex: 1 1 17rem;
  padding: 1.1rem 1.6rem;
  border-radius: 20px;
  background: #fff;
  box-shadow: 0 0 0 1px var(--border-mid), 0 18px 40px -24px rgba(108, 99, 255, 0.4);
  color: var(--text-primary);
  text-align: left;
  transition: background 0.35s var(--ease-expo), box-shadow 0.35s var(--ease-expo);
}
.nc-foot-btn small {
  font-size: 0.7rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text-muted);
}
.nc-foot-btn span { font-family: var(--font-display); font-size: 1.05rem; font-weight: 700; word-break: break-all; }
.nc-foot-btn:hover { box-shadow: 0 0 0 1px var(--purple-mid), 0 24px 50px -24px rgba(108, 99, 255, 0.55); }
.nc-foot-btn--wa {
  background: linear-gradient(135deg, var(--purple-mid), #c026d3);
  box-shadow: 0 20px 40px -18px rgba(192, 38, 211, 0.7);
  color: #fff;
}
.nc-foot-btn--wa small { color: rgba(255, 255, 255, 0.8); }
.nc-foot-btn--wa:hover { background: linear-gradient(135deg, #7c74ff, #d946ef); box-shadow: 0 24px 50px -18px rgba(192, 38, 211, 0.85); }
.nc-foot-note { margin: 0; font-size: 0.8rem; color: var(--text-muted); }

.nc-foot-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 2rem;
  padding: 2.5rem 0;
  border-top: 1px dashed var(--border-mid);
}
.nc-foot-grid > div { display: grid; align-content: start; gap: 0.65rem; }
.nc-foot-col-title {
  margin: 0 0 0.3rem;
  font-size: 0.7rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--purple-mid);
}
.nc-foot-grid a,
.nc-foot-grid span {
  width: fit-content;
  font-size: 0.92rem;
  color: var(--text-secondary);
  transition: color 0.25s;
}
.nc-foot-grid a { position: relative; }
.nc-foot-grid a::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -2px;
  width: 100%;
  height: 1px;
  background: var(--purple-mid);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.4s var(--ease-expo);
}
.nc-foot-grid a:hover { color: var(--purple-mid); }
.nc-foot-grid a:hover::after { transform: scaleX(1); transform-origin: left; }

.nc-foot-bottom {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  gap: 0.8rem;
  padding-top: 1.6rem;
  border-top: 1px dashed var(--border-mid);
}
.nc-foot-bottom p { margin: 0; flex: 1; font-size: 0.8rem; color: var(--text-muted); }
.nc-foot-bottom em { font-style: normal; color: var(--purple-mid); }
.nc-top {
  position: relative;
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #fff;
  color: var(--text-primary);
}
.nc-top svg { position: absolute; inset: 0; width: 100%; height: 100%; rotate: -90deg; }
.nc-top-track { fill: none; stroke: rgba(108, 99, 255, 0.14); stroke-width: 2; }
.nc-top-ring { fill: none; stroke: var(--purple-mid); stroke-width: 2; stroke-linecap: round; }
.nc-top span { position: relative; font-size: 1rem; }

/* ─── Precios: spotlight + calculadora ─── */
.pricing-card { overflow: hidden; }
.pricing-card::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: radial-gradient(320px circle at var(--mx, 50%) var(--my, -30%), rgba(108, 99, 255, 0.12), transparent 65%);
  opacity: 0;
  transition: opacity 0.4s var(--ease-expo);
  pointer-events: none;
}
.pricing-card:hover::after { opacity: 1; }
.pricing-card > * { position: relative; z-index: 1; }
.pricing-card > .pricing-tag { position: absolute; }

.nc-roi {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr);
  gap: clamp(1.5rem, 4vw, 3.5rem);
  align-items: center;
  margin-top: clamp(2.5rem, 5vw, 4rem);
  padding: clamp(1.6rem, 3.5vw, 2.8rem);
  border-radius: var(--radius-xl, 28px);
  background:
    radial-gradient(ellipse 60% 80% at 100% 50%, rgba(108, 99, 255, 0.08), transparent 70%),
    #fff;
  box-shadow: 0 0 0 1px var(--border-subtle), var(--shadow-soft);
}
.nc-roi-copy { display: grid; gap: 0.7rem; }
.nc-roi-kicker {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin: 0;
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--purple-mid);
  font-weight: 600;
}
.nc-roi-label { font-size: 0.95rem; color: var(--text-secondary); }
.nc-roi-value {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 5vw, 3.6rem);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1;
  color: var(--text-primary);
  font-variant-numeric: tabular-nums;
}
.nc-roi-range {
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  height: 6px;
  margin: 0.6rem 0;
  border-radius: 99px;
  background: linear-gradient(90deg, var(--purple-mid), #c026d3) 0 0 / var(--fill, 14%) 100% no-repeat, rgba(108, 99, 255, 0.12);
  cursor: pointer;
}
.nc-roi-range::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 0 0 2px var(--purple-mid), 0 6px 18px rgba(108, 99, 255, 0.45);
  transition: transform 0.25s var(--ease-spring);
}
.nc-roi-range:active::-webkit-slider-thumb { transform: scale(1.18); }
.nc-roi-range::-moz-range-thumb {
  width: 24px;
  height: 24px;
  border: 0;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 0 0 2px var(--purple-mid), 0 6px 18px rgba(108, 99, 255, 0.45);
}
.nc-roi-result { margin: 0; font-size: 1rem; line-height: 1.55; color: var(--text-secondary); }
.nc-roi-result strong {
  font-family: var(--font-display);
  font-size: 1.35em;
  color: var(--purple-mid);
  font-variant-numeric: tabular-nums;
}
.nc-roi-dots {
  display: grid;
  grid-template-columns: repeat(15, 1fr);
  gap: clamp(6px, 1vw, 10px);
}
.nc-roi-dots i {
  aspect-ratio: 1;
  border-radius: 50%;
  background: rgba(108, 99, 255, 0.1);
  transition: background 0.35s var(--ease-expo), box-shadow 0.35s var(--ease-expo);
}
.nc-roi-dots i.is-on {
  background: linear-gradient(135deg, var(--purple-mid), #c026d3);
  box-shadow: 0 4px 10px -3px rgba(108, 99, 255, 0.55);
}

@media (max-width: 860px) {
  .nc-search-grid { grid-template-columns: 1fr; }
  .nc-search-results { min-height: 330px; }
  .nc-res { height: 76px; padding: 0 0.8rem; }
  .nc-res-badge { display: none; }

  .nc-net { height: 280vh; }
  .nc-net-map {
    width: min(94vw, 460px);
    aspect-ratio: 3 / 4.1;
    max-height: 62svh;
  }
  .nc-net-node {
    left: var(--mx);
    top: var(--my);
    padding: 0.45rem 0.7rem;
    font-size: 0.72rem;
  }
  .nc-net-core { padding: 0.8rem 1rem; }
  .nc-net-core strong { font-size: 0.9rem; }

  .nc-foot-join { height: 190vh; }
  .nc-foot-join-row { font-size: clamp(2.3rem, 12.5vw, 5rem); }
  .nc-roi { grid-template-columns: 1fr; }
  .nc-foot-grid { grid-template-columns: 1fr 1fr; }
  .nc-foot-grid > div:last-child { grid-column: 1 / -1; }
}

@media (prefers-reduced-motion: reduce) {
  .nc-net.is-live .nc-net-link { animation: none; stroke-dasharray: none !important; }
  .nc-foot-thread, .nc-foot-join-hint { display: none; }
}

/* ═══════════════════════════════════════════════════
   PÁGINAS NODO — Trabajos · Nosotros · Contacto
═══════════════════════════════════════════════════ */
.np-hero {
  position: relative;
  padding-top: calc(var(--nav-height) + clamp(3rem, 8vh, 6rem));
  padding-bottom: clamp(3rem, 8vh, 5rem);
}
[data-barba-namespace="work"],
[data-barba-namespace="about"],
[data-barba-namespace="contact"] { overflow-x: clip; }
.np-hero::before {
  content: '';
  position: absolute;
  inset: 0 calc(50% - 50vw);
  z-index: -1;
  background:
    radial-gradient(ellipse 40% 45% at 20% 10%, rgba(124, 92, 255, 0.14), transparent 70%),
    radial-gradient(ellipse 30% 35% at 85% 30%, rgba(217, 70, 239, 0.08), transparent 70%),
    radial-gradient(rgba(80, 60, 160, 0.07) 1px, transparent 1px) 0 0 / 24px 24px;
  mask-image: linear-gradient(to bottom, #000 50%, transparent);
  pointer-events: none;
}
.np-kicker {
  display: inline-flex;
  align-items: center;
  gap: 0.35em;
  margin: 0 0 1.4rem;
  padding: 0.45rem 0.95rem;
  border-radius: 999px;
  background: #fff;
  box-shadow: 0 0 0 1px var(--border-mid), 0 10px 30px -16px rgba(108, 99, 255, 0.4);
  font-size: 0.78rem;
  font-weight: 500;
  color: var(--text-secondary);
  font-variant-numeric: tabular-nums;
}
.np-kicker [data-clock] { font-weight: 600; color: var(--text-primary); }
.np-title {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(2.8rem, 8.2vw, 7.2rem);
  font-weight: 800;
  letter-spacing: -0.055em;
  line-height: 0.95;
  color: var(--text-primary);
}
.np-line { display: block; overflow: hidden; padding-bottom: 0.08em; }
.np-line > span { display: inline-block; }
.np-title em,
.np-h2 em {
  font-style: normal;
  background: linear-gradient(135deg, var(--purple-mid), #c026d3);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.np-lead {
  max-width: 38rem;
  margin: 1.6rem 0 0;
  font-size: clamp(1.05rem, 1.6vw, 1.25rem);
  line-height: 1.6;
  color: var(--text-secondary);
}
.np-lead--sm { font-size: 1rem; margin-top: 0.8rem; }
.np-h2 {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(2rem, 4.6vw, 3.6rem);
  font-weight: 800;
  letter-spacing: -0.045em;
  line-height: 1.02;
  color: var(--text-primary);
}
.np-link {
  position: relative;
  font-weight: 600;
  color: var(--purple-mid);
}
.np-link::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: -3px;
  height: 1.5px;
  background: currentColor;
  transform: scaleX(0.3);
  transform-origin: left;
  transition: transform 0.5s var(--ease-expo);
}
.np-link:hover::after { transform: scaleX(1); }

/* Constelación de clientes */
.np-constellation {
  position: relative;
  height: clamp(260px, 34vw, 380px);
  margin-top: clamp(2.5rem, 6vh, 4rem);
}
.np-constellation-svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; pointer-events: none; }
.np-constellation-link {
  fill: none;
  stroke: rgba(108, 99, 255, 0.35);
  stroke-width: 1.5;
  transition: stroke 0.3s, stroke-width 0.3s;
}
.np-constellation.is-live .np-constellation-link {
  stroke-dasharray: 0.012 0.018 !important;
  animation: npFlow 3.2s linear infinite;
}
.np-constellation-link.is-hot { stroke: var(--purple-mid); stroke-width: 2.4; }
@keyframes npFlow { to { stroke-dashoffset: -0.3; } }
.np-core {
  position: absolute;
  left: 50%;
  top: 50%;
  z-index: 2;
  display: grid;
  justify-items: center;
  gap: 0.3rem;
  padding: 1rem 1.3rem;
  border-radius: 22px;
  background: #fff;
  box-shadow: 0 0 0 1px var(--border-mid), 0 0 0 10px rgba(108, 99, 255, 0.06), 0 24px 50px -20px rgba(108, 99, 255, 0.55);
  font-family: var(--font-display);
  font-weight: 800;
  letter-spacing: -0.02em;
}
.np-star {
  position: absolute;
  left: var(--x);
  top: var(--y);
  z-index: 3;
  width: 56px;
  height: 56px;
  margin: -28px 0 0 -28px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 0 0 3px #fff, 0 0 0 4px var(--border-mid), 0 14px 30px -12px rgba(30, 20, 80, 0.4);
  transition: box-shadow 0.35s var(--ease-expo);
}
.np-star--sm { width: 44px; height: 44px; margin: -22px 0 0 -22px; }
.np-star img { width: 100%; height: 100%; border-radius: 50%; object-fit: cover; }
.np-star::after {
  content: attr(data-name);
  position: absolute;
  left: 50%;
  bottom: calc(100% + 10px);
  translate: -50% 6px;
  padding: 0.35rem 0.7rem;
  border-radius: 999px;
  background: var(--text-primary);
  color: #fff;
  font-size: 0.72rem;
  font-weight: 600;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s, translate 0.4s var(--ease-expo);
}
.np-star:hover { box-shadow: 0 0 0 3px #fff, 0 0 0 5px var(--purple-mid), 0 18px 40px -12px rgba(108, 99, 255, 0.6); }
.np-star:hover::after { opacity: 1; translate: -50% 0; }

.np-stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
  margin: clamp(2rem, 5vh, 3rem) 0 0;
  padding: 1.6rem 0 0;
  border-top: 1px dashed var(--border-mid);
}
.np-stats li,
.np-numbers-grid li,
.np-case-nums li { display: grid; gap: 0.3rem; }
.np-stats strong,
.np-case-nums strong {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3.2vw, 2.6rem);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1;
  color: var(--text-primary);
  font-variant-numeric: tabular-nums;
}
.np-stats span,
.np-case-nums span { font-size: 0.85rem; line-height: 1.4; color: var(--text-muted); }

/* Caso destacado */
.np-case {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
  gap: clamp(2rem, 6vw, 5.5rem);
  align-items: center;
  padding-top: clamp(4rem, 10vh, 7rem);
  padding-bottom: clamp(4rem, 10vh, 7rem);
}
.np-case-media { position: relative; padding: 0 12% 12% 0; }
.np-browser {
  margin: 0;
  overflow: hidden;
  border-radius: 20px;
  background: #fff;
  box-shadow: 0 0 0 1px var(--border-subtle), 0 40px 80px -40px rgba(40, 30, 110, 0.45);
}
.np-browser-bar {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 0.7rem 0.9rem;
  border-bottom: 1px solid var(--border-subtle);
  background: #fbfaff;
}
.np-browser-bar i { width: 9px; height: 9px; border-radius: 50%; background: #e4e1f5; }
.np-browser-bar span {
  flex: 1;
  margin-left: 0.6rem;
  padding: 0.25rem 0.8rem;
  border-radius: 999px;
  background: #fff;
  box-shadow: inset 0 0 0 1px var(--border-subtle);
  font-size: 0.72rem;
  color: var(--text-muted);
  text-align: center;
}
.np-browser img { display: block; width: 100%; height: auto; aspect-ratio: 4 / 3.4; object-fit: cover; object-position: top; }
.np-proof-wrap {
  position: absolute;
  right: 0;
  bottom: 0;
  width: 46%;
}
.np-proof {
  margin: 0;
  padding: 0.5rem 0.5rem 0.7rem;
  border-radius: 20px;
  background: #fff;
  box-shadow: 0 0 0 1px var(--border-subtle), 0 30px 60px -24px rgba(40, 30, 110, 0.5);
  rotate: 3deg;
}
.np-proof img { display: block; width: 100%; height: auto; border-radius: 14px; }
.np-proof figcaption {
  display: flex;
  align-items: center;
  gap: 0.2rem;
  margin-top: 0.55rem;
  padding: 0 0.3rem;
  font-size: 0.68rem;
  color: var(--text-muted);
}
.np-case-tag {
  margin: 0 0 0.9rem;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--purple-mid);
}
.np-case-title {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 5vw, 4rem);
  font-weight: 800;
  letter-spacing: -0.05em;
  line-height: 1;
}
.np-case-text { margin: 1.2rem 0 0; font-size: 1.05rem; line-height: 1.7; color: var(--text-secondary); }
.np-case-text strong { color: var(--text-primary); }
.np-case-nums {
  display: grid;
  grid-template-columns: repeat(3, auto);
  justify-content: start;
  gap: 2.2rem;
  margin: 2rem 0 0;
}
.np-case-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 1.2rem 1.8rem; margin-top: 2.2rem; }

/* Grid de trabajos */
.np-work { position: relative; padding-bottom: clamp(4rem, 10vh, 7rem); }
.np-work-head {
  display: flex;
  flex-wrap: wrap;
  align-items: end;
  justify-content: space-between;
  gap: 1.5rem;
  margin-bottom: clamp(2rem, 5vh, 3.5rem);
}
.np-work-head .np-h2 { max-width: 14ch; }
.np-filters {
  display: inline-flex;
  gap: 0.3rem;
  padding: 0.3rem;
  border-radius: 999px;
  background: #fff;
  box-shadow: 0 0 0 1px var(--border-mid);
}
.np-filter {
  padding: 0.55rem 1rem;
  border-radius: 999px;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-secondary);
  transition: background 0.35s var(--ease-expo), color 0.35s;
}
.np-filter sup { font-size: 0.65em; opacity: 0.6; margin-left: 0.15em; }
.np-filter:hover { color: var(--purple-mid); }
.np-filter.is-active { background: var(--text-primary); color: #fff; }
.np-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(2.5rem, 5vw, 4.5rem) clamp(1.5rem, 3vw, 2.5rem);
}
.np-card {
  display: grid;
  gap: 1rem;
  width: 100%;
  text-align: left;
  cursor: pointer;
}
.np-card[hidden] { display: none; }
@media (min-width: 861px) {
  .np-card:nth-child(even) { position: relative; top: clamp(3rem, 8vw, 7rem); }
  .np-grid { padding-bottom: clamp(3rem, 8vw, 7rem); }
}
.np-card-shot {
  display: block;
  overflow: hidden;
  border-radius: 24px;
  background: #eeebff;
  box-shadow: 0 0 0 1px var(--border-subtle), 0 30px 60px -40px rgba(40, 30, 110, 0.5);
  isolation: isolate;
}
.np-card-shot img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 11;
  object-fit: cover;
  object-position: left top;
  transition: transform 1.1s var(--ease-expo), object-position 2.4s var(--ease-smooth);
}
.np-card:hover .np-card-shot img { transform: scale(1.045); object-position: left bottom; }
.np-card-meta {
  display: grid;
  grid-template-columns: auto 1fr auto;
  grid-template-areas: "n name go" "n tag go";
  align-items: center;
  column-gap: 1rem;
  padding: 0 0.3rem;
}
.np-card-n { grid-area: n; align-self: start; padding-top: 0.35rem; font-size: 0.75rem; font-weight: 600; color: var(--purple-mid); font-variant-numeric: tabular-nums; }
.np-card-name { grid-area: name; font-family: var(--font-display); font-size: clamp(1.25rem, 2vw, 1.6rem); font-weight: 800; letter-spacing: -0.03em; color: var(--text-primary); }
.np-card-tag { grid-area: tag; font-size: 0.85rem; color: var(--text-muted); }
.np-card-go {
  grid-area: go;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  box-shadow: inset 0 0 0 1px var(--border-mid);
  color: var(--text-primary);
  transition: background 0.4s var(--ease-expo), color 0.4s, rotate 0.5s var(--ease-expo);
}
.np-card:hover .np-card-go { background: var(--purple-mid); color: #fff; rotate: -45deg; }
.np-card:focus-visible .np-card-shot { box-shadow: 0 0 0 3px var(--purple-mid); }
.np-cursor {
  position: fixed;
  left: 0;
  top: 0;
  z-index: 50;
  width: 104px;
  height: 104px;
  margin: -52px 0 0 -52px;
  pointer-events: none;
}
.np-cursor > span {
  display: grid;
  place-items: center;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--purple-mid), #c026d3);
  box-shadow: 0 20px 40px -12px rgba(108, 99, 255, 0.6);
  color: #fff;
  font-size: 0.8rem;
  font-weight: 700;
  scale: 0;
  transition: scale 0.45s var(--ease-expo);
}
.np-cursor.is-on > span { scale: 1; }

.np-next { padding-top: 2rem; padding-bottom: clamp(3rem, 8vh, 5rem); }
.np-next-kicker { margin: 0 0 1rem; font-size: 0.75rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--text-muted); }
.np-next-slot {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: clamp(1rem, 3vw, 2rem);
  padding: clamp(1.4rem, 3vw, 2.2rem);
  border-radius: 28px;
  border: 2px dashed var(--border-mid);
  color: var(--text-primary);
  transition: border-color 0.4s, background 0.4s;
}
.np-next-slot:hover { border-color: var(--purple-mid); background: rgba(108, 99, 255, 0.04); }
.np-next-plus {
  display: grid;
  place-items: center;
  width: clamp(56px, 7vw, 76px);
  aspect-ratio: 1;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--purple-mid), #c026d3);
  color: #fff;
  font-size: 2rem;
  font-weight: 300;
  box-shadow: 0 0 0 8px rgba(108, 99, 255, 0.1);
  animation: npPulse 2.4s ease-in-out infinite;
}
@keyframes npPulse { 50% { box-shadow: 0 0 0 16px rgba(108, 99, 255, 0.04); } }
.np-next-copy { display: grid; gap: 0.3rem; }
.np-next-copy strong { font-family: var(--font-display); font-size: clamp(1.4rem, 3vw, 2.2rem); letter-spacing: -0.035em; }
.np-next-copy span { color: var(--text-muted); }
.np-next-go { font-size: 1.6rem; color: var(--purple-mid); transition: translate 0.5s var(--ease-expo); }
.np-next-slot:hover .np-next-go { translate: 8px 0; }

/* Modal con captura */
.work-modal-panel { width: min(100%, 44rem); max-height: min(90vh, 820px); }
.work-modal-shot {
  margin: 0 0 1.4rem;
  overflow: hidden;
  border-radius: 16px;
  box-shadow: 0 0 0 1px var(--border-subtle), 0 20px 40px -24px rgba(40, 30, 110, 0.45);
}
.work-modal-shot[hidden] { display: none; }
.work-modal-shot img { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; object-position: top; }
.work-modal-actions { display: grid; justify-items: center; gap: 1rem; margin-top: 1.5rem; }

/* Nosotros */
.np-strip { overflow: hidden; padding: 1rem 0 clamp(3rem, 8vh, 5rem); }
.np-strip-row { display: flex; gap: clamp(1rem, 2vw, 1.6rem); width: max-content; will-change: transform; }
.np-strip figure { margin: 0; flex: 0 0 auto; }
.np-strip img {
  display: block;
  height: clamp(220px, 30vw, 380px);
  width: auto;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  object-position: left top;
  border-radius: 22px;
  box-shadow: 0 0 0 1px var(--border-subtle), 0 30px 60px -40px rgba(40, 30, 110, 0.5);
}
.np-strip figure:nth-child(odd) img { aspect-ratio: 3 / 3.4; }
.np-strip figcaption { margin-top: 0.7rem; font-size: 0.8rem; color: var(--text-muted); }
.np-manifesto { padding-top: clamp(3rem, 10vh, 7rem); padding-bottom: clamp(4rem, 12vh, 8rem); }
.np-manifesto-kicker { margin: 0 0 1.4rem; font-size: 0.75rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--purple-mid); font-weight: 600; }
.np-manifesto-text {
  margin: 0;
  max-width: 22ch;
  font-family: var(--font-display);
  font-size: clamp(2rem, 5.4vw, 4.6rem);
  font-weight: 800;
  letter-spacing: -0.045em;
  line-height: 1.06;
  color: var(--text-primary);
}
.np-manifesto-text em { font-style: normal; color: var(--purple-mid); }
.np-mw { display: inline; }

.np-process { padding-bottom: clamp(4rem, 10vh, 7rem); }
.np-process-head { margin-bottom: clamp(2.5rem, 6vh, 4rem); }
.np-steps-wrap { position: relative; }
.np-steps-thread { position: absolute; inset: 0; z-index: 2; width: 100%; height: 100%; overflow: visible; pointer-events: none; }
.np-steps-track { fill: none; stroke: rgba(108, 99, 255, 0.18); stroke-width: 2; stroke-dasharray: 7 7; }
.np-steps-line { fill: none; stroke: var(--purple-mid); stroke-width: 2.5; stroke-linecap: round; }
.np-steps {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(1rem, 2.5vw, 2rem);
  margin: 0;
  padding: 0;
  list-style: none;
}
.np-step {
  position: relative;
  padding: 2.4rem 1.4rem 1.6rem;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.7);
  box-shadow: 0 0 0 1px var(--border-subtle);
  transition: background 0.5s, box-shadow 0.5s, translate 0.6s var(--ease-expo);
}
.np-step:nth-child(even) { margin-top: clamp(2rem, 5vw, 4rem); }
.np-step-node {
  position: absolute;
  z-index: 3;
  top: -9px;
  left: 50%;
  margin-left: -9px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: #fff;
  box-shadow: inset 0 0 0 2px var(--border-mid);
  transition: background 0.4s, box-shadow 0.4s, scale 0.5s var(--ease-spring);
}
.np-step.is-on { background: #fff; box-shadow: 0 0 0 1px var(--border-mid), 0 30px 60px -36px rgba(108, 99, 255, 0.6); }
.np-step.is-on .np-step-node { background: linear-gradient(135deg, var(--purple-mid), #c026d3); box-shadow: 0 0 0 5px rgba(108, 99, 255, 0.15); scale: 1.15; }
.np-step-when { margin: 0 0 0.5rem; font-size: 0.72rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--purple-mid); font-weight: 600; }
.np-step h3 { margin: 0 0 0.6rem; font-family: var(--font-display); font-size: 1.25rem; font-weight: 800; letter-spacing: -0.02em; }
.np-step p:last-child { margin: 0; font-size: 0.92rem; line-height: 1.6; color: var(--text-secondary); }

.np-numbers { padding-bottom: clamp(4rem, 10vh, 7rem); }
.np-numbers-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin: 0;
  padding: 0;
  border-radius: 28px;
  background: #fff;
  box-shadow: 0 0 0 1px var(--border-subtle), var(--shadow-soft);
  overflow: hidden;
}
.np-numbers-grid li { padding: clamp(1.6rem, 3vw, 2.6rem); border-right: 1px dashed var(--border-mid); }
.np-numbers-grid li:last-child { border-right: 0; }
.np-numbers-grid strong {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 4.6vw, 3.8rem);
  font-weight: 800;
  letter-spacing: -0.05em;
  line-height: 1;
  background: linear-gradient(135deg, var(--text-primary) 40%, var(--purple-mid));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  font-variant-numeric: tabular-nums;
}
.np-numbers-grid span { font-size: 0.88rem; line-height: 1.45; color: var(--text-muted); }

.np-compare { padding-bottom: clamp(4rem, 10vh, 7rem); }
.np-compare-head { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 1.5rem; margin-bottom: 2rem; }
.np-switch {
  position: relative;
  display: inline-grid;
  grid-template-columns: 1fr 1fr;
  padding: 0.3rem;
  border-radius: 999px;
  background: #fff;
  box-shadow: 0 0 0 1px var(--border-mid);
}
.np-switch-btn { position: relative; z-index: 1; padding: 0.6rem 1.3rem; font-weight: 700; font-size: 0.9rem; color: var(--text-secondary); transition: color 0.4s; }
.np-switch-btn.is-active { color: #fff; }
.np-switch-knob {
  position: absolute;
  top: 0.3rem;
  bottom: 0.3rem;
  left: 0.3rem;
  width: calc(50% - 0.3rem);
  border-radius: 999px;
  background: linear-gradient(135deg, var(--purple-mid), #c026d3);
  transition: translate 0.55s var(--ease-expo), background 0.4s;
  translate: 100% 0;
}
.np-compare[data-side="plantilla"] .np-switch-knob { translate: 0 0; background: #9ca3af; }
.np-compare-list { display: grid; margin: 0; padding: 0; list-style: none; border-top: 1px solid var(--border-subtle); }
.np-compare-list li {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: 1.2rem;
  padding: clamp(1rem, 2.4vw, 1.5rem) 0;
  border-bottom: 1px solid var(--border-subtle);
  overflow: hidden;
}
.np-compare-ico {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: rgba(108, 99, 255, 0.12);
  transition: background 0.4s;
}
.np-compare-ico::before { content: '✓'; font-weight: 800; color: var(--purple-mid); transition: color 0.4s; }
.np-compare[data-side="plantilla"] .np-compare-ico { background: rgba(156, 163, 175, 0.2); }
.np-compare[data-side="plantilla"] .np-compare-ico::before { content: '×'; color: #6b7280; }
.np-compare-txt { font-family: var(--font-display); font-size: clamp(1.2rem, 2.6vw, 1.9rem); font-weight: 700; letter-spacing: -0.03em; }
.np-compare[data-side="plantilla"] .np-compare-txt { color: var(--text-muted); }

/* Contacto */
.np-hero--contact { padding-bottom: clamp(2rem, 5vh, 3rem); }
.np-brief {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: start;
  padding-bottom: clamp(4rem, 10vh, 7rem);
}
.np-brief-form { display: grid; gap: 2rem; }
.np-q { margin: 0; padding: 0; border: 0; display: grid; gap: 0.9rem; }
.np-q legend { display: flex; align-items: baseline; gap: 0.7rem; margin-bottom: 0.9rem; font-family: var(--font-display); font-size: clamp(1.25rem, 2.2vw, 1.6rem); font-weight: 800; letter-spacing: -0.03em; color: var(--text-primary); }
.np-q legend span { font-family: var(--font-body); font-size: 0.75rem; font-weight: 600; color: var(--purple-mid); }
.np-chips { display: flex; flex-wrap: wrap; gap: 0.6rem; }
.np-chip { position: relative; cursor: pointer; }
.np-chip input { position: absolute; opacity: 0; pointer-events: none; }
.np-chip span {
  display: inline-block;
  padding: 0.75rem 1.2rem;
  border-radius: 999px;
  background: #fff;
  box-shadow: 0 0 0 1px var(--border-mid);
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--text-secondary);
  transition: background 0.35s var(--ease-expo), color 0.35s, box-shadow 0.35s, translate 0.35s var(--ease-expo);
}
.np-chip:hover span { box-shadow: 0 0 0 1px var(--purple-mid); color: var(--purple-mid); }
.np-chip input:checked + span {
  background: linear-gradient(135deg, var(--purple-mid), #c026d3);
  box-shadow: 0 12px 26px -12px rgba(108, 99, 255, 0.7);
  color: #fff;
  translate: 0 -2px;
}
.np-chip input:focus-visible + span { outline: 2px solid var(--purple-mid); outline-offset: 3px; }
.np-input {
  width: 100%;
  padding: 1rem 1.2rem;
  border: 0;
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 0 0 1px var(--border-mid);
  font: inherit;
  font-size: 1rem;
  color: var(--text-primary);
  transition: box-shadow 0.3s;
}
.np-input:focus { outline: none; box-shadow: 0 0 0 2px var(--purple-mid), 0 12px 30px -18px rgba(108, 99, 255, 0.6); }
.np-textarea { resize: vertical; min-height: 96px; }
.np-brief-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 1.2rem 1.8rem; }
.np-send {
  display: inline-flex;
  align-items: center;
  gap: 0.8rem;
  padding: 1.05rem 1.6rem 1.05rem 1.1rem;
  border-radius: 999px;
  background: linear-gradient(135deg, #22c55e, #16a34a);
  box-shadow: 0 20px 40px -18px rgba(22, 163, 74, 0.8);
  color: #fff;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.05rem;
}
.np-send-ico { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: rgba(255, 255, 255, 0.2); }
.np-send-ico svg { width: 20px; height: 20px; fill: #fff; }
.np-brief-preview { position: sticky; top: calc(var(--nav-height) + 1.5rem); display: grid; gap: 1.5rem; }
.np-chat {
  overflow: hidden;
  border-radius: 28px;
  background: #fff;
  box-shadow: 0 0 0 1px var(--border-subtle), 0 40px 80px -40px rgba(40, 30, 110, 0.5);
}
.np-chat-top { display: flex; align-items: center; gap: 0.8rem; padding: 1rem 1.2rem; border-bottom: 1px solid var(--border-subtle); }
.np-chat-top img { border-radius: 50%; background: #f4f2ff; padding: 4px; }
.np-chat-top div { display: grid; }
.np-chat-top strong { font-family: var(--font-display); font-size: 1rem; }
.np-chat-top span { display: inline-flex; align-items: center; font-size: 0.75rem; color: var(--text-muted); }
.np-chat-body {
  display: grid;
  gap: 0.7rem;
  min-height: 240px;
  align-content: start;
  padding: 1.3rem;
  background:
    radial-gradient(rgba(80, 60, 160, 0.07) 1px, transparent 1px) 0 0 / 18px 18px,
    #f7f6fd;
}
.np-bubble { max-width: 86%; margin: 0; padding: 0.8rem 1rem; border-radius: 18px; font-size: 0.95rem; line-height: 1.5; }
.np-bubble--in { justify-self: start; background: #fff; border-bottom-left-radius: 6px; box-shadow: 0 2px 8px -4px rgba(30, 20, 80, 0.2); }
.np-bubble--out { justify-self: end; background: #dcfce7; color: #14532d; border-bottom-right-radius: 6px; transform-origin: bottom right; }
.np-chat-typing { justify-self: end; display: flex; gap: 4px; margin: 0; padding: 0.5rem 0.8rem; }
.np-chat-typing i { width: 6px; height: 6px; border-radius: 50%; background: #86efac; animation: npType 1.2s ease-in-out infinite; }
.np-chat-typing i:nth-child(2) { animation-delay: 0.15s; }
.np-chat-typing i:nth-child(3) { animation-delay: 0.3s; }
@keyframes npType { 50% { translate: 0 -4px; opacity: 0.4; } }
.np-direct { display: grid; gap: 0.7rem; margin: 0; padding: 0; list-style: none; }
.np-direct small { font-size: 0.68rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--text-muted); }
.np-direct-btn {
  display: grid;
  grid-template-columns: 1fr auto;
  grid-template-rows: auto auto;
  column-gap: 1rem;
  row-gap: 0.15rem;
  padding: 0.95rem 1.15rem;
  border-radius: 18px;
  border: 1px solid var(--border-subtle);
  background: #fff;
  text-decoration: none;
  color: var(--text-primary);
  transition: border-color 0.3s ease, transform 0.35s var(--ease-expo), box-shadow 0.35s ease;
}
.np-direct-btn strong { font-weight: 650; word-break: break-word; }
.np-direct-btn span { grid-row: 1 / span 2; align-self: center; color: var(--purple-mid); font-weight: 650; font-size: 0.9rem; }
.np-direct-btn:hover { border-color: var(--purple-mid); transform: translateY(-2px); box-shadow: var(--shadow-soft); }
.np-direct-note { display: grid; gap: 0.15rem; padding: 0.4rem 1.15rem 0; }
.np-direct-note span { font-weight: 600; color: var(--text-primary); }

.nc-voices { position: relative; padding-block: clamp(5rem, 10vw, 8rem); overflow-x: clip; }
.nc-voices::before {
  content: '';
  position: absolute;
  inset: 10% calc(50% - 50vw) auto;
  height: 70%;
  background: radial-gradient(40% 60% at 75% 50%, rgba(108, 99, 255, 0.13), transparent 70%);
  pointer-events: none;
}
.nc-voices-top {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem 2rem;
  margin-bottom: clamp(2.5rem, 5vw, 4rem);
}
.nc-voices-kicker {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  margin: 0;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--purple-mid);
}
.nc-voices-tabs { display: flex; gap: 0.5rem; flex-wrap: wrap; }
.nc-voices-tab {
  position: relative;
  overflow: hidden;
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.6rem 1.1rem 0.7rem;
  border-radius: 999px;
  border: 1px dashed rgba(90, 70, 180, 0.3);
  background: rgba(255, 255, 255, 0.7);
  font: 600 0.82rem/1 var(--font-body);
  color: var(--text-muted);
  cursor: pointer;
  transition: color 0.3s ease, border-color 0.3s ease, background 0.3s ease;
}
.nc-voices-tab b { font-family: var(--font-display); font-size: 0.7rem; color: var(--purple-mid); letter-spacing: 0.1em; }
.nc-voices-tab i {
  position: absolute;
  left: 0; bottom: 0;
  height: 2px;
  width: 100%;
  background: linear-gradient(90deg, var(--purple-mid), #c026d3);
  transform: scaleX(0);
  transform-origin: left;
}
.nc-voices-tab:hover { color: var(--text-primary); }
.nc-voices-tab.is-active { color: var(--text-primary); border-style: solid; border-color: rgba(108, 99, 255, 0.45); background: #fff; }

.nc-voices-stage {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: clamp(2rem, 5vw, 5rem);
  align-items: center;
}
.nc-voices-quotes { position: relative; display: grid; }
.nc-voices-mark {
  position: absolute;
  top: -0.42em;
  left: -0.08em;
  font-family: var(--font-display);
  font-size: clamp(9rem, 16vw, 15rem);
  line-height: 1;
  font-weight: 800;
  background: linear-gradient(135deg, rgba(108, 99, 255, 0.22), rgba(192, 38, 211, 0.14));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  pointer-events: none;
  user-select: none;
}
.nc-voice {
  grid-area: 1 / 1;
  margin: 0;
  padding-top: clamp(2.5rem, 5vw, 4rem);
  visibility: hidden;
}
.nc-voice.is-active { visibility: visible; }
.nc-voice p {
  margin: 0 0 2rem;
  font-family: var(--font-display);
  font-size: clamp(1.9rem, 3.7vw, 3.4rem);
  font-weight: 650;
  letter-spacing: -0.035em;
  line-height: 1.08;
  color: var(--text-primary);
}
.nc-voice p em { font-style: normal; }
.nc-voice p em,
.nc-voice p em .nc-vw {
  background: linear-gradient(135deg, var(--purple-mid), #c026d3);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.nc-voice .nc-vw { display: inline-block; will-change: transform, opacity; }
.nc-voice footer {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  padding-top: 1.1rem;
  border-top: 1px dashed rgba(90, 70, 180, 0.28);
}
.nc-voice footer strong { font-size: 0.95rem; color: var(--text-primary); }
.nc-voice footer span { font-size: 0.82rem; color: var(--text-muted); }
.nc-voice footer span::before { content: '·'; margin-right: 0.9rem; color: var(--purple-mid); }

.nc-voices-visual { position: relative; }
.nc-voices-thread {
  position: absolute;
  left: -30%;
  top: 38%;
  width: 60%;
  height: 40%;
  overflow: visible;
  pointer-events: none;
  z-index: 0;
}
.nc-voices-thread path {
  fill: none;
  stroke: var(--purple-mid);
  stroke-width: 1.5;
  stroke-dasharray: 0.018 0.012;
  vector-effect: non-scaling-stroke;
  opacity: 0.5;
  animation: ncVoiceFlow 6s linear infinite;
}
@keyframes ncVoiceFlow { to { stroke-dashoffset: -1; } }
.nc-voices-browser {
  position: relative;
  z-index: 1;
  margin: 0;
  border-radius: 22px;
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--border-subtle);
  box-shadow: 0 40px 80px -40px rgba(60, 40, 160, 0.45);
  transform: rotate(-2deg);
}
.nc-voices-shots { position: relative; aspect-ratio: 16 / 11; background: var(--bg-dark); }
.nc-voices-shots img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  clip-path: inset(0 0 100% 0);
}
.nc-voices-shots img.is-active { clip-path: inset(0 0 0% 0); }
.nc-voices-sticker {
  position: absolute;
  z-index: 2;
  right: -1rem;
  bottom: -1.6rem;
  display: grid;
  gap: 0.15rem;
  min-width: 11rem;
  padding: 1rem 1.25rem;
  border-radius: 18px;
  background: linear-gradient(135deg, var(--purple-mid), #c026d3);
  color: #fff;
  box-shadow: 0 24px 50px -20px rgba(192, 38, 211, 0.75);
  transform: rotate(4deg);
}
.nc-voices-sticker strong { font-family: var(--font-display); font-size: clamp(2rem, 3.4vw, 2.8rem); line-height: 1; letter-spacing: -0.04em; }
.nc-voices-sticker span { font-size: 0.72rem; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; opacity: 0.85; }

.nc-voices-foot {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 2rem;
  margin-top: clamp(3.5rem, 6vw, 5rem);
}
.nc-voices-more {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 650;
  color: var(--text-primary);
  text-decoration: none;
  padding-bottom: 0.3rem;
  border-bottom: 1px dashed rgba(90, 70, 180, 0.4);
}
.nc-voices-more span { transition: transform 0.35s var(--ease-expo); }
.nc-voices-more:hover span { transform: translateX(4px); }
.nc-voices-more--wa { color: var(--purple-mid); }

@media (max-width: 860px) {
  .nc-voices-stage { grid-template-columns: 1fr; }
  .nc-voices-visual { order: -1; margin-right: 1rem; }
  .nc-voices-thread { display: none; }
  .nc-voices-sticker { right: -0.75rem; bottom: -1.25rem; min-width: 0; }
  .nc-voice { padding-top: 3rem; }
}
@media (prefers-reduced-motion: reduce) {
  .nc-voices-thread path { animation: none; }
}

/* Contacto flotante discreto */
.nc-reach {
  position: fixed;
  right: clamp(0.9rem, 2vw, 1.5rem);
  bottom: clamp(0.9rem, 2vw, 1.5rem);
  z-index: 900;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.5rem;
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  transition: opacity 0.4s ease, transform 0.5s var(--ease-expo), visibility 0.4s;
}
.nc-reach.is-shown { opacity: 1; visibility: visible; transform: none; }
.nc-reach-menu {
  display: grid;
  gap: 0.4rem;
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px) scale(0.96);
  transform-origin: bottom right;
  transition: opacity 0.3s ease, transform 0.4s var(--ease-expo), visibility 0.3s;
}
.nc-reach.is-open .nc-reach-menu { opacity: 1; visibility: visible; transform: none; }
.nc-reach-menu a {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  padding: 0.7rem 1rem 0.7rem 0.75rem;
  border-radius: 999px;
  background: #fff;
  border: 1px solid rgba(108, 99, 255, 0.25);
  box-shadow: 0 16px 36px -18px rgba(60, 40, 160, 0.45);
  color: var(--text-primary);
  font: 600 0.85rem/1 var(--font-body);
  text-decoration: none;
  white-space: nowrap;
  transition: border-color 0.3s ease, transform 0.35s var(--ease-expo);
}
.nc-reach-menu a:hover { border-color: var(--purple-mid); transform: translateX(-3px); }
.nc-reach-menu a small { display: block; margin-top: 0.2rem; font-size: 0.68rem; font-weight: 500; color: var(--text-muted); }
.nc-reach-menu svg { width: 28px; height: 28px; flex: none; padding: 6px; border-radius: 50%; background: linear-gradient(135deg, var(--purple-mid), #c026d3); fill: #fff; }
.nc-reach-toggle {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.55rem 0.9rem 0.55rem 0.55rem;
  border-radius: 999px;
  border: 1px solid rgba(108, 99, 255, 0.28);
  background: rgba(255, 255, 255, 0.82);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  box-shadow: 0 14px 30px -18px rgba(60, 40, 160, 0.5);
  font: 600 0.78rem/1 var(--font-body);
  letter-spacing: 0.02em;
  color: var(--text-primary);
  cursor: pointer;
}
.nc-reach-toggle img { width: 26px; height: 26px; border-radius: 50%; }
.nc-reach-toggle .nc-live-dot { position: absolute; left: 1.85rem; top: 0.45rem; }
.nc-reach-toggle em { font-style: normal; max-width: 0; overflow: hidden; white-space: nowrap; transition: max-width 0.5s var(--ease-expo); }
.nc-reach-toggle:hover em, .nc-reach.is-open .nc-reach-toggle em { max-width: 9rem; }
.nc-reach-toggle b { font-weight: 600; transition: transform 0.35s var(--ease-expo); display: inline-block; }
.nc-reach.is-open .nc-reach-toggle b { transform: rotate(45deg); }
@media print { .nc-reach { display: none; } }

.nc-foot--compact .nc-foot-join { height: 170vh; }
.nc-foot--compact .nc-foot-body { padding-top: 2rem; }

@media (max-width: 860px) {
  .np-constellation { height: 340px; }
  .np-star { left: var(--mx); top: var(--my); }
  .np-stats { grid-template-columns: 1fr 1fr; row-gap: 1.6rem; }
  .np-case { grid-template-columns: 1fr; }
  .np-grid { grid-template-columns: 1fr; }
  .np-steps { grid-template-columns: 1fr; gap: 1rem; padding-left: 0; }
  .np-step { padding: 1.3rem 1.2rem 1.3rem 3.6rem; }
  .np-step:nth-child(even) { margin-top: 0; }
  .np-step-node { top: 1.5rem; left: 1.2rem; margin-left: 0; }
  .np-numbers-grid { grid-template-columns: 1fr 1fr; }
  .np-numbers-grid li:nth-child(2) { border-right: 0; }
  .np-numbers-grid li:nth-child(-n+2) { border-bottom: 1px dashed var(--border-mid); }
  .np-brief { grid-template-columns: 1fr; }
  .np-brief-preview { position: static; order: -1; }
  .np-chat-body { min-height: 0; }
  .np-next-slot { grid-template-columns: auto 1fr; }
  .np-next-go { display: none; }
}
@media (max-width: 520px) {
  .np-case-nums { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; }
  .np-case-nums strong { font-size: 1.5rem; }
  .np-star { width: 46px; height: 46px; margin: -23px 0 0 -23px; }
  .np-star--sm { width: 38px; height: 38px; margin: -19px 0 0 -19px; }
}
@media (prefers-reduced-motion: reduce) {
  .np-constellation.is-live .np-constellation-link { animation: none; }
  .np-next-plus { animation: none; }
}

/* ═══════════════════════════════════════════════════
   FOOTER: hora del visitante + secreto bajo el footer
═══════════════════════════════════════════════════ */
.nc-foot-body .nc-foot-status { display: none; }
.nc-visit {
  position: relative;
  z-index: 1;
  display: grid;
  justify-items: center;
  text-align: center;
  gap: 0.35rem;
  padding: clamp(2rem, 4vw, 3rem) 0 0.5rem;
}
.nc-visit-row {
  display: inline-flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 0.35rem 0.7rem;
  margin: 0;
  padding: 0.55rem 1.1rem;
  border-radius: 999px;
  background: #fff;
  box-shadow: 0 0 0 1px var(--border-mid), 0 10px 30px -14px rgba(108, 99, 255, 0.35);
  font-size: 0.9rem;
  color: var(--text-secondary);
}
.nc-visit-row .nc-live-dot { margin-right: 0; }
.nc-visit-time {
  display: inline-flex;
  align-items: center;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1rem;
  line-height: 1;
  color: var(--purple-mid);
  font-variant-numeric: tabular-nums;
}
.nc-dg { position: relative; display: inline-block; width: 0.62em; height: 1em; overflow: hidden; }
.nc-dg span { position: absolute; inset: 0; text-align: center; }
.nc-visit-colon { width: 0.3em; text-align: center; animation: ncColon 1s steps(1) infinite; }
@keyframes ncColon { 50% { opacity: 0.3; } }
.nc-foot-links {
  position: relative;
  z-index: 1;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.4rem 1.6rem;
  padding: 1.6rem 0 0.6rem;
  border-top: 1px dashed var(--border-mid);
}
.nc-foot-links a {
  position: relative;
  font-size: 0.92rem;
  color: var(--text-secondary);
  transition: color 0.25s;
}
.nc-foot-links a::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -2px;
  width: 100%;
  height: 1px;
  background: var(--purple-mid);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.4s var(--ease-expo);
}
.nc-foot-links a:hover { color: var(--purple-mid); }
.nc-foot-links a:hover::after { transform: scaleX(1); transform-origin: left; }
.nc-foot-where {
  position: relative;
  z-index: 1;
  margin: 0;
  padding-bottom: 1.4rem;
  text-align: center;
  font-size: 0.78rem;
  color: var(--text-muted);
}
