/* ==========================================================================
   OLA · Tokens de diseño compartidos (sitio público y panel)
   Paleta provisional derivada del logotipo oficial (muestreo de color):
     anillo y mapa: turquesa #05A4C3 → azul real #004FA6 → azul profundo #003188
     letras "OLA" y nombre: azul marino #034070 / #0B2E6B
   Ajuste estos valores si se aprueba un manual de marca.
   Contrastes verificados sobre blanco (WCAG 2.2): ver docs/IDENTIDAD-VISUAL.md
   ========================================================================== */

@font-face {
  font-family: "Plus Jakarta Sans";
  font-style: normal;
  font-display: swap;
  font-weight: 200 800;
  src: url("/fonts/plus-jakarta-sans-latin-wght-normal.woff2") format("woff2-variations");
  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: "Plus Jakarta Sans";
  font-style: normal;
  font-display: swap;
  font-weight: 200 800;
  src: url("/fonts/plus-jakarta-sans-latin-ext-wght-normal.woff2") format("woff2-variations");
  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: "Inter";
  font-style: normal;
  font-display: swap;
  font-weight: 100 900;
  src: url("/fonts/inter-latin-wght-normal.woff2") format("woff2-variations");
  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: "Inter";
  font-style: normal;
  font-display: swap;
  font-weight: 100 900;
  src: url("/fonts/inter-latin-ext-wght-normal.woff2") format("woff2-variations");
  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 {
  /* Color · marca */
  --navy-950: #051833;
  --navy-900: #08234a;
  --navy-800: #0b2e6b;          /* letras del logotipo */
  --blue-700: #003f8f;
  --blue-600: #004fa6;          /* azul real del anillo — acción principal */
  --blue-500: #1f6fd1;
  --blue-100: #e3eefb;
  --blue-50:  #f2f7fd;
  --turquoise-700: #006c7c;     /* turquesa apto para texto (6,1:1 sobre blanco) */
  --turquoise-600: #00869a;     /* solo iconos y elementos gráficos (4,3:1) */
  --turquoise-500: #05a4c3;     /* turquesa del anillo — decorativo */
  --turquoise-400: #19c3c0;
  --turquoise-100: #ddf5f7;
  --turquoise-50:  #effafb;
  --brand-gradient: linear-gradient(100deg, #12b8b4 0%, #05a4c3 32%, #0a6ccc 70%, #003f8f 100%);

  /* Color · neutros */
  --ink: #142236;               /* texto principal (16,0:1) */
  --ink-soft: #3d4d63;          /* texto secundario (8,6:1) */
  --muted: #5a6a80;             /* texto atenuado (5,5:1) */
  --line: #dbe4ee;
  --line-strong: #c3d0de;
  --surface: #ffffff;
  --surface-alt: #f5f8fc;
  --surface-tint: #eef4fa;

  /* Color · estados */
  --success: #11704a;
  --success-bg: #e6f5ee;
  --warning: #8a5300;
  --warning-bg: #fff4e0;
  --danger: #b42318;
  --danger-bg: #fdecea;
  --info: var(--blue-600);
  --info-bg: var(--blue-50);

  --focus: #0a6ccc;
  --focus-ring: 0 0 0 3px #fff, 0 0 0 5px var(--focus);

  /* Tipografía */
  --font-display: "Plus Jakarta Sans", "Segoe UI", system-ui, -apple-system, sans-serif;
  --font-body: "Inter", "Segoe UI", system-ui, -apple-system, Roboto, Arial, sans-serif;
  --fs-xs: 0.8125rem;
  --fs-sm: 0.9375rem;
  --fs-base: 1.0625rem;
  --fs-lg: 1.1875rem;
  --fs-xl: clamp(1.25rem, 1.1rem + 0.6vw, 1.5rem);
  --fs-2xl: clamp(1.5rem, 1.25rem + 1vw, 2rem);
  --fs-3xl: clamp(1.875rem, 1.45rem + 1.8vw, 2.75rem);
  --fs-4xl: clamp(2.25rem, 1.6rem + 2.8vw, 3.75rem);
  --lh-tight: 1.15;
  --lh-snug: 1.35;
  --lh-body: 1.65;

  /* Espaciado (escala de 4 px) */
  --sp-1: 0.25rem;
  --sp-2: 0.5rem;
  --sp-3: 0.75rem;
  --sp-4: 1rem;
  --sp-5: 1.5rem;
  --sp-6: 2rem;
  --sp-7: 3rem;
  --sp-8: 4rem;
  --sp-9: 6rem;
  --section-y: clamp(3.5rem, 2.5rem + 4vw, 6.5rem);

  /* Formas */
  --radius-sm: 6px;
  --radius: 10px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --radius-pill: 999px;
  --shadow-xs: 0 1px 2px rgba(8, 35, 74, 0.06);
  --shadow-sm: 0 1px 3px rgba(8, 35, 74, 0.08), 0 1px 2px rgba(8, 35, 74, 0.04);
  --shadow: 0 6px 18px -6px rgba(8, 35, 74, 0.14), 0 2px 6px rgba(8, 35, 74, 0.05);
  --shadow-lg: 0 24px 48px -18px rgba(8, 35, 74, 0.25);

  /* Anchuras */
  --container: 1200px;
  --container-narrow: 780px;
  --gutter: clamp(1rem, 0.6rem + 2vw, 2rem);
  --header-h: 76px;

  /* Puntos de interrupción (referencia; los media queries usan los valores literales):
     --bp-sm: 600px · --bp-md: 860px · --bp-lg: 1080px · --bp-xl: 1280px */

  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
  --dur: 220ms;
}

@media (prefers-reduced-motion: reduce) {
  :root { --dur: 0ms; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}
