/* Identidad: la cartilla de color con que se mide la madurez de la cereza. */

@font-face {
  font-family: "Bricolage Grotesque";
  src: url("../vendor/fonts/bricolage-grotesque-latin-wght-normal.woff2") format("woff2");
  font-weight: 200 800;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: "Bricolage Grotesque";
  src: url("../vendor/fonts/bricolage-grotesque-latin-ext-wght-normal.woff2") format("woff2");
  font-weight: 200 800;
  font-display: swap;
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
  font-family: "Instrument Sans";
  src: url("../vendor/fonts/instrument-sans-latin-wght-normal.woff2") format("woff2");
  font-weight: 400 700;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: "Instrument Sans";
  src: url("../vendor/fonts/instrument-sans-latin-ext-wght-normal.woff2") format("woff2");
  font-weight: 400 700;
  font-display: swap;
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

:root,
[data-bs-theme="light"] {
  --ch-lapins: #2a0e17;
  --ch-picota: #8e1233;
  --ch-santina: #c8183c;
  --ch-hoja: #2f6b4a;
  --ch-flor: #f6f5f7;
  --ch-carozo: #1f1a1d;

  /* Cartilla de color, de menor a mayor madurez. */
  --ch-scale-1: #f0617a;
  --ch-scale-2: #dc2f4e;
  --ch-scale-3: #c8183c;
  --ch-scale-4: #8e1233;
  --ch-scale-5: #5c0f27;
  --ch-scale-6: #3b0d1c;

  /* Variedades: tonos alternados para distinguir tramos contiguos. */
  --ch-variety-1: #8e1233;
  --ch-variety-2: #e0526c;
  --ch-variety-3: #3b0d1c;
  --ch-variety-4: #d99a2b;
  --ch-variety-5: #2f6b4a;
  --ch-variety-6: #9a6b8c;

  --ch-surface: #ffffff;
  --ch-line: #e4dfe3;
  --ch-control-line: #8f838b;
  --ch-muted: #625860;
  --ch-hover: #f3e9ec;
  --ch-warning: #855400;

  --bs-body-bg: var(--ch-flor);
  --bs-body-color: var(--ch-carozo);
  --bs-body-color-rgb: 31, 26, 29;
  --bs-secondary-color: var(--ch-muted);
  --bs-border-color: var(--ch-line);
  --bs-link-color: #8e1233;
  --bs-link-color-rgb: 142, 18, 51;
  --bs-link-hover-color: #5c0f27;
  --bs-link-hover-color-rgb: 92, 15, 39;
  --bs-primary: #8e1233;
  --bs-primary-rgb: 142, 18, 51;
  --bs-focus-ring-color: rgba(200, 24, 60, 0.35);
  --ch-button: #8e1233;
  --ch-button-hover: #6d0e28;
}

[data-bs-theme="dark"] {
  --ch-variety-1: #d6335a;
  --ch-variety-2: #ff9aad;
  --ch-variety-3: #8a3c55;
  --ch-variety-4: #f0bd66;
  --ch-variety-5: #79c89c;
  --ch-variety-6: #c49ab8;
  --ch-surface: #1f171d;
  --ch-line: #3a2c35;
  --ch-control-line: #86707d;
  --ch-muted: #b5a7af;
  --ch-hover: #2c1f28;
  --ch-hoja: #79c89c;
  --ch-warning: #f0bd66;

  --bs-body-bg: #151015;
  --bs-body-color: #f1eaee;
  --bs-body-color-rgb: 241, 234, 238;
  --bs-secondary-color: var(--ch-muted);
  --bs-border-color: var(--ch-line);
  --bs-link-color: #ff8aa0;
  --bs-link-color-rgb: 255, 138, 160;
  --bs-link-hover-color: #ffb3c0;
  --bs-link-hover-color-rgb: 255, 179, 192;
  --bs-primary: #ff8aa0;
  --bs-primary-rgb: 255, 138, 160;
  --bs-focus-ring-color: rgba(255, 138, 160, 0.45);
  --ch-button: #b81f45;
  --ch-button-hover: #d12a53;
}
