/* ============================================
   ARNET+ BRAND SYSTEM v2.0
   Sistema de diseño compartido
   - Paleta: mono con acento cyan→violet
   - Tipografía: Inter (body) + Space Grotesk (display)
   - Componentes: nav, hero, cards, buttons, modals
   ============================================ */

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

:root {
  /* Paleta neutral (mantiene identidad mono) */
  --ink-950: #09090b;
  --ink-900: #18181b;
  --ink-800: #27272a;
  --ink-700: #3f3f46;
  --ink-600: #52525b;
  --ink-500: #71717a;
  --ink-400: #a1a1aa;
  --ink-300: #d4d4d8;
  --ink-200: #e4e4e7;
  --ink-100: #f4f4f5;
  --ink-50:  #fafafa;
  --white:   #ffffff;

  /* Acento moderno (cyan → violet, gradiente "AI") */
  --accent-cyan: #06b6d4;
  --accent-cyan-light: #22d3ee;
  --accent-violet: #7c3aed;
  --accent-violet-light: #a78bfa;

  /* Semánticos */
  --success: #10b981;
  --warning: #f59e0b;
  --danger:  #ef4444;

  /* Tipografía */
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', system-ui, sans-serif;
  --font-display: 'Space Grotesk', 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;

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

  /* Radio */
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --radius-2xl: 32px;
  --radius-full: 9999px;

  /* Sombras */
  --shadow-xs: 0 1px 2px rgba(0,0,0,0.04);
  --shadow-sm: 0 2px 8px rgba(0,0,0,0.06);
  --shadow-md: 0 8px 24px rgba(0,0,0,0.08);
  --shadow-lg: 0 16px 48px rgba(0,0,0,0.10);
  --shadow-xl: 0 24px 64px rgba(0,0,0,0.16);
  --shadow-glow: 0 0 40px rgba(124,58,237,0.15);

  /* Z-index */
  --z-base: 1;
  --z-dropdown: 20;
  --z-sticky: 30;
  --z-modal: 40;
  --z-toast: 50;

  /* Transiciones */
  --ease-smooth: cubic-bezier(0.4, 0, 0.2, 1);
  --t-fast: 150ms var(--ease-smooth);
  --t-base: 250ms var(--ease-smooth);
  --t-slow: 400ms var(--ease-smooth);
}

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

body {
  font-family: var(--font-body);
  font-weight: 400;
  line-height: 1.6;
  color: var(--ink-900);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

img, svg {
  display: block;
  max-width: 100%;
  height: auto;
}

a {
  color: inherit;
  text-decoration: none;
  transition: color var(--t-fast);
}

/* === TIPOGRAFÍA === */
.font-display {
  font-family: var(--font-display);
  letter-spacing: -0.025em;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  letter-spacing: -0.025em;
  font-weight: 600;
  line-height: 1.15;
  color: var(--ink-950);
}

h1 { font-size: clamp(2.5rem, 6vw, 4.5rem); font-weight: 700; }
h2 { font-size: clamp(1.875rem, 4vw, 3rem); }
h3 { font-size: clamp(1.25rem, 2vw, 1.5rem); }
h4 { font-size: 1.125rem; }

p {
  line-height: 1.7;
}

.lead {
  font-size: 1.125rem;
  color: var(--ink-600);
  line-height: 1.6;
}

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

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

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

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

/* === NAV === */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: var(--z-sticky);
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: saturate(180%) blur(16px);
  -webkit-backdrop-filter: saturate(180%) blur(16px);
  border-bottom: 1px solid rgba(0, 0, 0, 0.04);
  transition: all var(--t-base);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--space-4) var(--space-6);
  max-width: 1280px;
  margin: 0 auto;
  gap: var(--space-6);
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  cursor: pointer;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.125rem;
  color: var(--ink-950);
  letter-spacing: -0.02em;
}

.nav-logo svg {
  width: 28px;
  height: 28px;
}

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

.nav-link {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--ink-600);
  transition: color var(--t-fast);
  cursor: pointer;
  position: relative;
}

.nav-link:hover {
  color: var(--ink-950);
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -6px;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--accent-cyan), var(--accent-violet));
  transform: scaleX(0);
  transform-origin: center;
  transition: transform var(--t-base);
}

.nav-link:hover::after {
  transform: scaleX(1);
}

/* Mobile menu button */
.nav-toggle {
  display: none;
  background: transparent;
  border: 1px solid var(--ink-200);
  width: 40px;
  height: 40px;
  border-radius: var(--radius-md);
  cursor: pointer;
  align-items: center;
  justify-content: center;
  transition: all var(--t-fast);
}

.nav-toggle:hover {
  background: var(--ink-50);
  border-color: var(--ink-300);
}

.nav-toggle svg {
  width: 20px;
  height: 20px;
  stroke: var(--ink-900);
}

.mobile-menu {
  display: none;
  position: fixed;
  top: 70px;
  left: 0;
  right: 0;
  background: var(--white);
  border-bottom: 1px solid var(--ink-200);
  z-index: var(--z-sticky);
  padding: var(--space-6);
  box-shadow: var(--shadow-lg);
  flex-direction: column;
  gap: var(--space-2);
}

.mobile-menu.open {
  display: flex;
}

.mobile-menu a {
  padding: var(--space-3) var(--space-4);
  font-weight: 500;
  color: var(--ink-700);
  border-radius: var(--radius-md);
  transition: all var(--t-fast);
}

.mobile-menu a:hover {
  background: var(--ink-50);
  color: var(--ink-950);
}

/* === BUTTONS === */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  padding: var(--space-3) var(--space-6);
  border-radius: var(--radius-md);
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.9rem;
  line-height: 1;
  border: 1px solid transparent;
  cursor: pointer;
  transition: all var(--t-base);
  white-space: nowrap;
  text-decoration: none;
}

.btn:focus-visible {
  outline: 2px solid var(--accent-cyan);
  outline-offset: 2px;
}

.btn svg {
  width: 16px;
  height: 16px;
  transition: transform var(--t-fast);
}

.btn:hover svg {
  transform: translateX(2px);
}

/* Primary: gradiente de marca */
.btn-primary {
  background: var(--ink-950);
  color: var(--white);
  border-color: var(--ink-950);
}

.btn-primary:hover {
  background: var(--ink-800);
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
}

/* Accent: gradiente cyan-violet (CTAs destacados) */
.btn-accent {
  background: linear-gradient(135deg, var(--accent-cyan) 0%, var(--accent-violet) 100%);
  color: var(--white);
  border: none;
  position: relative;
  overflow: hidden;
}

.btn-accent::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, var(--accent-cyan-light) 0%, var(--accent-violet-light) 100%);
  opacity: 0;
  transition: opacity var(--t-base);
}

.btn-accent > * {
  position: relative;
  z-index: 1;
}

.btn-accent:hover {
  transform: translateY(-1px);
  box-shadow: 0 12px 32px rgba(124, 58, 237, 0.25);
}

.btn-accent:hover::before {
  opacity: 1;
}

/* Outline */
.btn-outline {
  background: transparent;
  color: var(--ink-900);
  border-color: var(--ink-300);
}

.btn-outline:hover {
  background: var(--ink-50);
  border-color: var(--ink-400);
}

/* Ghost (para sobre fondos oscuros) */
.btn-ghost {
  background: rgba(255, 255, 255, 0.08);
  color: var(--white);
  border: 1px solid rgba(255, 255, 255, 0.16);
  backdrop-filter: blur(8px);
}

.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.14);
  border-color: rgba(255, 255, 255, 0.24);
}

/* Tamaños */
.btn-sm {
  padding: var(--space-2) var(--space-4);
  font-size: 0.825rem;
}

.btn-lg {
  padding: var(--space-4) var(--space-8);
  font-size: 1rem;
}

/* === CARDS === */
.card {
  background: var(--white);
  border: 1px solid var(--ink-200);
  border-radius: var(--radius-lg);
  padding: var(--space-6);
  transition: all var(--t-base);
  position: relative;
  overflow: hidden;
}

.card-hover:hover {
  border-color: var(--ink-950);
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.card-dark {
  background: var(--ink-950);
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.08);
}

.card-glass {
  background: rgba(255, 255, 255, 0.04);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-lg);
  padding: var(--space-6);
  color: var(--white);
  transition: all var(--t-base);
}

.card-glass:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.16);
  transform: translateY(-4px);
}

.card-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: var(--radius-md);
  background: var(--ink-950);
  color: var(--white);
  margin-bottom: var(--space-4);
}

.card-icon svg {
  width: 24px;
  height: 24px;
}

.card-title {
  font-family: var(--font-display);
  font-size: 1.0625rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  margin-bottom: var(--space-2);
  color: var(--ink-950);
}

.card-dark .card-title,
.card-glass .card-title {
  color: var(--white);
}

.card-desc {
  font-size: 0.9rem;
  color: var(--ink-600);
  line-height: 1.65;
}

.card-dark .card-desc,
.card-glass .card-desc {
  color: rgba(255, 255, 255, 0.7);
}

/* === GRIDS === */
.grid {
  display: grid;
  gap: var(--space-5);
}

.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.grid-auto-280 { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
.grid-auto-320 { grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); }

@media (max-width: 1024px) {
  .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 640px) {
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
}

/* === HERO === */
.hero {
  padding: clamp(7rem, 12vw, 10rem) 0 clamp(4rem, 8vw, 6rem);
  position: relative;
  overflow: hidden;
}

.hero-light {
  background: linear-gradient(180deg, var(--ink-50) 0%, var(--white) 100%);
}

.hero-dark {
  background: var(--ink-950);
  color: var(--white);
}

.hero-grid-bg {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(0,0,0,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0,0,0,0.04) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(ellipse 80% 60% at 50% 30%, black 30%, transparent 80%);
  -webkit-mask-image: radial-gradient(ellipse 80% 60% at 50% 30%, black 30%, transparent 80%);
  pointer-events: none;
}

.hero-dark .hero-grid-bg {
  background-image:
    linear-gradient(rgba(255,255,255,0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.05) 1px, transparent 1px);
}

.hero-inner {
  position: relative;
  z-index: var(--z-base);
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  padding: var(--space-2) var(--space-4);
  background: var(--white);
  border: 1px solid var(--ink-200);
  border-radius: var(--radius-full);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--ink-700);
  margin-bottom: var(--space-6);
}

.hero-dark .hero-eyebrow {
  background: rgba(255, 255, 255, 0.04);
  border-color: rgba(255, 255, 255, 0.12);
  color: var(--ink-300);
}

.hero-eyebrow .dot {
  width: 6px;
  height: 6px;
  border-radius: var(--radius-full);
  background: var(--accent-cyan);
  animation: pulse 2s ease-in-out infinite;
}

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

.hero-title {
  font-size: clamp(2.5rem, 7vw, 5.5rem);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -0.035em;
  margin-bottom: var(--space-6);
}

.hero-title .gradient {
  background: linear-gradient(135deg, var(--accent-cyan) 0%, var(--accent-violet) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}

.hero-dark .hero-title {
  color: var(--white);
}

.hero-sub {
  font-size: clamp(1rem, 1.5vw, 1.25rem);
  color: var(--ink-600);
  max-width: 640px;
  line-height: 1.6;
  margin-bottom: var(--space-8);
}

.hero-dark .hero-sub {
  color: rgba(255, 255, 255, 0.7);
}

.hero-actions {
  display: flex;
  gap: var(--space-3);
  flex-wrap: wrap;
  margin-bottom: var(--space-12);
}

/* === STATS === */
.stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: var(--space-6);
  padding-top: var(--space-8);
  border-top: 1px solid var(--ink-200);
}

.hero-dark .stats {
  border-top-color: rgba(255, 255, 255, 0.08);
}

.stat-num {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1;
  margin-bottom: var(--space-2);
}

.stat-label {
  font-size: 0.75rem;
  color: var(--ink-500);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-weight: 500;
}

.hero-dark .stat-label {
  color: rgba(255, 255, 255, 0.5);
}

/* === SECTION HEADERS === */
.section-eyebrow {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--accent-cyan);
  margin-bottom: var(--space-3);
}

.section-title {
  font-size: clamp(1.875rem, 4vw, 2.75rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.1;
  margin-bottom: var(--space-4);
}

.section-sub {
  font-size: 1.0625rem;
  color: var(--ink-600);
  max-width: 600px;
  line-height: 1.6;
}

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

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

/* === FORMS === */
.form {
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
}

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

.form-label {
  font-size: 0.825rem;
  font-weight: 600;
  color: var(--ink-700);
}

.form-input,
.form-textarea,
.form-select {
  width: 100%;
  padding: var(--space-4);
  font-family: inherit;
  font-size: 0.95rem;
  color: var(--ink-900);
  background: var(--white);
  border: 1.5px solid var(--ink-200);
  border-radius: var(--radius-md);
  transition: all var(--t-fast);
  outline: none;
}

.form-input:hover,
.form-textarea:hover,
.form-select:hover {
  border-color: var(--ink-300);
}

.form-input:focus,
.form-textarea:focus,
.form-select:focus {
  border-color: var(--ink-950);
  box-shadow: 0 0 0 4px rgba(0, 0, 0, 0.04);
}

.form-textarea {
  min-height: 120px;
  resize: vertical;
}

.form-help {
  font-size: 0.8125rem;
  color: var(--ink-500);
}

.form-disclaimer {
  font-size: 0.75rem;
  color: var(--ink-500);
  text-align: center;
  margin-top: var(--space-2);
}

/* === FOOTER === */
.footer {
  background: var(--ink-950);
  color: rgba(255, 255, 255, 0.6);
  padding: var(--space-16) 0 var(--space-8);
}

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

@media (max-width: 768px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 480px) {
  .footer-grid {
    grid-template-columns: 1fr;
  }
}

.footer-brand {
  max-width: 320px;
}

.footer-brand-logo {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.125rem;
  color: var(--white);
  margin-bottom: var(--space-3);
}

.footer-brand p {
  font-size: 0.875rem;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.5);
}

.footer-col-title {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--white);
  margin-bottom: var(--space-4);
}

.footer-col ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}

.footer-col a {
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.6);
  transition: color var(--t-fast);
}

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

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: var(--space-6);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 0.8125rem;
  flex-wrap: wrap;
  gap: var(--space-3);
}

.footer-bottom-links {
  display: flex;
  gap: var(--space-6);
}

/* === MODAL === */
.modal {
  display: none;
  position: fixed;
  inset: 0;
  z-index: var(--z-modal);
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  align-items: center;
  justify-content: center;
  padding: var(--space-4);
  animation: fadeIn 200ms var(--ease-smooth);
}

.modal.open {
  display: flex;
}

.modal-content {
  background: var(--white);
  border-radius: var(--radius-xl);
  padding: var(--space-10);
  max-width: 640px;
  width: 100%;
  max-height: 85vh;
  overflow-y: auto;
  position: relative;
  animation: slideUp 250ms var(--ease-smooth);
}

.modal-close {
  position: absolute;
  top: var(--space-4);
  right: var(--space-4);
  width: 36px;
  height: 36px;
  border-radius: var(--radius-md);
  background: var(--ink-50);
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--ink-700);
  transition: all var(--t-fast);
}

.modal-close:hover {
  background: var(--ink-100);
  color: var(--ink-950);
}

.modal-close svg {
  width: 18px;
  height: 18px;
}

.modal-title {
  font-size: 1.5rem;
  margin-bottom: var(--space-6);
}

.modal-body {
  font-size: 0.9rem;
  line-height: 1.75;
  color: var(--ink-700);
}

.modal-body p {
  margin-bottom: var(--space-4);
}

.modal-body strong {
  color: var(--ink-950);
  font-weight: 600;
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes slideUp {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

/* === BADGES & TAGS === */
.badge {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  padding: var(--space-2) var(--space-3);
  background: var(--ink-100);
  color: var(--ink-700);
  border-radius: var(--radius-full);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.02em;
}

.badge-accent {
  background: linear-gradient(135deg, rgba(6,182,212,0.1), rgba(124,58,237,0.1));
  color: var(--accent-violet);
  border: 1px solid rgba(124,58,237,0.2);
}

.badge-dark {
  background: var(--ink-950);
  color: var(--white);
}

.tag {
  display: inline-block;
  padding: var(--space-1) var(--space-3);
  background: var(--ink-100);
  color: var(--ink-700);
  border-radius: var(--radius-full);
  font-size: 0.75rem;
  font-weight: 500;
}

/* === SCROLL PROGRESS === */
.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 3px;
  width: 0%;
  background: linear-gradient(90deg, var(--accent-cyan) 0%, var(--accent-violet) 100%);
  z-index: calc(var(--z-sticky) + 1);
  transition: width 100ms linear;
}

/* === FADE IN === */
.fade-in {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 600ms var(--ease-smooth), transform 600ms var(--ease-smooth);
}

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

/* Fallback: si JS no se ejecuta o falla, contenido siempre visible */
.no-js .fade-in,
.fade-in.fallback {
  opacity: 1 !important;
  transform: none !important;
}

/* === ACCESSIBILITY === */
*:focus-visible {
  outline: 2px solid var(--accent-cyan);
  outline-offset: 2px;
  border-radius: 4px;
}

button:focus-visible,
.btn:focus-visible,
a:focus-visible {
  outline-offset: 4px;
}

.skip-link {
  position: absolute;
  top: -100px;
  left: 0;
  background: var(--ink-950);
  color: var(--white);
  padding: var(--space-3) var(--space-5);
  z-index: 9999;
  font-weight: 600;
  border-radius: 0 0 var(--radius-md) 0;
  transition: top var(--t-base);
}

.skip-link:focus {
  top: 0;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
  border: 0;
}

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

/* === HELPERS === */
.text-center { text-align: center; }
.text-gradient {
  background: linear-gradient(135deg, var(--accent-cyan) 0%, var(--accent-violet) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}

.divider {
  height: 1px;
  background: var(--ink-200);
  margin: var(--space-12) 0;
}

.bg-light { background: var(--ink-50); }
.bg-dark { background: var(--ink-950); color: var(--white); }
.bg-dark h1, .bg-dark h2, .bg-dark h3, .bg-dark h4 { color: var(--white); }
.bg-dark .lead { color: rgba(255, 255, 255, 0.7); }

/* === CTA CARD (reutilizable) === */
.cta-card {
  background: var(--ink-950);
  color: var(--white);
  border-radius: var(--radius-2xl);
  padding: var(--space-16) var(--space-8);
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-card::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -20%;
  width: 80%;
  height: 200%;
  background: radial-gradient(ellipse, rgba(124,58,237,0.15) 0%, transparent 60%);
  pointer-events: none;
}
.cta-card::after {
  content: '';
  position: absolute;
  bottom: -50%;
  right: -20%;
  width: 80%;
  height: 200%;
  background: radial-gradient(ellipse, rgba(6,182,212,0.12) 0%, transparent 60%);
  pointer-events: none;
}
.cta-card > * {
  position: relative;
  z-index: 1;
}
.cta-card h2 {
  color: var(--white);
  font-size: clamp(1.875rem, 4vw, 3rem);
  margin-bottom: var(--space-4);
}
.cta-card p {
  color: rgba(255,255,255,0.7);
  max-width: 540px;
  margin: 0 auto var(--space-8);
  font-size: 1.0625rem;
}