/*
  GOTOCHECK - CORE CSS
  Variables, reset y estilos base unificados
  Fecha: Octubre 2025
  ⚠️ ESTE ARCHIVO ES LA BASE - NO MODIFICAR SIN REVISAR IMPACTO
*/

/* === VARIABLES CSS UNIFICADAS === */
:root {
  /* === COLORES MARCA (Pantone 130C auténtico) === */
  --gc-primary: #E6C200;        
  --gc-primary-light: #F0CE33;  
  --gc-primary-dark: #D4AF37;   
  --gc-primary-darker: #B8941F;
  
  /* === TONOS MOSTAZA SUAVES PARA NAVEGACIÓN === */
  --gc-primary-soft: rgba(228, 183, 55, 0.9);     /* Mostaza suave hover */
  --gc-primary-soft-light: rgba(240, 206, 51, 0.8); /* Mostaza más claro */ 

  /* === COLORES COMPLEMENTARIOS === */
  --gc-secondary: #1E3A8A;      
  --gc-secondary-light: #3B82F6; 
  --gc-secondary-dark: #1E40AF;  
  --gc-secondary-darker: #1E293B; 

  /* === COLORES NEUTROS === */
  --gc-white: #FFFFFF;
  --gc-black: #000000;
  --gc-gray-50: #FAFBFC;        
  --gc-gray-100: #F4F6F8;       
  --gc-gray-200: #E8ECF0;       
  --gc-gray-300: #D1D9E0;       
  --gc-gray-400: #9CA3AF;       
  --gc-gray-500: #6B7280;       
  --gc-gray-600: #4B5563;       
  --gc-gray-700: #374151;       
  --gc-gray-800: #1F2937;       
  --gc-gray-900: #111827;       

  /* === COLORES DE ESTADO === */
  --gc-success: #1E3A8A;        
  --gc-success-light: #3B82F6;
  --gc-success-dark: #1E40AF;
  --gc-warning: #F59E0B;        
  --gc-warning-light: #FBBF24;
  --gc-warning-dark: #D97706;
  --gc-error: #EF4444;          
  --gc-error-light: #F87171;
  --gc-error-dark: #DC2626;
  --gc-info: #E6C200;           
  --gc-info-light: #F0CE33;
  --gc-info-dark: #B8941F;

  /* === GRADIENTES === */
  --gc-gradient-primary: linear-gradient(135deg, var(--gc-primary), var(--gc-primary-light));
  --gc-gradient-secondary: linear-gradient(135deg, var(--gc-secondary), var(--gc-secondary-light));
  --gc-gradient-hero: linear-gradient(135deg, var(--gc-primary) 0%, var(--gc-secondary) 100%);
  --gc-gradient-subtle: linear-gradient(135deg, var(--gc-gray-50) 0%, var(--gc-gray-100) 100%);

  /* === TIPOGRAFÍA === */
  --gc-font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --gc-font-mono: 'SF Mono', Monaco, 'Cascadia Code', 'Roboto Mono', Consolas, monospace;
  --gc-font-size-xs: 0.75rem;    /* 12px */
  --gc-font-size-sm: 0.875rem;   /* 14px */
  --gc-font-size-base: 1rem;     /* 16px */
  --gc-font-size-lg: 1.125rem;   /* 18px */
  --gc-font-size-xl: 1.25rem;    /* 20px */
  --gc-font-size-2xl: 1.5rem;    /* 24px */
  --gc-font-size-3xl: 1.875rem;  /* 30px */
  --gc-font-size-4xl: 2.25rem;   /* 36px */

  /* === ESPACIADO SISTEMÁTICO === */
  --gc-space-0: 0;
  --gc-space-1: 0.25rem;    /* 4px */
  --gc-space-2: 0.5rem;     /* 8px */
  --gc-space-3: 0.75rem;    /* 12px */
  --gc-space-4: 1rem;       /* 16px */
  --gc-space-5: 1.25rem;    /* 20px */
  --gc-space-6: 1.5rem;     /* 24px */
  --gc-space-8: 2rem;       /* 32px */
  --gc-space-10: 2.5rem;    /* 40px */
  --gc-space-12: 3rem;      /* 48px */
  --gc-space-16: 4rem;      /* 64px */
  --gc-space-20: 5rem;      /* 80px */

  /* === BORDES REDONDEADOS === */
  --gc-radius-none: 0;
  --gc-radius-sm: 0.5rem;       /* 8px */
  --gc-radius: 0.75rem;         /* 12px */
  --gc-radius-lg: 1rem;         /* 16px */
  --gc-radius-xl: 1.25rem;      /* 20px */
  --gc-radius-2xl: 1.5rem;      /* 24px */
  --gc-radius-full: 9999px;     /* Circular */

  /* === SOMBRAS === */
  --gc-shadow-none: none;
  --gc-shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  --gc-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
  --gc-shadow-md: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
  --gc-shadow-lg: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
  --gc-shadow-xl: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
  --gc-shadow-inner: inset 0 2px 4px 0 rgba(0, 0, 0, 0.06);

  /* === TRANSICIONES === */
  --gc-transition-none: none;
  --gc-transition-fast: all 0.15s cubic-bezier(0.4, 0, 0.2, 1);
  --gc-transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --gc-transition-slow: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);

  /* === Z-INDEX SISTEMÁTICO === */
  --gc-z-0: 0;
  --gc-z-10: 10;
  --gc-z-20: 20;
  --gc-z-30: 30;
  --gc-z-40: 40;
  --gc-z-50: 50;
  --gc-z-dropdown: 1000;
  --gc-z-modal: 2000;
  --gc-z-tooltip: 3000;

  /* === BREAKPOINTS (para uso en JS) === */
  --gc-breakpoint-sm: 576px;
  --gc-breakpoint-md: 768px;
  --gc-breakpoint-lg: 992px;
  --gc-breakpoint-xl: 1200px;
  --gc-breakpoint-2xl: 1400px;
}

/* === RESET Y NORMALIZE === */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  line-height: 1.15;
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--gc-font-family);
  font-size: var(--gc-font-size-base);
  font-weight: 400;
  line-height: 1.6;
  color: var(--gc-gray-700);
  background-color: var(--gc-gray-50);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeSpeed;
}

/* === ELEMENTOS BASE === */
h1, h2, h3, h4, h5, h6 {
  margin: 0 0 var(--gc-space-4) 0;
  font-weight: 600;
  line-height: 1.25;
  color: var(--gc-gray-900);
}

h1 { font-size: var(--gc-font-size-3xl); }
h2 { font-size: var(--gc-font-size-2xl); }
h3 { font-size: var(--gc-font-size-xl); }
h4 { font-size: var(--gc-font-size-lg); }
h5 { font-size: var(--gc-font-size-base); }
h6 { font-size: var(--gc-font-size-sm); }

p {
  margin: 0 0 var(--gc-space-4) 0;
  line-height: 1.6;
}

a {
  color: var(--gc-primary-dark);
  text-decoration: none;
  transition: var(--gc-transition-fast);
}

a:hover {
  color: var(--gc-primary-darker);
  text-decoration: underline;
}

button {
  font-family: inherit;
  font-size: inherit;
  line-height: inherit;
  margin: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
}

input, textarea, select {
  font-family: inherit;
  font-size: inherit;
  line-height: inherit;
}

img {
  max-width: 100%;
  height: auto;
  vertical-align: middle;
}

/* === UTILIDADES BÁSICAS === */
.gc-sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.gc-hidden {
  display: none !important;
}

.gc-invisible {
  visibility: hidden !important;
}

/* === CLASES DE DISPLAY RESPONSIVE === */
.gc-desktop-only {
  display: block;
}

.gc-mobile-only {
  display: none;
}

/* Media queries se definirán en desktop/mobile específicos */