@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;600&display=swap');
@import url('https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.0/css/all.min.css');

body {
  font-family: 'Poppins', sans-serif;
  margin: 0; padding: 0;
  background-color: #f9fbfd;
  color: #2c3e50;
}

header {
  background: linear-gradient(90deg, #1e40af, #3b82f6);
  color: white;
  padding: 20px 0;
  text-align: center;
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 4px 10px rgb(0 0 0 / 0.15);
}

nav a {
  color: white;
  margin: 0 15px;
  text-decoration: none;
  font-weight: 600;
  padding: 10px 18px;
  border-radius: 30px;
  transition: background-color 0.3s, transform 0.3s;
}

nav a:hover {
  background-color: rgba(255, 255, 255, 0.3);
  transform: scale(1.05);
}

main {
  max-width: 1200px;
  margin: 40px auto;
  padding: 0 15px;
}

h2 {
  color: #1e40af;
  text-align: center;
  margin-bottom: 30px;
  font-size: 2.5rem;
}

.productos {
  display: grid;
  grid-template-columns: repeat(auto-fit,minmax(280px,1fr));
  gap: 25px;
}

.producto {
  background: white;
  border-radius: 16px;
  box-shadow: 0 10px 25px rgb(0 0 0 / 0.1);
  padding: 20px;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.producto:hover {
  transform: translateY(-12px);
  box-shadow: 0 15px 30px rgb(0 0 0 / 0.2);
}

.producto img {
  width: 100%;
  border-radius: 12px;
  margin-bottom: 15px;
  transition: transform 0.4s ease;
}

.producto img:hover {
  transform: scale(1.05);
}

.producto h3 {
  color: #1e40af;
  margin-bottom: 10px;
  font-size: 1.3rem;
}

.producto p {
  font-size: 0.95rem;
  margin-bottom: 12px;
  color: #555;
}

.producto span {
  font-weight: 700;
  color: #16a34a;
  font-size: 1.2rem;
  display: block;
  margin-bottom: 15px;
}

.producto button {
  background-color: #2563eb;
  color: white;
  padding: 10px 20px;
  border: none;
  border-radius: 30px;
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.producto button:hover {
  background-color: #1e3a8a;
}

form {
  max-width: 600px;
  margin: 0 auto;
  background: white;
  padding: 30px 25px;
  border-radius: 16px;
  box-shadow: 0 8px 20px rgb(0 0 0 / 0.1);
}

form input, form textarea {
  width: 100%;
  padding: 14px 18px;
  margin: 12px 0;
  border-radius: 12px;
  border: 1px solid #ccc;
  font-size: 1rem;
  resize: vertical;
  transition: border-color 0.3s ease;
}

form input:focus, form textarea:focus {
  border-color: #2563eb;
  outline: none;
}

form button {
  width: 100%;
  background-color: #2563eb;
  padding: 14px;
  border-radius: 30px;
  color: white;
  font-weight: 700;
  font-size: 1.1rem;
  cursor: pointer;
  margin-top: 20px;
  transition: background-color 0.3s ease;
}

form button:hover {
  background-color: #1e3a8a;
}

footer {
  background: #1e40af;
  color: white;
  text-align: center;
  padding: 25px 15px;
  font-size: 0.9rem;
  margin-top: 50px;
}

footer .social-icons {
  margin-top: 10px;
}

footer .social-icons a {
  color: white;
  margin: 0 10px;
  font-size: 1.4rem;
  transition: color 0.3s ease;
}

footer .social-icons a:hover {
  color: #60a5fa;
}

@media (max-width: 768px) {
  nav a {
    display: block;
    margin: 10px 0;
  }
}

