/*
 * VoltLlano — design tokens v8.
 *
 * Los nombres canónicos empiezan con `--color-`, `--radius-`, `--shadow-`.
 * Los alias `--vl-*` viven al final del bloque como red de seguridad para
 * cualquier CSS/JS legacy heredado del sitio v7 que aún no se haya migrado
 * (p. ej. `assets/js/live-chat.js` v6.5 usaba --vl-card, --vl-gradient…).
 * Sin estos alias, esos selectores caen a background transparente y el
 * panel de Volty se ve ilegible sobre el hero (P0 detectado 2026-07-27).
 */
:root {
  --color-primary: #123a63;
  --color-secondary: #39a845;
  --color-accent: #f59e0b;
  --color-bg: #ffffff;
  --color-bg-alt: #f7f9fb;
  --color-text: #1f2937;
  --color-text-muted: #6b7280;
  --color-border: #e5e7eb;
  --color-surface: #ffffff;
  --color-primary-soft: #eaf1f8;
  --color-secondary-soft: #eef8ef;
  --color-accent-soft: #fff5df;
  --shadow-sm: 0 10px 30px rgba(18, 58, 99, 0.06);
  --shadow-md: 0 18px 40px rgba(18, 58, 99, 0.08);
  --radius-sm: 0.75rem;
  --radius-md: 1.25rem;
  --radius-lg: 1.75rem;
  --radius-pill: 999px;
  --container: 76rem;
  --header-height: 4.75rem;
  --space-1: 0.25rem;
  --space-2: 0.5rem;
  --space-3: 0.75rem;
  --space-4: 1rem;
  --space-5: 1.5rem;
  --space-6: 2rem;
  --space-7: 3rem;
  --space-8: 4rem;
  --space-9: 6rem;
  --font-sans: "Plus Jakarta Sans", system-ui, sans-serif;

  /* ── Alias legacy v7 (red de seguridad, NO usar en código nuevo) ── */
  --vl-card:      var(--color-surface);
  --vl-border:    var(--color-border);
  --vl-dark-3:    #253142;
  --vl-primary:   var(--color-primary);
  --vl-muted:     var(--color-text-muted);
  --vl-light:     #ffffff;
  --vl-gradient:  linear-gradient(135deg, var(--color-primary) 0%, #185340 100%);
  --shadow-card:  var(--shadow-md);
  --radius:       var(--radius-sm);
  --radius-xl:    var(--radius-lg);

  /* Ilustraciones SVG heredadas de Netlify v2 (illustrations.css). */
  --ilustracion-glow: 0 20px 40px rgba(18, 58, 99, 0.12);
}
