/*
 * YEService Computer — tokens de diseño.
 *
 * Paleta medida sobre el logo 2026 (azul marino, azul, celeste y naranja). Para ajustar la
 * marca cambia el bloque «Marca»; los componentes leen solo los «Roles».
 * Ningún otro archivo escribe colores directos.
 *
 * Breakpoints del tema (las media queries no admiten variables):
 *   480px  móvil grande · 768px  tablet · 1024px  laptop · 1280px  escritorio · 1536px  monitor grande
 */
@font-face { font-family: "Unbounded"; src: url("../fonts/unbounded-latin.woff2") format("woff2"); font-weight: 400 900; font-style: normal; font-display: swap; }
@font-face { font-family: "Onest"; src: url("../fonts/onest-latin.woff2") format("woff2"); font-weight: 400 700; font-style: normal; font-display: swap; }

:root {
  color-scheme: light;

  /* ---- Marca: colores tomados del logo YEService Computer ---- */
  --ys-indigo: #0057b8;            /* azul del centro de «YES»: acción y estructura */
  --ys-indigo-deep: #03205f;       /* azul marino: «YES» arriba y «COMPUTER» */
  --ys-blue: #0094e1;              /* transición del degradado */
  --ys-sky: #00befb;               /* celeste: «YES» abajo */
  --ys-orange: #ff5600;            /* «ervice» */
  --ys-brand-rule: linear-gradient(90deg, #00296d 0%, #004dae 32%, #3b2d74 52%, #8f3d30 64%, #cf4e05 80%, #ff5a00 100%); /* línea bajo «ervice» */
  --ys-brand-letters: linear-gradient(180deg, #03205f 0%, #015ab9 55%, #00befb 100%); /* relleno de «YES» */

  /* ---- Roles (los componentes solo leen estos) ---- */
  --ys-accent: var(--ys-orange);       /* comprar, ofertas, acción principal */
  --ys-accent-strong: #ff6d1f;
  --ys-on-accent: #1c0c02;             /* texto sobre naranja (contraste 5.9:1) */
  --ys-accent-soft: #fff0e6;
  --ys-primary: var(--ys-indigo);      /* acción secundaria fuerte, estructura */
  --ys-primary-strong: #0a66d1;
  --ys-on-primary: #ffffff;
  --ys-primary-soft: #e5f0fc;
  --ys-focus: #0057b8;
  --ys-glow-a: #c4eefe;                /* fondos del hero: celeste */
  --ys-glow-b: #ffd6c0;                /* durazno (naranja claro) */
  --ys-glow-c: #d3e3f8;                /* azul claro */

  /* ---- Superficies ---- */
  --ys-bg: #eef2f8;
  --ys-surface: #ffffff;
  --ys-surface-2: #f6f8fc;
  --ys-surface-3: #e7ebf4;
  --ys-line: rgb(3 32 95 / 0.10);
  --ys-line-strong: rgb(3 32 95 / 0.22);
  --ys-stage: #ffffff;                 /* fondo de fotos: funde el blanco de las fotos de proveedor */
  --ys-stage-ink: #03205f;
  --ys-dark: #021a4f;                  /* bandas oscuras (pie, asesoría): azul marino del logo */
  --ys-on-dark: #ffffff;
  --ys-on-dark-muted: #bdd0ee;

  /* ---- Texto ---- */
  --ys-text: #0b1a3d;
  --ys-muted: #44506e;
  --ys-faint: #5d6886;

  /* ---- Estados ---- */
  --ys-sale: #d93a12;
  --ys-on-sale: #ffffff;
  --ys-success: #0f8a4a;
  --ys-danger: #c4281c;
  --ys-whatsapp: #25d366;
  --ys-whatsapp-strong: #1fbf5b;
  --ys-on-whatsapp: #04210f;

  /* ---- Tipografía ---- */
  --ys-font-display: "Unbounded", "Onest", system-ui, sans-serif;
  --ys-font-body: "Onest", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --ys-text-xs: 0.75rem;
  --ys-text-sm: 0.875rem;
  --ys-text-md: 1rem;
  --ys-text-lg: 1.125rem;
  --ys-text-xl: clamp(1.25rem, 1.1rem + 0.6vw, 1.5rem);
  --ys-text-2xl: clamp(1.5rem, 1.2rem + 1.4vw, 2.25rem);
  --ys-text-3xl: clamp(1.9rem, 1.3rem + 2.6vw, 3.25rem);
  --ys-text-hero: clamp(2.1rem, 1.1rem + 4.4vw, 4.75rem);

  /* ---- Espaciado (base 4px) ---- */
  --ys-1: 0.25rem; --ys-2: 0.5rem; --ys-3: 0.75rem; --ys-4: 1rem; --ys-5: 1.25rem;
  --ys-6: 1.5rem; --ys-8: 2rem; --ys-10: 2.5rem; --ys-12: 3rem; --ys-16: 4rem; --ys-20: 5rem;
  --ys-gutter: clamp(1rem, 0.4rem + 2.6vw, 2rem);
  --ys-section: clamp(3rem, 1.8rem + 5vw, 6rem);
  --ys-container: 1360px;

  /* ---- Forma y profundidad ---- */
  --ys-r-sm: 10px; --ys-r-md: 14px; --ys-r-lg: 20px; --ys-r-xl: 28px; --ys-r-pill: 999px;
  --ys-shadow-sm: 0 2px 6px -2px rgb(3 32 95 / 0.14);
  --ys-shadow-md: 0 12px 28px -12px rgb(3 32 95 / 0.28);
  --ys-shadow-lg: 0 30px 60px -24px rgb(3 32 95 / 0.38);
  --ys-shadow-float: 0 14px 30px -10px rgb(3 32 95 / 0.45), 0 4px 10px -4px rgb(3 32 95 / 0.3);

  /* ---- Movimiento ---- */
  --ys-ease-out: cubic-bezier(0.23, 1, 0.32, 1);
  --ys-ease-in-out: cubic-bezier(0.77, 0, 0.175, 1);
  --ys-ease-drawer: cubic-bezier(0.32, 0.72, 0, 1);
  --ys-fast: 160ms;
  --ys-base: 220ms;
  --ys-slow: 700ms;

  --ys-header-h: 104px; /* fila principal + cinta de anuncios */
}
