/* Reset y tipografía */
body {
  font-family: 'Segoe UI', sans-serif;
  margin: 0;
  background: #f8fff4;
  color: #333;
  line-height: 1.6;
}

/* Encabezado principal */
header.hero {
  background: linear-gradient(to bottom right, #4caf50, #81c784);
  color: white;
  text-align: center;
  padding: 1.5em 1em;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.logo {
  max-width: 300px; /* Antes: 150px */
  width: 100%;
  height: auto;
  margin-bottom: 0.5em;
}

.slogan {
  font-style: italic;
  font-size: 1.2em;
}

/* Secciones de contenido */
section.info,
section.social {
  padding: 2em;
  max-width: 800px;
  margin: auto;
  text-align: center; /* 👉 Agregado */
}

section h2 {
  color: #388e3c;
  margin-top: 1em;
}

a {
  color: #2e7d32;
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

ul {
  list-style: none;
  padding: 0;
  margin: 0 auto;        /* 👉 Centra la lista */
  display: inline-block; /* 👉 Permite centrado horizontal */
  text-align: left;      /* 👉 Para alinear los items dentro de la lista */
}

ul li {
  margin-bottom: 0.5em;
}

/* Footer */
footer {
  text-align: center;
  background: #2e7d32;
  color: white;
  padding: 1em;
  margin-top: 2em;
}

/* Botón flotante WhatsApp */
.whatsapp-button {
  position: fixed;
  bottom: 20px;
  right: 20px;
  background-color: #25d366;
  color: white;
  font-size: 2rem;
  padding: 0.4em 0.6em;
  border-radius: 50%;
  text-align: center;
  text-decoration: none;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease;
  z-index: 999;
}

.whatsapp-button:hover {
  transform: scale(1.1);
}

/* Responsive */
@media (max-width: 600px) {
  header.hero {
    padding: 2em 1em;
  }

  .logo {
    width: 120px;
  }

  section.info, 
  section.social {
    padding: 1.5em;
  }
}
