/* ============================================================
   DESIGN TOKENS — Ciudad Virtual Platform
   Brand: Ciudad Virtual · Ecosistema digital · membresías · experiencias conectadas
   Source: Multi-Brand DS · https://www.datacentral.space/Multi-Brand%20DS.html
   ============================================================ */

:root {
  /* Brand — Ciudad Virtual */
  --clr-primary:        #24E0A7;
  --clr-primary-light:  #E4FFF6;
  --clr-primary-dark:   #13A978;
  --clr-primary-alpha:  rgba(36, 224, 167, 0.08);
  --clr-on-primary:     #050706;

  /* Neutrals */
  --clr-text:           #101413;
  --clr-text-2:         #5A6661;
  --clr-text-3:         #9FA9A5;
  --clr-bg:             #F6FAF8;
  --clr-surface:        #FFFFFF;
  --clr-border:         #DDE7E3;
  --clr-border-light:   #EEF4F1;

  /* Semantic */
  --clr-success:        #0E8A3E;
  --clr-success-bg:     #E9F9E6;
  --clr-warning:        #C47A00;
  --clr-warning-bg:     #FFF9E6;
  --clr-info:           #0B50C5;
  --clr-info-bg:        #E7EEF9;
  --clr-expired:        #9FA9A5;
  --clr-expired-bg:     #F1F3F5;

  /* Badge tints */
  --badge-instant:      #E4FFF6;
  --badge-instant-txt:  #0A6B4A;
  --badge-sched:        #FFF9E6;
  --badge-sched-txt:    #7A4D00;
  --badge-exclusive:    #E4FFF6;
  --badge-exclusive-txt:#13A978;

  /* Typography */
  --font:               'Inter', -apple-system, sans-serif;
  --font-display:       'Inter Display', 'Inter', sans-serif;
  --fw-regular:         400;
  --fw-medium:          500;
  --fw-semibold:        600;
  --fw-bold:            700;
  --fw-extrabold:       800;

  /* Type scale */
  --text-xs:   11px;
  --text-sm:   13px;
  --text-base: 15px;
  --text-md:   17px;
  --text-lg:   20px;
  --text-xl:   24px;
  --text-2xl:  30px;
  --text-3xl:  38px;
  --text-4xl:  48px;

  /* Spacing (4px base) */
  --sp-1:  4px;
  --sp-2:  8px;
  --sp-3:  12px;
  --sp-4:  16px;
  --sp-5:  20px;
  --sp-6:  24px;
  --sp-8:  32px;
  --sp-10: 40px;
  --sp-12: 48px;
  --sp-16: 64px;
  --sp-20: 80px;

  /* Radius — Ciudad Virtual */
  --r-sm:   4px;
  --r-md:   8px;
  --r-lg:   8px;
  --r-xl:   8px;
  --r-full: 999px;

  /* Aliases (used by component CSS) */
  --radius-sm: var(--r-sm);
  --radius-md: var(--r-md);
  --radius-lg: var(--r-lg);
  --radius-xl: var(--r-xl);

  /* Shadows */
  --shadow-xs: 0 1px 2px rgba(16,20,19,0.05);
  --shadow-sm: 0 1px 4px rgba(16,20,19,0.06), 0 2px 8px rgba(16,20,19,0.04);
  --shadow-md: 0 4px 12px rgba(16,20,19,0.07), 0 2px 4px rgba(16,20,19,0.04);
  --shadow-lg: 0 8px 28px rgba(16,20,19,0.09), 0 2px 8px rgba(16,20,19,0.04);
  --shadow-xl: 0 20px 60px rgba(16,20,19,0.12);
  --shadow-primary: 0 4px 16px rgba(36,224,167,0.30);

  /* Motion */
  --ease:      cubic-bezier(0.4, 0, 0.2, 1);
  --ease-out:  cubic-bezier(0, 0, 0.2, 1);
  --dur-fast:  150ms;
  --dur-base:  220ms;
  --dur-slow:  380ms;

  /* Layout */
  --nav-h:         64px;
  --mobile-nav-h:  56px;
  --bottom-bar-h:  68px;
  --max-w:         1280px;
  --pad:           clamp(16px, 4vw, 32px);
  --card-radius:   var(--r-lg);
}

@media (max-width: 768px) {
  :root {
    --text-3xl: 28px;
    --text-4xl: 36px;
  }
}
