/* EVOLUX — Styles v2.0 | Compiled 2026-05-31 */

/* === 1. VARIABLES & ROOT === */

/* Este archivo NO define colores propios: los toma de tokens.css, que se
   carga antes y es la única fuente de verdad de la marca. Acá solo quedan
   ALIAS con los nombres viejos (para no reescribir 2200 líneas) y las
   variables que no existen en tokens. */
:root {
  /* Alias hacia los tokens */
  --purple:      var(--pur);
  --blue-purple: var(--pur-2);
  --white:       var(--txt);
  --gray:        var(--muted);
  /* Antes era #4a5568: daba 2.5:1 de contraste sobre el fondo y se usaba en
     texto real (placeholders del formulario, pie, tabla comparativa). */
  --gray-2:      var(--muted-2);

  --grad-text: linear-gradient(90deg, var(--pur), var(--blue));
  --grad-glow: radial-gradient(ellipse, rgba(108,92,255,0.15) 0%, transparent 70%);

  /* Propias de este archivo (no existen en tokens.css) */
  --bg-card: rgba(255,255,255,0.03);
  --bg-card-hover: rgba(255,255,255,0.06);
  --border: rgba(255,255,255,0.07);
  --border-hover: rgba(108,92,255,0.4);
  --teal: #00D1C1;

  --font-display: var(--font-titulo);
  --font-body:    var(--font-texto);

  --radius: 16px;
  --radius-sm: 10px;
  --radius-lg: 24px;

  --transition: var(--t-media);
  --transition-slow: 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

/* === 2. RESET & BASE === */

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  background:
    radial-gradient(120% 80% at 50% -10%, rgba(108,92,255,0.10), transparent 55%),
    radial-gradient(100% 60% at 100% 100%, rgba(74,144,255,0.07), transparent 60%),
    var(--bg);
  background-attachment: fixed;
  color: var(--white);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.65;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

/* Subtle grain overlay */
body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  opacity: 0.035;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

section, header, footer { position: relative; z-index: 2; }

[id] { scroll-margin-top: 96px; }

::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb {
  background: linear-gradient(var(--purple), var(--blue));
  border-radius: 3px;
}

::selection { background: rgba(108,92,255,0.35); color: #fff; }

:focus-visible {
  outline: 2px solid var(--purple);
  outline-offset: 3px;
  border-radius: 4px;
}
a:focus-visible, button:focus-visible { outline-offset: 4px; }
.btn-primary:focus-visible, .btn-plan-primary:focus-visible { outline-color: var(--white); }
input:focus-visible, select:focus-visible, textarea:focus-visible {
  outline: none;
  border-color: var(--blue-purple);
  box-shadow: 0 0 0 3px rgba(108,92,255,0.18);
}

/* Tabular figures */
.stat-num, .metric-number, .metric-symbol, .kpi-val, .dash-big,
.case-num, .bar-pct, .dash-growth, .fc-val {
  font-variant-numeric: tabular-nums;
  font-feature-settings: "tnum" 1;
}

/* Text wrapping */
.hero-title, .section-title, .cta-title, .services-hero-title,
.plan-name, .course-title, .case-brand { text-wrap: balance; }
.hero-sub, .section-sub, .cta-sub, .services-hero-sub,
.plan-desc, .testimonial-text, .case-desc, .team-bio { text-wrap: pretty; }

/* === 3. ANIMATIONS & KEYFRAMES === */

@keyframes fadeUp {
  to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeRight {
  to { opacity: 1; transform: translateX(0); }
}

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

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

@keyframes marquee {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

@keyframes blink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.3; }
}

@keyframes blink-cursor {
  0%, 100% { opacity: 1; }
  50% { opacity: 0; }
}

@keyframes aurora-drift-1 {
  0%, 100% { transform: translate(0, 0) scale(1); }
  25%  { transform: translate(70px, 50px) scale(1.08); }
  50%  { transform: translate(-30px, 90px) scale(0.96); }
  75%  { transform: translate(50px, -30px) scale(1.04); }
}
@keyframes aurora-drift-2 {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33%  { transform: translate(-80px, -50px) scale(1.14); }
  66%  { transform: translate(50px, 70px) scale(0.92); }
}
@keyframes aurora-drift-3 {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50%  { transform: translate(-90px, -70px) scale(1.22); }
}

@keyframes grid-pan {
  0%   { background-position: 0 0; }
  100% { background-position: 80px 80px; }
}

@keyframes grad-shift {
  0%, 100% { background-position: 0% 50%; }
  50%       { background-position: 100% 50%; }
}

@keyframes badge-glow {
  0%, 100% { opacity: 1;   box-shadow: 0 0 8px rgba(0,209,193,0.8), 0 0 18px rgba(0,209,193,0.35); }
  50%       { opacity: 0.4; box-shadow: 0 0 4px rgba(0,209,193,0.4); }
}

@keyframes badge-shimmer {
  0%, 60%, 100% { transform: translateX(-100%); }
  30%            { transform: translateX(220%); }
}

@keyframes line-draw {
  from { transform: scaleY(0); transform-origin: top; }
  to   { transform: scaleY(1); transform-origin: top; }
}

@keyframes conic-spin {
  0%   { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

@keyframes gcRingPulse {
  0%   { opacity: 0; transform: translate(-50%,-50%) scale(0.85); }
  40%  { opacity: 0.7; }
  100% { opacity: 0; transform: translate(-50%,-50%) scale(1.12); }
}
@keyframes gcRadar { to { transform: translate(-50%,-50%) rotate(360deg); } }
@keyframes gcFloat  { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-12px); } }
@keyframes gcFloatA { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }
@keyframes gcFloatB { 0%,100% { transform: translateY(0); } 50% { transform: translateY(9px); } }
@keyframes gcLogoFloat {
  0%,100% { transform: translateY(0); }
  50%     { transform: translateY(-9px); }
}
@keyframes gcBlink {
  0%,100% { box-shadow: 0 0 0 0 rgba(52,211,153,0.55); }
  50%     { box-shadow: 0 0 0 6px rgba(52,211,153,0); }
}
@keyframes gcDraw { to { stroke-dashoffset: 0; } }
@keyframes gcFade { to { opacity: 1; } }
@keyframes gcBar { to { width: var(--w); } }

/* === 4. UTILITIES === */

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

.gradient-text {
  background: linear-gradient(135deg,
    #c084fc 0%,
    #9B5CFF 20%,
    #6C5CFF 55%,
    #60a5fa 100%) !important;
  background-size: 200% 200% !important;
  -webkit-background-clip: text !important;
  background-clip: text !important;
  -webkit-text-fill-color: transparent !important;
  animation: grad-shift 8s ease-in-out infinite !important;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: linear-gradient(135deg, #9B5CFF 0%, #6C5CFF 50%, #4A90FF 100%) !important;
  color: white;
  padding: 0.85rem 2rem;
  border-radius: 50px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  transition: transform 0.35s cubic-bezier(0.23, 1, 0.32, 1),
              box-shadow 0.35s ease, background 0.3s ease,
              border-color 0.3s ease, color 0.3s ease !important;
  box-shadow:
    0 0 0 1px rgba(155, 92, 255, 0.3),
    0 4px 20px rgba(108, 92, 255, 0.4),
    inset 0 1px 0 rgba(255, 255, 255, 0.18) !important;
  position: relative;
  overflow: hidden;
  will-change: transform;
  letter-spacing: 0.01em;
}
.btn-primary::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(255,255,255,0.1);
  opacity: 0;
  transition: var(--transition);
}
.btn-primary:hover {
  box-shadow:
    0 0 0 1px rgba(155, 92, 255, 0.55),
    0 10px 35px rgba(108, 92, 255, 0.65),
    0 0 70px rgba(155, 92, 255, 0.22),
    inset 0 1px 0 rgba(255, 255, 255, 0.22) !important;
  transform: translateY(-3px) scale(1.025) !important;
}
.btn-primary:hover::after { opacity: 1; }
.btn-primary:active { transform: translateY(0) scale(0.98); }
.btn-primary.btn-large {
  padding: 1.1rem 2.8rem;
  font-size: 1.05rem;
}

.btn-arrow-circle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: rgba(255,255,255,0.18);
  font-size: 0.95rem;
  line-height: 1;
  transition: transform 0.35s cubic-bezier(0.32,0.72,0,1);
}
.btn-primary:hover .btn-arrow-circle { transform: translateX(3px); }

.btn-ghost {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--gray);
  padding: 0.85rem 1.8rem;
  border-radius: 50px;
  border: 1px solid var(--border);
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 0.95rem;
  text-decoration: none;
  transition: transform 0.35s cubic-bezier(0.32,0.72,0,1),
              box-shadow 0.35s ease, background 0.3s ease,
              border-color 0.3s ease, color 0.3s ease;
}
.btn-ghost:hover {
  color: var(--white);
  border-color: var(--blue-purple);
  background: rgba(108,92,255,0.08);
  transform: translateY(-2px);
}
.btn-ghost:active { transform: translateY(0) scale(0.985); }

.btn-nav {
  display: inline-flex;
  align-items: center;
  background: rgba(108,92,255,0.15);
  border: 1px solid rgba(108,92,255,0.3);
  color: var(--blue-purple);
  padding: 0.6rem 1.4rem;
  border-radius: 50px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.85rem;
  text-decoration: none;
  transition: transform 0.35s cubic-bezier(0.32,0.72,0,1),
              box-shadow 0.35s ease, background 0.3s ease,
              border-color 0.3s ease, color 0.3s ease;
  white-space: nowrap;
  margin-left: auto;
}
.btn-nav:hover {
  background: var(--grad);
  border-color: transparent;
  color: white;
  box-shadow: 0 0 20px rgba(108,92,255,0.3);
}
.btn-nav:active { transform: translateY(0) scale(0.985); }

.fade-up {
  opacity: 0;
  transform: translateY(30px);
  animation: fadeUp 0.7s ease forwards;
}
.fade-right {
  opacity: 0;
  transform: translateX(50px);
  animation: fadeRight 0.9s ease forwards 0.4s;
}
.delay-1 { animation-delay: 0.15s; }
.delay-2 { animation-delay: 0.3s; }
.delay-3 { animation-delay: 0.45s; }
.delay-4 { animation-delay: 0.6s; }

.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* particle canvas */
.bg-canvas {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  pointer-events: none;
  display: block;
}

/* === 5. CURSOR CUSTOM === */

@media (pointer: fine) {
  body.cursor-ready *,
  body.cursor-ready *::before,
  body.cursor-ready *::after { cursor: none !important; }

  .cursor-dot {
    position: fixed;
    width: 6px;
    height: 6px;
    background: #c084fc;
    border-radius: 50%;
    pointer-events: none;
    z-index: 99999;
    transform: translate(-50%, -50%);
    transition: width 0.25s ease, height 0.25s ease,
                background 0.25s ease, opacity 0.3s ease;
    will-change: left, top;
    box-shadow: 0 0 8px rgba(192, 132, 252, 0.7);
  }

  .cursor-ring {
    position: fixed;
    width: 34px;
    height: 34px;
    border: 1.5px solid rgba(155, 92, 255, 0.65);
    border-radius: 50%;
    pointer-events: none;
    z-index: 99998;
    transform: translate(-50%, -50%);
    transition: width 0.3s cubic-bezier(0.23, 1, 0.32, 1),
                height 0.3s cubic-bezier(0.23, 1, 0.32, 1),
                border-color 0.25s ease,
                background 0.25s ease,
                opacity 0.3s ease;
    will-change: left, top;
  }

  .cursor-dot.cur-hover {
    width: 9px;
    height: 9px;
    background: #fff;
    box-shadow: 0 0 10px rgba(255,255,255,0.6);
  }
  .cursor-ring.cur-hover {
    width: 50px;
    height: 50px;
    border-color: rgba(255, 255, 255, 0.35);
    background: rgba(155, 92, 255, 0.08);
  }
  .cursor-dot.cur-click { width: 3px; height: 3px; }
  .cursor-ring.cur-click { width: 26px; height: 26px; border-color: rgba(155, 92, 255, 0.9); }
}

/* === 6. NAV === */

.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 0;
  transition: var(--transition);
}

.nav.scrolled {
  background: rgba(8, 12, 18, 0.78) !important;
  backdrop-filter: blur(40px) saturate(200%) !important;
  -webkit-backdrop-filter: blur(40px) saturate(200%) !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.04) !important;
  box-shadow:
    inset 0 -1px 0 rgba(255, 255, 255, 0.04),
    0 12px 40px rgba(0, 0, 0, 0.5) !important;
}

.nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 1.2rem 2rem;
  display: flex;
  align-items: center;
  gap: 3rem;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  flex-shrink: 0;
}

.logo-icon { width: 32px; height: 38px; flex-shrink: 0; }
.logo-icon svg { width: 100%; height: 100%; }

.logo-text {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--white);
  letter-spacing: -0.02em;
}

.logo-img {
  height: 40px;
  width: auto;
  display: block;
  object-fit: contain;
  transition: transform 0.5s cubic-bezier(0.23, 1, 0.32, 1),
              filter 0.4s ease !important;
}

.nav-logo:hover .logo-img {
  transform: scale(1.1) rotate(-5deg) !important;
  filter: drop-shadow(0 0 14px rgba(155, 92, 255, 0.75)) !important;
}

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

.nav-links a {
  color: var(--gray);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 500;
  transition: var(--transition);
  font-family: var(--font-display);
  position: relative;
}
.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 1px;
  background: linear-gradient(90deg, #9B5CFF, #4A90FF);
  transition: width 0.3s cubic-bezier(0.23, 1, 0.32, 1);
}
.nav-links a:hover { color: var(--white); }
.nav-links a:hover::after,
.nav-links a.active::after { width: 100%; }

.nav-links a.active {
  color: var(--white);
}

.nav-links a.nav-platform {
  display: inline-flex !important;
  align-items: center !important;
  gap: 0.4rem !important;
  color: var(--blue-purple) !important;
  background: rgba(108,92,255,0.06) !important;
  padding: 0.25rem 0.7rem !important;
  border-radius: 50px !important;
  border: 1px solid rgba(108,92,255,0.18) !important;
  transition: all 0.25s ease !important;
}
.nav-links a.nav-platform svg { opacity: 0.9; }
.nav-links a.nav-platform:hover {
  background: rgba(108,92,255,0.14) !important;
  border-color: rgba(108,92,255,0.4) !important;
  color: #a78bfa !important;
}

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  margin-left: auto;
}
.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: var(--transition);
}

.mobile-menu {
  display: none;
  flex-direction: column;
  gap: 0;
  padding: 1rem 2rem 1.5rem;
  background: rgba(13,17,23,0.98);
  border-top: 1px solid var(--border);
}
.mobile-menu a {
  color: var(--gray);
  text-decoration: none;
  font-family: var(--font-display);
  font-size: 1rem;
  padding: 0.75rem 0;
  border-bottom: 1px solid var(--border);
  transition: var(--transition);
}
.mobile-menu a:hover { color: var(--white); }
.mobile-menu a.nav-platform { color: #a78bfa; font-weight: 600; }
.mobile-menu a.nav-platform:hover { color: #fff; }

.btn-mobile {
  margin-top: 1rem;
  border: none !important;
  background: var(--grad) !important;
  color: white !important;
  border-radius: 50px;
  text-align: center;
  padding: 0.85rem !important;
  font-weight: 600;
}

/* === 7. HERO === */

.hero {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 4rem;
  padding: 8rem 2rem 4rem;
  max-width: 1200px;
  margin: 0 auto;
  position: relative;
}

.hero-bg {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: -1;
}

.glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  animation: pulse-glow 6s ease-in-out infinite;
}
.glow-1 {
  width: 760px !important;
  height: 760px !important;
  background: radial-gradient(ellipse,
    rgba(155, 92, 255, 0.22) 0%,
    rgba(108, 92, 255, 0.10) 40%,
    transparent 70%) !important;
  top: -100px;
  left: -100px;
  animation: aurora-drift-1 14s ease-in-out infinite !important;
}
.glow-2 {
  width: 560px !important;
  height: 560px !important;
  background: radial-gradient(ellipse,
    rgba(74, 144, 255, 0.15) 0%,
    transparent 70%) !important;
  top: 200px;
  right: -100px;
  animation: aurora-drift-2 18s ease-in-out infinite !important;
  animation-delay: 2s;
}
.glow-3 {
  width: 440px !important;
  height: 440px !important;
  background: radial-gradient(ellipse,
    rgba(0, 209, 193, 0.10) 0%,
    transparent 70%) !important;
  bottom: 0;
  left: 30%;
  animation: aurora-drift-3 11s ease-in-out infinite !important;
  animation-delay: 4s;
}

.grid-overlay {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(108, 92, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(108, 92, 255, 0.035) 1px, transparent 1px) !important;
  background-size: 80px 80px !important;
  mask-image: radial-gradient(ellipse 80% 80% at 50% 50%, black 30%, transparent 100%);
  animation: grid-pan 35s linear infinite !important;
}

.hero-content {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  position: relative;
  z-index: 2;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  background: rgba(108,92,255,0.12) !important;
  border: 1px solid rgba(155,92,255,0.3) !important;
  color: #a78bfa;
  padding: 0.45rem 1rem;
  border-radius: 50px;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  width: fit-content;
  font-family: var(--font-display);
  box-shadow: 0 0 20px rgba(108,92,255,0.12),
              inset 0 1px 0 rgba(255,255,255,0.08) !important;
}

.badge-dot {
  width: 6px;
  height: 6px;
  background: var(--teal);
  border-radius: 50%;
  box-shadow: 0 0 8px rgba(0, 209, 193, 0.8), 0 0 18px rgba(0, 209, 193, 0.35) !important;
  animation: badge-glow 2s ease-in-out infinite !important;
}

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 4vw, 3.8rem);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.03em;
  color: var(--white);
}
.hero-sub {
  color: var(--gray);
  font-size: 1.1rem;
  line-height: 1.7;
  max-width: 500px;
}
.hero-ctas {
  display: flex;
  gap: 1rem;
  align-items: center;
  flex-wrap: wrap;
}

.hero-stats {
  display: flex;
  align-items: center;
  gap: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border);
  position: relative;
}
.hero-stats::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent 0%, rgba(108,92,255,0.5) 50%, transparent 100%);
}

.stat { display: flex; flex-direction: column; gap: 0.2rem; }
.stat-num {
  font-family: var(--font-display);
  font-size: 1.9rem !important;
  font-weight: 800;
  background: var(--grad-text);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  letter-spacing: -0.04em !important;
  text-shadow: 0 0 30px rgba(155,92,255,0.25);
}
.stat-label { font-size: 0.78rem; color: var(--gray); }
.stat-divider { width: 1px; height: 40px; background: var(--border); }

/* Hero visual */
.hero-visual {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

/* GrowthCore panel */
.growth-core {
  position: relative;
  width: 100%;
  max-width: 430px;
  margin: 0 auto;
  transform-style: preserve-3d;
  transition: transform 0.4s cubic-bezier(0.32,0.72,0,1);
}
.growth-core .layer {
  transition: transform 0.4s cubic-bezier(0.32,0.72,0,1);
  will-change: transform;
}

.gc-rings {
  position: absolute;
  top: 50%; left: 50%;
  width: 0; height: 0;
  pointer-events: none;
  z-index: 0;
}
.gc-ring {
  position: absolute;
  top: 50%; left: 50%;
  border-radius: 50%;
  border: 1px solid rgba(108,92,255,0.16);
  transform: translate(-50%, -50%);
  animation: gcRingPulse 4.5s ease-out infinite;
}
.gc-ring:nth-child(1) { width: 340px; height: 340px; }
.gc-ring:nth-child(2) { width: 480px; height: 480px; animation-delay: 1.5s; }
.gc-ring:nth-child(3) { width: 620px; height: 620px; animation-delay: 3s; }

.gc-radar {
  position: absolute;
  top: 50%; left: 50%;
  width: 460px; height: 460px;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  pointer-events: none;
  z-index: 0;
  background: conic-gradient(from 0deg,
    rgba(108,92,255,0.22), transparent 28%, transparent 100%);
  -webkit-mask: radial-gradient(circle, #000 0 60%, transparent 62%);
          mask: radial-gradient(circle, #000 0 60%, transparent 62%);
  opacity: 0.5;
  animation: gcRadar 8s linear infinite;
}

.gc-panel {
  position: relative;
  z-index: 2;
  background: linear-gradient(165deg, rgba(255,255,255,0.07), rgba(255,255,255,0.02));
  border: 1px solid rgba(255,255,255,0.10);
  border-radius: var(--radius-lg);
  padding: 1.5rem 1.6rem 1.7rem;
  backdrop-filter: blur(22px);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.14),
              0 0 70px rgba(108,92,255,0.16),
              0 26px 70px rgba(0,0,0,0.5);
  animation: gcFloat 6s ease-in-out infinite;
}

.gc-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  margin-bottom: 1.1rem;
}
.gc-tag {
  font-family: var(--font-display);
  font-size: 0.72rem;
  font-weight: 500;
  color: var(--gray);
  letter-spacing: 0.01em;
}
.gc-live {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  flex-shrink: 0;
  font-family: var(--font-display);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #34d399;
  background: rgba(52,211,153,0.1);
  border: 1px solid rgba(52,211,153,0.25);
  padding: 0.25rem 0.6rem;
  border-radius: 50px;
}
.gc-live i {
  width: 6px; height: 6px; border-radius: 50%;
  background: #34d399;
  box-shadow: 0 0 0 0 rgba(52,211,153,0.6);
  animation: gcBlink 1.8s ease-in-out infinite;
}
.gc-metric {
  display: flex;
  align-items: baseline;
  gap: 0.8rem;
  margin-bottom: 1rem;
}
.gc-amount {
  font-family: var(--font-display);
  font-size: 2.4rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1;
  background: var(--grad-text);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  font-variant-numeric: tabular-nums;
}
.gc-delta {
  font-size: 0.82rem;
  font-weight: 700;
  color: #34d399;
  background: rgba(52,211,153,0.1);
  padding: 0.2rem 0.55rem;
  border-radius: 50px;
  font-variant-numeric: tabular-nums;
}
.gc-chart {
  height: 96px;
  margin: 0 -0.3rem 1.1rem;
}
.gc-chart svg { width: 100%; height: 100%; overflow: visible; }
.gc-area  { opacity: 0; animation: gcFade 1.4s ease forwards 1s; }
.gc-line  {
  stroke-dasharray: 100;
  stroke-dashoffset: 100;
  filter: drop-shadow(0 0 6px rgba(108,92,255,0.5));
  animation: gcDraw 2.2s cubic-bezier(0.4,0,0.2,1) forwards 0.5s;
}
.gc-pulse-glow { opacity: 0.55; }

.gc-kpis {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.9rem;
  padding-top: 1.1rem;
  border-top: 1px solid var(--border);
}
.gc-kpi { display: flex; flex-direction: column; gap: 0.3rem; }
.gc-kpi-label { font-size: 0.66rem; color: var(--gray); font-family: var(--font-display); }
.gc-kpi-val {
  font-family: var(--font-display);
  font-size: 0.98rem;
  font-weight: 700;
  color: var(--white);
  font-variant-numeric: tabular-nums;
}
.gc-kpi-bar {
  height: 4px;
  border-radius: 50px;
  background: rgba(255,255,255,0.07);
  overflow: hidden;
}
.gc-kpi-bar i {
  display: block;
  height: 100%;
  width: 0;
  border-radius: 50px;
  background: linear-gradient(90deg, #9B5CFF, #4A90FF) !important;
  box-shadow: 0 0 6px rgba(155,92,255,0.4) !important;
  animation: gcBar 1.4s cubic-bezier(0.32,0.72,0,1) forwards 1.2s;
}

.gc-logo {
  position: absolute;
  top: -80px;
  left: 0; right: 0;
  margin-inline: auto;
  width: 74px; height: 74px;
  z-index: 3;
  display: grid;
  place-items: center;
  animation: gcLogoFloat 7s ease-in-out infinite;
}
.gc-logo-img {
  width: 100%; height: 100%;
  object-fit: contain;
  filter: drop-shadow(0 10px 26px rgba(108,92,255,0.55))
          drop-shadow(0 0 10px rgba(74,144,255,0.4));
}

.gc-node {
  position: absolute;
  z-index: 4;
  display: flex;
  align-items: center;
  gap: 0.6rem;
  background: rgba(10, 14, 22, 0.88) !important;
  border: 1px solid rgba(108, 92, 255, 0.28) !important;
  border-radius: 14px;
  padding: 0.6rem 0.85rem;
  backdrop-filter: blur(14px) !important;
  -webkit-backdrop-filter: blur(14px) !important;
  box-shadow:
    0 8px 32px rgba(0,0,0,0.45),
    0 0 22px rgba(108,92,255,0.15),
    inset 0 1px 0 rgba(255,255,255,0.08) !important;
}
.gc-node-1 { bottom: -22px; left: -32px; animation: gcFloatA 5s ease-in-out infinite; }
.gc-node-2 { top: -14px; right: -28px; animation: gcFloatB 5.6s ease-in-out infinite; }
.gc-node-ico {
  display: grid; place-items: center;
  width: 30px; height: 30px;
  border-radius: 9px;
  flex-shrink: 0;
  background: rgba(108,92,255,0.16);
  border: 1px solid rgba(108,92,255,0.3);
  color: #a78bfa;
}
.gc-node-2 .gc-node-ico { background: rgba(74,144,255,0.14); border-color: rgba(74,144,255,0.3); color: #4A90FF; }
.gc-node-label { font-size: 0.66rem; color: var(--gray); margin-bottom: 0.05rem; }
.gc-node-val {
  font-family: var(--font-display);
  font-size: 0.86rem;
  font-weight: 700;
  color: var(--white);
  font-variant-numeric: tabular-nums;
}

/* legacy dashboard card */
.dashboard-card {
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  width: 100%;
  max-width: 420px;
  backdrop-filter: blur(20px);
  animation: float 5s ease-in-out infinite;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.06),
              0 1px 2px rgba(0,0,0,0.2);
}
.dash-header { display: flex; align-items: center; gap: 0.75rem; margin-bottom: 1.2rem; }
.dash-dots { display: flex; gap: 5px; }
.dash-dots span { width: 10px; height: 10px; border-radius: 50%; background: var(--border); }
.dash-dots span:first-child { background: #ff5f57; }
.dash-dots span:nth-child(2) { background: #febc2e; }
.dash-dots span:nth-child(3) { background: #28c840; }
.dash-title { font-size: 0.8rem; color: var(--gray); font-family: var(--font-display); }
.dash-metric { display: flex; align-items: baseline; gap: 1rem; margin-bottom: 1.2rem; }
.dash-big { font-family: var(--font-display); font-size: 2rem; font-weight: 800; color: var(--white); }
.dash-growth { font-size: 0.85rem; color: #34d399; font-weight: 600; background: rgba(52,211,153,0.1); padding: 0.2rem 0.6rem; border-radius: 50px; }
.dash-chart { margin-bottom: 1rem; height: 80px; }
.dash-chart svg { width: 100%; height: 100%; }
.dash-pills { display: flex; gap: 0.5rem; flex-wrap: wrap; }
.pill { font-size: 0.72rem; padding: 0.3rem 0.7rem; border-radius: 50px; font-family: var(--font-display); font-weight: 600; }
.pill.green { background: rgba(52,211,153,0.1); color: #34d399; border: 1px solid rgba(52,211,153,0.2); }
.pill.blue  { background: rgba(74,144,255,0.1); color: #4A90FF; border: 1px solid rgba(74,144,255,0.2); }
.pill.purple { background: rgba(108,92,255,0.1); color: #a78bfa; border: 1px solid rgba(108,92,255,0.2); }

.floating-card {
  position: absolute;
  background: rgba(13,17,23,0.9);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 0.75rem 1rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  backdrop-filter: blur(20px);
  box-shadow: 0 10px 30px rgba(0,0,0,0.3);
}
.fc-1 { bottom: -20px; left: -30px; animation: float 4s ease-in-out infinite 1s; }
.fc-2 { top: -20px; right: -30px; animation: float 4.5s ease-in-out infinite 0.5s; }
.fc-icon { font-size: 1.2rem; }
.fc-label { font-size: 0.72rem; color: var(--gray); margin-bottom: 0.1rem; }
.fc-val { font-family: var(--font-display); font-size: 0.9rem; font-weight: 700; color: var(--white); }

/* Hero KPIs */
.dash-kpis { display: flex; gap: 0; border-top: 1px solid var(--border); margin-top: 1rem; padding-top: 1rem; }
.dash-kpi { flex: 1; text-align: center; padding: 0 0.5rem; }
.dash-kpi:not(:last-child) { border-right: 1px solid var(--border); }
.kpi-label { display: block; font-size: 0.68rem; color: var(--gray); font-family: var(--font-display); text-transform: uppercase; letter-spacing: 0.05em; margin-bottom: 0.25rem; }
.kpi-val { display: block; font-family: var(--font-display); font-size: 0.95rem; font-weight: 700; color: var(--white); }

/* Typing animation */
.typing-wrap { display: inline; white-space: nowrap; }
#typing-word {
  background: var(--grad-text);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  font-weight: 600;
}
.typing-cursor {
  display: inline-block;
  color: var(--blue-purple);
  font-weight: 300;
  animation: blink-cursor 0.8s step-end infinite;
  margin-left: 2px;
  -webkit-text-fill-color: var(--blue-purple);
}

/* === 8. LOGOS BAND === */

.logos-band {
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 2rem 0;
  overflow: hidden;
}
.logos-label {
  text-align: center;
  font-size: 0.8rem;
  color: var(--gray-2);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 1.5rem;
  font-family: var(--font-display);
}
.logos-track {
  overflow: hidden;
  mask-image: linear-gradient(90deg, transparent 0%, black 10%, black 90%, transparent 100%);
}
.logos-inner {
  display: flex;
  gap: 3rem;
  width: max-content;
  animation: marquee 20s linear infinite;
}
.logos-inner span {
  font-family: var(--font-display);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--gray-2);
  white-space: nowrap;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}
.logo-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-family: var(--font-display);
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--gray-2);
  white-space: nowrap;
  letter-spacing: 0.03em;
  padding: 0.35rem 0.85rem;
  border: 1px solid var(--border);
  border-radius: 50px;
  background: var(--bg-card);
  transition: var(--transition);
}
.logo-chip.ml { color: var(--blue-purple); border-color: rgba(108,92,255,0.2); }

/* === 9. SECTIONS === */

.section { padding: 7rem 0; }
.section-dark { background: var(--bg-2); }

.section-header { text-align: center; margin-bottom: 4rem; }

.section-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(108,92,255,0.1);
  border: 1px solid rgba(108,92,255,0.2);
  color: #a78bfa;
  padding: 0.4rem 1rem;
  border-radius: 50px;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-family: var(--font-display);
  margin-bottom: 1.2rem;
  position: relative;
  overflow: hidden;
}
.section-badge::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent 0%, rgba(255,255,255,0.12) 50%, transparent 100%);
  transform: translateX(-100%);
  animation: badge-shimmer 5s ease-in-out infinite;
  animation-delay: 1.5s;
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3.5vw, 3rem);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.03em;
  margin-bottom: 1rem;
}
.section-sub {
  color: var(--gray);
  font-size: 1.05rem;
  max-width: 580px;
  margin: 0 auto;
  line-height: 1.7;
}

/* === 10. SERVICES === */

.services-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }

.service-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2rem;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}
.service-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: var(--grad);
  opacity: 0;
  transition: var(--transition);
}
.service-card:hover {
  border-color: var(--border-hover);
  background: var(--bg-card-hover);
  transform: translateY(-4px);
  box-shadow: 0 0 40px rgba(108,92,255,0.1);
}
.service-card:hover::before { opacity: 1; }

.card-featured {
  grid-column: span 1;
  background: linear-gradient(135deg, rgba(108,92,255,0.08) 0%, rgba(74,144,255,0.05) 100%);
  border-color: rgba(108,92,255,0.2);
}
.service-icon { width: 48px; height: 48px; margin-bottom: 1.2rem; }
.service-card h3 { font-family: var(--font-display); font-size: 1.1rem; font-weight: 700; margin-bottom: 0.75rem; color: var(--white); }
.service-card p { color: var(--gray); font-size: 0.9rem; line-height: 1.65; margin-bottom: 1.2rem; }
.service-tags { display: flex; gap: 0.5rem; flex-wrap: wrap; }
.service-tags span { font-size: 0.7rem; padding: 0.25rem 0.6rem; border-radius: 50px; border: 1px solid var(--border); color: var(--gray); font-family: var(--font-display); font-weight: 500; }

.service-wide {
  grid-column: span 3;
  display: flex;
  align-items: flex-start;
  gap: 2rem;
  background: linear-gradient(135deg, rgba(108,92,255,0.06) 0%, rgba(74,144,255,0.04) 100%);
  border-color: rgba(108,92,255,0.15);
}
.service-icon-wide { flex-shrink: 0; }
.service-wide-body { flex: 1; }
.service-wide-body h3 { font-family: var(--font-display); font-size: 1.2rem; font-weight: 700; color: var(--white); margin-bottom: 0.75rem; }
.service-wide-body p { color: var(--gray); font-size: 0.9rem; line-height: 1.7; margin-bottom: 1.2rem; max-width: 680px; }

/* Services page hero */
.services-hero { padding: 11rem 0 3rem; text-align: center; }
.back-link { display: inline-block; color: var(--gray); text-decoration: none; font-family: var(--font-display); font-size: 0.85rem; font-weight: 500; margin-bottom: 1.5rem; transition: color var(--transition); }
.back-link:hover { color: var(--white); }
.services-hero .section-badge { margin-bottom: 1.2rem; }
.services-hero-title { font-family: var(--font-display); font-size: clamp(2rem, 4.2vw, 3.4rem); font-weight: 800; line-height: 1.12; letter-spacing: -0.03em; margin-bottom: 1.2rem; }
.services-hero-sub { color: var(--gray); font-size: 1.08rem; line-height: 1.75; max-width: 640px; margin: 0 auto 1.75rem; text-wrap: pretty; }
.services-hero-meta { display: flex; justify-content: center; flex-wrap: wrap; gap: 1.5rem; color: var(--gray); font-size: 0.9rem; font-family: var(--font-display); font-weight: 500; }
.services-hero-meta span { display: inline-flex; align-items: center; gap: 0.35rem; }

.services-cta { margin-top: 3rem; display: flex; flex-direction: column; align-items: center; gap: 1.25rem; text-align: center; }
.services-cta-text { color: var(--gray); font-size: 1rem; max-width: 540px; line-height: 1.7; }
.services-cta-text strong { color: var(--white); font-weight: 600; }

.services-final-cta { text-align: center; max-width: 640px; margin: 0 auto; }
.services-final-ctas { display: flex; justify-content: center; flex-wrap: wrap; gap: 1rem; margin-top: 2rem; }

.section-plans { padding-top: 2rem; }
.plans-grid-detailed { margin-bottom: 0; }

/* === 11. PLANS & PRICING === */

.plans-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; margin-bottom: 2rem; align-items: stretch; }

.plan-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 22px;
  padding: 2rem;
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
  position: relative;
  overflow: hidden;
  transition: transform 0.45s cubic-bezier(0.32,0.72,0,1),
              border-color 0.3s ease, box-shadow 0.4s ease, background 0.3s ease;
  backdrop-filter: blur(18px) saturate(160%) !important;
  -webkit-backdrop-filter: blur(18px) saturate(160%) !important;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.07),
    inset 0 -1px 0 rgba(0, 0, 0, 0.1),
    0 4px 24px rgba(0, 0, 0, 0.28) !important;
}
.plan-card::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: var(--grad);
  opacity: 0;
  transition: opacity 0.4s ease;
}
.plan-card:hover::before { opacity: 1; }
.plan-popular::before { opacity: 0.9; }
.plan-card:hover {
  transform: translateY(-6px);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.10),
    0 24px 64px rgba(0, 0, 0, 0.45),
    0 0 50px rgba(108, 92, 255, 0.14),
    0 0 0 1px rgba(108, 92, 255, 0.18) !important;
  border-color: rgba(155, 92, 255, 0.35) !important;
}

.plan-popular {
  background: linear-gradient(160deg, rgba(108,92,255,0.12) 0%, rgba(74,144,255,0.07) 100%);
  border-color: rgba(108,92,255,0.35);
  box-shadow: 0 0 40px rgba(108,92,255,0.12);
}
.plan-popular-badge {
  position: absolute;
  top: 1.2rem; right: 1.2rem;
  background: var(--grad);
  color: white;
  font-size: 0.7rem;
  font-weight: 700;
  font-family: var(--font-display);
  padding: 0.3rem 0.7rem;
  border-radius: 50px;
  letter-spacing: 0.03em;
}
.plan-badge-tier {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  font-family: var(--font-display);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--blue-purple);
  border: 1px solid rgba(108,92,255,0.3);
  background: rgba(108,92,255,0.08);
  padding: 0.3rem 0.7rem;
  border-radius: 50px;
  width: fit-content;
}
.plan-icon { width: 44px; height: 44px; }
.plan-name { font-family: var(--font-display); font-size: 1.25rem; font-weight: 800; color: var(--white); letter-spacing: -0.02em; }
.plan-desc { color: var(--gray); font-size: 0.88rem; line-height: 1.7; }
.plan-features { list-style: none; display: flex; flex-direction: column; gap: 0.65rem; flex: 1; }
.plan-features li { font-size: 0.87rem; color: rgba(245,247,250,0.8); display: flex; align-items: flex-start; gap: 0.5rem; line-height: 1.4; }
.feat-check { color: var(--blue-purple); font-weight: 700; flex-shrink: 0; margin-top: 0.05em; }
.feat-x { color: var(--danger-txt); font-weight: 700; flex-shrink: 0; margin-top: 0.05em; }
/* Sin opacity: con 0.35 el texto de las features excluidas quedaba en ~1.3:1 de
   contraste, ilegible justo en la página que decide la venta. La diferencia la
   marca el ícono ✗, no un texto apagado. */
.feat-no { color: var(--muted); }
.plan-pricing { display: flex; flex-direction: column; gap: 0.75rem; padding-top: 1rem; border-top: 1px solid var(--border); margin-top: auto; }
.plan-price-label { font-size: 0.75rem; color: var(--gray); font-family: var(--font-display); font-weight: 500; text-align: center; }

.btn-plan {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  border-radius: 50px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.9rem;
  text-decoration: none;
  padding: 0.75rem 1.5rem;
  transition: transform 0.35s cubic-bezier(0.32,0.72,0,1),
              box-shadow 0.35s ease, background 0.3s ease,
              border-color 0.3s ease, color 0.3s ease;
  text-align: center;
}
.btn-plan:active { transform: translateY(0) scale(0.985); }
.btn-plan-primary { background: var(--grad); color: white; box-shadow: 0 0 25px rgba(108,92,255,0.3); }
.btn-plan-primary:hover { transform: translateY(-2px); box-shadow: 0 0 40px rgba(108,92,255,0.5); }
.btn-plan-ghost { color: var(--gray); border: 1px solid var(--border); }
.btn-plan-ghost:hover { color: var(--white); border-color: var(--blue-purple); background: rgba(108,92,255,0.08); }

/* Plans preview (home page) */
.plans-preview { margin-bottom: 0; }
.plan-preview-card { text-decoration: none; color: inherit; cursor: pointer; }
.plan-features-preview { flex: 0 0 auto; gap: 0.6rem; }
.plan-preview-more {
  margin-top: auto;
  padding-top: 1rem;
  border-top: 1px solid var(--border);
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.85rem;
  color: var(--blue-purple);
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  transition: gap 0.3s ease, color 0.3s ease;
}
.plan-preview-card:hover .plan-preview-more { gap: 0.7rem; color: #a78bfa; }

/* === 12. METRICS === */

.metrics-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; }

.metric-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2.5rem 2rem;
  text-align: center;
  position: relative;
  overflow: hidden;
  transition: transform 0.5s cubic-bezier(0.32,0.72,0,1),
              border-color 0.3s ease, box-shadow 0.4s ease;
  backdrop-filter: blur(18px) saturate(160%) !important;
  -webkit-backdrop-filter: blur(18px) saturate(160%) !important;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.07),
    inset 0 -1px 0 rgba(0, 0, 0, 0.1),
    0 4px 24px rgba(0, 0, 0, 0.28) !important;
}
.metric-card:hover {
  border-color: var(--border-hover);
  transform: translateY(-4px);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.10),
    0 24px 64px rgba(0, 0, 0, 0.45),
    0 0 50px rgba(108, 92, 255, 0.14),
    0 0 0 1px rgba(108, 92, 255, 0.18) !important;
  border-color: rgba(155, 92, 255, 0.35) !important;
}
.metric-card::after {
  content: '';
  position: absolute;
  top: -100%; left: -100%;
  width: 300%; height: 300%;
  background: conic-gradient(from 0deg at 50% 50%, transparent 0deg, rgba(108,92,255,0.04) 60deg, transparent 120deg);
  opacity: 0;
  transition: opacity 0.4s ease;
  animation: conic-spin 6s linear infinite;
  pointer-events: none;
}
.metric-card:hover::after { opacity: 1; }

.metric-glow {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at center, rgba(108,92,255,0.08) 0%, transparent 70%);
  pointer-events: none;
}
.metric-number {
  display: inline-block;
  font-family: var(--font-display);
  font-size: 4.5rem !important;
  font-weight: 900;
  background: var(--grad-text);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
  letter-spacing: -0.05em !important;
  text-shadow: 0 0 40px rgba(155, 92, 255, 0.18);
}
.metric-symbol { font-family: var(--font-display); font-size: 1.8rem; font-weight: 700; background: var(--grad-text); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
.metric-desc { color: var(--gray); font-size: 0.85rem; line-height: 1.5; margin-top: 0.75rem; }

/* === 13. PROCESS === */

.process-steps {
  display: flex;
  flex-direction: column;
  gap: 0;
  position: relative;
}
.process-steps::before {
  content: '';
  position: absolute;
  left: 25px;
  top: 20px;
  bottom: 20px;
  width: 1px;
  background: linear-gradient(180deg, transparent 0%, rgba(108,92,255,0.5) 15%, rgba(74,144,255,0.5) 85%, transparent 100%);
  animation: line-draw 2s ease-out forwards;
}

.process-step {
  display: grid;
  grid-template-columns: 80px 1fr;
  gap: 2rem;
  align-items: start;
  padding: 2.5rem 0;
  border-bottom: 1px solid var(--border);
  position: relative;
  transition: var(--transition);
}
.process-step:last-child { border-bottom: none; }

.step-num {
  width: 52px !important;
  height: 52px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  background: rgba(13, 17, 23, 1) !important;
  border: 1px solid rgba(108, 92, 255, 0.25) !important;
  border-radius: 50% !important;
  font-size: 0.85rem !important;
  font-weight: 700 !important;
  letter-spacing: 0.04em !important;
  color: rgba(108, 92, 255, 0.55) !important;
  -webkit-text-fill-color: rgba(108, 92, 255, 0.55) !important;
  background-clip: unset !important;
  font-family: var(--font-display);
  line-height: 1;
  transition: all 0.35s ease !important;
  position: relative;
  z-index: 1;
  flex-shrink: 0 !important;
}
.process-step:hover .step-num {
  background: rgba(108, 92, 255, 0.15) !important;
  border-color: rgba(108, 92, 255, 0.6) !important;
  color: #c084fc !important;
  -webkit-text-fill-color: #c084fc !important;
  box-shadow: 0 0 24px rgba(108, 92, 255, 0.35), 0 0 0 4px rgba(108,92,255,0.08) !important;
}

.step-content h3 { font-family: var(--font-display); font-size: 1.25rem; font-weight: 700; color: var(--white); margin-bottom: 0.75rem; }
.step-content p { color: var(--gray); font-size: 0.95rem; line-height: 1.7; max-width: 600px; }

/* === 14. CASES === */

.cases-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 2rem; }

.case-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2rem;
  transition: transform 0.5s cubic-bezier(0.32,0.72,0,1),
              border-color 0.3s ease, box-shadow 0.4s ease;
  backdrop-filter: blur(18px) saturate(160%) !important;
  -webkit-backdrop-filter: blur(18px) saturate(160%) !important;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.07),
    inset 0 -1px 0 rgba(0, 0, 0, 0.1),
    0 4px 24px rgba(0, 0, 0, 0.28) !important;
}
.case-card:hover {
  transform: translateY(-5px);
  border-color: rgba(155, 92, 255, 0.35) !important;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.08),
    0 22px 55px rgba(0,0,0,0.42), 0 0 44px rgba(108,92,255,0.12) !important;
}
.case-card-featured {
  background: linear-gradient(135deg, rgba(108, 92, 255, 0.09) 0%, rgba(74, 144, 255, 0.05) 100%) !important;
  border-color: rgba(108, 92, 255, 0.25) !important;
}
.case-quote {
  margin-top: 1rem;
  padding: 0.9rem 1.1rem;
  background: rgba(255,255,255,0.03);
  border-left: 3px solid var(--blue-purple);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  font-size: 0.85rem;
  color: var(--gray);
  font-style: italic;
  line-height: 1.5;
}
.case-tag { font-size: 0.72rem; font-family: var(--font-display); font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--blue-purple); margin-bottom: 0.75rem; }
.case-brand { font-family: var(--font-display); font-size: 1.3rem; font-weight: 800; color: var(--white); margin-bottom: 0.75rem; }
.case-desc { color: var(--gray); font-size: 0.9rem; line-height: 1.6; margin-bottom: 1.5rem; }
.case-metrics { display: flex; gap: 1.5rem; margin-bottom: 1.5rem; }
.case-metric { display: flex; flex-direction: column; gap: 0.2rem; }
.case-num { font-family: var(--font-display); font-size: 1.5rem; font-weight: 800; background: var(--grad-text); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
.case-label { font-size: 0.75rem; color: var(--gray); }
.case-bar { height: 3px !important; background: var(--border); border-radius: 2px; overflow: hidden; }
.case-fill {
  height: 100%;
  background: linear-gradient(90deg, #9B5CFF, #4A90FF) !important;
  border-radius: 2px;
  transition: width 1s ease 0.3s;
  box-shadow: 0 0 8px rgba(155, 92, 255, 0.4) !important;
}

/* === 15. WHY EVOLUX === */

.why-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 5rem; align-items: center; }
.why-text { display: flex; flex-direction: column; gap: 1.5rem; }
.why-list { display: flex; flex-direction: column; gap: 1.5rem; list-style: none; }
.why-list li { display: flex; gap: 1rem; align-items: flex-start; }
.why-check { width: 28px; height: 28px; background: rgba(108,92,255,0.15); border: 1px solid rgba(108,92,255,0.3); border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 0.7rem; color: var(--blue-purple); font-weight: 700; flex-shrink: 0; margin-top: 2px; }
.why-list li strong { display: block; font-family: var(--font-display); font-size: 0.95rem; font-weight: 700; color: var(--white); margin-bottom: 0.25rem; }
.why-list li p { color: var(--gray); font-size: 0.88rem; line-height: 1.6; }

.why-visual { position: relative; }
.why-card {
  background: rgba(255,255,255,0.03);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2rem;
  backdrop-filter: blur(18px) saturate(160%) !important;
  -webkit-backdrop-filter: blur(18px) saturate(160%) !important;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.07),
    inset 0 -1px 0 rgba(0, 0, 0, 0.1),
    0 4px 24px rgba(0, 0, 0, 0.28) !important;
  transition: transform 0.5s cubic-bezier(0.32,0.72,0,1),
              border-color 0.3s ease, box-shadow 0.4s ease;
}
.why-card-header { font-family: var(--font-display); font-size: 0.85rem; font-weight: 600; color: var(--gray); margin-bottom: 1.5rem; text-transform: uppercase; letter-spacing: 0.05em; }
.why-bars { display: flex; flex-direction: column; gap: 1.2rem; }
.why-bar-row { display: grid; grid-template-columns: 90px 1fr 40px; align-items: center; gap: 1rem; }
.why-bar-row > span:first-child { font-size: 0.82rem; color: var(--gray); font-family: var(--font-display); }
.bar-track { height: 6px; background: var(--border); border-radius: 3px; overflow: hidden; }
.bar-fill { height: 100%; background: var(--grad); border-radius: 3px; transition: width 1.5s cubic-bezier(0.4, 0, 0.2, 1); }
.bar-pct { font-family: var(--font-display); font-size: 0.78rem; font-weight: 700; color: var(--blue-purple); text-align: right; }
.why-footer { margin-top: 1.5rem; padding-top: 1.2rem; border-top: 1px solid var(--border); }
.why-badge { display: inline-block; background: rgba(52,211,153,0.1); border: 1px solid rgba(52,211,153,0.2); color: #34d399; padding: 0.4rem 0.9rem; border-radius: 50px; font-size: 0.8rem; font-family: var(--font-display); font-weight: 600; }

/* === 16. TEAM === */

.team-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; }

.team-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: transform 0.5s cubic-bezier(0.32,0.72,0,1),
              border-color 0.3s ease, box-shadow 0.4s ease;
  display: flex;
  flex-direction: column;
  backdrop-filter: blur(18px) saturate(160%) !important;
  -webkit-backdrop-filter: blur(18px) saturate(160%) !important;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.07),
    inset 0 -1px 0 rgba(0, 0, 0, 0.1),
    0 4px 24px rgba(0, 0, 0, 0.28) !important;
}
.team-card:hover {
  transform: translateY(-5px);
  border-color: rgba(155, 92, 255, 0.35) !important;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.08),
    0 22px 55px rgba(0,0,0,0.42), 0 0 44px rgba(108,92,255,0.12) !important;
}
.team-photo-wrap { position: relative; width: 100%; aspect-ratio: 1 / 1; overflow: hidden; }
.team-photo { width: 100%; height: 100%; object-fit: cover; object-position: center top; display: block; transition: transform 0.5s ease; }
.team-card:hover .team-photo { transform: scale(1.04); }
.team-photo-placeholder { filter: hue-rotate(30deg) saturate(0.8); opacity: 0.85; }
.team-photo-glow { position: absolute; bottom: 0; left: 0; right: 0; height: 50%; background: linear-gradient(to top, var(--bg) 0%, transparent 100%); pointer-events: none; }
.team-info { padding: 1.5rem; display: flex; flex-direction: column; gap: 0.6rem; flex: 1; }
.team-name { font-family: var(--font-display); font-size: 1.3rem; font-weight: 800; color: var(--white); letter-spacing: -0.02em; }
.team-role { font-size: 0.8rem; font-family: var(--font-display); font-weight: 600; color: var(--blue-purple); text-transform: uppercase; letter-spacing: 0.06em; }
.team-bio { color: var(--gray); font-size: 0.87rem; line-height: 1.65; }
.team-tags { display: flex; gap: 0.5rem; flex-wrap: wrap; margin-top: 0.4rem; }
.team-tags span { font-size: 0.7rem; padding: 0.25rem 0.6rem; border-radius: 50px; border: 1px solid var(--border); color: var(--gray); font-family: var(--font-display); font-weight: 500; }
.team-avatar-wrap { aspect-ratio: 1 / 1; display: flex; align-items: center; justify-content: center; background: linear-gradient(135deg, rgba(108,92,255,0.08), rgba(74,144,255,0.05)); }
.team-avatar { width: 100px; height: 100px; border-radius: 50%; background: linear-gradient(135deg, var(--av-color-a), var(--av-color-b)); display: flex; align-items: center; justify-content: center; font-family: var(--font-display); font-size: 2.5rem; font-weight: 800; color: white; box-shadow: 0 0 40px rgba(108,92,255,0.3); }

/* === 17. TESTIMONIALS === */

.testimonials-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; align-items: stretch; }

.testimonial-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2rem;
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
  transition: transform 0.5s cubic-bezier(0.32,0.72,0,1),
              border-color 0.3s ease, box-shadow 0.4s ease;
  position: relative;
  overflow: hidden;
  backdrop-filter: blur(18px) saturate(160%) !important;
  -webkit-backdrop-filter: blur(18px) saturate(160%) !important;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.07),
    inset 0 -1px 0 rgba(0, 0, 0, 0.1),
    0 4px 24px rgba(0, 0, 0, 0.28) !important;
}
.testimonial-card:hover {
  transform: translateY(-5px);
  border-color: rgba(155, 92, 255, 0.35) !important;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.08),
    0 22px 55px rgba(0,0,0,0.42), 0 0 44px rgba(108,92,255,0.12) !important;
}
.testimonial-featured { background: linear-gradient(135deg, rgba(108,92,255,0.1) 0%, rgba(74,144,255,0.06) 100%); border-color: rgba(108,92,255,0.25); }
.testimonial-quote { font-family: Georgia, serif; font-size: 4rem; line-height: 0.7; color: var(--blue-purple); opacity: 0.4; position: absolute; top: 1.2rem; right: 1.5rem; }
.testimonial-stars { color: #f59e0b; font-size: 0.9rem; letter-spacing: 2px; }
.testimonial-text { color: var(--gray); font-size: 0.92rem; line-height: 1.75; flex: 1; font-style: italic; }
.testimonial-featured .testimonial-text { color: rgba(245,247,250,0.85); }
.testimonial-author { display: flex; align-items: center; gap: 1rem; padding-top: 1rem; border-top: 1px solid var(--border); }
.author-avatar { width: 42px; height: 42px; border-radius: 50%; background: var(--grad); display: flex; align-items: center; justify-content: center; font-family: var(--font-display); font-size: 0.75rem; font-weight: 700; color: white; flex-shrink: 0; }
.author-name { font-family: var(--font-display); font-size: 0.9rem; font-weight: 700; color: var(--white); margin-bottom: 0.15rem; }
.author-role { font-size: 0.78rem; color: var(--gray); }

/* === 18. CTA === */

.cta-section { padding: 8rem 0; text-align: center; position: relative; overflow: hidden; }
.cta-glow-1 { position: absolute; width: 600px; height: 600px; background: radial-gradient(ellipse, rgba(108,92,255,0.15) 0%, transparent 70%); top: 50%; left: 50%; transform: translate(-50%, -50%); pointer-events: none; }
.cta-glow-2 { position: absolute; width: 400px; height: 400px; background: radial-gradient(ellipse, rgba(74,144,255,0.1) 0%, transparent 70%); top: 30%; right: 10%; pointer-events: none; }
.cta-content { position: relative; z-index: 1; display: flex; flex-direction: column; align-items: center; gap: 1.5rem; }
.cta-title { font-family: var(--font-display); font-size: clamp(2rem, 4vw, 3.5rem); font-weight: 900; line-height: 1.1; letter-spacing: -0.03em; }
.cta-sub { color: var(--gray); font-size: 1.05rem; max-width: 540px; line-height: 1.7; }
.cta-actions { display: flex; gap: 1rem; align-items: center; flex-wrap: wrap; justify-content: center; }
.cta-trust { display: flex; gap: 2rem; font-size: 0.82rem; color: var(--gray); font-family: var(--font-display); font-weight: 500; }

/* === 19. FAQ === */

.faq-list { display: flex; flex-direction: column; gap: 0.75rem; max-width: 800px; margin: 0 auto; }

.faq-item {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: border-color var(--transition);
  backdrop-filter: blur(18px) saturate(160%) !important;
  -webkit-backdrop-filter: blur(18px) saturate(160%) !important;
}
.faq-item.open { border-color: rgba(108,92,255,0.3); }

.faq-question {
  width: 100%;
  background: none;
  border: none;
  color: var(--white);
  font-family: var(--font-display);
  font-size: 0.97rem;
  font-weight: 600;
  padding: 1.25rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  cursor: pointer;
  text-align: left;
  transition: var(--transition);
}
.faq-question:hover { color: #a78bfa; }
.faq-icon { flex-shrink: 0; color: var(--blue-purple); transition: transform 0.3s ease; }
.faq-item.open .faq-icon { transform: rotate(180deg); }
/* Grid en vez de max-height: la altura fija recortaba las respuestas largas
   sin scroll ni aviso, y el contenido colapsado seguía leyéndose en lectores
   de pantalla aunque el botón dijera aria-expanded="false". */
.faq-answer { display: grid; grid-template-rows: 0fr; overflow: hidden; transition: grid-template-rows 0.35s cubic-bezier(0.4, 0, 0.2, 1); }
.faq-answer > * { min-height: 0; }
.faq-item.open .faq-answer { grid-template-rows: 1fr; }
.faq-answer[hidden] { display: none; }
.faq-answer p { padding: 0 1.5rem 1.25rem; color: var(--gray); font-size: 0.9rem; line-height: 1.75; border-top: 1px solid var(--border); padding-top: 1rem; margin-top: 0; }

/* === 20. CONTACT & FORM === */

.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 5rem; align-items: start; position: relative; z-index: 1; }
.contact-info { display: flex; flex-direction: column; gap: 1.5rem; }
.contact-details { display: flex; flex-direction: column; gap: 0.75rem; margin-top: 0.5rem; }
.contact-detail-item { display: flex; align-items: center; gap: 1rem; padding: 0.9rem 1.2rem; background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius-sm); text-decoration: none; transition: var(--transition); }
.contact-detail-item:hover { border-color: var(--border-hover); background: var(--bg-card-hover); }
.cd-icon { width: 38px; height: 38px; border-radius: 8px; background: rgba(108,92,255,0.12); border: 1px solid rgba(108,92,255,0.2); display: flex; align-items: center; justify-content: center; font-size: 0.9rem; color: var(--blue-purple); flex-shrink: 0; }
.cd-wa { background: rgba(37,211,102,0.1) !important; border-color: rgba(37,211,102,0.2) !important; color: #25D366 !important; }
.cd-ig { background: rgba(225,48,108,0.1) !important; border-color: rgba(225,48,108,0.2) !important; }
.cd-label { font-size: 0.72rem; color: var(--gray); font-family: var(--font-display); text-transform: uppercase; letter-spacing: 0.05em; }
.cd-val { font-size: 0.9rem; color: var(--white); font-weight: 600; font-family: var(--font-display); }

.contact-form-wrap {
  background: rgba(255,255,255,0.03);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  backdrop-filter: blur(18px) saturate(160%) !important;
  -webkit-backdrop-filter: blur(18px) saturate(160%) !important;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.07),
    inset 0 -1px 0 rgba(0, 0, 0, 0.1),
    0 4px 24px rgba(0, 0, 0, 0.28) !important;
}
.contact-form { display: flex; flex-direction: column; gap: 1.2rem; position: relative; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.2rem; }
.form-group { display: flex; flex-direction: column; gap: 0.4rem; }
.form-group label { font-size: 0.8rem; font-weight: 600; color: var(--gray); font-family: var(--font-display); text-transform: uppercase; letter-spacing: 0.05em; }
.form-group input,
.form-group select,
.form-group textarea {
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  color: var(--white);
  font-family: var(--font-body);
  font-size: 0.92rem;
  padding: 0.8rem 1rem;
  outline: none;
  transition: var(--transition);
  width: 100%;
  -webkit-appearance: none;
}
.form-group input::placeholder,
.form-group textarea::placeholder { color: var(--gray-2); }
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: rgba(155, 92, 255, 0.7) !important;
  background: rgba(108, 92, 255, 0.05) !important;
  box-shadow:
    0 0 0 3px rgba(108, 92, 255, 0.14),
    0 0 20px rgba(108, 92, 255, 0.08) !important;
  outline: none !important;
}
.form-group select option { background: #0D1117; color: var(--white); }
.form-group textarea { resize: vertical; min-height: 110px; }
.form-submit { width: 100%; justify-content: center; border: none; cursor: pointer; font-size: 1rem; padding: 1rem; margin-top: 0.5rem; }
.form-submit:disabled { opacity: 0.6; cursor: not-allowed; }
.form-submit:active { transform: translateY(0) scale(0.985); }
.form-success { text-align: center; padding: 2rem; display: flex; flex-direction: column; align-items: center; gap: 0.75rem; }
.success-icon { width: 56px; height: 56px; border-radius: 50%; background: rgba(52,211,153,0.15); border: 2px solid rgba(52,211,153,0.4); display: flex; align-items: center; justify-content: center; font-size: 1.4rem; color: #34d399; }
.form-success h4 { font-family: var(--font-display); font-size: 1.2rem; font-weight: 700; color: var(--white); }
.form-success p { color: var(--gray); font-size: 0.9rem; line-height: 1.6; }

/* === 21. COURSE === */

.course-card {
  background: linear-gradient(135deg, rgba(108,92,255,0.07) 0%, rgba(74,144,255,0.04) 100%);
  border: 1px solid rgba(108,92,255,0.2);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 3rem;
  align-items: center;
  margin-bottom: 1.5rem;
}
.course-badge { display: inline-block; font-size: 0.72rem; font-weight: 700; font-family: var(--font-display); letter-spacing: 0.08em; text-transform: uppercase; color: #f59e0b; border: 1px solid rgba(245,158,11,0.3); background: rgba(245,158,11,0.08); padding: 0.3rem 0.8rem; border-radius: 50px; margin-bottom: 1rem; width: fit-content; }
.course-title { font-family: var(--font-display); font-size: 1.5rem; font-weight: 800; color: var(--white); margin-bottom: 0.75rem; letter-spacing: -0.02em; }
.course-desc { color: var(--gray); font-size: 0.9rem; line-height: 1.7; margin-bottom: 1.5rem; max-width: 560px; }
.course-features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0.6rem; }
.course-features span { font-size: 0.82rem; color: rgba(245,247,250,0.75); display: flex; align-items: center; gap: 0.4rem; }
.course-right { flex-shrink: 0; }
.course-cta-box { background: rgba(255,255,255,0.04); border: 1px solid var(--border); border-radius: var(--radius); padding: 2rem 2.5rem; text-align: center; display: flex; flex-direction: column; align-items: center; gap: 0.75rem; min-width: 220px; box-shadow: inset 0 1px 0 rgba(255,255,255,0.06), 0 1px 2px rgba(0,0,0,0.2); }
.course-icon { font-size: 2.5rem; }
.course-price-tag { font-family: var(--font-display); font-size: 1rem; font-weight: 800; color: var(--white); }
.course-price-sub { font-size: 0.78rem; color: var(--gray); font-family: var(--font-display); }
.course-cta-box .btn-primary, .course-cta-box .course-access-link { width: 100%; justify-content: center; }
.course-access-link { margin-top: -0.1rem; }

.coming-soon-bar {
  display: flex;
  align-items: center;
  gap: 1.2rem;
  background: rgba(255,255,255,0.02);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.2rem 2rem;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.06), 0 1px 2px rgba(0,0,0,0.2);
}
.cs-badge { display: inline-block; flex-shrink: 0; background: linear-gradient(135deg, rgba(245,158,11,0.15), rgba(239,68,68,0.1)); border: 1px solid rgba(245,158,11,0.3); color: #f59e0b; font-size: 0.7rem; font-weight: 700; font-family: var(--font-display); letter-spacing: 0.1em; text-transform: uppercase; padding: 0.3rem 0.8rem; border-radius: 50px; }
.coming-soon-bar p { font-size: 0.88rem; color: var(--gray); line-height: 1.5; }
.coming-soon-bar strong { color: var(--white); font-weight: 600; }

/* Campus / course page */
body.campus { min-height: 100vh; background: radial-gradient(120% 70% at 50% -10%, rgba(108,92,255,0.10), transparent 55%), var(--bg); }
.campus-nav { position: sticky; top: 0; z-index: 100; display: flex; align-items: center; gap: 1.25rem; padding: 0.9rem 1.6rem; background: rgba(13,17,23,0.85); backdrop-filter: blur(20px); border-bottom: 1px solid var(--border); }
.campus-nav .logo-img { height: 30px; width: auto; display: block; }
.campus-nav-title { font-family: var(--font-display); font-weight: 600; font-size: 0.95rem; color: var(--white); letter-spacing: -0.01em; }
.campus-back { margin-left: auto; color: var(--gray); text-decoration: none; font-family: var(--font-display); font-size: 0.85rem; font-weight: 500; padding: 0.5rem 1rem; border: 1px solid var(--border); border-radius: 50px; transition: var(--transition); }
.campus-back:hover { color: var(--white); border-color: var(--blue-purple); background: rgba(108,92,255,0.08); }
.campus-layout { display: grid; grid-template-columns: minmax(0,1fr) 360px; gap: 2rem; max-width: 1280px; margin: 0 auto; padding: 2rem 1.6rem 4rem; align-items: start; }
.lesson-player { position: relative; width: 100%; aspect-ratio: 16 / 9; border-radius: var(--radius-lg); overflow: hidden; background: #05070c; border: 1px solid var(--border); box-shadow: 0 0 60px rgba(108,92,255,0.12), 0 24px 60px rgba(0,0,0,0.45); }
.lesson-player iframe { width: 100%; height: 100%; border: 0; display: block; }
.player-soon { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 1rem; text-align: center; color: var(--gray); background: radial-gradient(60% 60% at 50% 40%, rgba(108,92,255,0.15), transparent 70%); }
.player-soon p { font-size: 0.95rem; line-height: 1.6; }
.player-soon-badge { font-family: var(--font-display); font-size: 0.72rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: #a78bfa; background: rgba(108,92,255,0.12); border: 1px solid rgba(108,92,255,0.3); padding: 0.4rem 1rem; border-radius: 50px; }
.lesson-head { margin-top: 1.6rem; }
.lesson-eyebrow { font-family: var(--font-display); font-size: 0.74rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: #a78bfa; }
.lesson-title { font-family: var(--font-display); font-size: clamp(1.4rem, 2.6vw, 2rem); font-weight: 800; letter-spacing: -0.02em; line-height: 1.2; margin: 0.35rem 0 0.5rem; color: var(--white); }
.lesson-meta { font-size: 0.85rem; color: var(--gray); font-family: var(--font-display); }
.lesson-desc { margin-top: 1rem; color: var(--gray); font-size: 1rem; line-height: 1.75; max-width: 70ch; }
.lesson-materials { margin-top: 2.2rem; padding-top: 1.6rem; border-top: 1px solid var(--border); }
.materials-title { font-family: var(--font-display); font-size: 1.05rem; font-weight: 700; color: var(--white); margin-bottom: 1rem; }
.materials-list { display: flex; flex-direction: column; gap: 0.6rem; }
.material-item { display: flex; align-items: center; gap: 0.9rem; padding: 0.85rem 1rem; background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius); text-decoration: none; transition: var(--transition); }
.material-item:hover { border-color: var(--border-hover); background: var(--bg-card-hover); transform: translateX(3px); }
.material-ico { width: 40px; height: 40px; flex-shrink: 0; display: grid; place-items: center; font-size: 1.2rem; border-radius: 10px; background: rgba(108,92,255,0.1); border: 1px solid rgba(108,92,255,0.2); }
.material-info { display: flex; flex-direction: column; gap: 0.15rem; flex: 1; min-width: 0; }
.material-name { font-family: var(--font-display); font-weight: 600; font-size: 0.92rem; color: var(--white); }
.material-type { font-size: 0.7rem; color: var(--gray); letter-spacing: 0.06em; }
.material-action { flex-shrink: 0; font-family: var(--font-display); font-weight: 600; font-size: 0.82rem; color: var(--blue-purple); }
.materials-empty { padding: 1.2rem; border: 1px dashed var(--border); border-radius: var(--radius); color: var(--gray); font-size: 0.9rem; text-align: center; }
.lesson-actions { display: flex; align-items: center; gap: 0.8rem; margin-top: 2rem; flex-wrap: wrap; }
.lesson-nav-btn { font-family: var(--font-display); font-weight: 600; font-size: 0.85rem; color: var(--gray); background: none; border: 1px solid var(--border); padding: 0.7rem 1.2rem; border-radius: 50px; cursor: pointer; transition: var(--transition); }
.lesson-nav-btn:hover:not(:disabled) { color: var(--white); border-color: var(--blue-purple); background: rgba(108,92,255,0.08); }
.lesson-nav-btn:disabled { opacity: 0.4; cursor: not-allowed; }
.lesson-complete { margin-left: auto; font-family: var(--font-display); font-weight: 600; font-size: 0.88rem; color: #fff; background: var(--grad); border: none; padding: 0.75rem 1.6rem; border-radius: 50px; cursor: pointer; box-shadow: 0 0 25px rgba(108,92,255,0.3); transition: var(--transition); }
.lesson-complete:hover { transform: translateY(-2px); box-shadow: 0 0 40px rgba(108,92,255,0.5); }
.lesson-complete.is-done { background: rgba(52,211,153,0.12); color: #34d399; border: 1px solid rgba(52,211,153,0.35); box-shadow: none; }
.campus-side { position: sticky; top: 84px; background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 1.4rem; box-shadow: inset 0 1px 0 rgba(255,255,255,0.06); }
.course-progress { margin-bottom: 1.2rem; }
.cp-head { display: flex; justify-content: space-between; align-items: baseline; font-family: var(--font-display); margin-bottom: 0.55rem; }
.cp-head span:first-child { font-weight: 600; font-size: 0.9rem; color: var(--white); }
.cp-head span:last-child { font-weight: 800; font-size: 1.05rem; color: #a78bfa; font-variant-numeric: tabular-nums; }
.cp-bar { height: 8px; background: rgba(255,255,255,0.07); border-radius: 50px; overflow: hidden; }
.cp-bar i { display: block; height: 100%; width: 0; border-radius: 50px; background: var(--grad); transition: width 0.6s cubic-bezier(0.32,0.72,0,1); }
.cp-count { margin-top: 0.5rem; font-size: 0.78rem; color: var(--gray); }
.lesson-list-label { font-family: var(--font-display); font-size: 0.72rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--gray); padding: 1rem 0 0.75rem; border-top: 1px solid var(--border); }
.lesson-list { list-style: none; display: flex; flex-direction: column; gap: 0.35rem; max-height: 60vh; overflow-y: auto; }
.lesson-item { display: flex; align-items: center; gap: 0.8rem; padding: 0.7rem 0.75rem; border-radius: var(--radius-sm); cursor: pointer; border: 1px solid transparent; transition: var(--transition); }
.lesson-item:hover { background: var(--bg-card-hover); }
.lesson-item.active { background: rgba(108,92,255,0.1); border-color: rgba(108,92,255,0.3); }
.lesson-num { width: 26px; height: 26px; flex-shrink: 0; display: grid; place-items: center; border-radius: 50%; font-family: var(--font-display); font-weight: 700; font-size: 0.78rem; color: var(--gray); background: rgba(255,255,255,0.05); border: 1px solid var(--border); }
.lesson-item.active .lesson-num { color: #fff; background: var(--grad); border-color: transparent; }
.lesson-item.done .lesson-num { color: #34d399; background: rgba(52,211,153,0.12); border-color: rgba(52,211,153,0.35); }
.lesson-item-body { display: flex; flex-direction: column; gap: 0.15rem; min-width: 0; }
.lesson-item-title { font-family: var(--font-display); font-size: 0.86rem; font-weight: 500; color: rgba(245,247,250,0.9); line-height: 1.3; }
.lesson-item.active .lesson-item-title { color: #fff; font-weight: 600; }
.lesson-item-dur { font-size: 0.72rem; color: var(--gray); }

/* === 22. FOOTER === */

.footer {
  background: var(--bg-2);
  border-top: 1px solid var(--border);
  padding: 4rem 0 2rem;
  position: relative;
}
.footer::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent 0%, rgba(108,92,255,0.45) 30%, rgba(74,144,255,0.45) 70%, transparent 100%);
}
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 3rem; margin-bottom: 3rem; }
.footer-brand { display: flex; flex-direction: column; gap: 1rem; }
.footer-tagline { color: var(--gray); font-size: 0.9rem; line-height: 1.6; }
.footer-copy { font-size: 0.8rem; color: var(--gray-2); margin-top: auto; }
.footer-links { display: flex; flex-direction: column; gap: 0.75rem; }
.footer-links h4 { font-family: var(--font-display); font-size: 0.8rem; font-weight: 700; color: var(--white); text-transform: uppercase; letter-spacing: 0.08em; margin-bottom: 0.5rem; }
.footer-links a { color: var(--gray); text-decoration: none; font-size: 0.88rem; transition: var(--transition); }
.footer-links a:hover { color: var(--white); }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; padding-top: 2rem; border-top: 1px solid var(--border); font-size: 0.78rem; color: var(--gray-2); font-family: var(--font-display); }
.footer-logo-link { display: inline-block; text-decoration: none; }
.footer-logo-img { height: 48px; width: auto; object-fit: contain; }

/* === 23. FLOATING ELEMENTS === */

.float-wa {
  position: fixed;
  bottom: 5rem;
  right: 1.5rem;
  width: 54px;
  height: 54px;
  background: #25D366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 500;
  color: white;
  box-shadow:
    0 8px 32px rgba(37, 211, 102, 0.35),
    0 0 0 1px rgba(37, 211, 102, 0.2),
    inset 0 1px 0 rgba(255,255,255,0.15) !important;
  transition: transform 0.35s cubic-bezier(0.23,1,0.32,1),
              box-shadow 0.35s ease !important;
}
.float-wa:hover {
  transform: scale(1.12) !important;
  box-shadow:
    0 14px 44px rgba(37, 211, 102, 0.55),
    0 0 0 2px rgba(37, 211, 102, 0.35) !important;
}

.btn-whatsapp { color: #25D366 !important; border-color: rgba(37,211,102,0.3) !important; }
.btn-whatsapp:hover { background: rgba(37,211,102,0.08) !important; border-color: #25D366 !important; }

.back-to-top {
  position: fixed;
  bottom: 1.5rem;
  right: 1.5rem;
  width: 42px;
  height: 42px;
  background: rgba(255,255,255,0.04) !important;
  border: 1px solid rgba(108,92,255,0.25) !important;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 500;
  color: var(--gray);
  opacity: 0;
  transform: translateY(10px);
  backdrop-filter: blur(16px) !important;
  transition: opacity 0.3s ease, transform 0.3s ease,
              background 0.25s ease, border-color 0.25s ease,
              box-shadow 0.25s ease !important;
}
.back-to-top.visible { opacity: 1; transform: translateY(0); }
.back-to-top:hover {
  background: rgba(108,92,255,0.15) !important;
  border-color: rgba(108,92,255,0.55) !important;
  box-shadow: 0 0 24px rgba(108,92,255,0.3) !important;
  color: var(--white);
}

.scroll-progress-bar {
  position: fixed;
  top: 0;
  left: 0;
  height: 2px !important;
  width: 0%;
  background: var(--grad);
  z-index: 9999;
  transition: width 0.1s linear;
  box-shadow: 0 0 14px rgba(155, 92, 255, 0.9),
              0 0 5px rgba(74, 144, 255, 0.7) !important;
}

/* === 24. PREMIUM EFFECTS === */

/* Spotlight cursor-tracked border */
.spotlight::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 1px;
  background: radial-gradient(
    220px circle at var(--mx, 50%) var(--my, 50%),
    rgba(155, 92, 255, 0.65),
    rgba(74, 144, 255, 0.22) 40%,
    transparent 65%
  );
  -webkit-mask: linear-gradient(#000 0 0) content-box,
                linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
          mask-composite: exclude;
  opacity: 0;
  transition: opacity 0.35s ease;
  pointer-events: none;
  z-index: 1;
}
.spotlight:hover::after { opacity: 1; }

/* Stagger reveal */
.stagger-child {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.65s ease, transform 0.65s cubic-bezier(0.16,1,0.3,1);
}
.stagger-child.stagger-in {
  opacity: 1;
  transform: translateY(0);
}

/* Text line reveal */
.reveal-line { overflow: hidden; display: block; }
.reveal-line-inner {
  display: block;
  transform: translateY(105%);
  opacity: 0;
  transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1),
              opacity 0.6s ease;
}
.reveal-line-inner.in-view { transform: translateY(0); opacity: 1; }

/* Section clip-path entrance */
.section-clip-enter { clip-path: inset(0 0 100% 0); transition: clip-path 0.8s cubic-bezier(0.16, 1, 0.3, 1); }
.section-clip-enter.clip-in { clip-path: inset(0 0 0% 0); }

/* Compare table */
.compare-wrap { margin: 2rem 0; }
.compare-toggle {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  background: none;
  border: 1px solid var(--border);
  color: var(--gray);
  font-family: var(--font-display);
  font-size: 0.88rem;
  font-weight: 600;
  padding: 0.75rem 1.5rem;
  border-radius: 50px;
  cursor: pointer;
  transition: var(--transition);
  margin: 0 auto;
}
.compare-toggle:hover { border-color: var(--blue-purple); color: var(--white); background: rgba(108,92,255,0.08); }
.compare-toggle:active { transform: translateY(0) scale(0.985); }
.compare-arrow { transition: transform 0.3s ease; }
.compare-toggle.open .compare-arrow { transform: rotate(180deg); }
.compare-table-wrap { overflow: hidden; max-height: 0; transition: max-height 0.5s cubic-bezier(0.4, 0, 0.2, 1); margin-top: 1.5rem; overflow-x: auto; }
.compare-table-wrap.open { max-height: 800px; }

.compare-static {
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: linear-gradient(160deg, rgba(255,255,255,0.025), rgba(255,255,255,0.01));
  padding: 0.5rem;
  overflow-x: auto;
  box-shadow: 0 24px 70px rgba(0,0,0,0.35),
              inset 0 1px 0 rgba(255,255,255,0.06), 0 1px 2px rgba(0,0,0,0.2);
}
.compare-static .compare-table { width: 100%; border-collapse: collapse; font-size: 0.9rem; min-width: 640px; }
.compare-static .compare-table thead th { position: sticky; top: 0; }

.compare-table { width: 100%; border-collapse: collapse; font-size: 0.88rem; min-width: 620px; }
.compare-table th, .compare-table td { padding: 0.85rem 1.2rem; text-align: center; border-bottom: 1px solid var(--border); }
.compare-table th:first-child, .compare-table td:first-child { text-align: left; color: var(--gray); }
.compare-table thead th { font-family: var(--font-display); font-size: 0.82rem; font-weight: 700; color: var(--white); background: var(--bg-card); padding-top: 1.2rem; padding-bottom: 1.2rem; }
.th-popular { background: linear-gradient(160deg, rgba(108,92,255,0.12), rgba(74,144,255,0.06)) !important; border-left: 1px solid rgba(108,92,255,0.3); border-right: 1px solid rgba(108,92,255,0.3); }
.th-tier { display: inline-block; font-size: 0.65rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; padding: 0.2rem 0.5rem; border-radius: 50px; margin-bottom: 0.3rem; }
.th-tier.starter { background: rgba(108,92,255,0.15); color: #a78bfa; }
.th-tier.pro { background: var(--grad); color: white; }
.th-tier.elite { background: rgba(74,144,255,0.15); color: #4A90FF; }
.compare-table tbody tr:hover { background: var(--bg-card); }
.c-yes { color: #34d399; font-weight: 700; font-size: 1rem; }
.c-no  { color: var(--gray-2); }
.c-highlight { color: var(--blue-purple); font-weight: 600; font-size: 0.82rem; }

/* Nav scroll spy active */
.nav-links a.active::after { width: 100%; }

/* Nav scroll progress */
.nav-links a.active { color: var(--white); position: relative; }

/* === 25. RESPONSIVE === */

@media (max-width: 1024px) {
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .service-wide { grid-column: span 2; }
  .plans-grid { grid-template-columns: 1fr 1fr; }
  .team-grid { grid-template-columns: 1fr 1fr; }
  .cases-grid { grid-template-columns: 1fr; }
  .metrics-grid { grid-template-columns: repeat(2, 1fr); }
  .testimonials-grid { grid-template-columns: 1fr; }
  .course-card { grid-template-columns: 1fr; gap: 1.5rem; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .contact-grid { grid-template-columns: 1fr; gap: 3rem; }
  .form-row { grid-template-columns: 1fr; }
}

@media (max-width: 980px) {
  .growth-core { max-width: 380px; }
  .gc-node-1 { left: -14px; }
  .gc-node-2 { right: -12px; }
  .campus-layout { grid-template-columns: 1fr; }
  .campus-side { position: static; order: -1; }
  .lesson-list { max-height: none; }
}

@media (max-width: 768px) {
  .nav-links, .btn-nav { display: none; }
  .hamburger { display: flex; }

  .hero { grid-template-columns: 1fr; padding: 7rem 1.5rem 4rem; gap: 3rem; }
  .hero-visual { display: none; }
  .hero-stats { gap: 1.2rem; flex-wrap: wrap; }

  .services-grid { grid-template-columns: 1fr; }
  .service-wide { grid-column: span 1; flex-direction: column; }
  .plans-grid { grid-template-columns: 1fr; }
  .team-grid { grid-template-columns: 1fr; }
  .cases-grid { grid-template-columns: 1fr; }
  .metrics-grid { grid-template-columns: repeat(2, 1fr); }
  .testimonials-grid { grid-template-columns: 1fr; }
  .why-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .logo-img { height: 32px; width: auto; }
  .course-features { grid-template-columns: 1fr 1fr; }
  .coming-soon-bar { flex-direction: column; align-items: flex-start; gap: 0.75rem; }
  .footer-bottom { flex-direction: column; gap: 0.5rem; text-align: center; }
  .cta-trust { flex-wrap: wrap; justify-content: center; gap: 1rem; }
  .process-step { grid-template-columns: 60px 1fr; }
  .section { padding: 5rem 0; }
  .contact-form-wrap { padding: 1.5rem; }
  .faq-question { font-size: 0.9rem; padding: 1rem 1.2rem; }
  .compare-toggle { font-size: 0.82rem; }
  .float-wa { bottom: 4.5rem; right: 1rem; width: 48px; height: 48px; }
  .back-to-top { right: 1rem; }
  .services-hero { padding: 8.5rem 0 2rem; }
  .services-cta { margin-top: 2rem; }
  .services-hero-meta { gap: 1rem; font-size: 0.82rem; }
  .compare-static { padding: 0.25rem; }
  .gc-amount { font-size: 2rem; }
  .gc-radar, .gc-ring:nth-child(3) { display: none; }
  .campus-nav-title { display: none; }
  .lesson-complete { margin-left: 0; width: 100%; }
  .lesson-actions { flex-direction: column-reverse; align-items: stretch; }
  .lesson-nav-btn { width: 100%; }
}

@media (max-width: 480px) {
  .container { padding: 0 1.2rem; }
  .metrics-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .hero-ctas { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 1180px) {
  /* El CTA del nav creció ("Solicitar diagnóstico gratuito"):
     achicamos la separación de los links para que entre todo. */
  .nav-links { gap: 1.35rem; }
  .nav-inner { gap: 1.6rem; padding: 1.2rem 1.4rem; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
  .glow, .floating-card, .dashboard-card,
  .badge-dot, .typing-cursor { animation: none !important; }
  .spotlight::after { display: none; }
  .glow-1, .glow-2, .glow-3,
  .grid-overlay,
  .section-badge::after,
  .gc-radar, .gc-ring,
  .metric-card::after,
  .gradient-text { animation: none !important; }
  .cursor-dot, .cursor-ring { display: none !important; }
  *, *::before, *::after { cursor: auto !important; }
  .gc-line { stroke-dashoffset: 0; }
  .gc-area { opacity: 1; }
  .gc-kpi-bar i { width: var(--w); }
  .gc-radar, .gc-ring, .gc-logo, .gc-panel,
  .gc-node-1, .gc-node-2, .gc-live i { animation: none !important; }
}

/* ============================================================
   === 26. AGREGADOS 2026-07 — conversión, legales y sesión ===
   ------------------------------------------------------------
   Bloque nuevo, agregado al final para no tocar nada de lo que
   ya funcionaba arriba. Usa las variables de tokens.css
   (--pur, --panel, --muted, --line, --danger…), que se carga
   ANTES que este archivo en todas las páginas.
   ============================================================ */

/* --- [hidden] tiene que ganarle a los display: flex/grid ---
   Varias clases de este archivo definen display, y eso pisa el
   display:none que el navegador le da a [hidden]. Sin esto, un
   elemento con el atributo hidden se sigue viendo. */
[hidden] { display: none !important; }


/* ============================================================
   26.1 — FORMULARIO: errores, ayudas y consentimiento
   ============================================================ */

/* Mensaje de error debajo de cada campo. Vacío = no ocupa lugar. */
.form-error {
  margin: 0;
  font-size: 0.82rem;
  line-height: 1.45;
  color: var(--danger-txt, #ffb0b0);
  font-family: var(--font-body);
}
.form-error:empty { display: none; }

/* Texto de ayuda (no es un error, es una aclaración). */
.form-ayuda {
  margin: 0;
  font-size: 0.78rem;
  line-height: 1.4;
  color: var(--muted-2, #837da0);
}

/* Campo que quedó mal completado. */
.form-group input.campo-invalido,
.form-group select.campo-invalido,
.form-group textarea.campo-invalido {
  border-color: var(--danger, #ff6b6b) !important;
  background: var(--danger-bg, rgba(255,107,107,.14)) !important;
}

/* Checkbox de consentimiento (Ley 25.326). */
.form-consent {
  display: flex;
  align-items: flex-start;
  gap: 0.7rem;
  padding: 0.9rem 1rem;
  border: 1px solid var(--line, rgba(255,255,255,.09));
  border-radius: var(--r-md, 11px);
  background: rgba(255,255,255,0.025);
}
.form-consent input[type="checkbox"] {
  width: 18px;
  height: 18px;
  margin-top: 0.15rem;
  flex-shrink: 0;
  accent-color: var(--pur, #9b5cff);
  cursor: pointer;
}
.form-consent label {
  font-size: 0.84rem;
  line-height: 1.55;
  color: var(--txt-2, #d6d2e4);
  font-family: var(--font-body);
  text-transform: none;
  letter-spacing: normal;
  font-weight: 400;
  cursor: pointer;
}
.form-consent a { color: var(--pur, #9b5cff); }
.form-consent input.campo-invalido {
  outline: 2px solid var(--danger, #ff6b6b);
  outline-offset: 2px;
}

/* Aclaración de qué pasa después de enviar. */
.form-nota {
  margin: 0;
  font-size: 0.8rem;
  line-height: 1.5;
  text-align: center;
  color: var(--muted, #a9a4bf);
}

/* Error del envío (API caída, demasiados intentos, etc.). */
.form-alerta {
  border: 1px solid var(--danger, #ff6b6b);
  background: var(--danger-bg, rgba(255,107,107,.14));
  color: var(--danger-txt, #ffb0b0);
  border-radius: var(--r-md, 11px);
  padding: 0.9rem 1.1rem;
  font-size: 0.86rem;
  line-height: 1.55;
}
.form-alerta p { margin: 0; }
.form-alerta p + p { margin-top: 0.5rem; }
.form-alerta a { color: #fff; font-weight: 600; }

/* Honeypot: invisible para una persona, presente para un bot.
   NO usamos display:none ni type=hidden: muchos bots los saltean.
   Lo sacamos del flujo y del alcance del teclado. */
.campo-trampa {
  position: absolute !important;
  left: -9999px !important;
  top: 0;
  width: 1px;
  height: 1px;
  overflow: hidden;
  opacity: 0;
  pointer-events: none;
}

/* Pantalla de éxito. */
.form-success:focus { outline: none; }
.form-success h3 {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--white);
}
.form-success .btn-ghost { margin-top: 0.5rem; }


/* ============================================================
   26.2 — "IDEAL PARA" (línea de autoselección de los planes)
   ============================================================ */

.plan-ideal {
  font-size: 0.85rem;
  line-height: 1.55;
  color: var(--txt-2, #d6d2e4);
  background: rgba(155, 92, 255, 0.08);
  border-left: 2px solid var(--pur, #9b5cff);
  border-radius: 0 var(--r-sm, 8px) var(--r-sm, 8px) 0;
  padding: 0.6rem 0.85rem;
  margin: 0 0 1rem;
}
.plan-ideal strong {
  color: var(--white);
  font-family: var(--font-display);
  font-weight: 600;
}
.plan-preview-card .plan-ideal { margin-top: 0.9rem; }

/* Fila "Ideal para" de la tabla comparativa. */
.compare-table .fila-ideal td,
.compare-table .fila-ideal th {
  font-size: 0.82rem;
  line-height: 1.45;
  color: var(--txt-2, #d6d2e4);
  background: rgba(155, 92, 255, 0.05);
  vertical-align: top;
}

/* Las celdas de la primera columna ahora son <th scope="row">:
   las dejamos con el mismo peso visual que tenían como <td>. */
.compare-table tbody th[scope="row"] {
  font-weight: 500;
  font-family: var(--font-body);
  color: var(--gray);
  text-align: left;
}

/* La tabla se puede desplazar con el teclado (tiene tabindex="0"). */
.compare-static:focus-visible {
  outline: 2px solid var(--pur, #9b5cff);
  outline-offset: 3px;
}


/* ============================================================
   26.3 — FRANJA DE PRUEBA SOCIAL (servicios.html)
   ============================================================ */

.pruebas-franja {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}
.prueba-item {
  position: relative;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.06), 0 1px 2px rgba(0,0,0,0.2);
}
.prueba-tag {
  font-family: var(--font-display);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: #a78bfa;
}
.prueba-marca {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--white);
}
.prueba-desc {
  font-size: 0.9rem;
  line-height: 1.65;
  color: var(--gray);
}
.prueba-nums {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.75rem;
  margin: 0.4rem 0;
  padding: 1rem 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.prueba-nums dt {
  font-family: var(--font-display);
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--gray);
  margin-bottom: 0.25rem;
}
.prueba-nums dd {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--white);
  font-variant-numeric: tabular-nums;
  background: var(--grad-text);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.prueba-quote {
  font-size: 0.95rem;
  line-height: 1.7;
  color: rgba(245,247,250,0.9);
  font-style: italic;
  border-left: 2px solid var(--pur, #9b5cff);
  padding-left: 1rem;
}
.prueba-firma {
  font-family: var(--font-display);
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--gray);
}


/* ============================================================
   26.4 — NAV CON SESIÓN INICIADA
   ============================================================ */

.btn-nav { white-space: nowrap; }

.nav-sesion { position: relative; display: flex; align-items: center; }

.menu-sesion { position: relative; }

.btn-sesion {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(108,92,255,0.08);
  border: 1px solid rgba(108,92,255,0.22);
  color: var(--white);
  font-family: var(--font-display);
  font-size: 0.85rem;
  font-weight: 600;
  padding: 0.3rem 0.75rem 0.3rem 0.35rem;
  border-radius: 50px;
  cursor: pointer;
  transition: var(--transition);
}
.btn-sesion:hover {
  background: rgba(108,92,255,0.16);
  border-color: rgba(108,92,255,0.45);
}
.sesion-inicial {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--grad);
  display: grid;
  place-items: center;
  font-size: 0.75rem;
  font-weight: 700;
  color: #fff;
  flex-shrink: 0;
}
.sesion-nombre {
  max-width: 120px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.menu-sesion-pop {
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  min-width: 230px;
  z-index: 200;
  display: flex;
  flex-direction: column;
  padding: 0.5rem;
  background: var(--panel, #140f24);
  border: 1px solid var(--line-fuerte, rgba(255,255,255,.16));
  border-radius: var(--r-lg, 16px);
  box-shadow: var(--sombra-lg, 0 20px 56px rgba(0,0,0,.44));
}
.menu-sesion-cabecera {
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
  padding: 0.6rem 0.75rem 0.75rem;
  margin: 0 0 0.35rem;
  border-bottom: 1px solid var(--line, rgba(255,255,255,.09));
}
.menu-sesion-nombre {
  font-family: var(--font-display);
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--white);
}
.menu-sesion-mail {
  font-size: 0.76rem;
  color: var(--muted, #a9a4bf);
  word-break: break-all;
}
.menu-sesion-pop a,
.menu-sesion-pop button {
  display: block;
  width: 100%;
  text-align: left;
  background: none;
  border: none;
  color: var(--txt-2, #d6d2e4);
  font-family: var(--font-display);
  font-size: 0.87rem;
  font-weight: 500;
  text-decoration: none;
  padding: 0.6rem 0.75rem;
  border-radius: var(--r-sm, 8px);
  cursor: pointer;
  transition: var(--t-rapida, .14s ease);
}
.menu-sesion-pop a:hover,
.menu-sesion-pop button:hover {
  background: rgba(155,92,255,0.14);
  color: var(--white);
}
.menu-sesion-salir { color: var(--danger-txt, #ffb0b0) !important; }
.menu-sesion-salir:hover { background: var(--danger-bg, rgba(255,107,107,.14)) !important; }

/* Versión mobile, dentro del menú hamburguesa. */
.mobile-sesion {
  display: flex;
  flex-direction: column;
  padding: 0.5rem 0;
  border-bottom: 1px solid var(--border);
}
.mobile-sesion-hola {
  font-family: var(--font-display);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--muted, #a9a4bf);
  padding: 0.5rem 0 0.25rem;
}
.mobile-sesion a,
.mobile-sesion button {
  border-bottom: none;
  background: none;
  border: none;
  text-align: left;
  font-family: var(--font-display);
  font-size: 1rem;
  color: var(--gray);
  padding: 0.75rem 0;
  cursor: pointer;
}
.mobile-sesion button:hover { color: var(--white); }


/* ============================================================
   26.5 — FOOTER LEGAL (Ley 24.240 art. 4 · Res. 424/2020)
   ============================================================ */

/* Los títulos del footer pasaron de <h4> a <h2> para no saltear
   niveles de encabezado. Mantenemos los dos selectores para no
   romper nada que todavía use h4. */
.footer-links h2,
.footer-legal h2 {
  font-family: var(--font-display);
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--white);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 0.5rem;
}

.footer-legal {
  display: grid;
  grid-template-columns: 1.6fr 1fr;
  gap: 2.5rem;
  padding: 2rem 0;
  margin-top: 1rem;
  border-top: 1px solid var(--border);
}
.footer-legal-datos p {
  font-size: 0.82rem;
  line-height: 1.75;
  color: var(--gray);
}
.footer-legal-datos strong { color: var(--white); font-weight: 600; }
.footer-legal-datos a { color: var(--gray); text-decoration: underline; }
.footer-legal-datos a:hover { color: var(--white); }

.footer-legal-links {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.65rem;
}
.footer-legal-links a {
  color: var(--gray);
  text-decoration: none;
  font-size: 0.86rem;
  transition: var(--transition);
}
.footer-legal-links a:hover { color: var(--white); }

/* El botón de arrepentimiento es OBLIGATORIO y tiene que verse.
   Va destacado y con ese rótulo exacto (Res. 424/2020). */
.btn-arrepentimiento {
  display: inline-block;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.84rem !important;
  color: var(--white) !important;
  background: rgba(155, 92, 255, 0.12);
  border: 1px solid rgba(155, 92, 255, 0.4);
  border-radius: var(--r-sm, 8px);
  padding: 0.55rem 1rem;
}
.btn-arrepentimiento:hover {
  background: rgba(155, 92, 255, 0.22);
  border-color: var(--pur, #9b5cff);
}

/* "Configurar cookies" es un <button> (abre el banner, no navega)
   pero se tiene que ver como el resto de los links del footer. */
.link-como-boton {
  background: none;
  border: none;
  padding: 0;
  color: var(--gray);
  font-family: var(--font-body);
  font-size: 0.86rem;
  text-decoration: underline;
  cursor: pointer;
  transition: var(--transition);
}
.link-como-boton:hover { color: var(--white); }


/* ============================================================
   26.6 — RESPONSIVE de todo lo nuevo
   ============================================================ */

@media (max-width: 1024px) {
  .pruebas-franja { grid-template-columns: 1fr; }
  .footer-legal { grid-template-columns: 1fr; gap: 1.75rem; }
}

@media (max-width: 768px) {
  .prueba-item { padding: 1.5rem; }
  .prueba-nums { grid-template-columns: 1fr 1fr; }
  .prueba-nums dd { font-size: 1.2rem; }
  .form-consent { padding: 0.8rem; }
  .footer-legal { padding: 1.5rem 0; }
  .footer-legal-links { width: 100%; }
  .btn-arrepentimiento { width: 100%; text-align: center; }
}

@media (max-width: 480px) {
  .prueba-nums { grid-template-columns: 1fr; gap: 0.6rem; }
  .prueba-nums > div { display: flex; align-items: baseline; justify-content: space-between; gap: 0.75rem; }
  .prueba-nums dt { margin-bottom: 0; }
}
