html, body {
  width: 100%;
  max-width: 100%;
  overflow-x: hidden;
  position: relative;
  margin: 0;
  padding: 0;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Poppins', sans-serif;
  color: #ffffff;
  background: url('../img/kiboeiraescence.jpg') center/cover fixed no-repeat;
  min-height: 100vh;
}

/* Glassmorphism base */
.section {
  padding: 80px 10%;
  display: flex;
  justify-content: center;
}

.glass-card {
  width: 100%;
  max-width: 1100px;
  background: rgba(255, 255, 255, 0.12);
  border-radius: 24px;
  border: 1px solid rgba(255, 255, 255, 0.25);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.25);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  padding: 32px 40px;
}

/* Header */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  padding: 16px 10%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 100;
  background: linear-gradient(
    to bottom,
    rgba(0, 0, 0, 0.55),
    rgba(0, 0, 0, 0.204)
  );
}

.logo {
  font-size: 24px;
  font-weight: 700;
}

.logo-kibo {
  color: #095472;
}

.logo-eira {
  color: #11a9b1;
}

.nav a {
  margin-left: 20px;
  color: #ffffff;
  text-decoration: none;
  font-weight: 400;
  font-size: 14px;
  position: relative;
}

.nav a::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -4px;
  width: 0;
  height: 2px;
  background: #11a9b1;
  transition: width 0.3s ease;
}

.nav a:hover::after {
  width: 100%;
}

.logo {
  font-size: 24px;
  font-weight: 700;
  display: flex;
  align-items: center;
}

.logo-img {
  height: 38px;
  width: auto;
  object-fit: contain;
  filter: drop-shadow(0 2px 4px rgba(0,0,0,0.25));
}


.logo-kibo {
  color: #095472;
}

.logo-eira {
  color: #11a9b1;
}


/* Home */
.home {
  padding-top: 120px;
}

.home-card {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 32px;
  align-items: center;
}

.home-left h1 {
  font-size: 40px;
  margin-bottom: 12px;
}

.home-left p {
  font-size: 16px;
  margin-bottom: 24px;
}

.home-destinos-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.destino-pill {
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(9, 84, 114, 0.35);
  border: 1px solid rgba(17, 169, 177, 0.6);
  font-size: 13px;
  text-align: center;
}

.home-right {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.home-card-destino {
  padding: 18px 20px;
  border-radius: 18px;
  background: rgba(0, 0, 0, 0.25);
  border: 1px solid rgba(255, 255, 255, 0.25);
}

/* HOME NUEVO */
.home {
  padding-top: 140px;
  text-align: center;
}

.home-container {
  max-width: 900px;
  margin: 0 auto;
}

.home-title {
  font-size: 42px;
  font-weight: 700;
  margin-bottom: 12px;
  color: #ffffff;
}

.home-subtitle {
  font-size: 16px;
  font-weight: 300;
  color: #000000;
  margin-bottom: 40px;
  line-height: 1.6;
}

/* Tarjetas flotantes */
.home-floating-cards {
  display: flex;
  justify-content: center;
  gap: 24px;
  flex-wrap: wrap;
}

.floating-card {
  width: 280px;
  padding: 20px 24px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.25);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.686);
  text-align: left;
}

.floating-card h3 {
  font-size: 18px;
  margin-bottom: 8px;
  color: #ffffff;
}

.floating-card p {
  font-size: 14px;
  color: #ffffff;
  line-height: 1.5;
}

/* Animación flotante */
@keyframes float {
  0% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
  100% { transform: translateY(0); }
}

.animate-float {
  animation: float 4s ease-in-out infinite;
}

.animate-float.delay {
  animation-delay: 1s;
}

/* Responsive */
@media (max-width: 600px) {
  .home-title {
    font-size: 32px;
  }

  .floating-card {
    width: 100%;
  }
}


/* Animaciones */
@keyframes float {
  0% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
  100% { transform: translateY(0); }
}

.animate-float {
  animation: float 4s ease-in-out infinite;
}

.animate-float.delay {
  animation-delay: 1s;
}

/* Secciones generales */
h2 {
  font-size: 28px;
  margin-bottom: 16px;
}

p {
  font-size: 14px;
  line-height: 1.6;
}

/* Precios */
.precios-card {
  text-align: center;
}

.precio-item h3 {
  font-size: 20px;
  margin-bottom: 8px;
}

.precio-monto {
  font-size: 24px;
  font-weight: 600;
  color: #ffffff;
  margin: 8px 0;
}

/* Destinos */
.grid-destinos {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 20px;
  margin-top: 16px;
}

.destino-card {
  background: rgba(0, 0, 0, 0.25);
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.25);
  display: flex;
  flex-direction: column;
}

.destino-card img {
  width: 100%;
  height: 140px;
  object-fit: cover;
}

.destino-card h3 {
  padding: 12px 14px 4px;
  font-size: 16px;
}

.btn-detalle {
  margin: 8px 14px 14px;
  padding: 8px 12px;
  border-radius: 999px;
  border: none;
  cursor: pointer;
  background: linear-gradient(135deg, #095472, #11a9b1);
  color: #ffffff;
  font-size: 13px;
}

/* Actividades */
.grid-actividades {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
  margin-top: 16px;
}

.actividad-card {
  background: rgba(0, 0, 0, 0.25);
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.25);
}

.actividad-card img {
  width: 100%;
  height: 160px;
  object-fit: cover;
}

.actividad-card h3 {
  padding: 12px 14px;
  font-size: 16px;
}

/* Contacto */
.contacto-wrapper {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1.4fr);
  gap: 32px;
  align-items: flex-start;
}

.contacto-info h2 {
  margin-bottom: 8px;
}

.contact-list {
  list-style: none;
  margin: 8px 0 16px;
}

.contact-list li {
  margin-bottom: 4px;
}

.contact-list a {
  color: #ffffff;
  text-decoration: none;
  font-size: 14px;
}

.contact-list a:hover {
  text-decoration: underline;
}

.btn-whatsapp {
  display: inline-block;
  margin-top: 8px;
  padding: 10px 18px;
  border-radius: 999px;
  background: #25d366;
  color: #ffffff;
  text-decoration: none;
  font-size: 14px;
}

/* Formulario */
.contacto-form h3 {
  margin-bottom: 4px;
}

#form-whatsapp {
  margin-top: 12px;
}

.form-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin-bottom: 12px;
}

.form-group {
  display: flex;
  flex-direction: column;
}

.form-group label {
  font-size: 13px;
  margin-bottom: 4px;
}

.form-group input,
.form-group select {
  padding: 8px 10px;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.4);
  background: rgba(0, 0, 0, 0.25);
  color: #ffffff;
  font-size: 13px;
}

.form-group input::placeholder {
  color: rgba(255, 255, 255, 0.6);
}

.form-group select {
  appearance: none;
}

.btn-enviar {
  margin-top: 8px;
  padding: 10px 18px;
  border-radius: 999px;
  border: none;
  cursor: pointer;
  background: linear-gradient(135deg, #095472, #11a9b1);
  color: #ffffff;
  font-size: 14px;
}

/* Modal destinos */
.modal {
  display: none;
  position: fixed;
  z-index: 200;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  background: rgba(0, 0, 0, 0.45);
}

.modal-content {
  max-width: 520px;
  margin: 10% auto;
  position: relative;
}

.modal-close {
  position: absolute;
  top: 12px;
  right: 18px;
  font-size: 22px;
  cursor: pointer;
}

/* Footer */
.footer {
  text-align: center;
  padding: 20px 10%;
  font-size: 12px;
  color: #ffffff;
  background: rgba(0, 0, 0, 0.55);
}

/* Responsive */
@media (max-width: 900px) {
  .home-card {
    grid-template-columns: 1fr;
  }

  .contacto-wrapper {
    grid-template-columns: 1fr;
  }

  .section {
    padding: 80px 6%;
  }
}

@media (max-width: 600px) {
  .header {
    padding: 12px 6%;
  }

  .nav a {
    margin-left: 10px;
    font-size: 12px;
  }

  .form-row {
    grid-template-columns: 1fr;
  }
}
.social-links {
  margin-top: 12px;
  display: flex;
  justify-content: center;
  gap: 14px;
}

.social-btn {
  padding: 8px 16px;
  border-radius: 999px;
  font-size: 13px;
  text-decoration: none;
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.35);
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(10px);
  transition: all 0.3s ease;
}

.social-btn:hover {
  background: rgba(255, 255, 255, 0.25);
  transform: translateY(-2px);
}

.social-btn.fb {
  border-color: #1877f2;
}

.social-btn.ig {
  border-color: #e1306c;
}

.footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 10%;
  font-size: 12px;
  color: #ffffff;
  background: rgba(0, 0, 0, 0.55);
  flex-wrap: wrap;
  gap: 20px;
}

.footer-left {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.footer-left h4 {
  font-size: 14px;
  margin-bottom: 4px;
}

.legal-btn {
  background: none;
  border: none;
  color: #ffffff;
  font-size: 13px;
  cursor: pointer;
  text-align: left;
  padding: 0;
}

.legal-btn:hover {
  text-decoration: underline;
}

/* Ajuste de modales legales */
.modal-content {
  max-height: 70vh;
  overflow-y: auto;
}

.modal-content h4 {
  margin-top: 12px;
  font-size: 16px;
}

.btn-interesa {
  margin-top: 16px;
  padding: 10px 18px;
  border-radius: 999px;
  border: none;
  cursor: pointer;
  background: linear-gradient(135deg, #095472, #11a9b1);
  color: #ffffff;
  font-size: 14px;
  width: 100%;
}

.modal-mapa iframe {
  box-shadow: 0 8px 20px rgba(0,0,0,0.25);
}

/* PROMOCIONES */
.promociones {
  text-align: center;
}

.promo-title {
  font-size: 32px;
  margin-bottom: 20px;
  color: #ffffff;
  text-align: center;
  font-weight: 600;
}


.promo-carousel-container {
  position: relative;
  width: 100%;
  max-width: 900px;
  margin: 0 auto;
}

.promo-carousel {
  display: flex;
  overflow: hidden;
  scroll-behavior: smooth;
}

.promo-item {
  min-width: 280px;
  margin: 0 10px;
  background: rgba(255, 255, 255, 0.12);
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.25);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  padding: 10px;
  text-align: center;
}

.promo-item img {
  width: 100%;
  height: 420px; /* Escala 9:16 */
  object-fit: cover;
  border-radius: 14px;
}

.promo-link {
  display: block;
  margin-top: 10px;
  padding: 10px 14px;
  border-radius: 999px;
  background: linear-gradient(135deg, #095472, #11a9b1);
  color: #ffffff;
  text-decoration: none;
  font-size: 14px;
}

/* Botones del carrusel */
.promo-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0,0,0,0.4);
  border: none;
  color: #ffffff;
  font-size: 26px;
  padding: 10px 14px;
  cursor: pointer;
  border-radius: 50%;
  backdrop-filter: blur(6px);
}

.promo-btn.left {
  left: -40px;
}

.promo-btn.right {
  right: -40px;
}

.promo-btn:hover {
  background: rgba(0,0,0,0.6);
}

/* Mejora la experiencia táctil */
.promo-carousel {
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
  cursor: grab;
}

.promo-carousel:active {
  cursor: grabbing;
}

.promo-carousel-container {
  width: 100%;
  overflow: hidden;
}

.promo-carousel {
  display: flex;
  overflow-x: scroll;
  overflow-y: hidden;
  white-space: nowrap;
  -webkit-overflow-scrolling: touch;
  scroll-behavior: smooth;
}

.promo-carousel {
  touch-action: pan-y;
}

/* Sección GlassCard con imagen adaptable */
.banner-glass {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 60px 10%;
}

.glasscard-img-container {
  width: 100%;
  max-width: 600px;
  height: 926px; /* Puedes ajustar la altura */
  background: rgba(255, 255, 255, 0.12);
  border-radius: 24px;
  border: 1px solid rgba(255, 255, 255, 0.25);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  overflow: hidden;
  box-shadow: 0 20px 40px rgba(0,0,0,0.25);
  position: relative;
}

/* Imagen adaptable */
.glasscard-img {
  width: 100%;
  height: 100%;
  object-fit: cover; /* Se adapta sin deformarse */
  object-position: center;
  display: block;
}

/* Responsive */
@media (max-width: 768px) {
  .glasscard-img-container {
    height: 320px;
  }
}

@media (max-width: 480px) {
  .glasscard-img-container {
    height: 260px;
  }
}
