* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: 'Poppins', sans-serif;
  background-color: #f9f9f9;
  color: #222;
  line-height: 1.6;
}

header {
  background: linear-gradient(to right, #1d3557, #457b9d);
  color: white;
  padding: 4rem 1rem;
  text-align: center;
}

header h1 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.boton {
  display: inline-block;
  margin-top: 1rem;
  background-color: #f1c40f;
  color: black;
  padding: 0.8rem 1.5rem;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  transition: background 0.3s;
}

.boton:hover {
  background-color: #f39c12;
}

.boton.verde {
  background-color: #25d366;
  color: white;
}

nav {
  background-color: #2c3e50;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  padding: 1rem;
}

nav a {
  color: white;
  text-decoration: none;
  margin: 0.5rem 1rem;
  font-weight: bold;
  transition: color 0.3s;
}

nav a:hover {
  color: #f1c40f;
}

.seccion {
  padding: 3rem 5%;
  max-width: 1200px;
  margin: auto;
}

.grid-3 {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  margin-top: 2rem;
}

.grid-3 li {
  background: white;
  padding: 1.5rem;
  border-radius: 10px;
  flex: 1;
  min-width: 250px;
  box-shadow: 0 0 10px rgba(0,0,0,0.1);
}

.planes {
  display: flex;
  gap: 2rem;
  flex-wrap: wrap;
  justify-content: space-around;
  margin-top: 2rem;
}

.plan {
  background: white;
  padding: 2rem;
  border-radius: 10px;
  text-align: center;
  flex: 1;
  min-width: 250px;
  box-shadow: 0 0 10px rgba(0,0,0,0.1);
}

.plan ul {
  margin-top: 1rem;
  list-style: none;
}

.plan ul li {
  margin: 0.5rem 0;
}

.galeria {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  margin-top: 2rem;
}

.galeria img {
  width: calc(33% - 0.5rem);
  border-radius: 10px;
  height: 200px;
  object-fit: cover;
}

form {
  margin-top: 2rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

form input, form textarea {
  padding: 1rem;
  border: 1px solid #ccc;
  border-radius: 8px;
  font-size: 1rem;
}

form button {
  background-color: #1d3557;
  color: white;
  padding: 1rem;
  border: none;
  border-radius: 8px;
  font-size: 1rem;
  cursor: pointer;
}

footer {
  background-color: #2c3e50;
  color: white;
  text-align: center;
  padding: 2rem;
  margin-top: 3rem;
}

@media (max-width: 768px) {
  .galeria img {
    width: 100%;
  }

  .planes {
    flex-direction: column;
  }

  nav {
    flex-direction: column;
  }

  .grid-3 {
    flex-direction: column;
  }
}
.plan {
    width: calc(33.3% - 1rem);
    background: linear-gradient(135deg, #ffffff, #f0f8f5);
    border-radius: 12px;
    box-shadow: 0 0 12px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    cursor: pointer;
  }

  .plan:hover {
    transform: scale(1.07);
    box-shadow: 0 12px 25px rgba(0, 0, 0, 0.2);
  }

  .plan a {
    text-decoration: none;
    color: inherit;
  }

  .plan .contenido {
    padding: 1.5rem;
  }

  .plan h3 {
    margin-bottom: 0.5rem;
    color: #2E8B57;
    font-size: 1.4rem;
  }

  .plan .precio {
    font-weight: bold;
    color: #444;
  }

  .plan .resumen {
    font-size: 0.95rem;
    color: #666;
    margin-top: 0.5rem;
  }

  .plan .detalles {
    display: none;
    margin-top: 1rem;
    font-size: 0.9rem;
    color: #333;
  }

  .plan:hover .detalles {
    display: block;
  }

  .galeria {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    justify-content: center;
  }