/* ==========================================================================
   Base: variables, reset y tipografía
   ========================================================================== */

:root {
  /* Colores tomados del logo */
  --color-navy: #14405f;
  --color-blue: #1f6fd1;
  --color-cyan: #19a9c8;
  --color-green: #7dc242;

  /* Neutros */
  --color-text: #0f2233;
  --color-muted: #5a6b7a;
  --color-bg: #ffffff;
  --color-bg-soft: #f3f8fb;
  --color-border: #dfe9f0;
  --color-footer: #0c2233;

  /* Tipografía */
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-heading: "Montserrat", var(--font-body);

  /* Medidas */
  --container-width: 1120px;
  --header-height: 76px;
  --radius: 14px;
  --shadow: 0 12px 30px rgba(20, 64, 95, 0.12);
}

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

* {
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.6;
  color: var(--color-text);
  background-color: var(--color-bg);
}

img,
svg {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

ul,
ol {
  list-style: none;
}

h1,
h2,
h3,
h4 {
  font-family: var(--font-heading);
  line-height: 1.2;
  color: var(--color-navy);
}

h1 {
  font-size: clamp(2rem, 4.5vw, 3.2rem);
}

h2 {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  margin-bottom: 14px;
}

h3 {
  font-size: 1.15rem;
  margin-bottom: 8px;
}

p + p {
  margin-top: 16px;
}

:focus-visible {
  outline: 3px solid var(--color-cyan);
  outline-offset: 3px;
}

/* Texto solo para lectores de pantalla */
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}
