/* VARIOS Y TIPOGRAFÍA */
body {
  margin: 0;
  font-family: "Montserrat", sans-serif;
  background-color: white;
  color: #444; /* Color principal de texto */
}

/* Wrapper de contenido para aplicar Márgenes (Fix) */
.content-wrapper {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  box-sizing: border-box;
}

/* TÍTULOS MODERNIZADOS */
h1 {
  color: #2c3e50;
  font-weight: 600; /* Menos bold, más elegante */
  font-size: 2rem; /* Achicado de 2.5rem a 2rem */
  padding: 20px 0;
  text-align: center;
}
h2 {
  color: #2c3e50;
  font-weight: 700;
  font-size: 28px; /* Tamaño más limpio */
  margin-bottom: 25px;
  position: relative;
  padding-bottom: 10px; /* Reducción de padding */
  text-transform: uppercase; /* Toque moderno */
  letter-spacing: 1px;
  text-align: center;
}
/* Línea de acento Pro */
h2::after {
  content: "";
  display: block;
  width: 40px; /* Más fina */
  height: 2px; /* Más fina */
  background: #f39c12; /* Naranja/Dorado */
  margin: 0 auto;
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  border-radius: 1px;
}
h3 {
  color: #2c3e50;
  font-weight: 700;
}

/* NAVBAR (Restaurada y limpia) */
.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 30px;
  border-bottom: 1px solid #eee;
  background-color: white;
}
.logo {
  height: 55px;
}
.navbar-links {
  display: flex;
  gap: 25px;
  align-items: center;
  font-size: 0.95rem;
}
.navbar a {
  text-decoration: none;
  color: #2c3e50;
  font-weight: 600;
  transition: color 0.3s;
}
.navbar a:hover {
  color: #f39c12;
}
.whatsapp-button {
  background-color: #25d366; /* Botón WhatsApp */
  color: white;
  padding: 10px 20px;
  border-radius: 8px; /* Más redondeado */
  text-decoration: none;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  font-weight: 700;
}
.whatsapp-button:hover {
  background-color: #128c7e;
  color: white;
}

/* BUSCADORES (Estructura de doble columna) */
.doble-buscador-wrapper {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 30px;
  max-width: 1300px;
  margin: 40px auto;
  padding: 0 20px;
}

.doble-buscador-wrapper > section {
  flex: 1 1 550px;
  box-sizing: border-box;
}

.buscador-tradicional,
.asesor-container {
  padding: 30px;
  border: 1px solid #e0e0e0;
  border-radius: 12px;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.05);
  background-color: #fff;
}
.search-type {
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
  margin-bottom: 20px;
}
.search-type label {
  white-space: nowrap;
}
.asesor-container .search-type {
  justify-content: flex-start; /* Fix espaciado para el IA */
  margin-bottom: 30px;
}

/* ESTILOS DE FORMULARIOS LIMPIOS */
.search-bar input[type="text"],
.search-bar input[type="date"],
.search-bar input[type="number"],
.search-bar input[type="email"],
.search-bar input[type="tel"],
.search-bar select,
.asesor-form-ia input,
.asesor-form-ia select,
.asesor-form-ia textarea {
  padding: 14px 18px;
  font-size: 1rem;
  border: 1px solid #bdc3c7; /* Borde suave */
  border-radius: 10px; /* Más redondeado */
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05) inset; /* Sombra sutil interna */
  background-color: white;
  width: 100%;
  box-sizing: border-box;
  transition: border-color 0.3s;
  margin-bottom: 15px; /* Separación entre campos */
}
.search-bar input:focus,
.search-bar select:focus,
.asesor-container input:focus,
.asesor-container select:focus,
.asesor-container textarea:focus {
  border-color: #f39c12; /* Naranja/Dorado en foco */
  outline: none;
  box-shadow: 0 0 5px rgba(243, 156, 18, 0.5);
}
.asesor-form-ia textarea {
  resize: vertical;
}

/* Aumento de Separación entre campos */
.dynamic-fields-grid {
  display: grid;
  grid-template-columns: repeat(
    auto-fit,
    minmax(220px, 1fr)
  ); /* Mayor min-width */
  gap: 20px; /* Aumento de separación */
  width: 100%;
}
.full-width-input {
  grid-column: 1 / -1;
}

/* Botón de Búsqueda (Mejorado) */
.search-button {
  padding: 15px 30px; /* Más alto */
  font-size: 1.05rem; /* Más grande */
  font-weight: 700;
  border: none;
  background: #f39c12; /* Naranja/Dorado */
  color: #2c3e50;
  border-radius: 10px; /* Más redondeado */
  cursor: pointer;
  box-shadow: 0 6px 15px rgba(243, 156, 18, 0.4); /* Sombra Pro */
  transition: background 0.3s, transform 0.2s;
  width: 100%;
}
.search-button:hover {
  background: #e0ac00;
  transform: translateY(-2px);
}
.search-button:active {
  transform: translateY(0);
  box-shadow: 0 4px 10px rgba(243, 156, 18, 0.4);
}

/* Partners Banner (Fix de fondo a blanco) */
.partners-banner {
  width: 100%;
  max-width: 100%;
  margin: 40px auto;
  padding: 40px 20px;
  text-align: center;
  background: white; /* Corregido a fondo blanco */
  border-top: 1px solid #eee;
  border-bottom: 1px solid #eee;
}
.partners-logo {
  width: 100%;
  max-height: 100px;
  object-fit: contain;
}

/* TESTIMONIOS */
.testimonios {
  background: #f7f9fb;
  padding: 40px 20px;
  text-align: center;
}
.slider {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 30px;
  margin-top: 30px;
}
.opinion {
  flex: 1 1 300px;
  max-width: 350px;
  background: white;
  border-radius: 10px;
  padding: 25px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
  text-align: left;
  border-top: 5px solid #f39c12;
}
.stars {
  color: #f39c12;
  font-size: 1.3rem;
  margin-bottom: 10px;
  display: block;
}

/* HOTELES Y DESTINOS */
.hoteles-destacados,
.destinos,
.asistencia-info {
  max-width: 1200px;
  margin: 40px auto;
  padding: 0 20px; /* Margen y padding para evitar bordes */
  text-align: center;
}
.main-seo-desc,
.asistencia-info p {
  color: #555;
  font-size: 1.05rem;
  margin-bottom: 40px;
  text-align: justify; /* Mejor lectura para bloques de texto largos */
}
.hotel-grid,
.galeria {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 30px;
}
.hotel-card,
.destino {
  border-radius: 12px;
  background: #ffffff;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
  overflow: hidden;
  transition: transform 0.3s, box-shadow 0.3s;
  border: 1px solid #f0f0f0;
  text-align: left;
  display: flex;
  flex-direction: column;
}
.hotel-card img,
.destino img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}
.hotel-card div,
.destino div {
  padding: 15px; /* Relleno dentro de las tarjetas */
  flex-grow: 1;
}

/* BOTONES CONSULTAR (Negro, Redondeado y Moderno) */
.btn-consultar {
  display: block;
  width: 90%;
  margin: 0 auto 15px;
  padding: 12px;
  text-align: center;
  background-color: #2c3e50; /* Negro casi absoluto */
  color: white;
  text-decoration: none;
  border-radius: 10px; /* Redondeado moderno */
  font-weight: 700;
  transition: background-color 0.3s, transform 0.2s;
}
.btn-consultar:hover {
  background-color: #34495e;
  transform: translateY(-1px);
}

/* FIX: BLOQUE DE SUSCRIPCIÓN (Formato Restaurado) */
.ofertas-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 30px;
  max-width: 1000px;
  margin: 40px auto;
  padding: 0 20px;
}
.oferta-box {
  flex: 1 1 400px;
  padding: 25px;
  background: #f7f9fb;
  border-radius: 12px;
  text-align: center;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
}
.oferta-box h3 {
  color: #f39c12;
  margin-top: 0;
}
.oferta-box input[type="email"],
.oferta-box input[type="tel"] {
  width: 100%;
  padding: 12px;
  margin-bottom: 10px;
  border: 1px solid #ddd;
  border-radius: 8px;
  box-sizing: border-box;
}
.oferta-box button {
  width: 100%;
  padding: 14px;
  border: none;
  background: #2c3e50;
  color: white;
  border-radius: 8px;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.3s;
}
.oferta-box button:hover {
  background: #34495e;
}

/* BOTÓN FLOTANTE DE WHATSAPP (Chat Integrado) */
.whatsapp-float {
  position: fixed;
  width: 60px;
  height: 60px;
  bottom: 40px;
  right: 40px;
  background-color: #25d366;
  color: #fff;
  border-radius: 50px;
  text-align: center;
  font-size: 30px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  transition: transform 0.3s, background-color 0.3s;
}
.whatsapp-float:hover {
  transform: scale(1.1);
  background-color: #128c7e;
}

/* FOOTER STYLES */
.site-footer {
  background: #f7f9fb;
  color: #555;
  padding: 40px 0 20px;
  margin-top: 50px;
  border-top: 1px solid #eee;
}
.site-footer a {
  color: #2c3e50;
  text-decoration: none;
  font-weight: 500;
  line-height: 1.8;
}
.site-footer a:hover {
  color: #f39c12; /* Color de acento en hover (Fix FAQS) */
  text-decoration: underline;
}
.footer-nav ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

/* Media Queries */
@media (max-width: 1200px) {
  .doble-buscador-wrapper {
    flex-direction: column;
    gap: 40px;
  }
}
@media (max-width: 768px) {
  .whatsapp-float {
    width: 50px;
    height: 50px;
    bottom: 20px;
    right: 20px;
    font-size: 24px;
  }
  .navbar-links {
    display: none;
  }
  .navbar {
    flex-wrap: wrap;
    justify-content: center;
  }
  .logo {
    height: 45px;
  }
  h1 {
    font-size: 1.6rem; /* Más pequeño para móviles */
  }
  h2 {
    font-size: 24px;
  }
  .dynamic-fields-grid {
    grid-template-columns: 1fr;
    gap: 15px;
  }
  .footer-container {
    flex-direction: column;
    text-align: center;
  }
  .footer-brand {
    justify-content: center;
    text-align: center;
    flex-direction: column;
  }
  .footer-nav {
    text-align: center;
  }
}
