:root {
  --blanco: #F7F2EF;
  --rojo:   #FE0052;
  --azul:   #017AF6;
  --marino: #031C38;
  --negro:  #121212;

  --fuente-titulos: "Neue Montreal", system-ui, sans-serif;
  --fuente-cuerpo: "Neue Montreal", system-ui, sans-serif;

  --esp-sm: 0.75rem;
  --esp-md: 1.5rem;
  --esp-lg: 2.5rem;
  --esp-xl: clamp(4rem, 8vw, 7rem);

  --radio: 12px;
  --radio-pill: 999px;

  --ancho: 1320px;
  --pad: clamp(1rem, 3.5vw, 1.75rem);
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--fuente-cuerpo);
  font-size: 1rem;
  line-height: 1.6;
  color: var(--marino);
  background: var(--blanco);
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}

h1,
h2,
h3,
h4 {
  font-family: var(--fuente-titulos);
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: -0.02em;
}

h1 {
  font-size: clamp(2.25rem, 4vw + 1rem, 4rem);
  letter-spacing: -0.03em;
}

h2 {
  font-size: clamp(1.875rem, 2.5vw + 1rem, 2.75rem);
}

h3 {
  font-size: clamp(1.25rem, 1vw + 1rem, 1.5rem);
}

p {
  color: rgba(3, 28, 56, 0.65);
}

a {
  color: inherit;
  text-decoration: none;
  transition: color 150ms ease;
}

a:hover {
  color: var(--rojo);
}

img,
svg {
  display: block;
  max-width: 100%;
  height: auto;
  -webkit-user-drag: none;
  user-drag: none;
  -webkit-user-select: none;
  user-select: none;
}

button {
  font-family: inherit;
  font-size: inherit;
  color: inherit;
  background: none;
  border: none;
  cursor: pointer;
}

ul,
ol {
  list-style: none;
}

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

::selection {
  background: var(--rojo);
  color: var(--blanco);
}

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

  /* Excepción: el brillo del título se mantiene en su ciclo normal de 3s. */
  .hero__titulo .destacado {
    animation-duration: 3s !important;
    animation-iteration-count: infinite !important;
  }
}
