:root {
  --color-fondo: #ffffff;
  --color-primario: #1c224e;
  --color-secundario: #5c4478;
  --color-texto: #1c224e;
  --color-acento: #5a5a5a;
  --color-borde: #dcdcdc;

  --fuente-titulos: 'Lora', serif;
  --fuente-texto: 'Open Sans', sans-serif;

  --espaciado: 1.5rem;
  --radio-borde: 6px;
  --sombra-suave: 0 0 20px rgba(0, 0, 0, 0.05);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: var(--fuente-texto);
  color: var(--color-texto);
  background-color: var(--color-fondo);
  line-height: 1.7;
}

header {
  background-color: var(--color-fondo);
  padding: 2rem 1rem;
  text-align: center;
  border-bottom: 1px solid var(--color-borde);
}

header img {
  max-height: 220px;
  width: auto;
}

main {
  max-width: 880px;
  margin: 3rem auto;
  padding: 2rem;
  background-color: #fdfdfd;
  box-shadow: var(--sombra-suave);
  border-radius: var(--radio-borde);
}

.hero-lema-epsm {
  text-align: center;
  margin: 3rem 0 2rem 0;
  font-family: var(--fuente-titulos);
  font-size: 1.65rem;
  font-style: italic;
  font-weight: 500;
  color: var(--color-primario);
  line-height: 1.18;
  opacity: 0;
  animation: fadeInUp 2.2s cubic-bezier(0.23, 1, 0.32, 1) 0.8s forwards;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(24px) scale(0.97);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.mini-manifiesto {
  text-align: center;
  max-width: 540px;
  margin: 0 auto 2.5rem auto;
}

.mini-manifiesto p {
  color: var(--color-acento);
  font-size: 1.12rem;
  line-height: 1.6;
  font-family: var(--fuente-texto);
  text-align: center;
}

footer {
  text-align: center;
  color: var(--color-acento);
  padding: 2.5rem 0 1.2rem 0;
  font-size: 0.95rem;
}

@media (max-width: 600px) {
  main {
    padding: 1.5rem 1rem;
  }
  .hero-lema-epsm {
    font-size: 1.15rem;
  }
  .mini-manifiesto p {
    font-size: 1rem;
  }
}