/* === HERO PRINCIPAL === */
.hero {
  background: url('/assets/img/hero.jpg') center center / cover no-repeat;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  min-height: 75vh;
  padding: 100px 20px;
  position: relative;
  z-index: 1;
  margin-bottom: 80px;
}

.hero-content {
  background: rgba(0, 0, 0, 0.5);
  padding: 40px;
  border-radius: 12px;
  color: white;
  width: 100%;
  max-width: 900px;
  margin: 0 auto;
}

.hero-content h2 {
  font-size: 2.8rem;
  margin-bottom: 20px;
  text-shadow: 1px 1px 6px rgba(0, 0, 0, 0.7);
}

/* == Buscador dentro del HERO (sin precios) == */
.search-box.buscador-hero{
  display:grid;
  grid-template-columns: 1.6fr 1fr 1fr 0.7fr auto; /* ciudad | in | out | huéspedes | botón */
  gap:10px;
  background: rgba(255,255,255,.96);
  padding:12px;
  border-radius:12px;
  box-shadow:0 10px 30px rgba(0,0,0,.18);
  margin:0 auto;
}

.search-box.buscador-hero select,
.search-box.buscador-hero input{
  height:44px;
  padding:0 10px;
  border:1px solid #d9d9d9;
  border-radius:8px;
  background:#fff;
  color:#222;
  outline:none;
  font-size:.95rem;
  transition: border .15s ease, box-shadow .15s ease;
}
.search-box.buscador-hero select:focus,
.search-box.buscador-hero input:focus{
  border-color:#18a999;
  box-shadow:0 0 0 3px rgba(24,169,153,.15);
}

.search-box.buscador-hero button{
  height:44px;
  padding:0 18px;
  border:0;
  border-radius:8px;
  background:#00bfa6;
  color:#fff;
  cursor:pointer;
  font-size:16px;
  font-weight:700;
  transition: filter .15s ease, transform .02s ease, background .3s ease;
}
.search-box.buscador-hero button:hover{ filter:brightness(0.95); }
.search-box.buscador-hero button:active{ transform:translateY(1px); }

/* Compatibilidad con buscadores simples fuera del hero */
.search-box:not(.buscador-hero){ display:flex; justify-content:center; flex-wrap:wrap; gap:10px; }
.search-box:not(.buscador-hero) input{ padding:12px; width:300px; border:none; border-radius:5px 0 0 5px; font-size:16px; }
.search-box:not(.buscador-hero) button{ padding:12px 20px; background:#00bfa6; border:none; color:#fff; border-radius:0 5px 5px 0; cursor:pointer; font-size:16px; transition:background .3s; }
.search-box:not(.buscador-hero) button:hover{ background:#009882; }

.main-footer{ margin-top:80px; }

/* === BLOQUE 2 – CARDS DE PROPIEDADES VACACIONALES === */
.section{ padding:40px 20px; max-width:1200px; margin:auto; }
.section h3{ font-size:28px; margin-bottom:25px; color:#00bfa6; text-align:center; }
.cards{ display:flex; flex-wrap:wrap; gap:20px; justify-content:center; }

.card{
  background:#fff; border-radius:8px; overflow:hidden;
  box-shadow:0 2px 10px rgba(0,0,0,.08);
  transition:.3s; text-decoration:none; color:inherit;
  width:100%; max-width:500px;
}
.card:hover{ transform:translateY(-3px); }

/* Variante antigua con <img> */
.card img{ width:100%; height:240px; object-fit:cover; display:block; border-radius:6px 6px 0 0; }
.card .info{ padding:15px; }
.card .info h4{ font-size:18px; margin-bottom:8px; color:#333; }
.card .info p{ font-size:14px; margin-bottom:5px; }

/* Variante del buscador (fondo CSS) */
.card a{ color:inherit; text-decoration:none; display:block; }
.card-img{ width:100%; padding-top:66%; background-size:cover; background-position:center; }
.card-body{ padding:12px 14px; }
.card-title{ margin:0 0 6px; font-size:1rem; line-height:1.3; color:#333; }
.card-price{ color:#18a999; font-weight:700; margin-bottom:6px; }
.card-meta{ display:flex; gap:10px; font-size:.9rem; color:#666; }
.card-total{ margin-top:8px; font-size:.95rem; }

.btn-ver-mas{
  display:block; margin:30px auto 0; background:#00bfa6; color:#fff;
  padding:12px 25px; border:none; border-radius:5px; font-size:16px; cursor:pointer; text-decoration:none; text-align:center; max-width:200px;
}
.btn-ver-mas:hover{ background:#009882; }

.no-props{ text-align:center; font-size:16px; color:#777; margin-top:20px; }

/* === TESTIMONIOS === */
.testimonios-sub{ font-size:1rem; color:#555; text-align:center; margin-bottom:40px; }
.testimonios-grid{ display:grid; grid-template-columns:repeat(auto-fit,minmax(280px,1fr)); gap:30px; max-width:1200px; margin:auto; }
.testimonio-card{
  background:#fff; border-radius:12px; padding:25px; min-height:260px;
  box-shadow:0 4px 12px rgba(0,0,0,.06); transition:all .3s ease;
  display:flex; flex-direction:column; justify-content:space-between;
}
.testimonio-card:hover{ transform:scale(1.03); box-shadow:0 8px 20px rgba(0,0,0,.1); }
.testimonio-card .cita{ font-size:28px; color:#00bfa6; margin-bottom:10px; line-height:1; }
.testimonio-card p{ font-size:15px; color:#333; margin:10px 0 20px; flex-grow:1; }
.testimonio-card .nombre{ font-weight:bold; margin-bottom:5px; color:#111; }
.testimonio-card .ciudad{ font-size:13px; color:#777; }
.testimonio-card .estrellas{ color:#f5b301; font-size:16px; margin-top:10px; }

/* === DESTINOS === */
.destinos-section{ background:#fff; text-align:center; }
.destinos-sub{ max-width:850px; margin:0 auto 40px; font-size:1.1rem; color:#555; line-height:1.6; text-align:center; }
.destinos-grid{ display:flex; flex-wrap:wrap; justify-content:center; gap:30px; }
.zoom-img{ position:relative; width:300px; overflow:hidden; border-radius:20px; }
.zoom-img img{ width:100%; display:block; transition:transform .4s ease; border-radius:20px; }
.zoom-img:hover img{ transform:scale(1.08); }
.overlay-text{
  position:absolute; bottom:0; left:0; right:0; padding:15px;
  background:rgba(0,0,0,.5); color:#fff; font-size:1.2rem; text-align:center;
  opacity:0; transition:opacity .3s ease; border-radius:0 0 20px 20px;
}
.zoom-img:hover .overlay-text{ opacity:1; }

/* === CONFIANZA === */
.confianza-section{ background:#e7f8f5; text-align:center; padding:70px 20px; }
.confianza-section h3{ font-size:2.2rem; color:#00bfa6; margin-bottom:20px; }
.confianza-texto{ max-width:950px; margin:0 auto 20px; font-size:1.1rem; color:#333; line-height:1.7; }
.confianza-subtexto{ max-width:900px; margin:0 auto 40px; font-size:1rem; color:#555; }
.logos-anfitrionas{ display:flex; justify-content:center; align-items:center; flex-wrap:wrap; gap:50px; }
.logo-certificado{ height:90px; width:auto; object-fit:contain; transition:transform .2s ease; }
.logo-certificado:hover{ transform:scale(1.05); }

/* === BOLETÍN === */
.boletin-section{ padding:70px 20px; background:#fffef9; text-align:center; font-family:'Segoe UI',sans-serif; }
.boletin-titulo-1{ font-size:2.2rem; color:#00bfa6; margin-bottom:10px; }
.boletin-titulo-2{ font-size:1.8rem; font-weight:bold; margin-bottom:15px; color:#111; }
.boletin-parrafo{ max-width:800px; margin:0 auto 40px; font-size:1rem; color:#444; }
.form-suscripcion{ display:flex; flex-wrap:wrap; justify-content:center; gap:20px; max-width:900px; margin:auto; }
.form-suscripcion input, .form-suscripcion select{ flex:1 1 200px; padding:12px; border:1px solid #ccc; border-radius:5px; }
.form-suscripcion button{ flex:1 1 120px; padding:12px 20px; background:#00bfa6; color:#fff; border:none; border-radius:5px; cursor:pointer; font-weight:bold; }
.boletin-mensaje{ margin-top:20px; font-weight:bold; }

/* Responsivo hero */
@media (max-width: 1024px){
  .search-box.buscador-hero{ grid-template-columns: 1.4fr 1fr 1fr auto; }
}
@media (max-width: 720px){
  .hero-content{ padding:24px; }
  .search-box.buscador-hero{ grid-template-columns: 1fr; }
  .search-box.buscador-hero button{ width:100%; }
}

/* Contenedor de resultados del buscador */
#cards-container{ margin-top:10px; }
