/* ==========================================================================
   404 · strategic digital solutions — Tokens de marca
   Fichero: web/assets/css/brand.css  ·  Requiere fonts.css (familias).
   --------------------------------------------------------------------------
   SOLO tokens (sin estilos de componentes). Comunes a las 3 propuestas de home:
   cada propuesta puede crear sus propios alias semánticos encima de estos.
   En Elementor serán los Colores y Tipografías globales (mismo nombre).

   Contrastes WCAG medidos (texto sobre fondo):
     rojo  #FD0135 / tinta #0E131F ....... 4,62:1  ✔ AA texto normal
     rojo  #FD0135 / ink-deep #090C14 .... 4,87:1  ✔
     rojo  #FD0135 / ink-abyss #05070B ... 5,02:1  ✔
     rojo  #FD0135 / ink-raised #161C2B .. 4,24:1  ✘ normal (solo ≥ 24 px o ≥ 19 px bold)
     tinta #0E131F / rojo #FD0135 ........ 4,62:1  ✔ → texto de botones rojos en tinta
     blanco #FFF   / rojo #FD0135 ........ 4,01:1  ✘ normal (solo ≥ 24 px o ≥ 19 px bold)
     coral #F25A4B / tinta ............... 5,60:1  ✔
     crema #FBF1E9 / tinta ............... 16,67:1 ✔
     blanco 72 % / tinta ................. 9,88:1  ✔ · blanco 56 % → 6,35:1 ✔ · 48 % → 4,97:1 ✔
   ========================================================================== */

:root {
  /* --- Paleta de marca ---------------------------------------------------- */
  --brand-red: #FD0135;          /* rojo del logo (numerales "404") */
  --brand-red-sheet: #FF0134;    /* rojo de la lámina de marca (±1 unidad del anterior) */
  --brand-coral: #F25A4B;
  --brand-cream: #FBF1E9;
  --brand-ink: #0E131F;          /* tinta: negro azulado de marca */

  /* Canales RGB para transparencias: rgb(var(--brand-red-rgb) / 0.2) */
  --brand-red-rgb: 253 1 53;
  --brand-coral-rgb: 242 90 75;
  --brand-cream-rgb: 251 241 233;
  --brand-ink-rgb: 14 19 31;

  /* --- Negros de profundidad (derivados de la tinta, mismo matiz) --------- */
  --brand-ink-deep: #090C14;     /* fondo principal más profundo */
  --brand-ink-abyss: #05070B;    /* casi negro: vídeo, overlays, pie */
  --brand-ink-raised: #161C2B;   /* superficie elevada (tarjetas, megamenú) */
  --brand-ink-line: #252C3D;     /* filetes y bordes sobre tinta */
  --brand-logo-black: #1D1D1B;   /* negro real del logo (versión negra) */

  /* --- Blancos ------------------------------------------------------------ */
  --brand-white: #FFFFFF;
  --brand-white-88: rgb(255 255 255 / 0.88);  /* texto principal suavizado */
  --brand-white-72: rgb(255 255 255 / 0.72);  /* texto secundario */
  --brand-white-56: rgb(255 255 255 / 0.56);  /* texto terciario / metadatos */
  --brand-white-12: rgb(255 255 255 / 0.12);  /* líneas finas */
  --brand-white-06: rgb(255 255 255 / 0.06);  /* velos y rellenos sutiles */

  /* --- Mínimos semánticos de marca ---------------------------------------- */
  --brand-on-red: var(--brand-ink);           /* texto sobre superficies rojas */
  --brand-on-cream: var(--brand-ink);

  /* --- Familias ------------------------------------------------------------ */
  --font-display: "Garet", "Garet Fallback", "Avenir Next", "Helvetica Neue", Arial, sans-serif;
  --font-body: "Garet", "Garet Fallback", "Avenir Next", "Helvetica Neue", Arial, sans-serif;
  --font-serif: "DM Serif Display", "DM Serif Display Fallback", Georgia, "Times New Roman", serif;
  --font-mono: ui-monospace, "SFMono-Regular", "SF Mono", Menlo, Consolas, "Liberation Mono", monospace;

  /* --- Pesos disponibles (no hay más cortes cargados) --------------------- */
  --font-weight-body: 400;       /* Garet Book */
  --font-weight-display: 800;    /* Garet Heavy (800–900) */
  --font-weight-serif: 400;      /* DM Serif Display (normal e italic) */
}
