/* ==========================================================================
   Lisa Rondón · Soluciones Digitales — base
   Tokens de marca, fuentes locales, reset y tipografía.
   Manrope 300 como peso de trabajo. Nunca bold.
   ========================================================================== */

@font-face {
  font-family: "Manrope";
  font-style: normal;
  font-weight: 300 400;
  font-display: swap;
  src: url("../fonts/manrope-latin-var.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: 300 400;
  font-display: swap;
  src: url("../fonts/manrope-latin-ext-var.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;
}
/* Eslogan manuscrito: inclinado a la derecha, descendentes (q, p, f, j) hacia la izquierda */
@font-face {
  font-family: "Allura";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../fonts/allura-latin.woff2") format("woff2");
}

:root {
  /* Paleta oficial (Identidad de marca v1) */
  --c-deep: #0C3C9C;        /* Azul profundo — principal */
  --c-blue: #2F5CEB;        /* Azul corporativo — secundario */
  --c-sky: #8DC6FA;         /* Azul claro — acento */
  --c-gray: #E5E7EB;        /* Gris claro — apoyo */
  --c-ink: #1F2937;         /* Texto descriptivo */
  --c-white: #FFFFFF;
  --c-navy: #0B2D62;        /* Texto de etiquetas "Pronto" y titulares oscuros */

  /* Superficies claras derivadas de la paleta */
  --c-surface: #F3F8FE;
  --c-surface-2: #EAF3FE;
  --c-topbar: #F1F6FE;
  --c-line: #DCE8F7;
  --c-muted: #4B5563;

  /* Gradiente azul metalizado oficial (footer, CTA, redes, scroll to top) */
  --grad-brand: linear-gradient(45deg, #0C3C9C 0%, #1147C4 40%, #2160E6 70%, #2F7CFC 100%);
  /* OBSOLETO (Lisa, 15/09): la barra legal usa --grad-legal. No usar; se conserva por decisión de Lisa. */
  --grad-footer: linear-gradient(90deg, #0A42AE 0%, #0450CF 30%, #0A57DE 55%, #0450CF 78%, #0A42AE 100%);
  --grad-rule: linear-gradient(90deg, #2F5CEB, #8DC6FA);

  /* Identidad de marca v1 — valores medidos en la guía (decisiones de Lisa, 15/09) */
  /* Barra legal de la guía: extremos azul marino y centro azul profundo iluminado.
     También la usan los CTA principales y los iconos de redes del hero y del footer. */
  --grad-legal: linear-gradient(90deg, #002165 0%, #00266D 10%, #033184 20%, #0B3E9B 25%, #0E4AAF 35%, #104EB8 40%, #0A46A8 50%, #0E4BB2 60%, #104EB5 65%, #104BAD 75%, #093E98 80%, #03317F 85%, #01256C 90%, #01235F 100%);
  /* Azul metalizado del logo: del brillo #06A2F9 al marino #001963 */
  --grad-metal-logo: linear-gradient(160deg, #06A2F9 0%, #0078F1 28%, #0158BB 55%, #00379A 78%, #001963 100%);
  /* Línea de 1 px entre marquesina, header y hero */
  --grad-metal-line: linear-gradient(90deg, #001963 0%, #0158BB 22%, #06A2F9 50%, #0158BB 78%, #001963 100%);
  /* Azul Profundo #0C3C9C con la iluminación del círculo de la paleta (luz arriba a la derecha) */
  --deep-lit: radial-gradient(120% 170% at 62% 12%, #3F8BF5 0%, #1D5FD6 22%, #0C3C9C 58%, #082F80 100%);

  --metal-highlight: inset 0 1px 0 rgba(255, 255, 255, .38), inset 0 -3px 8px rgba(6, 28, 92, .32);
  --shadow-soft: 0 12px 32px -18px rgba(12, 60, 156, .35);
  --shadow-card: 0 1px 2px rgba(15, 35, 80, .04), 0 10px 30px -20px rgba(12, 60, 156, .28);

  /* Tipografía */
  --font: "Manrope", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-script: "Allura", "Segoe Script", cursive;
  --fs-display: clamp(3rem, 1.5rem + 4.6vw, 5.5rem);
  --fs-h2: clamp(2rem, 1.2rem + 2.5vw, 3.4rem);
  --fs-lead: clamp(1.45rem, 1rem + 1.55vw, 2.5rem);
  --fs-h3: clamp(1.35rem, 1rem + 1.3vw, 2.2rem);
  --fs-body: clamp(1rem, .92rem + .3vw, 1.2rem);
  --fs-small: .9375rem;
  --fs-micro: .8125rem;

  /* Layout */
  --container: 1328px;
  --gutter: clamp(1rem, 3.6vw, 3.5rem);
  --radius-xs: 5px;
  --radius-sm: 10px;
  --radius: 14px;
  --radius-lg: 20px;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

*,
*::before,
*::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-padding-top: 1rem;
}

body {
  margin: 0;
  font-family: var(--font);
  font-weight: 300;
  font-size: var(--fs-body);
  line-height: 1.4;
  color: var(--c-ink);
  background: var(--c-white);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4, h5, h6 {
  margin: 0;
  font-weight: 300;
  line-height: 1.15;
}

p { margin: 0; }
b, strong { font-weight: 400; }
img, svg, picture { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
ul[role="list"], ul.site-nav__list, ul.footer-nav__list, ul.legal-links, ul.social, ul.topbar__list {
  margin: 0; padding: 0; list-style: none;
}
button { font: inherit; color: inherit; }

.container {
  width: 100%;
  max-width: calc(var(--container) + var(--gutter) * 2);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.icon { width: 1.25em; height: 1.25em; flex: none; }

/* Accesibilidad --------------------------------------------------------- */
.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0);
  white-space: nowrap; border: 0;
}

.skip-link {
  position: absolute;
  left: 1rem; top: -4rem;
  z-index: 1000;
  padding: .75rem 1.25rem;
  background: var(--c-deep);
  color: var(--c-white);
  border-radius: var(--radius-sm);
  transition: top .2s var(--ease);
}
.skip-link:focus { top: 1rem; }

:focus-visible {
  outline: 3px solid var(--c-blue);
  outline-offset: 3px;
  border-radius: 4px;
}
main:focus { outline: none; }

::selection { background: var(--c-sky); color: var(--c-navy); }

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