body {
  margin: 0;
  font-family: 'Segoe UI', sans-serif;
  line-height: 1.6;
  background: #f9f9f9;
  color: #333;
}

h1, h2 {
  color: #2c3e50;
}

/* -------- Navegación -------- */
.navbar {
  background-color: #2c3e50;
  padding: 1rem;
  position: sticky;
  top: 0;
  z-index: 1000;
}

.nav-container {
  max-width: 1000px;
  margin: auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  padding: 0 1rem;
}

.logo {
  color: white;
  font-weight: bold;
  text-decoration: none;
  font-size: 1.2rem;
}

.menu-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 1.8rem;
  color: white;
  cursor: pointer;
}

/* Desktop nav */
.nav-links {
  display: flex;
  gap: 1rem;
  list-style: none;
  padding-left: 0;
  margin: 0;
}

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

.nav-links li a:hover {
  color: #1abc9c;
}

/* -------- Responsive -------- */
@media (max-width: 768px) {
  .menu-toggle {
    display: block;
  }

  .nav-links {
    display: none;
    flex-direction: column;
    background-color: #2c3e50;
    width: 100%;
    padding: 1rem 0;
    margin-top: 0;
  }

  .nav-links.show {
    display: flex;
  }

  .nav-links li {
    text-align: center;
    padding: 0.7rem 0;
  }
}



/* --- Hero Section corregido --- */
header.hero h1 {
  color: #ffffff;
}

header.hero {
  background: #2c3e50;
  color: white;
  text-align: center;
  padding: 3rem 1rem;
}

.hero .btn {
  margin-top: 1rem;
  padding: 0.8rem 1.5rem;
  background: #27ae60;
  color: white;
  text-decoration: none;
  border-radius: 5px;
}

section {
  padding: 2rem 1rem;
  max-width: 800px;
  margin: auto;
}

/* --- Sección de Beneficios --- */
.beneficios ul {
  list-style: none;
  padding-left: 0;
}

.beneficios li {
  margin-bottom: 0.8rem;
}

.beneficio-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.5rem;
  margin-top: 2rem;
}

.beneficio {
  background: white;
  padding: 1.5rem;
  border-radius: 8px;
  border: 1px solid #ddd;
  box-shadow: 0 2px 5px rgba(0,0,0,0.03);
  text-align: center;
  transition: transform 0.2s;
}

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

.beneficio .icono {
  font-size: 2rem;
  margin-bottom: 0.5rem;
}

.beneficio h3 {
  margin: 0.5rem 0;
  color: #2c3e50;
}

.beneficio p {
  font-size: 0.95rem;
  color: #555;
}
/* --- Formulario de contacto --- */

.intro-form {
  font-size: 1rem;
  margin-bottom: 2rem;
  color: #555;
  max-width: 700px;
}

.formulario-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  justify-content: space-between;
}

.formulario form {
  flex: 1 1 320px;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

textarea {
  font-family: inherit;
  resize: vertical;
}

.info-extra {
  flex: 1 1 250px;
  background: #f4f6f8;
  padding: 1.5rem;
  border-radius: 8px;
  border: 1px solid #ccc;
}

.info-extra h3 {
  margin-top: 0;
  margin-bottom: 1rem;
  color: #2c3e50;
}

.info-extra ul {
  list-style: none;
  padding: 0;
}

.info-extra li {
  margin-bottom: 0.75rem;
  font-size: 0.95rem;
}

input, select, button, textarea {
  padding: 0.75rem;
  font-size: 1rem;
  border: 1px solid #ccc;
  border-radius: 4px;
}

button {
  background: #27ae60;
  color: white;
  border: none;
  cursor: pointer;
}

/* --- Sección de Testimonios --- */
.testimonios {
  text-align: center;
}

.testimonio-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}

.testimonio {
  background: white;
  border: 1px solid #ddd;
  padding: 1.5rem;
  border-radius: 8px;
  box-shadow: 0 2px 5px rgba(0,0,0,0.05);
  text-align: center;
}

.testimonio img {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  margin-bottom: 0.5rem;
}

.testimonio h3 {
  margin: 0.5rem 0 0.2rem;
  color: #2c3e50;
}

.testimonio .ciudad {
  font-size: 0.9rem;
  color: #888;
  margin-bottom: 1rem;
}

.testimonio blockquote {
  font-style: italic;
  font-size: 0.95rem;
  color: #444;
  line-height: 1.5;
}

/* --- Sección de Proceso --- */

.proceso {
  text-align: center;
}

.pasos {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 2rem;
  margin-top: 2rem;
}

.paso {
  background: white;
  border: 1px solid #ddd;
  border-radius: 8px;
  flex: 1 1 250px;
  padding: 1.5rem;
  box-shadow: 0 2px 5px rgba(0,0,0,0.05);
  transition: transform 0.2s;
}

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

.icono-paso {
  font-size: 2rem;
  margin-bottom: 1rem;
}

.paso h3 {
  margin-bottom: 0.5rem;
  color: #2c3e50;
}

.paso p {
  font-size: 0.95rem;
  color: #555;
  line-height: 1.5;
}

/* --- Sección de Preguntas Frecuentes --- */

.faq {
  max-width: 800px;
  margin: auto;
}

.faq details {
  background: white;
  margin-bottom: 1rem;
  padding: 1.2rem;
  border: 1px solid #ddd;
  border-radius: 6px;
  box-shadow: 0 2px 5px rgba(0,0,0,0.03);
}

.faq summary {
  font-weight: bold;
  cursor: pointer;
  font-size: 1rem;
  color: #2c3e50;
}

.faq p {
  margin-top: 0.5rem;
  font-size: 0.95rem;
  color: #555;
  line-height: 1.5;
}

details[open] summary ~ * {
  animation: slideDown 0.3s ease-in-out;
}

@keyframes slideDown {
  from { opacity: 0; transform: translateY(-5px); }
  to { opacity: 1; transform: translateY(0); }
}

/* --- Sección de Llamada a la Acción --- */

.cta-final {
  background: linear-gradient(to right, #2c3e50, #34495e);
  color: white;
  text-align: center;
  padding: 3rem 1rem;
  margin-bottom: 40px;
}

.cta-final .cta-contenido {
  max-width: 800px;
  margin: auto;
}

.cta-final h2 {
  font-size: 1.8rem;
  margin-bottom: 1rem;
  color: #ecf0f1;
}

.cta-final p {
  font-size: 1.05rem;
  margin-bottom: 1rem;
  color: #ecf0f1;
  line-height: 1.6;
}

.cta-final .btn {
  background-color: #27ae60;
  color: white;
  padding: 0.9rem 1.5rem;
  text-decoration: none;
  font-size: 1rem;
  border-radius: 5px;
  display: inline-block;
  margin-top: 1rem;
  transition: background-color 0.2s ease-in-out;
}

.cta-final .btn:hover {
  background-color: #1f8b4c;
}

/* --- Footer --- */


.footer {
  background: #2c3e50;
  color: white;
  padding: 2rem 1rem 1rem;
  font-size: 0.95rem;
}

.footer-contenido {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  max-width: 1000px;
  margin: auto;
  gap: 2rem;
}

.footer-links, .footer-contacto {
  flex: 1 1 250px;
}

.footer h4 {
  margin-bottom: 1rem;
  color: #ecf0f1;
}

.footer ul {
  list-style: none;
  padding: 0;
}

.footer ul li {
  margin-bottom: 0.5rem;
}

.footer a {
  color: #1abc9c;
  text-decoration: none;
}

.footer a:hover {
  text-decoration: underline;
}

.footer-copy {
  text-align: center;
  margin-top: 2rem;
  border-top: 1px solid #34495e;
  padding-top: 1rem;
  color: #bdc3c7;
}

