/* Estilos base */
body {
  margin: 0;
  font-family: 'Helvetica Neue', sans-serif;
  color: #222;
  background-color: #fff;
  line-height: 1.6;
  padding: 2rem;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

header {
  text-align: center;
  margin-bottom: 3rem;
}

header h1 {
  font-size: 2rem;
  margin-bottom: 0.5rem;
}

nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem;
}

nav a {
  text-decoration: none;
  color: #7e5bef;
  font-weight: bold;
  font-size: 1rem;
}

main {
  padding-bottom: 3rem;
}

section {
  margin-bottom: 3rem;
  padding: 0 1rem;
}

h2 {
  color: #333;
  margin-bottom: 0.5rem;
  font-size: 1.5rem;
}

ul {
  list-style: none;
  padding: 0;
}

ul li {
  margin-bottom: 0.5rem;
  padding-left: 1rem;
  position: relative;
}

ul li::before {
  content: "▹";
  color: #7e5bef;
  position: absolute;
  left: 0;
}

a {
  color: #7e5bef;
}

footer {
  text-align: center;
  font-size: 0.9rem;
  color: #aaa;
  margin-top: 4rem;
}

/* Responsive: móviles y pantallas pequeñas */
@media (max-width: 600px) {
  body {
    padding: 1.5rem 1rem;
  }

  header h1 {
    font-size: 1.5rem;
  }

  nav {
    flex-direction: column;
    gap: 0.5rem;
  }

  nav a {
    font-size: 1rem;
  }

  h2 {
    font-size: 1.25rem;
  }
}
