/* RESET */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
  background-color: #f5f7fb;
  color: #333;
}

/* HERO */
.hero {
  background: linear-gradient(135deg, #0077ff, #00c6ff);
  color: white;
  text-align: center;
  padding: 80px 20px;
}

.hero h1 {
  font-size: 2.5rem;
  margin-bottom: 15px;
}

.hero p {
  font-size: 1.1rem;
  margin-bottom: 25px;
}
.hero-container {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 40px;
  max-width: 1100px;
  margin: auto;
}

/* LOGO */
.hero-left img {
  width: 300px;
  max-width: 100%;
}

/* TEXTO */
.hero-right {
  text-align: left;
}

.hero-right h1 {
  font-size: 2.5rem;
}
/* BOTONES */
.btn-principal {
  background: white;
  color: #0077ff;
  padding: 12px 25px;
  border-radius: 30px;
  text-decoration: none;
  font-weight: bold;
  transition: 0.3s;
  display: inline-block;
}

.btn-principal:hover {
  background: #e6f0ff;
  transform: translateY(-2px);
}

.btn-promociones {
  background: #ff4d4d;
  color: white;
  padding: 10px 18px;
  border-radius: 25px;
  text-decoration: none;
  font-weight: bold;
  transition: 0.3s;
}

.btn-promociones:hover {
  background: #e63939;
}

/* FILTRO */
.filtro {
  display: flex;
  justify-content: center;
  gap: 15px;
  padding: 20px;
  flex-wrap: wrap;
}

.filtro select {
  padding: 10px 15px;
  border-radius: 20px;
  border: none;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
  outline: none;
}

/* SECCIONES */
.cabanas {
  padding: 40px 20px;
  text-align: center;
}

.cabanas h2 {
  margin-bottom: 30px;
  font-size: 2rem;
}

/* GRID */
.grid-cabanas {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 25px;
}

/* CARD */
.card {
  position: relative;
  border-radius: 18px;
  overflow: hidden;
  height: 320px;
  cursor: pointer;
  box-shadow: 0 10px 25px rgba(0,0,0,0.15);
  transition: 0.3s;
}

.card:hover {
  transform: translateY(-6px);
}

/* IMAGEN */
.card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* CONTENIDO ABAJO */
.card-content {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  padding: 22px;
  color: white;
  z-index: 2;

  background: linear-gradient(
    to top,
    rgba(0,0,0,0.85),
    rgba(0,0,0,0.4),
    transparent
  );
}
.card-content h3,
.card-content p,
.precio,
.rating {
  text-shadow: 0 2px 6px rgba(0,0,0,0.8);
}
.card-content h3 {
  font-size: 1.4rem;
  font-weight: 600;
}
/* TITULO */
.card-content h3 {
  font-size: 1.3rem;
  margin-bottom: 4px;
}

/* UBICACION */
.card-content p {
  font-size: 0.9rem;
  margin-bottom: 6px;
}

/* PRECIO */
.precio {
  font-weight: bold;
  font-size: 1.1rem;
  margin-bottom: 6px;
}

/* RATING */
.rating {
  font-size: 0.8rem;
  margin-bottom: 8px;
  opacity: 0.9;
}

/* BOTONES */
.acciones {
  display: flex;
  gap: 8px;
}

.btn-web {
  background: rgba(255,255,255,0.9);
  color: #0077ff;
  padding: 6px 10px;
  border-radius: 6px;
  font-size: 0.75rem;
  text-decoration: none;
  font-weight: bold;
}

.btn-wsp {
  background: #25d366;
  color: white;
  padding: 6px 10px;
  border-radius: 6px;
  font-size: 0.75rem;
  text-decoration: none;
  font-weight: bold;
}
.btn-web {
  background: rgba(255,255,255,0.95);
  color: #0077ff;
  font-weight: 600;
}

.btn-wsp {
  background: #22c55e;
  font-weight: 600;
}
/* BADGES */
.badges {
  position: absolute;
  top: 10px;
  left: 10px;
  z-index: 3;
  display: flex;
  gap: 5px;
}

.badge {
  background: rgba(0,0,0,0.6);
  color: white;
  padding: 4px 8px;
  font-size: 0.7rem;
  border-radius: 20px;
}
.badge.abierto {
  background: #22c55e;
  color: white;
  font-weight: 600;
}
/* RATING */
.rating {
  font-size: 0.8rem;
  margin-top: 5px;
  opacity: 0.9;
}

/* ACCIONES */
.acciones {
  display: flex;
  gap: 8px;
  margin-top: 10px;
}

/* BOTÓN WEB */
.btn-web {
  background: rgba(255,255,255,0.9);
  color: #0077ff;
  padding: 6px 10px;
  border-radius: 6px;
  font-size: 0.8rem;
  text-decoration: none;
}

/* AJUSTE BOTÓN WSP */
.btn-wsp {
  font-size: 0.8rem;
  padding: 6px 10px;
}
/* CONFIANZA */
.confianza {
  background: white;
  padding: 40px 20px;
  text-align: center;
}

.items-confianza {
  display: grid;
  gap: 10px;
  margin-top: 20px;
}

/* CTA */
.cta {
  background: linear-gradient(135deg, #00c6ff, #0077ff);
  color: white;
  text-align: center;
  padding: 50px 20px;
}

.cta h2 {
  margin-bottom: 15px;
}

.cta p {
  margin-bottom: 20px;
}
.pagina-promos .cabanas {
  min-height: 70vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-top: 0; /* 🔥 clave */
}
.pagina-promos .grid-cabanas {
  max-width: 900px;
  margin: 60px auto;
}
.pagina-promos .card {
  height: 280px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 20px;
}
.hero-header {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 15px;
}

.logo {
  width: 50px;
  height: 50px;
  object-fit: contain;
}

.footer {
  background: #ffffff;
  padding: 30px 20px;
  text-align: center;
  margin-top: 40px;
  border-top: 1px solid #eee;
}

.footer-links {
  margin-bottom: 10px;
}

.footer-links a {
  margin: 0 10px;
  text-decoration: none;
  color: #555;
  font-size: 0.9rem;
}

.footer-links a:hover {
  color: #0077ff;
}

.footer-copy {
  font-size: 0.8rem;
  color: #999;
}

/* CONTENEDOR LEGAL */
.legal-container {
  max-width: 800px;
  margin: 40px auto;
  padding: 20px;
}

/* TEXTO */
.legal-content {
  text-align: left;
  line-height: 1.6;
}

.legal-content h1 {
  margin-bottom: 20px;
}

.legal-content h2 {
  margin-top: 20px;
}

/* BOTÓN VOLVER */
.btn-volver {
  display: inline-block;
  margin-bottom: 20px;
  text-decoration: none;
  background: #0077ff;
  color: white;
  padding: 8px 14px;
  border-radius: 6px;
  font-size: 0.85rem;
}

.btn-volver:hover {
  background: #005fcc;
}

.social-section {
  display: flex;
  justify-content: center;
  gap: 20px;
  padding: 40px 0 10px;
}

/* BOTÓN BASE */
.social {
  width: 55px;
  height: 55px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  color: white;
  text-decoration: none;
  position: relative;
  overflow: hidden;
  transition: 0.3s;
}

/* EFECTO GLOW */
.social::before {
  content: "";
  position: absolute;
  width: 150%;
  height: 150%;
  background: radial-gradient(circle, rgba(255,255,255,0.3), transparent);
  opacity: 0;
  transition: 0.3s;
}

.social:hover::before {
  opacity: 1;
}

/* HOVER GENERAL */
.social:hover {
  transform: translateY(-6px) scale(1.1);
}

/* INSTAGRAM */
.instagram {
  background: linear-gradient(45deg, #f58529, #dd2a7b, #8134af, #515bd4);
}

/* FACEBOOK */
.facebook {
  background: #1877f2;
}

/* TIKTOK */
.tiktok {
  background: #000;
}

/* EFECTO EXTRA TIKTOK */
.tiktok:hover {
  box-shadow: 0 0 10px #25f4ee, 0 0 20px #fe2c55;
}


/* RESPONSIVE */
@media (max-width: 600px) {
  .hero h1 {
    font-size: 1.8rem;
  }

  .grid-cabanas {
    grid-template-columns: 1fr;
  }
@media (max-width: 600px) {
  .hero-logo img {
    width: 140px;
  }
@media (max-width: 768px) {
  .hero-container {
    flex-direction: column;
    text-align: center;
  }

  .hero-right {
    text-align: center;
  }

  .hero-left img {
    width: 160px;
  }

}