/**
 * Style Guide - Variables CSS
 * Generado automaticamente por SpeakSite
 * Fecha: 2026-02-16
 */

:root {
  /* ===== Colores ===== */

  /* Primarios */
  --color-primary: #3EA02F;
  --color-primary-light: #E8F5E6;
  --color-primary-dark: #2B7020;

  /* Acento / Secundario */
  --color-accent: #0C202D;
  --color-accent-light: #132E3F;
  --color-secondary: #0C202D;

  /* Neutros */
  --color-background: #FFFFFF;
  --color-background-alt: #F4F7F9;
  --color-foreground: #111827;
  --color-foreground-muted: #5F6672;
  --color-border: #E5E7EB;

  /* Semánticos */
  --color-success: #10B981;
  --color-warning: #F59E0B;
  --color-error: #EF4444;
  --color-info: #3B82F6;

  /* ===== Tipografía ===== */
  --font-heading: 'Merriweather', Georgia, 'Times New Roman', serif;
  --font-body: 'Source Sans 3', 'Segoe UI', system-ui, sans-serif;
  --font-size-base: 16px;

  /* Tamaños */
  --text-xs: 0.75rem;
  --text-sm: 0.875rem;
  --text-base: 1rem;
  --text-lg: 1.125rem;
  --text-xl: 1.25rem;
  --text-2xl: 1.5rem;
  --text-3xl: 1.875rem;
  --text-4xl: 2.25rem;
  --text-5xl: 3rem;

  /* ===== Espaciado ===== */
  --space-1: 0.25rem;
  --space-2: 0.5rem;
  --space-3: 0.75rem;
  --space-4: 1rem;
  --space-6: 1.5rem;
  --space-8: 2rem;
  --space-10: 2.5rem;
  --space-12: 3rem;
  --space-16: 4rem;
  --space-20: 5rem;
  --space-24: 6rem;

  /* ===== Bordes ===== */
  --radius-sm: 0.375rem;
  --radius-md: 0.5rem;
  --radius-lg: 0.75rem;
  --radius-xl: 1rem;
  --radius-full: 9999px;

  /* ===== Sombras ===== */
  --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
  --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.08), 0 2px 4px -2px rgb(0 0 0 / 0.05);
  --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.08), 0 4px 6px -4px rgb(0 0 0 / 0.05);
  --shadow-xl: 0 20px 25px -5px rgb(0 0 0 / 0.08), 0 8px 10px -6px rgb(0 0 0 / 0.05);

  /* ===== Transiciones ===== */
  --transition-fast: 150ms ease;
  --transition-base: 200ms ease;
  --transition-slow: 300ms ease;

  /* ===== Z-Index ===== */
  --z-dropdown: 10;
  --z-sticky: 20;
  --z-fixed: 30;
  --z-overlay: 40;
  --z-modal: 50;
  --z-tooltip: 60;
}

/* Reset basico */
*, *::before, *::after {
  box-sizing: border-box;
}

/* Aplicar fuentes globalmente */
body {
  font-family: var(--font-body);
  font-size: var(--font-size-base);
  color: var(--color-foreground);
  background-color: var(--color-background);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  color: var(--color-foreground);
}

h1 { font-weight: 900; line-height: 1.2; }
h2 { font-weight: 700; line-height: 1.3; }
h3 { font-weight: 700; line-height: 1.35; }
h4, h5, h6 { font-weight: 700; line-height: 1.4; }

/* Scroll suave */
html {
  scroll-behavior: smooth;
}

/* Animaciones */
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

.animate-fade-in {
  animation: fadeIn 0.3s ease-out;
}

.animate-fade-in-up {
  animation: fadeInUp 0.5s ease-out;
}
