/* ============================================================
   ACADEMIA MAGNA — Design Tokens
   magna-academia.org
   ============================================================ */

:root {
  /* --- Paleta principal --- */
  --bosque:        #2d6a4f;
  --bosque-claro:  #40916c;
  --bosque-suave:  #d8f3dc;
  --arcilla:       #c17a50;
  --arcilla-suave: #f0ddd1;
  --arena:         #f5f0e8;
  --arena-oscura:  #ede6d8;
  --blanco:        #ffffff;
  --tinta:         #1a1a2e;
  --tinta-media:   #2d2d44;
  --gris:          #6b7280;
  --gris-claro:    #e5e7eb;

  /* --- Tipografía --- */
  --font-display: 'DM Serif Display', Georgia, 'Times New Roman', serif;
  --font-body:    'Source Sans 3', 'Helvetica Neue', Arial, sans-serif;

  /* --- Escala tipográfica (ratio 1.25 - Major Third) --- */
  --text-xs:   0.64rem;   /* 10.2px */
  --text-sm:   0.8rem;    /* 12.8px */
  --text-base: 1rem;      /* 16px   */
  --text-md:   1.25rem;   /* 20px   */
  --text-lg:   1.563rem;  /* 25px   */
  --text-xl:   1.953rem;  /* 31.2px */
  --text-2xl:  2.441rem;  /* 39px   */
  --text-3xl:  3.052rem;  /* 48.8px */
  --text-4xl:  3.815rem;  /* 61px   */

  /* --- Espaciado --- */
  --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;
  --space-20: 5rem;
  --space-24: 6rem;
  --space-32: 8rem;

  /* --- Layout --- */
  --container-max: 1160px;
  --container-pad: 1.5rem;
  --radius-sm:  6px;
  --radius-md:  10px;
  --radius-lg:  16px;
  --radius-xl:  24px;
  --radius-full: 9999px;

  /* --- Sombras --- */
  --shadow-sm:  0 1px 3px rgba(26,26,46,0.08), 0 1px 2px rgba(26,26,46,0.04);
  --shadow-md:  0 4px 12px rgba(26,26,46,0.10), 0 2px 6px rgba(26,26,46,0.06);
  --shadow-lg:  0 10px 30px rgba(26,26,46,0.12), 0 4px 12px rgba(26,26,46,0.06);
  --shadow-card: 0 2px 8px rgba(26,26,46,0.06), 0 1px 3px rgba(26,26,46,0.04);

  /* --- Transiciones --- */
  --ease-out:  cubic-bezier(0.22, 1, 0.36, 1);
  --duration:  0.3s;

  /* --- Header height (para offset de anchors) --- */
  --header-h: 72px;
}

/* ============================================================
   Breakpoints de referencia (no son variables CSS, son media queries):
   Mobile:  < 640px  (base)
   Tablet:  640px – 1023px
   Desktop: 1024px+
   Wide:    1280px+
   ============================================================ */
