/* ==========================================================================
   SEL Latam — Design Tokens
   Fuente de verdad: design-system/MASTER.md (Sprint 1)
   No hardcodear colores/tamaños en otros archivos CSS: siempre usar estas
   variables para mantener consistencia y facilitar cambios futuros.
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Kanit:wght@500;600;700&family=Open+Sans:wght@400;600;700&display=swap');

:root {
  /* ---- Color: marca ---- */
  --color-primary: #186d66;
  --color-primary-dark: #064447;
  --color-secondary-dark: #0e353c;
  --color-accent-teal: #18a28b;
  --color-accent-blue: #0c71c3;
  --color-header-bg: #f2f2f2;
  --color-white: #ffffff;
  --color-surface-alt: #f7faf9;
  --color-border: #e2e8e6;

  /* ---- Color: texto ---- */
  --text-body-color: #191919;
  --text-muted: #666666;

  /* ---- Color: estado ---- */
  --color-success: #15803d;
  --color-error: #dc2626;

  /* ---- Tipografía ---- */
  --font-display: 'Kanit', Helvetica, Arial, sans-serif;
  --font-body: 'Open Sans', Helvetica, Arial, sans-serif;

  --text-h1-mobile: 1.75rem;
  --text-h1-desktop: 3rem;
  --text-h2-mobile: 1.5rem;
  --text-h2-desktop: 2.25rem;
  --text-h3-mobile: 1.25rem;
  --text-h3-desktop: 1.5rem;
  --text-h4-mobile: 1.125rem;
  --text-h4-desktop: 1.25rem;
  --text-body-size: 1rem;
  --text-body-size-desktop: 1.0625rem;
  --text-small: 0.875rem;
  --text-button: 1rem;
  --text-label: 0.875rem;

  --line-height-heading: 1.2;
  --line-height-body: 1.6;
  --line-height-small: 1.5;

  /* ---- Espaciado ---- */
  --space-1: 4px;
  --space-2: 8px;
  --space-3: 12px;
  --space-4: 16px;
  --space-5: 24px;
  --space-6: 32px;
  --space-7: 48px;
  --space-8: 64px;
  --space-9: 96px;

  /* ---- Radios ---- */
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-full: 999px;

  /* ---- Sombras ---- */
  --shadow-sm: 0 1px 2px rgba(6, 68, 71, 0.06);
  --shadow-md: 0 4px 12px rgba(6, 68, 71, 0.10);
  --shadow-lg: 0 12px 32px rgba(6, 68, 71, 0.14);

  /* ---- Layout ---- */
  --container-max: 1180px;
  --breakpoint-sm: 360px;
  --breakpoint-md: 768px;
  --breakpoint-lg: 1024px;
  --breakpoint-xl: 1280px;

  /* ---- Z-index ---- */
  --z-nav: 50;
  --z-dropdown: 60;
  --z-modal-backdrop: 90;
  --z-modal: 100;

  /* ---- Transiciones ---- */
  --transition-fast: 150ms ease;
  --transition-base: 250ms ease;
}

@media (prefers-reduced-motion: reduce) {
  :root {
    --transition-fast: 0ms;
    --transition-base: 0ms;
  }
}
