:root {
  /* ─────────────────────────────────────────────────────────────────
     Identidad LTH oficial (referencia: lth.com.mx · clarios.com.mx)
     Paleta dual: navy = identidad/marca, red = acción/alerta
     ─────────────────────────────────────────────────────────────── */

  /* Navy — color primario de marca (header, brand mark, sidebar activo, focus rings) */
  --brand-navy: #14276A;
  --brand-navy-dark: #0F1D52;
  --brand-navy-mid: #2A4099;
  --brand-navy-light: #EEF2FA;   /* fondo de estados activos */
  --brand-navy-50: #F5F8FD;      /* tint muy sutil */

  /* Red LTH — solo para CTAs primarias y alertas (no para identidad) */
  --brand-red: #E31837;
  --brand-red-dark: #C41530;
  --brand-red-light: #FEF2F2;
  --brand-red-50: #FFF1F2;

  /* Aliases legacy: --accent = red (mantiene compatibilidad con CTAs/badges).
     Para identidad de marca usa siempre --brand-navy. */
  --accent: var(--brand-red);
  --accent-hover: var(--brand-red-dark);
  --accent-light: var(--brand-red-light);
  --accent-50: var(--brand-red-50);

  --cta-bg: var(--brand-red);
  --cta-text: #FFFFFF;
  --cta-hover: var(--brand-red-dark);

  /* Neutrals (Ecomiq) */
  --bg-page: #F8F9FA;
  --bg-card: #FFFFFF;
  --bg-input: #F3F4F6;
  --bg-hover: #F9FAFB;
  --text-primary: #111827;
  --text-secondary: #6B7280;
  --text-tertiary: #9CA3AF;
  --border: #E5E7EB;
  --border-light: #F3F4F6;

  /* Estados */
  --success: #059669;
  --success-bg: #ECFDF5;
  --warning: #EA580C;
  --warning-bg: #FFF7ED;
  --danger: #DC2626;
  --danger-bg: #FEF2F2;
  --info: #2563EB;
  --info-bg: #EFF6FF;

  /* Radius */
  --radius-sm: 6px;
  --radius-md: 8px;
  --radius-lg: 12px;
  --radius-xl: 16px;
  --radius-full: 99px;

  /* Tipografía */
  --font-primary: 'Inter', -apple-system, 'Segoe UI', sans-serif;
  --font-mono: 'JetBrains Mono', ui-monospace, SFMono-Regular, Menlo, monospace;

  --text-xs: 11px;
  --text-sm: 13px;
  --text-base: 14px;
  --text-md: 15px;
  --text-lg: 18px;
  --text-xl: 22px;
  --text-2xl: 28px;
  --text-3xl: 36px;

  --font-regular: 400;
  --font-medium: 500;
  --font-semibold: 600;
  --font-bold: 700;

  /* Spacing (escala 4) */
  --space-1: 4px;
  --space-2: 8px;
  --space-3: 12px;
  --space-4: 16px;
  --space-5: 20px;
  --space-6: 24px;
  --space-8: 32px;
  --space-10: 40px;
  --space-12: 48px;
  --space-16: 64px;

  /* Layout */
  --sidebar-w-collapsed: 60px;
  --sidebar-w-expanded: 220px;
  --topbar-h: 56px;

  /* Sombras */
  --shadow-sm: 0 1px 2px rgba(17, 24, 39, 0.04);
  --shadow-md: 0 4px 12px rgba(17, 24, 39, 0.06);
  --shadow-lg: 0 12px 32px rgba(17, 24, 39, 0.10);
  --shadow-overlay: 0 24px 64px rgba(17, 24, 39, 0.18);

  /* Transiciones */
  --transition-fast: 120ms cubic-bezier(0.4, 0, 0.2, 1);
  --transition-base: 200ms cubic-bezier(0.4, 0, 0.2, 1);

  /* Touch targets para técnicos */
  --touch-target: 48px;
  --input-height: 44px;
}
