
html, body {
  height: 100%;          /* que el body ocupe toda la pantalla */
  margin: 0;
  display: flex;
  flex-direction: column;
}
body {
  font-family: 'Roboto', sans-serif;
  background: #FFFFFF;
  color: #2C2C2C;
}
header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 30px;
  background: #2C2C2C;
  color: #FFFFFF;
}

.logo {
  height: 40px;
  cursor: pointer;
}


nav ul {
  list-style: none;
  display: flex;
  gap: 20px;
}

nav a {
  color: #FFFFFF;
  text-decoration: none;
  font-weight: bold;
}

.hamburger {
  display: none;
  font-size: 2rem;
  cursor: pointer;
  color: #00A86B;
}

h2 {
  font-family: 'Montserrat', sans-serif;
  color: #ffffff;
}

button {
  padding: 12px;
  background: #00A86B;
  color: #FFFFFF;
  border: none;
  border-radius: 5px;
  cursor: pointer;
}

button:hover {
  background: #2C2C2C;
}

main {
  flex: 1;               /* ocupa todo el espacio disponible */
  display: flex;
  flex-direction: column;
}

section {
  margin: 0 auto;
  display: flex;
  flex-direction: column;
}
.hero {
  flex: 1;
  width: 100%;
  height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  background: linear-gradient(to right, #00A86B, #2C2C2C);
  color: #FFFFFF;
  text-align: center;
}

/* Responsivo */
@media (max-width: 768px) {
  nav ul {
    display: none;
    flex-direction: column;
    background: #2C2C2C;
    position: absolute;
    top: 60px;
    right: 0;
    width: 200px;
    padding: 10px;
  }

  nav ul.show {
    display: flex;
  }

  .hamburger {
    display: block;
  }
}
.contacto {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
}

.contacto-container {
  display: flex;
  flex-direction: column;
  gap: 20px;
  width: 100%;
  max-width: 400px;
}

form {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

form input, form textarea {
  padding: 10px;
  border: 1px solid #ccc;
  border-radius: 5px;
}

form button {
  padding: 12px;
  background: #00A86B;
  color: #FFFFFF;
  border: none;
  border-radius: 5px;
  cursor: pointer;
}

form button:hover {
  background: #2C2C2C;
}

.btn-whatsapp {
  display: block;
  text-align: center;
  padding: 12px;
  background: #25D366;
  color: #FFFFFF;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
}

.btn-whatsapp:hover {
  background: #128C7E;
}
