/* Tokens de diseño — ver DESIGN.md. Las páginas usan solo estos nombres. */

@font-face { font-family: "Cormorant Garamond"; font-style: normal; font-weight: 300 700; font-display: swap;
  src: url("../fonts/cormorant-garamond.woff2") format("woff2"); }
@font-face { font-family: "Cormorant Garamond"; font-style: italic; font-weight: 500; font-display: swap;
  src: url("../fonts/cormorant-garamond-italic.woff2") format("woff2"); }
@font-face { font-family: "Lato"; font-style: normal; font-weight: 400; font-display: swap;
  src: url("../fonts/lato-400.woff2") format("woff2"); }
@font-face { font-family: "Lato"; font-style: normal; font-weight: 700; font-display: swap;
  src: url("../fonts/lato-700.woff2") format("woff2"); }

:root {
  /* Color */
  --c-bg: #F7F3EC;
  --c-surface: #FFFDF9;
  --c-stone: #EFE8DC;
  --c-ink: #1C2830;
  --c-muted: #5B6670;
  --c-border: #E3DCD0;
  --c-border-strong: #8F8578; /* bordes de campos y botones de selección: 3.5:1 */
  --c-primary: #1F4E6B;
  --c-primary-hover: #173D54;
  --c-rose: #D9827A;
  --c-rose-text: #9B4B44;
  --c-success: #2F6B4F;
  --c-warning: #8A5A12;
  --c-error: #A33A32;
  --c-on-dark: #F7F3EC;
  --c-on-dark-muted: #B9C0C5;
  --c-scrim: rgba(18, 26, 32, .55);

  /* Tipografía */
  --font-display: "Cormorant Garamond", "Iowan Old Style", Georgia, serif;
  --font-body: "Lato", system-ui, -apple-system, "Segoe UI", sans-serif;
  --fs-xs: 0.875rem;   /* 14 */
  --fs-sm: 1rem;       /* 16 */
  --fs-md: 1.0625rem;  /* 17 */
  --fs-lg: 1.375rem;   /* 22 */
  --fs-xl: 1.75rem;    /* 28 */
  --fs-2xl: 2.25rem;   /* 36 */
  --fs-3xl: 3rem;      /* 48 */
  --fs-4xl: 4rem;      /* 64 */
  --lh-tight: 1.08;
  --lh-snug: 1.25;
  --lh-body: 1.65;
  --measure: 68ch;

  /* Espaciado (base 8) */
  --s-1: 4px; --s-2: 8px; --s-3: 12px; --s-4: 16px; --s-5: 24px;
  --s-6: 32px; --s-7: 48px; --s-8: 64px; --s-9: 96px; --s-10: 128px;
  --w-content: 1200px;
  --gutter: 24px;
  --section: var(--s-9);

  /* Forma y profundidad */
  --r-sm: 4px;
  --r-md: 8px;
  --shadow-1: 0 10px 30px -12px rgba(28, 40, 48, .28);
  --focus: 0 0 0 2px var(--c-bg), 0 0 0 5px var(--c-primary);

  /* Movimiento */
  --t-fast: 150ms ease;
  --header-h: 112px;
}

@media (max-width: 720px) {
  :root {
    --gutter: 16px;
    --section: var(--s-8);
    --fs-3xl: 2.25rem;
    --fs-4xl: 2.625rem;
    --header-h: 72px;
  }
}
