/* Tipografía y base */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;700&display=swap');

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: 'Montserrat', sans-serif;
  background-color: #F2D785;
  color: #082640;
  line-height: 1.6;
}

/* Encabezado */
header {
  background-color: #082640;
  color: #F2D785;
  padding: 1em 0;
  box-shadow: 0 4px 8px rgba(0,0,0,0.1);
  position: sticky;
  top: 0;
  z-index: 100;
}

.header-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1200px;
  margin: auto;
  padding: 0 1em;
}

header h1 {
  font-size: 1.8rem;
  letter-spacing: 1px;
}

nav ul {
  list-style: none;
  display: flex;
  gap: 1.5em;
}

nav a {
  color: #F2D785;
  text-decoration: none;
  font-weight: bold;
  transition: color 0.3s, transform 0.3s;
}

nav a:hover {
  color: #F2C777;
  transform: translateY(-2px);
}

/* Hero */
.hero {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  padding: 4em 2em;
  background-color: #F2D785;
}

.hero-content {
  max-width: 600px;
}

.hero-content h2 {
  font-size: 2.5rem;
  margin-bottom: 1em;
}

.hero-content p {
  font-size: 1.2rem;
  margin-bottom: 1.5em;
}

.hero-content .btn-primary {
  font-size: 1.1rem;
  box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}

.hero-image img {
  max-width: 100%;
  border-radius: 12px;
  box-shadow: 0 8px 15px rgba(0,0,0,0.1);
}

/* Botones */
.cta-btn, .btn, .cta-btn-large, .btn-primary {
  background-color: #A67A46;
  color: white;
  padding: 0.8em 1.4em;
  border: none;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 700;
  cursor: pointer;
  transition: background-color 0.3s, color 0.3s, transform 0.2s;
}

.cta-btn:hover, .btn:hover, .cta-btn-large:hover, .btn-primary:hover {
  background-color: #F2C777;
  color: #082640;
  transform: translateY(-2px);
}

/* Formularios */
.form-container {
  max-width: 600px;
  margin: 3em auto;
  padding: 2.5em;
  background-color: #fff;
  border-radius: 12px;
  box-shadow: 0 8px 20px rgba(0,0,0,0.1);
}

input, textarea {
  width: 100%;
  padding: 0.8em 1em;
  margin: 0.5em 0;
  border: 1px solid #595959;
  border-radius: 6px;
  font-size: 1rem;
  transition: border-color 0.3s;
}

input:focus, textarea:focus {
  border-color: #A67A46;
  outline: none;
}

button {
  cursor: pointer;
}

/* Secciones */
.features {
  padding: 4em 2em;
  background-color: #fff;
}

.features h2 {
  text-align: center;
  margin-bottom: 2em;
  font-size: 2rem;
}

.features-grid {
  display: flex;
  gap: 2em;
  flex-wrap: wrap;
  justify-content: center;
}

.feature-card {
  flex: 1 1 250px;
  max-width: 300px;
  background-color: #F2D785;
  padding: 2em 1em;
  border-radius: 12px;
  box-shadow: 0 8px 20px rgba(0,0,0,0.1);
  text-align: center;
  transition: transform 0.3s, box-shadow 0.3s;
}

.feature-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 25px rgba(0,0,0,0.15);
}

/* Footer */
footer {
  text-align: center;
  padding: 1.5em 1em;
  background-color: #082640;
  color: #F2D785;
  font-size: 0.9rem;
  box-shadow: 0 -4px 8px rgba(0,0,0,0.1);
  margin-top: 3em;
}

/* Responsive */
@media (max-width: 1024px) {
  .hero {
    flex-direction: column;
    gap: 2em;
  }
}

@media (max-width: 768px) {
  .header-container {
    flex-direction: column;
    align-items: flex-start;
    gap: 1em;
  }

  nav ul {
    flex-direction: column;
    gap: 0.8em;
  }

  .features-grid {
    flex-direction: column;
    gap: 1.5em;
  }
}

@media (max-width: 480px) {
  .hero-content h2 {
    font-size: 2rem;
  }

  .hero-content p {
    font-size: 1rem;
  }

  .btn, .btn-primary {
    width: 100%;
    text-align: center;
  }
}
