/* ==========================================================================
   Mundo Visión — base: variables de marca, reset y tipografía
   ========================================================================== */

:root {
  /* Línea gráfica */
  --navy: #0B2565;
  --navy-700: #163A8C;
  --navy-900: #061943;
  --orange: #F47B20;
  --orange-600: #DC6410;
  --orange-50: #FFF3EA;
  --gray-50: #F3F6FB;   /* gris suave */
  --gray-100: #E8EDF5;
  --gray-200: #D8E0EC;
  --gray-300: #C2CCDC;
  --white: #FFFFFF;
  --text: #13203F;
  --muted: #5A6782;
  --whatsapp: #1FAF5A;
  --danger: #C62F2F;
  --success: #17804A;

  /* Tipografía */
  --font-head: "Poppins", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-script: "Dancing Script", cursive;

  /* Medidas */
  --container: 1240px;
  --gutter: clamp(16px, 4vw, 32px);
  --radius-sm: 10px;
  --radius: 16px;
  --radius-lg: 24px;
  --header-h: 76px;
  --shadow-sm: 0 1px 2px rgba(11, 37, 101, .06), 0 2px 8px rgba(11, 37, 101, .05);
  --shadow: 0 8px 28px rgba(11, 37, 101, .10);
  --shadow-lg: 0 20px 50px rgba(11, 37, 101, .16);
  --ease: cubic-bezier(.22, .61, .36, 1);
}

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

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 16px);
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  color: var(--text);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

h1, h2, h3, h4 {
  font-family: var(--font-head);
  color: var(--navy);
  line-height: 1.15;
  margin: 0 0 .5em;
  letter-spacing: -.01em;
}
h1 { font-size: clamp(2rem, 1.2rem + 3.4vw, 3.6rem); font-weight: 800; }
h2 { font-size: clamp(1.5rem, 1.1rem + 1.6vw, 2.25rem); font-weight: 700; }
h3 { font-size: 1.125rem; font-weight: 600; }

p { margin: 0 0 1em; }
a { color: var(--navy-700); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--orange-600); }

ul, ol { margin: 0; padding: 0; }

button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }

:focus-visible {
  outline: 3px solid var(--orange);
  outline-offset: 2px;
  border-radius: 6px;
}

::selection { background: var(--orange); color: var(--white); }

.icon { width: 1.25em; height: 1.25em; flex-shrink: 0; }

/* Utilidades */
[hidden] { display: none !important; }

.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;
}
.text-accent { color: var(--orange); }
.lead { font-size: clamp(1rem, .95rem + .3vw, 1.15rem); color: var(--muted); }

.skip-link {
  position: absolute; left: 16px; top: -60px; z-index: 1000;
  background: var(--navy); color: var(--white);
  padding: 10px 16px; border-radius: var(--radius-sm);
  transition: top .2s;
}
.skip-link:focus { top: 12px; color: var(--white); }

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