/* Reboxin · design tokens (fuente única: docs/IDENTIDAD_VISUAL.md). Modo claro por defecto, oscuro por preferencia. */
@font-face {
  font-family: "Manrope";
  font-style: normal;
  font-weight: 200 800;
  font-display: swap;
  src: url("/static/fonts/manrope-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Manrope";
  font-style: normal;
  font-weight: 200 800;
  font-display: swap;
  src: url("/static/fonts/manrope-latin-ext.woff2") format("woff2");
  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 {
  /* Paleta corporativa (propuesta inicial del propietario) */
  --rbx-green: #126F60;        /* verde principal */
  --rbx-green-dark: #153C33;   /* verde oscuro */
  --rbx-green-2: #269C7D;      /* verde secundario */
  --rbx-mint: #D9F6E8;         /* verde menta */
  --rbx-bg-light: #F5F7F6;     /* fondo claro */
  --rbx-ink: #1F2933;          /* texto principal */
  --rbx-white: #FFFFFF;
  /* Colores medidos en el logotipo original (solo acentos y decoración, no texto pequeño) */
  --rbx-logo-deep: #004A3D;
  --rbx-logo-bright: #1EAB35;

  /* Semánticos (modo claro) */
  --color-bg: var(--rbx-bg-light);
  --color-surface: var(--rbx-white);
  --color-surface-tint: #EAF5EF;
  --color-text: var(--rbx-ink);
  --color-text-muted: #52606D;
  --color-primary: var(--rbx-green);
  --color-primary-hover: #0D5A4E;
  --color-on-primary: var(--rbx-white);
  --color-accent: var(--rbx-logo-bright);
  --color-border: #D5DEDA;
  --color-dark-section: var(--rbx-green-dark);
  --color-on-dark: #E9F4EF;
  --color-chip: var(--rbx-mint);
  --color-chip-text: var(--rbx-green-dark);
  --color-focus: #F2B705;

  /* Tipografía */
  --font-sans: "Manrope", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --text-xs: 0.8125rem;
  --text-sm: 0.9375rem;
  --text-base: 1.0625rem;
  --text-lg: 1.25rem;
  --text-xl: clamp(1.5rem, 1.2rem + 1.2vw, 2rem);
  --text-2xl: clamp(1.75rem, 1.3rem + 2vw, 2.75rem);
  --text-hero: clamp(2.25rem, 1.4rem + 4.2vw, 4.25rem);

  /* Espaciado, radios, sombras */
  --space-1: 0.25rem; --space-2: 0.5rem; --space-3: 0.75rem; --space-4: 1rem;
  --space-6: 1.5rem; --space-8: 2rem; --space-12: 3rem; --space-16: 4rem; --space-24: 6rem;
  --radius-sm: 8px; --radius-md: 14px; --radius-lg: 22px; --radius-pill: 999px;
  --shadow-sm: 0 1px 2px rgb(21 60 51 / 0.06), 0 1px 3px rgb(21 60 51 / 0.08);
  --shadow-lg: 0 18px 40px -18px rgb(21 60 51 / 0.35);
  --container: 72rem;
}

@media (prefers-color-scheme: dark) {
  :root {
    --color-bg: #0E1A17;
    --color-surface: #13241F;
    --color-surface-tint: #102620;
    --color-text: #E6EEEB;
    --color-text-muted: #A7B7B1;
    --color-primary: #3FC59B;
    --color-primary-hover: #63D6B1;
    --color-on-primary: #08211B;
    --color-border: #24413A;
    --color-dark-section: #0A2620;
    --color-on-dark: #E6EEEB;
    --color-chip: #173A31;
    --color-chip-text: #CFF3E2;
    --shadow-sm: 0 1px 2px rgb(0 0 0 / 0.4);
    --shadow-lg: 0 18px 40px -18px rgb(0 0 0 / 0.7);
  }
}
