/* ===== RESET BÁSICO ===== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Georgia", "Times New Roman", serif;
  line-height: 1.6;
  color: #222;
  background-color: #fafafa;
}

/* ===== HERO ===== */
.hero {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 4rem 8%;
  background: linear-gradient(135deg, #ffffff, #f0f0f0);
  border-bottom: 2px solid #ddd;
}

.hero-text {
  flex: 1;
}

.hero-text h1 {
  font-size: 2.8rem;
  margin-bottom: 1rem;
  color: #111;
}

.hero-text p {
  font-size: 1.1rem;
  max-width: 550px;
}

.hero-logo img {
  max-width: 180px;
  height: auto;
}

/* ===== SECCIONES ===== */
section {
  padding: 3rem 8%;
}

section h2 {
  font-size: 2rem;
  margin-bottom: 1rem;
  color: #222;
}

section p {
  margin-bottom: 1rem;
}

/* ===== FORMULARIOS ===== */
form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  max-width: 500px;
}

label {
  font-weight: bold;
}

input[type="text"],
input[type="email"],
input[type="file"],
textarea {
  padding: 0.6rem;
  border: 1px solid #bbb;
  border-radius: 4px;
  font-size: 1rem;
  width: 100%;
}

button {
  background-color: #333;
  color: #fff;
  padding: 0.8rem 1rem;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  font-size: 1rem;
  transition: background 0.3s ease;
}

button:hover {
  background-color: #555;
}

.confirmacion {
  margin-top: 1rem;
  color: green;
  font-weight: bold;
  display: none; /* activar con JS tras envío */
}

/* ===== FOOTER ===== */
footer {
  background: #111;
  color: #eee;
  text-align: center;
  padding: 2rem 1rem;
  margin-top: 3rem;
}

footer nav {
  margin: 1rem 0;
}

footer nav a {
  color: #ccc;
  margin: 0 0.5rem;
  text-decoration: none;
}

footer nav a:hover {
  color: #fff;
}

footer p a {
  color: #bbb;
  text-decoration: none;
}

footer p a:hover {
  color: #fff;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
  .hero {
    flex-direction: column;
    text-align: center;
  }

  .hero-logo {
    margin-top: 2rem;
  }

  .hero-logo img {
    max-width: 140px;
  }
}
