/* ============================================
   VARIABLES GLOBALES - C&C COMUNICACIONES
   Versión: 2.1 - Corregido y Unificado
   Encoding: UTF-8
   ============================================ */

:root {
    /* ========== COLORES DE MARCA ========== */
    /* Principales */
    --primary-yellow: #FFEA2A;
    --primary-turquoise: #006D7F;
    --secondary-green: #91D754;
    --accent-orange: #FF6B35;
    
    /* Variantes */
    --yellow-bright: #FFD700;
    --yellow-dark: #E5C200;
    --turquoise-light: #00948B;
    --turquoise-dark: #004E5A;
    --green-light: #A8E178;
    --green-dark: #7BC045;
    
    /* ========== COLORES NEUTROS ========== */
    --dark: #0F1823;
    --dark-soft: #2F4858;
    --dark-medium: #1a2332;
    --light: #F8F9FA;
    --light-gray: #F5F7FB;
    --white: #FFFFFF;
    
    /* ========== COLORES DE TEXTO ========== */
    --text-primary: #0F1823;
    --text-secondary: #4B5563;
    --text-muted: #9CA3AF;
    --text-light: #6B778D;
    --text-white: rgba(255, 255, 255, 0.9);
    
    /* ========== COLORES DE ESTADO ========== */
    --success: #10b981;
    --success-light: #d1fae5;
    --warning: #f59e0b;
    --warning-light: #fef3c7;
    --error: #ef4444;
    --error-light: #fee2e2;
    --info: #3b82f6;
    --info-light: #dbeafe;
    
    /* ========== BACKGROUNDS ========== */
    --bg-primary: #FFFFFF;
    --bg-secondary: #F8F9FA;
    --bg-dark: #0F1823;
    --bg-gradient-primary: linear-gradient(135deg, var(--primary-yellow) 0%, var(--secondary-green) 100%);
    --bg-gradient-dark: linear-gradient(135deg, var(--primary-turquoise) 0%, var(--dark) 100%);
    --bg-gradient-hero: linear-gradient(135deg, #006D7F 0%, #0F1823 100%);
    
    /* ========== SOMBRAS ========== */
    --shadow-xs: 0 1px 2px rgba(0, 0, 0, 0.05);
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.08);
    --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.12);
    --shadow-lg: 0 8px 30px rgba(0, 0, 0, 0.16);
    --shadow-xl: 0 12px 40px rgba(0, 0, 0, 0.2);
    --shadow-2xl: 0 20px 60px rgba(0, 0, 0, 0.25);
    
    /* Sombras de color */
    --shadow-yellow: 0 4px 20px rgba(255, 234, 42, 0.3);
    --shadow-green: 0 4px 20px rgba(145, 215, 84, 0.3);
    --shadow-turquoise: 0 4px 20px rgba(0, 109, 127, 0.3);
    
    /* ========== TRANSICIONES ========== */
    --transition-fast: 0.15s ease;
    --transition-normal: 0.3s ease;
    --transition-slow: 0.5s ease;
    --transition-cubic: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    
    /* ========== TIPOGRAFÍA ========== */
    /* Font Families */
    --font-primary: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    --font-heading: 'Montserrat', var(--font-primary);
    --font-mono: 'Courier New', monospace;
    
    /* Font Sizes */
    --text-xs: 0.75rem;      /* 12px */
    --text-sm: 0.875rem;     /* 14px */
    --text-base: 1rem;       /* 16px */
    --text-lg: 1.125rem;     /* 18px */
    --text-xl: 1.25rem;      /* 20px */
    --text-2xl: 1.5rem;      /* 24px */
    --text-3xl: 1.875rem;    /* 30px */
    --text-4xl: 2.25rem;     /* 36px */
    --text-5xl: 3rem;        /* 48px */
    
    /* Font Weights */
    --font-light: 300;
    --font-normal: 400;
    --font-medium: 500;
    --font-semibold: 600;
    --font-bold: 700;
    --font-extrabold: 800;
    --font-black: 900;
    
    /* Line Heights */
    --leading-tight: 1.25;
    --leading-snug: 1.375;
    --leading-normal: 1.5;
    --leading-relaxed: 1.625;
    --leading-loose: 2;
    
    /* ========== ESPACIADO ========== */
    /* Sistema 8pt */
    --space-xs: 0.5rem;      /* 8px */
    --space-sm: 1rem;        /* 16px */
    --space-md: 1.5rem;      /* 24px */
    --space-lg: 2rem;        /* 32px */
    --space-xl: 3rem;        /* 48px */
    --space-2xl: 4rem;       /* 64px */
    --space-3xl: 6rem;       /* 96px */
    --space-4xl: 8rem;       /* 128px */
    
    /* ========== BORDES ========== */
    --border-radius-sm: 8px;
    --border-radius-md: 12px;
    --border-radius-lg: 18px;
    --border-radius-xl: 24px;
    --border-radius-full: 999px;
    --border-width: 1px;
    --border-width-thick: 2px;
    --border-color: rgba(0, 0, 0, 0.1);
    --border-color-light: rgba(0, 0, 0, 0.05);
    
    /* ========== LAYOUT ========== */
    --container-xs: 480px;
    --container-sm: 640px;
    --container-md: 768px;
    --container-lg: 1024px;
    --container-xl: 1280px;
    --container-2xl: 1536px;
    
    --header-height: 80px;
    --header-height-scrolled: 70px;
    --footer-min-height: 400px;
    
    /* ========== Z-INDEX ========== */
    --z-dropdown: 1000;
    --z-sticky: 1020;
    --z-fixed: 1030;
    --z-modal-backdrop: 1040;
    --z-modal: 1050;
    --z-popover: 1060;
    --z-tooltip: 1070;
    
    /* ========== ANIMACIONES ========== */
    --animation-duration: 0.3s;
    --animation-timing: cubic-bezier(0.4, 0, 0.2, 1);
    
    /* ========== BACKDROP BLUR ========== */
    --blur-sm: blur(4px);
    --blur-md: blur(8px);
    --blur-lg: blur(12px);
    --blur-xl: blur(20px);
    
    /* ========== COLORES DE SECCIONES ========== */
    --section-light-bg: #FDF9EC;
    --section-muted-bg: #f4f7f9;
}

/* ========== REDUCED MOTION ========== */
@media (prefers-reduced-motion: reduce) {
    :root {
        --transition-fast: 0s;
        --transition-normal: 0s;
        --transition-slow: 0s;
        --animation-duration: 0s;
    }
    
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* ========== UTILITY CLASSES ========== */

/* Text Colors */
.text-primary { color: var(--text-primary); }
.text-secondary { color: var(--text-secondary); }
.text-muted { color: var(--text-muted); }
.text-white { color: var(--white); }

/* Background Colors */
.bg-primary { background-color: var(--bg-primary); }
.bg-secondary { background-color: var(--bg-secondary); }
.bg-dark { background-color: var(--bg-dark); }
.bg-light { background-color: var(--light); }

/* Shadows */
.shadow-sm { box-shadow: var(--shadow-sm); }
.shadow-md { box-shadow: var(--shadow-md); }
.shadow-lg { box-shadow: var(--shadow-lg); }
.shadow-xl { box-shadow: var(--shadow-xl); }

/* Border Radius */
.rounded-sm { border-radius: var(--border-radius-sm); }
.rounded-md { border-radius: var(--border-radius-md); }
.rounded-lg { border-radius: var(--border-radius-lg); }
.rounded-full { border-radius: var(--border-radius-full); }
