html {
  box-sizing: border-box;
  scroll-behavior: smooth;
}
*, *::before, *::after {
  box-sizing: inherit;
}
body {
  margin: 0;
  font-family: var(--fuente-base);
  color: var(--color-texto);
  background-color: var(--color-fondo);
  line-height: 1.6;
}

/* Contenedor central */
.contenido-principal {
  max-width: var(--ancho-maximo);
  margin: 0 auto;
  padding: var(--espacio-2);
}

/* Utilidades */
.texto-centrado {
  text-align: center;
}

#app:focus {
  outline: none; /* quita el borde de foco */
}

.animar {
  opacity: 0;
  transform: translateY(12px);
  animation: fadeInVista 0.6s ease-out forwards;
}

@keyframes fadeInVista {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}