/* Fuente y reset básico */
body {
  margin: 0;
  font-family: 'Inter', sans-serif;
  background: linear-gradient(135deg, #1e1e3f, #3a3a6c);
  color: white;
}

/* Encabezado */
header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 40px;
}

.logo {
  display: flex;
  align-items: center;
}

.logo img {
  height: 40px;
  margin-right: 10px;
}

nav ul {
  list-style: none;
  display: flex;
  gap: 20px;
}

nav a {
  color: white;
  text-decoration: none;
  font-weight: 500;
}

/* Hero Section */
.hero {
  text-align: center;
  padding: 100px 20px;
}

.hero h2 {
  font-size: 2.5em;
  margin-bottom: 20px;
}

.btn {
  display: inline-block;
  padding: 12px 24px;
  border: 2px solid white;
  border-radius: 8px;
  color: white;
  text-decoration: none;
  font-weight: bold;
  transition: background 0.3s;
}

.btn:hover {
  background: rgba(255, 255, 255, 0.1);
}

/* Footer */
footer {
  text-align: center;
  padding: 20px;
  font-size: 0.9em;
  background-color: rgba(0, 0, 0, 0.2);
}

.nosotros {
  padding: 80px 20px;
  background-color: rgba(255, 255, 255, 0.05);
}

.nosotros .container {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
}

.nosotros h2 {
  font-size: 2em;
  margin-bottom: 20px;
  color: #ffffff;
}

.nosotros p {
  font-size: 1.1em;
  line-height: 1.6;
  color: #dddddd;
  margin-bottom: 20px;
}

.productos {
  padding: 80px 20px;
  background-color: rgba(255, 255, 255, 0.03);
}

.productos .container {
  max-width: 1000px;
  margin: 0 auto;
  text-align: center;
}

.productos h2 {
  font-size: 2em;
  margin-bottom: 10px;
  color: #ffffff;
}

.productos .intro {
  font-size: 1.1em;
  color: #cccccc;
  margin-bottom: 40px;
}

.cards {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 30px;
}

.card {
  background-color: rgba(255, 255, 255, 0.05);
  border-radius: 12px;
  padding: 20px;
  width: 280px;
  text-align: center;
  transition: transform 0.3s;
}

.card:hover {
  transform: translateY(-5px);
}

.card img {
  width: 100px;
  margin-bottom: 15px;
}

.card h3 {
  font-size: 1.3em;
  margin-bottom: 10px;
  color: #ffffff;
}

.card p {
  font-size: 1em;
  color: #dddddd;
  margin-bottom: 20px;
}

.btn-disabled {
  padding: 10px 20px;
  border: 2px solid #888;
  border-radius: 8px;
  background-color: transparent;
  color: #888;
  cursor: not-allowed;
}

.contacto {
  padding: 80px 20px;
  background-color: rgba(255, 255, 255, 0.04);
}

.contacto .container {
  max-width: 600px;
  margin: 0 auto;
  text-align: center;
}

.contacto h2 {
  font-size: 2em;
  margin-bottom: 10px;
  color: #ffffff;
}

.contacto p {
  font-size: 1.1em;
  color: #cccccc;
  margin-bottom: 30px;
}

form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.form-group {
  text-align: left;
}

label {
  display: block;
  margin-bottom: 8px;
  color: #dddddd;
  font-weight: 500;
}

input,
textarea {
  width: 100%;
  padding: 12px;
  border: none;
  border-radius: 8px;
  background-color: rgba(255, 255, 255, 0.1);
  color: white;
  font-size: 1em;
}

input::placeholder,
textarea::placeholder {
  color: #aaa;
}

input:focus,
textarea:focus {
  outline: none;
  background-color: rgba(255, 255, 255, 0.15);
}

button[type="submit"] {
  align-self: center;
  padding: 12px 24px;
  border: 2px solid white;
  border-radius: 8px;
  background-color: transparent;
  color: white;
  font-weight: bold;
  cursor: pointer;
  transition: background 0.3s;
}

button[type="submit"]:hover {
  background-color: rgba(255, 255, 255, 0.1);
}


.btn {
  transition: background-color 0.3s ease, transform 0.3s ease;
}

.btn:hover {
  background-color: rgba(255, 255, 255, 0.1);
  transform: scale(1.05);
}

.card {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.fade-in {
  opacity: 0;
  transform: translateY(20px);
  animation: fadeInUp 1s ease forwards;
}

@keyframes fadeInUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

body {
  background: linear-gradient(-45deg, #1e1e3f, #3a3a6c, #2b2b5a, #4b4b8c);
  background-size: 400% 400%;
  animation: gradientMove 15s ease infinite;
}

@keyframes gradientMove {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}