/**
 * 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 secondary structure.
 *   - Corporate Accent (#fe473c) reserved strictly for primary CTAs, active step/tab borders, and brand tick.
 */

:root {
  /* --- Surfaces and Canvas (Light Editorial Corporate Palette) --- */
  --color-white: #ffffff;
  --color-canvas: #ffffff;
  --color-canvas-subtle: #f7f8fa;
  --color-bg-page: #f2f2f2;
  --color-surface: #ffffff;
  --color-surface-hover: #f1f5f9;
  --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 & Dark Blue Scale --- */
  --oca-blue: #0B3356;
  --oca-red: #fe473c;

  --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 (Reserved for Primary CTAs, Focus & Brand Tick) --- */
  --color-accent: #fe473c;
  --color-accent-hover: #de473c;
  --color-accent-subtle: #fff2f1;

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

  /* --- Text and Contrast --- */
  --color-text-main: #202121;
  --color-text-primary: #0B3356;
  --color-text-secondary: #334155;
  --color-text-muted: #64748b;
  --color-text-inverse: #ffffff;
  --color-text-hero-sub: #e2e8f0;

  /* --- Header, Glass & Footer Tokens --- */
  --topbar-border: rgba(255, 255, 255, 0.12);
  --topbar-shadow: 0 3px 12px rgba(11, 51, 86, 0.16);
  --footer-text: rgba(255, 255, 255, 0.82);
  --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.74);
  --glass-divider: rgba(255, 255, 255, 0.25);
  --overlay-modal: rgba(11, 51, 86, 0.58);

  /* --- Semantic States & Traffic Light Palette (Green / Yellow / Red / Unreadable Gray) --- */
  --color-success: #15803d;
  --color-success-bg: #dcfce7;
  --color-success-border: #86efac;

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

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

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

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

  /* --- Official Google Identity Brand Colors (Sign in with Google Button Only) --- */
  --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', system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --font-mono: 'Inter', system-ui, -apple-system, sans-serif;

  /* --- Spacing Scale --- */
  --space-1: 0.25rem;
  --space-2: 0.5rem;
  --space-3: 1rem;
  --space-4: 1.5rem;
  --space-5: 2rem;

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

  /* --- 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(43, 123, 192, 0.25);

  /* --- Transitions --- */
  --transition-fast: 160ms ease-in-out;
  --transition-normal: 240ms ease-in-out;
}
