/* ==========================================================================
   Tokens de diseño — Azentra
   Paleta tomada del manual de marca: azul tinta, ámbar y crema.
   ========================================================================== */

@font-face {
  font-family: "Sora";
  src: url("../fonts/sora-latin-var.woff2") format("woff2");
  font-weight: 300 700;
  font-style: normal;
  font-display: swap;
}

:root {
  /* Marca */
  --ink-950: #0a1221;
  --ink-900: #0f1a2c;
  --ink-850: #132037;
  --ink-800: #17253d;
  --ink-700: #23344f;
  --ink-600: #3a4a66;

  --amber-300: #f9c873;
  --amber-400: #f7b647;
  --amber-500: #f4a524;
  --amber-600: #d98a0b;
  --amber-700: #9a5f00; /* ámbar legible sobre fondos claros */

  --cream-50: #f6f5f0;
  --cream-100: #efede5;
  --cream-200: #e4e1d6;
  --white: #ffffff;

  /* Texto */
  --text-strong: var(--ink-900);
  --text: #2c3850;
  --text-muted: #5a6478;
  --text-on-dark: #f6f5f0;
  --text-on-dark-muted: #a6b0c3;

  /* Líneas */
  --line-light: rgba(15, 26, 44, 0.1);
  --line-light-strong: rgba(15, 26, 44, 0.16);
  --line-dark: rgba(246, 245, 240, 0.09);
  --line-dark-strong: rgba(246, 245, 240, 0.16);

  /* Tipografía */
  --font: "Sora", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --fs-xs: 0.8125rem;
  --fs-sm: 0.9375rem;
  --fs-base: 1rem;
  --fs-md: 1.0625rem;
  --fs-lg: clamp(1.0625rem, 1rem + 0.3vw, 1.1875rem);
  --fs-h3: clamp(1.0625rem, 1rem + 0.3vw, 1.1875rem);
  --fs-h2: clamp(1.875rem, 1.35rem + 2.2vw, 3rem);
  --fs-h1: clamp(2.5rem, 1.55rem + 4.4vw, 4.75rem);

  /* Espaciado y layout */
  --container: 1200px;
  --gutter: clamp(1rem, 0.6rem + 2vw, 2rem);
  --section-space: clamp(4.5rem, 3rem + 6vw, 8rem);
  --header-h: 72px;

  /* Formas */
  --radius-sm: 10px;
  --radius: 16px;
  --radius-lg: 24px;
  --radius-pill: 999px;

  /* Sombras: pocas y suaves */
  --shadow-sm: 0 1px 2px rgba(15, 26, 44, 0.06), 0 2px 8px rgba(15, 26, 44, 0.04);
  --shadow-md: 0 2px 4px rgba(15, 26, 44, 0.04), 0 12px 32px -8px rgba(15, 26, 44, 0.14);
  --shadow-lg: 0 30px 60px -20px rgba(5, 10, 20, 0.55);

  /* Movimiento */
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);
  --dur-fast: 180ms;
  --dur: 320ms;
  --dur-slow: 700ms;
}

@media (max-width: 960px) {
  :root {
    --header-h: 64px;
  }
}
