/* ==========================================================================
   VARIABLES.CSS — Minimalist (Notion / Linear style)
   Clean, neutral, tipografía única, sin ornamentos
   ========================================================================== */

:root {
  /* ---- Core Palette (Notion-inspired) ---- */
  --background: #FFFFFF;
  --foreground: #37352F;
  --card: #FFFFFF;
  --card-foreground: #37352F;
  --primary: #37352F;
  --primary-foreground: #FFFFFF;
  --secondary: #F7F6F3;
  --muted: #F1F1EF;
  --muted-foreground: #787774;
  --accent: #37352F;
  --accent-hover: #000000;
  --accent-subtle: rgba(55, 53, 47, 0.06);
  --border: #EBEAE7;
  --border-light: #F1F1EF;
  --destructive: #E03E3E;
  --emerald: #0F7B6C;

  /* ---- Text Colors ---- */
  --text-primary: #37352F;
  --text-secondary: #787774;
  --text-muted: #9B9A97;
  --text-placeholder: #B8B7B4;

  /* ---- Mapped Aliases (backward-compat) ---- */
  --color-primary: #37352F;
  --color-primary-light: #4E4C47;
  --color-primary-dark: #1A1A18;
  --color-primary-50: rgba(55, 53, 47, 0.04);
  --color-primary-100: rgba(55, 53, 47, 0.06);
  --color-primary-200: rgba(55, 53, 47, 0.12);

  --color-accent: #37352F;
  --color-accent-light: #4E4C47;
  --color-accent-dark: #000000;
  --color-accent-50: rgba(55, 53, 47, 0.04);
  --color-accent-100: rgba(55, 53, 47, 0.08);
  --color-accent-200: rgba(55, 53, 47, 0.14);

  /* ---- Semantic / Status (muted) ---- */
  --color-success: #0F7B6C;
  --color-success-light: #EDF3F1;
  --color-success-dark: #0A5D52;
  --color-warning: #CB912F;
  --color-warning-light: #FAF3E8;
  --color-warning-dark: #96690A;
  --color-danger: #E03E3E;
  --color-danger-light: #FBECEC;
  --color-danger-dark: #B42424;
  --color-info: #337EA9;
  --color-info-light: #EDF3F7;
  --color-info-dark: #225A7C;

  /* ---- Neutrals ---- */
  --color-white: #FFFFFF;
  --color-bg: #FFFFFF;
  --color-bg-subtle: #F7F6F3;
  --color-bg-card: #FFFFFF;
  --color-bg-sidebar: #FFFFFF;
  --color-border: #EBEAE7;
  --color-border-light: #F1F1EF;
  --color-text: #37352F;
  --color-text-secondary: #787774;
  --color-text-light: #9B9A97;
  --color-text-muted: #9B9A97;
  --color-text-placeholder: #B8B7B4;

  /* ---- Sponsor Tiers (neutros, diferenciados solo por intensidad) ---- */
  --color-tier-main: #37352F;
  --color-tier-main-bg: rgba(55, 53, 47, 0.08);
  --color-tier-leading: #4E4C47;
  --color-tier-leading-bg: rgba(55, 53, 47, 0.06);
  --color-tier-partner: #787774;
  --color-tier-partner-bg: rgba(120, 119, 116, 0.08);
  --color-tier-cosponsor: #9B9A97;
  --color-tier-cosponsor-bg: rgba(155, 154, 151, 0.10);
  --color-tier-collaborator: #B8B7B4;
  --color-tier-collaborator-bg: rgba(184, 183, 180, 0.12);

  /* ---- Team Colors (sutiles) ---- */
  --color-team-1: #37352F;
  --color-team-2: #0F7B6C;
  --color-team-3: #CB912F;
  --color-team-4: #337EA9;
  --color-team-5: #9065B0;
  --color-team-6: #A87968;

  /* ---- Typography (solo Inter, sin serif) ---- */
  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-serif: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-display: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-mono: 'SF Mono', 'Fira Code', Menlo, Consolas, monospace;

  --text-xs: 0.75rem;      /* 12px */
  --text-sm: 0.8125rem;    /* 13px */
  --text-base: 0.875rem;   /* 14px */
  --text-md: 0.9375rem;    /* 15px */
  --text-lg: 1.0625rem;    /* 17px */
  --text-xl: 1.25rem;      /* 20px */
  --text-2xl: 1.5rem;      /* 24px */
  --text-3xl: 1.875rem;    /* 30px */
  --text-4xl: 2.25rem;     /* 36px */
  --text-5xl: 3rem;        /* 48px */

  --leading-tight: 1.2;
  --leading-snug: 1.35;
  --leading-normal: 1.5;
  --leading-relaxed: 1.6;

  --tracking-tight: -0.015em;
  --tracking-normal: 0;
  --tracking-wide: 0.01em;
  --tracking-wider: 0.03em;
  --tracking-widest: 0.06em;

  /* ---- Spacing (4px base) ---- */
  --space-1: 0.25rem;
  --space-2: 0.5rem;
  --space-3: 0.75rem;
  --space-4: 1rem;
  --space-5: 1.25rem;
  --space-6: 1.5rem;
  --space-8: 2rem;
  --space-10: 2.5rem;
  --space-12: 3rem;
  --space-16: 4rem;

  /* ---- Border Radius (reducido) ---- */
  --radius-xs: 3px;
  --radius-sm: 4px;
  --radius: 6px;
  --radius-lg: 8px;
  --radius-xl: 10px;
  --radius-full: 9999px;

  /* ---- Shadows (muy sutiles, casi imperceptibles) ---- */
  --shadow-xs: 0 1px 2px rgba(15, 15, 15, 0.03);
  --shadow-sm: 0 1px 2px rgba(15, 15, 15, 0.04);
  --shadow-md: 0 2px 4px rgba(15, 15, 15, 0.05), 0 1px 2px rgba(15, 15, 15, 0.03);
  --shadow-lg: 0 4px 8px rgba(15, 15, 15, 0.06), 0 2px 4px rgba(15, 15, 15, 0.04);
  --shadow-xl: 0 8px 16px rgba(15, 15, 15, 0.08);
  --shadow-inner: inset 0 1px 2px rgba(15, 15, 15, 0.04);
  --shadow-focus: 0 0 0 2px rgba(55, 53, 47, 0.15);
  --shadow-focus-danger: 0 0 0 2px rgba(224, 62, 62, 0.15);
  --card-shadow: none;
  --card-shadow-hover: 0 1px 3px rgba(15, 15, 15, 0.06);

  /* ---- Layout ---- */
  --sidebar-width: 240px;
  --sidebar-collapsed: 56px;
  --header-height: 48px;
  --content-max-width: 1400px;

  /* ---- Transitions ---- */
  --transition-fast: 0.1s ease;
  --transition: 0.15s ease;
  --transition-slow: 0.25s ease;
  --transition-layout: 0.2s cubic-bezier(0.4, 0, 0.2, 1);

  /* ---- Z-Index Scale ---- */
  --z-base: 1;
  --z-dropdown: 50;
  --z-sticky: 60;
  --z-sidebar: 100;
  --z-overlay: 150;
  --z-modal: 200;
  --z-toast: 999;
}
