/* ============================================
   CTAT Ingeniería S.A.S. — Design Tokens
   Light Theme | Tailwind Sky Palette
   ============================================ */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Outfit:wght@400;500;600;700;800&family=JetBrains+Mono:wght@400;500&display=swap');

:root {
  /* ── Colors: Backgrounds (Light Sky) ── */
  --bg-primary: #f8fbfe;
  --bg-secondary: #f0f7ff;
  --bg-tertiary: #e4f1fd;
  --bg-card: #ffffff;
  --bg-card-hover: #f0f9ff;
  --bg-glass: rgba(255, 255, 255, 0.82);
  --bg-glass-light: rgba(255, 255, 255, 0.55);
  --bg-overlay: rgba(8, 47, 73, 0.65);
  --bg-input: #ffffff;

  /* ── Colors: Text (Dark on light) ── */
  --text-primary: #0c4a6e;
  --text-secondary: #475569;
  --text-tertiary: #94a3b8;
  --text-inverse: #ffffff;

  /* ── Colors: Accent (Tailwind Sky) ── */
  --accent-teal: #0ea5e9;
  --accent-teal-light: #38bdf8;
  --accent-teal-dark: #0284c7;
  --accent-teal-deep: #0369a1;
  --accent-gold: #f59e0b;
  --accent-gold-light: #fbbf24;
  --accent-success: #10b981;
  --accent-error: #ef4444;
  --accent-warning: #f59e0b;

  /* ── Colors: Gradients ── */
  --gradient-hero: linear-gradient(135deg, #082f49 0%, #0c4a6e 40%, #0369a1 100%);
  --gradient-teal: linear-gradient(135deg, #0284c7 0%, #0ea5e9 100%);
  --gradient-card: linear-gradient(145deg, #ffffff 0%, #f0f9ff 100%);
  --gradient-text: linear-gradient(135deg, #0284c7 0%, #0ea5e9 50%, #f59e0b 100%);
  --gradient-cta: linear-gradient(135deg, #0284c7 0%, #0ea5e9 50%, #38bdf8 100%);
  --gradient-footer: linear-gradient(180deg, #082f49 0%, #041e32 100%);
  --gradient-overlay: linear-gradient(180deg, rgba(8, 47, 73, 0.3) 0%, rgba(8, 47, 73, 0.95) 100%);

  /* ── Colors: Borders ── */
  --border: rgba(14, 165, 233, 0.12);
  --border-hover: rgba(14, 165, 233, 0.30);
  --border-active: rgba(14, 165, 233, 0.50);
  --border-input: rgba(148, 163, 184, 0.35);
  --border-input-focus: rgba(14, 165, 233, 0.55);

  /* ── Colors: Shadows ── */
  --shadow-sm: 0 1px 3px rgba(12, 74, 110, 0.06), 0 1px 2px rgba(12, 74, 110, 0.04);
  --shadow-md: 0 4px 12px rgba(12, 74, 110, 0.07);
  --shadow-lg: 0 8px 24px rgba(12, 74, 110, 0.09);
  --shadow-xl: 0 16px 40px rgba(12, 74, 110, 0.11);
  --shadow-glow: 0 4px 20px rgba(14, 165, 233, 0.12);
  --shadow-glow-strong: 0 8px 35px rgba(14, 165, 233, 0.18);
  --shadow-glow-gold: 0 0 30px rgba(245, 158, 11, 0.15);

  /* ── Typography ── */
  --font-heading: 'Outfit', sans-serif;
  --font-body: 'Inter', sans-serif;
  --font-mono: 'JetBrains Mono', monospace;

  --fs-display: clamp(3rem, 6vw, 5rem);
  --fs-h1: clamp(2.25rem, 5vw, 4rem);
  --fs-h2: clamp(1.75rem, 3.5vw, 2.75rem);
  --fs-h3: clamp(1.25rem, 2.5vw, 1.75rem);
  --fs-h4: clamp(1.1rem, 2vw, 1.35rem);
  --fs-body: 1rem;
  --fs-body-lg: 1.125rem;
  --fs-small: 0.875rem;
  --fs-caption: 0.75rem;
  --fs-badge: 0.8125rem;

  --fw-regular: 400;
  --fw-medium: 500;
  --fw-semibold: 600;
  --fw-bold: 700;
  --fw-extrabold: 800;

  --lh-tight: 1.15;
  --lh-heading: 1.25;
  --lh-body: 1.7;
  --lh-relaxed: 1.85;

  --ls-tight: -0.02em;
  --ls-normal: 0;
  --ls-wide: 0.05em;
  --ls-wider: 0.1em;

  /* ── Spacing ── */
  --space-2xs: 0.125rem;
  --space-xs: 0.25rem;
  --space-sm: 0.5rem;
  --space-md: 1rem;
  --space-lg: 1.5rem;
  --space-xl: 2rem;
  --space-2xl: 3rem;
  --space-3xl: 4rem;
  --space-4xl: 6rem;
  --space-section: clamp(4rem, 10vw, 8rem);

  /* ── Layout ── */
  --container-max: 1280px;
  --container-narrow: 900px;
  --container-wide: 1440px;
  --container-padding: clamp(1rem, 4vw, 2rem);
  --navbar-height: 80px;
  --navbar-height-scrolled: 64px;

  /* ── Border Radius ── */
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --radius-full: 9999px;

  /* ── Transitions ── */
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);
  --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
  --duration-fast: 200ms;
  --duration-normal: 350ms;
  --duration-slow: 500ms;
  --duration-slower: 700ms;

  /* ── Z-index ── */
  --z-base: 1;
  --z-dropdown: 100;
  --z-sticky: 200;
  --z-overlay: 500;
  --z-modal: 600;
  --z-navbar: 1000;
  --z-toast: 1100;

  /* ── Glassmorphism ── */
  --glass-blur: blur(20px);
  --glass-blur-strong: blur(40px);
  --glass-saturate: saturate(180%);
}
