/*
 * Design tokens for Virgen Asunta - Centro de Conciliación y Arbitraje.
 * Single source of truth for color, type, spacing, radius and shadow scales.
 * Every other stylesheet must reference these custom properties instead of
 * hardcoding hex values or magic numbers.
 */

:root {
  /* Brand colors (approved palette) */
  --color-navy: #132a4c;
  --color-navy-dark: #0b1b33;
  --color-gold: #c9a15a;
  --color-gold-light: #e8c776;
  --color-cream: #f8f6f1;
  --color-white: #ffffff;
  --color-gray: #8a93a6;

  /* Derived / functional colors */
  --color-navy-rgb: 19, 42, 76;
  --color-gold-rgb: 201, 161, 90;
  --color-text: var(--color-navy);
  --color-text-muted: var(--color-gray);
  --color-text-on-dark: var(--color-cream);
  --color-text-on-dark-muted: #b7c0d1;
  --color-border: #e4e0d6;
  --color-border-on-dark: rgba(248, 246, 241, 0.16);
  --color-bg: var(--color-cream);
  --color-bg-alt: var(--color-white);
  --color-bg-dark: var(--color-navy);
  --color-bg-darker: var(--color-navy-dark);
  --color-success: #3c7a5e;
  --color-error: #9c3b3b;
  --gradient-gold: linear-gradient(135deg, var(--color-gold) 0%, var(--color-gold-light) 50%, var(--color-gold) 100%);

  /* Typography */
  --font-heading: "Playfair Display", "Georgia", serif;
  --font-body: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;

  --fs-xs: 0.8rem;
  --fs-sm: 0.9rem;
  --fs-base: 1rem;
  --fs-md: 1.125rem;
  --fs-lg: 1.375rem;
  --fs-xl: 1.75rem;
  --fs-2xl: 2.25rem;
  --fs-3xl: 3rem;
  --fs-4xl: 3.75rem;

  --lh-tight: 1.15;
  --lh-snug: 1.35;
  --lh-normal: 1.6;

  --tracking-wide: 0.08em;
  --tracking-wider: 0.14em;

  /* Spacing scale (rem) */
  --space-3xs: 0.25rem;
  --space-2xs: 0.5rem;
  --space-xs: 0.75rem;
  --space-sm: 1rem;
  --space-md: 1.5rem;
  --space-lg: 2.5rem;
  --space-xl: 4rem;
  --space-2xl: 6rem;
  --space-3xl: 8rem;

  /* Layout */
  --container-max: 1200px;
  --container-narrow: 800px;
  --radius-sm: 2px;
  --radius-md: 4px;
  --radius-lg: 8px;

  /* Shadow */
  --shadow-sm: 0 1px 3px rgba(11, 27, 51, 0.08);
  --shadow-md: 0 8px 24px rgba(11, 27, 51, 0.1);
  --shadow-lg: 0 20px 48px rgba(11, 27, 51, 0.16);

  /* Motion */
  --ease-standard: cubic-bezier(0.4, 0, 0.2, 1);
  --duration-fast: 150ms;
  --duration-base: 250ms;
  --duration-slow: 300ms;

  /* Z-index scale */
  --z-nav: 100;
  --z-overlay: 200;
  --z-modal: 300;
  --z-loader: 400;
}
