/* 01-variables.css — colores, letras, espacios y velocidades de animación que usa toda la web. Cambiar un color aquí lo cambia en todo el sitio. */
@font-face {
  font-family: "Fraunces";
  src: url("../fuentes/fraunces-latin-wght-normal.woff2") format("woff2");
  font-weight: 300 800;
  font-style: normal;
  font-display: swap;
}
:root {
  /* Color institucional (derivado del logotipo y del uniforme). */
  --brown: #582c11;
  --brown-dark: #3b1e0e;
  --ink: #2a1b12;
  --muted: #6b5e55;
  --gold: #8a6230;        /* dorado legible sobre fondos claros (texto pequeño) */
  --gold-soft: #c9a26b;   /* dorado decorativo */
  --gold-light: #e8cc9f;  /* dorado sobre fondo oscuro */
  --paper: #faf7f2;
  --cream: #f5ebdd;
  --line: #e9e1d6;
  --white: #fff;
  /* Compatibilidad con nombres anteriores. */
  --text: var(--ink);
  --border: var(--line);

  /* Tipografía */
  --font-serif: "Fraunces", Georgia, "Times New Roman", serif;
  --font-sans: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --fs-xs: 0.8125rem;
  --fs-sm: 0.9375rem;
  --fs-base: 1.0625rem;
  --fs-lg: 1.1875rem;
  --fs-h3: 1.3125rem;
  --fs-h2: clamp(1.875rem, 1.35rem + 1.9vw, 2.75rem);
  --fs-h1: clamp(2.375rem, 1.5rem + 3.4vw, 4.25rem);

  /* Espacio (base 8 px) */
  --container: 1180px;
  --gutter: clamp(20px, 4vw, 32px);
  --space-section: clamp(64px, 8vw, 112px);
  --gap: clamp(20px, 3vw, 32px);

  /* Forma */
  --radius: 14px;
  --radius-sm: 8px;
  --shadow-sm: 0 1px 2px rgb(42 27 18 / 0.06);
  --shadow: 0 18px 40px -18px rgb(42 27 18 / 0.28);
  --shadow-header: 0 1px 0 rgb(42 27 18 / 0.06), 0 8px 24px -16px rgb(42 27 18 / 0.25);

  /* Movimiento */
  --ease-out: cubic-bezier(0.23, 1, 0.32, 1);
  --ease-in-out: cubic-bezier(0.77, 0, 0.175, 1);
  --dur-press: 140ms;
  --dur-ui: 200ms;
  --dur-reveal: 560ms;
}
