/* ============================================
   DESIGN TOKENS - Movilidad ZMG
   ============================================ */

:root {
  /* ========== COLORS ========== */
  
  /* Base */
  --background: #FAF9F7;
  --surface: #FFFFFF;
  
  /* Text */
  --text-primary: #1A1A1A;
  --text-secondary: #525252;
  --text-tertiary: #737373;
  
  /* Brand - Azul (tu favorito) */
  --primary: #019EB1;           /* Vibrante - elementos grandes */
  --primary-dark: #017A8A;      /* Accesible - texto */
  --primary-light: #E6F7F9;     /* Backgrounds sutiles */
  
  /* Accent */
  --accent: #FF6B35;            /* Naranja - CTAs */
  --accent-dark: #E55A2B;       /* Hover states */
  --accent-light: #FFF0EB;      /* Backgrounds sutiles */
  
  /* Semantic (para datos/visualizaciones) */
  --success: #059669;           /* Verde - positivo */
  --warning: #F59E0B;           /* Amarillo - atención */
  --danger: #DC2626;            /* Rojo - problema */
  --info: #0284C7;              /* Azul info */
  
  /* Grays */
  --gray-50: #FAFAFA;
  --gray-100: #F5F5F5;
  --gray-200: #E5E5E5;
  --gray-300: #D4D4D4;
  --gray-400: #A3A3A3;
  --gray-500: #737373;
  --gray-600: #525252;
  --gray-700: #404040;
  --gray-800: #262626;
  --gray-900: #171717;
  
  
  /* ========== TYPOGRAPHY ========== */
  
  /* Font Families */
  --font-display: 'Outfit', sans-serif;      /* Títulos grandes */
  --font-heading: 'DM Sans', sans-serif;     /* Subtítulos, UI */
  --font-body: 'Crimson Pro', serif;         /* Lectura larga */
  --font-mono: 'JetBrains Mono', monospace;  /* Datos, código */
  
  /* Font Sizes - Escala 1.250 (Major Third) */
  --text-xs: 0.75rem;      /* 12px - Metadata */
  --text-sm: 0.875rem;     /* 14px - Labels, captions */
  --text-base: 1rem;       /* 16px - Body base (móvil) */
  --text-lg: 1.125rem;     /* 18px - Body grande (desktop) */
  --text-xl: 1.25rem;      /* 20px - H5 */
  --text-2xl: 1.563rem;    /* 25px - H4 */
  --text-3xl: 1.953rem;    /* 31px - H3 */
  --text-4xl: 2.441rem;    /* 39px - H2 */
  --text-5xl: 3.052rem;    /* 49px - H1 */
  --text-6xl: 3.815rem;    /* 61px - Display */
  --text-7xl: 4.768rem;    /* 76px - Hero */
  
  /* Font Weights */
  --weight-normal: 400;
  --weight-medium: 500;
  --weight-semibold: 600;
  --weight-bold: 700;
  --weight-extrabold: 800;
  
  /* Line Heights */
  --leading-none: 1;
  --leading-tight: 1.25;
  --leading-snug: 1.375;
  --leading-normal: 1.5;
  --leading-relaxed: 1.625;
  --leading-loose: 2;
  
  /* Letter Spacing */
  --tracking-tighter: -0.05em;
  --tracking-tight: -0.025em;
  --tracking-normal: 0;
  --tracking-wide: 0.025em;
  --tracking-wider: 0.05em;
  --tracking-widest: 0.1em;
  
  
  /* ========== SPACING ========== */
  --space-1: 0.25rem;   /* 4px */
  --space-2: 0.5rem;    /* 8px */
  --space-3: 0.75rem;   /* 12px */
  --space-4: 1rem;      /* 16px */
  --space-5: 1.5rem;    /* 24px */
  --space-6: 2rem;      /* 32px */
  --space-7: 3rem;      /* 48px */
  --space-8: 4rem;      /* 64px */
  --space-9: 6rem;      /* 96px */
  --space-10: 8rem;     /* 128px */
  
  
  /* ========== LAYOUT ========== */
  --container-max: 1200px;
  --content-max: 65ch;      /* Ancho óptimo para lectura */
  --narrow-max: 45ch;       /* Pull quotes, highlights */
  
  
  /* ========== BORDERS ========== */
  --border-radius-sm: 0.25rem;   /* 4px */
  --border-radius: 0.5rem;       /* 8px */
  --border-radius-lg: 1rem;      /* 16px */
  --border-radius-full: 9999px;  /* Circular */
  
  --border-width: 1px;
  --border-width-thick: 2px;
  
  
  /* ========== SHADOWS ========== */
  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  --shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px 0 rgba(0, 0, 0, 0.06);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
  --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
  
  
  /* ========== TRANSITIONS ========== */
  --transition-fast: 150ms;
  --transition-base: 250ms;
  --transition-slow: 350ms;
  
  --ease-in: cubic-bezier(0.4, 0, 1, 1);
  --ease-out: cubic-bezier(0, 0, 0.2, 1);
  --ease-in-out: cubic-bezier(0.4, 0, 0.2, 1);
  
  
  /* ========== BREAKPOINTS (en JS o media queries) ========== */
  --breakpoint-sm: 640px;
  --breakpoint-md: 768px;
  --breakpoint-lg: 1024px;
  --breakpoint-xl: 1280px;
}

/* Ajustes para móvil */
@media (max-width: 768px) {
  :root {
    --text-base: 1rem;      /* 16px */
    --text-lg: 1.125rem;    /* 18px */
    --text-5xl: 2.5rem;     /* 40px */
    --text-6xl: 3rem;       /* 48px */
    --text-7xl: 3.5rem;     /* 56px */
  }
}
