/* DESIGN TOKENS — danielzarate.com */
:root {
  /* COLORES — Light theme (Kembron style) */
  --bg-base:     #FFFFFF;
  --bg-surface:  #F8FAFC;
  --bg-elevated: #F1F5F9;
  --bg-overlay:  rgba(255,255,255,0.96);

  --color-primary:      #1E40AF;
  --color-primary-dark: #1E3A8A;
  --color-primary-light:#3B82F6;
  --color-primary-glow: rgba(30,64,175,0.08);

  --color-accent:      #0891B2;
  --color-accent-dark: #0E7490;
  --color-accent-glow: rgba(8,145,178,0.10);

  --gradient-brand:      linear-gradient(135deg,#1E40AF 0%,#0891B2 100%);
  --gradient-brand-soft: linear-gradient(135deg,rgba(30,64,175,0.07) 0%,rgba(8,145,178,0.05) 100%);
  --gradient-hero:       radial-gradient(ellipse 80% 60% at 50% -20%,rgba(30,64,175,0.06) 0%,transparent 65%);
  --gradient-text:       linear-gradient(135deg,#1E40AF,#0891B2);
  --gradient-cta:        linear-gradient(135deg,#0891B2 0%,#0284C7 100%);

  --text-base:    #0F172A;
  --text-muted:   #475569;
  --text-faint:   #94A3B8;
  --text-inverse: #FFFFFF;

  --color-success:       #059669;
  --color-whatsapp:      #25D366;
  --color-whatsapp-dark: #1DAE55;

  --border-subtle:  rgba(15,23,42,0.06);
  --border-default: rgba(15,23,42,0.10);
  --border-accent:  rgba(30,64,175,0.22);

  /* TIPOGRAFIA */
  --font-sans: 'Inter',system-ui,sans-serif;
  --font-mono: 'JetBrains Mono','Fira Code',monospace;

  --text-hero: clamp(2.5rem,5vw + 1rem,4.5rem);
  --text-h1:   clamp(2rem,3.5vw + 0.5rem,3.5rem);
  --text-h2:   clamp(1.5rem,2.5vw + 0.25rem,2.25rem);
  --text-h3:   clamp(1.2rem,1.8vw + 0.2rem,1.6rem);
  --text-body: clamp(1rem,1.2vw + 0.1rem,1.125rem);

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

  --lh-tight:   1.15;
  --lh-snug:    1.30;
  --lh-normal:  1.60;
  --lh-relaxed: 1.75;

  --ls-tight:  -0.03em;
  --ls-normal: -0.01em;
  --ls-wide:   0.04em;
  --ls-wider:  0.08em;

  /* ESPACIADO */
  --sp-1:  0.25rem;
  --sp-2:  0.5rem;
  --sp-3:  0.75rem;
  --sp-4:  1rem;
  --sp-6:  1.5rem;
  --sp-8:  2rem;
  --sp-10: 2.5rem;
  --sp-12: 3rem;
  --sp-16: 4rem;
  --sp-20: 5rem;
  --sp-24: 6rem;

  --section-py:  clamp(4rem,8vw,7rem);
  --section-gap: clamp(2.5rem,4vw,4rem);

  /* RADIOS */
  --radius-sm:   0.375rem;
  --radius-md:   0.625rem;
  --radius-lg:   0.875rem;
  --radius-xl:   1.25rem;
  --radius-2xl:  1.75rem;
  --radius-full: 9999px;

  /* SOMBRAS — suaves para fondo claro */
  --shadow-sm:   0 1px 3px rgba(0,0,0,0.07);
  --shadow-md:   0 4px 12px rgba(0,0,0,0.09);
  --shadow-lg:   0 10px 30px rgba(0,0,0,0.11);
  --shadow-xl:   0 20px 60px rgba(0,0,0,0.12);
  --shadow-card: 0 1px 8px rgba(0,0,0,0.06),0 0 0 1px var(--border-default);
  --shadow-card-hover: 0 8px 32px rgba(0,0,0,0.11),0 0 0 1px var(--border-accent);
  --shadow-glow-primary: 0 0 24px rgba(30,64,175,0.12);
  --shadow-btn:       0 4px 16px rgba(8,145,178,0.22);
  --shadow-btn-hover: 0 6px 24px rgba(8,145,178,0.38);
  --shadow-nav:  0 1px 0 var(--border-subtle), 0 4px 16px rgba(0,0,0,0.06);

  /* TRANSICIONES */
  --ease-fast:   150ms ease;
  --ease-base:   250ms ease;
  --ease-slow:   400ms ease;
  --ease-spring: 400ms cubic-bezier(0.34,1.56,0.64,1);
  --ease-out:    300ms cubic-bezier(0,0,0.2,1);

  /* Z-INDEX */
  --z-base:    1;
  --z-raised:  10;
  --z-overlay: 50;
  --z-sticky:  100;
  --z-nav:     200;
  --z-modal:   500;

  /* LAYOUT */
  --container-xl: 1280px;
  --container-lg: 1024px;
  --container-md: 768px;

  --nav-height:         72px;
  --nav-height-compact: 64px;

  /* PATRONES — muy sutil sobre blanco */
  --grid-pattern: url("data:image/svg+xml,%3Csvg width='32' height='32' viewBox='0 0 32 32' xmlns='http://www.w3.org/2000/svg'%3E%3Ccircle cx='1' cy='1' r='1' fill='%231E40AF' fill-opacity='0.06'/%3E%3C/svg%3E");
}
