/* Reset general */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* Body */
body {
  font-family: 'Segoe UI', 'Helvetica Neue', sans-serif;
  background-color: #f9f7f1; /* base perla */
  color: #444;
  line-height: 1.6;
}

/* Navbar */
.navbar {
  background-color: #7a9e7e; /* verde oliva suave */
  display: flex;
  justify-content: center;
  gap: 2rem;
  padding: 1.2rem;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
}

.navbar a {
  color: #f9f7f1;
  text-decoration: none;
  font-weight: 500;
  font-size: 1rem;
  transition: border-bottom 0.3s ease;
  padding-bottom: 0.2rem;
}

.navbar a:hover {
  border-bottom: 2px solid #a7866f; /* marrón claro */
}

/* Hero Section */
.hero {
  background: linear-gradient(120deg, #f9f7f1 60%, #d7ccc0 100%);
  color: #333;
  text-align: center;
  padding: 4rem 1rem;
  position: relative;
}

.hero-logo {
  width: 400px;
  max-width: 90%;
  height: auto;
}

.hero-text-container {
  position: absolute;
  top: 70%;
  left: 50%;
  transform: translateX(-50%);
  max-width: 700px;
  
  z-index: 2;
}

.hero-text-container p {
  font-family: 'Poppins', sans-serif;
  font-size: clamp(1.2rem, 4vw, 1.8rem);
  font-weight: 500;
  letter-spacing: 1.2px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  color: #7a9e7e;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.4);
}




.hero-button-container {
  position: absolute; /* También lo sacamos del flujo */
  top: 90%;           /* Ajusta según necesites */
  left: 50%;
  transform: translateX(-50%);
}


.cta-button {
  background-color: #a7866f;
  color: #fff;
  padding: 12px 28px;
  border: none;
  border-radius: 25px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  text-decoration: none;
  display: inline-block;
  transition: background-color 0.3s ease;
}

.cta-button:hover {
  background-color: #7a9e7e;
}

/* Contacto */
.contact {
  background-color: #fff;
  text-align: center;
  padding: 4rem 2rem;
}

.contact h2 {
  color: #a7866f;
  font-size: 2rem;
  margin-bottom: 1.5rem;
}

form {
  display: flex;
  flex-direction: column;
  align-items: center;
  max-width: 500px;
  margin: 0 auto;
  width: 100%;
}

input, textarea {
  width: 100%;
  padding: 14px;
  margin: 10px 0;
  border: 1px solid #ccc;
  border-radius: 8px;
  font-size: 1rem;
  background-color: #fdfcf9;
}

textarea {
  height: 140px;
  resize: none;
}

button[type="submit"] {
  background-color: #7a9e7e;
  color: white;
  padding: 12px 26px;
  border: none;
  font-size: 1rem;
  border-radius: 8px;
  font-weight: 600;
  cursor: pointer;
  margin-top: 10px;
  transition: background-color 0.3s ease;
}

button[type="submit"]:hover {
  background-color: #5e7c61;
}

/* Footer */
footer {
  background-color: #a7866f;
  color: #fff;
  text-align: center;
  padding: 2rem 1rem;
  font-size: 0.9rem;
}

footer a {
  color: #fff;
  text-decoration: none;
  font-weight: bold;
}

footer a:hover {
  color: #f0eae2;
}
