/**
 * tokens.css — Corporate Design System: Color & Style Tokens (ocaglobal.com/es Official Theme)
 *
 * PALETTE RULES (audited by gui-guardian):
 *   - Every style must use the variables defined in this file.
 *   - Zero literal color values (#hex, rgb(), hsl()) outside of tokens.css.
 *   - Corporate Navy (#0B3356) for header, hero banner, headings, and primary buttons.
 *   - Warm Red (#FE473C) for section top borders, active underlines, key numbers, and focal accents.
 */

:root {
  /* --- Surfaces and Canvas (Exact ocaglobal.com/es Light Editorial Palette) --- */
  --color-white: #ffffff;
  --color-canvas: #ffffff;
  --color-canvas-subtle: #f7f8fa;
  --color-bg-page: #f2f2f2;
  --color-surface: #ffffff;
  --color-surface-hover: #f2f2f2;
  --color-surface-light: #e9eef4;
  --color-zebra: #f9fafb;
  --color-border: #d9dee5;
  --color-border-hover: #0B3356;
  --color-border-subtle: #eceff3;
  --color-rule-light: #e3e3e3;

  /* --- Corporate Official Colors (ocaglobal.com/es CSS) --- */
  --oca-blue: #0B3356;
  --oca-red: #FE473C;
  --oca-dark-ink: #161824;

  --color-blue-950: #061c30;
  --color-blue-900: #0B3356;
  --color-blue-800: #10426e;
  --color-blue-700: #145b9a;
  --color-blue-600: #1769b0;
  --color-blue-500: #2b7bc0;

  /* --- Corporate Accent (Warm Red #FE473C) --- */
  --color-accent: #FE473C;
  --color-accent-hover: #de473c;
  --color-accent-subtle: #fff2f1;

  /* --- Gradients & Hero Backgrounds --- */
  --gradient-oca-hero: linear-gradient(125deg, #072138 0%, #0B3356 58%, #144978 100%);
  --gradient-oca-navy: linear-gradient(135deg, #0B3356 0%, #144978 100%);
  --gradient-oca-btn: linear-gradient(135deg, #0B3356 0%, #10426e 100%);

  /* --- Text and Contrast (ocaglobal.com/es #202121 & #6e6d7a) --- */
  --color-text-main: #202121;
  --color-text-primary: #0B3356;
  --color-text-secondary: #4a5568;
  --color-text-muted: #6e6d7a;
  --color-text-inverse: #ffffff;
  --color-text-hero-sub: #e2e8f0;

  /* --- Header, Utility Bar & Footer Tokens --- */
  --utility-bar-bg: #07223b;
  --topbar-border: rgba(255, 255, 255, 0.12);
  --topbar-shadow: 0 3px 12px rgba(11, 51, 86, 0.16);
  --footer-bg: #161824;
  --footer-text: rgba(255, 255, 255, 0.80);
  --glass-bg: rgba(255, 255, 255, 0.08);
  --glass-bg-hover: rgba(255, 255, 255, 0.16);
  --glass-border: rgba(255, 255, 255, 0.20);
  --glass-text-muted: rgba(255, 255, 255, 0.72);
  --glass-divider: rgba(255, 255, 255, 0.25);
  --overlay-modal: rgba(11, 51, 86, 0.58);

  /* --- Semantic States & 6-Color Traffic Light Palette --- */
  --color-success: #15803d;
  --color-success-bg: #dcfce7;
  --color-success-border: #86efac;

  --color-warning: #854d0e;
  --color-warning-bg: #fef08a;
  --color-warning-border: #facc15;

  --color-orange: #c2410c;
  --color-orange-bg: #ffedd5;
  --color-orange-border: #fb923c;

  --color-error: #b91c1c;
  --color-error-bg: #fee2e2;
  --color-error-border: #fca5a5;

  --color-info: #0B3356;
  --color-info-bg: #f0f5fa;
  --color-info-border: #cbd9e8;

  --color-blue-badge: #1d4ed8;
  --color-blue-badge-bg: #dbeafe;
  --color-blue-badge-border: #93c5fd;

  --color-gris: #475569;
  --color-gris-bg: #f1f5f9;
  --color-gris-border: #cbd5e1;

  --color-ai: #6d28d9;
  --color-ai-bg: #ede9fe;
  --color-ai-border: #b4a7d6;

  /* --- Official Google Identity Brand Colors (Sign in with Google Button) --- */
  --google-brand-blue: #4285f4;
  --google-brand-red: #ea4335;
  --google-brand-yellow: #fbbc05;
  --google-brand-green: #34a853;

  /* --- Typography (ocaglobal.com/es: Bold Geometric Display + Clean Inter Body) --- */
  --font-display: 'Montserrat', 'Inter', Helvetica, Roboto, Arial, sans-serif;
  --font-sans: 'Inter', Helvetica, Roboto, Arial, sans-serif;
  --font-mono: 'Inter', Helvetica, Roboto, Arial, sans-serif;

  /* --- Radii and Geometry (ocaglobal.com/es Architectural Sharpness) --- */
  --radius-none: 0px;
  --radius-sm: 2px;
  --radius-md: 4px;
  --radius-lg: 8px;
  --radius-full: 9999px;

  /* --- Shadows (ocaglobal.com/es .results-position & .overblock shadows) --- */
  --shadow-xs: 0 1px 3px rgba(11, 51, 86, 0.05);
  --shadow-sm: 0 3px 6px rgba(11, 51, 86, 0.07);
  --shadow-md: 0 8px 24px rgba(11, 51, 86, 0.08);
  --shadow-lg: 0 16px 36px rgba(11, 51, 86, 0.11);
  --focus-ring-primary: 0 0 0 2px rgba(11, 51, 86, 0.18);

  /* --- Transitions --- */
  --transition-fast: 180ms ease-in-out;
  --transition-normal: 250ms ease-in-out;
}
