/* ============================================================
   DIGITAL GROWTH — DESIGN TOKENS v3
   Light theme (fondo blanco) + tipografía Poppins
   ============================================================ */
:root {
  /* Backgrounds — invertidos a claro.
     En light, las superficies "elevadas" son más OSCURAS que el fondo
     (gris muy claro) para que tarjetas y bloques sigan destacando. */
  --dg-bg-primary: #ffffff;
  --dg-bg-elevated: #f7f7f8;
  --dg-bg-subtle: #f0f0f2;
  --dg-bg-overlay: rgba(255, 255, 255, 0.85);
  /* Text — negro con transparencia en vez de blanco con transparencia */
  --dg-text-primary: #1a1a1a;
  --dg-text-secondary: rgba(0, 0, 0, 0.66);
  --dg-text-tertiary: rgba(0, 0, 0, 0.50);
  --dg-text-on-accent: #ffffff;        /* texto sobre el botón azul: sigue blanco */
  /* Brand - sistema de dos azules (sin cambios, funcionan sobre blanco) */
  --dg-blue-structural: #1961A1;
  --dg-blue-accent: #2E89D4;
  --dg-blue-accent-hover: #2473B8;     /* hover algo MÁS oscuro: en claro oscurecer = "presionar" */
  --dg-blue-accent-subtle: rgba(46, 137, 212, 0.10);
  --dg-blue-accent-glow: rgba(46, 137, 212, 0.22);
  /* Borders — negro con transparencia */
  --dg-border-subtle: rgba(0, 0, 0, 0.08);
  --dg-border-default: rgba(0, 0, 0, 0.12);
  --dg-border-strong: rgba(0, 0, 0, 0.20);
  --dg-border-accent: var(--dg-blue-accent);
  /* States (sin cambios) */
  --dg-success: #00a865;               /* verde un punto más oscuro para contraste sobre blanco */
  --dg-warning: #d97706;
  --dg-error: #dc2626;
  /* Typography — Poppins en display y body */
  --dg-font-display: 'Poppins', sans-serif;
  --dg-font-body: 'Poppins', sans-serif;
  --dg-font-mono: ui-monospace, 'SF Mono', 'Monaco', 'Inconsolata', monospace;
  --dg-fs-eyebrow: 0.75rem;
  --dg-fs-body: 1rem;
  --dg-fs-body-lg: 1.125rem;
  --dg-fs-body-sm: 0.875rem;
  --dg-fs-h4: clamp(1.125rem, 2vw, 1.375rem);
  --dg-fs-h3: clamp(1.25rem, 2.5vw, 1.75rem);
  --dg-fs-h2: clamp(1.5rem, 3.5vw, 2.5rem);
  --dg-fs-h1: clamp(2rem, 5vw, 3.5rem);
  --dg-fs-hero: clamp(2.5rem, 6vw, 4.5rem);
  --dg-lh-tight: 1.2;
  --dg-lh-normal: 1.5;
  --dg-lh-relaxed: 1.7;
  --dg-ls-tight: -0.02em;
  --dg-ls-normal: 0;
  --dg-ls-wide: 0.15em;
  /* Spacing scale */
  --dg-space-xs: 0.5rem;
  --dg-space-sm: 1rem;
  --dg-space-md: 1.5rem;
  --dg-space-lg: 2.5rem;
  --dg-space-xl: 4rem;
  --dg-space-2xl: 6rem;
  --dg-space-3xl: 8rem;
  /* Radius */
  --dg-radius-sm: 4px;
  --dg-radius-md: 8px;
  --dg-radius-lg: 12px;
  --dg-radius-xl: 20px;
  --dg-radius-full: 9999px;
  /* Containers */
  --dg-container-max: 1280px;
  --dg-container-narrow: 720px;
  --dg-container-content: 960px;
  --dg-content-padding: clamp(1rem, 4vw, 2rem);
  /* Transitions */
  --dg-transition-fast: 150ms ease;
  --dg-transition-normal: 250ms ease;
  --dg-transition-slow: 400ms ease;
  /* Shadows — en light theme una sombra real funciona mejor que el glow */
  --dg-shadow-glow: 0 0 30px var(--dg-blue-accent-glow);
  --dg-shadow-card: 0 1px 3px rgba(0,0,0,0.06), 0 8px 24px rgba(0,0,0,0.05);
  /* Z-index scale */
  --dg-z-base: 1;
  --dg-z-sticky: 100;
  --dg-z-header: 200;
  --dg-z-overlay: 500;
  --dg-z-modal: 1000;
}